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="<%
RT->Config->Get(‘WebPath’) %>/NoAuth/Login.html">
<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