[+] BO: add posibility to set a Mobile Header logo

This commit is contained in:
PrestaEdit committed 2012-11-28 01:10:42 +01:00
1 parent f5d4fbccfd
commit 2a65bab40e
1 file changed
+8
@@ -127,6 +127,14 @@ class AdminThemesControllerCore extends AdminController
'type' => 'file', 'type' => 'file',
'thumb' => _PS_IMG_.Configuration::get('PS_LOGO').'?date='.time() 'thumb' => _PS_IMG_.Configuration::get('PS_LOGO').'?date='.time()
), ),
'PS_LOGO_MOBILE' => array(
'title' => $this->l('Mobile Header logo'),
'desc' =>
((Configuration::get('PS_LOGO_MOBILE') === false) ? '<span class="light-warning">'.$this->l('Warning: No mobile logo defined, the header logo is used instead.').'</span><br />' : '').
$this->l('Will appear on mobile main page. If undefined, the Header logo will be used'),
'type' => 'file',
'thumb' => (Configuration::get('PS_LOGO_MOBILE') !== false && file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO_MOBILE'))) ? _PS_IMG_.Configuration::get('PS_LOGO_MOBILE').'?date='.time() : _PS_IMG_.Configuration::get('PS_LOGO').'?date='.time()
),
'PS_LOGO_MAIL' => array( 'PS_LOGO_MAIL' => array(
'title' => $this->l('Mail logo'), 'title' => $this->l('Mail logo'),
'desc' => 'desc' =>