function handler_ical(&$page)
{
function handler_ical(&$page)
{
+ require_once dirname(__FILE__).'/carnet/smarty.php';
$page->changeTpl('carnet/calendar.tpl', NO_SKIN);
$page->changeTpl('carnet/calendar.tpl', NO_SKIN);
+ $page->register_function('display_ical', 'display_ical');
$res = XDB::iterRow(
'SELECT u.prenom,
$res = XDB::iterRow(
'SELECT u.prenom,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-function smarty_function_display_ical($param, &$smarty) {
+function display_ical($param) {
$txt = '';
if (isset($param['name']))
$txt .= strtoupper($param['name']);
$txt = '';
if (isset($param['name']))
$txt .= strtoupper($param['name']);