当前位置: 首页>>代码示例>>PHP>>正文


PHP HTML::output方法代码示例

本文整理汇总了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 {
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:31,代码来源:section_addressBook.php

示例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: {
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:31,代码来源:main.php

示例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: {
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:31,代码来源:main.php

示例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 = { };
开发者ID:haraldpdl,项目名称:oscommerce,代码行数:30,代码来源:section_variants.php

示例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;
 }
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:22,代码来源:OSCOM.php

示例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');
开发者ID:haraldpdl,项目名称:oscommerce,代码行数:30,代码来源:main.php

示例7:

        actions += '&nbsp;<a href="#" onclick="$(\'#dialogUninstallConfirm\').data(\'code\', \'' + record.code + '\').dialog(\'open\'); return false;">' + smUninstallLinkIcon + '</a>';
      } else {
        actions += '&nbsp;<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: {
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:31,代码来源:main.php

示例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;
 }
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:22,代码来源:MessageStack.php

示例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: {
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:31,代码来源:main.php

示例10: testOutputWithAmpersand

 public function testOutputWithAmpersand()
 {
     $this->assertEquals('test&quot;string &amp;', HTML::output(' test"string & ', array('&' => '&amp;', '"' => '&quot;')));
 }
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:4,代码来源:HTMLTest.php


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