本文整理汇总了PHP中tep_draw_textarea_field函数的典型用法代码示例。如果您正苦于以下问题:PHP tep_draw_textarea_field函数的具体用法?PHP tep_draw_textarea_field怎么用?PHP tep_draw_textarea_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tep_draw_textarea_field函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: switch
switch ($action) {
case 'new_type':
case 'edit_type':
$heading[] = array('text' => '<strong>' . ($action == 'edit_type' ? TEXT_HEADING_EDIT_TYPE : TEXT_HEADING_NEW_TYPE) . '</strong>');
$contents = array('form' => tep_draw_form('types', FILENAME_PARAMETERS, 'action=' . ($action == 'edit_type' ? 'update_type' : 'insert_type') . (tep_not_null($tInfo->products_types_id) ? '&tID=' . $tInfo->products_types_id : ''), 'post') . tep_draw_hidden_field('types_id', $tInfo->products_types_id));
$contents[] = array('text' => $action == 'edit_type' ? TEXT_EDIT_TYPE_INTRO : TEXT_NEW_TYPE_INTRO);
$products_types_inputs_string = '';
$languages = tep_get_languages();
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$products_types_inputs_string .= '<br>' . tep_image(DIR_WS_CATALOG_IMAGES . $languages[$i]['image'], $languages[$i]['name'], '', '', 'style="float: left; margin: 4px 4px 0px 0px;"') . tep_draw_input_field('products_types_name[' . $languages[$i]['id'] . ']', tep_get_products_types_info($tInfo->products_types_id, $languages[$i]['id']), 'size="35"');
}
$contents[] = array('text' => '<br>' . TEXT_TYPES_NAME . $products_types_inputs_string);
$products_types_inputs_string = '';
$languages = tep_get_languages();
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$products_types_inputs_string .= '<br>' . tep_image(DIR_WS_CATALOG_IMAGES . $languages[$i]['image'], $languages[$i]['name'], '', '', 'style="float: left; margin: 4px 4px 0px 0px;"') . tep_draw_textarea_field('products_types_description[' . $languages[$i]['id'] . ']', 'soft', '35', '3', tep_get_products_types_info($tInfo->products_types_id, $languages[$i]['id'], 'products_types_description'));
}
$contents[] = array('text' => '<br>' . TEXT_TYPES_DESCRIPTION . $products_types_inputs_string);
$contents[] = array('text' => '<br>' . TEXT_TYPES_PATH . '<br>' . tep_draw_input_field('products_types_path', $tInfo->products_types_path, 'size="8"'));
$contents[] = array('text' => '<br>' . tep_draw_checkbox_field('products_types_letter_search', '1', $tInfo->products_types_letter_search == '1') . TEXT_TYPES_LETTER_SEARCH);
$contents[] = array('text' => '<br>' . TEXT_EDIT_SORT_ORDER . '<br>' . tep_draw_input_field('sort_order', $tInfo->sort_order, 'size="2"'));
$contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_PARAMETERS, tep_not_null($tInfo->products_types_id) ? 'tID=' . $tInfo->products_types_id : '') . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'delete_type':
$heading[] = array('text' => '<strong>' . TEXT_HEADING_DELETE_TYPE . '</strong>');
$contents = array('form' => tep_draw_form('types', FILENAME_PARAMETERS, 'tID=' . $tInfo->products_types_id . '&action=delete_type_confirm') . tep_draw_hidden_field('types_id', $tInfo->products_types_id));
$contents[] = array('text' => TEXT_DELETE_TYPE_INTRO);
$contents[] = array('text' => '<br><strong>' . $tInfo->products_types_name . '</strong>');
$contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . tep_href_link(FILENAME_PARAMETERS, 'tID=' . $tInfo->products_types_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
default:
开发者ID:rabbit-source,项目名称:setbook.ru,代码行数:31,代码来源:parameters.php
示例2: tep_load_blocks
function tep_load_blocks($content_id, $content_type)
{
global $languages_id, $HTTP_POST_VARS, $PHP_SELF, $HTTP_GET_VARS;
$templates_id = '';
if ($content_type == 'page') {
$templates = array(array('id' => '', 'text' => TEXT_CHOOSE));
$templates_query = tep_db_query("select templates_id, templates_name from " . TABLE_TEMPLATES . " where language_id = '" . (int) $languages_id . "' order by sort_order, default_status desc, templates_id");
while ($templates_array = tep_db_fetch_array($templates_query)) {
$templates[] = array('id' => $templates_array['templates_id'], 'text' => $templates_array['templates_name']);
}
$template_info_query = tep_db_query("select templates_id from " . TABLE_TEMPLATES_TO_CONTENT . " where content_type = '" . tep_db_input($content_type) . "' and content_id = '" . (int) $content_id . "'");
$template_info = tep_db_fetch_array($template_info_query);
$templates_id = isset($HTTP_POST_VARS['templates_id']) ? $HTTP_POST_VARS['templates_id'] : $template_info['templates_id'];
}
$languages = tep_get_languages();
$metatags = array('metatags_page_title' => 'Заголовок окна', 'metatags_title' => 'Заголовок страницы', 'metatags_keywords' => 'Ключевые слова (meta-keywords)', 'metatags_description' => 'Описание (meta-description)');
?>
<div id="blocks">
<table border="0" width="100%" cellspacing="0" cellpadding="1">
<?php
if ($content_type == 'page') {
?>
<tr>
<td colspan="2"><?php
echo tep_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr valign="top">
<td class="main" style="width: 250px;"><?php
echo TEXT_CHOOSE_TEMPLATE;
?>
</td>
<td class="main"><?php
echo tep_draw_separator('pixel_trans.gif', '18', '12') . ' ' . tep_draw_pull_down_menu('templates_id', $templates, $templates_id);
?>
</td>
</tr>
<?php
}
reset($metatags);
while (list($metatag, $title) = each($metatags)) {
?>
<tr>
<td colspan="2"><?php
echo tep_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<?php
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$value_query = tep_db_query("select " . tep_db_input($metatag) . " as value from " . TABLE_METATAGS . " where content_id = '" . (int) $content_id . "' and content_type = '" . tep_db_input($content_type) . "' and language_id = '" . (int) $languages[$i]['id'] . "'");
$value = tep_db_fetch_array($value_query);
?>
<tr valign="top">
<td class="main" style="width: 250px;"><?php
if ($i == 0) {
echo $title . ':';
}
?>
</td>
<td class="main"><?php
echo tep_image(DIR_WS_CATALOG_IMAGES . $languages[$i]['image'], $languages[$i]['name'], '', '', 'style="float: left; margin: 4px 4px 0px 0px;"');
$field_name = $metatag . '[' . $languages[$i]['id'] . ']';
$field_value = isset($HTTP_POST_VARS[$metatag][$languages[$i]['id']]) ? $HTTP_POST_VARS[$metatag][$languages[$i]['id']] : $value['value'];
$field_value = str_replace('\\\\"', '"', $field_value);
$field_value = str_replace('\\"', '"', $field_value);
$field_value = str_replace("\\\\'", "\\'", $field_value);
$field_value = str_replace('src="/', 'src="' . HTTP_SERVER . '/', $field_value);
if ($metatag == 'metatags_description') {
echo tep_draw_textarea_field($field_name, 'soft', '55', '5', $field_value);
} else {
echo tep_draw_input_field($field_name, $field_value, 'size="55"');
}
?>
</td>
</tr>
<?php
}
}
echo '</table></div>';
}
开发者ID:rabbit-source,项目名称:setbook.ru,代码行数:82,代码来源:general.php
示例3: tep_cfg_textarea
function tep_cfg_textarea($text)
{
return tep_draw_textarea_field('configuration_value', false, 35, 5, $text);
}
开发者ID:tapwag,项目名称:oscommerce_deutsch,代码行数:4,代码来源:general.php
示例4: array
$contents[] = array('text' => TEXT_FIELD_SIZE . '<br>' . tep_draw_input_field('fields_size', $fInfo->fields_size));
$contents[] = array('text' => '<br>' . TEXT_CEF_CG_HIDE . '<br>' . tep_draw_input_field('fields_cef_cg_hide', $fInfo->fields_cef_cg_hide));
$contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_CUSTOMERS_EXTRA_FIELDS, 'page=' . $_GET['page'] . '&fID=' . $_GET['fID']) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'edit':
$heading[] = array('text' => '<b>' . TEXT_HEADING_EDIT_FIELD . '</b>');
$contents = array('form' => tep_draw_form('fields', FILENAME_CUSTOMERS_EXTRA_FIELDS, 'page=' . $_GET['page'] . '&fID=' . $fInfo->fields_id . '&action=save', 'post', 'enctype="multipart/form-data"'));
$contents[] = array('text' => TEXT_EDIT_INTRO);
$field_inputs_string = '';
$languages = tep_get_languages();
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$field_inputs_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('fields_name[' . $languages[$i]['id'] . ']', tep_get_customers_extra_fields_name($fInfo->fields_id, $languages[$i]['id']));
}
$contents[] = array('text' => '<br>' . TEXT_FIELD_NAME . $field_inputs_string);
$contents[] = array('text' => '<br>' . TEXT_FIELD_INPUT_TYPE . '<br>' . tep_draw_radio_field('fields_input_type', 0, $fInfo->fields_input_type == 0 ? true : false) . TEXT_INPUT_FIELD . '<br>' . tep_draw_radio_field('fields_input_type', 1, $fInfo->fields_input_type == 1 ? true : false) . TEXT_TEXTAREA_FIELD . '<br>' . tep_draw_radio_field('fields_input_type', 2, $fInfo->fields_input_type == 2 ? true : false) . TEXT_RADIO_FIELD . '<br>' . tep_draw_radio_field('fields_input_type', 3, $fInfo->fields_input_type == 3 ? true : false) . TEXT_CHECK_FIELD . '<br>' . tep_draw_radio_field('fields_input_type', 4, $fInfo->fields_input_type == 4 ? true : false) . TEXT_DOWN_FIELD);
$contents[] = array('text' => '<br>' . TEXT_FIELD_INPUT_VALUE . '<br>' . tep_draw_textarea_field('fields_input_value', 30, 8, $fInfo->fields_input_value));
$contents[] = array('text' => '<br>' . TEXT_FIELD_REQUIRED_STATUS . '<br>' . tep_draw_radio_field('fields_required_status', 0, $fInfo->fields_required_status == 0 ? true : false) . 'false<br>' . tep_draw_radio_field('fields_required_status', 1, $fInfo->fields_required_status == 1 ? true : false) . 'true');
$contents[] = array('text' => TEXT_FIELD_SIZE . '<br>' . tep_draw_input_field('fields_size', $fInfo->fields_size));
$contents[] = array('text' => '<br>' . TEXT_CEF_CG_HIDE . '<br>' . tep_draw_input_field('fields_cef_cg_hide', $fInfo->fields_cef_cg_hide));
$contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_CUSTOMERS_EXTRA_FIELDS, 'page=' . $_GET['page'] . '&fID=' . $fInfo->fields_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'delete':
$heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_FIELD . '</b>');
$contents = array('form' => tep_draw_form('manufacturers', FILENAME_CUSTOMERS_EXTRA_FIELDS, 'page=' . $_GET['page'] . '&fID=' . $fInfo->fields_id . '&action=deleteconfirm'));
$contents[] = array('text' => TEXT_DELETE_INTRO);
$contents[] = array('text' => '<br><b>' . $fInfo->fields_name . '</b>');
$contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . tep_href_link(FILENAME_CUSTOMERS_EXTRA_FIELDS, 'page=' . $_GET['page'] . '&fID=' . $fInfo->fields_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
default:
if (isset($fInfo) && is_object($fInfo)) {
$heading[] = array('text' => '<b>' . $fInfo->fields_name . '</b>');
开发者ID:digideskio,项目名称:oscmax2,代码行数:31,代码来源:customers_extra_fields.php
示例5: tep_draw_input_field
</tr>
<tr>
<td class="main"><?php
echo tep_draw_input_field('email');
?>
</td>
</tr>
<tr>
<td class="main"><?php
echo ENTRY_ENQUIRY;
?>
</td>
</tr>
<tr>
<td><?php
echo tep_draw_textarea_field('enquiry', 'soft', 50, 15);
?>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><?php
echo tep_draw_separator('pixel_trans.gif', '100%', '10');
?>
</td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
开发者ID:wrtcoder,项目名称:mini_isp,代码行数:31,代码来源:contact_us.php
示例6: tep_draw_separator
</td>
</tr>
<tr>
<td colspan="2">' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>
</tr>';
}
?>
<tr>
<td colspan="2" class="formAreaTitle">Content:<?php
//echo DESCRIPTION_INFORMATION;
?>
<br>
<?php
$descrip = htmlentities($edit[description], ENT_NOQUOTES, 'UTF-8');
echo tep_draw_textarea_field('description', '', '100', '15', $descrip, 'style="width:99%; height:350px;"');
?>
</td>
</tr>
<tr>
<td></td>
<td align="right" style="padding:10px">
<script type="text/javascript">
jQuery.noConflict()
jQuery(document).ready(function() {
jQuery(window).keypress(function(event) {
if (!(event.which == 115 && event.ctrlKey) && !(event.which == 19)) return true;
document.forms["updateinfo"].submit();
event.preventDefault();
开发者ID:rrecurse,项目名称:IntenseCart,代码行数:31,代码来源:information_form.php
示例7: tep_href_link
$tprice = $tprice + $inrec['qty'] * $sprice;
$pprice_formated = $currencies->format($sprice);
$tpprice_formated = $currencies->format($inrec['qty'] * $sprice);
$cline .= "<tr class='dataTableRow'>\n <td class='dataTableContent' align='left' vAlign='top' colspan='2' width='12%' nowrap> </td>\n <td class='dataTableContent' align='left' vAlign='top' width='13%' nowrap>" . $inrec2['model'] . "</td>\n <td class='dataTableContent' align='left' vAlign='top' colspan='2' width='55%'><a href='" . tep_href_link(FILENAME_CATEGORIES, 'action=new_product_preview&read=only&pID=' . $inrec['pid'] . '&origin=' . FILENAME_RECOVER_CART_SALES . '?page=' . $_GET['page'], 'NONSSL') . "'><b>" . $inrec2['name'] . "</b></a>\n " . $prodAttribs . "\n </td>\n <td class='dataTableContent' align='center' vAlign='top' width='5%' nowrap>" . $inrec['qty'] . "</td>\n <td class='dataTableContent' align='right' vAlign='top' width='5%' nowrap>" . $pprice_formated . "</td>\n <td class='dataTableContent' align='right' vAlign='top' width='10%' nowrap>" . $tpprice_formated . "</td>\n </tr>";
}
}
// end for ($i = 0; $i <= $knt; $i++)
if ($knt == 0) {
// There are no records to display
echo '<tr><td class="messageStackAlert" align="center" colspan="8">' . TEXT_NO_CARTS_FOUND . '</td></tr>';
} else {
// display the footer
$totalAll_formated = $currencies->format($totalAll);
$cline = "<tr class='dataTableHeadingRow'><td class='dataTableHeadingContent' align='right' colspan='8' style='border-bottom: 1px solid #000000'><b>" . TABLE_GRAND_TOTAL . "</b>" . $totalAll_formated . "</td>\n </tr>";
echo $cline;
echo "<tr><td colspan=\"8\" class=\"main\"><br><b>" . PSMSG . "</b><br>" . tep_draw_textarea_field('message', '80', '5') . "</td></tr><tr><td colspan=\"8\" align=\"right\">" . tep_image_submit('button_send_mail.gif', IMAGE_SEND_EMAIL) . "</td></tr>";
}
// end if ($knt == 0)
?>
</table>
</form></td>
</tr>
<?php
}
//
// end footer of both e-mail and report
//
?>
<!-- REPORT TABLE END //-->
</table>
</td>
开发者ID:digideskio,项目名称:oscmax2,代码行数:31,代码来源:recover_cart_sales.php
示例8: tep_draw_textarea_field
for (i=0; i<modulesFields.length; i++) {
document.getElementById("payment_"+modulesFields[i]).style.display = "none";
if (modulesFields[i]==selectedModule) {
document.getElementById("payment_"+modulesFields[i]).style.display = "block";
}
}
}
//--></script>
</fieldset>
<fieldset>
<legend><?php
echo TABLE_HEADING_COMMENTS;
?>
</legend>
<div><?php
echo tep_draw_textarea_field('comments', 'soft', '50', '8');
?>
</div>
</fieldset>
<div class="buttons">
<div style="float: left;"><?php
echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>';
?>
</div>
<div style="float: right;"><?php
echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE);
?>
</div>
<div style="text-align: center;"><?php
echo TEXT_CONTINUE_CHECKOUT_PROCEDURE;
?>
开发者ID:rabbit-source,项目名称:setbook.ru,代码行数:31,代码来源:checkout_payment.php
示例9: tep_draw_input_field
<tr>
<td class="main"><?php
echo TEXT_MANUFACTURERS_URL;
?>
</td>
<td class="main"><?php
echo tep_draw_input_field('manufacturers_url[' . $languages[$i]['id'] . ']', tep_get_manufacturer_url($mInfo->manufacturers_id, $languages[$i]['id']), ' size="50"');
?>
</td>
</tr>
<tr>
<td class="main" colspan="2"><?php
echo TEXT_MANUFACTURERS_DESCRIPTION;
?>
<br><?php
echo tep_draw_textarea_field('manufacturers_description[' . $languages[$i]['id'] . ']', 50, 20, tep_get_manufacturer_description($mInfo->manufacturers_id, $languages[$i]['id']), 'class="ckeditor"');
?>
</td>
</tr>
</table>
</div>
<?php
}
?>
</div>
</td>
</tr>
<tr>
<td align="right"><?php
echo tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_MANUFACTURERS, 'page=' . $_GET['page'] . '&mID=' . $_GET['mID']) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
?>
开发者ID:digideskio,项目名称:oscmax2,代码行数:31,代码来源:manufacturers.php
示例10: tep_draw_input_field
<td width="50%"><?php
echo ENTRY_PARTNER_TELEPHONE;
?>
</td>
<td width="50%"><?php
echo tep_draw_input_field('partners_telephone', '', 'size="20"');
?>
</td>
</tr>
<tr>
<td width="50%"><?php
echo ENTRY_PARTNER_BANK;
?>
</td>
<td width="50%"><?php
echo tep_draw_textarea_field('partners_bank', 'soft', '40', '4');
?>
</td>
</tr>
</table>
</fieldset>
<fieldset>
<legend><?php
echo CATEGORY_PARTNER_RULES;
?>
</legend>
<div><?php
echo tep_draw_checkbox_field('agreement', '1') . TERMS_OF_PARTNER_AGREEMENT_TEXT;
?>
</div>
</fieldset>
开发者ID:rabbit-source,项目名称:setbook.ru,代码行数:31,代码来源:partner.php
示例11: tep_draw_separator
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo tep_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 tep_draw_textarea_field('banners_html_text', 'soft', '60', '5', $bInfo->banners_html_text);
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo tep_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td class="main"><?php
echo TEXT_BANNERS_SCHEDULED_AT;
?>
<br><small>(dd/mm/yyyy)</small></td>
<td valign="top" class="main"><script language="javascript">dateScheduled.writeControl(); dateScheduled.dateFormat="dd/MM/yyyy";</script></td>
开发者ID:laiello,项目名称:hotel-os,代码行数:31,代码来源:banner_manager.php
示例12: tep_draw_separator
echo tep_draw_separator('pixel_trans.gif', '15', '1');
?>
</td>
<td class="main"><?php
echo TABLE_HEADING_ADMIN_COMMENTS;
?>
</td>
</tr>
<tr valign="top">
<td class="main"><?php
echo tep_draw_textarea_field('comments', 'soft', '50', '5', $order->info['comments']);
?>
</td>
<td> </td>
<td class="main"><?php
echo tep_draw_textarea_field('admin_comments', 'soft', '50', '5');
?>
</td>
</tr>
<tr>
<td colspan="3"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td width="170" class="main"><nobr><?php
echo ENTRY_STATUS;
?>
</nobr></td>
<td> <?php
echo tep_draw_pull_down_menu('status', $orders_statuses, $order->info['orders_status']);
?>
</td>
</tr>
开发者ID:rabbit-source,项目名称:setbook.ru,代码行数:31,代码来源:advance_orders.php
示例13: tep_draw_separator
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo tep_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td valign="top" class="main"><?php
echo TEXT_MESSAGE;
?>
</td>
<td><?php
echo tep_draw_textarea_field('message', 'soft', '60', '15');
?>
</td>
<?php
//###################### WYSIWYG ######################
if (HTML_AREA_WYSIWYG_DISABLE_EMAIL == 'Enable') {
?>
<script language="JavaScript1.2" defer>
// MaxiDVD Added WYSIWYG HTML Area Box + Admin Function v1.7 - 2.2 MS2 HTML Email HTML - <body>
var config = new Object(); // create new config object
config.width = "<?php
echo EMAIL_AREA_WYSIWYG_WIDTH;
?>
px";
config.height = "<?php
echo EMAIL_AREA_WYSIWYG_HEIGHT;
开发者ID:eosc,项目名称:EosC-2.3,代码行数:31,代码来源:mails.php
示例14: tep_draw_textarea_field
<td class="smallText" colspan="2" style="padding:10px;">No Admin Comments.</td>
</tr>';
}
?>
</table></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="main">
<tr>
<td class="main" style="padding-top:10px;"><b>Admin Only Comments</b></td>
</tr>
<tr>
<td><?php
echo tep_draw_textarea_field('admin_comments', 'soft', '90%', '5', '', 'style="background-color:#FFFFD9;"');
?>
</td>
</tr>
<tr class="hide_print">
<td align="right" style="padding-top:10px"><?php
echo tep_image_submit('button_update.gif', IMAGE_UPDATE);
?>
</td>
</tr>
</table></td>
</tr>
</table>
</div>
</div>
开发者ID:rrecurse,项目名称:IntenseCart,代码行数:31,代码来源:edit_orders.php
示例15: tep_draw_textarea_field
<?php
$radio_buttons++;
}
?>
</div>
<h2><?php
echo TABLE_HEADING_COMMENTS;
?>
</h2>
<div class="contentText">
<?php
echo tep_draw_textarea_field('comments', 'soft', '60', '5', $comments);
?>
</div>
<div class="contentText">
<div style="float: left; width: 60%; padding-top: 5px; padding-left: 15%;">
<div id="coProgressBar" style="height: 5px;"></div>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td align="center" width="33%" class="checkoutBarFrom"><?php
echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" class="checkoutBarFrom">' . CHECKOUT_BAR_DELIVERY . '</a>';
?>
</td>
<td align="center" width="33%" class="checkoutBarCurrent"><?php
echo CHECKOUT_BAR_PAYMENT;
开发者ID:Sibzsolutions,项目名称:Savostore,代码行数:30,代码来源:checkout_payment.php
示例16: tep_draw_textarea_field
echo '<option value="' . REASON_6 . '">' . REASON_6 . '</option>';
?>
</select><br />
</td>
</tr>
<tr>
<td class="main"><?php
echo ENTRY_ENQUIRY;
?>
</td>
</tr>
<tr>
<td><?php
echo tep_draw_textarea_field('enquiry', 50, 10);
?>
</td>
</tr>
<?php
if (RECAPTCHA_ON == 'true') {
?>
<!-- start modification for reCaptcha -->
<tr>
<td class="smallText"><?php
echo SECURITY_PROMPT;
?>
</td>
</tr>
<!-- end modification for reCaptcha -->
<?php
开发者ID:digideskio,项目名称:oscmax2,代码行数:31,代码来源:contact_us.tpl.php
示例17: tep_image
echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']);
?>
</td>
<td class="main"><?php
echo tep_draw_textarea_field('short_description[' . $languages[$i]['id'] . ']', 'soft', '70', '5', isset($short_description[$languages[$i]['id']]) ? stripslashes($short_description[$languages[$i]['id']]) : tep_get_products_short_description($pInfo->products_id, $languages[$i]['id']));
?>
</td>
</tr>
<tr>
<td class="main" valign="top"><?php
echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']);
?>
</td>
<td class="main"><?php
echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id']));
?>
</td>
</tr>
</table></td>
</tr>
<?php
}
?>
<tr>
<td colspan="2"><?php
echo tep_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:categories.php
示例18: tep_image
$type_inputs_string .= '<br>' . tep_image(DIR_WS_CATALOG_IMAGES . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('boards_types_name[' . $languages[$i]['id'] . ']', tep_get_boards_type_info($tInfo->boards_types_id, $languages[$i]['id']), 'size="30"');
}
$contents[] = array('text' => '<br>' . TEXT_EDIT_TYPES_NAME . $type_inputs_string);
$type_inputs_string = '';
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$type_inputs_string .= '<br>' . tep_image(DIR_WS_CATALOG_IMAGES . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('boards_types_short_name[' . $languages[$i]['id'] . ']', tep_get_boards_type_info($tInfo->boards_types_id, $languages[$i]['id'], 'boards_types_short_name'), 'size="30"');
}
$contents[] = array('text' => '<br>' . TEXT_EDIT_TYPES_SHORT_NAME . $type_inputs_string);
$type_inputs_string = '';
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$type_inputs_string .= '<br>' . tep_image(DIR_WS_CATALOG_IMAGES . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_textarea_field('boards_types_short_description[' . $languages[$i]['id'] . ']', 'soft', '30', '3', tep_get_boards_type_info($tInfo->boards_types_id, $languages[$i]['id'], 'boards_types_short_description'));
}
$contents[] = array('text' => '<br>' . TEXT_EDIT_TYPES_SHORT_DESCRIPTION . $type_inputs_string);
$type_inputs_string = '';
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$type_inputs_string .= '<br>' . tep_image(DIR_WS_CATALOG_IMAGES . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_textarea_field('boards_types_description[' . $languages[$i]['id'] . ']', 'soft', '30', '7', tep_get_boards_type_info($tInfo->boards_types_id, $languages[$i]['id'], 'boards_types_description'));
}
$contents[] = array('text' => '<br>' . TEXT_EDIT_TYPES_DESCRIPTION . $type_inputs_string);
$contents[] = array('text' => '<br>' . TEXT_REWRITE_NAME . '<br>' . tep_catalog_href_link(FILENAME_BOARDS) . tep_draw_input_field('boards_types_path', $tInfo->boards_types_path, 'size="' . (tep_not_null($tInfo->boards_types_path) ? strlen($tInfo->boards_types_path) - 1 : '7') . '"') . '/');
$contents[] = array('text' => '<br>' . TEXT_EDIT_TYPES_SORT_ORDER . '<br>' . tep_draw_input_field('sort_order', $tInfo->sort_order, 'size="3"'));
$contents[] = array('align' => 'center', 'text' => '<br>' . ($action == 'edit_type' ? tep_image_submit('button_update.gif', IMAGE_UPDATE) : tep_image_submit('button_insert.gif', IMAGE_INSERT)) . ' <a href="' . tep_href_link(FILENAME_BOARDS, tep_get_all_get_params(array('action', 'tID')) . (tep_not_null($tInfo->boards_types_id) ? 'tID=' . $tInfo->boards_types_id : '')) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'move':
$heading[] = array('text' => '<strong>' . TEXT_INFO_HEADING_MOVE_BOARD . '</strong>');
$contents = array('form' => tep_draw_form('boards', FILENAME_BOARDS, tep_get_all_get_params(array('action')) . 'action=move_confirm') . tep_draw_hidden_field('boards_id', $bInfo->boards_id));
$contents[] = array('text' => '<br>' . sprintf(TEXT_MOVE, $bInfo->customers_name) . '<br>' . tep_draw_pull_down_menu('move_to_board_type_id', $board_types, $tPath));
$contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_move.gif', IMAGE_MOVE) . ' <a href="' . tep_href_link(FILENAME_BOARDS, tep_get_all_get_params(array('action', 'bID')) . '&bID=' . $bInfo->boards_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
case 'delete_type':
$heading[] = array('text' => '<strong>' . TEXT_INFO_HEADING_DELETE_TYPE . '</strong>');
$contents = array('form' => tep_draw_form('boards', FILENAME_BOARDS, tep_get_all_get_params(array('action', 'tID', 'page')) . 'tID=' . $sInfo->boards_types_id . '&action=delete_type_confirm'));
开发者ID:rabbit-source,项目名称:setbook.ru,代码行数:31,代码来源:boards.php
示例19: display_list
function display_list()
{
extract(tep_load('defs', 'database'));
$html_string = '';
$rows = 0;
$zones_query_raw = "select * from " . TABLE_META_GTEXT . " order by gtext_id desc";
$zones_split = new splitPageResults($zones_query_raw, META_PAGE_SPLIT, '', 'spage');
if ($zones_split->number_of_rows > 0) {
$buttons = array();
if (empty($this->m_saction)) {
$buttons = array('<a href="' . tep_href_link($cDefs->script, 'zpage=' . $this->m_zpage . '&zID=' . $this->m_zID) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>', tep_image_submit('button_update.gif', TEXT_UPDATE_MULTIZONE, 'onclick="this.form.action=' . '\'' . tep_href_link($cDefs->script, tep_get_all_get_params('action') . 'action=update_multizone') . '\'' . '"'), tep_image_submit('button_delete.gif', TEXT_DELETE_MULTIZONE, 'onclick="this.form.action=' . '\'' . tep_href_link($cDefs->script, tep_get_all_get_params('action') . 'action=delete_multizone') . '\'' . '"'));
}
$html_string .= ' <div class="formArea">' . tep_draw_form('rl', $cDefs->script, 'action=delete_multizone&zID=' . $this->m_zID . '&zpage=' . $this->m_zpage . '&spage=' . $this->m_spage, 'post') . '<div class="comboHeading">' . implode('', $buttons) . '</div><table class="tabledata">' . "\n";
$html_string .= ' <tr class="dataTableHeadingRow">' . "\n" . ' <th class="calign"><a href="#pc_id" class="page_select" title="' . TEXT_PAGE_SELECT . '">' . tep_image(DIR_WS_ICONS . 'icon_tick.png', TEXT_PAGE_SELECT) . '</a></th>' . "\n" . ' <th>' . TABLE_HEADING_TITLE . '</th>' . "\n" . ' <th>' . TABLE_HEADING_KEYWORDS . '</th>' . "\n" . ' <th>' . TABLE_HEADING_DESCRIPTION . '</th>' . "\n" . ' </tr>' . "\n";
$zones_query = $db->query($zones_split->sql_query);
$bCheck = false;
while ($zones_array = $db->fetch_array($zones_query)) {
$extra_query = $db->query("select gtext_title from " . TABLE_GTEXT . " where gtext_id = '" . (int) $zones_array['gtext_id'] . "'");
if ($extra_array = $db->fetch_array($extra_query)) {
$final_name = '<a href="' . tep_href_link(FILENAME_GENERIC_TEXT, 'gtID=' . $zones_array['gtext_id'] . '&action=new_generic_text') . '">' . $extra_array['gtext_title'] . '</a>';
} else {
$final_name = '<font color="#FF0000"><b>' . TEXT_INFO_NA . ' [' . $zones_array['meta_title'] . ']' . '</b></font>';
}
$rows++;
$row_class = $rows % 2 ? 'dataTableRow' : 'dataTableRowAlt';
$html_string .= ' <tr class="' . $row_class . '">' . "\n" . ' <td class="calign">' . tep_draw_checkbox_field('pc_id[' . $zones_array['gtext_id'] . ']', $bCheck ? 'on' : '', $bCheck) . '</td>' . "\n" . ' <td><div class="rpad">' . $final_name . '<br />' . tep_draw_input_field('title[' . $zones_array['gtext_id'] . ']', $zones_array['meta_title']) . '</div></td>' . "\n" . ' <td><div class="rpad">' . tep_draw_textarea_field('keywords[' . $zones_array['gtext_id'] . ']', $zones_array['meta_keywords'], '', '2') . '</div></td>' . "\n" . ' <td><div class="rpad">' . tep_draw_textarea_field('text[' . $zones_array['gtext_id'] . ']', $zones_array['meta_text'], '', '2') . '</div></td>' . "\n" . ' </tr>' . "\n";
}
$html_string .= ' </table><div class="formButtons">' . implode('', $buttons) . '</div></form></div>' . "\n" . ' <div c
|
请发表评论