OSDN Git Service

Add label elements for each input elements.
authorsakamocchi <sakamocchi@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Mon, 21 Mar 2011 00:55:11 +0000 (00:55 +0000)
committersakamocchi <sakamocchi@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Mon, 21 Mar 2011 00:55:11 +0000 (00:55 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@1162 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/install/index.php

index 306eb8f..7e8212b 100755 (executable)
@@ -244,20 +244,20 @@ function showInstallForm() {
                        <legend><?php echo _TEXT4_TAB_HEAD; ?></legend>\r
                        <table>\r
                                <tr>\r
-                                       <td><?php echo _TEXT4_TAB_FIELD1; ?></td>\r
-                                       <td><input name="mySQL_host" value="<?php echo htmlspecialchars(@ini_get('mysql.default_host') )?>" tabindex="10010" /></td>\r
+                                       <td><label for="if_mySQL_host"><?php echo _TEXT4_TAB_FIELD1; ?>:</label></td>\r
+                                       <td><input id="if_mySQL_host" name="mySQL_host" value="<?php echo htmlspecialchars(@ini_get('mysql.default_host') )?>" tabindex="10010" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT4_TAB_FIELD2; ?></td>\r
-                                       <td><input name="mySQL_user" tabindex="10020" /></td>\r
+                                       <td><label for="if_mySQL_user"><?php echo _TEXT4_TAB_FIELD2; ?>:</label></td>\r
+                                       <td><input id="if_mySQL_user" name="mySQL_user" tabindex="10020" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT4_TAB_FIELD3; ?></td>\r
-                                       <td><input name="mySQL_password" type="password" tabindex="10030" /></td>\r
+                                       <td><label for="if_mySQL_password"><?php echo _TEXT4_TAB_FIELD3; ?>:</label></td>\r
+                                       <td><input id="if_mySQL_password" name="mySQL_password" type="password" tabindex="10030" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT4_TAB_FIELD4; ?></td>\r
-                                       <td><input name="mySQL_database" tabindex="10040" /> (<input name="mySQL_create" value="1" type="checkbox" id="mySQL_create" tabindex="10050" /><label for="mySQL_create"><?php echo _TEXT4_TAB_FIELD4_ADD; ?></label>)</td>\r
+                                       <td><label for="if_mySQL_database"><?php echo _TEXT4_TAB_FIELD4; ?>:</label></td>\r
+                                       <td><input id="if_mySQL_database" name="mySQL_database" tabindex="10040" /> (<input name="mySQL_create" value="1" type="checkbox" id="mySQL_create" tabindex="10050" /><label for="mySQL_create"><?php echo _TEXT4_TAB_FIELD4_ADD; ?></label>)</td>\r
                                </tr>\r
                        </table>\r
                </fieldset>\r
@@ -266,7 +266,7 @@ function showInstallForm() {
                        <legend><?php echo _TEXT4_TAB2_HEAD; ?></legend>\r
                        <table>\r
                                <tr>\r
-                                       <td><input name="mySQL_usePrefix" value="1" type="checkbox" id="mySQL_usePrefix" tabindex="10060" /><label for="mySQL_usePrefix"><?php echo _TEXT4_TAB2_FIELD; ?></label></td>\r
+                                       <td><input name="mySQL_usePrefix" value="1" type="checkbox" id="mySQL_usePrefix" tabindex="10060" /><label for="mySQL_usePrefix"><?php echo _TEXT4_TAB2_FIELD; ?>:</label></td>\r
                                        <td><input name="mySQL_tablePrefix" value="" tabindex="10070" /></td>\r
                                </tr>\r
                        </table>\r
@@ -307,8 +307,8 @@ function showInstallForm() {
                        <legend><?php echo _TEXT5_TAB_HEAD; ?></legend>\r
                        <table>\r
                                <tr>\r
-                                       <td><?php echo _TEXT5_TAB_FIELD1; ?></td>\r
-                                       <td><input name="IndexURL" size="60" value="<?php\r
+                                       <td><label for="if_IndexURL"><?php echo _TEXT5_TAB_FIELD1;?>:</label></td>\r
+                                       <td><input id="if_IndexURL" name="IndexURL" size="60" value="<?php\r
                                                $url = 'http://' . serverVar('HTTP_HOST') . serverVar('PHP_SELF');\r
                                                $url = str_replace('install/index.php', '', $url);\r
                                                $url = replaceDoubleBackslash($url);\r
@@ -321,36 +321,36 @@ function showInstallForm() {
                                                echo $url; ?>" tabindex="10080" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT5_TAB_FIELD2; ?></td>\r
-                                       <td><input name="AdminURL" size="60" value="<?php\r
+                                       <td><label for="if_AdminURL"><?php echo _TEXT5_TAB_FIELD2;?>:</label></td>\r
+                                       <td><input id="if_AdminURL" name="AdminURL" size="60" value="<?php\r
                                                if ($url) {\r
                                                        echo $url . 'nucleus/';\r
                                                } ?>" tabindex="10090" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT5_TAB_FIELD3; ?></td>\r
-                                       <td><input name="AdminPath" size="60" value="<?php\r
+                                       <td><label for="if_AdminPath"><?php echo _TEXT5_TAB_FIELD3;?>:</label></td>\r
+                                       <td><input id="if_AdminPath" name="AdminPath" size="60" value="<?php\r
                                                if($basePath) {\r
                                                        echo $basePath . 'nucleus/';\r
                                                } ?>" tabindex="10100" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT5_TAB_FIELD4; ?></td>\r
-                                       <td><input name="MediaURL" size="60" value="<?php\r
+                                       <td><label for="if_MediaURL"><?php echo _TEXT5_TAB_FIELD4;?>:</label></td>\r
+                                       <td><input id="if_MediaURL" name="MediaURL" size="60" value="<?php\r
                                                if ($url) {\r
                                                        echo $url . 'media/';\r
                                                } ?>" tabindex="10110" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT5_TAB_FIELD5; ?></td>\r
-                                       <td><input name="MediaPath" size="60" value="<?php\r
+                                       <td><label for="if_MediaPath"><?php echo _TEXT5_TAB_FIELD5;?>:</label></td>\r
+                                       <td><input id="if_MediaPath" name="MediaPath" size="60" value="<?php\r
                                                if ($basePath) {\r
                                                        echo $basePath . 'media/';\r
                                                } ?>" tabindex="10120" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT5_TAB_FIELD6; ?></td>\r
-                                       <td><input name="SkinsURL" size="60" value="<?php\r
+                                       <td><label for="if_SkinsURL"><?php echo _TEXT5_TAB_FIELD6;?>:</label></td>\r
+                                       <td><input id="if_SkinsURL" name="SkinsURL" size="60" value="<?php\r
                                                if ($url) {\r
                                                        echo $url . 'skins/';\r
                                                } ?>" tabindex="10130" />\r
@@ -358,8 +358,8 @@ function showInstallForm() {
                                        </td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT5_TAB_FIELD7; ?></td>\r
-                                       <td><input name="SkinsPath" size="60" value="<?php\r
+                                       <td><label for="if_SkinsPath"><?php echo _TEXT5_TAB_FIELD7;?>:</label></td>\r
+                                       <td><input id="if_SkinsPath" name="SkinsPath" size="60" value="<?php\r
                                                if ($basePath) {\r
                                                        echo $basePath . 'skins/';\r
                                                } ?>" tabindex="10140" />\r
@@ -367,15 +367,15 @@ function showInstallForm() {
                                        </td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT5_TAB_FIELD8; ?></td>\r
-                                       <td><input name="PluginURL" size="60" value="<?php\r
+                                       <td><label for="if_PluginURL"><?php echo _TEXT5_TAB_FIELD8;?>:</label></td>\r
+                                       <td><input id="if_PluginURL" name="PluginURL" size="60" value="<?php\r
                                                if ($url) {\r
                                                        echo $url . 'nucleus/plugins/';\r
                                                } ?>" tabindex="10150" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT5_TAB_FIELD9; ?></td>\r
-                                       <td><input name="ActionURL" size="60" value="<?php\r
+                                       <td><label for="if_ActionURL"><?php echo _TEXT5_TAB_FIELD9;?>:</label></td>\r
+                                       <td><input id="if_ActionURL" name="ActionURL" size="60" value="<?php\r
                                                if ($url) {\r
                                                        echo $url . 'action.php';\r
                                                } ?>" tabindex="10160" />\r
@@ -395,24 +395,24 @@ function showInstallForm() {
                        <legend><?php echo _TEXT6_TAB_HEAD; ?></legend>\r
                        <table>\r
                                <tr>\r
-                                       <td><?php echo _TEXT6_TAB_FIELD1; ?></td>\r
-                                       <td><input name="User_name" value="" tabindex="10170" /> (<?php echo _TEXT6_TAB_FIELD1_2; ?>)</td>\r
+                                       <td><label for="if_User_name"><?php echo _TEXT6_TAB_FIELD1; ?>:</label></td>\r
+                                       <td><input id="if_User_name" name="User_name" value="" tabindex="10170" /> <small>(<?php echo _TEXT6_TAB_FIELD1_2; ?>)</small></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT6_TAB_FIELD2; ?></td>\r
-                                       <td><input name="User_realname" value="" tabindex="10180" /></td>\r
+                                       <td><label for="if_User_realname"><?php echo _TEXT6_TAB_FIELD2; ?>:</label></td>\r
+                                       <td><input id="if_User_realname" name="User_realname" value="" tabindex="10180" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT6_TAB_FIELD3; ?></td>\r
-                                       <td><input name="User_password" type="password" value="" tabindex="10190" /></td>\r
+                                       <td><label for="if_User_password"><?php echo _TEXT6_TAB_FIELD3; ?>:</label></td>\r
+                                       <td><input id="if_User_password" name="User_password" type="password" value="" tabindex="10190" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT6_TAB_FIELD4; ?></td>\r
-                                       <td><input name="User_password2" type="password" value="" tabindex="10200" /></td>\r
+                                       <td><label for="if_User_password2"><?php echo _TEXT6_TAB_FIELD4; ?>:</label></td>\r
+                                       <td><input id="if_User_password2" name="User_password2" type="password" value="" tabindex="10200" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT6_TAB_FIELD5; ?></td>\r
-                                       <td><input name="User_email" value="" tabindex="10210" /> (<?php echo _TEXT6_TAB_FIELD5_2; ?>)</td>\r
+                                       <td><label for="if_User_email"><?php echo _TEXT6_TAB_FIELD5; ?>:</label></td>\r
+                                       <td><input id="if_User_email" name="User_email" value="" tabindex="10210" /> <small>(<?php echo _TEXT6_TAB_FIELD5_2; ?>)</small></td>\r
                                </tr>\r
                        </table>\r
                </fieldset>\r
@@ -425,12 +425,12 @@ function showInstallForm() {
                        <legend><?php echo _TEXT7_TAB_HEAD; ?></legend>\r
                        <table>\r
                                <tr>\r
-                                       <td><?php echo _TEXT7_TAB_FIELD1; ?></td>\r
-                                       <td><input name="Blog_name" size="60" value="My Nucleus CMS" tabindex="10220" /></td>\r
+                                       <td><label for="if_Blog_name"><?php echo _TEXT7_TAB_FIELD1; ?>:</label></td>\r
+                                       <td><input id="if_Blog_name" name="Blog_name" size="60" value="My Nucleus CMS" tabindex="10220" /></td>\r
                                </tr>\r
                                <tr>\r
-                                       <td><?php echo _TEXT7_TAB_FIELD2; ?></td>\r
-                                       <td><input name="Blog_shortname" value="mynucleuscms" tabindex="10230" /> (<?php echo _TEXT7_TAB_FIELD2_2; ?>)</td>\r
+                                       <td><label for="if_Blog_shortname"><?php echo _TEXT7_TAB_FIELD2; ?>:</label></td>\r
+                                       <td><input id="if_Blog_shortname" name="Blog_shortname" value="mynucleuscms" tabindex="10230" /> <small>(<?php echo _TEXT7_TAB_FIELD2_2; ?>)</small></td>\r
                                </tr>\r
                        </table>\r
                </fieldset>\r
@@ -441,7 +441,7 @@ function showInstallForm() {
                        <legend><?php echo _TEXT8_TAB_HEADER; ?></legend>\r
                        <table>\r
                                <tr>\r
-                                       <td><input name="Weblog_ping" value="1" type="checkbox" id="Weblog_ping" tabindex="10240" /><?php echo _TEXT8_TAB_FIELD1; ?></td>\r
+                                       <td><input name="Weblog_ping" value="1" type="checkbox" id="Weblog_ping" tabindex="10240" /><label for="Weblog_ping"><?php echo _TEXT8_TAB_FIELD1; ?></label></td>\r
                                </tr>\r
                        </table>\r
                </fieldset>\r