OSDN Git Service

BugTrack/750: Correct XHTML1.1 invalid 'checked'
authorhenoheno <henoheno>
Tue, 8 Feb 2005 13:21:06 +0000 (22:21 +0900)
committerhenoheno <henoheno>
Tue, 8 Feb 2005 13:21:06 +0000 (22:21 +0900)
plugin/rename.inc.php

index f036217..5d1a6f1 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone
-// $Id: rename.inc.php,v 1.23 2005/01/23 08:08:00 henoheno Exp $
+// $Id: rename.inc.php,v 1.24 2005/02/08 13:21:06 henoheno Exp $
 //
 // Rename plugin: Rename page-name and related data
 //
@@ -95,9 +95,9 @@ function plugin_rename_phase1($err = '', $page = '')
 
        $radio_regex = $radio_page = '';
        if ($method == 'regex') {
-               $radio_regex =' checked';
+               $radio_regex = ' checked="checked"';
        } else {
-               $radio_page = ' checked';
+               $radio_page  = ' checked="checked"';
        }
        $select_refer = plugin_rename_getselecttag($refer);
 
@@ -105,7 +105,7 @@ function plugin_rename_phase1($err = '', $page = '')
        $s_dst = htmlspecialchars(plugin_rename_getvar('dst'));
 
        $ret = array();
-       $ret['msg'] = $_rename_messages['msg_title'];
+       $ret['msg']  = $_rename_messages['msg_title'];
        $ret['body'] = <<<EOD
 $msg
 <form action="$script" method="post">