aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2007-02-17 13:15:22 +0000
committervdigital <vdigital@piwigo.org>2007-02-17 13:15:22 +0000
commit25cd3c5f7e10561e995d1c692459567722567246 (patch)
tree2344a3494cbb1e85afba055753c0faeca4dab4a9 /plugins
parent273ea4de5cddb65c475cd1fa40e94d02fd06e427 (diff)
Some HTML changes to reach HTML 4.01 Strict!
(New): Multi view include a minimal theme. git-svn-id: http://piwigo.org/svn/trunk@1833 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins')
-rw-r--r--plugins/admin_advices/main.inc.php2
-rw-r--r--plugins/admin_multi_view/controller.php7
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>