From: Zynda, Bradley V. (GSFC-423.0)[ADNET SYSTEMS INC]
Sent: 6/27/2012 10:13 AM
To: Brad
Subject: Re: [rt-users] Login banner

Hi Jonathan,

I have added a test label to:

/opt/rt4/share/html/Elements/Login



Code I have inserted:

<div class="input-row">
<span class="label"><&|/l&>TestLabel</&>:</span>
</div>



Snippet of the code with my inserted code:

% $m->callback( %ARGS, CallbackName => 'Header' );
<& /Elements/Header, Title => loc('Login'), Focus => 'user', RichText => 0
&>

<div id="body" class="login-body">

<& /Elements/ListActions,
    title       => loc('Error'),
    titlebox    => { class => 'error', hideable => 0 },
    actions     => $actions
&>

% $m->callback( %ARGS, CallbackName => 'BeforeForm' );

<div id="login-box">
<&| /Widgets/TitleBox, title => loc('Login'), titleright => $RT::VERSION,
hideable => 0 &>

% unless (RT->Config->Get('WebExternalAuth') and
!RT->Config->Get('WebFallbackToInternalAuth')) {
<form id="login" name="login" method="post" action="">

<div class="input-row">
    <span class="label"><&|/l&>Username</&>:</span>
    <span class="input"><input name="user" value="<%$user%>" id="user"
/></span>
</div>

<div class="input-row">
    <span class="label"><&|/l&>Password</&>:</span>
    <span class="input"><input type="password" name="pass"
autocomplete="off" /></span>
</div>

<div class="input-row">
    <span class="label"><&|/l&>TestLabel</&>:</span>
</div>

<input type="hidden" name="next" value="<% $next %>" />

<script type="text/_javascript_">
jQuery(function(){
    if (window.location.hash) {
        var form = jQuery("form[name=login]");
        form.attr('action', form.attr('action') + '#' +
window.location.hash.replace(/^#/, ''));
    }
});



Do I need to rebuild anything? As I am not seeing any changes on the login
page via the browser.

Note: I have cleared the browser cache prior to going to the page.

Thanks,
Brad

On 6/27/12 10:01 AM, "Brad" <b_zy...@comcast.net> wrote:

>
>
>
>________________________________________
>From:
>Jonathan Khattir
>Sent:
>6/27/2012 4:03 AM
>To:
>Brad
>Subject:
>Re: [rt-users] Login banner
>
>Go to /html/Elements/Login
>
>2012/6/26 Brad <b_zy...@comcast.net>
>
>
>
>
>________________________________________
>From:
>Brad
>Sent:
>6/26/2012 12:36 PM
>To:
>Brad;
>rt-us...@bestpractical.com <mailto:rt-us...@bestpractical.com>
>Subject:
>Login banner
>
>
>
>
>________________________________________
>From:
>Brad
>Sent:
>6/26/2012 10:14 AM
>To:
>rt-us...@bestpractical.com
>Subject:
>Login banner
>
>Hello,
>
>Does anyone have a how-to on adding text above, below or in the default
>login box via the login page.
>
>RT version 4.0.5 default theme
>
>Have a requirement to have legal warning at all login prompts.
>
>Thanks,
>Brad
>
>
>
>
>
>
>
>

Reply via email to