Commit 2ed4278c authored by olivier.salaun's avatar olivier.salaun
Browse files

[feature] added contextual help links whenever appropriate


git-svn-id: https://subversion.renater.fr/sympa/trunk@5094 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent a75124bd
......@@ -38,6 +38,7 @@ DISTRIBUTE [% list.name %] [% modkey %]
[%|loc(conf.email,conf.host)%]Or send a message to %1@%2 with the following subject :[%END%]
REJECT [% list.name %] [% modkey %]
[%|loc(conf.wwsympa_url)%]The messages moderating documentation: %1/help/admin#moderate[%END%]
--[% boundary %]
Content-Type: message/rfc822
......
......@@ -8,6 +8,8 @@ Content-Transfer-Encoding: 8bit
[%|loc(total,list.name,list.host)%]There are %1 messages to be moderated for list %2@%3[%END%]
[%|loc(conf.wwsympa_url)%]The messages moderating documentation: %1/help/admin#moderate[%END%]
[% IF spool %]
--[% boundary1 %]
Content-Type: multipart/digest; boundary="[% boundary2 %]"
......
<!-- $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>
<br />
[% IF file_handle %]
[% PROCESS $file_handle %]
[% END %]
......
<!-- begin arc_manage.tt2 -->
<hr /><strong>[%|loc%]Archive Management[%END%]</strong>
<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>
<br />
[%|loc%]Select below Archives months you want to delete or download (ZiP format):[%END%]
......
<!-- $Id$ -->
<h3>[%|loc%]Advanced archive search[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/arc#arcsearch" 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>
<form id="bold_label" method="post" action="[% path_cgi %]">
<fieldset>
<input name="list" type="hidden" value="[% list %]" />
......
<!-- $Id$ -->
<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>
<br />
<form action="[% path_cgi %]" method="post" name="compose_mail">
<fieldset>
[%|loc(user.email)%]From: %1[%END%]<br />
[%|loc(mailto)%]To: %1[%END%]<br />
<label for="subject">[%|loc%]Subject:[%END%] <input id="subject" type="text" size="45" name="subject" value="[% subject %]" /></label>
<input class="MainMenuLinks" type="submit" name="action_send_mail" value="[%|loc%]Send this mail[%END%]"
<br />
<input type="hidden" name="in_reply_to" value="[% in_reply_to %]" />
......@@ -39,7 +43,6 @@
<textarea name="body" cols="80" rows="25">
</textarea>
<input class="MainMenuLinks" type="submit" name="action_send_mail" value="[%|loc%]Send this mail[%END%]"
[%- IF topic_required -%] onclick="return checkbox_check_topic(compose_mail)" [% END %] />
</fieldset>
</form>
......@@ -3,7 +3,7 @@
[% IF get_which_owner.size > 0 %]
<h3>[%|loc%]Copy an existing list.[%END%]</h3>
[%|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 ew 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%]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 />
<form action="[% path_cgi %]" method="post">
<fieldset>
......@@ -20,9 +20,9 @@
[% END %]
<h3>[%|loc%]Create a list using a template[%END%] </h3>
<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>
[%|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 plans. [%END%]
[%|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">
<fieldset>
......
......@@ -3,7 +3,7 @@
<span class="search_form"><a class="actionMenuLinks" href="[% path_cgi %]/d_read/[% list %]/[% escaped_father %]">[%|loc%]Up to higher level directory[%END%]</a></span>
<h2>[%|loc(visible_path)%]Access control for the document %1[%END%]</h2>
<h2>[%|loc(visible_path)%]Access control for the document %1[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/shared" 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 />
......
......@@ -9,9 +9,9 @@
[% IF url %]
<h1>[%|loc(visible_path)%]Edition of the bookmark %1[%END%]</h1>
<h1>[%|loc(visible_path)%]Edition of the bookmark %1[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/shared" 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></h1>
[% ELSE %]
<h1>[%|loc(visible_path)%]Edition of the file %1[%END%]</h1>
<h1>[%|loc(visible_path)%]Edition of the file %1[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/shared" 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></h1>
[% END %]
[%|loc(doc_owner)%]Owner : %1[%END%] <br />
......
......@@ -4,11 +4,11 @@
<span class="search_form"><a class="actionMenuLinks" href="[% path_cgi %]/d_read/[% list %]/[% escaped_father %]">[%|loc%]Up to higher level directory[%END%]</a></span>
[% IF url %]
<h2>[%|loc(visible_path)%]Properties of the bookmark %1[%END%]</h2>
<h2>[%|loc(visible_path)%]Properties of the bookmark %1[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/shared" 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>
[% ELSIF directory %]
<h2>[%|loc(visible_path)%]Properties of the directory %1[%END%]</h2>
<h2>[%|loc(visible_path)%]Properties of the directory %1[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/shared" 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>
[% ELSE %]
<h2>[%|loc(visible_path)%]Properties of the file %1[%END%]</h2>
<h2>[%|loc(visible_path)%]Properties of the file %1[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/shared" 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>
[% END %]
<br />
......
......@@ -19,7 +19,7 @@
[% IF path %]
<h1>[%|loc%]Listing of folder[%END%] [% visible_path %]</h1>
<h1>[%|loc%]Listing of folder[%END%] [% visible_path %] <a class="input" href="[% path_cgi %]/nomenu/help/shared" 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></h1>
[% IF expert_page %]
<span class="search_form">
......@@ -44,7 +44,7 @@
<br />
[% ELSE %]
<h1>[%|loc%]Listing of root folder[%END%]</h1>
<h1>[%|loc%]Listing of root folder[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/shared" 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></h1>
[% END %]
<table summary="[%|loc%]Listing of folder[%END%] [% visible_path %]" class="listOfItems">
......
<!-- $Id$ -->
<h2>[%|loc%]Configuring the list[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/listconfig" 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 !group %]
[%|loc%]You can choose below a subset of parameters to edit :[%END%]
<ul>
......
<!-- $Id$ -->
<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>
<form action="[% path_cgi %]" method="post">
<fieldset>
[% IF file %]
......
......@@ -5,7 +5,7 @@
<form action="[% path_cgi %]" method="post" name="moderate_mails">
<fieldset>
<input type="hidden" name="list" value="[% list %]" />
<h2>[%|loc%]Listing messages to moderate[%END%]</h2>
<h2>[%|loc%]Listing messages to moderate[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/admin#moderate" 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>
[%- IF topic_required -%]
<input type="submit" name="action_distribute" value="[%|loc%]Distribute[%END%]" onclick="return checkbox_check_topic(moderate_mails)"/>
......
<!-- $Id$ -->
<h2>[%|loc%]User preferences[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/user#global_pref" 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">
<fieldset>
<label>[%|loc%]Email[%END%] : </label>[% user.email %]<br />
......
<!-- begin rename_list_request.tt2 -->
<h3>[%|loc%]Renaming the list[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/admin#renamelist" 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>
<br />
<form action="[% path_cgi %]" method="post">
<fieldset>
<input type="hidden" name="list" value="[% list %]" />
......@@ -13,6 +15,7 @@
<input name="new_robot" type="hidden" value="[% robot %]" />
[% robot %]
[% END %]
<br />
<input class="MainMenuLinks" type="submit" name="action_rename_list" value="[%|loc%]Rename this list[%END%]" onclick="return request_confirm('[% FILTER escape_quote %][%|loc%]Do you really want to rename this list?[%END%][%END%]')" />
</fieldset>
</form>
......
......@@ -2,6 +2,10 @@
[% PROCESS picture_upload.tt2 %]
[% IF is_owner %]
<h3>[%|loc%]Manage list members[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/admin#manage_members" 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>
[% END %]
[% IF action != 'search' %]
<div class="search_form">
<form action="[% path_cgi %]">
......
<!-- RCS Identication ; $Revision$ ; $Date$ -->
<h3>[%|loc%]Manage bouncing list members[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/admin#manage_bounces" 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>
<br />
<a class="actionMenuLinks" href="[% path_cgi %]/dump/[% list %]/bounce">[%|loc%]Dump[%END%]</a>
<form action="[% path_cgi %]" method="post">
......
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