Changeset 65365 in spip-zone
- Timestamp:
- Aug 29, 2012, 2:46:11 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/videos/trunk/formulaires/insertion_video.php
r65364 r65365 94 94 if(array_key_exists('credits',$desc['field'])) if($infosVideo) $champs['credits'] = $infosVideo->author; 95 95 if(array_key_exists('statut',$desc['field'])) $champs['statut'] = 'publie'; 96 if(array_key_exists('media',$desc['field'])) $champs['media'] = 'video'; 96 97 97 98 /* Cas de la présence d'une vignette à attacher */ … … 100 101 if($fichier = preg_replace("#IMG/#", '', copie_locale($logoDocument))){ // set_spip_doc ne fonctionne pas... Je ne sais pas pourquoi 101 102 $champsVignette['fichier'] = $fichier; 102 $champsVignette['mode'] = 'vignette'; 103 // $champsVignette['media'] = 'image'; // champs à intégrer ds SPIP 3 104 // $champsVignette['statut'] = 'publie'; 103 $champsVignette['mode'] = 'vignette'; 104 // champs extra à intégrer ds SPIP 3 105 if(array_key_exists('statut',$desc['field'])) $champsVignette['statut'] = 'publie'; 106 if(array_key_exists('media',$desc['field'])) $champsVignette['media'] = 'image'; 107 105 108 106 109 // Recuperer les tailles
Note: See TracChangeset
for help on using the changeset viewer.