Changeset 109909 in spip-zone
- Timestamp:
- Apr 16, 2018, 12:36:03 PM (3 years ago)
- Location:
- _core_/plugins/sites
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/plugins/sites/genie/syndic.php
r109849 r109909 136 136 137 137 $methode_syndication = 'atomrss'; 138 $syndic = charger_fonction($methode_syndication, 'syndic'); 138 if (preg_match(',^(\w+:)\w+://,', $url_syndic, $m)) { 139 $methode_syndication = rtrim($m[1], ':'); 140 $url_syndic = substr($url_syndic, strlen($m[1])); 141 } 142 143 144 if (!$syndic = charger_fonction($methode_syndication, 'syndic', true)) { 145 spip_log("methode syndication $methode_syndication inconnue pour $url_syndic", 'sites' . _LOG_ERREUR); 146 return _T('sites:erreur_methode_syndication_inconnue', array('methode' => $methode_syndication)); 147 } 139 148 $items = $syndic($url_syndic); 140 149 -
_core_/plugins/sites/lang/sites_fr.php
r97169 r109909 40 40 'erreur_fichier_format_inconnu' => 'Le format du fichier @fichier@ n’est pas pris en charge.', 41 41 'erreur_fichier_incorrect' => 'Impossible de lire le fichier.', 42 'erreur_methode_syndication_inconnue' => 'Methode de syndication @methode@ inconnue', 42 43 43 44 // F
Note: See TracChangeset
for help on using the changeset viewer.