summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-19 12:37:26 -0500
committerEvan Prodromou <evan@status.net>2009-11-19 12:37:26 -0500
commit640bb39891c7e36886ff0cc3b2599e75f9c691be (patch)
tree77e568a95f8811a3d559a9ceb84249cb06da890c /plugins
parentea561b88d1364cf6408355fa2843758f5bd3c950 (diff)
parent318dd70de888513a5b0404c5eb1cdbb3c6e8e760 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MobileProfile/MobileProfilePlugin.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php
index 4bbdb3541..e39edc86c 100644
--- a/plugins/MobileProfile/MobileProfilePlugin.php
+++ b/plugins/MobileProfile/MobileProfilePlugin.php
@@ -239,7 +239,7 @@ class MobileProfilePlugin extends WAP20Plugin
return true;
}
- if (file_exists(theme_file('css/mp-screen.css'))) {
+ if (file_exists(Theme::file('css/mp-screen.css'))) {
$action->cssLink('css/mp-screen.css', null, 'screen');
} else {
$action->element('link', array('rel' => 'stylesheet',
@@ -248,7 +248,7 @@ class MobileProfilePlugin extends WAP20Plugin
'media' => 'screen'));
}
- if (file_exists(theme_file('css/mp-handheld.css'))) {
+ if (file_exists(Theme::file('css/mp-handheld.css'))) {
$action->cssLink('css/mp-handheld.css', null, 'handheld');
} else {
$action->element('link', array('rel' => 'stylesheet',
@@ -285,12 +285,12 @@ class MobileProfilePlugin extends WAP20Plugin
$action->elementStart('a', array('class' => 'url home bookmark',
'href' => common_local_url('public')));
if (common_config('site', 'mobilelogo') ||
- file_exists(theme_file('logo.png')) ||
- file_exists(theme_file('mobilelogo.gif'))) {
+ file_exists(Theme::file('logo.png')) ||
+ file_exists(Theme::file('mobilelogo.gif'))) {
$action->element('img', array('class' => 'photo',
'src' => (common_config('site', 'mobilelogo')) ? common_config('site', 'mobilelogo') :
- ((file_exists(theme_file('mobilelogo.png'))) ? (theme_path('mobilelogo.png')) : theme_path('logo.png')),
+ ((file_exists(Theme::file('mobilelogo.png'))) ? (Theme::path('mobilelogo.png')) : Theme::path('logo.png')),
'alt' => common_config('site', 'name')));
}
$action->element('span', array('class' => 'fn org'), common_config('site', 'name'));