GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffdc8dd
)
Moved [display] event completely to display() function
author
Harvie
<tomas@mudrunka.cz>
Sun, 23 Jan 2011 23:24:03 +0000
(
00:24
+0100)
committer
Harvie
<tomas@mudrunka.cz>
Sun, 23 Jan 2011 23:24:03 +0000
(
00:24
+0100)
wwwroot/inc/eventz/display.inc
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/inc/eventz/display.inc
b/wwwroot/inc/eventz/display.inc
index 9e21c49666ba119b3b08ce0334a3ec31dc9c887b..fe180e462212002b1048022efece71e3af56bfc0 100644
(file)
--- a/
wwwroot/inc/eventz/display.inc
+++ b/
wwwroot/inc/eventz/display.inc
@@
-1,15
+1,10
@@
<?php
function display() {
-
/*global $node,$db,$error,$referer_id
;
+
global $node,$db,$error,$referer_id,$smarty,$permissions
;
if (!$referer_id) $referer_id=1;
$node_id=$node['node_id'];
- $user_id=$_SESSION['user_id'];*/
-
- return false;
-}
-
-//XXX TODO: CELY TOHLE JE HACK A JE POTREBA TO NARVAT DO FUNKCE display() nahore...////
+ $user_id=$_SESSION['user_id'];
if ($permissions['r']) {
@@
-345,3
+340,5
@@
if ($template_id=='2019721'){
}
//end of displaying
+ return false;
+}
This page took
0.132743 seconds
and
4
git commands to generate.