本文整理汇总了PHP中osCommerce\OM\Core\HTML::output方法的典型用法代码示例。如果您正苦于以下问题:PHP HTML::output方法的具体用法?PHP HTML::output怎么用?PHP HTML::output使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类osCommerce\OM\Core\HTML
的用法示例。
在下文中一共展示了HTML::output方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</p>
</div>
<div id="dialogDeleteNewAddress" title="<?php
echo HTML::output(OSCOM::getDef('dialog_delete_new_address_title'));
?>
">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><?php
echo OSCOM::getDef('dialog_delete_new_address_desc');
?>
</p>
</div>
<div id="dialogDeleteDefaultAddress" title="<?php
echo HTML::output(OSCOM::getDef('dialog_delete_default_address_title'));
?>
">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><?php
echo OSCOM::getDef('dialog_delete_default_address_desc');
?>
</p>
</div>
<div id="addressBookForm" style="display: none;">
<div class="infoBox">
<?php
if ($new_customer) {
echo '<h3>' . HTML::icon('new.png') . ' ' . OSCOM::getDef('action_heading_new_customer') . '</h3>';
} else {
示例2:
}
});
</script>
<div id="dialogDeleteConfirm" title="<?php
echo HTML::output(OSCOM::getDef('dialog_delete_category_title'));
?>
">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><?php
echo OSCOM::getDef('dialog_delete_category_desc');
?>
</p>
</div>
<div id="dialogBatchDeleteConfirm" title="<?php
echo HTML::output(OSCOM::getDef('dialog_batch_delete_category_title'));
?>
">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><?php
echo OSCOM::getDef('dialog_batch_delete_category_desc');
?>
</p>
</div>
<script>
$(function() {
$('#dialogDeleteConfirm').dialog({
autoOpen: false,
resizable: false,
modal: true,
buttons: {
示例3:
}
}
</script>
<div id="dialogDeleteConfirm" title="<?php
echo HTML::output(OSCOM::getDef('dialog_delete_customer_title'));
?>
">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><?php
echo OSCOM::getDef('dialog_delete_customer_desc');
?>
</p>
</div>
<div id="dialogBatchDeleteConfirm" title="<?php
echo HTML::output(OSCOM::getDef('dialog_batch_delete_customer_title'));
?>
">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><?php
echo OSCOM::getDef('dialog_batch_delete_customer_desc');
?>
</p>
</div>
<script type="text/javascript">
$(function() {
$('#dialogDeleteConfirm').dialog({
autoOpen: false,
resizable: false,
modal: true,
buttons: {
示例4:
<p id="variantSubmitButtonsNew"><?php echo HTML::button(array('type' => 'button', 'params' => 'onclick="processVariantForm();"', 'priority' => 'primary', 'icon' => 'plus', 'title' => OSCOM::getDef('button_add'))) . ' ' . HTML::button(array('type' => 'button', 'params' => 'onclick="closeVariantForm();"', 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?></p>
<p id="variantSubmitButtonsEdit"><?php echo HTML::button(array('type' => 'button', 'params' => 'data-vButtonType="henrysBucket"', 'priority' => 'primary', 'icon' => 'arrowrefresh-1-n', 'title' => OSCOM::getDef('button_update'))) . ' ' . HTML::button(array('type' => 'button', 'params' => 'onclick="closeVariantForm();"', 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?></p>
</div>
</div>
</div>
<div id="dialogDeleteVariant" title="<?php echo HTML::output(OSCOM::getDef('dialog_delete_variant_title')); ?>">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><?php echo OSCOM::getDef('dialog_delete_variant_desc'); ?></p>
</div>
<div id="dialogDeleteNewVariant" title="<?php echo HTML::output(OSCOM::getDef('dialog_delete_new_variant_title')); ?>">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><?php echo OSCOM::getDef('dialog_delete_new_variant_desc'); ?></p>
</div>
<div id="dialogDeleteDefaultVariant" title="<?php echo HTML::output(OSCOM::getDef('dialog_delete_default_variant_title')); ?>">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><?php echo OSCOM::getDef('dialog_delete_default_variant_desc'); ?></p>
</div>
<script>
var edit_icon = '<?php echo HTML::icon('edit.png'); ?>';
var trash_icon = '<?php echo HTML::icon('trash.png'); ?>';
var undo_icon = '<?php echo HTML::icon('undo.png'); ?>';
var defaultVariantMarker = ' <span id="defaultVariantMarker">(default)</span>';
var defaultWeightClass = <?php echo SHIPPING_WEIGHT_UNIT; ?>;
var variant_combos = <?php echo json_encode($vg); ?>;
var v = $.parseJSON($('#assigned_variants').val());
var delete_variant_combos = { };
示例5: getPublicSiteLink
/**
* Return an internal URL address for public objects.
*
* @param string $url The object location from the public/sites/SITE/ directory.
* @param string $parameters Parameters to add to the link. Example: key1=value1&key2=value2
* @param string $site Get a public link from a specific Site
* @return string The URL address.
*/
public static function getPublicSiteLink($url, $parameters = null, $site = null)
{
if (!isset($site)) {
$site = static::getSite();
}
$link = 'public/sites/' . $site . '/' . $url;
if (!empty($parameters)) {
$link .= '?' . HTML::output($parameters);
}
while (substr($link, -1) == '&' || substr($link, -1) == '?') {
$link = substr($link, 0, -1);
}
return $link;
}
示例6: function
$('#row' + record.code).hover( function() { $(this).addClass('mouseOver'); }, function() { $(this).removeClass('mouseOver'); }).css('cursor', 'pointer');
var newCell = newRow.insertCell(0);
newCell.innerHTML = htmlSpecialChars(record.title);
newCell = newRow.insertCell(1);
newCell.innerHTML = '<a href="#" onclick="$(\'#dialogUninstallConfirm\').data(\'code\', \'' + record.code + '\').dialog(\'open\'); return false;">' + paUninstallLinkIcon + '</a>';
newCell.align = 'right';
rowCounter++;
}
}
</script>
<div id="dialogUninstallConfirm" title="<?php echo HTML::output(OSCOM::getDef('dialog_uninstall_product_attribute_title')); ?>">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><?php echo OSCOM::getDef('dialog_uninstall_product_attribute_desc'); ?></p>
</div>
<script>
$(function() {
$('#dialogUninstallConfirm').dialog({
autoOpen: false,
resizable: false,
modal: true,
buttons: {
'<?php echo addslashes(OSCOM::getDef('button_uninstall')); ?>': function() {
window.location.href='<?php echo OSCOM::getLink(null, null, 'Uninstall&Process&code=PACODE'); ?>'.replace('PACODE', $(this).data('code'));
},
'<?php echo addslashes(OSCOM::getDef('button_cancel')); ?>': function() {
$(this).dialog('close');
示例7:
actions += ' <a href="#" onclick="$(\'#dialogUninstallConfirm\').data(\'code\', \'' + record.code + '\').dialog(\'open\'); return false;">' + smUninstallLinkIcon + '</a>';
} else {
actions += ' <span style="padding: 8px;"></span>';
}
newCell = newRow.insertCell(1);
newCell.innerHTML = actions;
newCell.align = 'right';
rowCounter++;
}
}
</script>
<div id="dialogUninstallConfirm" title="<?php
echo HTML::output(OSCOM::getDef('dialog_uninstall_module_title'));
?>
">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><?php
echo OSCOM::getDef('dialog_uninstall_module_desc');
?>
</p>
</div>
<script>
$(function() {
$('#dialogUninstallConfirm').dialog({
autoOpen: false,
resizable: false,
modal: true,
buttons: {
示例8: getRaw
/**
* Get the messages belonging to a group. The messages are separated by a new
* line character.
*
* @param string $group The name of the group to get the messages from
* @since v3.0.0
*/
public function getRaw($group = null)
{
if (!isset($group)) {
$group = OSCOM::getSiteApplication();
}
$result = false;
if ($this->exists($group)) {
$result = '';
foreach ($this->_data[$group] as $message) {
$result .= HTML::output($message['text']) . "\n";
}
unset($this->_data[$group]);
}
return $result;
}
示例9: htmlSpecialChars
}).css('cursor', 'pointer');
var newCell = newRow.insertCell(0);
newCell.innerHTML = htmlSpecialChars(record.date);
newCell.style.whiteSpace = 'nowrap';
newCell = newRow.insertCell(1);
newCell.innerHTML = htmlSpecialChars(record.message);
rowCounter++;
}
}
</script>
<div id="dialogDeleteConfirm" title="<?php
echo HTML::output(OSCOM::getDef('dialog_delete_error_log_title'));
?>
">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><?php
echo OSCOM::getDef('dialog_delete_error_log_desc');
?>
</p>
</div>
<script type="text/javascript">
$(function() {
$('#dialogDeleteConfirm').dialog({
autoOpen: false,
resizable: false,
modal: true,
buttons: {
示例10: testOutputWithAmpersand
public function testOutputWithAmpersand()
{
$this->assertEquals('test"string &', HTML::output(' test"string & ', array('&' => '&', '"' => '"')));
}