diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-07-09 22:03:18 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-07-09 22:03:18 +0000 |
| commit | 29294e5695a351b43b32909edac22d10a9631fab (patch) | |
| tree | dd1fe7f459066ac4483497b3aa700e1719e11f91 /index.php | |
| parent | 739893495ebc82d7fec130d0119774ab887d892c (diff) | |
| download | calendar-29294e5695a351b43b32909edac22d10a9631fab.tar.gz calendar-29294e5695a351b43b32909edac22d10a9631fab.tar.bz2 calendar-29294e5695a351b43b32909edac22d10a9631fab.zip | |
clean up ajax library calls by only allowing gBitSystem->loadAjax() instead of assigning loadAjax to the templates. please update your files. also the suggest stuff in the group edit page has a pulse again but it's still in a coma - needs a bit more work
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,6 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.52 2007/07/03 07:36:17 lsces Exp $ +// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.53 2007/07/09 22:03:18 squareing Exp $ // Copyright( c ) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // All Rights Reserved. See copyright.txt for details and a complete list of authors. @@ -136,7 +136,8 @@ for( $i = 0; $i < WEEK_OFFSET; $i++ ) { array_unshift( $dayNames, $pop ); } $gBitSmarty->assign( 'dayNames', $dayNames ); -$gBitSmarty->assign( 'loadAjax', true); +$gBitSystem->loadAjax( 'prototype' ); + // TODO: make this a pref $gBitSmarty->assign( 'trunc', $gBitSystem->getConfig( 'title_truncate', 12 ) ); |
