We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit a7bed6f7 authored by Sarven Capadisli's avatar Sarven Capadisli

Added custom showHead

parent de2c4e36
......@@ -158,6 +158,20 @@ class MobileProfilePlugin extends WAP20Plugin
}
function onStartShowHeadElements($action) {
if (!$action->serveMobile) {
return true;
}
$action->showTitle();
$action->showShortcutIcon();
$action->showStylesheets();
$action->showFeeds();
$action->showDescription();
$action->extraHead();
}
function onStartShowStatusNetStyles($action) {
if (file_exists(theme_file('css/mp-screen.css'))) {
$action->cssLink('css/mp-screen.css', null, 'screen');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment