本文整理汇总了PHP中osc_draw_button函数的典型用法代码示例。如果您正苦于以下问题:PHP osc_draw_button函数的具体用法?PHP osc_draw_button怎么用?PHP osc_draw_button使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了osc_draw_button函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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
示例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>
示例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>
示例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>
示例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>
示例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>
示例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
示例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
示例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
示例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>
示例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'))) . ' ' . osc_draw_button(array('href' => $http_server . $http_catalog . 'index.php?Admin', 'icon' => 'gear', 'title' => OSCOM::getDef('button_admin')));
?>
</p>
</div>
</div>
示例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');
示例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
}
?>
示例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();
示例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>