OSDN Git Service

fix specialskin's help link
authorshizuki <shizuki@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Mon, 19 Mar 2007 10:21:41 +0000 (10:21 +0000)
committershizuki <shizuki@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Mon, 19 Mar 2007 10:21:41 +0000 (10:21 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@229 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/nucleus/libs/ADMIN.php
utf8/nucleus/libs/showlist.php

index 97e1057..f33ede6 100755 (executable)
@@ -14,8 +14,8 @@
  *
  * @license http://nucleuscms.org/license.txt GNU General Public License
  * @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: ADMIN.php,v 1.17 2007-02-17 04:37:50 shizuki Exp $
- * @version $NucleusJP: ADMIN.php,v 1.16 2007/02/09 02:48:44 kimitake Exp $
+ * @version $Id: ADMIN.php,v 1.18 2007-03-19 10:21:41 shizuki Exp $
+ * @version $NucleusJP: ADMIN.php,v 1.15 2007/02/09 02:47:47 kimitake Exp $
  */
 
 require_once "showlist.php";
@@ -1677,7 +1677,7 @@ class ADMIN {
                                <th colspan="2"><?php echo _MEMBERS_NEW?></th>
                        </tr><tr>
                                <td><?php echo _MEMBERS_DISPLAY?> <?php help('shortnames');?>
-                                       <br /><small>(This is the name used to logon)</small>
+                               <br /><small><?php echo _MEMBERS_DISPLAY_INFO?></small>
                                </td>
                                <td><input tabindex="10010" name="name" size="16" maxlength="16" /></td>
                        </tr><tr>
@@ -4293,7 +4293,11 @@ selector();
                <input type="submit" value="<?php echo _SKIN_UPDATE_BTN?>" onclick="return checkSubmit();" />
                <input type="reset" value="<?php echo _SKIN_RESET_BTN?>" />
                (skin type: <?php echo (isset($friendlyNames[$type]) ? $friendlyNames[$type] : ucfirst($type)); ?>)
-               <?php help('skinpart' . $type);?>
+               <?php if (in_array($type, array('index', 'item', 'archivelist', 'archive', 'search', 'error', 'member', 'imagepopup'))) {
+                       help('skinpart' . $type);
+               } else {
+                       help('skinpartspecial');
+               }?>
                <br />
 
                <textarea class="skinedit" tabindex="10" rows="20" cols="80" name="content"><?php echo  htmlspecialchars($skin->getContent($type)) ?></textarea>
@@ -6217,4 +6221,4 @@ selector();
 
 } // class ADMIN
 
-?>
+?>
\ No newline at end of file
index 19f9125..34ced37 100644 (file)
@@ -14,7 +14,7 @@
  *
  * @license http://nucleuscms.org/license.txt GNU General Public License
  * @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: showlist.php,v 1.5 2007-02-04 06:28:46 kimitake Exp $
+ * @version $Id: showlist.php,v 1.6 2007-03-19 10:21:21 shizuki Exp $
  * @version $NucleusJP: showlist.php,v 1.4 2006/11/13 00:36:39 kimitake Exp $
  */
 
@@ -562,7 +562,11 @@ function listplug_table_skinlist($template, $type) {
                                        $friendlyNames = SKIN::getFriendlyNames();
                                        for ($i=0;$i<sizeof($types);$i++) {
                                                $type = $types[$i];
-                                               $types[$i] = '<li>' . helpHtml('skinpart'.$type) . ' <a href="index.php?action=skinedittype&amp;skinid='.$current->sdnumber.'&amp;type='.$type.'" tabindex="'.$template['tabindex'].'">' . htmlspecialchars($friendlyNames[$type]) . "</a></li>";
+                                               if (in_array($type, array('index', 'item', 'archivelist', 'archive', 'search', 'error', 'member', 'imagepopup'))) {
+                                                       $types[$i] = '<li>' . helpHtml('skinpart'.$type) . ' <a href="index.php?action=skinedittype&amp;skinid='.$current->sdnumber.'&amp;type='.$type.'" tabindex="'.$template['tabindex'].'">' . htmlspecialchars($friendlyNames[$type]) . "</a></li>";
+                                               } else {
+                                                       $types[$i] = '<li>' . helpHtml('skinpartspecial') . ' <a href="index.php?action=skinedittype&amp;skinid='.$current->sdnumber.'&amp;type='.$type.'" tabindex="'.$template['tabindex'].'">' . htmlspecialchars($friendlyNames[$type]) . "</a></li>";
+                                               }
                                        }
                                        echo '<br /><br />',_LIST_SKINS_DEFINED,' <ul>',implode($types,'') ,'</ul>';
                                }
@@ -625,4 +629,4 @@ function listplug_table_banlist($template, $type) {
        }
 }
 
-?>
+?>
\ No newline at end of file