~ubuntu-branches/debian/squeeze/sympa/squeeze

« back to all changes in this revision

Viewing changes to web_tt2/edit_template.tt2

  • Committer: Bazaar Package Importer
  • Author(s): Christian Perrier
  • Date: 2007-01-20 18:09:28 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070120180928-0e42mbwg87mlo44y
Tags: 5.2.3-1.2
* Non-maintainer upload to re-fix l10n issues
* As debconf-updatepo was not run in previous versions, the French
  translation was outdated. Hence fix it.
* Remove several duplicate spaces in the debconf templates

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- $Id: edit_template.tt2,v 1.4.4.1 2006/08/02 14:34:02 sympa-authors Exp $ -->
 
2
 
 
3
<h2>[%|loc%]Template edition system[%END%]</h2><br />
 
4
<p>
 
5
<ul>
 
6
<li>[%|loc%]Template name[%END%] :  <strong> [% template_name %] </strong></li>
 
7
<li>[%|loc%]Type[%END%] : <strong> [% webormail %] </strong></li>
 
8
<li>[%|loc%]Path[%END%] : <strong> [% template_path %] </strong></li>
 
9
<li>[%|loc%]Scope[%END%] : <strong> [% scope %] </strong>.[% IF scope == 'list' %]
 
10
  ( [%|loc%]this template is defined for list[%END%] [% listname %]@[%robot %] )
 
11
[% ELSE %]
 
12
  [% IF scope == 'robot' %]
 
13
     ( [%|loc%]this template is defined for all lists of robot [%robot %] unless it is redefined for some particular list[%END%] )
 
14
  [% ELSE %]
 
15
     ( [%|loc%]this template is defined for all robots unless  it is redefined for some particular robot[%END%] )
 
16
  [% END %]
 
17
[% END %]
 
18
</li>
 
19
<li>[%|loc%]language[%END%] : <strong> [% subdir %] </strong>.[% IF subdir == 'default' %](this template is used for any language unless it is redefined for a specific language)[% END %]
 
20
</ul>
 
21
</p><br />
 
22
<form action="[% path_cgi %]/edit_template" method="post">
 
23
 <textarea wrap="off" name="content" cols="90" rows="[% rows %]" />
 
24
[% template_content %]
 
25
</textarea><br /><br />
 
26
<input type="hidden" name="webormail" value="[% webormail %]" />
 
27
<input type="hidden" name="template_name" value="[% template_name %]" />
 
28
<input type="hidden" name="action" value="edit_template" />
 
29
<input type="hidden" name="template_path" value="[% template_path %]" />
 
30
[% IF listname %]
 
31
        <input type="hidden" name="listname" value="[% listname %]" /> 
 
32
[% END %] 
 
33
 
 
34
<input type="hidden" name="scopeout" value="[% scope %]" />
 
35
<input type="hidden" name="scope" value="[% scope %]" />        
 
36
<input type="submit" class="MainMenuLinks" name="action_edit_template" value="[%|loc%]save[%END%]" />
 
37
 
 
38
[% IF saved %]
 
39
[%|loc%]Template saved[%END%] ([% time %]) <br /><br />
 
40
[% END %]
 
41
 
 
42
</form>