[geeklog-hg] geeklog: Links: fixed bug that failed to build a topic list in t...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Sep 29 09:42:31 EDT 2012


changeset 8841:e6654e0d5a10
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/e6654e0d5a10
user: dengen
date: Sat Sep 29 22:41:43 2012 +0900
description:
Links: fixed bug that failed to build a topic list in the category editor

diffstat:

 plugins/links/templates/admin/categoryeditor.thtml |  2 +-
 public_html/admin/plugins/links/category.php       |  3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r ed84294fff81 -r e6654e0d5a10 plugins/links/templates/admin/categoryeditor.thtml
--- a/plugins/links/templates/admin/categoryeditor.thtml	Sat Sep 29 21:53:55 2012 +0900
+++ b/plugins/links/templates/admin/categoryeditor.thtml	Sat Sep 29 22:41:43 2012 +0900
@@ -17,7 +17,7 @@
       <dt><label for="links-categoryeditor-description">{lang_description}</label></dt>
       <dd><input type="text" name="description" maxlength="255" id="links-categoryeditor-description" value="{description_value}" class="size6"{xhtml}></dd>
 
-      <dt><label>{lang_topic}</label></dt>
+      <dt><label for="tid">{lang_topic}</label></dt>
       <dd>{topic_selection}</dd>
 
       <dt><label>{lang_num_links}</label></dt>
diff -r ed84294fff81 -r e6654e0d5a10 public_html/admin/plugins/links/category.php
--- a/public_html/admin/plugins/links/category.php	Sat Sep 29 21:53:55 2012 +0900
+++ b/public_html/admin/plugins/links/category.php	Sat Sep 29 22:41:43 2012 +0900
@@ -273,7 +273,8 @@
     $T->set_var('topic_selection', '<select name="tid">' . $alltopics
                                    . $topics . '</select>');
     */
-    $T->set_var('topic_selection', TOPIC_getTopicListSelect($A['tid'], 2, true));        
+    $T->set_var('topic_selection', '<select name="tid" id="tid">'
+        . TOPIC_getTopicListSelect($A['tid'], 2, true) . '</select>');
     
 
     if (empty($cid)) {



More information about the geeklog-cvs mailing list