Skip to content

Commit

Permalink
Item2407: Remove empty paragraph from login template
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@5612 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
ArthurClemens authored and ArthurClemens committed Nov 24, 2009
1 parent 81396a9 commit a342121
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions core/templates/login.tmpl
Expand Up @@ -11,8 +11,7 @@

%TMPL:DEF{"titleaction"}%%MAKETEXT{"([_1] login)" args="<nop>%WIKITOOLNAME%"}%%TMPL:END%

%TMPL:DEF{"title"}%---++ %MAKETEXT{"Please enter your username and password"}%
%TMPL:END%
%TMPL:DEF{"title"}%<h2>%MAKETEXT{"Please enter your username and password"}%</h2>%TMPL:END%

%TMPL:DEF{"titlestep"}%<div class="foswikiFormStep">
%TMPL:P{"title"}%
Expand All @@ -21,7 +20,7 @@


%TMPL:DEF{"notestep"}%<div style="display:%IF{'defined ERROR or defined NOTE or defined BANNER' then='block' else='none'}%;">
%IF{"defined NOTE AND $NOTE != ''" then='---+++ %NOTE%'}%</div>%TMPL:END%
%IF{"defined NOTE AND $NOTE != ''" then='<h3>%NOTE%</h3>'}%</div>%TMPL:END%


%TMPL:DEF{"errorstep"}%%IF{"defined BANNER AND $BANNER != ''" then='<div class="foswikiNotification foswikiAlert foswikiUnvisited foswikiLoginNotification">%BANNER%%IF{"defined ERROR AND $ERROR != ''" then='<!--%TMPL:P{"error"}%-->'}%</div>'}%%TMPL:END%
Expand All @@ -39,7 +38,7 @@
%TMPL:DEF{"usernamefield"}%<input tabindex='1' type='text' class='foswikiInputField foswikiFocus' size='40' name='username' value='%URLPARAM{"usernamestep"}%' %TMPL:P{context="no_auto_complete_login" then="autocomplete_off"}% />%TMPL:END%

%TMPL:DEF{"usernamestep"}%<div class="foswikiFormStep">
---+++ %MAKETEXT{"Username"}%
<h3>%MAKETEXT{"Username"}%</h3>

%TMPL:P{"usernamefield"}% %TMPL:P{"usernamefieldhelp"}%

Expand All @@ -57,7 +56,7 @@
%TMPL:P{context="can_remember_login" then="rememberbox"}%%TMPL:END%

%TMPL:DEF{"passwordstep"}%<div class="foswikiFormStep">
---+++ %MAKETEXT{"Password"}%
<h3>%MAKETEXT{"Password"}%</h3>

%TMPL:P{"passwordfieldnoteremember"}%
</div><!-- /foswikiFormStep-->%TMPL:END%
Expand Down

0 comments on commit a342121

Please sign in to comment.