projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/platal-1.0.0'
[platal.git]
/
templates
/
xnetgrp
/
announce-edit.tpl
diff --git
a/templates/xnetgrp/announce-edit.tpl
b/templates/xnetgrp/announce-edit.tpl
index
46a0bd1
..
b387273
100644
(file)
--- a/
templates/xnetgrp/announce-edit.tpl
+++ b/
templates/xnetgrp/announce-edit.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
08
Polytechnique.org *}
+{* Copyright (C) 2003-20
10
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-26,13
+26,14
@@
function visibilityChange(box)
{
var state = (box.checked ? 'none' : '');
document.getElementById('promo_titre').style.display = state;
{
var state = (box.checked ? 'none' : '');
document.getElementById('promo_titre').style.display = state;
+ document.getElementById('promo_explanation').style.display = state;
document.getElementById('promo_min_tr').style.display = state;
document.getElementById('promo_max_tr').style.display = state;
document.getElementById('promo_range_tr').style.display = state;
}
{/literal}
</script>
document.getElementById('promo_min_tr').style.display = state;
document.getElementById('promo_max_tr').style.display = state;
document.getElementById('promo_range_tr').style.display = state;
}
{/literal}
</script>
-<h1>{$asso
.nom} : E
dition d'une annonce</h1>
+<h1>{$asso
->nom} : É
dition d'une annonce</h1>
{if $art.texte}
<div>
{if $art.texte}
<div>
@@
-42,10
+43,11
@@
function visibilityChange(box)
{/if}
<form method="post" action="{$platal->ns}announce/{if $new}new{else}edit/{$art.id}{/if}" enctype="multipart/form-data">
{/if}
<form method="post" action="{$platal->ns}announce/{if $new}new{else}edit/{$art.id}{/if}" enctype="multipart/form-data">
+{xsrf_token_field}
<div>
<table class="bicol">
<tr>
<div>
<table class="bicol">
<tr>
- <th colspan="2">
E
diter une annonce</th>
+ <th colspan="2">
É
diter une annonce</th>
</tr>
<tr class="pair">
<td class="titre">Titre :</td>
</tr>
<tr class="pair">
<td class="titre">Titre :</td>
@@
-55,8
+57,8
@@
function visibilityChange(box)
<td class="titre">Contenu de l'annonce :</td>
<td>
<small>
<td class="titre">Contenu de l'annonce :</td>
<td>
<small>
- Le contenu est destiné à recevoir la descriptio
i
n de ce qui est annoncé.
- Il faut éviter d'y mettre des adresses mails ou web (surtout si l'annonce est publique),
+ Le contenu est destiné à recevoir la description de ce qui est annoncé.
+ Il faut éviter d'y mettre des adresses
e
mails ou web (surtout si l'annonce est publique),
qui devront être placées dans la section "contacts".
</small>
</td>
qui devront être placées dans la section "contacts".
</small>
</td>
@@
-76,7
+78,7
@@
function visibilityChange(box)
{/literal}
</script>
<small>
{/literal}
</script>
<small>
- Essaie de faire un <strong>texte court</strong>, une annonce ne doit pas excéder 600 caractères soit une dizaine de ligne.
+ Essaie de faire un <strong>texte court</strong>, une annonce ne doit pas excéder 600 caractères soit une dizaine de ligne
s
.
Tu en es déjà à <input type='text' name='texte_count' size="4"/> caractères.
Si tu veux proposer cette annonce pour la Lettre Mensuelle, il faut te limiter à 8 lignes.
</small>
Tu en es déjà à <input type='text' name='texte_count' size="4"/> caractères.
Si tu veux proposer cette annonce pour la Lettre Mensuelle, il faut te limiter à 8 lignes.
</small>
@@
-86,8
+88,8
@@
function visibilityChange(box)
<td class="titre">Contacts :</td>
<td>
<small>
<td class="titre">Contacts :</td>
<td>
<small>
- La section "contacts" sert à noter les informations telles que les adresses mails de contact, les sites web.
- Elle n'est accessible qu'aux personnes authentifiées. Si l'annonce est attachée à un
e
événement, un lien vers
+ La section "contacts" sert à noter les informations telles que les adresses
e
mails de contact, les sites web.
+ Elle n'est accessible qu'aux personnes authentifiées. Si l'annonce est attachée à un événement, un lien vers
la page d'inscription est automatiquement ajouté.
</small>
</td>
la page d'inscription est automatiquement ajouté.
</small>
</td>
@@
-98,7
+100,7
@@
function visibilityChange(box)
</td>
</tr>
<tr style="border-top: 1px solid gray">
</td>
</tr>
<tr style="border-top: 1px solid gray">
- <td class="titre">Illustration</td>
+ <td class="titre">Illustration
:
</td>
<td>
{if $art.id && $art.photo}
<div style="float: left; text-align: center">
<td>
{if $art.id && $art.photo}
<div style="float: left; text-align: center">
@@
-124,7
+126,7
@@
function visibilityChange(box)
<tr style="border-top: 1px solid gray">
<td colspan="2" class="center">
<a href="wiki_help/notitle" class="popup3">
<tr style="border-top: 1px solid gray">
<td colspan="2" class="center">
<a href="wiki_help/notitle" class="popup3">
- {icon name=information title="Syntaxe wiki"} Voir la liste des marqueurs de mise en forme autorisés
+ {icon name=information title="Syntaxe wiki"} Voir la liste des marqueurs de mise en forme autorisés
.
</a>
</td>
</tr>
</a>
</td>
</tr>
@@
-135,7
+137,7
@@
function visibilityChange(box)
<tr>
<td class="titre">Date de péremption :</td>
<td>
<tr>
<td class="titre">Date de péremption :</td>
<td>
- {valid_date name="
peremption" value=$art.peremp
tion}
+ {valid_date name="
expiration" value=$art.expira
tion}
</td>
</tr>
{if $events}
</td>
</tr>
{if $events}
@@
-157,12
+159,15
@@
function visibilityChange(box)
<tr>
<td class="titre">Visibilité :</td>
<td>
<tr>
<td class="titre">Visibilité :</td>
<td>
- <input type="checkbox" name="public" {if $art.public}checked="checked"{/if} onchange="visibilityChange(this)" />
- Rendre cette annonce publique
+ <
label><
input type="checkbox" name="public" {if $art.public}checked="checked"{/if} onchange="visibilityChange(this)" />
+ Rendre cette annonce publique
.</label>
</td>
</tr>
<tr id="promo_titre" {if $art.public}style="display: none"{/if}>
</td>
</tr>
<tr id="promo_titre" {if $art.public}style="display: none"{/if}>
- <th colspan="2">Promotions cibles</th>
+ <th colspan="2">Promotions d'entrée cibles</th>
+ </tr>
+ <tr id="promo_explanation" {if $art.public}style="display: none"{/if}>
+ <td colspan="2"><span class="smaller">{icon name=information} par exemple 2004 pour les X2004</span></td>
</tr>
{include file="include/field.promo.tpl" promo_min=$art.promo_min promo_max=$art.promo_max}
{if $art.public}
</tr>
{include file="include/field.promo.tpl" promo_min=$art.promo_min promo_max=$art.promo_max}
{if $art.public}
@@
-178,20
+183,20
@@
function visibilityChange(box)
</tr>
<tr>
<td colspan="2">
</tr>
<tr>
<td colspan="2">
- <input type="checkbox" name="xorg" {if $art.xorg}checked="checked"{/if} />
- sur la page d'accueil de Polytechnique.org
+ <
label><
input type="checkbox" name="xorg" {if $art.xorg}checked="checked"{/if} />
+ sur la page d'accueil de Polytechnique.org
</label>
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="2">
- <input type="checkbox" name="nl" {if $art.nl}checked="checked"{/if} />
- dans la Lettre Mensuelle de Polytechnique.org
+ <
label><
input type="checkbox" name="nl" {if $art.nl}checked="checked"{/if} />
+ dans la Lettre Mensuelle de Polytechnique.org
</label>
</td>
</tr>
<tr class="pair">
<td colspan="2">
<small>Les demandes de publication sont soumises à validation par l'équipe
</td>
</tr>
<tr class="pair">
<td colspan="2">
<small>Les demandes de publication sont soumises à validation par l'équipe
- de Polytechnique.org</small>
+ de Polytechnique.org
.
</small>
</td>
</tr>
{/if}
</td>
</tr>
{/if}