GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed "last" constant
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
smarty
/
node_methodz
/
function.get_last.php
diff --git
a/wwwroot/inc/smarty/node_methodz/function.get_last.php
b/wwwroot/inc/smarty/node_methodz/function.get_last.php
index 85a016a8693e3636a2ab2c58c0c6f4d9bd63f032..cc29ea54f105101911e56143f1a12b63ae63f262 100644
(file)
--- a/
wwwroot/inc/smarty/node_methodz/function.get_last.php
+++ b/
wwwroot/inc/smarty/node_methodz/function.get_last.php
@@
-1,5
+1,6
@@
<?php
<?php
+# XXX remove constants and move to backend
function smarty_function_get_last($params,&$smarty) {
if ($params['listing_amount']=='all') $listing_amount='-1';
function smarty_function_get_last($params,&$smarty) {
if ($params['listing_amount']=='all') $listing_amount='-1';
@@
-10,7
+11,7
@@
global $db,$node;
if ($node['node_id']==23) {
global $db,$node;
if ($node['node_id']==23) {
- $interval=" nodes.node_created>NOW()-INTERVAL
23
HOUR and";
+ $interval=" nodes.node_created>NOW()-INTERVAL
65
HOUR and";
$params['vector']="00";
}
$params['vector']="00";
}
@@
-32,4
+33,4
@@
$smarty->assign('get_last',$pole);
}
$smarty->assign('get_last',$pole);
}
-?>
\ No newline at end of file
+?>
This page took
0.103763 seconds
and
4
git commands to generate.