X-Git-Url: http://git.sourceforge.jp/view?p=nucleus-jp%2Fnucleus-jp-ancient.git;a=blobdiff_plain;f=utf8%2Fnucleus%2Flibs%2FADMIN.php;h=e91befca81168a28c11bd5525c1052b095d4b1f1;hp=5f09cf9acb187c767bfb13e833daa4db6e7323ac;hb=cad22282df851433a5d18146e83149987a4bddb5;hpb=573b43d7c3e3f8d700c969b8935bc18021be0506 diff --git a/utf8/nucleus/libs/ADMIN.php b/utf8/nucleus/libs/ADMIN.php index 5f09cf9..e91befc 100755 --- a/utf8/nucleus/libs/ADMIN.php +++ b/utf8/nucleus/libs/ADMIN.php @@ -1472,7 +1472,7 @@ class ADMIN { // replaced eregi_replace() below with preg_replace(). ereg* functions are deprecated in PHP 5.3.0 /* original eregi_replace: eregi_replace("[^<]*", "\\1", $comment['body']) */ - $comment['body'] = preg_replace("#[^<]*#I", "\\1", $comment['body']); + $comment['body'] = preg_replace("#[^<]*#i", "\\1", $comment['body']); $this->pagehead(); @@ -4834,6 +4834,33 @@ selector(); + + + + + + @@ -4850,7 +4877,7 @@ selector(); - + @@ -5204,7 +5231,12 @@ selector(); ); $baseUrl = htmlspecialchars($CONF['AdminURL']); - + if (!array_key_exists('AdminCSS',$CONF)) + { + sql_query("INSERT INTO ".sql_table('config')." VALUES ('AdminCSS', 'original')"); + $CONF['AdminCSS'] = 'original'; + } + ?> >