OSDN Git Service

added white-space:nowrap to th/td tag
authorkimitake <kimitake@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Sat, 13 Aug 2005 07:21:33 +0000 (07:21 +0000)
committerkimitake <kimitake@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Sat, 13 Aug 2005 07:21:33 +0000 (07:21 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@107 1ca29b6e-896d-4ea0-84a5-967f57386b96

euc/nucleus/libs/ADMIN.php

index 43bddf8..9abe35e 100755 (executable)
@@ -11,8 +11,8 @@
   *\r
   * The code for the Nucleus admin area\r
   *\r
-  * $Id: ADMIN.php,v 1.7 2005-04-19 06:57:48 kimitake Exp $\r
-  * $NucleusJP: ADMIN.php,v 1.6.2.1 2005/04/19 06:56:22 kimitake Exp $\r
+  * $Id: ADMIN.php,v 1.8 2005-08-13 07:21:33 kimitake Exp $\r
+  * $NucleusJP: ADMIN.php,v 1.7 2005/04/19 06:57:48 kimitake Exp $\r
   */\r
 \r
 class ADMIN {\r
@@ -6109,7 +6109,7 @@ function listplug_table_pluginlist($template, $type) {
        switch($type) {\r
                case 'HEAD':\r
                        echo '<th>'._LISTS_INFO.'</th><th>'._LISTS_DESC.'</th>';\r
-                       echo '<th>'._LISTS_ACTIONS.'</th>';\r
+                       echo '<th style="white-space:nowrap">'._LISTS_ACTIONS.'</th>';\r
                        break;\r
                case 'BODY':\r
                        $current = $template['current'];\r
@@ -6236,7 +6236,7 @@ function listplug_plugOptionRow($current) {
 function listplug_table_itemlist($template, $type) {\r
        switch($type) {\r
                case 'HEAD':\r
-                       echo "<th>"._LIST_ITEM_INFO."</th><th>"._LIST_ITEM_CONTENT."</th><th colspan='1'>"._LISTS_ACTIONS."</th>";\r
+                       echo "<th>"._LIST_ITEM_INFO."</th><th>"._LIST_ITEM_CONTENT."</th><th style=\"white-space:nowrap\" colspan='1'>"._LISTS_ACTIONS."</th>";\r
                        break;\r
                case 'BODY':\r
                        $current = $template['current'];\r
@@ -6270,7 +6270,7 @@ function listplug_table_itemlist($template, $type) {
                        $current->ibody = htmlspecialchars(shorten($current->ibody,300,'...'));\r
 \r
                        echo "$current->ibody</td>";\r
-                       echo "<td $cssclass>";\r
+                       echo "<td style=\"white-space:nowrap\" $cssclass>";\r
                        echo    "<a href='index.php?action=itemedit&amp;itemid=$current->inumber'>"._LISTS_EDIT."</a>";\r
                        echo    "<br /><a href='index.php?action=itemcommentlist&amp;itemid=$current->inumber'>"._LISTS_COMMENTS."</a>";\r
                        echo    "<br /><a href='index.php?action=itemmove&amp;itemid=$current->inumber'>"._LISTS_MOVE."</a>";\r
@@ -6316,10 +6316,10 @@ function listplug_table_commentlist($template, $type) {
                        echo '</label>';\r
                        echo '</td>';\r
 \r
-                       echo "<td><a href='index.php?action=commentedit&amp;commentid=$current->cnumber'>"._LISTS_EDIT."</a></td>";\r
-                       echo "<td><a href='index.php?action=commentdelete&amp;commentid=$current->cnumber'>"._LISTS_DELETE."</a></td>";\r
+                       echo "<td style=\"white-space:nowrap\"><a href='index.php?action=commentedit&amp;commentid=$current->cnumber'>"._LISTS_EDIT."</a></td>";\r
+                       echo "<td style=\"white-space:nowrap\"><a href='index.php?action=commentdelete&amp;commentid=$current->cnumber'>"._LISTS_DELETE."</a></td>";\r
                        if ($template['canAddBan'])\r
-                               echo "<td><a href='index.php?action=banlistnewfromitem&amp;itemid=$current->citem&amp;ip=", htmlspecialchars($current->cip), "' title='", htmlspecialchars($current->chost), "'>"._LIST_COMMENT_BANIP."</a></td>";\r
+                               echo "<td style=\"white-space:nowrap\"><a href='index.php?action=banlistnewfromitem&amp;itemid=$current->citem&amp;ip=", htmlspecialchars($current->cip), "' title='", htmlspecialchars($current->chost), "'>"._LIST_COMMENT_BANIP."</a></td>";\r
                        break;\r
        }\r
 }\r
@@ -6421,11 +6421,11 @@ function listplug_table_templatelist($template, $type) {
 \r
                        echo "<td>" , htmlspecialchars($current->tdname), "</td>";\r
                        echo "<td>" , htmlspecialchars($current->tddesc), "</td>";\r
-                       echo "<td><a href='index.php?action=templateedit&amp;templateid=$current->tdnumber' tabindex='".$template['tabindex']."'>"._LISTS_EDIT."</a></td>";\r
+                       echo "<td style=\"white-space:nowrap\"><a href='index.php?action=templateedit&amp;templateid=$current->tdnumber' tabindex='".$template['tabindex']."'>"._LISTS_EDIT."</a></td>";\r
 \r
                        $url = $manager->addTicketToUrl('index.php?action=templateclone&templateid=' . intval($current->tdnumber));\r
-                       echo "<td><a href='",htmlspecialchars($url),"' tabindex='".$template['tabindex']."'>"._LISTS_CLONE."</a></td>";\r
-                       echo "<td><a href='index.php?action=templatedelete&amp;templateid=$current->tdnumber' tabindex='".$template['tabindex']."'>"._LISTS_DELETE."</a></td>";\r
+                       echo "<td style=\"white-space:nowrap\"><a href='",htmlspecialchars($url),"' tabindex='".$template['tabindex']."'>"._LISTS_CLONE."</a></td>";\r
+                       echo "<td style=\"white-space:nowrap\"><a href='index.php?action=templatedelete&amp;templateid=$current->tdnumber' tabindex='".$template['tabindex']."'>"._LISTS_DELETE."</a></td>";\r
 \r
                        break;\r
        }\r
@@ -6494,11 +6494,11 @@ function listplug_table_skinlist($template, $type) {
                                        echo '<br /><br />',_LIST_SKINS_DEFINED,' <ul>',implode($types,'') ,'</ul>';\r
                                }\r
                        echo "</td>";\r
-                       echo "<td><a href='index.php?action=skinedit&amp;skinid=$current->sdnumber' tabindex='".$template['tabindex']."'>"._LISTS_EDIT."</a></td>";\r
+                       echo "<td style=\"white-space:nowrap\"><a href='index.php?action=skinedit&amp;skinid=$current->sdnumber' tabindex='".$template['tabindex']."'>"._LISTS_EDIT."</a></td>";\r
 \r
                        $url = $manager->addTicketToUrl('index.php?action=skinclone&skinid=' . intval($current->sdnumber));\r
-                       echo "<td><a href='",htmlspecialchars($url),"' tabindex='".$template['tabindex']."'>"._LISTS_CLONE."</a></td>";\r
-                       echo "<td><a href='index.php?action=skindelete&amp;skinid=$current->sdnumber' tabindex='".$template['tabindex']."'>"._LISTS_DELETE."</a></td>";\r
+                       echo "<td style=\"white-space:nowrap\"><a href='",htmlspecialchars($url),"' tabindex='".$template['tabindex']."'>"._LISTS_CLONE."</a></td>";\r
+                       echo "<td style=\"white-space:nowrap\"><a href='index.php?action=skindelete&amp;skinid=$current->sdnumber' tabindex='".$template['tabindex']."'>"._LISTS_DELETE."</a></td>";\r
 \r
                        break;\r
        }\r