[Openfirst-cvscommit] SF.net SVN: openfirst: [233] trunk/src
Brought to you by:
xtimg
|
From: <ast...@us...> - 2007-06-24 02:38:50
|
Revision: 233
http://svn.sourceforge.net/openfirst/?rev=233&view=rev
Author: astronouth7303
Date: 2007-06-23 19:38:52 -0700 (Sat, 23 Jun 2007)
Log Message:
-----------
* Don't show "return to" bit unless there's something to return to.
* Registraytion?
Modified Paths:
--------------
trunk/src/includes/functions/debug.php
trunk/src/includes/sitesettings.tpl
trunk/src/login.php
Modified: trunk/src/includes/functions/debug.php
===================================================================
--- trunk/src/includes/functions/debug.php 2007-06-24 02:31:24 UTC (rev 232)
+++ trunk/src/includes/functions/debug.php 2007-06-24 02:38:52 UTC (rev 233)
@@ -37,7 +37,7 @@
function ofirst_error_handler($errno, $error, $file, $line, $context) {
global $ogDataBaseType, $ogEncryptionType, $ogSiteTitle, $ogVersion,
$ogSQLServer, $ogSQLUser, $ogSQLPassword, $ogSQLDatabase,
- $ogSQLConnection, $ogPasswordSaveEnabled, $ogRegistraytionEnabled, $ogServer,
+ $ogSQLConnection, $ogPasswordSaveEnabled, $ogRegistrationEnabled, $ogServer,
$ogBasePath, $ogfBasePath, $ogHome, $ogStylePath, $ogfStylePath, $ogHeader,
$ogFooter, $ogMailNotify, $ogMailFrom, $ogDB, $osType,
$ogCurrentModule, $ogUser, $lastquery, $usingPHP5;
Modified: trunk/src/includes/sitesettings.tpl
===================================================================
--- trunk/src/includes/sitesettings.tpl 2007-06-24 02:31:24 UTC (rev 232)
+++ trunk/src/includes/sitesettings.tpl 2007-06-24 02:38:52 UTC (rev 233)
@@ -21,7 +21,7 @@
$ogSQLTablePrefix = 'ofirst_';
$ogPasswordSaveEnabled = !(%COOKIE%);
-$ogRegistraytionEnabled = %REG%;
+$ogRegistrationEnabled = %REG%;
$ogServer = %SERVER%;
$ogBasePath = %BASEPATH%;
$ogfBasePath = %FBASEPATH%;
Modified: trunk/src/login.php
===================================================================
--- trunk/src/login.php 2007-06-24 02:31:24 UTC (rev 232)
+++ trunk/src/login.php 2007-06-24 02:38:52 UTC (rev 233)
@@ -41,9 +41,12 @@
if ($ogUser->isLoggedIn()) {
?>
<p>You have successfully logged in!</p>
-
+<?php
+ if (isset($_REQUEST['return'])) {
+ ?>
<p>Return to the <a href="<?php echo htmlentities(@$_REQUEST['return']); ?>">previous page</a>.</p>
-<?php
+ <?php
+ }
} else {
ofShowLogin();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|