X-Git-Url: http://git.pjr.cc/?p=CBFWR.git;a=blobdiff_plain;f=libcbfwr%2Fweb.php;h=f28b21f9e071af97cc5999e5d12ca4e9e4685801;hp=6baae23c14632b4884a1e170f439aec3ec9589f2;hb=86842492eae6203c9df0df46363b4e809d577c70;hpb=60673f4f00bab805471fcbb85c8816aebb3a9582 diff --git a/libcbfwr/web.php b/libcbfwr/web.php index 6baae23..f28b21f 100644 --- a/libcbfwr/web.php +++ b/libcbfwr/web.php @@ -55,13 +55,13 @@ class CBFWWeb { CBFWInterfacesPage($url_s); break; case "objects": - $bodyFunction = "CBFWObjectsPage"; + CBFWObjectsPage($url_s); break; case "rules": $bodyFunction = "CBFWRulesPage"; break; case "admin": - $bodyFunction = "CBFWAdminPage"; + CBFWAdminPage($url_s); break; default: $bodyFunction = findUrl($url_s); @@ -74,11 +74,6 @@ class CBFWWeb { } -function CBFWAdminPage($urls) -{ - echo "im an admin page"; -} - function CBFBuildHomePage($urls) { echo "Must remember this, gotta rules could apply to multiple zones not just one
"; @@ -177,11 +172,11 @@ function CBFWpageBuilder($bodyClass, $bodyFunction, $bodycontent=null, $title="C // page top echo "

CBFW


"; - echo "
"; + echo "
"; CBFWMessageBuilder(); - echo ""; + echo ""; CBFWConfigStatus(); - echo "
"; + echo "
"; // menu, then body echo "
";