Commit a7209243 authored by david.verdin's avatar david.verdin
Browse files

[*feature] sympa web interface completely revamped.

- new css
- new navigation menu through list admin menu
- miscellaneous modifications in templates
Warning : if you customize your own templates you may notice some mess in the page layout. In such a case compare your templates to the distributed version and report any difference to your own files...
Enjoy ! ;o)



git-svn-id: https://subversion.renater.fr/sympa/trunk@5675 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent f9682d4e
......@@ -277,21 +277,21 @@ my %Default_Conf =
'error_color' => '#ff6666',
'selected_color' => 'silver',
'shaded_color' => '#66cccc',
'color_0' => '#F0F0F0', # very light grey use in tables
'color_0' => '#ffcd9d', # very light grey use in tables
'color_1' => '#999', # main menu button color
'color_2' => '#333', # font color
'color_3' => '#929292', # top boxe and footer box bacground color
'color_4' => 'silver', # page backgound color
'color_3' => '#ccccff', # top boxe and footer box bacground color
'color_4' => '#f77d18', # page backgound color
'color_5' => '#fff', # ??
'color_6' => '#99ccff', # list menu current button
'color_7' => '#ff99cc', # eroorbackground color,
'color_8' => '#3366CC', #
'color_9' => '#DEE7F7',
'color_9' => '#dee7f7',
'color_10' => '#777777', # inactive button
'color_11' => '#3366CC', #
'color_11' => '#ccc', #
'color_12' => '#000',
'color_13' => '#ffffcc', # input backgound | transparent
'color_14' => '#000',
'color_13' => '#ffffce', # input backgound | transparent
'color_14' => '#f4f4f4',
'color_15' => '#000',
'chk_cert_expiration_task' => '',
'crl_update_task' => '',
......
<!-- $Id$ -->
<!-- begin : this part is generated by mhonarc using mhonarc-ressources.tt2 -->
<h3>[%|loc%]List archive[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/arc" 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">[%|loc%]Help[%END%]</a></h3>
<h2>[%|loc%]List archive[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/arc" 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">[%|loc%]Help[%END%]</a></h2>
<br />
[% IF file_handle %]
......
<!-- $Id$ -->
<div class="block">
<h3>[%|loc%]Archive Management[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/admin#manage_archives" 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">[%|loc%]Help[%END%]</a></h3>
<h2>[%|loc%]Archive Management[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/admin#manage_archives" 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">[%|loc%]Help[%END%]</a></h2>
<br />
[%|loc%]Select below Archives months you want to delete or download (ZiP format):[%END%]
<form name="zip_form" method="post" action="[% path_cgi %]">
<form class="noborder" name="zip_form" method="post" action="[% path_cgi %]">
<fieldset>
<label for="directories">[%|loc%]Archive Selection:[%END%]</label><br />
<select name="directories" id="directories" multiple="multiple" size="4">
......@@ -25,4 +26,6 @@
</form>
<hr />
</div>
<!-- end arc_manage.tt2 -->
<!-- $Id$ -->
<div class="block">
<h2>[%|loc%]Blacklist management[%END%]</h2><br />
......@@ -25,7 +26,7 @@ blacklist is in use for the following operation[%END%] : [% conf.use_blacklist %
[% IF rows < '10' %] [% rows = '10' %] [% END %]
[% IF rows > '20' %] [% rows = '20' %] [% END %]
[% rows = rows+2 %]
<form action="[% path_cgi %]/blacklist" method="post">
<form class="noborder" action="[% path_cgi %]/blacklist" method="post">
<fieldset>
<textarea name="blacklist" cols="80" rows="[% rows %]">
[% blacklist %]
......@@ -43,4 +44,5 @@ blacklist is in use for the following operation[%END%] : [% conf.use_blacklist %
</form>
</div>
</div>
<!-- end blacklist.tt2 -->
<!-- $Id$ -->
<div class="block">
<h3>[%|loc%]Sendind a message to the list[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/sendmsg" 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">[%|loc%]Help[%END%]</a></h3>
<h2>[%|loc%]Sendind a message to the list[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/sendmsg" 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">[%|loc%]Help[%END%]</a></h2>
<br />
<form action="[% path_cgi %]" method="post" name="compose_mail">
<form class="noborder" action="[% path_cgi %]" method="post" name="compose_mail">
<fieldset>
[%|loc(user.email)%]From: %1[%END%]<br />
[%|loc(mailto)%]To: %1[%END%]<br />
......@@ -44,4 +45,6 @@
</textarea>
</fieldset>
</form>
</div>
<!-- end compose_mail.tt2 -->
<!-- $Id$ -->
<div class="block">
[% IF status == 'open' %]
[%|loc%]Your list is created.[%END%]<br />
[%|loc%]You can configure it via the admin button beside.[%END%]
......@@ -13,3 +15,5 @@
configuration using the admin button but the list will be unusable until the listmaster validates it.[%END%]
[% END %]
<!-- end create_list.tt2 -->
</div>
\ No newline at end of file
<!-- $Id$ -->
<div class="block">
[% IF get_which_owner.size > 0 %]
<h3>[%|loc%]Copy an existing list.[%END%]</h3>
<h2>[%|loc%]Copy an existing list.[%END%]</h2>
<br />
[%|loc%]You can create a list, using an existing list as a template ; the list configuration of the source list will be copied to create the new one. Note that neither list members, nor archives or shared documents are duplicated. The source lists you can use are limited to lists you own.[%END%]
[%|loc%]After the list is created, you will be able to adjust it's configuration.[%END%] <br />
......@@ -20,8 +23,8 @@
[% END %]
<h3>[%|loc%]Create a list using a template[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/admin#create_list" 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">[%|loc%]Help[%END%]</a></h3>
<h2>[%|loc%]Create a list using a template[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/admin#create_list" 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">[%|loc%]Help[%END%]</a></h2>
<br />
[%|loc%]You can request a new list creation with the following form.You will have to choose a list template that will preset most of the list parameters according to the list usage you plan. [%END%]
[%|loc%]After the list is created, you will be able to adjust it's configuration.[%END%] <br />
<form action="[% path_cgi %]" method="post">
......@@ -93,4 +96,6 @@
<input class="MainMenuLinks" type="submit" name="action_create_list" value="[%|loc%]Submit your creation request[%END%]" />
</fieldset>
</form>
</div>
<!-- end create_list_request.tt2 -->
This diff is collapsed.
......@@ -6,7 +6,8 @@
[% IF !group %]
[%|loc%]You can choose below a subset of parameters to edit :[%END%]
<ul>
<li><a href="[% path_cgi %]/edit_list_request/[% list %]/description" >[%|loc%]List definition[%END%]</a></li>
[% IF GROUP == 'description' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<li><a href="[% path_cgi %]/edit_list_request/[% list %]/description" class="[% class %] >[%|loc%]List definition[%END%]</a></li>
<li><a href="[% path_cgi %]/edit_list_request/[% list %]/sending" >[%|loc%]Sending/receiving setup[%END%]</a></li>
<li><a href="[% path_cgi %]/edit_list_request/[% list %]/command" >[%|loc%]Privileges[%END%]</a></li>
<li><a href="[% path_cgi %]/edit_list_request/[% list %]/archives" >[%|loc%]Archives[%END%]</a></li>
......
<!-- $Id$ -->
<div class="block">
<h3>[%|loc%]Edit list templates[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/admin#customize" 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">[%|loc%]Help[%END%]</a></h3>
<h2>[%|loc%]Edit list templates[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/admin#customize" 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">[%|loc%]Help[%END%]</a></h2>
<form action="[% path_cgi %]" method="post">
<form class="noborder" action="[% path_cgi %]" method="post">
<fieldset>
[% IF file %]
<input type="hidden" name="list" value="[% list %]" />
......@@ -16,7 +17,7 @@
</form>
[% ELSE %]
<form action="[% path_cgi %]" method="post">
<form class="noborder" action="[% path_cgi %]" method="post">
<fieldset>
[%|loc%]You can edit several messages/files associated with your list :[%END%]<br /><br />
......@@ -24,13 +25,13 @@
<dl>
<dd><input type="hidden" name="list" value="[% list %]" />
<h4>[%|loc%]HTML pages[%END%]</h4>
<h3>[%|loc%]HTML pages[%END%]</h3>
<a href="[% path_cgi %]/editfile/[%list%]/homepage" class="MainMenuLinks">[%|loc%]Edit[%END%]</a> [%|helploc%]List homepage : HTML text to describe the list. It is printed on the right-hand side of the main list page. (default for this is the list description)[%END%]<br />
<a href="[% path_cgi %]/editfile/[%list%]/info" class="MainMenuLinks">[%|loc%]Edit[%END%]</a> [%|helploc%]List description : This text is sent as an answer to the mail command
INFO. It can also be included in the <em>Welcome message</em>.[%END%]<br />
<h4>[%|loc%]Automatic messages[%END%]</h4>
<h3>[%|loc%]Automatic messages[%END%]</h3>
<a href="[% path_cgi %]/editfile/[%list%]/welcome.tt2" class="MainMenuLinks">[%|loc%]Edit[%END%]</a> [%|helploc%]Welcome message: This message is sent to new subscribers. It can be a full MIME structured message (only for MIME gurus).[%END%]<br />
<a href="[% path_cgi %]/manage_template/ls_template/[% list %]/reject" class="MainMenuLinks">[%|loc%]Edit[%END%]</a> [%|helploc%]Rejection message : when a message is rejected by list editor, a notification can be sent to the original author. You may prepare various rejection messages.[%END%]<br />
......@@ -39,17 +40,21 @@ when using the command REMIND. It's very useful to help people who are confused
<a href="[% path_cgi %]/editfile/[%list%]/invite.tt2" class="MainMenuLinks">[%|loc%]Edit[%END%]</a> [%|helploc%]Subscribing invitation message : sent to a person if someone
uses the INVITE command to invite someone to subscribe.[%END%]<br />
<h4>[%|loc%]Added in distributed messages[%END%]</h4>
<h3>[%|loc%]Added in distributed messages[%END%]</h3>
<a href="[% path_cgi %]/editfile/[%list%]/message.footer" class="MainMenuLinks">[%|loc%]Edit[%END%]</a> [%|helploc%]Message footer: If this file is not empty, it is added as a MIME attachment at the end of each message distributed to the list.[%END%]<br />
<a href="[% path_cgi %]/editfile/[%list%]/message.header" class="MainMenuLinks">[%|loc%]Edit[%END%]</a> [%|helploc%]Message header: If this file is not empty, it is added as a MIME attachment at the beginning of each message distributed to the list.[%END%]<br />
<h4>[%|loc%]More[%END%]</h4>
<h3>[%|loc%]More[%END%]</h3>
<a href="[% path_cgi %]/editfile/[%list%]/bye.tt2" class="MainMenuLinks">[%|loc%]Edit[%END%]</a> [%|helploc%]Unsubscribe message : This message is sent when users leave the list.[%END%]<br />
<a href="[% path_cgi %]/editfile/[%list%]/removed.tt2" class="MainMenuLinks">[%|loc%]Edit[%END%]</a> [%|helploc%]Deletion message : This message is sent to users when you
remove them from the list using the DEL command (unless you hit the Quiet button).[%END%]<br />
</fieldset>
</form>
[% END %]
</div>
<!-- end editfile.tt2 -->
<!-- $Id$ -->
<div class="ErrorBlock"> <strong>
<div id="ErrorBlock"></div>
<div id="ErrorMsg">
[%###################-%]
[%#### INTERN ERROR -%]
[%###################-%]
......@@ -24,7 +25,7 @@
[% ELSIF i_err.msg == 'create_list' %][%|loc(i_err.listname)%]Failed creating list '%1'. The list might already exist or listname might include forbidden characters.[%END%]
[% END %]
<br />
[% END %]
[%###################-%]
[%#### SYSTEM ERROR -%]
......@@ -33,7 +34,7 @@
[%|loc(s_err.action)%]SYSTEM ERROR (%1)[%END-%]
[% IF s_err.msg == 'a' %]
[% END %]
<br />
[% END %]
[%###################-%]
[%#### USER ERROR -%]
......@@ -128,7 +129,7 @@
[% ELSIF u_err.msg == 'change_admin_email_failed_included' %][%|loc(u_err.listname)%]Failed to update admin email in list '%1', list owner has been notified.[%END%]
[% ELSIF u_err.msg %][%u_err.msg%]
[% END %]
<br />
[% END %]
[%#####################-%]
[%# AUTHORIZATION ERROR-%]
......@@ -141,9 +142,16 @@
[% IF reason == 'edit_right' %][% SET role = auth.role -%][% SET right = auth.right -%][% END -%]
[% PROCESS authorization_reject.tt2 -%]
[% IF auth.login %]<br />[%|loc%]You need to login[%END%][% END %]
<br />
[% END %]
</strong>
<form >
<fieldset>
<input class="MainMenuLinks" type="button" value="Close" onclick="hideError();">
</fieldset>
</form>
</div>
<br />
<!-- end error.tt2 -->
<!-- $Id$ -->
<div id="Footer">
<a href="http://www.sympa.org">Powered by Sympa [% version %]</a>
<div style="margin:0 0.5em 0 40%; float:left; height:20px; width:20px; vertical-align:middle">
<img src="/lumineau/favicon_sympa.png" width="20px" height="20px"/>
</div>
<div style="margin:0.3em 0; float:left; vertical-align:middle; text-align:left;">
<a href="http://www.sympa.org"> Powered by Sympa [% version %]</a>
</div>
</div>
<!-- end footer.tt2 -->
<!-- $Id$ -->
<div class="block">
[% IF help_topic %]
[% PROCESS "help_${help_topic}.tt2" IF help_topic %]
[% ELSE %]
<br />
[% ELSE %]
<h2>[%|helploc%]Subscriber, moderator and owner documentation[%END%]</h2>
......@@ -20,4 +21,7 @@
[%|helploc(path_cgi)%]If you experience any problem, please refer to the <a href="%1/help/faquser">users <acronym title="Frequently asked questions">FAQ</acronym></a> or to the <a href="%1/help/faqadmin">administrators <acronym title="Frequently asked questions">FAQ</acronym></a>.[%END%]</p>
[% END %]
</div>
<!-- end help.tt2 -->
<!-- $Id$ -->
<h1>[%|loc%]Mailing lists server[%END%]</h1>
<p class="text_justify">
[%|loc(conf.email,conf.host)%]This server provides you access to your mailing list environment. Starting from this web page, you can perform subscription options, unsubscription, archive, list moderation, list configuration.[%END%]
</p>
<form action="[% path_cgi %]" method="post">
<fieldset>
<input type="text" size="25" name="filter" value="[% filter %]" alt="[%|loc%]Enter a list name[%END%]"/>
<input type="hidden" name="action" value="search_list" />
<input class="MainMenuLinks" type="submit" name="action_search_list" value="[%|loc%]Search lists[%END%]" />
<br />
</fieldset>
</form>
<br />
<h1 class="block">[%|loc%]Mailing lists categories[%END%]</h1>
<h2>[%|loc%]Mailing lists categories[%END%]</h2>
<br />
<div id="home_container">
......
......@@ -2,9 +2,16 @@
[% IF homepage_content %]
[% homepage_content %]
[% ELSE %]
<pre>
<div class="block">
<h2>[%|loc%]List informations[%END%]</h2>
<p>
[% info_content %]
</pre>
</p>
</div>
[% END %]
<!-- end info.tt2 -->
......@@ -32,6 +32,19 @@ function hide(div){
oDiv = document.getElementById(div);
oDiv.style.display = "none";
}
function hideError()
{
document.getElementById('ErrorBlock').style.display = 'none';
document.getElementById('ErrorMsg').style.display = 'none';
}
function hideNotice()
{
document.getElementById('noticeBlock').style.display = 'none';
document.getElementById('noticeMsg').style.display = 'none';
}
</script>
<script type="text/javascript">
......@@ -47,7 +60,7 @@ function hide(div){
my_form.zip.value = "1";
}
}else{
return false;
return false;[% list %]
}
}
......@@ -161,14 +174,6 @@ function hide(div){
}
}
[% IF (action == 'skinsedit') %]
function chooseColorNumber(cn) {
var select = document.getElementById('custom_color_number');
if(select) for(var i=0; i<select.options.length; i++) if(select.options[i].value == cn) select.options.selectedIndex = i;
}
[% END %]
[% IF (action == 'modindex' || action == 'request_topic') || (action == 'viewmod' || action == 'compose_mail')%]
// check if rejecting quietly spams
......
......@@ -3,59 +3,62 @@
<div class="MenuBlock">
[% PROCESS 'list_panel.tt2' %]
<div id="list_admin_menu">
<ul>
[% IF is_subscriber == '1' %]
[% IF may_suboptions == '1' %]
[% IF action == 'suboptions' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<strong><a class="[% class %]" href="[% path_cgi %]/suboptions/[% list %]" >[%|loc%]Subscriber Options[%END%]</a></strong><br />
<li class="[% class %]"><a href="[% path_cgi %]/suboptions/[% list %]" >[%|loc%]Subscriber Options[%END%]</a></li>
[% END %]
[% IF may_signoff == '1' %]
[% IF action == 'signoff' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<strong><a class="[% class %]" href="[% path_cgi %]/signoff/[% list %]" onclick="request_confirm_link('[% path_cgi %]/signoff/[% list %]', '[% FILTER escape_quote %][%|loc(list)%]Do you really want to unsubscribe from list %1?[%END%][%END%]'); return false;">[%|loc%]Unsubscribe[%END%]</a></strong><br />
<li class="[% class %]"><a href="[% path_cgi %]/signoff/[% list %]" onclick="request_confirm_link('[% path_cgi %]/signoff/[% list %]', '[% FILTER escape_quote %][%|loc(list)%]Do you really want to unsubscribe from list %1?[%END%][%END%]'); return false;">[%|loc%]Unsubscribe[%END%]</a></li>
[% END %]
[% ELSE %]
[% IF may_subscribe %]
[% IF action == 'subrequest' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<strong><a class="[% class %]" href="[% path_cgi %]/subscribe/[% list %]" [% IF listconf.custom_attribute.size == 0 %]onclick="request_confirm_link('[% path_cgi %]/subscribe/[% list %]', '[% FILTER escape_quote %][%|loc(list)%]Do you really want to subscribe to list %1?[%END%][%END%]'); return false;"[% END %]>[%|loc%]Subscribe[%END%]</a></strong><br />
<li ><a class="[% class %]" href="[% path_cgi %]/subscribe/[% list %]" [% IF listconf.custom_attribute.size == 0 %]onclick="request_confirm_link('[% path_cgi %]/subscribe/[% list %]', '[% FILTER escape_quote %][%|loc(list)%]Do you really want to subscribe to list %1?[%END%][%END%]'); return false;"[% END %]>[%|loc%]Subscribe[%END%]</a></li>
[% END %]
[% IF ! user.email %]
[% IF action == 'signoff' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<strong><a class="[% class %]" href="[% path_cgi %]/sigrequest/[% list %]">[%|loc%]Unsubscribe[%END%]</a></strong><br />
<li class="[% class %]"><a href="[% path_cgi %]/sigrequest/[% list %]">[%|loc%]Unsubscribe[%END%]</a></li>
[% END %]
[% END %]
[% IF action == 'info'%][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<strong><a class="[% class %]" href="[% path_cgi %]/info/[% list %]">[%|loc%]Info[%END%]</a></strong><br />
<li class="[% class %]"><a href="[% path_cgi %]/info/[% list %]">[%|loc%]Info[%END%]</a></li>
[% IF action == 'admin' || action_type == 'admin' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<strong><a class="[% class %]" href="[% path_cgi %]/admin/[% list %]">[%|loc%]Admin[%END%]</a></strong><br />
<li class="[% class %]"><a href="[% path_cgi %]/admin/[% list %]">[%|loc%]Admin[%END%]</a></li>
[% IF is_owner || is_editor %]
<span id="list_admin_menu">[%|loc%]Moderate[%END%]</span><br />
<li class ="menuLinks" >[%|loc%]Moderate[%END%]
<ul class="menuLinks">
[% IF is_editor %]
[% IF action == 'modindex' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<li><a class="[% class %]" href="[% path_cgi %]/modindex/[% list %]">[%|loc%]Message[%END%] ([% mod_message %]) </a></li>
<li class="[% class %]">&#187; &nbsp;<a href="[% path_cgi %]/modindex/[% list %]">[%|loc%]Message[%END%] ([% mod_message %]) </a></li>
<li><a class="[% class %]" href="[% path_cgi %]/modindex/[% list %]">[%|loc%]Document[%END%] ([% mod_total_shared %])</a></li>
<li class="[% class %]">&#187; &nbsp;<a href="[% path_cgi %]/modindex/[% list %]">[%|loc%]Document[%END%] ([% mod_total_shared %])</a></li>
[% END %]
[% IF is_owner %]
[% IF action == 'subindex' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<li><a class="[% class %]" href="[% path_cgi %]/subindex/[% list %]">[%|loc%]Subscriptions[%END%] ([% mod_subscription %])</a></li>
<li class="[% class %]">&#187; &nbsp;<a href="[% path_cgi %]/subindex/[% list %]">[%|loc%]Subscriptions[%END%] ([% mod_subscription %])</a></li>
[% END %]
</ul>
</li>
[% END %]
[% IF is_archived %]
[% IF arc_access %]
[% IF action == 'arc' || action == 'arcsearch_form' || action == 'arcsearch' || action == 'arc_protect' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<strong><a class="[% class %]" href="[% path_cgi %]/arc/[% list %]" >[%|loc%]Archive[%END%]</a></strong><br />
<li class="[% class %]"><a href="[% path_cgi %]/arc/[% list %]" >[%|loc%]Archive[%END%]</a></li>
[% ELSE %]
<div class="menuInactive2">[%|loc%]Archive[%END%]</div><br />
[% END %]
......@@ -63,18 +66,18 @@
[% IF may_post %]
[% IF action == 'compose_mail' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<strong><a class="[% class %]" href="[% path_cgi %]/compose_mail/[% list %]" >[%|loc%]Post[%END%]</a></strong><br />
<li class="[% class %]"><a href="[% path_cgi %]/compose_mail/[% list %]" >[%|loc%]Post[%END%]</a></li>
[% ELSE %]
<div class="menuInactive2">[%|loc%]Post[%END%]</div><br />
[% END %]
[% IF action == 'rss_request' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<strong><a class="[% class %]" href="[% path_cgi %]/rss_request/[% list %]" >[%|loc%]RSS[%END%]</a></strong><br />
<li class="[% class %]"><a href="[% path_cgi %]/rss_request/[% list %]" >[%|loc%]RSS[%END%]</a></li>
[% IF shared == 'exist' %]
[% IF may_d_read %]
[% IF action == 'd_read' || action == 'd_edit' || action == 'd_properties' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<strong><a class="[% class %]" href="[% path_cgi %]/d_read/[% list %]/" >[%|loc%]Shared documents[%END%]</a></strong><br />
<li class="[% class %]"><a href="[% path_cgi %]/d_read/[% list %]/" >[%|loc%]Shared documents[%END%]</a></li>
[% ELSE %]
<div class="menuInactive2">[%|loc%]Shared documents[%END%]</div><br />
[% END %]
......@@ -82,9 +85,9 @@
[% IF may_review %]
[% IF action == 'review' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<strong><a class="[% class %]" href="[% path_cgi %]/review/[% list %]" >[%|loc%]Review members[%END%]</a></strong><br />
<br />
[% END %]
<li class="[% class %]"><a href="[% path_cgi %]/review/[% list %]" >[%|loc%]Review members[%END%]</a></li>
[% END %]
</div>
</div>
<!-- end list_menu.tt2 -->
<!-- $Id$ -->
[% letters = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','others' ] %]
[% IF action == 'search_list' %]
[%|loc(occurrence)%]%1 occurrence(s) found[%END%]<br /><br />
[% ELSIF action == 'search_user' %]
......@@ -7,16 +10,10 @@
[% END %]
[% IF which %]
[% letters = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','others' ] %]
<p align="center">
[% FOREACH letter IN letters %]
[% IF orderedlist.$letter.0 %]
<a href="#[%letter%]">[%letter%]</a>&nbsp;
[% ELSE %]
[%letter%]&nbsp;
[% END %]
[% END %]
</p>
<div class="block">
<div class="columns">
[% FOREACH letter IN letters %]
[% IF orderedlist.$letter.0 %]
......@@ -45,4 +42,9 @@
[% ELSE %]
<p>[%|loc%]No mailing list available.[%END%]</p>
[% END %]
</div>
</div>
<!-- end lists.tt2 -->
<!-- $Id$ -->
<div class="MenuBlock">
<div id="bandeau_top">
[% IF user.email %]
<div class="MenuBlock">
<div id="Identity">[% user.email %]<br />
<div id="Identity">[% user.email %]&nbsp;
[% IF restore_email %]
<form class="text_center" action="[% path_cgi %]" method="post">
<fieldset><input class="MainMenuLinks" type="submit" name="action_restore_email" value="[%|loc%]Restore identity[%END%]" />
</fieldset>
</form>
[%END%]
[% IF is_listmaster %][%|loc%]Listmaster[%END%]
[% ELSIF is_privileged_owner %][%|loc%]Privileged owner[%END%]
[% ELSIF is_owner %][%|loc%]Owner[%END%]
[% ELSIF is_editor %][%|loc%]Editor[%END%]
[% ELSIF is_subscriber %][%|loc%]Subscriber[%END%]
[% IF is_listmaster %][%|loc%][Listmaster][%END%]
[% ELSIF is_privileged_owner %][%|loc%][Privileged owner][%END%]
[% ELSIF is_owner %][%|loc%][Owner][%END%]
[% ELSIF is_editor %][%|loc%][Editor][%END%]
[% ELSIF is_subscriber %][%|loc%][Subscriber][%END%]
[% END %]
</div>
<br />
[% IF last_login_date %]
<span>[%|loc(last_login_host,last_login_date)%]last login from %1 <br />(%2)</span>[%END%]
<span>[%|loc(last_login_host,last_login_date)%]last login from %1 &nbsp;&nbsp; (%2)</span>[%END%]
[%END%]
</div>
[% IF auth_method == 'md5' %]
<form class="text_center" action="[% path_cgi %]" method="post">
<div class="login">
<form action="[% path_cgi %]" method="post">
<fieldset>
<input type="hidden" name="action" value="logout" />
[% IF referer %]
......@@ -33,11 +36,12 @@
<input class="MainMenuLinks" type="submit" name="action_logout" value="[%|loc%]Logout[%END%]" />
</fieldset>
</form>
[% END %]
</div>
[% END %]
[% IF action == 'pref' %][% SET class = 'menuLinksCurrentPage' %][% ELSE %][% SET class = 'menuLinks' %][% END %]
<strong><a class="[% class %]" href="[% path_cgi %]/pref" >[%|loc%]Your preferences[%END%]</a></strong><br />
<div class="prefs">
<a href="[% path_cgi %]/pref" >[%|loc%]Your preferences[%END%]</a>
</div>
[% ELSE %]
[% PROCESS 'loginbanner.tt2' %]
......
<!-- $Id$ -->
<div class="MenuBlock">
<div id="Identity_not_connect">
[% IF use_sso %]
<form action="[% path_cgi %]" method="post">
<fieldset>
......@@ -12,7 +12,7 @@
[% IF sso_number == 1 %]
[% FOREACH server = sso %]
<input type="hidden" name="auth_service_name" value="[% server.key %]" />
<input class="MainMenuLinks" type="submit" name="action_sso_login" value="[% server.value %]" /><br />
<input class="MainMenuLinks" type="submit" name="action_sso_login" value="[% server.value %]" />
[% END %]
[% ELSE %]
<label for="auth_service_name">[%|loc%]To login, select your organization authentication server below:[%END%]</label><br/>
......@@ -21,14 +21,14 @@
<option value="[% server.key %]">[% server.value %]</option>
[% END %]
</select>
<input class="MainMenuLinks" type="submit" name="action_sso_login" value="[%|loc%]Go[%END%]" /><br />
[% END %]
<input class="MainMenuLinks" type="submit" name="action_sso_login" value="[%|loc%]Go[%END%]" />
[% END %]
</fieldset>
</form>
[% END %]
[% IF use_passwd == '1' %]
<form action="[% path_cgi %]" method="post">
[% IF use_passwd == '1' %]
<form action="[% path_cgi %]" method="post">
<fieldset>
<input type="hidden" name="previous_action" value="[% previous_action %]" />
<input type="hidden" name="previous_list" value="[% previous_list %]" />
......@@ -36,22 +36,24 @@
<input type="hidden" name="list" value="[% list %]" />
<input type="hidden" name="action" value="login" />
<label for="email_login">[%|loc%]email address[%END%] :</label><br />
<input type="text" name="email" id="email_login" size="28" value="[% unauthenticated_email %]" /><br />
<label for="passwd" >[%|loc%]password[%END%] :</label><br />
<label for="email_login">[%|loc%]email address[%END%] :</label>
<input type="text" name="email" id="email_login" size="28" value="[% unauthenticated_email %]" /> &nbsp;&nbsp;
<label for="passwd" >[%|loc%]password[%END%] :</label>