summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-07-09 22:03:18 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-07-09 22:03:18 +0000
commit29294e5695a351b43b32909edac22d10a9631fab (patch)
treedd1fe7f459066ac4483497b3aa700e1719e11f91 /index.php
parent739893495ebc82d7fec130d0119774ab887d892c (diff)
downloadcalendar-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.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/index.php b/index.php
index 14e976f..a9d1ae9 100644
--- a/index.php
+++ b/index.php
@@ -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 ) );