--- inc/global.php 2001/08/03 11:21:16 1.2 +++ inc/global.php 2001/08/08 12:58:08 1.3 @@ -39,4 +39,8 @@ } return $ret; } + function isEdit() { + global $PHP_SELF; + return stristr($PHP_SELF, "/edit/") ? true : false; + } ?>