Valider d881f5f5 rédigé par cedric@yterium.com's avatar cedric@yterium.com
Parcourir les fichiers

Simplification de la configuration de la page article :

- pas de config des commentaires (pages dédiées)
- configuration commune pour la position de la barre de partage social (notation, socialtags, recommander, pdf s'y affichent dès qu'ils sont actifs)

report dans la configuration de l'album
parent b60f1553
Chargement en cours
Chargement en cours
Chargement en cours
Chargement en cours
+1 −2
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -7,8 +7,7 @@
			{page=album}
			{afficher_commentaires=oui}
			{avec_popularite=#CONFIG{sarkaspip_album/avec_popularite, oui}}
			{avec_notation=#CONFIG{sarkaspip_album/position_notation, 0}}
			{avec_socialtags=#CONFIG{sarkaspip_album/position_socialtags, 0}}
			{avec_socialbar=#CONFIG{sarkaspip_album/position_socialbar, 0}}
			{taille_logo=#CONFIG{sarkaspip_album/taille_logo, 150}}>

		<aside>
+3 −17
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -8,30 +8,16 @@
			{page=article}
			{afficher_commentaires=oui}
			{avec_popularite=#CONFIG{sarkaspip_article/avec_popularite, oui}}
			{avec_notation=#CONFIG{sarkaspip_article/position_notation, 0}}
			{avec_socialtags=#CONFIG{sarkaspip_article/position_socialtags, 0}}
			{avec_socialbar=#CONFIG{sarkaspip_article/position_socialbar, 0}}
			{logo_rubrique=#CONFIG{sarkaspip_article/logo_rubrique, oui}}
			{taille_logo=#CONFIG{sarkaspip_article/taille_logo, 150}}>

		<aside>
			[(#REM) <!-- Documents (sauf images) du portfolio de l'article --> ]
			<INCLURE{fond=noisettes/document/liste-documents_joints}
				{id_article}
				{avec_descriptif=#CONFIG{sarkaspip_article/avec_descriptif, non}}>
			<INCLURE{fond=noisettes/document/liste-documents_joints,id_article} />

			[(#REM) <!-- Images du portfolio de l'article --> ]
			#SET{plugin, aucun}
			#SET{diaporama, non}
			[(#CONFIG{sarkaspip_article/mode_galerie, 0}|!={0}|oui)
				[(#SET{plugin, mediabox})]
			]
			[(#CONFIG{sarkaspip_article/mode_galerie, 0}|=={2}|oui)
				[(#SET{diaporama, oui})]
			]
			<INCLURE{fond=noisettes/document/liste-images_jointes}
				{id_article}
				{effet_galerie=#GET{plugin}}
				{avec_diaporama=#GET{diaporama}}>
			<INCLURE{fond=noisettes/document/liste-images_jointes,id_article} />

			[(#REM) <!-- Commentaires --> ]
			[(#PETITION|non)
+1 −2
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -14,8 +14,7 @@
					{env}>
				<INCLURE{fond=formulaires/inc/cfg_cartouche}
					{explication_popularite=<:sarkaspip:cfg_inf_album_popularite:>}
					{explication_notation=<:sarkaspip:cfg_inf_album_notation:>}
					{explication_socialtags=<:sarkaspip:cfg_inf_album_socialtags:>}
					{explication_socialbar=<:sarkaspip:cfg_inf_album_socialbar:>}
					{env}>
			</ul>
		</fieldset>
+5 −5
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -15,12 +15,12 @@
				{env}>
			<INCLURE{fond=formulaires/inc/cfg_cartouche}
				{label_popularite=<:sarkaspip:cfg_inf_article_popularite:>}
				{label_notation=<:sarkaspip:cfg_inf_article_notation:>}
				{label_socialtags=<:sarkaspip:cfg_inf_article_socialtags:>}
				{label_socialbar=<:sarkaspip:cfg_inf_article_socialbar:>}
				{env}>
			</ul>
		</fieldset>

		<!--
		<fieldset>
			<legend><:sarkaspip:cfg_lgd_documents_joints:></legend>
			<ul>
@@ -37,7 +37,7 @@
				{env}>
			</ul>
		</fieldset>

		-->
		<fieldset>
			<legend><:sarkaspip:cfg_lgd_petition:></legend>
			<p><:sarkaspip:cfg_inf_petition:></p>
@@ -45,7 +45,7 @@
			<INCLURE{fond=formulaires/inc/cfg_pagination}{defaut_pas=20}{defaut_position=2}{suffixe=_signatures}{env}>
			</ul>
		</fieldset>

		<!--
		<fieldset class="todo">
			<legend><:sarkaspip:cfg_lgd_commentaires:></legend>
			<p><:sarkaspip:cfg_inf_article_commentaires:></p>
@@ -90,7 +90,7 @@
				{env}>
			</ul>
		</fieldset>

		-->
		<INCLURE{fond=formulaires/inc/cfg_boutons}>
	</div></form>

+3 −29
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -17,10 +17,9 @@
</li>


[(#PLUGIN{NOTATION}|oui)
#SET{name,position_notation}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
#SET{name,position_socialbar}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
	<label>#ENV{label_notation,''}</label>[
	<label>#ENV{label_socialbar,''}</label>[
	<span class='erreur_message'>(#GET{erreurs})</span>
	]
	[<p class="explication">(#ENV{explication_notation})</p>]
@@ -40,28 +39,3 @@
		<label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_bloc_fin_description:></label>
	</div>
</li>
 No newline at end of file
]
[(#PLUGIN{SOCIALTAGS}|oui)
#SET{name,position_socialtags}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
	<label>#ENV{label_socialtags,''}</label>[
	<span class='erreur_message'>(#GET{erreurs})</span>
	]
	[<p class="explication">(#ENV{explication_socialtags})</p>]
	#SET{val,0}
	<div class="choix">
		<input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] />
		<label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label>
	</div>
	#SET{val,1}
	<div class="choix">
		<input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] />
		<label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_bloc_cartouche:></label>
	</div>
	#SET{val,2}
	<div class="choix">
		<input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] />
		<label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_bloc_fin_description:></label>
	</div>
</li>
]
 No newline at end of file
Chargement en cours