cleanup tabs and whites
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<?php # $Id$
|
||||
<?php
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
|
||||
# All rights reserved. See LICENSE file for licensing details
|
||||
|
||||
@ -139,14 +139,14 @@ function serendipity_strftime($format, $timestamp = null, $useOffset = true, $us
|
||||
}
|
||||
$out = strftime($format, $timestamp);
|
||||
break;
|
||||
|
||||
|
||||
case 'persian-utf8':
|
||||
if ($timestamp == null) {
|
||||
$timestamp = serendipity_serverOffsetHour();
|
||||
} elseif ($useOffset) {
|
||||
$timestamp = serendipity_serverOffsetHour($timestamp);
|
||||
}
|
||||
|
||||
|
||||
require_once S9Y_INCLUDE_PATH . 'include/functions_calendars.inc.php';
|
||||
$out = persian_strftime_utf($format, $timestamp);
|
||||
break;
|
||||
@ -184,7 +184,7 @@ function serendipity_formatTime($format, $time, $useOffset = true, $useDate = fa
|
||||
$cache[$format] = str_replace('%e', '%d', $cache[$format]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return serendipity_mb('ucfirst', serendipity_strftime($cache[$format], (int)$time, $useOffset, $useDate));
|
||||
}
|
||||
|
||||
@ -741,7 +741,7 @@ function serendipity_track_referrer($entry = 0) {
|
||||
|
||||
$ts = serendipity_db_get_interval('ts');
|
||||
$interval = serendipity_db_get_interval('interval', 900);
|
||||
|
||||
|
||||
$url_parts['query'] = substr($url_parts['query'], 0, 255);
|
||||
|
||||
$suppressq = "SELECT count(1)
|
||||
|
Reference in New Issue
Block a user