Commit 90691956 authored by sikeda's avatar sikeda
Browse files

[-dev] Cosmetic changes on web templates.

- Repair svn properties.
- Indentation.
- Handle inline <label> element propeerly.
- suboptions.tt2: Restore picture_upload form.
- Some missing translation strings.


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@11846 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 5cdd7f36
......@@ -475,19 +475,19 @@ $POWERED_BY$
($tag$% IF list_conf.reply_to_header.value == 'sender' %$tag$)
checked
($tag$%END%$tag$) />
<label for="to_sender">($tag$%|loc%$tag$)sender($tag$%END%$tag$)</label>
<label class="inlineLabel" for="to_sender">($tag$%|loc%$tag$)sender($tag$%END%$tag$)</label>
<input id="to_list" type="radio" name="to"
value="($tag$% list %$tag$) ($tag$% list_conf.host %$tag$)"
($tag$% IF list_conf.reply_to_header.value == 'list' %$tag$)
checked
($tag$%END%$tag$) />
<label for="to_list">($tag$%|loc%$tag$)list($tag$%END%$tag$)</label>
<label class="inlineLabel" for="to_list">($tag$%|loc%$tag$)list($tag$%END%$tag$)</label>
<input id="to_both" type="radio" name="to"
value="$FROMADDRNAME:J$ $FROMADDRDOMAIN$,($tag$% list %$tag$) ($tag$% list_conf.host %$tag$)"
($tag$% IF list_conf.reply_to_header.value == 'all' %$tag$)
checked
($tag$%END%$tag$) />
<label for="to_both">($tag$%|loc%$tag$)both($tag$%END%$tag$)</label>
<label class="inlineLabel" for="to_both">($tag$%|loc%$tag$)both($tag$%END%$tag$)</label>
($tag$% END %$tag$)
<input class="MainMenuLinks" type="submit" name="action_compose_mail" value="($tag$%|loc%$tag$)Reply($tag$%END%$tag$)" /><br />
<input class="MainMenuLinks" type="submit" name="action_send_me" value="($tag$%|loc(user.email)%$tag$)send it back to %1($tag$%END%$tag$)" /><br />
......
......@@ -16,38 +16,38 @@
<input class="MainMenuLinks" name="action_arcsearch" type="submit" value="[%|loc%]Search[%END%]" onClick="if (document.getElementsByName('key_word')[0].value.replace(/\s+/g, '')) return true; else return false;" />
<br />
<label for="how">[%|loc%]Search:[%END%] </label>
<input id="how" type="radio" name="how" value="phrase" checked="checked" /> <em>[%|loc%]this sentence[%END%]</em>
<input id="how" type="radio" name="how" value="all" /> <em>[%|loc%]all of these words[%END%]</em>
<input id="how" type="radio" name="how" value="any" /> <em>[%|loc%]one of these words[%END%]</em>
<label>[%|loc%]Search:[%END%] </label>
<input id="how.phrase" type="radio" name="how" value="phrase" checked="checked" /> <label class="inlineLabel" for="how.phrase"><em>[%|loc%]this sentence[%END%]</em> </label>
<input id="how.all" type="radio" name="how" value="all" /> <label class="inlineLabel" for="how.all"><em>[%|loc%]all of these words[%END%]</em> </label>
<input id="how.any" type="radio" name="how" value="any" /> <label class="inlineLabel" for="how.any"><em>[%|loc%]one of these words[%END%]</em></label>
<br />
<label for="age">[%|loc%]Prefer:[%END%] </label>
<input id="age" type="radio" name="age" value="new" checked="checked" /> <em>[%|loc%]newest messages[%END%]</em>
<input id="age" type="radio" name="age" value="old" /> <em>[%|loc%]oldest messages[%END%]</em>
<label>[%|loc%]Prefer:[%END%] </label>
<input id="age.new" type="radio" name="age" value="new" checked="checked" /> <label class="inlineLabel" for="age.new"><em>[%|loc%]newest messages[%END%]</em></label>
<input id="age.old" type="radio" name="age" value="old" /> <label class="inlineLabel" for="age.old"><em>[%|loc%]oldest messages[%END%]</em></label>
<br />
<label for="case">[%|loc%]Case:[%END%] </label>
<input id="case" type="radio" name="case" value="off" checked="checked" /> <em>[%|loc%]insensitive[%END%]</em>
<input id="case" type="radio" name="case" value="on" /> <em>[%|loc%]sensitive[%END%]</em>
<label>[%|loc%]Case:[%END%] </label>
<input id="case.off" type="radio" name="case" value="off" checked="checked" /> <label class="inlineLabel" for="case.off"><em>[%|loc%]insensitive[%END%]</em></label>
<input id="case.on" type="radio" name="case" value="on" /> <label class="inlineLabel" for="case.on"><em>[%|loc%]sensitive[%END%]</em></label>
<br />
<label for="match">[%|loc%]Check:[%END%] </label>
<input id="match" type="radio" name="match" value="partial" checked="checked" /> <em>[%|loc%]part of word[%END%]</em>
<input id="match" type="radio" name="match" value="exact" /> <em>[%|loc%]entire word[%END%]</em>
<label>[%|loc%]Check:[%END%] </label>
<input id="match.partial" type="radio" name="match" value="partial" checked="checked" /> <label class="inlineLabel" for="match.partial"><em>[%|loc%]part of word[%END%]</em></label>
<input id="match.exact" type="radio" name="match" value="exact" /> <label class="inlineLabel" for="match.exact"><em>[%|loc%]entire word[%END%]</em></label>
<br />
<label for="limit">[%|loc%]Layout:[%END%] </label>
<input id="limit" type="radio" name="limit" value="10" checked="checked" /> <em>10</em> [%|loc%]results by page[%END%]
<input id="limit" type="radio" name="limit" value="25" /> <em>25</em> [%|loc%]results by page[%END%]
<input id="limit" type="radio" name="limit" value="50" /> <em>50</em> [%|loc%]results by page[%END%]
<label>[%|loc%]Layout:[%END%] </label>
<input id="limit.10" type="radio" name="limit" value="10" checked="checked" /> <label class="inlineLabel" for="limit.10"><em>10</em> [%|loc%]results by page[%END%]</label>
<input id="limit.25" type="radio" name="limit" value="25" /> <label class="inlineLabel" for="limit.25"><em>25</em> [%|loc%]results by page[%END%]</label>
<input id="limit.50" type="radio" name="limit" value="50" /> <label class="inlineLabel" for="limit.50"><em>50</em> [%|loc%]results by page[%END%]</label>
<br />
<label for="from" rowspan="2">[%|loc%]Search area:[%END%] </label>
<input id="from" type="checkbox" name="from" value="True" /> <em>[%|loc%]Sender[%END%] </em>
<input id="from" type="checkbox" name="subj" value="True" checked="checked" /> <em>[%|loc%]Subject[%END%] </em>
<input type="checkbox" name="date" value="True" /> <em>[%|loc%]Date[%END%] </em>
<input type="checkbox" name="body" value="True" checked="checked" /> <em>[%|loc%]Body[%END%] </em>
<label rowspan="2">[%|loc%]Search area:[%END%] </label>
<input id="area.from" type="checkbox" name="from" value="True" /> <label class="inlineLabel" for="area.from"><em>[%|loc%]Sender[%END%] </em></label>
<input id="area.subj" type="checkbox" name="subj" value="True" checked="checked" /> <label class="inlineLabel" for="area.subj"><em>[%|loc%]Subject[%END%] </em></label>
<input id="area.date" type="checkbox" name="date" value="True" /> <label class="inlineLabel" for="area.date"><em>[%|loc%]Date[%END%] </em></label>
<input id="area.body" type="checkbox" name="body" value="True" checked="checked" /> <label class="inlineLabel" for="area.body"><em>[%|loc%]Body[%END%] </em></label>
<br />
<br />
......
<!-- Begin automatic_lists.tt2 -->
<!-- $Id$ -->
<div>
<h1>[%|loc%]Automatic lists result[% END %]</h1>
<p>The list created would be [% list_name %]</p>
......
<!-- Begin automatic_list_management_request.tt2 -->
<!-- $Id$ -->
<div>
<h1>[%|loc%]Automatic lists management[% END %]</h1>
<p>[%|loc(automatic_lists_description.family_name)%]The automatic lists are based on the %1 family[% END %]</p>
......
<!-- Begin automatic_lists_request.tt2 -->
<!-- $Id$ -->
<div>
<h1>[% family.display %]</h1>
<p>[%|loc%]In this form, you will be able to create and / or access lists created on the basis of parameters you will defined.[% END %]</p>
......
<!-- $Id: change_email_request.tt2 3907 2008-08-08 14:50:16Z peter.hart $ -->
<!-- $Id$ -->
[%|loc%]Changing your email address is a sensitive operation so we need to verify your email.[%END%]<br />
[%|loc(new_email)%]To this end we have sent you an email to this address: %1 with a validation link.[%END%]<br />
......
......@@ -8,7 +8,7 @@
<form action="[% path_cgi %]" method="post">
<fieldset>
<div class="form_row"><label for="listname"><strong>[%|loc%]List name:[%END%]</strong></label><input type="text" id="listname" name="listname" size="30" value="[% saved.listname %]" /></div>
<div class="form_row"><label><strong>[%|loc%]Owner:[%END%]</strong></label><span style="font-family:'Lucida Console', 'Courier New', Courier, Monospace;">[% user.email %]</span></div>
<div class="form_row"><label><strong>[%|loc%]Owner:[%END%]</strong></label><code>[% user.email %]</code></div>
<div class="form_row"><label for="list_type"><strong>[%|loc%]List type:[%END%]</strong></label><div style="width:70%; float:left;"><ul id="list_type" style="padding:0;">
[% FOREACH template = list_list_tpl %]
[% IF template.value.comment %]
......@@ -28,7 +28,7 @@
checked="checked"
[% END %]
id="template.[% template.key %]"
/> [% template.key %]
/> <label for="template.[% template.key %]">[% template.key %]</label>
</li>
[% END %]
[% END %]
......
......@@ -229,6 +229,15 @@ label {
padding-left: 0.5em;
}
label.inlineLabel {
display: inline !important;
font: inherit;
padding: 0;
line-height: normal;
width: auto !important;
float: none !important;
}
legend {
*margin-left: -7px;
white-space: normal;
......
<!-- $Id: css_ie.tt2 5675 2009-06-10 13:59:12Z olivier.lumineau $ -->
<!-- $Id$ -->
<!-- Specific css for IE -->
......
......@@ -7,10 +7,10 @@
[% FOREACH f = list_file %]
[% f %]<br /><br />
[% END %]
<label for="mode">[%|loc%]already exist(s), do you want to confirm the install and erase the old file(s) or cancel the install?[%END%]</label><br />
<label>[%|loc%]already exist(s), do you want to confirm the install and erase the old file(s) or cancel the install?[%END%]</label><br />
<input id="mode" class="MainMenuLinks" type="submit" name="mode_confirm" value="[%|loc%]Confirm[%END%]" /></td>
<input id="mode" class="MainMenuLinks" type="submit" name="mode_cancel" value="[%|loc%]Cancel[%END%]" /></td>
<input id="mode_confirm" class="MainMenuLinks" type="submit" name="mode_confirm" value="[%|loc%]Confirm[%END%]" /></td>
<input id="mode_cancel" class="MainMenuLinks" type="submit" name="mode_cancel" value="[%|loc%]Cancel[%END%]" /></td>
<input type="hidden" name="list" value="[% list %]" />
[% FOREACH elt = id %]
<input type="hidden" name="id" value="[% elt %]" />
......@@ -18,4 +18,4 @@
<input type="hidden" name="action_d_install_shared" value="1" />
</fieldset>
</form>
<!-- end d_install_shared.tt2 -->
\ No newline at end of file
<!-- end d_install_shared.tt2 -->
......@@ -316,7 +316,7 @@
[%|loc%]Create a new folder inside root folder[%END%]
[% END %]
</strong> <br />
<label for="name_doc">[%|loc%]Folder name[%END%]</label> <input id="name_doc" maxlength="30" type="text" name="name_doc" />
<label for="name_dir">[%|loc%]Folder name[%END%]</label> <input id="name_dir" maxlength="30" type="text" name="name_doc" />
<input class="MainMenuLinks" type="submit" value="[%|loc%]Create[%END%]" name="action_d_create_dir" />
<input type="hidden" name="previous_action" value="d_read" />
<input type="hidden" name="list" value="[% list %]" />
......@@ -326,7 +326,7 @@
</fieldset>
</form>
</div><br/>
[% END %]
[% END %]
<div class="block">
<form method="post" action="[% path_cgi %]">
......@@ -347,7 +347,7 @@
<form method="post" action="[% path_cgi %]">
<fieldset>
<strong>[%|loc%]Add a bookmark[%END%]</strong><br />
<label for="name_doc">[%|loc%]title[%END%]</label> <input id="name_doc" maxlength="100" size="25" type="text" name="name_doc" /><br />
<label for="name_title">[%|loc%]title[%END%]</label> <input id="name_title" maxlength="100" size="25" type="text" name="name_doc" /><br />
<label for="url">[%|loc%]URL[%END%]</label> <input id="url" size="35" type="text" name="url" />
<input class="MainMenuLinks" type="submit" value="[%|loc%]Add[%END%]" name="action_d_savefile" />
<input type="hidden" name="previous_action" value="d_read" />
......
<!-- $Id: dumpvars.tt2 5106 2008-08-13 14:43:44Z olivier.salaun $ -->
<!-- $Id$ -->
<div class="block">
<hr />
[% html_dumpvars %]
......
<!-- $Id: edit_attributes.tt2 $ -->
<!-- $Id$ -->
[% IF list_conf.custom_attribute && list_conf.custom_attribute.size > 0 %]
<div class="block">
<i>[%|loc%]Additional information[%END%]</i>
......
......@@ -31,7 +31,7 @@ END %]
[% END %]
</select><br />
<label for="lang">[%|loc%]Language:[%END%] </label>[% current_subscriber.lang %]<br />
<label>[%|loc%]Language:[%END%] </label>[% current_subscriber.lang %]<br />
[% IF pictures_display %]
<label for="picture">[%|loc%]Picture:[%END%] </label>
<a id="picture" href="[% current_subscriber.pictures_url %]" title="[% current_subscriber.pictures_url %],[%|loc%]Open in a new window[%END%]" target="pictures">
......@@ -68,7 +68,7 @@ END %]
<br />
[% IF current_subscriber.escaped_bounce_address %]
<label for="verp">[%|loc%]Address detected via VERP technology[%END%] </label>[% current_subscriber.escaped_bounce_address %]<br />
<label>[%|loc%]Address detected via VERP technology[%END%] </label>[% current_subscriber.escaped_bounce_address %]<br />
[% END %]
[%|loc%]Status:[%END%] [% current_subscriber.bounce_status %] ([% current_subscriber.bounce_code %])<br />
[%|loc%]Bounce count:[%END%] [% current_subscriber.bounce_count %]<br />
......
<!-- $Id: exclusion_table.tt2 5204 2008-11-07 13:35:51Z david.verdin $ -->
<!-- $Id$ -->
<form class="noborder" action="[% path_cgi %]" method="post" name="show_exclude">
<fieldset>
<input type="hidden" name="previous_list" value="[% list %]" />
......
<!-- $Id$ -->
<h3>[%|loc%]Global unsubscription[% END %]</h3>
<p>[%|loc(signing_off_email,family)%]You successfully unsubscribed the address %1 from family %2.[% END %]</p>
<!-- End family_signoff.tt2 -->
<!-- $Id: get_biggest_lists.tt2 5682 2012-07-18 13:37:00Z etiennemelear $ -->
<!-- $Id$ -->
<div class="block">
<table summary="[%|loc%]Biggests Lists[%END%]" class="table_style">
......
......@@ -6,17 +6,17 @@
## Use the src/etc/script/js/sympa.js file instead to write your scripts.
#%]
<script>
<!--
// this script only contains variable initializations.
// Miscellaneous vars
var path_cgi = '[% path_cgi %]/';
var lang = '[% lang %]';
//-->
</script>
<script>
<!--
// A few configuration settings
var CROSSHAIRS_LOCATION = '[% icons_url %]/crosshairs.png';
var HUE_SLIDER_LOCATION = '[% icons_url %]/h.png';
......@@ -47,6 +47,8 @@ var param_dfin = {"ddeb" : "date_deb", "titre" : "[%|loc%]End date[%END%]" };
var tempo = new Array(); /*gestion de la fermeture des calendriers quand on perd le focus*/
var nomove={"TR":0,"CENTER":0,"B":0,"P":0,"U":0,"I":0,"DIV":0,"A":0,"FONT":0,"LI":0,"PRE":0,"SPAN":0,"SUB":0,"SUP":0,"FORM":0};
//var nomove={"TD":0,"TABLE":0};
//-->
</script>
<!-- Now retrieving the javascript files -->
......@@ -68,7 +70,9 @@ var nomove={"TR":0,"CENTER":0,"B":0,"P":0,"U":0,"I":0,"DIV":0,"A":0,"FONT":0,"LI
[% IF use_html_editor -%]
<script src="[% html_editor_url %]"></script>
<script>
<!--
[% html_editor_init %];
//-->
</script>
[% END -%]
<!-- end javascript.tt2 -->
......@@ -5,7 +5,7 @@
[% ELSE %]
<div id="logo" ><a href="[% conf.wwsympa_url %]" title="[% conf.wwsympa_url %]"><img src="[% icons_url %]/logo_sympa.png" alt="[%|loc%]SYMPA logo[%END%]" /></a></div>
[% END %]
<div id="top"><a class="displayNone" href="#content-inner">[%|loc%]Skip to Content.[%END%]</a></div>
<div id="bandeau_top">
[% IF user.email %]
......
<!-- $Id: manage_template.tt2 5269 2008-08-22 15:52:19Z peter.hart $ -->
<!-- $Id$ -->
<h2>[%|loc%]Modify or delete existing rejection messages[%END%]</h2>
<p>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment