giving this it's own home
This commit is contained in:
25
page.HelloWorld.php
Normal file
25
page.HelloWorld.php
Normal 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>";
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user