*\r
* The code for the Nucleus admin area\r
*\r
- * $Id: ADMIN.php,v 1.5 2005-04-19 06:58:03 kimitake Exp $\r
- * $NucleusJP: ADMIN.php,v 1.4.2.1 2005/04/19 06:56:55 kimitake Exp $\r
+ * $Id: ADMIN.php,v 1.6 2005-08-13 07:28:38 kimitake Exp $\r
+ * $NucleusJP: ADMIN.php,v 1.5 2005/04/19 06:58:03 kimitake Exp $\r
*/\r
\r
class ADMIN {\r
?>\r
<h2><?php echo _EBLOG_CREATE_TITLE?></h2>\r
\r
- <h3>注意事項</h3>\r
+ <h3>_ADMIN_NOTABILIA</h3>\r
\r
- <p>作成にあたって、下記の<strong>注意事項</strong> をまずお読み下さい</p>\r
+ <p>_ADMIN_PLEASE_READ</p>\r
\r
- <p>新しいweblogを作成した後に、このblogにアクセスするための方法を紹介しておきます。方法は2つあります:</p>\r
+ <p>_ADMIN_HOW_TO_ACCESS</p>\r
\r
<ol>\r
- <li><strong>簡単な方法:</strong> <code>index.php</code>の複製を作り、新しいblogを表示するように変更を加えます。 この変更の詳細は、作成後に表示されます。</li>\r
- <li><strong>高度な方法:</strong> 現在のblogで使用しているスキンに<code>otherblog</code>というコードを使った記述を加えます。この方法では、同じページ内で複数のblogを展開することが可能となります。</li>\r
+ <li>_ADMIN_SIMPLE_WAY</li>\r
+ <li>_ADMIN_DIFFICULT_WAY</li>\r
</ol>\r
\r
- <h3>Weblogの作成</h3>\r
+ <h3>_ADMIN_HOW_TO_CREATE</h3>\r
\r
<p>\r
<?php echo _EBLOG_CREATE_TEXT?>\r
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
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
$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&itemid=$current->inumber'>"._LISTS_EDIT."</a>";\r
echo "<br /><a href='index.php?action=itemcommentlist&itemid=$current->inumber'>"._LISTS_COMMENTS."</a>";\r
echo "<br /><a href='index.php?action=itemmove&itemid=$current->inumber'>"._LISTS_MOVE."</a>";\r
echo '</label>';\r
echo '</td>';\r
\r
- echo "<td><a href='index.php?action=commentedit&commentid=$current->cnumber'>"._LISTS_EDIT."</a></td>";\r
- echo "<td><a href='index.php?action=commentdelete&commentid=$current->cnumber'>"._LISTS_DELETE."</a></td>";\r
+ echo "<td style=\"white-space:nowrap\"><a href='index.php?action=commentedit&commentid=$current->cnumber'>"._LISTS_EDIT."</a></td>";\r
+ echo "<td style=\"white-space:nowrap\"><a href='index.php?action=commentdelete&commentid=$current->cnumber'>"._LISTS_DELETE."</a></td>";\r
if ($template['canAddBan'])\r
- echo "<td><a href='index.php?action=banlistnewfromitem&itemid=$current->citem&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&itemid=$current->citem&ip=", htmlspecialchars($current->cip), "' title='", htmlspecialchars($current->chost), "'>"._LIST_COMMENT_BANIP."</a></td>";\r
break;\r
}\r
}\r
\r
echo "<td>" , htmlspecialchars($current->tdname), "</td>";\r
echo "<td>" , htmlspecialchars($current->tddesc), "</td>";\r
- echo "<td><a href='index.php?action=templateedit&templateid=$current->tdnumber' tabindex='".$template['tabindex']."'>"._LISTS_EDIT."</a></td>";\r
+ echo "<td style=\"white-space:nowrap\"><a href='index.php?action=templateedit&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&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&templateid=$current->tdnumber' tabindex='".$template['tabindex']."'>"._LISTS_DELETE."</a></td>";\r
\r
break;\r
}\r
echo '<br /><br />',_LIST_SKINS_DEFINED,' <ul>',implode($types,'') ,'</ul>';\r
}\r
echo "</td>";\r
- echo "<td><a href='index.php?action=skinedit&skinid=$current->sdnumber' tabindex='".$template['tabindex']."'>"._LISTS_EDIT."</a></td>";\r
+ echo "<td style=\"white-space:nowrap\"><a href='index.php?action=skinedit&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&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&skinid=$current->sdnumber' tabindex='".$template['tabindex']."'>"._LISTS_DELETE."</a></td>";\r
\r
break;\r
}\r