[Rt-commit] r3435 - in rt/branches/3.5-TESTING: . html/Elements
html/Widgets
trs at bestpractical.com
trs at bestpractical.com
Fri Jul 8 12:01:49 EDT 2005
Author: trs
Date: Fri Jul 8 12:01:48 2005
New Revision: 3435
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/Elements/Login
rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart
Log:
r4934 at wintermute: tom | 2005-07-08 12:00:43 -0400
Allow TitleBoxes to not be hideable (and make this true for the Login titleboxes)
Modified: rt/branches/3.5-TESTING/html/Elements/Login
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/Login (original)
+++ rt/branches/3.5-TESTING/html/Elements/Login Fri Jul 8 12:01:48 2005
@@ -67,13 +67,13 @@
<div id="body">
% if ($Error) {
-<&| "/Widgets/TitleBox" , title => loc('Error') &>
+<&| "/Widgets/TitleBox", title => loc('Error'), hideable => 0 &>
<% $Error %>
</&>
% }
<div id="login-box">
-<&| /Widgets/TitleBox, title => loc('Login'), titleright => $RT::VERSION &>
+<&| /Widgets/TitleBox, title => loc('Login'), titleright => $RT::VERSION, hideable => 0 &>
% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
<form id="login" name="login" method="post" action="<% (UNIVERSAL::can($r, 'uri') && ($r->uri) =~ m!.*/(.*)!) %>">
Modified: rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart
==============================================================================
--- rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart (original)
+++ rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart Fri Jul 8 12:01:48 2005
@@ -45,7 +45,9 @@
%# END BPS TAGGED BLOCK }}}
<div class="titlebox<% $class && " $class" %>"<% $id && qq[ id="$id"] |n %>>
<div class="title<% $title_class && " $title_class" %>">
+% if ($hideable) {
<span class="widget"><a href="#" id="<%$tid%>-link" onclick="return rollup('<%$tid%>');" onfocus="this.blur(); return false;">^</a></span>
+% }
<span class="left"><% $title_href && qq[<a href="$title_href">] | n %><% $title |n %><% $title_href && "</a>" |n%></span>
<span class="right"><% $titleright_href && qq[<a href="$titleright_href">] | n %><% $titleright |n %><% $titleright_href && "</a>" |n%></span>
</div>
@@ -63,6 +65,7 @@
$contentbg => "#dddddd"
$color => "#336699"
$id => undef
+$hideable => 1
</%ARGS>
<%init>
More information about the Rt-commit
mailing list