本文整理汇总了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>';
}
示例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>';
}
示例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>';
}