~ubuntu-branches/ubuntu/hardy/gallery2/hardy-security

« back to all changes in this revision

Viewing changes to modules/core/templates/blocks/LoginBlock.tpl

  • Committer: Bazaar Package Importer
  • Author(s): Michael C. Schultheiss
  • Date: 2006-04-16 16:42:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060416164235-8uy0u4bfjdxpge2o
Tags: 2.1.1-1
* New upstream release (Closes: #362936)
  + Bugfixes for Postgres7 (Closes: #359000, #362152)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{*
2
 
 * $Revision: 1.3 $
 
2
 * $Revision: 1.4 $
3
3
 * If you want to customize this file, do not edit it directly since future upgrades
4
4
 * may overwrite it.  Instead, copy it into a new directory called "local" and edit that
5
5
 * version.  Gallery will look for that file first and use it if it exists.
16
16
             name="{g->formVar var="form[username]"}" value="{g->text text="Username"}"
17
17
             onfocus="var f=document.getElementById('giFormUsername'); if (f.value == '{g->text text="Username" forJavascript=1}') {ldelim} f.value = '' {rdelim}"
18
18
             onblur="var f=document.getElementById('giFormUsername'); if (f.value == '') {ldelim} f.value = '{g->text text="Username" forJavascript=1}' {rdelim}"/>
19
 
 
20
 
      <input type="password" id="giFormPassword" size="10" name="{g->formVar var="form[password]"}"/>
 
19
      <input type="password" id="giFormPassword" size="10"
 
20
            name="{g->formVar var="form[password]"}"/>
 
21
 
 
22
      {* Include our ValidationPlugins *}
 
23
      {g->callback type="core.LoadValidationPlugins"}
 
24
      {foreach from=$block.core.ValidationPlugins item=plugin}
 
25
        {include file="gallery:`$plugin.file`" l10Domain=$plugin.l10Domain}
 
26
      {/foreach}
 
27
 
21
28
      <input type="submit" class="inputTypeSubmit"
22
29
             name="{g->formVar var="form[action][login]"}" value="{g->text text="Login"}"/>
23
30
    </div>