require_once('../../plugins/modifier.date_format.php');
$date = smarty_modifier_date_format($x['date'], '%d %b %Y');
$text .= " - (X{$x['promo']}) {$x['prenom']} {$x['nom']} le $date\n";
- $text .= " https://www.polytechnique.org/profile/{$x['bestalias']}?force_login=1\n\n";
- $html .= "<li>(X{$x['promo']}) <a href='https://www.polytechnique.org/profile/{$x['bestalias']}?force_login=1'>{$x['prenom']} {$x['nom']}</a> le $date</li>\n";
+ $text .= " https://www.polytechnique.org/profile/private/{$x['bestalias']}\n\n";
+ $html .= "<li>(X{$x['promo']}) <a href='https://www.polytechnique.org/profile/private/{$x['bestalias']}'>{$x['prenom']} {$x['nom']}</a> le $date</li>\n";
}
$text .= "\n";
$html .= "</ul>\n";
'fiche.php' => $this->make_hook('fiche', AUTH_PUBLIC),
'profile' => $this->make_hook('profile', AUTH_PUBLIC),
+ 'profile/private' => $this->make_hook('profile', AUTH_MDP),
'profil.php' => $this->make_hook('p_edit', AUTH_MDP),
'profile/edit' => $this->make_hook('p_edit', AUTH_MDP),
'profile/orange' => $this->make_hook('p_orange', AUTH_MDP),
<title>
[{$notifs->_cats[$cid].short}] {$x.prenom} {$x.nom} ({$x.promo}) - le {$x.date|date_format|utf8_encode}
</title>
- <link>{#globals.baseurl#}/profile/{$x.bestalias}?force_login=1</link>
+ <link>{#globals.baseurl#}/profile/private/{$x.bestalias}</link>
<description><![CDATA[
{if !$x.contact and !$x.dcd}
<a href="{#globals.baseurl#}/carnet/contacts?action=ajouter&user={$x.bestalias}">