diff options
Diffstat (limited to '')
-rw-r--r-- | plugins/admin_advices/main.inc.php | 2 | ||||
-rw-r--r-- | plugins/admin_multi_view/controller.php | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/plugins/admin_advices/main.inc.php b/plugins/admin_advices/main.inc.php index b720ecfa9..6b6445a65 100644 --- a/plugins/admin_advices/main.inc.php +++ b/plugins/admin_advices/main.inc.php @@ -19,7 +19,7 @@ function set_admin_advice_add_css() 'head_element',
array(
'CONTENT' => '<link rel="stylesheet" type="text/css" '
- . 'href="'.PHPWG_PLUGINS_PATH.'admin_advices/default-layout.css" />',
+ . 'href="'.PHPWG_PLUGINS_PATH.'admin_advices/default-layout.css">',
)
);
add_event_handler('loc_begin_page_tail', 'set_admin_advice' );
diff --git a/plugins/admin_multi_view/controller.php b/plugins/admin_multi_view/controller.php index a4566ed69..ee4dec452 100644 --- a/plugins/admin_multi_view/controller.php +++ b/plugins/admin_multi_view/controller.php @@ -44,6 +44,7 @@ if ( isset($_GET['lang']) ) } $my_url = get_root_url().'plugins/'.basename(dirname(__FILE__)).'/'.basename(__FILE__); +$my_theme = get_root_url().'template/'.$user['template'].'/theme/'.$user['theme'].'/theme.css'; $themes_html='Theme: <select onchange="document.location = this.options[this.selectedIndex].value;">'; foreach (get_pwg_themes() as $pwg_template) @@ -76,7 +77,9 @@ $lang_html .= '</select>'; <head> <title>Controller</title> </head> - +<link rel="stylesheet" type="text/css" href="<?php +echo $my_theme; +?>"> <body> <script type="text/javascript"> @@ -110,4 +113,4 @@ window.opener.location = window.opener.location;'; </body> -</html>
\ No newline at end of file +</html> |