rename pda.css to mobile.css; updated mobile_url

This commit is contained in:
Max Pozdeev 2020-09-04 15:26:51 +03:00
parent 257486bfcd
commit 7c72aa8b5d
3 changed files with 2 additions and 2 deletions

View file

@ -165,7 +165,7 @@ function get_mttinfo($v)
case 'mobile_url':
$_mttinfo['mobile_url'] = Config::get('mobile_url');
if ($_mttinfo['mobile_url'] == '') {
$_mttinfo['mobile_url'] = get_mttinfo('url'). '?pda';
$_mttinfo['mobile_url'] = get_mttinfo('url'). '?mobile';
}
return $_mttinfo['mobile_url'];
case 'mtt_url':

View file

@ -10,7 +10,7 @@
<?php endif; ?>
<?php if(Config::get('mobile')): ?>
<meta name="viewport" id="viewport" content="width=device-width" />
<link rel="stylesheet" type="text/css" href="<?php mttinfo('template_url'); ?>pda.css?v=<?php mttinfo('version'); ?>" media="all" />
<link rel="stylesheet" type="text/css" href="<?php mttinfo('template_url'); ?>mobile.css?v=<?php mttinfo('version'); ?>" media="all" />
<?php else: ?>
<link rel="stylesheet" type="text/css" href="<?php mttinfo('template_url'); ?>print.css?v=<?php mttinfo('version'); ?>" media="print" />
<?php endif; ?>