aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2006-04-06 20:28:37 +0000
committerplegall <plg@piwigo.org>2006-04-06 20:28:37 +0000
commita892e6abf95a23219d76971890011646f7efeef4 (patch)
treeedb73db7a0655fad888ae8464de5525c1c4c91ef /template
parentd700a5917233fb8049589a9e0aef3d94e87fb320 (diff)
modification: "subcatify" becomes optionnal. Enabled by default, easy to
revert to previous display. git-svn-id: http://piwigo.org/svn/trunk@1132 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/yoga/index.tpl28
-rw-r--r--template/yoga/mainpage_categories.tpl27
2 files changed, 28 insertions, 27 deletions
diff --git a/template/yoga/index.tpl b/template/yoga/index.tpl
index 062a99061..35d65f6fd 100644
--- a/template/yoga/index.tpl
+++ b/template/yoga/index.tpl
@@ -231,33 +231,7 @@
</ul>
<!-- END thumbnails -->
-<!-- BEGIN categories -->
-<ul class="thumbnailCategories">
- <!-- BEGIN category -->
- <li>
- <div class="thumbnailCategory">
- <div class="illustration">
- <a href="{categories.category.URL}">
- <img src="{categories.category.SRC}"
- alt="{categories.category.ALT}"
- title="{categories.category.TITLE}">
- </a>
- </div>
- <div class="description">
- <h3>
- {categories.category.ICON}
- <a href="{categories.category.URL}">{categories.category.NAME}</a>
- </h3>
- <p>{categories.category.NB_IMAGES} {lang:pictures}</p>
- <p>{categories.category.DESCRIPTION}</p>
- </div>
- <hr class="separation" />
- </div>
- </li>
- <!-- END category -->
-</ul>
-<hr class="separation" />
-<!-- END categories -->
+{CATEGORIES}
<!-- BEGIN cat_infos -->
<!-- BEGIN navigation -->
diff --git a/template/yoga/mainpage_categories.tpl b/template/yoga/mainpage_categories.tpl
new file mode 100644
index 000000000..de0ed498e
--- /dev/null
+++ b/template/yoga/mainpage_categories.tpl
@@ -0,0 +1,27 @@
+<!-- BEGIN categories -->
+<ul class="thumbnailCategories">
+ <!-- BEGIN category -->
+ <li>
+ <div class="thumbnailCategory">
+ <div class="illustration">
+ <a href="{categories.category.URL}">
+ <img src="{categories.category.SRC}"
+ alt="{categories.category.ALT}"
+ title="{categories.category.TITLE}">
+ </a>
+ </div>
+ <div class="description">
+ <h3>
+ {categories.category.ICON}
+ <a href="{categories.category.URL}">{categories.category.NAME}</a>
+ </h3>
+ <p>{categories.category.NB_IMAGES} {lang:pictures}</p>
+ <p>{categories.category.DESCRIPTION}</p>
+ </div>
+ <hr class="separation" />
+ </div>
+ </li>
+ <!-- END category -->
+</ul>
+<hr class="separation" />
+<!-- END categories -->