diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-01-01 00:23:29 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-01 00:23:29 +0000 |
| commit | cd1d02375400972f2a719852d44c094ab500e8b6 (patch) | |
| tree | 611f0c01f91b8d0aa1d160f64c7cf170d90c57fb /modules/comment/views | |
| parent | 7c82691e0057188e07601c30069385c3f17cbff1 (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.php | 2 | ||||
| -rw-r--r-- | modules/comment/views/comment.html.php | 2 | ||||
| -rw-r--r-- | modules/comment/views/comments.html.php | 2 |
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; ?>"> |
