diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-01 18:42:03 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-01 18:42:03 +0000 |
| commit | bd974e32890c11bad1e3b70f936d3026ef59edbf (patch) | |
| tree | 0dfbb789db4f0a832cdddc8fac72027bba4c6fca /watches.php | |
| parent | b5bf27ddc4ddac64a14fa82c2262acb10b5335cf (diff) | |
| download | users-bd974e32890c11bad1e3b70f936d3026ef59edbf.tar.gz users-bd974e32890c11bad1e3b70f936d3026ef59edbf.tar.bz2 users-bd974e32890c11bad1e3b70f936d3026ef59edbf.zip | |
merge recent changes with HEAD - R1 and HEAD are identical now
Diffstat (limited to 'watches.php')
| -rw-r--r-- | watches.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/watches.php b/watches.php index ee8f0a8..7de5518 100644 --- a/watches.php +++ b/watches.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/watches.php,v 1.2 2005/06/28 07:46:23 spiderr Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/watches.php,v 1.3 2005/08/01 18:42:02 squareing Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: watches.php,v 1.2 2005/06/28 07:46:23 spiderr Exp $ + * $Id: watches.php,v 1.3 2005/08/01 18:42:02 squareing Exp $ * @package users * @subpackage functions */ @@ -19,7 +19,7 @@ include_once( '../bit_setup_inc.php' ); $user = $gBitUser->mUserId; if (!$user) { - $smarty->assign('msg', tra("You must log in to use this feature")); + $gBitSmarty->assign('msg', tra("You must log in to use this feature")); $gBitSystem->display( 'error.tpl' ); die; } @@ -38,13 +38,13 @@ if (isset($_REQUEST['watch'])) { } // Get watch events and put them in watch_events $events = $gBitUser->get_watches_events(); -$smarty->assign('events', $events); +$gBitSmarty->assign('events', $events); // if not set event type then all if (!isset($_REQUEST['event'])) $_REQUEST['event'] = ''; // get all the information for the event $watches = $gBitUser->getWatches( $_REQUEST['event'] ); -$smarty->assign('watches', $watches); +$gBitSmarty->assign('watches', $watches); $gBitSystem->display( 'bitpackage:users/user_watches.tpl'); ?> |
