本文整理汇总了PHP中tep_draw_button函数的典型用法代码示例。如果您正苦于以下问题:PHP tep_draw_button函数的具体用法?PHP tep_draw_button怎么用?PHP tep_draw_button使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tep_draw_button函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: execute
function execute()
{
global $cart, $oscTemplate;
$data = '<div id="headerShortcuts" class="btn-group">' . ' ' . tep_draw_button(MODULE_BOXES_HEADER_MENU_DEFAULT, 'btn btn-default', tep_href_link(FILENAME_DEFAULT)) . ' ' . tep_draw_button(MODULE_BOXES_HEADER_MENU_NEW, 'btn btn-default', tep_href_link(FILENAME_PRODUCTS_NEW)) . ' ' . tep_draw_button(MODULE_BOXES_HEADER_MENU_FEATURED, 'btn btn-default', tep_href_link(FILENAME_FEATURED_PRODUCTS)) . ' ' . tep_draw_button(MODULE_BOXES_HEADER_MENU_TOPSELLERS, 'btn btn-default', tep_href_link(FILENAME_TOPSELLERS_PRODUCTS)) . ' ' . tep_draw_button(MODULE_BOXES_HEADER_MENU_SPECIALS, 'btn btn-default', tep_href_link(FILENAME_SPECIALS)) . ' ' . tep_draw_button(MODULE_BOXES_HEADER_MENU_REVIEWS, 'btn btn-default', tep_href_link(FILENAME_REVIEWS));
$data .= '</div>';
$oscTemplate->addBlock($data, $this->group);
}
开发者ID:templatemonster,项目名称:oscommerce,代码行数:7,代码来源:h_menu.php
示例2: confirm
function confirm()
{
$mail_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS . " where customers_newsletter = '1'");
$mail = tep_db_fetch_array($mail_query);
$confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . ' <tr>' . "\n" . ' <td class="main"><font color="#ff0000"><strong>' . sprintf(TEXT_COUNT_CUSTOMERS, $mail['count']) . '</strong></font></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><strong>' . $this->title . '</strong></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><tt>' . nl2br($this->content) . '</tt></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="smallText" align="right">' . tep_draw_button(IMAGE_SEND, 'mail-closed', tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send'), 'primary') . tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'])) . '</td>' . "\n" . ' </tr>' . "\n" . '</table>';
return $confirm_string;
}
开发者ID:tiansiyuan,项目名称:oscommerce2,代码行数:7,代码来源:newsletter.php
示例3: execute
function execute()
{
global $oscTemplate;
$data = '<div id="headerShortcutsTop" class="btn-group">' . ' ' . tep_draw_button(HEADER_TITLE_MY_ACCOUNT, 'btn btn-default', tep_href_link(FILENAME_ACCOUNT, '', 'SSL'));
if (tep_session_is_registered('customer_id')) {
$data .= tep_draw_button(HEADER_TITLE_LOGOFF, 'btn btn-default', tep_href_link(FILENAME_LOGOFF, '', 'SSL'));
} else {
$data .= tep_draw_button(HEADER_TITLE_LOGIN, 'btn btn-default', tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}
$data .= '</div>';
$oscTemplate->addBlock($data, $this->group);
}
开发者ID:templatemonster,项目名称:oscommerce,代码行数:12,代码来源:h_information_account.php
示例4: _buildBranch
protected function _buildBranch($parent_id, $level = 0)
{
$result = $level === 0 && $this->parent_group_apply_to_root === true || $level > 0 ? $this->parent_group_start_string : null;
if (isset($this->_data[$parent_id])) {
foreach ($this->_data[$parent_id] as $category_id => $category) {
$result .= '<div class="panel panel-default">';
$result .= ' <div class="panel-heading">';
$result .= ' <h2 class="panel-title">';
$result .= ' <a data-toggle="collapse" data-parent="#accordion" href="#collapse_' . $category_id . '">';
$result .= $category['selectors_name'];
$result .= ' </a>';
$result .= tep_draw_form('delete_css', FILENAME_BTS_CSS, 'selID=' . $category_id . '&action=deleteconfirm', 'post', 'class="pull-right"') . tep_draw_button(IMAGE_DELETE, 'trash', null, 'primary') . '</form>';
$result .= ' </h2>';
$result .= ' </div>';
$result .= ' <div id="collapse_' . $category_id . '" class="panel-collapse collapse">';
$result .= ' <div class="panel-body">';
$result .= tep_draw_form('css', FILENAME_BTS_CSS, 'selID=' . $category_id . '&action=save', 'post', 'id="' . $category_id . '"');
$result .= TEXT_CSS_SELECTOR_NAME . ' ' . tep_draw_input_field('selectors_name', $category['selectors_name'], 'class="form-control"') . '<br />';
$result .= '<table class="table table-hover table-striped table-bordered input_new_edit_fields_wrap">';
$result .= '<tr><th>' . TEXT_PROPERTY_ELEMENT . '</td><th>' . TEXT_PROPERTY_VALUE . '</th><th><button id="' . $category_id . '" class="add_new_edit_field_button"> + </button></th></tr>';
$properties = tep_get_properties($category_id);
for ($i = 0, $n = sizeof($properties); $i < $n; $i++) {
$result .= '<tr id="' . $properties[$i]['properties_id'] . '">';
$result .= ' <td>' . tep_draw_input_field('property_element[' . $properties[$i]['properties_id'] . ']', tep_get_property_element($category_id, $properties[$i]['properties_id']), 'class="form-control"') . '</td>';
$result .= ' <td>' . tep_draw_input_field('property_value[' . $properties[$i]['properties_id'] . ']', tep_get_property_value($category_id, $properties[$i]['properties_id']), 'class="form-control"') . '</td>';
$result .= ' <td><a href="#" class="remove_new_edit_field">Remove</a></td>';
$result .= '</tr>';
}
$result .= ' </table>';
$result .= '<br />' . tep_draw_button(IMAGE_SAVE, 'disk', null, 'primary') . tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link(FILENAME_BTS_CSS));
$result .= ' </form>';
$result .= ' </div>';
$result .= ' </div>';
$result .= '</div>';
if (isset($this->_data[$category_id]) && ($this->max_level == '0' || $this->max_level > $level + 1)) {
$result .= $this->_buildBranch($category_id, $level + 1);
}
}
}
$result .= $level === 0 && $this->parent_group_apply_to_root === true || $level > 0 ? $this->parent_group_end_string : null;
return $result;
}
开发者ID:osc2nuke,项目名称:demobts,代码行数:42,代码来源:bts_css_tree.php
示例5: tep_href_link
require 'includes/application_top.php';
require DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHIPPING;
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SHIPPING));
require DIR_WS_INCLUDES . 'template_top.php';
?>
<div class="page-header">
<h1><?php
echo HEADING_TITLE;
?>
</h1>
</div>
<div class="contentContainer">
<div class="contentText">
<?php
echo TEXT_INFORMATION;
?>
</div>
<div class="buttonSet">
<div class="text-right"><?php
echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'fa fa-angle-right', tep_href_link(FILENAME_DEFAULT));
?>
</div>
</div>
</div>
<?php
require DIR_WS_INCLUDES . 'template_bottom.php';
require DIR_WS_INCLUDES . 'application_bottom.php';
开发者ID:othreed,项目名称:osCommerce-234-bootstrap-wADDONS,代码行数:31,代码来源:shipping.php
示例6: tep_draw_checkbox_field
<?php
echo tep_draw_checkbox_field('newsletter_general', '1', $newsletter['customers_newsletter'] == '1' ? true : false);
?>
<?php
if (tep_not_null(MY_NEWSLETTERS_GENERAL_NEWSLETTER_DESCRIPTION)) {
echo MY_NEWSLETTERS_GENERAL_NEWSLETTER_DESCRIPTION;
}
?>
</label>
</div>
</div>
</div>
</div>
<div class="buttonSet row">
<div class="col-xs-6"><?php
echo tep_draw_button(IMAGE_BUTTON_BACK, 'fa fa-angle-left', tep_href_link('account.php', '', 'SSL'));
?>
</div>
<div class="col-xs-6 text-right"><?php
echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'fa fa-angle-right', null, 'primary', null, 'btn-success');
?>
</div>
</div>
</div>
</form>
<?php
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';
开发者ID:katapofatico,项目名称:Responsive-osCommerce,代码行数:31,代码来源:account_newsletters.php
示例7: sizeof
</span>
</div>
</div>
<?php
}
?>
<br />
<div class="buttonSet row">
<div class="col-xs-6">
<?php
$back = sizeof($navigation->path) - 2;
if (isset($navigation->path[$back])) {
echo tep_draw_button(IMAGE_BUTTON_BACK, 'glyphicon glyphicon-chevron-left', tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']));
}
?>
</div>
<div class="col-xs-6 text-right"><?php
echo tep_draw_button(IMAGE_BUTTON_WRITE_REVIEW, 'glyphicon glyphicon-comment', tep_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, tep_get_all_get_params()), 'primary', NULL, 'btn-success');
?>
</div>
</div>
</div>
</div>
<?php
require DIR_WS_INCLUDES . 'template_bottom.php';
require DIR_WS_INCLUDES . 'application_bottom.php';
开发者ID:jdogrulz,项目名称:Responsive-osCommerce,代码行数:31,代码来源:product_reviews.php
示例8: tep_draw_form
<tr>
<td><?php
echo tep_draw_form('logo', FILENAME_STORE_LOGO, 'action=save', 'post', 'enctype="multipart/form-data"');
?>
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="main" valign="top"><?php
echo TEXT_LOGO_IMAGE;
?>
</td>
<td class="main"><?php
echo tep_draw_file_field('store_logo');
?>
</td>
<td class="smallText"><?php
echo tep_draw_button(IMAGE_SAVE, 'disk', null, 'primary');
?>
</td>
</tr>
</table>
</form></td>
</tr>
<tr>
<td><?php
echo tep_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
</tr>
<tr>
<td class="main"><?php
echo TEXT_FORMAT_AND_LOCATION;
开发者ID:Sibzsolutions,项目名称:Savostore,代码行数:31,代码来源:store_logo.php
示例9: array
$heading = array();
$contents = array();
switch ($action) {
case 'confirm':
$heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_CUSTOMER . '</b>');
$contents = array('form' => tep_draw_form('customers', FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id . '&action=deleteconfirm'));
$contents[] = array('text' => TEXT_DELETE_INTRO . '<br><br><b>' . $cInfo->customers_firstname . ' ' . $cInfo->customers_lastname . '</b>');
if (isset($cInfo->number_of_reviews) && $cInfo->number_of_reviews > 0) {
$contents[] = array('text' => '<br>' . tep_draw_checkbox_field('delete_reviews', 'on', true) . ' ' . sprintf(TEXT_DELETE_REVIEWS, $cInfo->number_of_reviews));
}
$contents[] = array('align' => 'center', 'text' => '<br>' . tep_draw_button(IMAGE_DELETE, 'trash', null, 'primary') . tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id)));
break;
default:
if (isset($cInfo) && is_object($cInfo)) {
$heading[] = array('text' => '<b>' . $cInfo->customers_firstname . ' ' . $cInfo->customers_lastname . '</b>');
$contents[] = array('align' => 'center', 'text' => tep_draw_button(IMAGE_EDIT, 'document', tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id . '&action=edit')) . tep_draw_button(IMAGE_DELETE, 'trash', tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id . '&action=confirm')) . tep_draw_button(IMAGE_ORDERS, 'cart', tep_href_link(FILENAME_ORDERS, 'cID=' . $cInfo->customers_id)) . tep_draw_button(IMAGE_EMAIL, 'mail-closed', tep_href_link(FILENAME_MAIL, 'selected_box=tools&customer=' . $cInfo->customers_email_address)));
$contents[] = array('text' => '<br>' . TEXT_DATE_ACCOUNT_CREATED . ' ' . tep_date_short($cInfo->date_account_created));
$contents[] = array('text' => '<br>' . TEXT_DATE_ACCOUNT_LAST_MODIFIED . ' ' . tep_date_short($cInfo->date_account_last_modified));
$contents[] = array('text' => '<br>' . TEXT_INFO_DATE_LAST_LOGON . ' ' . tep_date_short($cInfo->date_last_logon));
$contents[] = array('text' => '<br>' . TEXT_INFO_NUMBER_OF_LOGONS . ' ' . $cInfo->number_of_logons);
$contents[] = array('text' => '<br>' . TEXT_INFO_COUNTRY . ' ' . $cInfo->countries_name);
$contents[] = array('text' => '<br>' . TEXT_INFO_NUMBER_OF_REVIEWS . ' ' . $cInfo->number_of_reviews);
}
break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
echo ' <td width="25%" valign="top">' . "\n";
$box = new box();
echo $box->infoBox($heading, $contents);
echo ' </td>' . "\n";
}
开发者ID:wrtcoder,项目名称:mini_isp,代码行数:31,代码来源:customers.php
示例10: tep_draw_separator
<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">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td width="10"><?php
echo tep_draw_separator('pixel_trans.gif', '10', '1');
?>
</td>
<td class="smallText" align="right"><?php
echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', null, 'primary');
?>
</td>
<td width="10"><?php
echo tep_draw_separator('pixel_trans.gif', '10', '1');
?>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<?php
}
?>
</table></form>
开发者ID:wrtcoder,项目名称:mini_isp,代码行数:31,代码来源:contact_us.php
示例11: array
case 'delete':
$heading[] = array('text' => '<strong>' . TEXT_HEADING_DELETE_MANUFACTURER . '</strong>');
$contents = array('form' => tep_draw_form('manufacturers', FILENAME_MANUFACTURERS, 'page=' . $HTTP_GET_VARS['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=deleteconfirm'));
$contents[] = array('text' => TEXT_DELETE_INTRO);
$contents[] = array('text' => '<br /><strong>' . $mInfo->manufacturers_name . '</strong>');
$contents[] = array('text' => '<br />' . tep_draw_checkbox_field('delete_image', '', true) . ' ' . TEXT_DELETE_IMAGE);
if ($mInfo->products_count > 0) {
$contents[] = array('text' => '<br />' . tep_draw_checkbox_field('delete_products') . ' ' . TEXT_DELETE_PRODUCTS);
$contents[] = array('text' => '<br />' . sprintf(TEXT_DELETE_WARNING_PRODUCTS, $mInfo->products_count));
}
$contents[] = array('align' => 'center', 'text' => '<br />' . tep_draw_button(IMAGE_DELETE, 'trash', null, 'primary') . tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link(FILENAME_MANUFACTURERS, 'page=' . $HTTP_GET_VARS['page'] . '&mID=' . $mInfo->manufacturers_id)));
break;
default:
if (isset($mInfo) && is_object($mInfo)) {
$heading[] = array('text' => '<strong>' . $mInfo->manufacturers_name . '</strong>');
$contents[] = array('align' => 'center', 'text' => tep_draw_button(IMAGE_EDIT, 'document', tep_href_link(FILENAME_MANUFACTURERS, 'page=' . $HTTP_GET_VARS['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=edit')) . tep_draw_button(IMAGE_DELETE, 'trash', tep_href_link(FILENAME_MANUFACTURERS, 'page=' . $HTTP_GET_VARS['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=delete')));
$contents[] = array('text' => '<br />' . TEXT_DATE_ADDED . ' ' . tep_date_short($mInfo->date_added));
if (tep_not_null($mInfo->last_modified)) {
$contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . tep_date_short($mInfo->last_modified));
}
$contents[] = array('text' => '<br />' . tep_info_image($mInfo->manufacturers_image, $mInfo->manufacturers_name));
$contents[] = array('text' => '<br />' . TEXT_PRODUCTS . ' ' . $mInfo->products_count);
}
break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
echo ' <td width="25%" valign="top">' . "\n";
$box = new box();
echo $box->infoBox($heading, $contents);
echo ' </td>' . "\n";
}
开发者ID:Sibzsolutions,项目名称:Savostore,代码行数:31,代码来源:manufacturers.php
示例12: array
$contents[] = array('text' => '<br />' . TEXT_INFO_COUNTRY_CODE_2 . '<br />' . tep_draw_input_field('countries_iso_code_2', $cInfo->countries_iso_code_2));
$contents[] = array('text' => '<br />' . TEXT_INFO_COUNTRY_CODE_3 . '<br />' . tep_draw_input_field('countries_iso_code_3', $cInfo->countries_iso_code_3));
$contents[] = array('text' => '<br />' . TEXT_INFO_ADDRESS_FORMAT . '<br />' . tep_draw_pull_down_menu('address_format_id', tep_get_address_formats(), $cInfo->address_format_id));
$contents[] = array('align' => 'center', 'text' => '<br />' . tep_draw_button(IMAGE_SAVE, 'disk', null, 'primary') . tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id)));
break;
case 'delete':
$heading[] = array('text' => '<strong>' . TEXT_INFO_HEADING_DELETE_COUNTRY . '</strong>');
$contents = array('form' => tep_draw_form('countries', FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id . '&action=deleteconfirm'));
$contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
$contents[] = array('text' => '<br /><strong>' . $cInfo->countries_name . '</strong>');
$contents[] = array('align' => 'center', 'text' => '<br />' . tep_draw_button(IMAGE_DELETE, 'trash', null, 'primary') . tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id)));
break;
default:
if (is_object($cInfo)) {
$heading[] = array('text' => '<strong>' . $cInfo->countries_name . '</strong>');
$contents[] = array('align' => 'center', 'text' => tep_draw_button(IMAGE_EDIT, 'document', tep_href_link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id . '&action=edit')) . tep_draw_button(IMAGE_DELETE, 'trash', tep_href_link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id . '&action=delete')));
$contents[] = array('text' => '<br />' . TEXT_INFO_COUNTRY_NAME . '<br />' . $cInfo->countries_name);
$contents[] = array('text' => '<br />' . TEXT_INFO_COUNTRY_CODE_2 . ' ' . $cInfo->countries_iso_code_2);
$contents[] = array('text' => '<br />' . TEXT_INFO_COUNTRY_CODE_3 . ' ' . $cInfo->countries_iso_code_3);
$contents[] = array('text' => '<br />' . TEXT_INFO_ADDRESS_FORMAT . ' ' . $cInfo->address_format_id);
}
break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
echo ' <td width="25%" valign="top">' . "\n";
$box = new box();
echo $box->infoBox($heading, $contents);
echo ' </td>' . "\n";
}
?>
</tr>
开发者ID:tiansiyuan,项目名称:oscommerce2,代码行数:31,代码来源:countries.php
示例13: tep_draw_hidden_field
echo tep_draw_hidden_field('module') . tep_hide_session_id() . '</form>';
?>
</td>
</tr>
<tr>
<td class="smallText" align="right">
<?php
echo tep_draw_form('filter', 'action_recorder.php', '', 'get');
echo tep_draw_pull_down_menu('module', $modules_list_array, null, 'onchange="this.form.submit();"');
echo tep_draw_hidden_field('search') . tep_hide_session_id() . '</form>';
?>
</td>
</tr>
</table></td>
<td class="smallText" align="right"><?php
echo tep_draw_button(IMAGE_DELETE, 'trash', tep_href_link('action_recorder.php', 'action=expire' . (isset($HTTP_GET_VARS['module']) && in_array($HTTP_GET_VARS['module'], $modules_array) ? '&module=' . $HTTP_GET_VARS['module'] : '')), 'primary');
?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="dataTableHeadingRow">
<td class="dataTableHeadingContent" width="20"> </td>
<td class="dataTableHeadingContent"><?php
echo TABLE_HEADING_MODULE;
?>
</td>
开发者ID:katapofatico,项目名称:Responsive-osCommerce,代码行数:31,代码来源:action_recorder.php
示例14: tep_draw_button
<div class="pwa_login <?php
echo MODULE_CONTENT_PWA_LOGIN_CONTENT_WIDTH == 'Half' ? 'col-sm-6' : 'col-sm-12';
?>
">
<div class="panel panel-info">
<div class="panel-body">
<h2><?php
echo MODULE_CONTENT_PWA_LOGIN_HEADING;
?>
</h2>
<p class="alert alert-info"><?php
echo MODULE_CONTENT_PWA_LOGIN_TEXT;
?>
</p>
<p class="text-right"><?php
echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', tep_href_link('account_pwa.php', '', 'SSL'), null, null, 'btn-primary btn-block');
?>
</p>
</div>
</div>
</div>
开发者ID:othreed,项目名称:osCommerce-234-bootstrap-wADDONS,代码行数:23,代码来源:pwa_login.php
示例15: tep_href_link
} else {
if (sizeof($navigation->snapshot) > 0) {
$back_link = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);
} else {
$back_link = tep_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL');
}
?>
<div class="buttonSet">
<span class="buttonAction"><?php
echo tep_draw_hidden_field('action', 'process') . tep_draw_button(IMAGE_BUTTON_CONTINUE, 'glyphicon-chevron-right', null, 'primary');
?>
</span>
<?php
echo tep_draw_button(IMAGE_BUTTON_BACK, 'glyphicon-chevron-left', $back_link);
?>
</div>
<?php
}
?>
</div>
</form>
<?php
}
?>
开发者ID:osc2nuke,项目名称:demobts,代码行数:30,代码来源:address_book_process.php
示例16: tep_draw_button
</ul></span><span class="pull-right"><?php
echo TEXT_RESULT_PAGE;
?>
</span></div>
</div>
<?php
} else {
?>
<div class="alert alert-info">
<p><?php
echo TEXT_NO_PURCHASES;
?>
</p>
</div>
<?php
}
?>
<div class="buttonSet">
<?php
echo tep_draw_button(IMAGE_BUTTON_BACK, 'fa fa-angle-left', tep_href_link(FILENAME_ACCOUNT, '', 'SSL'));
?>
</div>
</div>
<?php
require DIR_WS_INCLUDES . 'template_bottom.php';
require DIR_WS_INCLUDES . 'application_bottom.php';
开发者ID:zel777,项目名称:Responsive-osCommerce,代码行数:31,代码来源:account_history.php
示例17: tep_draw_button
</tr>
</table>
</div>
<div class="buttonSet">
<span class="buttonAction"><?php
echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', null, 'primary');
?>
</span>
</div>
</div>
</form>
<div class="noprint">
<table border="0" width="100%" cellspacing="2" cellpadding="2"><colgroup><col width=30%><col width=30%><col width=40%></colgroup>
<tr>
<td align="left"><?php
echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_draw_button(IMAGE_BUTTON_CONTINUE_SHOPPING, 'triangle-1-w', null, 'primary') . '</a>';
?>
</td>
<td align="left">
<a href="javascript:printPage()">
<?php
echo tep_image(DIR_WS_CATALOG . DIR_WS_IMAGES . 'button_print.png', "Print", '25', '25');
?>
</td>
<td></td>
</tr>
</table>
</div>
<br><?php
echo TEXT_4;
开发者ID:tapwag,项目名称:oscommerce_deutsch,代码行数:31,代码来源:widerruf_form.php
示例18: tep_draw_button
</div>
<div class="buttonSet">
<?php
if (tep_count_customer_address_book_entries() < MAX_ADDRESS_BOOK_ENTRIES) {
?>
<span class="buttonAction"><?php
echo tep_draw_button(IMAGE_BUTTON_ADD_ADDRESS, 'home', tep_href_link(FILENAME_ADDRESS_BOOK_PROCESS, '', 'SSL'), 'primary');
?>
</span>
<?php
}
?>
<?php
echo tep_draw_button(IMAGE_BUTTON_BACK, 'triangle-1-w', tep_href_link(FILENAME_ACCOUNT, '', 'SSL'));
?>
</div>
<p><?php
echo sprintf(TEXT_MAXIMUM_ENTRIES, MAX_ADDRESS_BOOK_ENTRIES);
?>
</p>
</div>
<?php
require DIR_WS_INCLUDES . 'template_bottom.php';
require DIR_WS_INCLUDES . 'application_bottom.php';
开发者ID:Sibzsolutions,项目名称:Savostore,代码行数:31,代码来源:address_book.php
示例19: confirm
function confirm()
{
global $HTTP_GET_VARS, $HTTP_POST_VARS;
$audience = array();
if (isset($HTTP_GET_VARS['global']) && $HTTP_GET_VARS['global'] == 'true') {
$products_query = tep_db_query("select distinct customers_id from " . TABLE_PRODUCTS_NOTIFICATIONS);
while ($products = tep_db_fetch_array($products_query)) {
$audience[$products['customers_id']] = '1';
}
$customers_query = tep_db_query("select customers_info_id from " . TABLE_CUSTOMERS_INFO . " where global_product_notifications = '1'");
while ($customers = tep_db_fetch_array($customers_query)) {
$audience[$customers['customers_info_id']] = '1';
}
} else {
$chosen = $HTTP_POST_VARS['chosen'];
$ids = implode(',', $chosen);
$products_query = tep_db_query("select distinct customers_id from " . TABLE_PRODUCTS_NOTIFICATIONS . " where products_id in (" . $ids . ")");
while ($products = tep_db_fetch_array($products_query)) {
$audience[$products['customers_id']] = '1';
}
$customers_query = tep_db_query("select customers_info_id from " . TABLE_CUSTOMERS_INFO . " where global_product_notifications = '1'");
while ($customers = tep_db_fetch_array($customers_query)) {
$audience[$customers['customers_info_id']] = '1';
}
}
$confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . ' <tr>' . "\n" . ' <td class="main"><font color="#ff0000"><strong>' . sprintf(TEXT_COUNT_CUSTOMERS, sizeof($audience)) . '</strong></font></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><strong>' . $this->title . '</strong></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main"><tt>' . nl2br($this->content) . '</tt></td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . tep_draw_form('confirm', FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $HTTP_GET_VARS['nID'] . '&action=confirm_send') . "\n" . ' <td class="smallText" align="right">';
if (sizeof($audience) > 0) {
if (isset($HTTP_GET_VARS['global']) && $HTTP_GET_VARS['global'] == 'true') {
$confirm_string .= tep_draw_hidden_field('global', 'true');
} else {
for ($i = 0, $n = sizeof($chosen); $i < $n; $i++) {
$confirm_string .= tep_draw_hidden_field('chosen[]', $chosen[$i]);
}
}
$confirm_string .= tep_draw_button(IMAGE_SEND, 'mail-closed', null, 'primary');
}
$confirm_string .= tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $HTTP_GET_VARS['nID'] . '&action=send')) . '</td>' . "\n" . ' </tr>' . "\n" . '</table>';
return $confirm_string;
}
开发者ID:othreed,项目名称:osCommerce-234-bootstrap-wADDONS,代码行数:39,代码来源:product_notification.php
示例20: tep_draw_button
<div class="contentContainer">
<div class="contentText">
<div class="ui-widget infoBoxContainer" style=" width: 40%; float: right; padding: 0 0 10px 10px;">
<div class="ui-widget-header infoBoxHeading"><?php
echo BOX_INFORMATION_HEADING;
?>
</div>
<div class="ui-widget-content infoBoxContents">
<?php
echo BOX_INFORMATION;
?>
</div>
</div>
<?php
echo TEXT_INFORMATION;
?>
</div>
<div class="buttonSet">
<span class="buttonAction"><?php
echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', tep_href_link(FILENAME_DEFAULT));
?>
</span>
</div>
</div>
<?php
require DIR_WS_INCLUDES . 'template_bottom.php';
require DIR_WS_INCLUDES . 'application_bottom.php';
开发者ID:Sibzsolutions,项目名称:Savostore,代码行数:31,代码来源:cookie_usage.php
注:本文中的tep_draw_button函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论