本文整理汇总了PHP中zen_draw_textarea_field函数的典型用法代码示例。如果您正苦于以下问题:PHP zen_draw_textarea_field函数的具体用法?PHP zen_draw_textarea_field怎么用?PHP zen_draw_textarea_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了zen_draw_textarea_field函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: zen_draw_input_field
echo zen_draw_input_field('to_name', '', 'id="to-name"') . ' <span class="alert">' . ENTRY_FIRST_NAME_TEXT . '</span>';
?>
<br class="clearBoth" /> <label class="inputLabel"
for="to-email-address"><?php
echo FORM_FIELD_FRIEND_EMAIL;
?>
</label>
<?php
echo zen_draw_input_field('to_email_address', $_GET['to_email_address'], 'id="to-email-address"') . ' <span class="alert">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>';
?>
<br class="clearBoth" /> <label for="email-message"><?php
echo FORM_TITLE_FRIEND_MESSAGE;
?>
</label>
<?php
echo zen_draw_textarea_field('message', 30, 5, '', 'id="email-message"');
?>
<br class="clearBoth" />
</fieldset>
<div class="buttonRow back"><?php
echo '<a href="' . zen_href_link(zen_get_info_page($_GET['products_id']), 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>';
?>
</div>
<div class="buttonRow forward"><?php
echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT);
?>
</div>
<br class="clearBoth" />
<div id="tellAFriendAdvisory" class="advisory"><?php
示例2: zen_get_languages
$languages = zen_get_languages();
$category_inputs_string_metatags_title = '';
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$category_inputs_string_metatags_title .= '<br />' . zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['metatags_title']) . ' ' . zen_draw_input_field('metatags_title[' . $languages[$i]['id'] . ']', zen_get_category_metatags_title($cInfo->categories_id, $languages[$i]['id']), zen_set_field_length(TABLE_METATAGS_CATEGORIES_DESCRIPTION, 'metatags_title'));
}
$contents[] = array('text' => '<br />' . TEXT_EDIT_CATEGORIES_META_TAGS_TITLE . $category_inputs_string_metatags_title);
$category_inputs_string_metatags_keywords = '';
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$category_inputs_string_metatags_keywords .= '<br />' . zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['metatags_keywords']) . ' ';
$category_inputs_string_metatags_keywords .= zen_draw_textarea_field('metatags_keywords[' . $languages[$i]['id'] . ']', 'soft', '100%', '20', zen_get_category_metatags_keywords($cInfo->categories_id, $languages[$i]['id']));
}
$contents[] = array('text' => '<br />' . TEXT_EDIT_CATEGORIES_META_TAGS_KEYWORDS . $category_inputs_string_metatags_keywords);
$category_inputs_string_metatags_description = '';
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$category_inputs_string_metatags_description .= '<br />' . zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ';
$category_inputs_string_metatags_description .= zen_draw_textarea_field('metatags_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '20', zen_get_category_metatags_description($cInfo->categories_id, $languages[$i]['id']));
}
$contents[] = array('text' => '<br />' . TEXT_EDIT_CATEGORIES_META_TAGS_DESCRIPTION . $category_inputs_string_metatags_description);
$contents[] = array('align' => 'center', 'text' => '<br />' . zen_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
// eof: categories meta tags
// eof: categories meta tags
case 'move_category':
$heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_MOVE_CATEGORY . '</b>');
$contents = array('form' => zen_draw_form('categories', FILENAME_CATEGORIES, 'action=move_category_confirm&cPath=' . $cPath) . zen_draw_hidden_field('categories_id', $cInfo->categories_id));
$contents[] = array('text' => sprintf(TEXT_MOVE_CATEGORIES_INTRO, $cInfo->categories_name));
$contents[] = array('text' => '<br />' . sprintf(TEXT_MOVE, $cInfo->categories_name) . '<br />' . zen_draw_pull_down_menu('move_to_category_id', zen_get_category_tree(), $current_category_id));
$contents[] = array('align' => 'center', 'text' => '<br />' . zen_image_submit('button_move.gif', IMAGE_MOVE) . ' <a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'delete_product':
$heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_PRODUCT . '</b>');
示例3: zen_image
?>
<tr>
<td class="main" valign="top"><?php
if ($i == 0) {
echo TEXT_PRODUCTS_DESCRIPTION;
}
?>
</td>
<td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="main" width="25" valign="top"><?php
echo zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']);
?>
</td>
<td class="main" width="100%"><?php
echo zen_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '30', htmlspecialchars(isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']), ENT_COMPAT, CHARSET, TRUE));
//,'id="'.'products_description' . $languages[$i]['id'] . '"');
?>
</td>
</tr>
</table></td>
</tr>
<?php
}
?>
<tr>
<td colspan="2"><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
示例4: zen_draw_separator
?>
</strong></td>
</tr>
<tr>
<td><?php
echo zen_draw_separator('pixel_trans.gif', '1', '5');
?>
</td>
</tr>
<tr><?php
echo zen_draw_form('status', FILENAME_SUPER_ORDERS, zen_get_all_get_params(array('action')) . 'action=update_order', 'post', '', true);
?>
<td><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><?php
echo zen_draw_textarea_field('comments', 'soft', '70', '4');
?>
</td>
<td class="main" valign="center"><strong><?php
echo zen_draw_checkbox_field('notify', '', true);
echo ' ' . ENTRY_NOTIFY_CUSTOMER . '<br />';
echo zen_draw_checkbox_field('notify_comments', '', true);
echo ' ' . ENTRY_NOTIFY_COMMENTS;
?>
</strong></td>
</tr>
<tr>
<td><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
示例5: zen_draw_input_field
</label></th>
<td><?php
echo zen_draw_input_field('email', $error ? $_POST['email'] : $email, ' size="40" id="email-address"');
?>
</td>
</tr>
<tr>
<th scope="row"><span class="required"><?php
echo TEXT_REQUIRED;
?>
</span><label><?php
echo ENTRY_ENQUIRY;
?>
</label></th>
<td><?php
echo zen_draw_textarea_field('enquiry', '30', '7', '', 'id="enquiry"');
?>
</td>
</tr>
</table>
<div class="submit">
<div class="buttonRow forward"><?php
echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT, 'class="imgover"');
?>
</div>
</div>
<?php
}
?>
示例6: zen_draw_separator
<tr>
<td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
</tr>
<script language="javascript"><!--
updateGross();
//--></script>
<?php
for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
?>
<tr>
<td class="main" valign="top"><?php if ($i == 0) echo TEXT_PRODUCTS_DESCRIPTION; ?></td>
<td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="main" width="25" valign="top"><?php echo zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']); ?> </td>
<td class="main" width="100%"><?php echo zen_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '30', htmlspecialchars((isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']), ENT_COMPAT, CHARSET, TRUE)); //,'id="'.'products_description' . $languages[$i]['id'] . '"'); ?></td>
</tr>
</table></td>
</tr>
<?php
}
?>
<tr>
<td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td class="main"><?php echo TEXT_PRODUCTS_QUANTITY; ?></td>
<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_quantity', $pInfo->products_quantity); ?></td>
</tr>
<tr>
<td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
示例7: zen_draw_textarea_field
$output = $oFCKeditor->CreateHtml();
echo $output;
} else {
// using HTMLAREA or just raw "source"
echo zen_draw_textarea_field('message_html', 'soft', '100%', '30', $nInfo->content_html, 'id="message_html" class="editorHook"');
}
?>
</td>
</tr>
<tr>
<td class="main" valign="top"><?php
echo TEXT_NEWSLETTER_CONTENT;
?>
</td>
<td class="main"><?php
echo zen_draw_textarea_field('content', 'soft', '100%', '20', $nInfo->content, 'class="noEditor"');
?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main" align="right"><?php
示例8: zen_draw_separator
</tr>
<tr>
<td colspan="2"><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td valign="top" class="main"><?php
echo TEXT_PAGES_HTML_TEXT;
?>
</td>
<td class="main"><?php
echo zen_draw_textarea_field('pages_html_text', 'soft', '100%', '40', htmlspecialchars($ezInfo->pages_html_text, ENT_COMPAT, CHARSET, TRUE));
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td class="main" valign="top"><?php
echo TEXT_ALT_URL;
?>
示例9: zen_draw_textarea_field
$oFCKeditor->CreateFCKeditor('content_html', '97%', '350');
//instanceName, width, height (px or %)
} else {
// using HTMLAREA or just raw "source"
echo zen_draw_textarea_field('content_html', 'soft', '100%', '30', $nInfo->content_html, 'id="content_html"');
}
?>
</td>
</tr>
<tr>
<th class="main" valign="top"><?php
echo TEXT_NEWSLETTER_CONTENT;
?>
</th>
<td class="main"><?php
echo zen_draw_textarea_field('content', 'soft', '100%', '20', $nInfo->content);
?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main" align="center"><?php
示例10: zen_draw_separator
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td valign="top" class="main"><?php
echo TEXT_MESSAGE;
?>
</td>
<td><?php
echo zen_draw_textarea_field('message', 'soft', '100%', '15', htmlspecialchars($_POST['message'], ENT_COMPAT, CHARSET, TRUE));
?>
</td>
</tr>
<?php
if (defined('EMAIL_ATTACHMENTS_ENABLED') && EMAIL_ATTACHMENTS_ENABLED === true && defined('DIR_WS_ADMIN_ATTACHMENTS') && is_dir(DIR_WS_ADMIN_ATTACHMENTS) && is_writable(DIR_WS_ADMIN_ATTACHMENTS)) {
?>
<tr>
<td colspan="2"><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<?php
if (defined('EMAIL_ATTACHMENT_UPLOADS_ENABLED') && EMAIL_ATTACHMENT_UPLOADS_ENABLED === true) {
示例11: FCKeditor
<tr>
<td class="main">
<?php
if (is_null($_SESSION['html_editor_preference_status'])) {
echo TEXT_HTML_EDITOR_NOT_DEFINED;
}
?>
<?php
if ($_SESSION['html_editor_preference_status'] == "FCKEDITOR") {
$oFCKeditor = new FCKeditor();
$oFCKeditor->Value = $file_contents;
$oFCKeditor->CreateFCKeditor('file_contents', '700', '400');
//instanceName, width, height (px or %)
} else {
// using HTMLAREA or just raw "source"
echo zen_draw_textarea_field('file_contents', 'soft', '100%', '25', $file_contents, ($file_writeable ? '' : 'readonly') . ' id="file_contents"');
}
?>
</td>
</tr>
<tr>
<td><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td align="right"><?php
if ($file_writeable) {
echo zen_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . zen_href_link(FILENAME_DEFINE_PAGES_EDITOR, 'define_it=' . $_GET['define_it'] . '&action=new_page') . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a>' . ' ' . '<a href="' . zen_href_link(FILENAME_DEFINE_PAGES_EDITOR . '.php') . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
} else {
示例12: zen_draw_input_field
<tr><th><?php echo TEXT_INFO_NOTE_ORDER; ?></th><td><?php echo zen_draw_input_field('orders_id', ((isset($_GET['oID'])) ? (int)$_GET['oID'] : $note->fields['orders_id'])); ?><?php echo ((isset($_GET['oID'])) ? '<strong class="notesCheckValue">*</strong>' : '');?></td></tr>
<tr><th><?php echo TEXT_INFO_NOTE_CATEGORY; ?></th><td><?php echo zen_draw_input_field('categories_id', ((isset($_GET['cPath'])) ? zen_db_input($_GET['cPath']) : $note->fields['categories_id'])); ?><?php echo ((isset($_GET['cPath'])) ? '<strong class="notesCheckValue">*</strong>' : '');?></td></tr>
<tr><th><?php echo TEXT_INFO_NOTE_CUSTOMER; ?></th><td><?php echo zen_draw_input_field('customers_id', ((isset($_GET['cID'])) ? (int)$_GET['cID'] : $note->fields['customers_id'])); ?><?php echo ((isset($_GET['cID'])) ? '<strong class="notesCheckValue">*</strong>' : '');?></td></tr>
<!-- todo xxx
<tr>
<td class="main">Available Date: </td>
<td class="main"><script language="javascript">StartDate.writeControl(); StartDate.dateFormat="MM/dd/yyyy";</script><input class="cal-TextBox" name="start" onchange="calMgr.validateDate(document.new_special.start,StartDate.required);" onblur="calMgr.formatDate(document.new_special.start,StartDate.dateFormat);" size="12" value="" type="text"><a class="so-BtnLink" onmouseover="calMgr.swapImg(StartDate,'.imgOver',false);" onmouseout="calMgr.swapImg(StartDate,'.imgUp',false);" onclick="calMgr.swapImg(StartDate,'.imgDown',true);StartDate.show();"><img name="btnDate1" src="http://localhost/admin/includes/javascript/spiffyCal/images/btn_date1_up.gif" width="22" align="absmiddle" border="0" height="17"></a></td>
</tr>
<tr>
<td class="main">Expiry Date: </td>
<td class="main"><script language="javascript">EndDate.writeControl(); EndDate.dateFormat="MM/dd/yyyy";</script><input class="cal-TextBox" name="end" onchange="calMgr.validateDate(document.new_special.end,EndDate.required);" onblur="calMgr.formatDate(document.new_special.end,EndDate.dateFormat);" size="12" value="" type="text"><a class="so-BtnLink" onmouseover="calMgr.swapImg(EndDate,'.imgOver',false);" onmouseout="calMgr.swapImg(EndDate,'.imgUp',false);" onclick="calMgr.swapImg(EndDate,'.imgDown',true);EndDate.show();"><img name="btnDate2" src="http://localhost/admin/includes/javascript/spiffyCal/images/btn_date1_up.gif" width="22" align="absmiddle" border="0" height="17"></a></td>
</tr>
-->
</table>
<?php echo TEXT_INFO_NOTE_TEXT . '<p>' .zen_draw_textarea_field('notes_text', 'soft', '70', '15', stripslashes($note->fields['notes_text'])) . '</p>'; ?></td>
<?php echo zen_draw_hidden_field('notes_id', $note->fields['notes_id']) . zen_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . zen_href_link(FILENAME_NOTES, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'; ?>
</form>
<?php
break;
case 'edit_category':
echo TEXT_INFO_NOTE_CATEGORY_TITLE . '(id=' . $note_cat->fields['notes_categories_id'] . '):<br />';
echo zen_draw_form('notes_category_edit', FILENAME_NOTES, 'cID=' . $_GET['cID'] . '&action=update_category');
echo zen_draw_input_field('notes_categories_name', $note_cat->fields['notes_categories_name']) . '<br /><br />';
echo zen_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . zen_href_link(FILENAME_NOTES, 'action=categories') . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
?>
</form>
<?php
示例13: zen_draw_textarea_field
" /><?php
}
// ** END PAYPAL EXPRESS CHECKOUT **
?>
<h4 class="dark_bg margin_t bg_pen red"><?php
echo TABLE_HEADING_COMMENTS;
?>
</h4>
<div class="pad_l_28px margin_t big_">
<ul>
If you have special instructions for your order such as dropshipping order, gift order etc, please let us know!<br/>
</ul>
<ul class="shipping_textarea">
<?php
echo zen_draw_textarea_field('comments', '45', '3', $_SESSION['comments'], 'class="txt_review_cont" onblur=\'if(this.value == "") this.className="txt_review_cont"\' onfocus=\'this.className=""\' style="OVERFLOW:auto;border:1px #ccc solid;height:80px;width:540px;"');
?>
</ul>
</div>
</div>
<div class="pad_10px fr g_t_r"><?php
echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . TEXT_CONTINUE_CHECKOUT_PROCEDURE;
?>
<br/>
<?php
echo zen_image_submit(BUTTON_IMAGE_CONTINUE_CHECKOUT, BUTTON_CONTINUE_ALT, 'onclick="submitFunction(' . zen_user_has_gv_account($_SESSION['customer_id']) . ',' . $order->info['total'] . ')"');
?>
</div>
<div class="clear"></div>
</div>
</form>
示例14: zen_draw_separator
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td valign="top" class="main"><?php
echo TEXT_BANNERS_HTML_TEXT;
?>
</td>
<td class="main"><?php
echo TEXT_BANNERS_HTML_TEXT_INFO . '<br />' . zen_draw_textarea_field('banners_html_text', 'soft', '60', '5', $bInfo->banners_html_text);
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td class="main"><?php
echo TEXT_BANNERS_ALL_SORT_ORDER;
?>
</td>
<td class="main"><?php
示例15: zen_image
</td>
<td class="main" align="right" valign="top"><?php
echo zen_image(DIR_WS_CATALOG_IMAGES . $rInfo->products_image, $rInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"');
?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="main" valign="top"><b><?php
echo ENTRY_REVIEW;
?>
</b><br><br><?php
echo zen_draw_textarea_field('reviews_text', 'soft', '70', '15', stripslashes($rInfo->reviews_text));
?>
</td>
</tr>
<tr>
<td class="smallText" align="right"><?php
echo ENTRY_REVIEW_TEXT;
?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><?php
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>