[+] BO: add posibility to set a Mobile Header logo
This commit is contained in:
@@ -127,6 +127,14 @@ class AdminThemesControllerCore extends AdminController
|
||||
'type' => 'file',
|
||||
'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(
|
||||
'title' => $this->l('Mail logo'),
|
||||
'desc' =>
|
||||
|
||||
Reference in New Issue
Block a user