From ad6ba256efd1a65fb1bb3951ae6b17b1593205b7 Mon Sep 17 00:00:00 2001 From: jhunkeler Date: Tue, 29 Dec 2009 05:36:23 +0000 Subject: (OC) Fixed includes/functions::GetBlocks() so that left and right are 0 and 1. Also fixed the query so that it doesnt get every block, just the active blocks for the defined side. Re-did some display on the admin side for blocks. git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@408 c5b2fb0a-d05d-0410-98c8-828840a80ff6 --- admin/blocks/index.php | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'admin/blocks/index.php') diff --git a/admin/blocks/index.php b/admin/blocks/index.php index 8d63b6d..fb10441 100644 --- a/admin/blocks/index.php +++ b/admin/blocks/index.php @@ -1,7 +1,7 @@ . */ + ?> +

- Manage Blocks

+ +
+
".LinkInternal('Create a Block','?load=admin&op=blocks&create=true')."
"; - -ListBlocks(); - -?> \ No newline at end of file +else{ + echo "
".LinkInternal('Create a Block','?op=blocks&create=true')."
"; + + ListBlocks(); +} +?> + + \ No newline at end of file -- cgit