• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP osc_draw_button函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中osc_draw_button函数的典型用法代码示例。如果您正苦于以下问题:PHP osc_draw_button函数的具体用法?PHP osc_draw_button怎么用?PHP osc_draw_button使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了osc_draw_button函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: osc_draw_button

?>
</h1>

<?php 
if ($OSCOM_MessageStack->exists()) {
    echo $OSCOM_MessageStack->get();
}
?>

<form id="liveSearchForm">
  <input type="text" id="liveSearchField" name="search" class="searchField fieldTitleAsDefault" title="Search.." /><?php 
echo osc_draw_button(array('type' => 'button', 'params' => 'onclick="osC_DataTable.reset();"', 'title' => 'Reset'));
?>

  <span style="float: right;"><?php 
echo osc_draw_button(array('href' => OSCOM::getLink(null, null, 'UpdateRates'), 'icon' => 'refresh', 'title' => OSCOM::getDef('button_update_currency_exchange_rates'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(null, null, 'Save'), 'icon' => 'plus', 'title' => OSCOM::getDef('button_insert')));
?>
</span>
</form>

<div style="padding: 20px 5px 5px 5px; height: 16px;">
  <span id="batchTotalPages"></span>
  <span id="batchPageLinks"></span>
</div>

<form name="batch" action="#" method="post">

<table border="0" width="100%" cellspacing="0" cellpadding="2" class="dataTable" id="currenciesDataTable">
  <thead>
    <tr>
      <th><?php 
开发者ID:kdexter,项目名称:oscommerce,代码行数:31,代码来源:main.php


示例2: osc_draw_input_field

?>
</label><?php 
echo osc_draw_input_field('user_name', null, 'tabindex="1"');
?>
</p>
    <p><label for="user_password"><?php 
echo OSCOM::getDef('field_password');
?>
</label><?php 
echo osc_draw_password_field('user_password', 'tabindex="2"');
?>
</p>
  </fieldset>

  <p><?php 
echo osc_draw_button(array('icon' => 'key', 'title' => OSCOM::getDef('button_login')));
?>
</p>

  </form>
</div>

<script type="text/javascript">
  $('#user_name').focus();
</script>

<?php 
if (isset($_GET['Process']) && !empty($_POST['user_name']) && !empty($_POST['user_password'])) {
    ?>

<script type="text/javascript" src="public/external/jquery/jquery.showPasswordCheckbox.js"></script>
开发者ID:hakankarar,项目名称:oscommerce,代码行数:31,代码来源:main.php


示例3: osc_draw_button

if ($admin_folder != 'admin') {
    @rename($dir_fs_document_root . 'admin', $dir_fs_document_root . $admin_folder);
}
?>

    <div class="alert alert-success">The installation of your online store was successful! Click on either button to start your online selling experience:</div>

    <br />

    <div class="row">
      <div class="col-xs-6"><?php 
echo osc_draw_button('Online Store (Frontend)', 'cart', $http_server . $http_catalog . 'index.php', 'primary', array('newwindow' => 1), 'btn-success btn-block');
?>
</div>
      <div class="col-xs-6"><?php 
echo osc_draw_button('Administration Tool (Backend)', 'locked', $http_server . $http_catalog . $admin_folder . '/index.php', 'primary', array('newwindow' => 1), 'btn-info btn-block');
?>
</div>
    </div>
  </div>
  <div class="col-xs-12 col-sm-pull-9 col-sm-3">
    <div class="panel panel-success">
      <div class="panel-heading">
        Step 4: Finished!
      </div>
      <div class="panel-body">
        <p>Congratulations on installing and configuring osCommerce Online Merchant as your online store solution!</p>
        <p>We wish you all the best with the success of your online store and welcome you to join and participate in our community.</p>
      </div>
      <div class="panel-footer">
        <p class="text-right">- <a href="http://www.oscommerce.com/Us&Team" target="_blank">The osCommerce Team</a></p>
开发者ID:atmediacom,项目名称:oscommerce2,代码行数:31,代码来源:install_4.php


示例4: in

echo OSCOM::getLink(null, null, 'BatchDelete&Process');
?>
" method="post">

  <p><?php 
echo OSCOM::getDef('introduction_batch_delete_administrators');
?>
</p>

<?php 
$Qadmins = $OSCOM_Database->query('select id, user_name from :table_administrators where id in (":id") order by user_name');
$Qadmins->bindRaw(':id', implode('", "', array_unique(array_filter(array_slice($_POST['batch'], 0, MAX_DISPLAY_SEARCH_RESULTS), 'is_numeric'))));
$Qadmins->execute();
$names_string = '';
while ($Qadmins->next()) {
    $names_string .= osc_draw_hidden_field('batch[]', $Qadmins->valueInt('id')) . '<b>' . $Qadmins->valueProtected('user_name') . '</b>, ';
}
if (!empty($names_string)) {
    $names_string = substr($names_string, 0, -2);
}
echo '<p>' . $names_string . '</p>';
?>

  <p><?php 
echo osc_draw_button(array('priority' => 'primary', 'icon' => 'trash', 'title' => OSCOM::getDef('button_delete'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel')));
?>
</p>

  </form>
</div>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:batch_delete.php


示例5: osc_draw_pull_down_menu

  <p><?php 
echo OSCOM::getDef('introduction_new_zone_entry');
?>
</p>

  <fieldset>
    <p><label for="zone_country_id"><?php 
echo OSCOM::getDef('field_country');
?>
</label><?php 
echo osc_draw_pull_down_menu('zone_country_id', $countries_array, null, 'onchange="update_zone(this.form);"');
?>
</p>
    <p><label for="zone_id"><?php 
echo OSCOM::getDef('field_zone');
?>
</label><?php 
echo osc_draw_pull_down_menu('zone_id', $zones_array);
?>
</p>
  </fieldset>

  <p><?php 
echo osc_draw_button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(null, null, 'id=' . $_GET['id']), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel')));
?>
</p>

  </form>
</div>
开发者ID:kdexter,项目名称:oscommerce,代码行数:29,代码来源:entries_new.php


示例6: osc_draw_time_zone_select_menu

    ?>
      <tr>
        <td class="inputField"><?php 
    echo 'Zeitzone<br />' . osc_draw_time_zone_select_menu('CFG_TIME_ZONE');
    ?>
</td>
        <td class="inputDescription">Zeitzone</td>
      </tr>
<?php 
}
?>

    </table>

    <p><?php 
echo osc_draw_button('Weiter', 'triangle-1-e', null, 'primary');
?>
</p>

<?php 
foreach ($HTTP_POST_VARS as $key => $value) {
    if ($key != 'x' && $key != 'y') {
        echo osc_draw_hidden_field($key, $value);
    }
}
?>

    </form>
  </div>
</div>
开发者ID:tapwag,项目名称:oscommerce_deutsch,代码行数:30,代码来源:install_3.php


示例7: osc_draw_button

?>
</h1>

<?php 
if ($OSCOM_MessageStack->exists()) {
    echo $OSCOM_MessageStack->get();
}
?>

<form id="liveSearchForm">
  <input type="text" id="liveSearchField" name="search" class="searchField fieldTitleAsDefault" title="Search.." /><?php 
echo osc_draw_button(array('type' => 'button', 'params' => 'onclick="osC_DataTable.reset();"', 'title' => 'Reset'));
?>

  <span style="float: right;"><?php 
echo osc_draw_button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'triangle-1-w', 'title' => OSCOM::getDef('button_back'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(null, null, 'ZoneSave&id=' . $_GET['id']), 'icon' => 'plus', 'title' => OSCOM::getDef('button_insert')));
?>
</span>
</form>

<div style="padding: 20px 5px 5px 5px; height: 16px;">
  <span id="batchTotalPages"></span>
  <span id="batchPageLinks"></span>
</div>

<form name="batch" action="#" method="post">

<table border="0" width="100%" cellspacing="0" cellpadding="2" class="dataTable" id="countryZonesDataTable">
  <thead>
    <tr>
      <th><?php 
开发者ID:kdexter,项目名称:oscommerce,代码行数:31,代码来源:zones.php


示例8: osc_draw_button

?>
</h1>

<?php 
if ($OSCOM_MessageStack->exists()) {
    echo $OSCOM_MessageStack->get();
}
?>

<form id="liveSearchForm">
  <input type="text" id="liveSearchField" name="search" class="searchField fieldTitleAsDefault" title="Search.." /><?php 
echo osc_draw_button(array('type' => 'button', 'params' => 'onclick="osC_DataTable.reset();"', 'title' => 'Reset'));
?>

  <span style="float: right;"><?php 
echo osc_draw_button(array('href' => OSCOM::getLink(null, null, 'PHPInfo'), 'icon' => 'info', 'title' => OSCOM::getDef('button_php_info'), 'newwindow' => true));
?>
</span>
</form>

<div style="padding: 20px 5px 5px 5px; height: 16px;">
  <span id="batchTotalPages"></span>
  <span id="batchPageLinks"></span>
</div>

<form name="batch" action="#" method="post">

<table border="0" width="100%" cellspacing="0" cellpadding="2" class="dataTable" id="serverInfoDataTable">
  <thead>
    <tr>
      <th><?php 
开发者ID:hakankarar,项目名称:oscommerce,代码行数:31,代码来源:main.php


示例9: osc_draw_button

?>
</h1>

<?php 
if ($OSCOM_MessageStack->exists()) {
    echo $OSCOM_MessageStack->get();
}
?>

<form id="liveSearchForm">
  <input type="text" id="liveSearchField" name="search" class="searchField fieldTitleAsDefault" title="Search.." /><?php 
echo osc_draw_button(array('type' => 'button', 'params' => 'onclick="osC_DataTable.reset();"', 'title' => 'Reset'));
?>

  <span style="float: right;"><?php 
echo osc_draw_button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'triangle-1-w', 'title' => OSCOM::getDef('button_back')));
?>
</span>
</form>

<div style="padding: 20px 5px 5px 5px; height: 16px;">
  <span id="batchTotalPages"></span>
  <span id="batchPageLinks"></span>
</div>

<form name="batch" action="#" method="post">

<table border="0" width="100%" cellspacing="0" cellpadding="2" class="dataTable" id="configurationDataTable">
  <thead>
    <tr>
      <th width="35%;"><?php 
开发者ID:kdexter,项目名称:oscommerce,代码行数:31,代码来源:entries.php


示例10: osc_icon

?>

<div class="infoBox">
  <h3><?php 
echo osc_icon('trash.png') . ' ' . $OSCOM_ObjectInfo->getProtected('definition_key');
?>
</h3>

  <form name="lDelete" class="dataForm" action="<?php 
echo OSCOM::getLink(null, null, 'DeleteDefinition&Process&id=' . $_GET['id'] . '&group=' . $_GET['group'] . '&dID=' . $_GET['dID']);
?>
" method="post">

  <p><?php 
echo OSCOM::getDef('introduction_delete_language_definition');
?>
</p>

  <p><?php 
echo '<b>' . $OSCOM_ObjectInfo->getProtected('definition_key') . '</b>';
?>
</p>

  <p><?php 
echo osc_draw_button(array('priority' => 'primary', 'icon' => 'trash', 'title' => OSCOM::getDef('button_delete'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(null, null, 'id=' . $_GET['id'] . '&group=' . $_GET['group']), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel')));
?>
</p>

  </form>
</div>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:definitions_delete.php


示例11: osc_draw_hidden_field

            if (is_array($value)) {
                for ($i = 0, $n = sizeof($value); $i < $n; $i++) {
                    echo osc_draw_hidden_field($key . '[]', $value[$i]);
                }
            } else {
                echo osc_draw_hidden_field($key, $value);
            }
        }
    }
    ?>

    </form>

    <p><?php 
    echo OSCOM::getDef('text_go_to_shop_after_cfg_file_is_saved');
    ?>
</p>

<?php 
}
?>

    <br />

    <p align="center"><?php 
echo osc_draw_button(array('href' => $http_server . $http_catalog . 'index.php?Shop', 'icon' => 'cart', 'title' => OSCOM::getDef('button_shop'))) . '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' . osc_draw_button(array('href' => $http_server . $http_catalog . 'index.php?Admin', 'icon' => 'gear', 'title' => OSCOM::getDef('button_admin')));
?>
</p>
  </div>
</div>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:step_3.php


示例12: osc_link_object

?>

<h1><?php 
echo $OSCOM_Template->getIcon(32) . osc_link_object(OSCOM::getLink(), $OSCOM_Template->getPageTitle());
?>
</h1>

<?php 
if ($OSCOM_MessageStack->exists()) {
    echo $OSCOM_MessageStack->get();
}
?>

<form id="liveSearchForm">
  <input type="text" id="liveSearchField" name="search" class="searchField fieldTitleAsDefault" title="Search.." /><?php 
echo osc_draw_button(array('type' => 'button', 'params' => 'onclick="osC_DataTable.reset();"', 'title' => 'Reset'));
?>
</form>

<div style="padding: 20px 5px 5px 5px; height: 16px;">
  <span id="batchTotalPages"></span>
  <span id="batchPageLinks"></span>
</div>

<form name="batch" action="#" method="post">

<table border="0" width="100%" cellspacing="0" cellpadding="2" class="dataTable" id="configurationDataTable">
  <thead>
    <tr>
      <th><?php 
echo OSCOM::getDef('table_heading_groups');
开发者ID:kdexter,项目名称:oscommerce,代码行数:31,代码来源:main.php


示例13: osc_draw_button

    ?>

    <p>The webserver environment has been verified to proceed with a successful installation and configuration of your online store.</p>

    <div id="jsOn" style="display: none;">
      <p>Please continue to start the installation procedure.</p>
      <p><?php 
    echo osc_draw_button('Start', 'triangle-1-e', 'install.php', 'primary');
    ?>
</p>
    </div>

    <div id="jsOff">
      <p>Please enable Javascript in your browser to be able to start the installation procedure.</p>
      <p><?php 
    echo osc_draw_button('Retry', 'arrowrefresh-1-e', 'index.php', 'primary');
    ?>
</p>
    </div>

<script>
$(function() {
  $('#jsOff').hide();
  $('#jsOn').show();
});
</script>

<?php 
}
?>
开发者ID:Sibzsolutions,项目名称:Savostore,代码行数:30,代码来源:index.php


