summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJozef Selesi <jozefs@users.sourceforge.net>2008-11-10 11:40:48 +0000
committerJozef Selesi <jozefs@users.sourceforge.net>2008-11-10 11:40:48 +0000
commitd8c2399b96c1f281013cd7ddc599a9aea6e570c3 (patch)
tree563cfc40ffbb17c6470e7ccda460ad76790dce4f
parent8cb0acbbb0ca512408b688a491c56e88150a5274 (diff)
Prevent direct script access.
-rw-r--r--modules/auth/views/login.html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/auth/views/login.html.php b/modules/auth/views/login.html.php
index e2489db4..417f3903 100644
--- a/modules/auth/views/login.html.php
+++ b/modules/auth/views/login.html.php
@@ -1,3 +1,4 @@
+<? defined("SYSPATH") or die("No direct script access."); ?>
<div id="gLoginMenu">
<? if ($logged_in == false): ?>
<a href="<?=url::site("user/register") ?>"><?= _("Register") ?></a> |
@@ -8,7 +9,7 @@
<!-- @todo integrate this into the theme. -->
<link rel="stylesheet" type="text/css" href="<?=url::base() . "modules/auth/css/login.css" ?>" media="screen,print,projection" />
<div id="gLoginPopup">
- <a id="gLoginPopupClose">x</a>
+ <a id="gLoginPopupClose">x</a>
<form id="gLogin" style="display:none;">
<label for="username">Username</label>
<input type="text" class="text" id="username" />