aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-04-22 09:13:18 +0000
committerchrisaga <chrisaga@piwigo.org>2006-04-22 09:13:18 +0000
commitfee818cc49931e95004688ee7899d71c85c6a9c2 (patch)
tree7f3abdc771fe46f4a5728aebd52dfe9fc2429029 /template
parent8fff5ceb05901d007de0abd14cb350528b6b4d54 (diff)
- merge trunk r1252:1253 into branch 1.6 (template)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1254 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/yoga/content.css4
-rw-r--r--template/yoga/default-layout.css4
-rw-r--r--template/yoga/image.css3
-rw-r--r--template/yoga/month_calendar.tpl9
-rw-r--r--template/yoga/search.tpl25
5 files changed, 11 insertions, 34 deletions
diff --git a/template/yoga/content.css b/template/yoga/content.css
index 67019a3ac..f76847f25 100644
--- a/template/yoga/content.css
+++ b/template/yoga/content.css
@@ -188,10 +188,6 @@ SPAN.filename:after {
content: "]";
}
-TABLE.thumbnail {
- margin-left: auto;
- margin-right: auto;
-}
TD.thumbnail label {
position: relative;
}
diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css
index c6c8a8fff..413f28181 100644
--- a/template/yoga/default-layout.css
+++ b/template/yoga/default-layout.css
@@ -53,6 +53,10 @@ HR.separation {
/** General defaults **/
INPUT {margin: 0;}
ul, dl, li { text-align: left;}
+TABLE { /* horizontaly centered */
+ margin-left: auto;
+ margin-right: auto;
+}
/* for debugging purpose */
pre { text-align:left; }
diff --git a/template/yoga/image.css b/template/yoga/image.css
index 0d242a1bd..3064ee46a 100644
--- a/template/yoga/image.css
+++ b/template/yoga/image.css
@@ -91,9 +91,6 @@ de l'image...
margin-left: 10px;
}
-TABLE.infoTable {
- margin: auto;
-}
TABLE.infoTable .value {
text-align: left;
}
diff --git a/template/yoga/month_calendar.tpl b/template/yoga/month_calendar.tpl
index cd3586a23..9e1e4fb2f 100644
--- a/template/yoga/month_calendar.tpl
+++ b/template/yoga/month_calendar.tpl
@@ -1,4 +1,5 @@
<!-- BEGIN calendar -->
+<!-- $Id:$ -->
<!-- BEGIN thumbnails -->
<style type="text/css">
<!--
@@ -13,13 +14,13 @@ DIV.calImg
height: {calendar.thumbnails.HEIGHT}px;
}
//--></style>
-<table class="calMonth" align="center" cellpadding="1">
+<table class="calMonth">
<!-- BEGIN head -->
- <thead>
+ <thead><tr>
<!-- BEGIN col -->
- <td class="calDayHead">{calendar.thumbnails.head.col.LABEL}</td>
+ <td class="calDayHead">{calendar.thumbnails.head.col.LABEL}</td>
<!-- END col -->
- </thead>
+ </tr></thead>
<!-- END head -->
<!-- BEGIN row -->
<tr>
diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl
index 0531bcb35..c43305c17 100644
--- a/template/yoga/search.tpl
+++ b/template/yoga/search.tpl
@@ -1,3 +1,4 @@
+<!-- $Id$ -->
<div id="content">
<div class="titrePage">
@@ -19,7 +20,7 @@
</ul>
</div>
<!-- END errors -->
-<table width="100%" align="center" cellpadding="2">
+<table width="100%" cellpadding="2">
<tr>
<td width="50%" colspan="2"><b>{lang:search_keywords} : </b>
<td colspan="2" valign="top">
@@ -116,28 +117,6 @@
<input type="radio" name="sd" value="d" checked="checked" />{lang:search_descending}
</td>
</tr>
-<!-- <tr>
- <td width="25%" nowrap="nowrap"><b>{L_SEARCH_WITHIN} : </b></td>
- <td width="25%" nowrap="nowrap">
- <input type="radio" name="search_fields" value="all" checked="checked" />{L_SEARCH_ALL}<br />
- <input type="radio" name="search_fields" value="imgonly" />{L_SEARCH_IMG_ONLY}<br />
- <input type="radio" name="search_fields" value="commentsonly" />{L_SEARCH_COMMENTS_ONLY}
- </td>
- </tr>
- <tr>
- <td><b>{lang:search_sort} : </b></td>
- <td nowrap="nowrap">
- {S_SELECT_SORT_KEY}<br />
- <input type="radio" name="sd" value="a" />{lang:search_ascending}<br />
- <input type="radio" name="sd" value="d" checked="checked" />{lang:search_descending}
- </td>
- <td nowrap="nowrap"><b>{L_DISPLAY_RESULTS} : </b></td>
- <td nowrap="nowrap">
- <input type="radio" name="show_results" value="images" checked="checked" />{L_IMAGES}&nbsp;&nbsp;
- <input type="radio" name="show_results" value="comments" /> {L_COMMENTS}
- </td>
- </tr>
- -->
<tr>
<td align="center" valign="bottom" colspan="4" height="38">
<input type="submit" name="submit" value="{lang:submit}" class="bouton" />&nbsp;&nbsp;