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/user | |
| 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/user')
| -rw-r--r-- | modules/user/views/admin_groups.html.php | 2 | ||||
| -rw-r--r-- | modules/user/views/admin_users.html.php | 2 | ||||
| -rw-r--r-- | modules/user/views/login.html.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/user/views/admin_groups.html.php b/modules/user/views/admin_groups.html.php index 1d1e37e6..5b5066dc 100644 --- a/modules/user/views/admin_groups.html.php +++ b/modules/user/views/admin_groups.html.php @@ -1,4 +1,4 @@ -<? defined("SYSPATH") or die("No direct script access."); ?> +<?php defined("SYSPATH") or die("No direct script access.") ?> <div class="gBlock"> <h2><?= _("Group Administration") ?></h2> <div class="gBlockContent"> diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php index 2c6f694a..eef7a1e5 100644 --- a/modules/user/views/admin_users.html.php +++ b/modules/user/views/admin_users.html.php @@ -1,4 +1,4 @@ -<? defined("SYSPATH") or die("No direct script access."); ?> +<?php defined("SYSPATH") or die("No direct script access.") ?> <div class="gBlock"> <h2><?= _("User Administration") ?></h2> <div class="gBlockContent"> diff --git a/modules/user/views/login.html.php b/modules/user/views/login.html.php index 8b024815..951341c9 100644 --- a/modules/user/views/login.html.php +++ b/modules/user/views/login.html.php @@ -1,4 +1,4 @@ -<? defined("SYSPATH") or die("No direct script access."); ?> +<?php defined("SYSPATH") or die("No direct script access.") ?> <ul id="gLoginMenu"> <? if ($user->guest): ?> <li><a href="<?= url::site("login") ?>" |
