Add various FILTERs were required to keep the output valid HTML...
git-svn-id: svn://10.0.0.236/trunk@120260 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -5,11 +5,11 @@ TemplateToolkit
|
||||
|
||||
<p>Your password has been sent.</p>
|
||||
|
||||
<form >
|
||||
<form action="" method="GET"> <!-- XXX POST -->
|
||||
<p>
|
||||
<input type="submit" value="Continue...">
|
||||
[%- FOREACH key = pendingCommands.keys -%] [%- FOREACH value = pendingCommands.$key %]
|
||||
<input type="hidden" name="[% key %]" value="[% value %]">
|
||||
<input type="hidden" name="[% key | html %]" value="[% value | html %]">
|
||||
[%- END -%] [%- END %]
|
||||
</p>
|
||||
</form>
|
||||
|
||||
@@ -11,11 +11,11 @@ Content-Type: text/html
|
||||
<title>[% app.name %][% IF title != app.name %]: [% title %][% END %]</title>
|
||||
<link rel="stylesheet" href="style">
|
||||
[% IF session.fields.settings.stylesheet != '' -%]
|
||||
<link rel="stylesheet" href="[% session.fields.settings.stylesheet %]">
|
||||
<link rel="stylesheet" href="[% session.fields.settings.stylesheet | uri | html %]">
|
||||
[% END -%]
|
||||
</head>
|
||||
<body>
|
||||
<h1>[% title %]</h1>
|
||||
<h1>[% title | html %]</h1>
|
||||
[%- IF session.adminMessage != '' %]
|
||||
<p class="adminMessage">[% session.adminMessage %]</p>
|
||||
<p class="adminMessage">[% session.adminMessage | html %]</p>
|
||||
[% END -%]
|
||||
|
||||
@@ -4,9 +4,9 @@ TemplateToolkit
|
||||
<input type="hidden" name="command" value="loginSendPassword">
|
||||
<select name="protocol">
|
||||
[%- FOREACH protocol = contacts.sort %]
|
||||
<option name="[% protocol %]">[% protocol %]</option>
|
||||
<option name="[% protocol | html %]">[% protocol | html %]</option>
|
||||
[%- END %]
|
||||
</select>
|
||||
<input type="text" name="address" value="">
|
||||
<input type="hidden" name="loginPendingCommands" value="[% pendingCommands %]">
|
||||
<input type="submit" value="[% buttonLabel %]">
|
||||
<input type="hidden" name="loginPendingCommands" value="[% pendingCommands | html %]">
|
||||
<input type="submit" value="[% buttonLabel | html %]">
|
||||
|
||||
Reference in New Issue
Block a user