~ubuntu-branches/ubuntu/lucid/prewikka/lucid

« back to all changes in this revision

Viewing changes to prewikka/templates/UserSettings.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2008-07-02 16:49:06 UTC
  • mfrom: (6.1.2 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080702164906-q2bkfn6i40hd95tt
Tags: 0.9.14-2
* Update watch file
* Bump Standards version to 3.8.0 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#extends prewikka.templates.ClassicLayout
2
2
 
 
3
#def layout_start_hook
 
4
 
 
5
<script type="text/javascript">
 
6
 
 
7
<!--
 
8
 
 
9
\$(document).ready(function() {
 
10
  \$("#allbox").click(function(){
 
11
    \$('input[@name=permissions]').check(\$(this).attr('checked'));
 
12
  });
 
13
});
 
14
 
 
15
//--></script>
 
16
#end def
 
17
 
3
18
#block main_content
4
19
#filter CleanOutput
5
20
 
6
21
<div id="fieldset_page" style="width: 430px;">
7
22
 
8
 
<form action="?" method="post">
 
23
<form id="usersettings" action="?" method="post">
9
24
#if $user.login
 
25
<input type="hidden" name="login" value="$user.login"/>
10
26
<input type="hidden" name="view" value="user_settings_modify"/>
11
27
#else
12
28
<input type="hidden" name="view" value="user_settings_add"/>
13
29
#end if
14
30
 
15
 
<input type="hidden" name="login" value="$user.login"/>
 
31
#if $user.origin
 
32
<input type="hidden" name="origin" value="$user.origin" />
 
33
#end if
16
34
 
17
35
<fieldset class="fieldset_heading">
18
36
 <legend>$_("Account information")</legend>
101
119
#end if
102
120
 
103
121
 <td class="nodash"style="text-align: right;"><b>$_("Check All")</b>
104
 
  <input $checked $disabled class="checkbox" type="checkbox" id="allbox" onclick="checkBoxByName('permissions', document.forms[0].allbox.checked);"/>
 
122
  <input $checked $disabled class="checkbox" type="checkbox" id="allbox"/>
105
123
 </td>
106
124
</tr>
107
125