aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-04-08 13:01:04 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-04-08 13:01:04 +0000
commit96afdb5168c773ce45f1388e2a062a5a050d66b0 (patch)
tree8bb29b87fef526eb2be05443ac3915e2b0559212 /phpBB/ucp.php
parent4801f813cdf07fd029aac9fccea3d8b09d51612e (diff)
downloadforums-96afdb5168c773ce45f1388e2a062a5a050d66b0.tar
forums-96afdb5168c773ce45f1388e2a062a5a050d66b0.tar.gz
forums-96afdb5168c773ce45f1388e2a062a5a050d66b0.tar.bz2
forums-96afdb5168c773ce45f1388e2a062a5a050d66b0.tar.xz
forums-96afdb5168c773ce45f1388e2a062a5a050d66b0.zip
- changed _module_*_url to only use the main module name but the mode as parameter
- custom module lang function now suffixed by _lang - added general custom function with mode and module_row parameter - do not display friends/foes if zebra has been disabled git-svn-id: file:///svn/phpbb/trunk@5767 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-xphpBB/ucp.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index 70b6447324..d9dfc9d1ba 100755
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -249,4 +249,15 @@ $template->set_filenames(array(
page_footer();
+
+/**
+* Function for assigning a template var if the zebra module got included
+*/
+function _module_zebra($mode, &$module_row)
+{
+ global $template;
+
+ $template->assign_var('S_ZEBRA_ENABLED', true);
+}
+
?> \ No newline at end of file