<?php
/***************************************************************************
- * Copyright (C) 2003-2004 Polytechnique.org *
+ * Copyright (C) 2003-2006 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
function webredirect_prefs()
{
- $text = "Tu peux configurer tes redirections WEB http://www.carva.org/" . Session::get('bestalias');
- if (Session::get('forlife') != Session::get('bestalias')) {
- $text .= ' et http://www.carva.org/'.Session::get('forlife');
+ $text = "Tu peux configurer tes redirections WEB http://www.carva.org/" . S::v('bestalias');
+ if (S::v('forlife') != S::v('bestalias')) {
+ $text .= ' et http://www.carva.org/'.S::v('forlife');
}
return Array(
Array(
- 'url' => 'webredirect.php',
+ 'url' => 'prefs/webredirect',
'title' => 'Ma redirection de page WEB',
'text' => $text,
'weight' => 60