Skip to content
Extraits de code Groupes Projets
Valider 2e1d710e rédigé par cerdic's avatar cerdic
Parcourir les fichiers

utiliser objet_type()

parent 517e9596
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -33,7 +33,7 @@ function inc_chercher_logo_dist($id, $_id_objet, $mode='on') { ...@@ -33,7 +33,7 @@ function inc_chercher_logo_dist($id, $_id_objet, $mode='on') {
function type_du_logo($_id_objet) { function type_du_logo($_id_objet) {
return isset($GLOBALS['table_logos'][$_id_objet]) return isset($GLOBALS['table_logos'][$_id_objet])
? $GLOBALS['table_logos'][$_id_objet] ? $GLOBALS['table_logos'][$_id_objet]
: preg_replace(',^id_,', '', $_id_objet); : objet_type($_id_objet);
} }
// Exceptions standards (historique) // Exceptions standards (historique)
...@@ -41,9 +41,6 @@ global $table_logos; ...@@ -41,9 +41,6 @@ global $table_logos;
$table_logos = array( $table_logos = array(
'id_article' => 'art', 'id_article' => 'art',
'id_auteur' => 'aut', 'id_auteur' => 'aut',
# 'id_breve' => 'breve',
# 'id_mot' => 'mot',
'id_syndic'=> 'site',
'id_rubrique' => 'rub' 'id_rubrique' => 'rub'
); );
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter