From 0077cb99704fe863cf731fc5cab792af2ede96c2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 17 Apr 2011 20:13:07 -0400 Subject: Backporting retarded amount of changes outside of version control --- modules/admin/blocks/index.php | 116 ++++++++++++++++++++--------------------- 1 file changed, 58 insertions(+), 58 deletions(-) (limited to 'modules/admin/blocks/index.php') diff --git a/modules/admin/blocks/index.php b/modules/admin/blocks/index.php index 6dac3d2..8d63b6d 100644 --- a/modules/admin/blocks/index.php +++ b/modules/admin/blocks/index.php @@ -1,59 +1,59 @@ -. - */ - -/** - * This file administers the site blocks. - * - * -weight - * -directory name - */ - -if(!defined("ADMIN_FILE")) -{ - die("Access denied."); -} - - -include $basedir.'blocks/functions.php'; - -if(isset($_GET['edit'])) -{ - $block_id = $_GET['edit']; - EditBlock($block_id); - return; -} - -if(isset($_GET['delete'])) -{ - $block_id = $_GET['delete']; - DeleteBlock($block_id); - return; -} - -if(isset($_GET['create'])) -{ - NewBlock(); - return; -} - -echo "
".LinkInternal('Create a Block','?load=admin&op=blocks&create=true')."
"; - -ListBlocks(); - +. + */ + +/** + * This file administers the site blocks. + * + * -weight + * -directory name + */ + +if(!defined("ADMIN_FILE")) +{ + die("Access denied."); +} + + +include $basedir.'blocks/functions.php'; + +if(isset($_GET['edit'])) +{ + $block_id = $_GET['edit']; + EditBlock($block_id); + return; +} + +if(isset($_GET['delete'])) +{ + $block_id = $_GET['delete']; + DeleteBlock($block_id); + return; +} + +if(isset($_GET['create'])) +{ + NewBlock(); + return; +} + +echo "
".LinkInternal('Create a Block','?load=admin&op=blocks&create=true')."
"; + +ListBlocks(); + ?> \ No newline at end of file -- cgit