示例14: foreach

    <p><label>Installed Modules:</label><ul id="modulesInstalled" class="connectedList"></ul></p>

    <p><label>Available Modules:</label><ul id="modulesAvailable" class="connectedList">

<?php 
foreach ($modules_array as $id => $title) {
    echo '<li id="' . $id . '" class="ui-state-default fg-button fg-button-icon-left" onmouseover="$(this).addClass(\'ui-state-highlight\');" onmouseout="$(this).removeClass(\'ui-state-highlight\');"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>' . $title . '</li>';
}
?>

    </ul></p>
  </fieldset>

  <p><?php 
echo osc_draw_hidden_field('modules', implode(',', $activated_modules_array), 'id="modules"') . osc_draw_hidden_field('subaction', 'confirm') . osc_draw_button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . osc_draw_button(array('href' => osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . $_GET[$osC_Template->getModule()]), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel')));
?>
</p>

  </form>
</div>

<script type="text/javascript">
  $('#modulesInstalled, #modulesAvailable').sortable({
    containment: '#containment',
    axis: 'y',
    connectWith: '.connectedList',
    update: function(event, ui) {
      $('#modules').val( $('#modulesInstalled').sortable('toArray') );
    }
  }).disableSelection();
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:30,代码来源:entries_new.php


示例15: osc_href_link_admin

?>
</h3>

  <form name="tEdit" action="<?php 
echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&tID=' . $osC_ObjectInfo->getInt('id') . '&action=save');
?>
" method="post">

  <p><?php 
echo OSCOM::getDef('introduction_edit_product_type');
?>
</p>

  <fieldset>
    <p><label for="title"><?php 
echo OSCOM::getDef('field_title');
?>
</label><?php 
echo osc_draw_input_field('title', $osC_ObjectInfo->get('title'));
?>
</p>
  </fieldset>

  <p><?php 
echo osc_draw_hidden_field('subaction', 'confirm') . osc_draw_button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . osc_draw_button(array('href' => osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel')));
?>
</p>

  </form>
</div>
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:30,代码来源:edit.php


示例16: osc_draw_button

?>
</h1>

<?php 
if ($OSCOM_MessageStack->exists()) {
    echo $OSCOM_MessageStack->get();
}
?>

<form id="liveSearchForm">
  <input type="text" id="liveSearchField" name="search" class="searchField fieldTitleAsDefault" title="Search.." /><?php 
echo osc_draw_button(array('type' => 'button', 'params' => 'onclick="osC_DataTable.reset();"', 'title' => 'Reset'));
?>

  <span style="float: right;"><?php 
echo osc_draw_button(array('href' => OSCOM::getLink(null, null, 'Import'), 'icon' => 'triangle-1-se', 'title' => OSCOM::getDef('button_import')));
?>
</span>
</form>

<div style="padding: 20px 5px 5px 5px; height: 16px;">
  <span id="batchTotalPages"></span>
  <span id="batchPageLinks"></span>
</div>

<form name="batch" action="#" method="post">

<table border="0" width="100%" cellspacing="0" cellpadding="2" class="dataTable" id="langDataTable">
  <thead>
    <tr>
      <th><?php 
开发者ID:kdexter,项目名称:oscommerce,代码行数:31,代码来源:main.php


示例17: osc_draw_button

?>
</h1>

<?php 
if ($OSCOM_MessageStack->exists()) {
    echo $OSCOM_MessageStack->get();
}
?>

<form id="liveSearchForm">
  <input type="text" id="liveSearchField" name="search" class="searchField fieldTitleAsDefault" title="Search.." /><?php 
echo osc_draw_button(array('type' => 'button', 'params' => 'onclick="osC_DataTable.reset();"', 'title' => 'Reset'));
?>

  <span style="float: right;"><?php 
echo osc_draw_button(array('href' => OSCOM::getLink(null, null, 'Delete'), 'icon' => 'trash', 'title' => OSCOM::getDef('button_delete')));
?>
</span>
</form>

<div style="padding: 20px 5px 5px 5px; height: 16px;">
  <span id="batchTotalPages"></span>
  <span id="batchPageLinks"></span>
</div>

<table border="0" width="100%" cellspacing="0" cellpadding="2" class="dataTable" id="errorLogDataTable">
  <thead>
    <tr>
      <th><?php 
echo OSCOM::getDef('table_heading_date');
?>
开发者ID:kdexter,项目名称:oscommerce,代码行数:31,代码来源:main.php


示例18: osc_draw_button

?>
</h1>

<?php 
if ($osC_MessageStack->exists($osC_Template->getModule())) {
    echo $osC_MessageStack->get($osC_Template->getModule());
}
?>

<div>
  <span style="float: left;"><form id="liveSearchForm"><input type="text" id="liveSearchField" name="search" class="searchField fieldTitleAsDefault" title="Search.." /><?php 
echo osc_draw_button(array('type' => 'button', 'params' => 'onclick="osC_DataTable.reset();"', 'title' => 'Reset'));
?>
</form></span>
  <span style="float: right;"><?php 
echo osc_draw_button(array('href' => osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), 'icon' => 'triangle-1-w', 'title' => OSCOM::getDef('button_back'))) . ' ' . osc_draw_button(array('href' => osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . $_GET[$osC_Template->getModule()] . '&action=entry_save'), 'icon' => 'plus', 'title' => OSCOM::getDef('button_insert')));
?>
</span>
</div>

<div style="clear: right; padding: 10px;"></div>

<div style="padding: 2px; height: 16px;">
  <span id="batchTotalPages"></span>
  <span id="batchPageLinks"></span>
</div>

<form name="batch" action="#" method="post">

<table border="0" width="100%" cellspacing="0" cellpadding="2" class="dataTable" id="productTypesAssignmentsDataTable">
  <thead>
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:31,代码来源:entries.php


示例19: osc_draw_input_field

        <td class="inputField"><?php 
echo 'Username<br />' . osc_draw_input_field('DB_SERVER_USERNAME', null, 'class="text"');
?>
</td>
        <td class="inputDescription">The username used to connect to the database server.</td>
      </tr>
      <tr>
        <td class="inputField"><?php 
echo 'Password<br />' . osc_draw_password_field('DB_SERVER_PASSWORD', 'class="text"');
?>
</td>
        <td class="inputDescription">The password that is used together with the username to connect to the database server.</td>
      </tr>
      <tr>
        <td class="inputField"><?php 
echo 'Database Name<br />' . osc_draw_input_field('DB_DATABASE', null, 'class="text"');
?>
</td>
        <td class="inputDescription">The name of the database to hold the data in.</td>
      </tr>
    </table>

    <p><?php 
echo osc_draw_button('Continue', 'triangle-1-e', null, 'primary');
?>
</p>

    </form>
  </div>
</div>
开发者ID:Sibzsolutions,项目名称:Savostore,代码行数:30,代码来源:install.php


示例20: array

echo OSCOM::getDef('introduction_batch_delete_tax_classes');
?>
</p>

<?php 
$check_tax_classes_flag = array();
$Qclasses = $OSCOM_Database->query('select tax_class_id, tax_class_title from :table_tax_class where tax_class_id in (":tax_class_id") order by tax_class_title');
$Qclasses->bindRaw(':tax_class_id', implode('", "', array_unique(array_filter(array_slice($_POST['batch'], 0, MAX_DISPLAY_SEARCH_RESULTS), 'is_numeric'))));
$Qclasses->execute();
$names_string = '';
while ($Qclasses->next()) {
    if (TaxClasses::hasProducts($Qclasses->valueInt('tax_class_id'))) {
        $check_tax_classes_flag[] = $Qclasses->value('tax_class_title');
    }
    $names_string .= osc_draw_hidden_field('batch[]', $Qclasses->valueInt('tax_class_id')) . '<b>' . $Qclasses->value('tax_class_title') . ' (' . sprintf(OSCOM::getDef('total_entries'), TaxClasses::getNumberOfTaxRates($Qclasses->valueInt('tax_class_id'))) . ')</b>, ';
}
if (!empty($names_string)) {
    $names_string = substr($names_string, 0, -2);
}
echo '<p>' . $names_string . '</p>';
if (empty($check_tax_classes_flag)) {
    echo '<p>' . osc_draw_button(array('priority' => 'primary', 'icon' => 'trash', 'title' => OSCOM::getDef('button_delete'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))) . '</p>';
} else {
    echo '<p><b>' . OSCOM::getDef('batch_delete_warning_tax_class_in_use') . '</b></p>' . '<p>' . implode(', ', $check_tax_classes_flag) . '</p>';
    echo '<p>' . osc_draw_button(array('href' => OSCOM::getLink(), 'icon' => 'triangle-1-w', 'title' => OSCOM::getDef('button_back'))) . '</p>';
}
?>

  </form>
</div>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:batch_delete.php



注:本文中的osc_draw_button函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP osc_draw_checkbox_field函数代码示例发布时间:2022-05-15
下一篇:
PHP osc_die函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap