本文整理汇总了PHP中_makeTextareaInput函数的典型用法代码示例。如果您正苦于以下问题:PHP _makeTextareaInput函数的具体用法?PHP _makeTextareaInput怎么用?PHP _makeTextareaInput使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了_makeTextareaInput函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _makeDateInput
echo '</TD></TR>';
break;
case 'date':
echo '<TR><TD>';
echo _makeDateInput('CUSTOM_' . $field['ID'], $field['TITLE'], $request);
echo '</TD></TR>';
break;
case 'codeds':
case 'select':
echo '<TR><TD>';
echo _makeSelectInput('CUSTOM_' . $field['ID'], $field['TITLE'], $request);
echo '</TD></TR>';
break;
case 'multiple':
echo '<TR><TD>';
echo _makeMultipleInput('CUSTOM_' . $field['ID'], $field['TITLE'], $request);
echo '</TD></TR>';
break;
case 'radio':
echo '<TR><TD>';
echo _makeCheckboxInput('CUSTOM_' . $field['ID'], $field['TITLE'], $request);
echo '</TD></TR>';
break;
case 'textarea':
echo '<TR><TD>';
echo _makeTextareaInput('CUSTOM_' . $field['ID'], $field['TITLE'], $request);
echo '</TD></TR>';
break;
}
}
echo '</TABLE>';
示例2: _makeSelectInput
echo '<TR>';
echo '<td width="121px">' . $req . $field['TITLE'] . '</td><td>:</td><td>';
echo _makeSelectInput('CUSTOM_' . $field['ID'], '');
echo '</TD>';
echo '</TR>';
break;
case 'multiple':
echo '<TR>';
echo '<td width="121px">' . $req . $field['TITLE'] . '</td><td>:</td><td>';
echo _makeMultipleInput('CUSTOM_' . $field['ID'], '');
echo '</TD>';
echo '</TR>';
break;
case 'radio':
echo '<TR>';
echo '<td width="121px">' . $req . $field['TITLE'] . '</td><td>:</td><td>';
echo _makeCheckboxInput('CUSTOM_' . $field['ID'], '');
echo '</TD>';
echo '</TR>';
break;
case 'textarea':
echo '<TR>';
echo '<td valign=top width="121px">' . $req . $field['TITLE'] . '</td><td valign=top>:</td><td>';
echo _makeTextareaInput('CUSTOM_' . $field['ID'], '');
echo '</TD>';
echo '</TR>';
break;
}
}
echo '</TABLE>';
}
示例3: foreach
}
#echo '</TABLE><BR>';
echo '<TABLE cellpadding=5>';
$i = 1;
foreach ($fields_RET as $field) {
if ($field['TYPE'] == 'textarea') {
if ($field['REQUIRED'] == 'Y') {
$req = '<font color=red>*</font> ';
} else {
$req = '';
}
if (($i - 1) % 1 == 0) {
echo '<TR>';
}
echo '<TD>' . $field['TITLE'] . $req . '</td><td>:</td><td>';
echo _makeTextareaInput('CUSTOM_' . $field['ID'], 'class=cell_medium');
echo '</TD>';
if ($i % 2 == 0) {
echo '</TR>';
}
$i++;
}
}
if (($i - 1) % 1 != 0) {
echo '</TR>';
}
#echo '</TABLE>';
#############################################CUSTOM FIELDS###############################
echo '</table>';
echo '</td><td valign="top" align="right"><div class=clear></div>';
// IMAGE
示例4: _makeMultipleInput
echo '</TR>';
break;
case 'multiple':
echo '<TR>';
echo '<TD style="width:120px">';
echo $field['TITLE'] . '</TD><TD>:</TD><TD>' . _makeMultipleInput('CUSTOM_' . $field['ID'], '');
echo '</TD>';
echo '</TR>';
break;
case 'radio':
echo '<TR>';
echo '<TD style="width:120px">';
echo $field['TITLE'] . '</TD><TD>:</TD><TD>' . _makeCheckboxInput('CUSTOM_' . $field['ID'], '');
echo '</TD>';
echo '</TR>';
break;
}
}
$i = 1;
foreach ($fields_RET as $field) {
if ($field['TYPE'] == 'textarea') {
echo '<TR>';
echo '<TD style="width:120px">';
echo $field['TITLE'] . '</TD><TD>:</TD><TD>' . _makeTextareaInput('CUSTOM_' . $field['ID'], '');
echo '</TD>';
echo '</TR>';
}
}
if (count($fields_RET)) {
echo '</table>';
}
示例5: foreach
}
}
if (($i - 1) % $per_row != 0) {
echo '</TR>';
}
echo '</TABLE><BR />';
echo '<TABLE class="cellpadding-5">';
$i = 1;
foreach ($fields_RET as $field) {
$field['TITLE'] = ParseMLField($field['TITLE']);
if ($field['TYPE'] == 'textarea') {
if (($i - 1) % 2 == 0) {
echo '<TR>';
}
echo '<TD>';
echo _makeTextareaInput('CUSTOM_' . $field['ID'], $field['TITLE'], 'staff');
echo '</TD>';
if ($i % 2 == 0) {
echo '</TR>';
} else {
echo '<TD style="width:50px;"></TD>';
}
$i++;
}
}
if (($i - 1) % 2 != 0) {
echo '</TR>';
}
//modif Francois: fix empty table
if ($i == 1) {
echo '<TR><TD></TD></TR>';
示例6: echo
echo '<TD style="width:100px">';
echo ($field['REQUIRED'] == 'Y' ? '<span class=red>*</span>' : '') . $field['TITLE'] . '</TD><TD>:</TD><TD>' . _makeSelectInput('CUSTOM_' . $field['ID'], '');
echo '</TD>';
echo '</TR>';
break;
case 'multiple':
echo '<TR>';
echo '<TD style="width:100px">';
echo ($field['REQUIRED'] == 'Y' ? '<span class=red>*</span>' : '') . $field['TITLE'] . '</TD><TD>:</TD><TD>' . _makeMultipleInput('CUSTOM_' . $field['ID'], '');
echo '</TD>';
echo '</TR>';
break;
case 'radio':
echo '<TR>';
echo '<TD style="width:100px">';
echo ($field['REQUIRED'] == 'Y' ? '<span class=red>*</span>' : '') . $field['TITLE'] . '</TD><TD>:</TD><TD>' . _makeCheckboxInput('CUSTOM_' . $field['ID'], '');
echo '</TD>';
echo '</TR>';
break;
}
}
$i = 1;
foreach ($fields_RET as $field) {
if ($field['TYPE'] == 'textarea') {
echo '<TR>';
echo '<TD style="width:100px">';
echo ($field['REQUIRED'] == 'Y' ? '<span class=red>*</span>' : '') . $field['TITLE'] . '</TD><TD>:</TD><TD>' . _makeTextareaInput('CUSTOM_' . $field['ID'], '');
echo '</TD>';
echo '</TR>';
}
}