diff options
-rw-r--r-- | plugins/MobileProfile/MobileProfilePlugin.php | 8 | ||||
-rw-r--r-- | theme/default/mobilelogo.png | bin | 0 -> 2238 bytes | |||
-rw-r--r-- | theme/identica/mobilelogo.png | bin | 0 -> 2238 bytes |
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index bc67a3f36..9f8923396 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -188,12 +188,12 @@ class MobileProfilePlugin extends WAP20Plugin header('Content-Type: '.$type); - $this->extraHeaders(); + $action->extraHeaders(); if (preg_match("/.*\/.*xml/", $type)) { // Required for XML documents - $this->xw->startDocument('1.0', 'UTF-8'); + $action->xw->startDocument('1.0', 'UTF-8'); } - $this->xw->writeDTD('html', + $action->xw->writeDTD('html', '-//WAPFORUM//DTD XHTML Mobile 1.0//EN', $this->DTD); @@ -291,7 +291,7 @@ class MobileProfilePlugin extends WAP20Plugin '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('mobilelogo.png'))) { $action->element('img', array('class' => 'photo', 'src' => (common_config('site', 'mobilelogo')) ? common_config('site', 'mobilelogo') : diff --git a/theme/default/mobilelogo.png b/theme/default/mobilelogo.png Binary files differnew file mode 100644 index 000000000..b72f7aff5 --- /dev/null +++ b/theme/default/mobilelogo.png diff --git a/theme/identica/mobilelogo.png b/theme/identica/mobilelogo.png Binary files differnew file mode 100644 index 000000000..b72f7aff5 --- /dev/null +++ b/theme/identica/mobilelogo.png |