From be071aeb7565e46c670a6d9486a1f1b8a06971ab Mon Sep 17 00:00:00 2001 From: jhunkeler Date: Sun, 20 Dec 2009 23:29:11 +0000 Subject: Bug fix to modules.php. git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@381 c5b2fb0a-d05d-0410-98c8-828840a80ff6 --- admin/admins/functions.php | 30 ++++++++++++++++++++++++++++++ admin/index.php | 2 +- blocks/rss_agw/index.php | 14 +++++++++++--- modules.php | 2 +- 4 files changed, 43 insertions(+), 5 deletions(-) diff --git a/admin/admins/functions.php b/admin/admins/functions.php index 031bd05..495dfdd 100644 --- a/admin/admins/functions.php +++ b/admin/admins/functions.php @@ -40,6 +40,36 @@ function NewAdmin() { $maxLevel = $_SESSION['level']; +?> +
Cancel
+
+
+ + + + + + + + + + + + +
Username:
First Name:
Last Name:
Email Address:
Level: + +
+ +
+
+
+. */ - session_start(); +session_start(); include '../includes/debug.php'; include '../includes/config.php'; diff --git a/blocks/rss_agw/index.php b/blocks/rss_agw/index.php index 83c3ff1..c811ecc 100644 --- a/blocks/rss_agw/index.php +++ b/blocks/rss_agw/index.php @@ -1,11 +1,17 @@ load('http://www.armedglobalwarfare.com/index.php?type=rss;action=.xml;limit=30'); + $rss->load('http://www.armedglobalwarfare.com/index.php?type=rss;action=.xml;limit=150'); $items = $rss->getItems(); #returns all rss items @@ -14,9 +20,11 @@ foreach($items as $story){ if($story['category']=="Tournament Announcements"){ $numFeeds++; + // $text = $story['description']; + // $text = preg_replace("(\[font(.+?)...)","",$text); echo "{$story['title']}
- {$story['pubDate']}
- {$story['description']}

"; + {$story['pubDate']}
"; + echo "{$text}

"; } } if(!$numFeeds){ diff --git a/modules.php b/modules.php index 5eaf705..9cd6350 100644 --- a/modules.php +++ b/modules.php @@ -59,7 +59,7 @@ if(!empty($error_stack_messages)) $messageBuffer = NULL; foreach($error_stack_messages as $order => $error) { - $messageBuffer .= "

Stack Order:$order
$error

"; + $messageBuffer .= "

Stack Order: $order
$error

"; } ReportError($messageBuffer); //exit(1); -- cgit