From 3e5c281d9e8168656a76f27d980e3f6d2e1ac6a3 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Thu, 13 Oct 2011 15:48:29 -0700 Subject: Starting work on the Add Exception form --- htdocs/css/main.css | 7 ++++++ htdocs/moderate/schedule/editor.php | 45 +++++++++++++------------------------ 2 files changed, 22 insertions(+), 30 deletions(-) diff --git a/htdocs/css/main.css b/htdocs/css/main.css index 831ee18..5e5a1fe 100644 --- a/htdocs/css/main.css +++ b/htdocs/css/main.css @@ -33,6 +33,13 @@ h3 { padding: 0.3em 1em 0.3em 1em; text-decoration: none; border-radius: 5px; + font-size: small; +} + +input.bigbutton { + padding: 0.3em 1em 0.3em 1em; + border: none; + font-size: small; } .smallbutton, .smallbutton:visited { diff --git a/htdocs/moderate/schedule/editor.php b/htdocs/moderate/schedule/editor.php index fe715f7..69dabe1 100644 --- a/htdocs/moderate/schedule/editor.php +++ b/htdocs/moderate/schedule/editor.php @@ -11,7 +11,7 @@ require_once('../../src/base.inc.php'); // Verify User is admin -if (!isset($_SESSION['currentUser']) or !$_SESSION['currentUser']->isAdmin()) { +if (!isset($_SESSION['currentUser'])) { header('Location: ' . buildUrl('moderate/')); exit; } @@ -77,7 +77,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { require_once('../src/header.inc.php'); -echo "

Edit User

"; +echo "

Add Exception

"; if ($error != '') { echo "
$error
"; @@ -85,30 +85,12 @@ if ($error != '') { $url = "editor.php"; -if (isset($_GET['id'])) { - $url .= '?id=' . $_GET['id']; -} - echo "
"; ?> -

-

-

-

-

- -

"; - } -?> +

+

@@ -120,18 +102,21 @@ Notify of posts

"; - - foreach(Source::getSources() as $source) { - if ($source->getId() == $select) { - echo ""; + . $user->getName() .""; } else { - echo ""; + echo ""; } } -- cgit v1.2.3