giving this it's own home

This commit is contained in:
James Finstrom
2012-12-20 14:22:05 -07:00
parent 2c09289c81
commit 5d5e62380b
6 changed files with 184 additions and 0 deletions

25
page.HelloWorld.php Normal file
View File

@@ -0,0 +1,25 @@
<?
//Check if user is "logged in"
if (!defined('FREEPBX_IS_AUTH')) { die('No direct script access allowed'); }
//Handling form stuff....
isset($_REQUEST['action'])?$action = $_REQUEST['action']:$action='';
//the item we are currently displaying
isset($_REQUEST['itemid'])?$itemid=$db->escapeSimple($_REQUEST['itemid']):$itemid='';
switch ($action) {
case "add":
needreload();
break;
case "delete":
needreload();
redirect_standard();
break;
case "edit":
needreload();
redirect_standard();
break;
echo "<h2>"._("Hello World")."</h2>";
}
?>