Commit 1f8d9061 authored by Nigel McNie's avatar Nigel McNie
Browse files

Added the user's current userid to the config information. This is used by the friends javascript.

parent 28d1ba98
......@@ -8,7 +8,8 @@
'theme': {$THEMELIST},
'sesskey' : '{$SESSKEY}',
'wwwroot': '{$WWWROOT}',
'loggedin': {$USER->is_logged_in()|intval}
'loggedin': {$USER->is_logged_in()|intval},
'userid': {$USER->get('id')}
{literal}}{/literal};
</script>
{foreach from=$JAVASCRIPT item=script} <script type="text/javascript" src="{$script}"></script>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment