OSDN Git Service

FIX: skinieoverview/templateeditのマークアップ修正
[nucleus-jp/nucleus-next.git] / nucleus / libs / showlist.php
index 31e3665..21648e0 100644 (file)
@@ -966,8 +966,7 @@ function listplug_templateEditRow($content, $desc, $name, $help = '', $tabindex
        /* row head */\r
        if ( !array_key_exists('TEMPLATE_EDIT_ROW_HEAD', $templates) || empty($tmplt['TEMPLATE_EDIT_ROW_HEAD']) )\r
        {\r
-               $template = "</tr>"\r
-                         . "<tr>\n"\r
+               $template = "<tr>\n"\r
                          . "<td><%description%><%help%></td>\n"\r
                          . "<td id=\"td<%count%>\">\n"\r
                          . "<textarea class=\"templateedit\" name=\"<%name%>\" tabindex=\"<%tabindex%>\" cols=\"50\" rows=\"<%rows%>\" id=\"textarea<%count%>\">";\r
@@ -985,7 +984,8 @@ function listplug_templateEditRow($content, $desc, $name, $help = '', $tabindex
        if ( !array_key_exists('TEMPLATE_EDIT_ROW_TAIL', $templates) || empty($tmplt['TEMPLATE_EDIT_ROW_TAIL']) )\r
        {\r
                $template = "</textarea>\n"\r
-                         . "</td>\n";\r
+                         . "</td>\n"\r
+                         . "</tr>\n";\r
        }\r
        else\r
        {\r