/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-2013 *
+ * Copyright (c) 2001-2014 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
$url = _debut_urls_simple . $type
. "&" . id_table_objet($type) . "="
- . $id . _terminaison_urls_page;
+ . $id . _terminaison_urls_simple;
if ($args) $args = strpos($url,'?') ? "&$args" : "?$args";
return _DIR_RACINE . $url . $args . ($ancre ? "#$ancre" : '');