本文整理汇总了PHP中oos_draw_textarea_field函数的典型用法代码示例。如果您正苦于以下问题:PHP oos_draw_textarea_field函数的具体用法?PHP oos_draw_textarea_field怎么用?PHP oos_draw_textarea_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了oos_draw_textarea_field函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: oos_draw_textarea_field
</tr>';
echo $cline;
}
$curcus = '';
// Move that ADOdb pointer!
$result->MoveNext();
}
$totalAll_formated = $currencies->format($totalAll);
$cline = '<tr></tr><td class="dataTableContent" align="right" colspan="8"><hr align="right" width="55"><b>' . TABLE_GRAND_TOTAL . '</b>' . $totalAll_formated . '</td>
</tr>';
echo $cline;
echo '<tr><td colspan="8"><hr size="1" color="#000080"><b>' . PSMSG . '</b><br />' . oos_draw_textarea_field('message', 'soft', '80', '5') . '<br />' . oos_draw_selection_field('submit_button', 'submit', TEXT_SEND_EMAIL) . '</td></tr>';
?>
</form>
<?php
}
?>
</table>
</td>
<!-- body_text_eof //-->
</tr>
</table>
<!-- body_eof //-->
<?php require 'includes/oos_footer.php'; ?>
示例2: oos_draw_separator
?>
</b></td>
</tr>
<tr>
<td><?php
echo oos_draw_separator('trans.gif', '1', '5');
?>
</td>
</tr>
<tr>
<td class="main">
<?php
if ($CommentsWithStatus) {
echo oos_draw_textarea_field('comments', 'soft', '60', '5');
} else {
echo oos_draw_textarea_field('comments', 'soft', '60', '5', $order->info['comments']);
}
?>
</td>
</tr>
<tr>
<td><?php
echo oos_draw_separator('trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td><table border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b><?php
示例3: oos_image
?>
<tr>
<td class="main" width="33%" valign="top"><?php
if ($i == 0) {
echo TEXT_EDIT_CATEGORIES_KEYWORDS_META;
}
?>
</td>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="main" valign="top"><?php
echo oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']);
?>
</td>
<td class="main"><?php
echo oos_draw_textarea_field('categories_keywords_meta[' . $languages[$i]['id'] . ']', 'soft', '70', '4', $categories_keywords_meta[$languages[$i]['id']] ? stripslashes($categories_keywords_meta[$languages[$i]['id']]) : oos_get_category_keywords_meta($cInfo->categories_id, $languages[$i]['id']));
?>
</td>
</tr>
</table></td>
</tr>
<?php
}
}
?>
<tr>
<td colspan="2"><?php
echo oos_draw_separator('trans.gif', '1', '10');
?>
</td>
</tr>
示例4: array
$contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . ' <a href="' . oos_href_link_admin($aFilename['information'], 'page=' . $_GET['page'] . '&mID=' . $_GET['mID']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
break;
case 'edit':
$heading[] = array('text' => '<b>' . TEXT_HEADING_EDIT_INFORMATION . '</b>');
$contents = array('form' => oos_draw_form('information', $aFilename['information'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->information_id . '&action=save', 'post', 'enctype="multipart/form-data"'));
$contents[] = array('text' => TEXT_EDIT_INTRO);
$informations_name_inputs_string = '';
$informations_inputs_string = '';
$informations_description_inputs_string = '';
$informations_heading_title_inputs_string = '';
$languages = oos_get_languages();
for ($i = 0, $n = count($languages); $i < $n; $i++) {
$informations_name_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('information_name[' . $languages[$i]['id'] . ']', oos_get_informations_name($mInfo->information_id, $languages[$i]['id']));
$informations_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('information_url[' . $languages[$i]['id'] . ']', oos_get_informations_url($mInfo->information_id, $languages[$i]['id']));
$informations_heading_title_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('information_heading_title[' . $languages[$i]['id'] . ']', oos_get_informations_heading_title($mInfo->information_id, $languages[$i]['id']));
$informations_description_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_textarea_field('information_description[' . $languages[$i]['id'] . ']', 'soft', '100', '10', oos_get_informations_description($mInfo->information_id, $languages[$i]['id']));
}
$contents[] = array('text' => '<br />' . TEXT_INFORMATION_NAME . $informations_name_inputs_string);
$contents[] = array('text' => '<br />' . TEXT_INFORMATION_IMAGE . '<br />' . oos_draw_file_field('information_image') . '<br />' . $mInfo->information_image);
$contents[] = array('text' => '<br />' . TEXT_INFORMATION_URL . $informations_inputs_string);
$contents[] = array('text' => '<br />' . TEXT_INFORMATION_HEADING_TITLE . $informations_heading_title_inputs_string);
$contents[] = array('text' => '<br />' . TEXT_INFORMATION_DESCRIPTION . $informations_description_inputs_string);
$contents[] = array('text' => '<br />' . TEXT_INFORMATION_SORT_ORDER . '<br />' . oos_draw_input_field('sort_order') . '<br />' . $mInfo->sort_order);
$contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . ' <a href="' . oos_href_link_admin($aFilename['information'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->information_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
break;
case 'delete':
if ($mInfo->information_id > 5) {
$heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_INFORMATION . '</b>');
$contents = array('form' => oos_draw_form('information', $aFilename['information'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->information_id . '&action=deleteconfirm'));
$contents[] = array('text' => TEXT_DELETE_INTRO);
$contents[] = array('text' => '<br /><b>' . $mInfo->information_name . '</b>');
示例5: oos_draw_separator
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo oos_draw_separator('trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td class="main" valign="top"><?php
echo TEXT_NEWSLETTER_CONTENT;
?>
</td>
<td class="main"><?php
echo oos_draw_textarea_field('content', 'soft', '100%', '20', $nInfo->content);
?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><?php
echo oos_draw_separator('trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main" align="right"><?php
示例6: oos_draw_input_field
<td class="main"><?php echo TEXT_SUBJECT; ?></td>
<td><?php echo oos_draw_input_field('subject'); ?></td>
</tr>
<tr>
<td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td valign="top" class="main"><?php echo TEXT_AMOUNT; ?></td>
<td><?php echo oos_draw_input_field('amount'); ?></td>
</tr>
<tr>
<td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td valign="top" class="main"><?php echo TEXT_MESSAGE; ?></td>
<td><?php echo oos_draw_textarea_field('message', 'soft', '60', '15'); ?></td>
</tr>
<tr>
<td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td colspan="2" align="right"><?php echo oos_image_swap_submits('send_mail','send_mail_off.gif', IMAGE_SEND_EMAIL); ?></td>
</tr>
</table></td>
</form></tr>
<?php
}
?>
<!-- body_text_eof //-->
</table></td>
</tr>
示例7: oos_draw_separator
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo oos_draw_separator('trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td valign="top" class="main"><?php
echo TEXT_BANNERS_HTML_TEXT;
?>
</td>
<td class="main"><?php
echo oos_draw_textarea_field('html_text', 'soft', '60', '5', $bInfo->banners_html_text);
?>
</td>
</tr>
<tr>
<td colspan="2"><?php
echo oos_draw_separator('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>
示例8: array
$contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('insert','insert_off.gif', IMAGE_INSERT) . ' <a href="' . oos_href_link_admin($aFilename['ticket_reply'], 'page=' . $_GET['page']) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>');
break;
case 'edit':
$heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_TEXT_REPLY . '</b>');
$contents = array('form' => oos_draw_form('reply', $aFilename['ticket_reply'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_reply_id . '&action=save'));
$contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
$ticket_reply_inputs_string = '';
$languages = oos_get_languages();
for ($i = 0, $n = count($languages); $i < $n; $i++) {
$ticket_reply_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('ticket_reply_name[' . $languages[$i]['id'] . ']', oos_get_ticket_reply_name($oInfo->ticket_reply_id, $languages[$i]['id']));
}
for ($i = 0, $n = count($languages); $i < $n; $i++) {
$ticket_reply_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_textarea_field('ticket_reply_text[' . $languages[$i]['id'] . ']','soft', 50, 10,oos_get_ticket_reply_text($oInfo->ticket_reply_id, $languages[$i]['id']));
}
$contents[] = array('text' => '<br />' . TEXT_INFO_TEXT_REPLY_NAME . $ticket_reply_inputs_string);
if (TICKET_DEFAULT_REPLY_ID != $oInfo->ticket_reply_id) $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('default') . ' ' . TEXT_SET_DEFAULT);
$contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('update','update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['ticket_reply'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_reply_id) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>');
break;
case 'delete':
$heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_TEXT_REPLY . '</b>');
$contents = array('form' => oos_draw_form('reply', $aFilename['ticket_reply'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_reply_id . '&action=deleteconfirm'));
$contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
$contents[] = array('text' => '<br /><b>' . $oInfo->ticket_reply_name . '</b>');
$contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete','delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['ticket_reply'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_reply_id) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>');
break;
示例9: oos_draw_separator
} else {
echo ' <tr>' . "\n" .
' <td class="smallText" colspan="5">' . TEXT_NO_ORDER_HISTORY . '</td>' . "\n" .
' </tr>' . "\n";
}
?>
</table></td>
</tr>
<tr>
<td class="main"><br /><b><?php echo TABLE_HEADING_COMMENTS; ?></b></td>
</tr>
<tr>
<td><?php echo oos_draw_separator('trans.gif', '1', '5'); ?></td>
</tr>
<tr><?php echo oos_draw_form('status', $aFilename['orders'], oos_get_all_get_params(array('action')) . 'action=update_order'); ?>
<td class="main"><?php echo oos_draw_textarea_field('comments', 'soft', '60', '5'); ?></td>
</tr>
<tr>
<td><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td><table border="0" cellspacing="0" cellpadding="2">
<tr>
<td><table border="0" cellspacing="0" cellpadding="2">
<tr>
<td colspan="2" class="main"><b><?php echo ENTRY_STATUS; ?></b> <?php echo oos_draw_pull_down_menu('status', $orders_statuses, $order->info['orders_status']); ?></td>
</tr>
<tr>
<td class="main"><b><?php echo ENTRY_NOTIFY_CUSTOMER; ?></b> <?php echo oos_draw_checkbox_field('notify', '', false); ?></td>
<td class="main"><b><?php echo ENTRY_NOTIFY_COMMENTS; ?></b> <?php echo oos_draw_checkbox_field('notify_comments', '', false); ?></td>
</tr>
示例10: while
while ($reply = $reply_result->fields) {
echo ' <option value="' . $reply['ticket_reply_text'] . '"';
if (TICKET_DEFAULT_REPLY_ID == $reply['ticket_reply_id']) {
echo ' selected';
}
echo '>';
echo $reply['ticket_reply_name'] . '</option>' . "\n";
// Move that ADOdb pointer!
$reply_result->MoveNext();
}
echo ' </select>';
echo ' <input type="button" name="insert" value="' . TEXT_INSERT . '" onclick="document.status.enquiry.value = document.status.enquiry.value + document.status.dummy.value">';
?>
</td>
<td class="ticketSmallText" ><?php
echo oos_draw_textarea_field('enquiry', 'soft', 50, 15, '', 'class="ticket"');
?>
</td>
</tr>
<?php
if ($ticket['ticket_customers_id'] > 0) {
?>
<tr>
<td colspan=2 class="main" align="left">
<?php
$ticket_change_login = array();
$ticket_change_login_array = array();
$ticket_change_login[] = array('id' => '0', 'text' => TEXT_CUSTOMER_LOGIN_NO);
$ticket_change_login_array['0'] = TEXT_CUSTOMER_LOGIN_NO;
$ticket_change_login[] = array('id' => '1', 'text' => TEXT_CUSTOMER_LOGIN_YES);
$ticket_change_login_array['1'] = TEXT_CUSTOMER_LOGIN_YES;
示例11: array_merge
$rInfo_array = array_merge($reviews, $products, $products_name);
$rInfo = new objectInfo($rInfo_array);
?>
<tr><?php echo oos_draw_form('review', $aFilename['reviews'], 'page=' . $_GET['page'] . '&rID=' . $_GET['rID'] . '&action=preview'); ?>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="main" valign="top"><b><?php echo ENTRY_PRODUCT; ?></b> <?php echo $rInfo->products_name; ?><br /><b><?php echo ENTRY_FROM; ?></b> <?php echo $rInfo->customers_name; ?><br /><br /><b><?php echo ENTRY_DATE; ?></b> <?php echo oos_date_short($rInfo->date_added); ?></td>
<td class="main" align="right" valign="top"><?php echo oos_image(OOS_HTTP_SERVER . OOS_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 witdh="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="main" valign="top"><b><?php echo ENTRY_REVIEW; ?></b><br /><br /><?php echo oos_draw_textarea_field('reviews_text', 'soft', '60', '15', $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 oos_draw_separator('trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td class="main"><b><?php echo ENTRY_RATING; ?></b> <?php echo TEXT_BAD; ?> <?php for ($i=1; $i<=5; $i++) echo oos_draw_radio_field('reviews_rating', $i, '', $rInfo->reviews_rating) . ' '; echo TEXT_GOOD; ?></td>
</tr>
<tr>
<td><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
</tr>
示例12: oos_cfg_textarea
/**
* Function to read in text area in admin
*
* @param $text
* @return string
*/
function oos_cfg_textarea($text) {
return oos_draw_textarea_field('configuration_value', false, 35, 5, $text);
}
示例13: intval
$reply_result = $dbconn->Execute("SELECT ticket_reply_id, ticket_reply_name, ticket_reply_text FROM $ticket_replytable WHERE ticket_languages_id = '" . intval($_SESSION['language_id']) . "'");
echo ' <select name="dummy" size="1">';
while ($reply = $reply_result->fields) {
echo ' <option value="' . $reply['ticket_reply_text'] . '"';
if (TICKET_DEFAULT_REPLY_ID == $reply['ticket_reply_id']) echo ' selected';
echo '>';
echo $reply['ticket_reply_name'] . '</option>' . "\n";
// Move that ADOdb pointer!
$reply_result->MoveNext();
}
echo ' </select>';
echo ' <input type="button" name="insert" value="' . TEXT_INSERT . '" onclick="document.status.enquiry.value = document.status.enquiry.value + document.status.dummy.value">';
?>
</td>
<td class="ticketSmallText" ><?php echo oos_draw_textarea_field('enquiry', 'soft', 50, 15,'','class="ticket"'); ?></td>
</tr>
<?php
if ($ticket['ticket_customers_id'] > 0) {
?>
<tr>
<td colspan=2 class="main" align="left">
<?php
$ticket_change_login = array();
$ticket_change_login_array = array();
$ticket_change_login[] = array('id' => '0', 'text' => TEXT_CUSTOMER_LOGIN_NO);
$ticket_change_login_array['0'] = TEXT_CUSTOMER_LOGIN_NO;
$ticket_change_login[] = array('id' => '1', 'text' => TEXT_CUSTOMER_LOGIN_YES);
$ticket_change_login_array['1'] = TEXT_CUSTOMER_LOGIN_YES;
示例14: oos_image
?>
<tr>
<td class="main" width="100" valign="top"><?php
if ($i == 0) {
echo TEXT_PRODUCTS_KEYWORDS_META;
}
?>
</td>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="main" valign="top"><?php
echo oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']);
?>
</td>
<td class="main"><?php
echo oos_draw_textarea_field('products_keywords_meta_' . $languages[$i]['id'], 'soft', '70', '4', $_POST['products_keywords_meta_' . $languages[$i]['id']] ? stripslashes($_POST['products_keywords_meta_' . $languages[$i]['id']]) : oos_get_products_keywords_meta($pInfo->products_id, $languages[$i]['id']));
?>
</td>
</tr>
</table></td>
</tr>
<?php
}
}
?>
<tr>
<td colspan="2"><?php
echo oos_draw_separator('trans.gif', '1', '10');
?>
</td>
</tr>
示例15: oos_draw_pull_down_menu
<td class="main"><?php echo TEXT_NEWSLETTER_MODULE; ?></td>
<td class="main"><?php echo oos_draw_pull_down_menu('module', $modules_array, $nInfo->module); ?></td>
</tr>
<tr>
<td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td class="main"><?php echo TEXT_NEWSLETTER_TITLE; ?></td>
<td class="main"><?php echo oos_draw_input_field('title', $nInfo->title, '', true); ?></td>
</tr>
<tr>
<td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td class="main" valign="top"><?php echo TEXT_NEWSLETTER_CONTENT; ?></td>
<td class="main"><?php echo oos_draw_textarea_field('content', 'soft', '100%', '20', $nInfo->content); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main" align="right"><?php echo (($form_action == 'insert') ? oos_image_swap_submits('save','save_off.gif', IMAGE_SAVE) : oos_image_swap_submits('update','update_off.gif', IMAGE_UPDATE)). ' <a href="' . oos_href_link_admin($aFilename['newsletters'], 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>'; ?></td>
</tr>
</table></td>
</form></tr>
<?php
} elseif ($action == 'preview') {