mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
rename pda.css to mobile.css; updated mobile_url
This commit is contained in:
parent
257486bfcd
commit
7c72aa8b5d
3 changed files with 2 additions and 2 deletions
|
|
@ -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':
|
||||
|
|
|
|||
|
|
@ -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; ?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue