--- inc/global.php 2001/08/08 12:58:08 1.3 +++ inc/global.php 2001/08/27 09:17:40 1.6 @@ -5,6 +5,7 @@ "array_search(strtoupper('\\2'),\$allowed,false)?'\\1':HTMLSpecialChars('\\1')", $str); $str = preg_replace("/(^\s+|\s+$)/", "", $str); + $str = ereg_replace("\"", """, $str); return $str; } function ParseNewline($str) { @@ -39,8 +40,6 @@ } return $ret; } - function isEdit() { - global $PHP_SELF; - return stristr($PHP_SELF, "/edit/") ? true : false; - } + $isEdit = stristr($PHP_SELF, "/edit/") ? true : false; + $isMed = false; /* */ ?>