summaryrefslogtreecommitdiff
path: root/modules/tag
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/tag
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/tag')
-rw-r--r--modules/tag/views/tag_block.html.php2
-rw-r--r--modules/tag/views/tag_cloud.html.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php
index e6f3f35b..9c8f3de5 100644
--- a/modules/tag/views/tag_block.html.php
+++ b/modules/tag/views/tag_block.html.php
@@ -1,4 +1,4 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
+<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="gTagCloud" src="<?= url::site("tags") ?>">
<?= $cloud ?>
</div>
diff --git a/modules/tag/views/tag_cloud.html.php b/modules/tag/views/tag_cloud.html.php
index 6abaf953..9deedb20 100644
--- a/modules/tag/views/tag_cloud.html.php
+++ b/modules/tag/views/tag_cloud.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 ($tags as $tag): ?>
<li class="size<?=(int)(($tag->count / $max_count) * 7) ?>">