Unverified Commit aea98622 authored by Luc Didry's avatar Luc Didry
Browse files

Remove tabs in default tt2 templates + some indentation changes

parent df26e55f
......@@ -20,11 +20,11 @@ CALENDAR
<div>
<ul class="calendar">
<li class="calendarLinksInactive">($tag$% year.key %$tag$)</li>
($tag$% FOREACH month = ['01' '02' '03' '04' '05' '06' '07' '08' '09' '10' '11' '12'] %$tag$)
($tag$% FOREACH month = ['01' '02' '03' '04' '05' '06' '07' '08' '09' '10' '11' '12'] %$tag$)
($tag$% IF year.value.item(month) %$tag$)
($tag$% IF year.key == '$yyyy$' && month == '$mois$'%$tag$) <li class="calendarLinksCurrentPage"><a href="($tag$% path_cgi %$tag$)/arc/($tag$% list %$tag$)/($tag$% year.key %$tag$)-($tag$% month %$tag$)/" title="($tag$%|loc(year.value.item(month))%$tag$)%1 message(s)($tag$%END%$tag$)">($tag$% month %$tag$)</a></li>
($tag$% ELSE %$tag$)<li class="calendarLinks"><a href="($tag$% path_cgi %$tag$)/arc/($tag$% list %$tag$)/($tag$% year.key %$tag$)-($tag$% month %$tag$)/" title="($tag$%|loc(year.value.item(month))%$tag$)%1 message(s)($tag$%END%$tag$)">($tag$% month %$tag$)</a></li>
($tag$% END %$tag$)
($tag$% IF year.key == '$yyyy$' && month == '$mois$'%$tag$) <li class="calendarLinksCurrentPage"><a href="($tag$% path_cgi %$tag$)/arc/($tag$% list %$tag$)/($tag$% year.key %$tag$)-($tag$% month %$tag$)/" title="($tag$%|loc(year.value.item(month))%$tag$)%1 message(s)($tag$%END%$tag$)">($tag$% month %$tag$)</a></li>
($tag$% ELSE %$tag$)<li class="calendarLinks"><a href="($tag$% path_cgi %$tag$)/arc/($tag$% list %$tag$)/($tag$% year.key %$tag$)-($tag$% month %$tag$)/" title="($tag$%|loc(year.value.item(month))%$tag$)%1 message(s)($tag$%END%$tag$)">($tag$% month %$tag$)</a></li>
($tag$% END %$tag$)
($tag$% ELSE %$tag$)<li class="calendarLinksInactive">($tag$% month %$tag$)</li>
($tag$% END %$tag$)
($tag$% END %$tag$)
......@@ -36,22 +36,22 @@ CALENDAR
<DefineVar>
SEARCH_FORM
<div class="search_form">
<form method="post" action="($tag$% path_cgi %$tag$)">
<input name="list" type="hidden" value="($tag$% list %$tag$)" />
<input name="archive_name" type="hidden" value="($tag$% archive_name %$tag$)" />
<input name="how" type="hidden" value="phrase" />
<input name="age" type="hidden" value="new" />
<input name="case" type="hidden" value="off" />
<input name="match" type="hidden" value="partial" />
<input name="limit" type="hidden" value="10" />
<input name="body" type="hidden" value="true" />
<input name="subj" type="hidden" value="true" />
<input id="key_word" name="key_word" type="text" size="12" />
<input name="action" type="hidden" value="arcsearch" />
<input type="submit" class="MainMenuLinks disableIfEmpty" data-selector="#key_word" name="action_arcsearch" value="($tag$%|loc%$tag$)Search($tag$%END%$tag$)" />
<input type="submit" class="MainMenuLinks" name="action_arcsearch_form" value="($tag$%|loc%$tag$)Advanced search($tag$%END%$tag$)" />
</form>
<div class="search_form">
<form method="post" action="($tag$% path_cgi %$tag$)">
<input name="list" type="hidden" value="($tag$% list %$tag$)" />
<input name="archive_name" type="hidden" value="($tag$% archive_name %$tag$)" />
<input name="how" type="hidden" value="phrase" />
<input name="age" type="hidden" value="new" />
<input name="case" type="hidden" value="off" />
<input name="match" type="hidden" value="partial" />
<input name="limit" type="hidden" value="10" />
<input name="body" type="hidden" value="true" />
<input name="subj" type="hidden" value="true" />
<input id="key_word" name="key_word" type="text" size="12" />
<input name="action" type="hidden" value="arcsearch" />
<input type="submit" class="MainMenuLinks disableIfEmpty" data-selector="#key_word" name="action_arcsearch" value="($tag$%|loc%$tag$)Search($tag$%END%$tag$)" />
<input type="submit" class="MainMenuLinks" name="action_arcsearch_form" value="($tag$%|loc%$tag$)Advanced search($tag$%END%$tag$)" />
</form>
</div>
</DefineVar>
......@@ -469,7 +469,7 @@ $POWERED_BY$
($tag$% IF list_conf.reply_to_header.value == 'all' %$tag$)
<input type="hidden" name="to" value="$FROMADDRNAME:J$ $FROMADDRDOMAIN$,($tag$% list %$tag$) ($tag$% domain %$tag$)" />
($tag$% ELSIF list_conf.reply_to_header.value == 'other_email' %$tag$)
($tag$% SET oemail = list_conf.reply_to_header.other_email %$tag$)
($tag$% SET oemail = list_conf.reply_to_header.other_email %$tag$)
<input type="hidden" name="to" value="($tag$% oemail.replace('@',' ') %$tag$)" />
($tag$% ELSIF list_conf.reply_to_header.value == 'list' %$tag$)
<input type="hidden" name="to" value="($tag$% list %$tag$) ($tag$% domain %$tag$)" />
......@@ -480,21 +480,21 @@ $POWERED_BY$
($tag$%|loc%$tag$)Reply to($tag$%END%$tag$)
<input id="to_sender" type="radio" name="to"
value="$FROMADDRNAME:J$ $FROMADDRDOMAIN$"
($tag$% IF list_conf.reply_to_header.value == 'sender' %$tag$)
checked
($tag$%END%$tag$) />
($tag$% IF list_conf.reply_to_header.value == 'sender' %$tag$)
checked
($tag$%END%$tag$) />
<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$% domain %$tag$)"
($tag$% IF list_conf.reply_to_header.value == 'list' %$tag$)
checked
($tag$%END%$tag$) />
checked
($tag$%END%$tag$) />
<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$% domain %$tag$)"
($tag$% IF list_conf.reply_to_header.value == 'all' %$tag$)
checked
($tag$%END%$tag$) />
checked
($tag$%END%$tag$) />
<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 />
......
......@@ -2,23 +2,23 @@
<h2 class="block"> <strong>
[% IF count %]
[%|loc(count)%] The %1 most active lists [%END%]
[%|loc(count)%] The %1 most active lists [%END%]
[% ELSE %]
[%|loc%] Active lists [%END%]
[%|loc%] Active lists [%END%]
[% END %]
[% IF for %]
[%|loc(for)%] for %1 days [%END%]
[%|loc(for)%] for %1 days [%END%]
[% END %]
</strong> </h2>
</strong> </h2>
<br />
<br />
<table class="responsive listOfItems" >
<caption>[%|loc(count)%] The %1 most active lists [%END%][%|loc(for)%] for %1 days [%END%]</caption>
<tr class="color_light">
<th id="list_name"><strong>[%|loc%]List name[%END%]</strong></th>
<th id="message"><strong>[%|loc%]Number of messages[%END%]</strong></th>
<th id="message"><strong>[%|loc%]Number of messages[%END%]</strong></th>
<th id="average"><strong>[%|loc%]Average by day[%END%]</strong></th>
<th id="date"><strong>[%|loc%]Creation date[%END%]</strong></th>
<th id="subject"><strong>[%|loc%]Subject[%END%]</strong></th>
......@@ -36,9 +36,9 @@
<td headers="date"> [% l.date %] </td>
<td headers="subject"> [% l.subject %] </td>
</tr>
[% END %]
[% END %]
</table>
<!-- end active_lists.tt2 -->
......@@ -2,12 +2,12 @@
<h2>[%|loc%]Casual administration[%END%]</h2>
<ul>
[% IF is_listmaster || is_owner %]
<li><strong><a href="[% 'edit_list_request' | url_rel([list]) %]">[%|loc%]Edit List Config:[%END%]</a></strong> [%|loc%]It must be used with care. It allows you to modify some of the list parameters. The list of parameters you can modify depends on your privilege.[%END%]</li>
<li><strong><a href="[% 'edit_list_request' | url_rel([list]) %]">[%|loc%]Edit List Config:[%END%]</a></strong> [%|loc%]It must be used with care. It allows you to modify some of the list parameters. The list of parameters you can modify depends on your privilege.[%END%]</li>
[% END %]
[% IF is_listmaster || is_owner || may_del %]
<li><strong><a href="[% 'review' | url_rel([list]) %]">[%|loc%]Manage Subscribers:[%END%]</a></strong> [%|loc%]Allows you to add or delete list members, moderate subscriptions, and so on.[%END%]</li>
[% IF conf.use_blacklist != 'none' %]
<li><strong><a href="[% 'blacklist' | url_rel([list]) %]" >[%|loc%]Blacklist:[%END%]</a></strong> [%|loc%]Handles the set of black-listed mail addresses for this list.[%END%]</li>
<li><strong><a href="[% 'blacklist' | url_rel([list]) %]" >[%|loc%]Blacklist:[%END%]</a></strong> [%|loc%]Handles the set of black-listed mail addresses for this list.[%END%]</li>
[% END %]
[% END %]
[% IF is_listmaster || is_owner %]
......
......@@ -14,23 +14,23 @@
<em>
[% IF how == 'phrase' %]
[%|loc%](This sentence,[%END%]
[%|loc%](This sentence,[%END%]
[% ELSIF how == 'any' %]
[%|loc%](All of these words,[%END%]
[%|loc%](All of these words,[%END%]
[% ELSE %]
[%|loc%](Each of these words,[%END%]
[%|loc%](Each of these words,[%END%]
[% END %]
[% IF case == 'off' %]
[%|loc%]case insensitive[%END%]
[%|loc%]case insensitive[%END%]
[% ELSE %]
[%|loc%]case sensitive[%END%]
[%|loc%]case sensitive[%END%]
[% END %]
[% IF match == 'partial' %]
[%|loc%]and checking on part of word)[%END%]
[%|loc%]and checking on part of word)[%END%]
[% ELSE %]
[%|loc%]and checking on entire word)[%END%]
[%|loc%]and checking on entire word)[%END%]
[% END %]
</em>
</p>
......@@ -38,9 +38,9 @@
<hr />
[% IF age == 'new' %]
<p><strong>[%|loc%]Newest messages first[%END%]</strong></p>
<p><strong>[%|loc%]Newest messages first[%END%]</strong></p>
[% ELSE %]
<p><strong>[%|loc%]Oldest messages first[%END%]</strong></p>
<p><strong>[%|loc%]Oldest messages first[%END%]</strong></p>
[% END %]
<dl>
......@@ -76,19 +76,19 @@
<dl>
[% IF body %]
<dd>[%|loc(body_count)%]%1 hits on message Body[%END%]<br /></dd>
<dd>[%|loc(body_count)%]%1 hits on message Body[%END%]<br /></dd>
[% END %]
[% IF subj %]
<dd>[%|loc(subj_count)%]%1 hits on message Subject field[%END%]<br /></dd>
<dd>[%|loc(subj_count)%]%1 hits on message Subject field[%END%]<br /></dd>
[% END %]
[% IF from %]
<dd>[%|loc(from_count)%] %1 hits on message From field[%END%]<br /></dd>
<dd>[%|loc(from_count)%] %1 hits on message From field[%END%]<br /></dd>
[% END %]
[% IF date %]
<dd>[%|loc(date_count)%]%1 hits on message Date field[%END%]<br /></dd>
<dd>[%|loc(date_count)%]%1 hits on message Date field[%END%]<br /></dd>
[% END %]
</dl>
......@@ -110,27 +110,27 @@
<input type="hidden" name="previous" value="[% searched %]" />
[% IF body %]
<input type="hidden" name="body" value="[% body %]" />
<input type="hidden" name="body" value="[% body %]" />
[% END %]
[% IF subj %]
<input type="hidden" name="subj" value="[% subj %]" />
<input type="hidden" name="subj" value="[% subj %]" />
[% END %]
[% IF from %]
<input type="hidden" name="from" value="[% from %]" />
<input type="hidden" name="from" value="[% from %]" />
[% END %]
[% IF date %]
<input type="hidden" name="date" value="[% date %]" />
<input type="hidden" name="date" value="[% date %]" />
[% END %]
[% FOREACH u = directories %]
<input type="hidden" name="directories" value="[% u %]" />
<input type="hidden" name="directories" value="[% u %]" />
[% END %]
[% IF continue %]
<input class="MainMenuLinks" name="action_arcsearch" type="submit" value="[%|loc%]Continue search[%END%]" />
<input class="MainMenuLinks" name="action_arcsearch" type="submit" value="[%|loc%]Continue search[%END%]" />
[% END %]
<p class="text_center" >
<input style="padding:0.1em 5em!important;" class="MainMenuLinks" name="action_arcsearch_form" type="submit" value="[%|loc%]New search[%END%]" />
......
<!-- compose_mail.tt2 -->
<form class="noborder" action="[% path_cgi %]" method="post" name="compose_mail" enctype="multipart/form-data">
<fieldset>
[%|loc(user.email)%]From: %1[%END%]<br />
[% mailto = BLOCK ~%]
[% to | mailto(to) | obfuscate(listconf.spam_protection) %]
[%~END~%]
[%|loc(mailto)%]To: %1[%END%]<br />
<label for="subject">[%|loc%]Subject:[%END%] <input id="subject" type="text" size="45" name="subject" value="[% subject %]" /></label>
[% IF subaction == "html_news_letter" %]
<input type="hidden" name="html_news_letter" value="[% subaction %]" />
[% END %]
<input type="hidden" name="action" value="send_mail"/>
<input class="MainMenuLinks" type="submit" name="sub_action_sendmailtolist" value="[%|loc%]Send to list[%END%]" [%- IF topic_required -%] onclick="return checkbox_check_topic(compose_mail)" [% END %]/>
<input class="MainMenuLinks" type="submit" name="sub_action_sendmailtome" value="[%|loc%]Send to me[%END%]" [%- IF topic_required -%] onclick="return checkbox_check_topic(compose_mail)" [% END %]/>
<br />
[%|loc(user.email)%]From: %1[%END%]<br />
[% mailto = BLOCK ~%]
[% to | mailto(to) | obfuscate(listconf.spam_protection) %]
[%~END~%]
[%|loc(mailto)%]To: %1[%END%]<br />
<label for="subject">[%|loc%]Subject:[%END%] <input id="subject" type="text" size="45" name="subject" value="[% subject %]" /></label>
[% IF subaction == "html_news_letter" %]
<input type="hidden" name="html_news_letter" value="[% subaction %]" />
[% END %]
<input type="hidden" name="action" value="send_mail"/>
<input class="MainMenuLinks" type="submit" name="sub_action_sendmailtolist" value="[%|loc%]Send to list[%END%]" [%- IF topic_required -%] onclick="return checkbox_check_topic(compose_mail)" [% END %]/>
<input class="MainMenuLinks" type="submit" name="sub_action_sendmailtome" value="[%|loc%]Send to me[%END%]" [%- IF topic_required -%] onclick="return checkbox_check_topic(compose_mail)" [% END %]/>
<br />
<input type="hidden" name="in_reply_to" value="[% in_reply_to %]" />
<input type="hidden" name="message_id" value="[% message_id %]" />
<input type="hidden" name="list" value="[% list %]" />
[% SET counter = 0 %]
[% SET stringto = '' %]
[% FOREACH r = recipients %]
[% IF counter == 0 %]
[% stringto = r.value.local_to _ ' ' _ r.value.domain_to %]
[% counter = 1 %]
[% ELSE %]
[% stringto = stringto _ ',' _ r.value.local_to _ ' ' _ r.value.domain_to %]
[% END %]
[% END %]
<input type="hidden" name="to" value="[% stringto %]" />
<input type="hidden" name="in_reply_to" value="[% in_reply_to %]" />
<input type="hidden" name="message_id" value="[% message_id %]" />
<input type="hidden" name="list" value="[% list %]" />
[% SET counter = 0 %]
[% SET stringto = '' %]
[% FOREACH r = recipients %]
[% IF counter == 0 %]
[% stringto = r.value.local_to _ ' ' _ r.value.domain_to %]
[% counter = 1 %]
[% ELSE %]
[% stringto = stringto _ ',' _ r.value.local_to _ ' ' _ r.value.domain_to %]
[% END %]
[% END %]
<input type="hidden" name="to" value="[% stringto %]" />
[% IF request_topic %]
<br />
[%|loc%]This list is configured to require topic(s).[%END%]
<br />
[%|loc%]Please select one or more topic(s) that corresponds to your message:[%END%]
<br />
[% FOREACH t = available_topics %]
<input id="topic_[%t.name%]" type="checkbox" name="topic_[%t.name%]" value="1"/> <label for="topic_[%t.name%]">[% t.title %]</label>
<br />
[% END %]
<br />
[% END %]
[% IF request_topic %]
<br />
[%|loc%]This list is configured to require topic(s).[%END%]
<br />
[%|loc%]Please select one or more topic(s) that corresponds to your message:[%END%]
<br />
[% FOREACH t = available_topics %]
<input id="topic_[%t.name%]" type="checkbox" name="topic_[%t.name%]" value="1"/> <label for="topic_[%t.name%]">[% t.title %]</label>
<br />
[% END %]
<br />
[% END %]
[% IF !subaction %]
[% balise_email = '['_'%'_' user.email '_'%'_']' %]
[% balise_fingerprint = '['_'%'_' user.fingerprint '_'%'_']' %]
<textarea name="body" id="body" cols="80" rows="25">[% body %]</textarea>
<br />
[% IF !subaction %]
[% balise_email = '['_'%'_' user.email '_'%'_']' %]
[% balise_fingerprint = '['_'%'_' user.fingerprint '_'%'_']' %]
<textarea name="body" id="body" cols="80" rows="25">[% body %]</textarea>
<br />
[% IF merge_feature %]
<br />
<b>[%|loc%]Messages customization: use the template syntax:[%END%] <a href="http://www.tt2.org">TT2</a></b><br />
[%|loc%]Below are some examples of TT2 parameters usable in messages.[%END%]<br/>
<ul>
<li> <b>[&#37; listname &#37;]</b>[%|loc%]: the list name; always available.[%END%]</li>
<li> <b>[&#37; robot &#37;]</b>[%|loc%]: the name of the host the list is intalled on; always available.[%END%]</li>
<li> <b>[&#37; user.email &#37;]</b>[%|loc%]: the user email; always available.[%END%]</li>
<li> <b>[&#37; user.gecos &#37;]</b>[%|loc%]: the user name associated to her email; always available.[%END%]</li>
<li> <b>[&#37; user.friendly_date &#37;]</b>[%|loc%]: the - human readable - user's subscription date; always available.[%END%]</li>
<li> <b>[&#37; user.custom_attribute.title.value &#37;]</b>[%|loc%]: can be anything you like; available if you defined a user custom attribute named "title" (see the list configuration, section "Miscellaneous").[%END%]</li>
<li> <b>[&#37; user.custom_attribute.name.value &#37;]</b>[%|loc%]: can be anything you like; available if you defined a user custom attribute named "name".[%END%]</li>
<li> <b>[&#37; user.custom_attribute.organization.value &#37;]</b>[%|loc%]: can be anything you like; available if you defined a user custom attribute named "organization".[%END%]</li>
</ul>
[% END %]
[% END %]
[% IF subaction == "html_news_letter" %]
<br /><h3>[%|loc%]Select the source of your HTML newsletter[%END%]</h3>
<label for="url"><strong>[%|loc%]Send the page from the following URL:[%END%] </strong></label>
<input id="url" type="text" size="55" name="url" value="[% url %]" />
<p><strong>[%|loc%]OR[%END%]</strong></p>
<label for="uploaded_file">[%|loc%]<strong>Send an HTML file from your computer:[%END%] </strong></label>
<input id="uploaded_file" type="file" size="45" name="uploaded_file"/>
[% END %]
[% IF merge_feature %]
<br />
<b>[%|loc%]Messages customization: use the template syntax:[%END%] <a href="http://www.tt2.org">TT2</a></b><br />
[%|loc%]Below are some examples of TT2 parameters usable in messages.[%END%]<br/>
<ul>
<li> <b>[&#37; listname &#37;]</b>[%|loc%]: the list name; always available.[%END%]</li>
<li> <b>[&#37; robot &#37;]</b>[%|loc%]: the name of the host the list is intalled on; always available.[%END%]</li>
<li> <b>[&#37; user.email &#37;]</b>[%|loc%]: the user email; always available.[%END%]</li>
<li> <b>[&#37; user.gecos &#37;]</b>[%|loc%]: the user name associated to her email; always available.[%END%]</li>
<li> <b>[&#37; user.friendly_date &#37;]</b>[%|loc%]: the - human readable - user's subscription date; always available.[%END%]</li>
<li> <b>[&#37; user.custom_attribute.title.value &#37;]</b>[%|loc%]: can be anything you like; available if you defined a user custom attribute named "title" (see the list configuration, section "Miscellaneous").[%END%]</li>
<li> <b>[&#37; user.custom_attribute.name.value &#37;]</b>[%|loc%]: can be anything you like; available if you defined a user custom attribute named "name".[%END%]</li>
<li> <b>[&#37; user.custom_attribute.organization.value &#37;]</b>[%|loc%]: can be anything you like; available if you defined a user custom attribute named "organization".[%END%]</li>
</ul>
[% END %]
[% END %]
[% IF subaction == "html_news_letter" %]
<br /><h3>[%|loc%]Select the source of your HTML newsletter[%END%]</h3>
<label for="url"><strong>[%|loc%]Send the page from the following URL:[%END%] </strong></label>
<input id="url" type="text" size="55" name="url" value="[% url %]" />
<p><strong>[%|loc%]OR[%END%]</strong></p>
<label for="uploaded_file">[%|loc%]<strong>Send an HTML file from your computer:[%END%] </strong></label>
<input id="uploaded_file" type="file" size="45" name="uploaded_file"/>
[% END %]
</fieldset>
</form>
<!-- end compose_mail.tt2 -->
......@@ -35,21 +35,21 @@
<label for="template_name_out">[%|loc%]New template name: [%END%] </label><input id="template_name_out" type="text" name="template_name_out" value="[% template_name %]" /><br />
<label for="scope_out">[%|loc%]Scope: [%END%] </label>
<select id="scope_out" name="scope_out">
<option value="site" [% IF scope == 'site' %]selected[% END %]>[%|loc%]site[%END%]</option>
[% UNLESS default_robot %]<option value="robot" [% IF scope == 'robot' %]selected[% END %]>[%|loc%]robot[%END%]</option>[%END%]
<option value="site" [% IF scope == 'site' %]selected[% END %]>[%|loc%]site[%END%]</option>
[% UNLESS default_robot %]<option value="robot" [% IF scope == 'robot' %]selected[% END %]>[%|loc%]robot[%END%]</option>[%END%]
<option value="list" [% IF scope == 'list' %]selected[% END %]>[%|loc%]list[%END%]</option>
</select><br />
<label for="tpl_lang_out">[%|loc%]Language: [%END%] </label>
<select id="tpl_lang_out" name="tpl_lang_out" class="neutral">
<option value="default">[%|loc%]default[%END%]</option>
[% FOREACH lg = languages %]
<option lang="[%lg.key%]" xml:lang="[%lg.key%]"
value="[%lg.key%]"
[%~ IF tpl_lang_lang == lg.key %] selected="selected"[% END %]>
[%~ lg.key | optdesc('lang') ~%]
</option>
[%END%]
</select><br />
<option value="default">[%|loc%]default[%END%]</option>
[% FOREACH lg = languages %]
<option lang="[%lg.key%]" xml:lang="[%lg.key%]"
value="[%lg.key%]"
[%~ IF tpl_lang_lang == lg.key %] selected="selected"[% END %]>
[%~ lg.key | optdesc('lang') ~%]
</option>
[%END%]
</select><br />
<label for="list_out">[%|loc%]Enter list name: [%END%] </label><input id="list_out" type="text" name="list_out" size="20" value="[% list %]" /><br />
<input type="hidden" name="template_name" value="[% template_name %]" />
......@@ -57,8 +57,8 @@
<input type="hidden" name="scope" value="[% scope %]" />
<input type="hidden" name="tpl_lang" value="[% tpl_lang %]" />
<input type="hidden" name="webormail" value="[% webormail %]" />
[% IF scope == 'list' %]
<input type="hidden" name="list" value="[% list %]" />
[% IF scope == 'list' %]
<input type="hidden" name="list" value="[% list %]" />
[% END %]
</fieldset>
<br/>
......
This diff is collapsed.
......@@ -7,8 +7,8 @@
/* Workaround for "noscript ghost" bug */
noscript {
display: block;
}
display: block;
}
</style>
<![endif]-->
......@@ -17,13 +17,13 @@ noscript {
<style type="text/css">
#subnav {
position:absolute;
left:25em;
}
position:absolute;
left:25em;
}
#bandeau_top .login .MainMenuLinks {
margin-top:0.2em;
}
margin-top:0.2em;
}
</style>
<![endif]-->
......@@ -33,31 +33,31 @@ noscript {
<style type="text/css">
ul#MainMenuLinks {
margin-left:-3em;
}
margin-left:-3em;
}
a.input {
padding: 0 0.3em;
}
padding: 0 0.3em;
}
/* "vertical-align: baseline" aligns form fields on bottom of widgets */
form input,
form textarea,
form select {
vertical-align: middle;
}
vertical-align: middle;
}
.MainMenuLinks {
margin-bottom: 0.2em;
vertical-align: middle;
}
margin-bottom: 0.2em;
vertical-align: middle;
}
/* Workaround for "peek-a-boo" bug. */
a.MainMenuLinks,
a.MainMenuLinks:hover,
a.MainMenuLinksCurrentPage,
a.MainMenuLinksCurrentPage:hover {
position: relative;
}
position: relative;
}
</style>
<![endif]-->
......@@ -68,34 +68,34 @@ a.MainMenuLinksCurrentPage:hover {
<style type="text/css">
#logo {
position:absolute;
top:0.5em;
left:-5em;
z-index:510;
}
position:absolute;
top:0.5em;
left:-5em;
z-index:510;
}
#Stretcher {
width:99.5%;
}
width:99.5%;
}
#subnav {
width:100%;
background-color:[% color_5 %];
border:1px solid [% color_8 %];
border-width: 0 1px 0 0;
}
width:100%;
background-color:[% color_5 %];
border:1px solid [% color_8 %];
border-width: 0 1px 0 0;
}
#nav {
width:99%;
}
width:99%;
}
#Footer {
margin: 0.5em 0.8em;
}
margin: 0.5em 0.8em;
}
#bandeau_top .login .MainMenuLinks {
margin-top:0;
}
margin-top:0;
}
</style>
......
<!-- d_control.tt2 -->
<h2>[%|loc%]Shared documents[%END%] <a href="[% 'nomenu/help/shared' | url_rel %]" title="[%|loc%]Open in a new window[%END%]" onclick="window.open('','wws_help','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=400,height=200')" target="wws_help"><i class="fa fa-question-circle" title="[%|loc%]Help[%END%]"></i></a></h2>
<menu class="shared">
[% FOREACH a = shared_doc.ancestors ~%]
[% IF a.type == 'root' ~%]
......
......@@ -7,14 +7,14 @@
<p>[%|loc%]already exist(s), do you want to confirm the install and erase the old file(s) or cancel the install?[%END%]</p>
<form action="[% path_cgi %]" method="post">
<fieldset>
<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 %]" />
[% END %]
<input type="hidden" name="action_d_install_shared" value="1" />
</fieldset>
</form>
<fieldset>
<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 %]" />
[% END %]
<input type="hidden" name="action_d_install_shared" value="1" />
</fieldset>
</form>
<!-- end d_install_shared.tt2 -->
<!-- d_properties.tt2 -->
<h2>[%|loc%]Shared documents[%END%] <a href="[% 'nomenu/help/shared' | url_rel %]" title="[%|loc%]Open in a new window[%END%]" onclick="window.open('','wws_help','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=400,height=200')" target="wws_help"><i class="fa fa-question-circle" title="[%|loc%]Help[%END%]"></i></a></h2>
<menu class="shared">
[% FOREACH a = shared_doc.ancestors ~%]
[% IF a.type == 'root' ~%]
......
......@@ -110,182 +110,183 @@
[% FOREACH s = shared_doc.children ~%]
[% NEXT UNLESS s.type == 'directory' ~%]
<tr class="color0">
<td class="review_cels_mail">
<td class="review_cels_mail">
<a href="[% 'd_read' | url_rel([list,s.paths_d]) %]">
[% PROCESS SharedGetIcon shared_item = s %]
[% s.name %]</a></td>
<td class="review_cels">
[% s.name %]</a>
</td>
<td class="review_cels">
[% IF s.owner ~%]
[% s.owner | mailto(s.owner) | obfuscate(listconf.spam_protection) %]
[% s.owner | mailto(s.owner) | obfuscate(listconf.spam_protection) %]
[%~ ELSE ~%]
[%|loc%]Unknown[%END%]
[%~ END ~%]