|
From: <be...@us...> - 2013-09-15 13:46:30
|
Revision: 12054
http://sourceforge.net/p/xoops/svn/12054
Author: beckmi
Date: 2013-09-15 13:46:27 +0000 (Sun, 15 Sep 2013)
Log Message:
-----------
Fixing template (Cifug)
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_index.html
Modified: XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2013-09-15 02:32:35 UTC (rev 12053)
+++ XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2013-09-15 13:46:27 UTC (rev 12054)
@@ -3,6 +3,7 @@
============================
- added .jpeg extension (mamba)
- replaced ExtgalleryPhotoUploader with standard XoopsMediaUploader (mamba)
+- fix for index template (Cifug)
============================
2012-12-18: Version 1.11
Modified: XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_index.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_index.html 2013-09-15 02:32:35 UTC (rev 12053)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_index.html 2013-09-15 13:46:27 UTC (rev 12054)
@@ -1,76 +1,76 @@
-<div class="extgallery">
- <a title="<{$extgalleryName}>" href="<{xoAppUrl modules/extgallery/}>"><{$extgalleryName}></a>
-
- <table class="outer">
- <tr>
- <th><{$lang.categoriesAlbums}></th>
- <th class="txtcenter"><{$lang.nbAlbums}></th>
- <th class="txtcenter"><{$lang.nbPhotos}></th>
- </tr>
- <{foreachq item=child from=$cats}>
- <tr class="<{cycle values="even,odd"}>">
- <{if $child.cat_nb_album == 0}>
- <td colspan="2">
- <{else}>
- <td>
- <{/if}>
-
- <!-- Category/album image -->
- <{if $disp_cat_img == 1 }>
- <{if $child.cat_imgurl != "" }>
- <div class="catThumb">
- <{if $child.cat_isalbum}>
- <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$child.cat_imgurl}>" alt="<{$child.cat_name}>" title="<{$child.cat_name}>" /></a>
- <{else}>
- <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-categories.php?id=<{$child.cat_id}>"><img src="<{$child.cat_imgurl}>" alt="<{$child.cat_name}>" title="<{$child.cat_name}>" /></a>
- <{/if}>
- </div>
- <{else}>
- <{if $child.photo}>
- <div class="catThumb">
- <{if $child.cat_isalbum}>
- <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>
- <{else}>
- <a title="<{$child.cat_name}>" href="pu<{$extgalleryName}>blic-categories.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>
- <{/if}>
- </div>
- <{/if}>
- <{/if}>
- <{else}>
- <{if $child.photo}>
- <div class="catThumb">
- <{if $child.cat_isalbum}>
- <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>
- <{else}>
- <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-categories.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>
- <{/if}>
- </div>
- <{/if}>
- <{/if}>
-
- <{if $child.cat_isalbum}>
- <h2><a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><{$child.cat_name}></a></h2><br /><h3><{$child.cat_desc}></h3></td>
- <{else}>
- <h2><a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-categories.php?id=<{$child.cat_id}>"><{$child.cat_name}></a></h2><br /><h3><{$child.cat_desc}></h3></td>
- <{/if}>
- <{if $child.cat_nb_album != 0}>
- <td class="txtcenter"><{$child.cat_nb_album}></td>
- <{/if}>
- <td class="txtcenter"><{$child.cat_nb_photo}></td>
- </tr>
- <{/foreach}>
- <!--<tr class="even">
- <td><a href="user-categories.php">User categories</a><br />You can find here all user categories</td>
- </tr>-->
- </table>
-
- <{if $show_rss}>
- <div id="rss">
- <a href="<{xoAppUrl modules/extgallery/public-rss.php}>" title="<{$smarty.const._MD_EXTGALLERY_RSS}>">
- <img src="<{xoAppUrl modules/extgallery/images/feed.png}>" alt="<{$smarty.const._MD_EXTGALLERY_RSS}>" />
- </a>
- </div>
- <{/if}>
-
- <{include file='db:system_notification_select.html'}>
-</div>
+<div class="extgallery">
+ <a title="<{$extgalleryName}>" href="<{xoAppUrl modules/extgallery/}>"><{$extgalleryName}></a>
+
+ <table class="outer">
+ <tr>
+ <th><{$lang.categoriesAlbums}></th>
+ <th class="txtcenter"><{$lang.nbAlbums}></th>
+ <th class="txtcenter"><{$lang.nbPhotos}></th>
+ </tr>
+ <{foreachq item=child from=$cats}>
+ <tr class="<{cycle values="even,odd"}>">
+ <{if $child.cat_nb_album == 0}>
+ <td colspan="2">
+ <{else}>
+ <td>
+ <{/if}>
+
+ <!-- Category/album image -->
+ <{if $disp_cat_img == 1 }>
+ <{if $child.cat_imgurl != "" }>
+ <div class="catThumb">
+ <{if $child.cat_isalbum}>
+ <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$child.cat_imgurl}>" alt="<{$child.cat_name}>" title="<{$child.cat_name}>" /></a>
+ <{else}>
+ <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-categories.php?id=<{$child.cat_id}>"><img src="<{$child.cat_imgurl}>" alt="<{$child.cat_name}>" title="<{$child.cat_name}>" /></a>
+ <{/if}>
+ </div>
+ <{else}>
+ <{if $child.photo}>
+ <div class="catThumb">
+ <{if $child.cat_isalbum}>
+ <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>
+ <{else}>
+ <a title="<{$child.cat_name}>" href="<{$extgalleryName}>public-categories.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>
+ <{/if}>
+ </div>
+ <{/if}>
+ <{/if}>
+ <{else}>
+ <{if $child.photo}>
+ <div class="catThumb">
+ <{if $child.cat_isalbum}>
+ <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>
+ <{else}>
+ <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-categories.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>
+ <{/if}>
+ </div>
+ <{/if}>
+ <{/if}>
+
+ <{if $child.cat_isalbum}>
+ <h2><a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><{$child.cat_name}></a></h2><br /><h3><{$child.cat_desc}></h3></td>
+ <{else}>
+ <h2><a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-categories.php?id=<{$child.cat_id}>"><{$child.cat_name}></a></h2><br /><h3><{$child.cat_desc}></h3></td>
+ <{/if}>
+ <{if $child.cat_nb_album != 0}>
+ <td class="txtcenter"><{$child.cat_nb_album}></td>
+ <{/if}>
+ <td class="txtcenter"><{$child.cat_nb_photo}></td>
+ </tr>
+ <{/foreach}>
+ <!--<tr class="even">
+ <td><a href="user-categories.php">User categories</a><br />You can find here all user categories</td>
+ </tr>-->
+ </table>
+
+ <{if $show_rss}>
+ <div id="rss">
+ <a href="<{xoAppUrl modules/extgallery/public-rss.php}>" title="<{$smarty.const._MD_EXTGALLERY_RSS}>">
+ <img src="<{xoAppUrl modules/extgallery/images/feed.png}>" alt="<{$smarty.const._MD_EXTGALLERY_RSS}>" />
+ </a>
+ </div>
+ <{/if}>
+
+ <{include file='db:system_notification_select.html'}>
+</div>
|