summaryrefslogtreecommitdiff
path: root/modules/comment/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-01 00:23:29 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-01 00:23:29 +0000
commitcd1d02375400972f2a719852d44c094ab500e8b6 (patch)
tree611f0c01f91b8d0aa1d160f64c7cf170d90c57fb /modules/comment/views
parent7c82691e0057188e07601c30069385c3f17cbff1 (diff)
Change the preamble for views in two ways:
1) drop unnecessary semicolon 2) start with <?php for extra security in the case that the server itself doesn't have short_tags enabled (the app won't work, but we need to make sure that we're still secure)
Diffstat (limited to 'modules/comment/views')
-rw-r--r--modules/comment/views/admin_block_recent_comments.html.php2
-rw-r--r--modules/comment/views/comment.html.php2
-rw-r--r--modules/comment/views/comments.html.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/comment/views/admin_block_recent_comments.html.php b/modules/comment/views/admin_block_recent_comments.html.php
index 76414300..6829d74b 100644
--- a/modules/comment/views/admin_block_recent_comments.html.php
+++ b/modules/comment/views/admin_block_recent_comments.html.php
@@ -1,4 +1,4 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
+<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul>
<? foreach ($comments as $comment): ?>
<li>
diff --git a/modules/comment/views/comment.html.php b/modules/comment/views/comment.html.php
index 19886d28..25cd2caa 100644
--- a/modules/comment/views/comment.html.php
+++ b/modules/comment/views/comment.html.php
@@ -1,4 +1,4 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
+<?php defined("SYSPATH") or die("No direct script access.") ?>
<li id="gComment-<?= $comment->id; ?>">
<p>
<a href="#" class="gAuthor"><?= $comment->author ?></a>
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
index f4b3d6dc..b436fd98 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -1,4 +1,4 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
+<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul>
<? foreach ($comments as $comment): ?>
<li id="gComment-<?= $comment->id; ?>">