// Some bootstrap changes in controllers

This commit is contained in:
Jerome Nadaud
2013-11-20 18:44:20 +01:00
parent c2e3e1295c
commit a536833f52
3 changed files with 3 additions and 3 deletions
@@ -64,7 +64,7 @@ class AdminCurrenciesControllerCore extends AdminController
'title' => $this->l('Automatically update currency rates'), 'title' => $this->l('Automatically update currency rates'),
'image' => '../img/admin/tab-tools.gif', 'image' => '../img/admin/tab-tools.gif',
'info' => '<div class="alert alert-block"><p>'.$this->l('Use PrestaShop\'s webservice to update your currency exchange rates. Please use caution, rates are provided as-is. You can place this URL in the crontab,or access it manually.').':</p> 'info' => '<div class="alert alert-block"><p>'.$this->l('Use PrestaShop\'s webservice to update your currency exchange rates. Please use caution, rates are provided as-is. You can place this URL in the crontab,or access it manually.').':</p>
<p><strong>'.Tools::getShopDomain(true, true).__PS_BASE_URI__.basename(_PS_ADMIN_DIR_).'/cron_currency_rates.php?secure_key='.md5(_COOKIE_KEY_.Configuration::get('PS_SHOP_NAME')).'</strong></p></div>', <p><strong><a href="'.Tools::getShopDomain(true, true).__PS_BASE_URI__.basename(_PS_ADMIN_DIR_).'/cron_currency_rates.php?secure_key='.md5(_COOKIE_KEY_.Configuration::get('PS_SHOP_NAME')).'" onclick="return !window.open($(this).attr(\'href\'));">'.Tools::getShopDomain(true, true).__PS_BASE_URI__.basename(_PS_ADMIN_DIR_).'/cron_currency_rates.php?secure_key='.md5(_COOKIE_KEY_.Configuration::get('PS_SHOP_NAME')).'</a></strong></p></div>',
) )
); );
@@ -78,7 +78,7 @@ class AdminDashboardControllerCore extends AdminController
{ {
$form['icon'] = 'tab-preferences'; $form['icon'] = 'tab-preferences';
$form['fields'] = array(); $form['fields'] = array();
$form['submit'] = array('title' => $this->l('Save'), 'class' => 'button'); $form['submit'] = array('title' => $this->l('Save'), 'class' => 'btn btn-default');
} }
foreach ($modules as $module) foreach ($modules as $module)
@@ -68,6 +68,6 @@
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
<input class="btn btn-default" name="submitDashGoals" type="submit" value="{l s='Save' mod='dashgoals'}" /> <button class="btn btn-default" name="submitDashGoals" type="submit"><i class="icon-save"></i> {l s='Save' mod='dashgoals'}</button>
</form> </form>
</section> </section>