aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--plugins/admin_advices/main.inc.php2
-rw-r--r--plugins/admin_multi_view/controller.php7
-rw-r--r--template/yoga/admin/ws_checker.tpl22
-rw-r--r--template/yoga/profile_content.tpl2
4 files changed, 18 insertions, 15 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>
diff --git a/template/yoga/admin/ws_checker.tpl b/template/yoga/admin/ws_checker.tpl
index 3cd379877..d4365155f 100644
--- a/template/yoga/admin/ws_checker.tpl
+++ b/template/yoga/admin/ws_checker.tpl
@@ -126,7 +126,7 @@
<br />
</td>
<td>
- <textarea name="add_comment" id="add_comment" maxlength="255"
+ <textarea name="add_comment" id="add_comment"
rows="4" cols="80">{lang:Comment to identify your partner clearly}</textarea>
</td>
</tr>
@@ -148,12 +148,12 @@
<!-- BEGIN acc_list -->
<!-- Access list -->
<form method="post" name="preferences" action="{F_STATUS_ACTION}">
- <input type="hidden" name="partner_prev" value="{F_PREV_PARTNER}" />
- <input type="hidden" name="request_prev" value="{F_PREV_REQUEST}" />
- <input type="hidden" name="high_prev" value="{F_PREV_HIGH}" />
- <input type="hidden" name="normal_prev" value="{F_PREV_NORMAL}" />
- <input type="hidden" name="order_prev" value="{F_PREV_ORDER}" />
- <input type="hidden" name="dir5n_prev" value="{F_PREV_DIR5N}" />
+ <input type="hidden" name="partner_prev" value="{F_PREV_PARTNER}">
+ <input type="hidden" name="request_prev" value="{F_PREV_REQUEST}">
+ <input type="hidden" name="high_prev" value="{F_PREV_HIGH}">
+ <input type="hidden" name="normal_prev" value="{F_PREV_NORMAL}">
+ <input type="hidden" name="order_prev" value="{F_PREV_ORDER}">
+ <input type="hidden" name="dir5n_prev" value="{F_PREV_DIR5N}">
<!-- Delete / Update Selected -->
<fieldset>
<legend>{lang:ws_update_legend}</legend>
@@ -171,7 +171,7 @@
<tr class="{acc_list.access.CLASS}">
<td>
<input type="radio" name="selection"
- value="{acc_list.access.ID}" id="selection-{acc_list.access.ID}" />
+ value="{acc_list.access.ID}" id="selection-{acc_list.access.ID}">
</td>
<td><label for="selection-{acc_list.access.ID}">{acc_list.access.NAME}</label></td>
<td>{acc_list.access.TARGET}</td>
@@ -190,9 +190,9 @@
</td>
<td>
<input type="radio" name="delete_confirmation"
- value="true" />
+ value="true">
<input class="submit" type="submit" name="wsX_submit" style="width: 10em; padding-top: 3px;"
- value="{lang:Delete}" {TAG_INPUT_ENABLED}/>
+ value="{lang:Delete}" {TAG_INPUT_ENABLED}>
</td>
</tr>
</table>
@@ -213,7 +213,7 @@
<!-- END upd_end -->
</select>
<input class="submit" type="submit" name="wsu_submit" style="width: 10em; padding-top: 3px;"
- value="{lang:Submit}" {TAG_INPUT_ENABLED}/>
+ value="{lang:Submit}" {TAG_INPUT_ENABLED}>
</td>
<td>
<i><small> ({lang:Web Services availability duration in days})</small></i>
diff --git a/template/yoga/profile_content.tpl b/template/yoga/profile_content.tpl
index c62bca8c9..bebddcb12 100644
--- a/template/yoga/profile_content.tpl
+++ b/template/yoga/profile_content.tpl
@@ -112,7 +112,7 @@
<p class="bottomButtons">
<input class="submit" type="submit" name="validate" value="{lang:submit}">
- <input class="submit" type="reset" name="reset" value="{lang:reset}" class="reset">
+ <input class="submit" type="reset" name="reset" value="{lang:reset}">
</p>
</form>