OSDN Git Service

FIX:Typo
authorshizuki <shizuki@kinezumi.net>
Mon, 7 May 2012 15:03:57 +0000 (00:03 +0900)
committershizuki <shizuki@kinezumi.net>
Mon, 7 May 2012 15:03:57 +0000 (00:03 +0900)
nucleus/plugins/NP_SecurityEnforcer.php
skins/admin/default/skinbackup.xml

index b266429..6a45ce8 100644 (file)
@@ -294,14 +294,14 @@ class NP_SecurityEnforcer extends NucleusPlugin
                $ucchars        = '[A-Z]';
                $lcchars        = '[a-z]';
                $numchars       = '[0-9]';
-               $ochars         = '[-~!@#$%^&*()_+=,.<>?:;|]';
+               $ochars         = '[-~!@#\$%^&*()_+=,.<>?:;|]';
                $chartypes      = array($ucchars, $lcchars, $numchars, $ochars);
                $tot            = array(0,0,0,0);
                $i                      = 0;
                
                foreach ( $chartypes as $value )
                {
-                       $tot[$i] = preg_match("#{$value}#", $passwd);
+                       $tot[$i] = preg_match("#" . $value . "#", $passwd);
                        $i = $i + 1;
                }
                
index 0887af4..84e948e 100644 (file)
@@ -2676,7 +2676,7 @@ selector();
 ]]></part>
     <part name="SHOWLIST_LISTPLUG_TABLE_TEAMLIST_BODY"><![CDATA[<td>
 <input type="checkbox" id="batch<%id%>" name="batch[<%id%>]" value="<%memberid%>" />
-<label for=""batch<%id%>">
+<label for="batch<%id%>">
 <a href="mailto:<%mailaddress%>" tabindex="<%tabindex%>"><%name%></a>
 </label>
 </td>
@@ -2687,7 +2687,7 @@ selector();
 ]]></part>
     <part name="SHOWLIST_LISTPLUG_TABLE_MEMBLIST_BODY"><![CDATA[<td>
 <input type="checkbox" id="batch<%id%>" name="batch[<%id%>]" value="<%memberid%>" />
-<label for=""batch<%id%>">
+<label for="batch<%id%>">
 <a href="mailto:<%mailaddress%>" tabindex="<%tabindex%>"><%name%></a>
 </label>
 </td>