Final test for L_loginBox, and coverage improvements for RootTitle.
Pod and documentation fixes for L_loginBox macro.
This commit is contained in:
parent
90cb569bb5
commit
65374109b1
4 changed files with 183 additions and 35 deletions
|
|
@ -47,12 +47,14 @@ sub _createURL {
|
|||
|
||||
=head3 boxSize
|
||||
|
||||
The size of the login box. Defaults to 12.
|
||||
The size of the username and password form fields. Defaults to 12.
|
||||
Non-IE browsers will have their boxSize automatically scaled by 2/3
|
||||
due differences in the way they render text form boxes.
|
||||
|
||||
=head3 text
|
||||
|
||||
A custom text message, processed for embedded text surrounded by percent signs
|
||||
to turn into links to logout.
|
||||
to turn into a link to logout.
|
||||
|
||||
=head3 templateId
|
||||
|
||||
|
|
|
|||
|
|
@ -17,19 +17,14 @@ our $I18N = {
|
|||
lastUpdated => 1148963673,
|
||||
},
|
||||
|
||||
'customText' => {
|
||||
message => q|The user defined text to display if the user is logged in.|,
|
||||
lastUpdated => 1148963673,
|
||||
},
|
||||
|
||||
'hello.label' => {
|
||||
message => q|Internationalized welcome message.|,
|
||||
lastUpdated => 1148963673,
|
||||
},
|
||||
|
||||
'customText' => {
|
||||
message => q|The text supplied to the macro to display if the user is logged in.|,
|
||||
lastUpdated => 1148963673,
|
||||
message => q|The text supplied to the macro to display if the user is logged in. In general, this is used instead of the <b>logout.label</b> and <b>logout.url</b> variables.|,
|
||||
lastUpdated => 1158340176,
|
||||
},
|
||||
|
||||
'account.display.url' => {
|
||||
|
|
@ -90,14 +85,14 @@ our $I18N = {
|
|||
'login box body' => {
|
||||
message => q|
|
||||
<p><b>^L; or ^L(); - Login Box</b><br />
|
||||
A small login form. This macro takes up to three parameters. The first is used to set the width of the login box: ^L(20);. The second sets the message displayed after the user is logged in: ^L(20,"Hi ^a(^@;);. Click %here% if you wanna log out!");. Text between percent signs (%) is replaced by a link to the logout operation. The third parameter is the ID of a template in the Macro/L_loginBox namespace to replace the default template. The variables below are
|
||||
A small login form. This macro takes up to three parameters. The first is used to set the width of text boxes for entering the username and password: ^L(20);. This width is scaled by 2/3 if the user's browser isn't IE due to differences in the way that different browsers draw the text boxes. The second sets the message displayed after the user is logged in: ^L(20,"Hi ^a(^@;);. Click %here% if you have to scoot!");. Text between percent signs (%) is replaced by a link to the logout operation. The third parameter is the ID of a template in the Macro/L_loginBox namespace to replace the default template. The variables below are
|
||||
available for use in the template.</p>
|
||||
|
||||
<p><b>NOTE:</b> The .loginBox style sheet class is tied to this macro.
|
||||
</p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1148963753,
|
||||
lastUpdated => 1158340077,
|
||||
},
|
||||
|
||||
'48' => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue