------------------------------------------------------------
revno: 1007
committer: bassel <[email protected]>
branch nick: aikiframework
timestamp: Sat 2012-01-07 21:59:33 +0200
message:
clean up was trying to fix a bug
modified:
libs/Forms.php
libs/input.php
libs/membership.php
libs/widgets.php
--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk
Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'libs/Forms.php'
--- libs/Forms.php 2011-12-11 20:53:28 +0000
+++ libs/Forms.php 2012-01-07 19:59:33 +0000
@@ -836,6 +836,4 @@
} // end of auto_generate function
-} // end of Forms class
-
-?>
+}
\ No newline at end of file
=== modified file 'libs/input.php'
--- libs/input.php 2011-11-17 16:39:35 +0000
+++ libs/input.php 2012-01-07 19:59:33 +0000
@@ -180,6 +180,4 @@
return $text;
}
-} // end of Input class
-
-?>
\ No newline at end of file
+} // end of Input class
\ No newline at end of file
=== modified file 'libs/membership.php'
--- libs/membership.php 2012-01-04 01:33:56 +0000
+++ libs/membership.php 2012-01-07 19:59:33 +0000
@@ -161,7 +161,7 @@
$time_now = time();
-
+
if ( !isset($_SESSION['aikiuser']) and
!isset($_SESSION['guest']) and
!isset($_COOKIE["PHPSESSID"]) ) {
@@ -175,6 +175,7 @@
" AND is_active=1" .
" LIMIT 1");
if ($get_user) {
+
$host_name = $_SERVER['HTTP_HOST'];
$user_ip = $this->get_ip();
@@ -205,7 +206,7 @@
$update_acces = $db->query("UPDATE `aiki_users` SET `first_login`= NOW(),`first_ip`=" .
"'$user_ip' WHERE `userid`='" . $get_user->userid . "' LIMIT 1");
}
-
+
} else {
$aiki->message->set_login_error(__("Wrong username or password."));
}
=== modified file 'libs/widgets.php'
--- libs/widgets.php 2012-01-06 23:39:08 +0000
+++ libs/widgets.php 2012-01-07 19:59:33 +0000
@@ -1294,6 +1294,4 @@
return $records_num;
}
-} // end of CreateLayout Class
-
-?>
+}
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help : https://help.launchpad.net/ListHelp