Browse Source

Fonction correcte d'urls sur les sites

spip-3.0
marcimat@rezo.net 12 years ago
parent
commit
f568fb1ff6
  1. 2
      .gitattributes
  2. 2
      urls/generer_url_ecrire_site.php

2
.gitattributes vendored

@ -28,4 +28,4 @@ prive/modeles/syndic_article.html -text
prive/style_prive_plugin_syndic.html -text
/sites_autoriser.php -text
/sites_pipelines.php -text
urls/site.php -text
urls/generer_url_ecrire_site.php -text

2
urls/site.php → urls/generer_url_ecrire_site.php

@ -15,7 +15,7 @@ if (!defined("_ECRIRE_INC_VERSION")) return;
// http://doc.spip.org/@generer_url_ecrire_site
function generer_url_ecrire_site($id, $args='', $ancre='', $statut='', $connect='') {
function urls_generer_url_ecrire_site_dist($id, $args='', $ancre='', $statut='', $connect='') {
$a = "id_syndic=" . intval($id);
$h = (!$statut OR $connect)
? generer_url_entite_absolue($id, 'site', $args, $ancre, $connect)
Loading…
Cancel
Save