aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2005-08-18 19:28:29 +0000
committerchrisaga <chrisaga@piwigo.org>2005-08-18 19:28:29 +0000
commitb99acc760485651dc5b33c3fae75d041889ecd3f (patch)
treef41bc96aa348f700bdcbc4a0ba5c614e4794baa9 /template
parent7a8b502e11024ec407842cbd92c926529a1ee9dc (diff)
cclear template :
----------------- - category.tpl : From 1.4 to BSF - add missing icons in themes, admin/images, (from default template) - content.css git-svn-id: http://piwigo.org/svn/trunk@826 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/cclear/admin/images/errors.pngbin0 -> 3249 bytes
-rw-r--r--template/cclear/admin/images/infos.pngbin0 -> 2250 bytes
-rw-r--r--template/cclear/category.tpl96
-rw-r--r--template/cclear/categoryContent.css57
-rw-r--r--template/cclear/content.css72
-rw-r--r--template/cclear/default-layout.css4
-rw-r--r--template/cclear/theme/caddie_add.pngbin0 -> 1186 bytes
-rw-r--r--template/cclear/theme/category_children.pngbin0 -> 1554 bytes
-rw-r--r--template/cclear/theme/category_delete.pngbin0 -> 1752 bytes
-rw-r--r--template/cclear/theme/category_edit.pngbin0 -> 1606 bytes
-rw-r--r--template/cclear/theme/category_elements.pngbin0 -> 1681 bytes
-rw-r--r--template/cclear/theme/category_jump-to.pngbin0 -> 1604 bytes
-rw-r--r--template/cclear/theme/category_permissions.pngbin0 -> 1839 bytes
-rw-r--r--template/cclear/theme/category_representant_random.pngbin0 -> 3171 bytes
-rw-r--r--template/cclear/theme/delete.pngbin0 -> 778 bytes
-rw-r--r--template/cclear/theme/permissions.pngbin0 -> 729 bytes
-rw-r--r--template/cclear/theme/profile.pngbin0 -> 796 bytes
-rw-r--r--template/cclear/theme/representative.pngbin0 -> 593 bytes
18 files changed, 140 insertions, 89 deletions
diff --git a/template/cclear/admin/images/errors.png b/template/cclear/admin/images/errors.png
new file mode 100644
index 000000000..3c8a37df5
--- /dev/null
+++ b/template/cclear/admin/images/errors.png
Binary files differ
diff --git a/template/cclear/admin/images/infos.png b/template/cclear/admin/images/infos.png
new file mode 100644
index 000000000..dc8c8a457
--- /dev/null
+++ b/template/cclear/admin/images/infos.png
Binary files differ
diff --git a/template/cclear/category.tpl b/template/cclear/category.tpl
index 5bdfa7b88..5b2054acd 100644
--- a/template/cclear/category.tpl
+++ b/template/cclear/category.tpl
@@ -1,6 +1,19 @@
+<!-- $Id$ -->
<h1>PhpWebGallery demonstration site</h1>
<div id="menubar">
+<!-- BEGIN links -->
+<dl>
+ <dt>{lang:Links}</dt>
+ <dd>
+ <ul>
+ <!-- BEGIN link -->
+ <li><a href="{links.link.URL}">{links.link.LABEL}</a></li>
+ <!-- END link -->
+ </ul>
+ </dd>
+</dl>
+<!-- END links -->
<dl>
<dt><a href="{U_HOME}">{L_CATEGORIES}</a></dt>
<dd>
@@ -33,47 +46,60 @@
<dl>
<dt>{L_IDENTIFY}</dt>
<dd>
- <!-- BEGIN login -->
+ <!-- BEGIN hello -->
+ <p>{L_HELLO}&nbsp;{USERNAME}&nbsp;!</p>
+ <!-- END hello -->
<ul>
+ <!-- BEGIN register -->
<li><a href="{U_REGISTER}">{L_REGISTER}</a></li>
+ <!-- END register -->
+ <!-- BEGIN login -->
<li><a href="{F_IDENTIFY}">{L_LOGIN}</a></li>
- </ul>
- <hr>
- <form method="post" action="{F_IDENTIFY}">
- <p>
- <input type="hidden" name="redirect" value="{U_REDIRECT}">
- <label for="username">{L_USERNAME}:</label>
- <input type="text" name="username" id="username" size="15" value="">
- <p>
- <label for="password">{L_PASSWORD}:</label>
- <input type="password" name="password" id="password" size="15">
- <p>
- <!-- BEGIN remember_me -->
- <input type="checkbox" name="remember_me" id="remember_me" value="1">
- <label for="remember_me">{L_REMEMBER_ME}</label>
- <!-- END remember_me -->
- <p>
- <input type="submit" name="login" value="{L_SUBMIT}" class="bouton">
- </form>
- <!-- END login -->
- <!-- BEGIN logout -->
- <p>{L_HELLO}&nbsp;{USERNAME}&nbsp;!</p>
- <ul>
+ <!-- END login -->
+ <!-- BEGIN logout -->
<li><a href="{U_LOGOUT}">{L_LOGOUT}</a></li>
+ <!-- END logout -->
+ <!-- BEGIN profile -->
<li><a href="{U_PROFILE}" title="{L_PROFILE_HINT}">{L_PROFILE}</a></li>
+ <!-- END profile -->
<!-- BEGIN admin -->
<li><a href="{U_ADMIN}" title="{L_ADMIN_HINT}">{L_ADMIN}</a></li>
<!-- END admin -->
</ul>
- <!-- END logout -->
+ <!-- BEGIN quickconnect -->
+ <hr />
+ <form method="post" action="{F_IDENTIFY}" id="quickconnect">
+ <p>
+ <input type="hidden" name="redirect" value="{U_REDIRECT}">
+ <label for="username">{L_USERNAME}:</label>
+ <input type="text" name="username" id="username" size="15" value="">
+ </p>
+ <p>
+ <label for="password">{L_PASSWORD}:</label>
+ <input type="password" name="password" id="password" size="15">
+ </p>
+ <!-- BEGIN remember_me -->
+ <p>
+ <input type="checkbox" name="remember_me" id="remember_me" value="1">
+ <label for="remember_me">{L_REMEMBER_ME}</label>
+ </p>
+ <!-- END remember_me -->
+ <p><input type="submit" name="login" value="{L_SUBMIT}" class="bouton"></p>
+ </form>
+ <!-- END quickconnect -->
</dd>
</dl>
</div> <!-- menubar -->
-<div id="categoryContent">
-
-<h2>{TITLE}</h2>
-
+<div id="content">
+ <div class="titrePage">
+ <ul class="categoryActions">
+ <!-- BEGIN caddie -->
+ <li><a href="{U_CADDIE}" title="{lang:add to caddie}"><img src="./template/default/theme/caddie_add.png" /></a></li>
+ <!-- END caddie -->
+ </ul>
+ <h2>{TITLE}</h2>
+ </div>
<!-- BEGIN calendar -->
<div class="navigationBar">{calendar.YEARS_NAV_BAR}</div>
<div class="navigationBar">{calendar.MONTHS_NAV_BAR}</div>
@@ -85,8 +111,16 @@
<!-- BEGIN thumbnail -->
<li><span><a href="{thumbnails.line.thumbnail.U_IMG_LINK}"><img class="thumbnail" src="{thumbnails.line.thumbnail.IMAGE}"
alt="{thumbnails.line.thumbnail.IMAGE_ALT}"
- title="{thumbnails.line.thumbnail.IMAGE_TITLE}"></a><br>
- <a href="{thumbnails.line.thumbnail.U_IMG_LINK}">{thumbnails.line.thumbnail.IMAGE_NAME}</a>
+ title="{thumbnails.line.thumbnail.IMAGE_TITLE}"></a>
+ <!-- BEGIN element_name -->
+ <br />
+ <span class="thumb_picture">{thumbnails.line.thumbnail.element_name.NAME}</span>
+ <!-- END element_name -->
+ <!-- BEGIN category_name -->
+ <br />
+ <span class="thumb_category">[{thumbnails.line.thumbnail.category_name.NAME}]</span>
+ <!-- END category_name -->
+ </a>
{thumbnails.line.thumbnail.IMAGE_TS}
<br>
<!-- BEGIN nb_comments -->
@@ -110,4 +144,4 @@
<!-- END comment -->
<!-- END cat_infos -->
-</div> <!-- categoryContent -->
+</div> <!-- content -->
diff --git a/template/cclear/categoryContent.css b/template/cclear/categoryContent.css
deleted file mode 100644
index decf64f59..000000000
--- a/template/cclear/categoryContent.css
+++ /dev/null
@@ -1,57 +0,0 @@
-#categoryContent {
- margin-left: 14em;
- margin-right: 1em;
- margin-bottom: 1em; /* when it's longer than menu bar */
-}
-
-#categoryContent H2 {
- margin-bottom: 1ex;
-}
-
-#categoryContent H3 {
- margin-bottom: 1ex;
-}
-
-#categoryContent UL.thumbnails {
- margin: 0; padding: 0;
- list-style-type: none;
- text-align: center; /* eventuellement */
-}
-
-#categoryContent UL.thumbnails LI {
- display: inline;
-}
-
-#categoryContent UL.thumbnails SPAN {
- margin: 0 10px 10px 10px;
- vertical-align: top;
- width: 128px; /* FIXME */
- display:table-cell; display:inline-table; display:inline-block;
-}
-#categoryContent UL.thumbnails LI>SPAN { vertical-align: baseline; }
-#categoryContent UL.thumbnails LI IMG.thumbnail { margin-bottom: .4ex; }
-
-#categoryContent UL.thumbnails IMG.thumbnail { border: 1px solid #000000; }
-
-#categoryContent UL.thumbnails SPAN A:first-child { border: none }
-
-
-
-
-#categoryContent .navigationBar, #categoryContent .additional_info {
- margin: 10px 0;
- text-align: center;
-}
-
-#categoryContent .pageNumberSelected {
- font-style: italic;
-}
-
-#categoryContent .additional_info {
- font-size: 110%;
-}
-
-#categoryContent FORM {
- text-align: left;
-}
-
diff --git a/template/cclear/content.css b/template/cclear/content.css
new file mode 100644
index 000000000..a7468497f
--- /dev/null
+++ b/template/cclear/content.css
@@ -0,0 +1,72 @@
+/* $Id$ */
+#content {
+ margin-left: 14em;
+ margin-right: 1em;
+ margin-bottom: 1em; /* when it's longer than menu bar */
+}
+
+#content H2 {
+ margin-bottom: 1ex;
+}
+
+#content H3 {
+ margin-bottom: 1ex;
+}
+
+#content UL.thumbnails {
+ margin: 0; padding: 0;
+ list-style-type: none;
+ text-align: center; /* eventuellement */
+}
+
+#content UL.thumbnails LI {
+ display: inline;
+}
+
+#content UL.thumbnails SPAN {
+ margin: 0 10px 10px 10px;
+ vertical-align: top;
+ width: 128px; /* FIXME */
+ display:table-cell; display:inline-table; display:inline-block;
+}
+#content UL.thumbnails LI>SPAN { vertical-align: baseline; }
+#content UL.thumbnails LI IMG.thumbnail { margin-bottom: .4ex; }
+
+#content UL.thumbnails IMG.thumbnail { border: 1px solid #000000; }
+
+#content UL.thumbnails SPAN A:first-child { border: none }
+
+
+
+
+#content .navigationBar, #content .additional_info {
+ margin: 10px 0;
+ text-align: center;
+}
+
+#content .pageNumberSelected {
+ font-style: italic;
+}
+
+#content .additional_info {
+ font-size: 110%;
+}
+
+#content FORM {
+ text-align: left;
+}
+
+/* actions */
+div.titrePage ul.categoryActions {
+ float: right;
+ margin: 0;
+}
+
+ul.categoryActions>li {
+ display: inline;
+}
+
+ul.categoryActions a img, ul.categoryActions a {
+ border: none;
+}
+
diff --git a/template/cclear/default-layout.css b/template/cclear/default-layout.css
index 0038cbdc6..e921779bb 100644
--- a/template/cclear/default-layout.css
+++ b/template/cclear/default-layout.css
@@ -1,8 +1,10 @@
@import "menubar.css";
-@import "categoryContent.css";
+@import "content.css";
@import "image.css";
+/* $Id$ */
+
/* * { padding: 0 !important; margin: 0 !important; } */
BODY {
diff --git a/template/cclear/theme/caddie_add.png b/template/cclear/theme/caddie_add.png
new file mode 100644
index 000000000..eb20f4e06
--- /dev/null
+++ b/template/cclear/theme/caddie_add.png
Binary files differ
diff --git a/template/cclear/theme/category_children.png b/template/cclear/theme/category_children.png
new file mode 100644
index 000000000..7205c3f61
--- /dev/null
+++ b/template/cclear/theme/category_children.png
Binary files differ
diff --git a/template/cclear/theme/category_delete.png b/template/cclear/theme/category_delete.png
new file mode 100644
index 000000000..da796da11
--- /dev/null
+++ b/template/cclear/theme/category_delete.png
Binary files differ
diff --git a/template/cclear/theme/category_edit.png b/template/cclear/theme/category_edit.png
new file mode 100644
index 000000000..0f3b619ed
--- /dev/null
+++ b/template/cclear/theme/category_edit.png
Binary files differ
diff --git a/template/cclear/theme/category_elements.png b/template/cclear/theme/category_elements.png
new file mode 100644
index 000000000..1d367b38f
--- /dev/null
+++ b/template/cclear/theme/category_elements.png
Binary files differ
diff --git a/template/cclear/theme/category_jump-to.png b/template/cclear/theme/category_jump-to.png
new file mode 100644
index 000000000..62db1f4ee
--- /dev/null
+++ b/template/cclear/theme/category_jump-to.png
Binary files differ
diff --git a/template/cclear/theme/category_permissions.png b/template/cclear/theme/category_permissions.png
new file mode 100644
index 000000000..4780841ae
--- /dev/null
+++ b/template/cclear/theme/category_permissions.png
Binary files differ
diff --git a/template/cclear/theme/category_representant_random.png b/template/cclear/theme/category_representant_random.png
new file mode 100644
index 000000000..dfa69846f
--- /dev/null
+++ b/template/cclear/theme/category_representant_random.png
Binary files differ
diff --git a/template/cclear/theme/delete.png b/template/cclear/theme/delete.png
new file mode 100644
index 000000000..af10be03e
--- /dev/null
+++ b/template/cclear/theme/delete.png
Binary files differ
diff --git a/template/cclear/theme/permissions.png b/template/cclear/theme/permissions.png
new file mode 100644
index 000000000..33091eb85
--- /dev/null
+++ b/template/cclear/theme/permissions.png
Binary files differ
diff --git a/template/cclear/theme/profile.png b/template/cclear/theme/profile.png
new file mode 100644
index 000000000..397cd73a1
--- /dev/null
+++ b/template/cclear/theme/profile.png
Binary files differ
diff --git a/template/cclear/theme/representative.png b/template/cclear/theme/representative.png
new file mode 100644
index 000000000..971997db4
--- /dev/null
+++ b/template/cclear/theme/representative.png
Binary files differ