| ... | ... |
@@ -24,7 +24,7 @@ |
| 24 | 24 |
// ---------------------------------------------------------------------- |
| 25 | 25 |
|
| 26 | 26 |
if(!defined("_CHARSET")) exit( );
|
| 27 |
-if(uLevel > 3) accessDenied(); |
|
| 27 |
+if(uLEVEL > 3) accessDenied(); |
|
| 28 | 28 |
$output .= "<div id=\"pagetitle\">"._NEWS."</div>"; |
| 29 | 29 |
if(isset($_POST['submit'])) {
|
| 30 | 30 |
$title = addslashes(strip_tags(descript($_POST['title']), $allowed_tags)); |
| ... | ... |
@@ -90,7 +90,7 @@ if($nid) {
|
| 90 | 90 |
$c->assign("comment", format_story($comments['comment']));
|
| 91 | 91 |
$c->assign("uname", $comments['penname']);
|
| 92 | 92 |
$c->assign("date", date("$dateformat $timeformat", $comments['date']));
|
| 93 |
- if(isADMIN && uLevel < 4) |
|
| 93 |
+ if(isADMIN && uLEVEL < 4) |
|
| 94 | 94 |
$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>");
|
| 95 | 95 |
$c->assign("oddeven", ($count % 2 ? "odd" : "even"));
|
| 96 | 96 |
$count++; |
| ... | ... |
@@ -137,7 +137,7 @@ else {
|
| 137 | 137 |
$news->assign("skindir", $skindir);
|
| 138 | 138 |
if($newscomments) |
| 139 | 139 |
$news->assign("newscomments", "<a href=\"news.php?action=newsstory&nid=".$stories['nid']."\">".$stories['comments']." "._COMMENTS."</a>");
|
| 140 |
- if(isADMIN && uLevel < 4) |
|
| 140 |
+ if(isADMIN && uLEVEL < 4) |
|
| 141 | 141 |
$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>");
|
| 142 | 142 |
$news->assign("oddeven", ($counter % 2 ? "even" : "odd"));
|
| 143 | 143 |
$counter++; |