|
From: <luc...@us...> - 2013-09-29 21:10:54
|
Revision: 12108
http://sourceforge.net/p/xoops/svn/12108
Author: luciorota
Date: 2013-09-29 21:10:51 +0000 (Sun, 29 Sep 2013)
Log Message:
-----------
add categories ID column to categories list in /admin/categories.php
Modified Paths:
--------------
XoopsModules/wfdownloads/trunk/wfdownloads/language/english/admin.php
XoopsModules/wfdownloads/trunk/wfdownloads/templates/admin/wfdownloads_admin_categorieslist.html
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/language/english/admin.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/language/english/admin.php 2013-09-29 12:56:30 UTC (rev 12107)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/language/english/admin.php 2013-09-29 21:10:51 UTC (rev 12108)
@@ -670,3 +670,6 @@
define("_AM_WFDOWNLOADS_CLONE_CONGRAT","Congratulations! %s was sucessfully created!<br />You may want to make changes in language files.");
define("_AM_WFDOWNLOADS_CLONE_IMAGEFAIL","Atention, we failed creating the new module logo. Please consider modifying images/module_logo.png manually!");
define("_AM_WFDOWNLOADS_CLONE_FAIL","Sorry, we failed in creating the new clone. Maybe you need to temporally set write permissions (CHMOD 777) to 'modules' folder and try again.");
+
+// admin/categories.php
+define("_AM_WFDOWNLOADS_FCATEGORY_ID","ID");
\ No newline at end of file
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/templates/admin/wfdownloads_admin_categorieslist.html
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/templates/admin/wfdownloads_admin_categorieslist.html 2013-09-29 12:56:30 UTC (rev 12107)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/templates/admin/wfdownloads_admin_categorieslist.html 2013-09-29 21:10:51 UTC (rev 12108)
@@ -3,6 +3,7 @@
<legend style='font-weight: bold; color: #900;'><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_CATEGORIES_LIST}></legend>
<table class="outer">
<tr>
+ <th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_ID}></th>
<th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_TITLE}></th>
<th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_WEIGHT}></th>
<th><{$smarty.const._AM_WFDOWNLOADS_FCATEGORY_DESCRIPTION}></th>
@@ -10,6 +11,7 @@
</tr>
<{foreach item=sorted_category from=$sorted_categories}>
<tr class="<{cycle values='even, odd'}>">
+ <td><{$sorted_category.category.cid}></td>
<td>
<{section name=indent loop=$sorted_category.level-1 step=1}}>-<{/section}>
<a href='../viewcat.php?cid=<{$sorted_category.category.cid}>'><{$sorted_category.category.title}></a>
|