php 5.5 related adjustments

This commit is contained in:
Latif Khalifa
2014-04-28 18:41:50 +02:00
parent 95602b2597
commit 0fb8c80b0b
8 changed files with 22 additions and 21 deletions

View File

@@ -32,7 +32,7 @@
class Layout
{
function getLoginGateway()
static function getLoginGateway()
{
$assoc_handle_expires = (int)Option::get('assoc_handle_expires');
$now = time();
@@ -53,7 +53,7 @@ class Layout
return GoogleOpenID::createRequest(URL_ROOT . "/process_login.php", $handle, true);
}
function since($since)
static function since($since)
{
$since = time() - $since;
$chunks = array(
@@ -175,7 +175,7 @@ class Layout
<?php
}
function footer()
static function footer()
{
{ ?>
<div style="margin-top:10px; padding: 5px;" class="ui-widget-header ui-corner-all">