Changeset 49195 in spip-zone
- Timestamp:
- Jul 1, 2011, 2:58:10 AM (10 years ago)
- Location:
- _plugins_/acs
- Files:
-
- 4 added
- 1 deleted
- 31 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/acs/acs_style_prive.css.html
r48965 r49195 22 22 #SET{claire,##ENV{couleur_claire,edf3fe}} 23 23 #SET{foncee,##ENV{couleur_foncee,3874b0}} 24 25 [(#REM) On DOIT redéfinir la couleur du body pour overrider la couleur définie 26 dans la feuille de style du modèle, qui est chargée. 27 ]body { 28 background: #ffffff; 29 } 24 30 25 31 table { margin: 0; padding: 0; border-collapse: collapse; border-spacing:0; border: 1px;} … … 187 193 .onlinehelp { 188 194 color: #GET{foncee}; 195 cursor: default; 189 196 } 190 197 … … 196 203 vertical-align: top; 197 204 cursor:pointer; 205 } 206 207 .contexthelp { 208 z-index: 99999; 209 #LANG_RIGHT: 0; 210 margin: 0; 211 margin-left: 10px; 212 margin-right: 10px; 213 padding: 5px; 214 background: #fffefd; 215 border: thin outset #GET{foncee}; 216 border-radius: 5px; 217 -moz-border-radius: 5px; 218 -webkit-border-radius: 5px; 219 -khtml-border-radius: 5px; 220 border-radius-topright: 0; 221 -moz-border-radius-topright: 0; 222 -webkit-border-radius-topright: 0; 223 -khtml-border-radius-topright: 0; 224 box-shadow: 2px 2px 5px #dfdfdf; 225 -webkit-box-shadow: 2px 2px 5px #dfdfdf; 226 -moz-box-shadow: 2px 2px 5px #dfdfdf; 198 227 } 199 228 -
_plugins_/acs/inc/acs_pipeline_ecrire.php
r46711 r49195 26 26 27 27 function acs_header_prive($flux) { 28 $url_css = '../spip.php?page=acs_style_prive.css&couleur_foncee='.substr($GLOBALS['couleur_foncee'],1).'&couleur_claire='.substr($GLOBALS['couleur_claire'],1);29 $r = '<link rel="stylesheet" href="'.$url_css.'" type="text/css" media="projection, screen, tv" />';30 28 $model =$GLOBALS['meta']['acsModel']; 31 29 $css_model = find_in_path($model.'.css.html'); 30 $r = ''; 32 31 if ($css_model) 33 32 $r .= '<link rel="stylesheet" href="../spip.php?page='.$model.'.css&v='.$GLOBALS["meta"]["acsDerniereModif"].'" type="text/css" media="projection, screen, tv" />'; 33 34 // On ajoute le style privé APRES la feuille de style du modèle pour pouvoir 35 // overrider ce qui pourrait perturber l'interface privee, comme par exemple la couleur du <body> 36 $url_css = '../spip.php?page=acs_style_prive.css&couleur_foncee='.substr($GLOBALS['couleur_foncee'],1).'&couleur_claire='.substr($GLOBALS['couleur_claire'],1); 37 $r .= '<link rel="stylesheet" href="'.$url_css.'" type="text/css" media="projection, screen, tv" />'; 38 34 39 $js_model = find_in_path($model.'.js.html'); 35 40 if ($js_model) -
_plugins_/acs/inc/acs_presentation.php
r48965 r49195 71 71 72 72 function acs_help_call($id) { 73 return '<img src="'._DIR_PLUGIN_ACS.'images/aide.gif" onmouseover=\'$("#'.$id.'").slideToggle("slow");\' onclick=\'$("#'.$id.'").slideToggle("slow");\' style="cursor: pointer;" title="'._T('icone_aide_ligne').'" align="right"/>';73 return '<img src="'._DIR_PLUGIN_ACS.'images/aide.gif" onmouseover=\'$("#'.$id.'").slideToggle("slow");\' onclick=\'$("#'.$id.'").slideToggle("slow");\' style="cursor:help;" title="'._T('icone_aide_ligne').'" align="right"/>'; 74 74 } 75 75 76 76 function acs_help_div($id, $help) { 77 return '<div id="'.$id.'" class=" onlinehelp pliable" style="text-align: justify" onclick=\'$("#'.$id.'").slideToggle("slow");\'>'.$help.'</div>';77 return '<div id="'.$id.'" class="contexthelp onlinehelp pliable" style="text-align: justify" onclick=\'$("#'.$id.'").slideToggle("slow");\'>'.$help.'</div>'; 78 78 } 79 79 -
_plugins_/acs/inc/composant/classComposantPrive.php
r49169 r49195 340 340 $r .= '<div align="'.$GLOBALS['spip_lang_right'].'" style ="font-weight: normal"><label>'._T('acs:use').' '.$nc.' '.$this->nic.' : </label>'; 341 341 // acs_bouton_radio($nom, $valeur, $titre, $actif = false, $onClick="", $enable=true) 342 $r .= acs_bouton_radio($varname, "oui", _T(' item_oui'), $var == "oui", "changeVisible(this.checked, '$varconf', 'block', 'none');",$this->enable);343 $r .= acs_bouton_radio($varname, "non", _T(' item_non'), $var == "non", "changeVisible(this.checked, '$varconf', 'none', 'block');",$this->enable);342 $r .= acs_bouton_radio($varname, "oui", _T('acs:oui'), $var == "oui", "changeVisible(this.checked, '$varconf', 'block', 'none');",$this->enable); 343 $r .= acs_bouton_radio($varname, "non", _T('acs:non'), $var == "non", "changeVisible(this.checked, '$varconf', 'none', 'block');",$this->enable); 344 344 $r .= '</div>'; 345 345 } -
_plugins_/acs/inc/composant/classControles.php
r48965 r49195 6 6 # Copyright Daniel FAIVRE, 2007-2011 7 7 # Copyleft: licence GPL - Cf. LICENCES.txt 8 9 include_spip('inc/acs_presentation'); 8 10 9 11 /** … … 28 30 protected $wid; 29 31 protected $var; 32 protected $help; 30 33 31 34 public function __construct($composant, $nic, $nom, $value, $param, $wid) { … … 36 39 $this->param = $param; 37 40 $this->wid = $wid; 41 38 42 $this->var = 'acs'.ucfirst($composant).$nic.$nom; 43 44 $help_src = $nom.'Help'; 45 $help = _TC($composant, $help_src); 46 $this->help = ($help != $help_src) ? $help : false; 39 47 } 40 48 … … 57 65 else 58 66 $color = meta_recursive($GLOBALS['meta'], $this->var); 59 return '<div align="'.$GLOBALS['spip_lang_right'].'"><table><tr><td align="'.$GLOBALS['spip_lang_right'].'"> <label for "'.$this->var.'_'.$this->wid.'" title="'.$this->var.'" class="label">'._TC($this->composant, $this->nom).'</label> </td><td><input type="text" class="palette" id="'.$this->var.'" name="'.$this->var.'_'.$this->wid.'" size="16" value="'.$this->value.'" style="background: '.$color.'"></td></tr></table></div>'; 67 $r = '<div align="'.$GLOBALS['spip_lang_right'].'"><table><tr><td align="'.$GLOBALS['spip_lang_right'].'"> <label for "'.$this->var.'_'.$this->wid.'" title="'.$this->var.'" class="label">'._TC($this->composant, $this->nom).'</label> </td><td><input type="text" class="palette" id="'.$this->var.'" name="'.$this->var.'_'.$this->wid.'" size="16" value="'.$this->value.'" style="background: '.$color.'"></td>'.($this->help ? '<td> </td><td>'.acs_help_call($this->var.'Help').'</td>' : '').'</tr></table></div>'; 68 if ($this->help) 69 $r .= acs_help_div($this->var.'Help', $this->help); 70 return $r; 60 71 } 61 72 } … … 78 89 $r .= '<td align="'.$GLOBALS['spip_lang_right'].'"> <label for "'.$this->var.'_'.$this->wid.'" title="'.$this->var.'" class="label">'._TC($this->composant, $this->nom).'</label> </td>'; 79 90 $r .= '<td><input type="text" id="'.$this->var.'_'.$this->wid.'" name="'.$this->var.'_'.$this->wid.'"'.(is_array($s) ? ' title="'.$s[0].'x'.$s[1].'"' : '').' value="'.$this->value.'" size="40" class="forml" /></td>'; 80 $r .= '<td> </td><td><a href="javascript:TFP.popup(document.forms[\'acs\'].elements[\''.$this->var.'_'.$this->wid.'\'], document.forms[\'acs\'].elements[\''.$this->var.'_'.$this->wid.'\'].value, \''.$path.'\', \''._DIR_RACINE.'\');" title="'._T('acs:choix_image').'"><img src="'._DIR_ACS.'images/folder_image.png" class="icon" alt="'._T('acs:choix_image').'" /></a>'.$err.'</td></tr></table></div>'; 91 $r .= '<td> </td><td><a href="javascript:TFP.popup(document.forms[\'acs\'].elements[\''.$this->var.'_'.$this->wid.'\'], document.forms[\'acs\'].elements[\''.$this->var.'_'.$this->wid.'\'].value, \''.$path.'\', \''._DIR_RACINE.'\');" title="'._T('acs:choix_image').' '.$this->var.'"><img src="'._DIR_ACS.'images/folder_image.png" class="icon" alt="'._T('acs:choix_image').' '.$this->var.'" /></a>'.$err.'</td>'.($this->help ? '<td> </td><td>'.acs_help_call($this->var.'Help').'</td>' : '').'</tr></table></div>'; 92 if ($this->help) 93 $r .= acs_help_div($this->var.'Help', $this->help); 81 94 return $r; 82 95 } … … 112 125 <td>'.$ctlLargeurBord->draw().'</td> 113 126 <td>'.$ctlStyleBord->draw().'</td>'. 127 ($this->help ? '<td> </td><td>'.acs_help_call($this->var.'Help').'</td>' : ''). 114 128 '</tr></table>'; 129 if ($this->help) 130 $r .= acs_help_div($this->var.'Help', $this->help); 115 131 return $r; 116 132 } … … 143 159 '<option value="10px"'.($largeur=="10px" ? ' selected' : '').' title="10px">10px</option>'. 144 160 '<option value="15px"'.($largeur=="15px" ? ' selected' : '').' title="15px">15px</option>'. 145 '</select></td></tr></table></div>'; 161 '</select></td>'.($this->help ? '<td> </td><td>'.acs_help_call($this->var.'Help').'</td>' : '').'</tr></table></div>'; 162 if ($this->help) 163 $r .= acs_help_div($this->var.'Help', $this->help); 146 164 return $r; 147 165 } … … 174 192 '<option value="inset"'.($style=="inset" ? ' selected' : '').' title="'._T('acs:inset').'">inset</option>'. 175 193 '<option value="outset"'.($style=="outset" ? ' selected' : '').' title="'._T('acs:outset').'">outset</option>'. 176 '</select></td></tr></table></div>'; 194 '</select></td>'.($this->help ? '<td> </td><td>'.acs_help_call($this->var.'Help').'</td>' : '').'</tr></table></div>'; 195 if ($this->help) 196 $r .= acs_help_div($this->var.'Help', $this->help); 177 197 return $r; 178 198 } … … 196 216 '<option value="fantasy"'.($style=="fantasy" ? ' selected' : '').' title="'._T('acs:fantasy').'">fantasy</option>'. 197 217 '<option value="monotype"'.($style=="monotype" ? ' selected' : '').' title="'._T('acs:monotype').'">monotype</option>'. 198 '</select></td></tr></table></div>'; 218 '</select></td>'.($this->help ? '<td> </td><td>'.acs_help_call($this->var.'Help').'</td>' : '').'</tr></table></div>'; 219 if ($this->help) 220 $r .= acs_help_div($this->var.'Help', $this->help); 199 221 return $r; 200 222 } … … 213 235 if ($this->param['label'] != 'non') 214 236 $r .= '<td align="'.$GLOBALS['spip_lang_right'].'"> <label for "'.$this->var.'_'.$this->wid.'" title="'.$this->var.'" class="label">'._TC($this->composant, $this->nom).'</label> </td>'; 215 $r .= '<td><input id="'.$this->var.'" type="text" name="'.$this->var.'_'.$this->wid.'" size="'.$this->param['taille'].'" maxlength="'.$this->param['taille'].'" class="forml" value="'.htmlspecialchars($this->value).'" /></td></tr></table>'; 237 $r .= '<td><input id="'.$this->var.'" type="text" name="'.$this->var.'_'.$this->wid.'" size="'.$this->param['taille'].'" maxlength="'.$this->param['taille'].'" class="forml" value="'.htmlspecialchars($this->value).'" /></td>'.($this->help ? '<td> </td><td>'.acs_help_call($this->var.'Help').'</td>' : '').'</tr></table>'; 238 if ($this->help) 239 $r .= acs_help_div($this->var.'Help', $this->help); 216 240 return $r; 217 241 } … … 227 251 class ctlTextarea extends Controle { 228 252 public function draw() { 229 return '<div align="'.$GLOBALS['spip_lang_left'].'"><label for "'.$this->var.'_'.$this->wid.'" title="'.$this->var.'">'._TC($this->composant, $this->nom).'</label><textarea name="'.$this->var.'_'.$this->wid.'" class="forml" rows="'.(isset($this->param['lines']) ? $this->param['lines']-1 : 2).'">'.$txt.'</textarea></div>'; 253 $r = '<div align="'.$GLOBALS['spip_lang_left'].'"><label for "'.$this->var.'_'.$this->wid.'" title="'.$this->var.'">'._TC($this->composant, $this->nom).'</label><textarea name="'.$this->var.'_'.$this->wid.'" class="forml" rows="'.(isset($this->param['lines']) ? $this->param['lines']-1 : 2).'">'.$txt.'</textarea></div>'; 254 if ($this->help) 255 $r .= acs_help_div($this->var.'Help', $this->help); 256 return $r; 230 257 } 231 258 } … … 249 276 case 'oui': 250 277 case 'yes'; 251 $label = _T(' item_oui');278 $label = _T('acs:oui'); 252 279 break; 253 280 case 'non': 254 281 case 'no': 255 $label = _T(' item_non');282 $label = _T('acs:non'); 256 283 break; 257 284 default: … … 268 295 ).' <td>'; 269 296 } 270 $r .= '</tr></table>'; 297 $r .= ($this->help ? '<td> </td><td>'.acs_help_call($this->var.'Help').'</td>' : '').'</tr></table>'; 298 if ($this->help) 299 $r .= acs_help_div($this->var.'Help', $this->help); 271 300 return $r; 272 301 } … … 283 312 public function draw() { 284 313 $ctl = new ctlChoix($this->composant, $this->nic, $this->nom, (($GLOBALS['meta'][nomvar($this->composant, $this->nic, $this->nom)] == 'oui') ? 'oui' : 'non'), array('option' => array('oui', 'non')), $this->wid); 285 return $ctl->draw(); 314 $r = $ctl->draw(); 315 if ($this->help) 316 $r .= acs_help_div($this->var.'Help', $this->help); 317 return $r; 286 318 } 287 319 } … … 323 355 } 324 356 } 325 $r .= '</select></td></tr></table></div>'; 357 $r .= '</select></td>'.($this->help ? '<td> </td><td>'.acs_help_call($this->var.'Help').'</td>' : '').'</tr></table></div>'; 358 if ($this->help) 359 $r .= acs_help_div($this->var.'Help', $this->help); 326 360 return $r; 327 361 } … … 353 387 $r .= '<option value="'.$id_groupe.'"'.($id_groupe == $vid_group ? ' selected' : '').'>'.$titre_groupe.'</option>'; 354 388 } 355 $r .= '</select></td></tr></table></div>'; 389 $r .= '</select></td>'.($this->help ? '<td> </td><td>'.acs_help_call($this->var.'Help').'</td>' : '').'</tr></table></div>'; 390 if ($this->help) 391 $r .= acs_help_div($this->var.'Help', $this->help); 356 392 return $r; 357 393 } … … 384 420 } 385 421 $r .= '</select></div></td>'; 386 $r .= '</tr></table>'; 422 $r .= ($this->help ? '<td> </td><td>'.acs_help_call($this->var.'Help').'</td>' : '').'</tr></table>'; 423 if ($this->help) 424 $r .= acs_help_div($this->var.'Help', $this->help); 387 425 return $r; 388 426 } … … 404 442 /** 405 443 * \~french 406 * Retourne la traduction spécifique au composant, 407 * une traduction par défaut, ou le texte444 * Retourne la traduction spécifique au composant, ou sinon une traduction par 445 * défaut, ou sinon, le texte. 408 446 */ 409 447 function _TC($composant, $texte) { … … 411 449 $t = _T('acs:'.$composant.'_'.$texte); 412 450 if ($t != str_replace('_', ' ', $composant.'_'.$texte)) 413 return str_replace(' ', ' ', $t);451 return $t; 414 452 // traduction ACS generique 415 453 $t = _T('acs:'.strtolower($texte)); 416 if ($t != str_replace('_', ' ', $texte))417 return str_replace(' ', ' ', $t);454 if ($t != str_replace('_', ' ', strtolower($texte))) 455 return $t; 418 456 // traduction SPIP generique 419 457 $t = _T(strtolower($texte)); 420 if ($t != str_replace('_', ' ', $texte))421 return str_replace(' ', ' ', $t);458 if ($t != str_replace('_', ' ', strtolower($texte))) 459 return $t; 422 460 return $texte; 423 461 } -
_plugins_/acs/javascript/acs_ecrire.js.html
r48987 r49195 59 59 else 60 60 jQuery(".pliable:not(.spip_params)").each(function(i) {jQuery(this).hide();}); 61 62 [(#REM) Attribue une position absolue à l'aide contextuelle 63 ]jQuery(".contexthelp").css('position', 'absolute'); 61 64 62 65 if (ajax == false) { [(#REM) on document ready] -
_plugins_/acs/lang/acs_variables_en.php
r45452 r49195 13 13 $GLOBALS[$GLOBALS['idx_lang']] = array( 14 14 'use' => 'Use', 15 16 'oui' => 'Yes', 17 'non' => 'No', 15 18 16 19 'fond' => 'Background', -
_plugins_/acs/lang/acs_variables_fr.php
r46711 r49195 13 13 $GLOBALS[$GLOBALS['idx_lang']] = array( 14 14 'use' => 'Utiliser', 15 16 'oui' => 'Oui', 17 'non' => 'Non', 15 18 16 19 'fond' => ' Fond', // astuce : non traduit sans l'espace devant, car identique -
_plugins_/acs/models/cat/article.html
r48965 r49195 1 [(#CACHE{ 86400})][(#REM)1 [(#CACHE{0})][(#REM) 2 2 ACS 3 3 (Plugin Spip) … … 12 12 These page design could depend on a keyword: click <u><a href="?exec=acs&onglet=pages&pg=composants/articles/page-article">here</a></u> to define page content. 13 13 14 ][(#CONFIG{langues_utilisees}|detecte_langue{#SELF})][(#VAR{acsArticlesLock}|=={oui}|?{' '})[(#INCLURE{fond=composants/articles/test-acces-page}{env}{self})]][(#VAR{acsArticlesLock}|!={oui}|?{' '})[(#INCLURE{fond=composants/articles/test- page}{id_article}{env}{self})]]14 ][(#CONFIG{langues_utilisees}|detecte_langue{#SELF})][(#VAR{acsArticlesLock}|=={oui}|?{' '})[(#INCLURE{fond=composants/articles/test-acces-page}{env}{self})]][(#VAR{acsArticlesLock}|!={oui}|?{' '})[(#INCLURE{fond=composants/articles/test-style-page}{id_article}{env}{self})]] -
_plugins_/acs/models/cat/composants/articles/ecrire/lang/articles_ecrire_en.php
r48798 r49195 8 8 'info' => 'Appearance and behaviour depends on the page in which Articles component is inserted. 9 9 <br /><br /> 10 Colors 2 to 6 are for rubrics level 2 to 6 in sitemap 11 <br /><br /> 12 Access control limit access to articles tagged with keyword _ide, _aut, _adm, or _acs to registered members, authors, administrators, and ACS administrors. 13 <br /><br /> 14 The content of the article page can depend on a keyword from a keyword group choosed here.', 10 Colors 2 to 6 are for rubrics level 2 to 6 in sitemap.', 15 11 16 12 'StylePage' => 'Page style', 13 'StylePageHelp' => 'Article page can depend on a keyword from a keyword group choosed here.', 17 14 18 15 'Bord' => 'Border top', … … 26 23 'Stats' => 'Visits', 27 24 'Lock' => 'Access control', 28 'Added' => 'Added', 29 'Deleted' => 'Deleted', 25 'LockHelp' => 'Limit access to articles with keyword _ide, _aut, _adm ou _acs, to logged visitors, authors, administrators, or to ACS administrators.', 26 'Added' => 'Added since last revision', 27 'Deleted' => 'Deleted since last revision', 30 28 31 29 'Pagination' => 'Articles per page', -
_plugins_/acs/models/cat/composants/articles/ecrire/lang/articles_ecrire_fr.php
r48985 r49195 13 13 <br /> 14 14 Apparence d\'un article. 15 <br />16 <br />17 La fonction contrôle d\'accès limite l\'accès aux articles avec mot-clé18 _ide, _aut, _adm ou _acs aux visiteurs enregistrés, aux rédacteurs, aux administrateurs, ou aux administrateurs ACS.19 <br /><br />20 La page article peut dépendre d\'un mot-clé: dans ce cas, la page article contiendra l\'instance de composant Cadre de numéro nn défini par une balise <nic-page=nn> dans le champ description du mot clé choisi pour cet article dans le groupe des mots-clefs de styles de pages article, ou à défaut le cadre n° 2100 si aucun mot-clé n\'est choisi dans ce groupe ou si le mot-clé choisi ne contient pas cette balise.21 <br />22 <br />23 Pour que ce groupe de mots-clefs techniques n\'apparraisse pas sur le site public, il suffit que son titre commence par un "_".24 15 <br /><br /> 25 16 <u>Articles</u> :<br /> … … 32 23 33 24 'StylePage' => 'Style de page', 25 'StylePageHelp' => 'La page article peut dépendre d\'un mot-clé: dans ce cas, elle contiendra l\'instance de composant Cadre de numéro <i>nn</i> défini par une balise <nic-page=<i>nn</i>> dans le champ description du mot clé choisi pour cet article dans le groupe des mots-clefs des styles de pages article, ou à défaut le cadre n° 2100 si aucun mot-clé n\'est choisi dans ce groupe ou si le mot-clé choisi ne contient pas cette balise. 26 <br /> 27 <br /> 28 Pour que ce groupe de mots-clefs techniques n\'apparraisse pas sur le site public, il suffit que son titre commence par un "_".', 34 29 35 30 'Bord' => 'Bord supérieur', … … 44 39 'Stats' => 'Statistiques de visites', 45 40 'Lock' => 'Contrôle d\'accès', 46 'Added' => 'Ajout', 47 'Deleted' => 'Suppression', 41 'LockHelp' => 'Limite l\'accès aux articles avec le mot-clé _ide, _aut, _adm ou _acs, respectivement, aux visiteurs enregistrés, aux rédacteurs, aux administrateurs, ou aux administrateurs ACS.', 42 'Added' => 'Ajouté à la dernière révision', 43 'Deleted' => 'Supprimé à la dernière révision', 48 44 49 45 'Pagination' => 'Nombre d\'articles par page', -
_plugins_/acs/models/cat/composants/articles/install/keywords/articles_keywords_en.php
r40855 r49195 2 2 $keywords = array( 3 3 '_Restricted' => array( 4 'descriptif' => 'Restricted access (must be activated in the " articles" component).',4 'descriptif' => 'Restricted access (must be activated in the "Articles" and/or the "Rubrique" component).', 5 5 'texte' => '', 6 6 'unseul' => 'non', -
_plugins_/acs/models/cat/composants/articles/install/keywords/articles_keywords_fr.php
r40855 r49195 2 2 $keywords = array( 3 3 '_Accès restreint' => array( 4 'descriptif' => 'Restriction d\'accès (la fonction doit être activée dans le composant " articles").',4 'descriptif' => 'Restriction d\'accès (la fonction doit être activée dans le composant "Articles" et/ou dans le composant "Rubrique").', 5 5 'texte' => '', 6 6 'unseul' => 'non', -
_plugins_/acs/models/cat/composants/articles/page-article.html
r47804 r49195 1 [(#CACHE{ 0})][(#REM)1 [(#CACHE{86400})][(#REM) 2 2 ACS 3 3 (Plugin Spip) -
_plugins_/acs/models/cat/composants/articles/test-acces-page.html
r47804 r49195 12 12 Access to pages of articles tagged with keywords _ide, _aut, _adm and _acs is restricted to registered members, authors, administrators, and ACS admins. 13 13 14 ]<B_acces_restreint><BOUCLE_acces_restreint(ARTICLES){id_article}{statut==[publie|propose|refuse]}{titre_mot==(_ide|_aut|_adm|_acs)}>[(#ACS_AUTORISE{#TITRE_MOT}|?{'',' '})[(#INCLURE{fond= composants/articles/redirect}{url_redirect=?page=login&url=#SELF})]]</BOUCLE_acces_restreint></B_acces_restreint>15 [(#INCLURE{fond=composants/articles/test- page}{id_article}{env}{self}{ouvrir}{debut_doc}{debut_forums}{debut_breves})]<//B_acces_restreint>14 ]<B_acces_restreint><BOUCLE_acces_restreint(ARTICLES){id_article}{statut==[publie|propose|refuse]}{titre_mot==(_ide|_aut|_adm|_acs)}>[(#ACS_AUTORISE{#TITRE_MOT}|?{'',' '})[(#INCLURE{fond=redirect}{url_redirect=#URL_PAGE{login}}{url=#SELF})]]</BOUCLE_acces_restreint></B_acces_restreint> 15 [(#INCLURE{fond=composants/articles/test-style-page}{id_article}{env}{self}{ouvrir}{debut_doc}{debut_forums}{debut_breves})]<//B_acces_restreint> -
_plugins_/acs/models/cat/composants/articles/test-style-page.html
r47804 r49195 12 12 Test customized articles pages 13 13 14 ][(#CONFIG{langues_utilisees}|detecte_langue{#SELF})][ 15 (#VAR{acsArticlesStylePage}|=={""}|?{' ',''})[(#INCLURE{fond=composants/articles/boucle-page_article}{self}{env})]][ 16 (#VAR{acsArticlesStylePage}|=={""}|?{'',' '})[(#INCLURE{fond=composants/articles/boucle-page_article-style}{self}{env})]] 14 ][(#VAR{acsArticlesStylePage}|=={""}|?{' ',''})[(#INCLURE{fond=composants/articles/boucle-page_article}{self}{env})]][(#VAR{acsArticlesStylePage}|=={""}|?{'',' '})[(#INCLURE{fond=composants/articles/boucle-page_article-style}{self}{env})]] -
_plugins_/acs/models/cat/composants/carte/bubble.html
r47251 r49195 32 32 [(#GET{done}|!={oui}|?{' '})[<p>(#DESCRIPTIF|coupe{#VAR{acsArticlesNbLettres,300}, ... <i><a href="#URL_MOT" class="nsize"><:acs:articles_lire_la_suite:></a></i>})</p>#SET{done,oui}]] 33 33 [(#GET{done}|!={oui}|?{' '})[<p>(#TEXTE|coupe{#VAR{acsArticlesNbLettres,300}, ... <i><a href="#URL_MOT" class="nsize"><:acs:articles_lire_la_suite:></a></i>})</p>]] 34 [(#VAR{#EVAL{'acsCarte'.'#NIC'.'ListArticles'}}|!={non}|?{" "})<INCLURE{fond=composants/carte/bubble_liste_articles}{id_rubrique}>] 34 [(#VAR{#EVAL{'acsCarte'.'#NIC'.'ListRubriques'}}|!={non}|?{" "})[(#INCLURE{fond=composants/carte/bubble_liste_rubriques}{id_mot}]] 35 [(#VAR{#EVAL{'acsCarte'.'#NIC'.'ListArticles'}}|!={non}|?{" "})[(#INCLURE{fond=composants/carte/bubble_liste_articles}{id_mot}]] 35 36 </div> 36 37 </BOUCLE_mot> -
_plugins_/acs/models/cat/composants/carte/ecrire/carte_mep.html
r47251 r49195 27 27 <table><tr><td>&TextFontFamily&</td><td>&TextFontSize&</td></tr></table> 28 28 &LogoMax& 29 &ListRubriques& 29 30 &ListArticles& 30 31 &LastUpdate& -
_plugins_/acs/models/cat/composants/carte/ecrire/composant.xml
r48974 r49195 7 7 <necessite id='acs' version='[0.7.1;]' /> 8 8 <necessite id='gis' version='[0.2;]' /> 9 <necessite id='openlayers' version='[0.0. 1;]' />9 <necessite id='openlayers' version='[0.0.2;]' /> 10 10 11 11 <param> … … 194 194 195 195 <variable> 196 <nom>ListRubriques</nom> 197 <type>choix</type> 198 <option>oui</option> 199 <option>non</option> 200 <valeur>oui</valeur> 201 </variable> 202 <variable> 196 203 <nom>ListArticles</nom> 197 204 <type>choix</type> -
_plugins_/acs/models/cat/composants/carte/ecrire/lang/carte_ecrire_en.php
r48965 r49195 25 25 'pictos' => 'Pictograms', 26 26 27 'ListRubriques' => 'Categories with the keyword', 27 28 'ListArticles' => 'Articles of sections and keywords', 28 29 'LastUpdate' => 'Last update', -
_plugins_/acs/models/cat/composants/carte/ecrire/lang/carte_ecrire_fr.php
r48965 r49195 29 29 'pictos' => 'Pictogrammes', 30 30 31 'ListRubriques' => 'Rubriques associées au mot-clé', 31 32 'ListArticles' => 'Articles des rubriques et mot-clés', 32 33 'LastUpdate' => 'Derniére mise à jour', -
_plugins_/acs/models/cat/composants/fond/ecrire/fond_mep.html
r41970 r49195 2 2 <hr /> 3 3 <table><tr><td>&Color&</td><td>&Image&</td></tr></table> 4 <hr /> 4 5 <table> 5 6 <tr><td>&Text&</td><td>&Link&</td></tr> 6 7 <tr><td></td><td>&LinkHover&</td></tr> 7 8 </table> 8 <hr />9 9 &Font& 10 10 <table><tr><td>&FontFamily&</td><td>&FontSize&</td></tr></table> … … 13 13 &BlocSize& 14 14 &NavSize& 15 <hr /> 15 16 &PoesieFont& 16 17 <table><tr><td>&PoesieFontFamily&</td><td>&PoesieFontSize&</td></tr></table> -
_plugins_/acs/models/cat/composants/fond/ecrire/lang/fond_ecrire_en.php
r41970 r49195 29 29 30 30 'Favicon' => 'Favicon', 31 'Favicon_help' => 'Displayed in address bar and navigator panes.', 31 32 32 33 'Color' => 'Background', -
_plugins_/acs/models/cat/composants/fond/ecrire/lang/fond_ecrire_fr.php
r41970 r49195 29 29 30 30 'Favicon' => 'Icône de signet', 31 31 'FaviconHelp' => 'S\'affiche dans la barre d\'adresse et les titres d\'onglets de l\'explorateur.', 32 32 'Color' => 'Fond', 33 'ImageHelp' => 'Image de fond pour toutes les pages du site. Il faut définir une couleur par défaut pour que l\'image de fond soit prise en compte.', 33 34 'NavSize' => 'Taille des petits liens de navigation', 34 35 'BlocSize' => 'Taille des blocs', -
_plugins_/acs/models/cat/composants/rubnav/ecrire/lang/rubnav_ecrire_en.php
r29831 r49195 17 17 'TitreFond' => 'Title', 18 18 'Sep' => 'Séparator', 19 'Titre' => 'Show bloc title on level 3 rubrics',19 'Titre' => 'Show "'._T('rubriques').'" as bloc title on group 3 sections', 20 20 'MaJ'=>'Display last updates', 21 21 'DeplierHaut' => 'Wrap', -
_plugins_/acs/models/cat/composants/rubnav/ecrire/lang/rubnav_ecrire_fr.php
r29831 r49195 17 17 'TitreFond' => 'Titre', 18 18 'Sep' => 'Séparateur', 19 'Titre' => 'Afficher le titre du bloc sur les rubriques du groupe 3',19 'Titre' => 'Afficher "'._T('rubriques').'" comme titre du bloc sur les rubriques du groupe 3', 20 20 'MaJ'=>'Afficher les dernières mises à jour des rubriques', 21 21 'DeplierHaut' => 'Déplier haut', -
_plugins_/acs/models/cat/composants/rubrique/ecrire/composant.xml
r48974 r49195 65 65 66 66 <variable> 67 <nom>Lock</nom> 68 <type>choix</type> 69 <option>oui</option> 70 <option>non</option> 71 <valeur>non</valeur> 72 </variable> 73 <variable> 67 74 <nom>StylePage</nom> 68 75 <type>KeyGroup</type> -
_plugins_/acs/models/cat/composants/rubrique/ecrire/lang/rubrique_ecrire_fr.php
r48985 r49195 18 18 'Article'=>'Remplacer par l\'article s\'il est unique', 19 19 'Souligne' => 'Souligner le titre avec la couleur dominante du logo', 20 'Lock' => 'Contrôle d\'accès', 20 21 'StylePage' => 'Style de page' 21 22 -
_plugins_/acs/models/cat/composants/rubrique/ecrire/rubrique_mep.html
r47457 r49195 5 5 &Article& 6 6 &MaJ& 7 &Lock& 7 8 &StylePage& -
_plugins_/acs/models/cat/composants/rubrique/page_rubrique.html
r48965 r49195 1 [(#CACHE{ 0})][(#REM)1 [(#CACHE{7200})][(#REM) 2 2 3 3 ACS … … 20 20 Keywords meta-tags come from section title. 21 21 22 ][(#SET{title,#TITRE[ - (#NOM_SITE_SPIP)]})][(#SET{mkeywords,[(#TITRE|askeywords)]})]<INCLURE{fond=composants/fond/entete}{title=#GET{title}}{mkeywords=#GET{mkeywords}}{mdescription}> 23 <INCLURE{fond=composants/cadre/cadre}{self}{env}{nic}> 24 <INCLURE{fond=composants/fond/pied}> 22 ][(#SET{title,#TITRE[ - (#NOM_SITE_SPIP)]})][(#SET{mkeywords,[(#TITRE|askeywords)]})][(#INCLURE{fond=composants/fond/entete}{title=#GET{title}}{mkeywords=#GET{mkeywords}}{mdescription})][(#INCLURE{fond=composants/cadre/cadre}{self}{env}{nic})][(#INCLURE{fond=composants/fond/pied})] -
_plugins_/acs/models/cat/resume.html
r45452 r49195 1 #CACHE{3600} 2 [(#REM) 1 [(#CACHE{3600})][(#REM) 2 3 3 ACS 4 4 (Plugin Spip) -
_plugins_/acs/models/cat/rubrique.html
r48965 r49195 1 [(#CACHE{ 7200})][(#REM)1 [(#CACHE{0})][(#REM) 2 2 3 3 ACS … … 17 17 These page design could depend on a keyword: click <u><a href="?exec=acs&onglet=pages&pg=composants/rubrique/page_rubrique">here</a></u> to define page content. 18 18 19 ][(#CONFIG{langues_utilisees}|detecte_langue{#SELF})][ 20 (#VAR{acsRubriqueStylePage}|=={""}|?{' ',''})<INCLURE{fond=composants/rubrique/boucle-page_rubrique}{self}{env}>][ 21 (#VAR{acsRubriqueStylePage}|=={""}|?{'',' '})<INCLURE{fond=composants/rubrique/boucle-page_rubrique-style}{self}{env}>] 19 ][(#CONFIG{langues_utilisees}|detecte_langue{#SELF})][(#VAR{acsRubriqueLock}|=={oui}|?{' '})[(#INCLURE{fond=composants/rubrique/test-acces-page}{env}{self})]][(#VAR{acsRubriqueLock}|!={oui}|?{' '})[(#INCLURE{fond=composants/rubrique/test-style-page}{env}{self})]]
Note: See TracChangeset
for help on using the changeset viewer.