fix error with wrong case sensitive name
--- a/admin/news.php
+++ b/admin/news.php
@@ -24,7 +24,7 @@
// ----------------------------------------------------------------------
if(!defined("_CHARSET")) exit( );
-if(uLevel > 3) accessDenied();
+if(uLEVEL > 3) accessDenied();
$output .= "<div id=\"pagetitle\">"._NEWS."</div>";
if(isset($_POST['submit'])) {
$title = addslashes(strip_tags(descript($_POST['title']), $allowed_tags));
--- a/news.php
+++ b/news.php
@@ -90,7 +90,7 @@
$c->assign("comment", format_story($comments['comment']));
$c->assign("uname", $comments['penname']);
$c->assign("date", date("$dateformat $timeformat", $comments['date']));
- if(isADMIN && uLevel < 4)
+ if(isADMIN && uLEVEL < 4)
$c->assign("adminoptions", "<div class='adminoptions'><span class='label'>"._ADMINOPTIONS.":</span> [<a href=\"news.php?action=newsstory&edit=".$comments['cid']."&nid=$nid\">"._EDIT."</a>] [<a href=\"news.php?action=newsstory&cid=".$comments['cid']."&del=1&nid=$nid\">"._DELETE."</a>]</div>");
$c->assign("oddeven", ($count % 2 ? "odd" : "even"));
$count++;
@@ -137,7 +137,7 @@
$news->assign("skindir", $skindir);
if($newscomments)
$news->assign("newscomments", "<a href=\"news.php?action=newsstory&nid=".$stories['nid']."\">".$stories['comments']." "._COMMENTS."</a>");
- if(isADMIN && uLevel < 4)
+ if(isADMIN && uLEVEL < 4)
$news->assign("adminoptions", "<a href=\"admin.php?action=news&form=".$stories['nid']."\">"._EDIT."</a> | <a href=\"admin.php?action=news&delete=".$stories['nid']."\">"._DELETE."</a>");
$news->assign("oddeven", ($counter % 2 ? "even" : "odd"));
$counter++;