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


PHP AdminTab::displayOptionsList方法代码示例

本文整理汇总了PHP中AdminTab::displayOptionsList方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminTab::displayOptionsList方法的具体用法?PHP AdminTab::displayOptionsList怎么用?PHP AdminTab::displayOptionsList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在AdminTab的用法示例。


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

示例1: displayOptionsList

    public function displayOptionsList()
    {
        global $currentIndex;
        parent::displayOptionsList();
        echo '<br /><br />
		<form action="' . $currentIndex . '&token=' . $this->token . '" method="post" class="width3">
			<fieldset>
			<legend><img src="../img/admin/exchangesrate.gif" />' . $this->l('Currency rates') . '</legend>
			<label>' . $this->l('Update currencies rates:') . '</label>
				<div class="margin-form">
					<p>' . $this->l('Update your currencies exchanges rates with a real-time tool') . '</p>
				</div>
				<div class="margin-form">
					<input type="submit" value="' . $this->l('Update  currencies rates') . '" name="submitExchangesRates" class="button" />
				</div>
			</fieldset>
		</form>';
    }
开发者ID:sealence,项目名称:local,代码行数:18,代码来源:AdminCurrencies.php

示例2: displayOptionsList

    public function displayOptionsList()
    {
        global $currentIndex;
        $dir = explode(DIRECTORY_SEPARATOR, dirname(__FILE__));
        for ($i = 0; $i < 2; ++$i) {
            $adminDir = array_pop($dir);
        }
        parent::displayOptionsList();
        echo '<br /><br />
		<form action="' . $currentIndex . '&token=' . $this->token . '" method="post">
			<fieldset>
			<legend><img src="../img/admin/exchangesrate.gif" />' . $this->l('Currency rates') . '</legend>
			<label>' . $this->l('Update currency rates') . '</label>
				<div class="margin-form">
					<p>' . $this->l('Update your currencies exchanges rates with a real-time tool') . '</p>
				</div>
				<div class="margin-form">
					<input type="submit" value="' . $this->l('Update currency rates') . '" name="submitExchangesRates" class="button" />
				</div>
			</fieldset>
		</form>';
        echo '<br /></br />
		<fieldset>
			<legend><img src="../img/admin/tab-tools.gif" />' . $this->l('Currency rates update') . '</legend>
			<p>' . $this->l('Place this URL in crontab or call it manually daily') . ':<br />
			<b>' . Tools::getShopDomain(true, true) . __PS_BASE_URI__ . $adminDir . '/cron_currency_rates.php?secure_key=' . md5(_COOKIE_KEY_ . Configuration::get('PS_SHOP_NAME')) . '</b></p>
		</fieldset>';
    }
开发者ID:nicolasjeol,项目名称:hec-ecommerce,代码行数:28,代码来源:AdminCurrencies.php

示例3: displayOptionsList

 public function displayOptionsList()
 {
     parent::displayOptionsList();
     echo '<br /><p><img src="../img/admin/asterisk.gif" class="middle" /> ' . $this->l('You can also replace the icon representing your store in Google Maps. Go to the Preferences tab, and then the Appearance subtab.') . '</p>';
 }
开发者ID:priyankajsr19,项目名称:indusdiva2,代码行数:5,代码来源:AdminStores.php


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