From c2325f1e662011f7bd31948ff19491b65d51ac8e Mon Sep 17 00:00:00 2001 From: asperon Date: Sun, 16 Mar 2008 16:38:06 +0000 Subject: [PATCH] Added support for {USER_CUSTOMTITLE} --- e107_files/shortcode/batch/user_shortcodes.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/e107_files/shortcode/batch/user_shortcodes.php b/e107_files/shortcode/batch/user_shortcodes.php index 9b7d593f9..d7ce663f5 100644 --- a/e107_files/shortcode/batch/user_shortcodes.php +++ b/e107_files/shortcode/batch/user_shortcodes.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/user_shortcodes.php,v $ -| $Revision: 1.7 $ -| $Date: 2008-01-06 21:26:25 $ -| $Author: e107steved $ +| $Revision: 1.8 $ +| $Date: 2008-03-16 16:38:06 $ +| $Author: asperon $ +----------------------------------------------------------------------------+ */ if (!defined('e107_INIT')) { exit; } @@ -640,5 +640,10 @@ foreach($arr as $data){ return $ret; SC_END +SC_BEGIN USER_CUSTOMTITLE +global $user; +return $user['user_customtitle']; +SC_END + */ ?> \ No newline at end of file