File "rubrique.html"

Full path: /home/liensain/www_ael/squelettes/header/rubrique.html
File size: 902 B (902 B bytes)
MIME-type: text/plain
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

<BOUCLE_rub(RUBRIQUES){id_rubrique}>
<h1 class="#EDIT{titre}">#TITRE</h1>
<div class="#EDIT{descriptif} lead">[(#DESCRIPTIF|placeholder)]</div>
<?php if (isset($GLOBALS['visiteur_session']['statut'])
  AND $GLOBALS['visiteur_session']['statut']
  AND include_spip('inc/autoriser')
	AND autoriser('publierdans','rubrique','#ID_RUBRIQUE')){
?>
<div class="actions">
<BOUCLE_hasprop(ARTICLES){id_rubrique}{statut=prop}{pagination 1}>
	<?php	if (_request('var_mode')=='preview'){
	?>
	<a class="btn btn-small" href="#URL_RUBRIQUE">N'afficher que les chapitres publiƩs</a>
	<?php	}
	else {
	?>
	<a class="btn btn-small" href="[(#URL_RUBRIQUE|parametre_url{var_mode,preview})]">Afficher les #GRAND_TOTAL chapitres en attente</a>
	<?php	}
	?>
</BOUCLE_hasprop>
#BOUTON_ACTION{'Ajouter une page',#URL_ACTION_AUTEUR{zdoc_ajouter_page,#ENV{id_rubrique}},'btn-small btn-primary'}
</div>
<?php }
?>
</BOUCLE_rub>