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 /themes/admin_default | |
| 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 'themes/admin_default')
| -rw-r--r-- | themes/admin_default/views/admin.html.php | 2 | ||||
| -rw-r--r-- | themes/admin_default/views/block.html.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php index 541d4e35..1fa70d5b 100644 --- a/themes/admin_default/views/admin.html.php +++ b/themes/admin_default/views/admin.html.php @@ -1,4 +1,4 @@ -<? defined("SYSPATH") or die("No direct script access."); ?> +<?php defined("SYSPATH") or die("No direct script access.") ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tranisitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> diff --git a/themes/admin_default/views/block.html.php b/themes/admin_default/views/block.html.php index 56565758..42d09196 100644 --- a/themes/admin_default/views/block.html.php +++ b/themes/admin_default/views/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="<?= $id ?>" class="gBlock"> <h2><?= $title ?></h2> <div class="gBlockContent"> |
