[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.6-109-g9b53d9a
Ruslan Zakirov
ruz at bestpractical.com
Tue Dec 1 00:12:34 EST 2009
The branch, 3.8-trunk has been updated
via 9b53d9aee05d8c2750a59f88ec3ce8789903dc58 (commit)
via eecd8d6967e2371fa9ac0ea4bb974a5bbd55c9ea (commit)
via c926910432266bf6735d6284ade51c298da68750 (commit)
from f5a672a675c50acb4c20ec1bd6d64ad38fab54e8 (commit)
Summary of changes:
share/html/Elements/Logout | 19 +++++++++++++++----
share/html/Elements/SimpleSearch | 5 ++++-
share/html/NoAuth/css/3.5-default/logo.css | 2 +-
3 files changed, 20 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit c926910432266bf6735d6284ade51c298da68750
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Mon Nov 30 10:10:16 2009 +0300
a callback in Elements/Logout
diff --git a/share/html/Elements/Logout b/share/html/Elements/Logout
index 31ee738..34ed1a3 100644
--- a/share/html/Elements/Logout
+++ b/share/html/Elements/Logout
@@ -45,10 +45,21 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-% unless (!$session{'CurrentUser'}->Name
-% or (RT->Config->Get('WebExternalAuth') and !RT->Config->Get('WebFallbackToInternalAuth'))) {
- | <a href="<%RT->Config->Get('WebPath')%>/NoAuth/Logout.html<%$URL ? "?URL=".$URL : ''%>"><&|/l&>Logout</&></a>
-% }
+ | <a href="<% RT->Config->Get('WebPath') %>/NoAuth/Logout.html<% $URL ? "?URL=". $URL : '' %>"><&|/l&>Logout</&></a>
<%ARGS>
$URL => undef
</%ARGS>
+<%INIT>
+my $show = 0;
+if ( $session{'CurrentUser'}->Name
+ && ( !RT->Config->Get('WebExternalAuth')
+ || RT->Config->Get('WebFallbackToInternalAuth')
+ )
+) {
+ $show = 1;
+}
+
+$m->callback( %ARGS, URL => \$URL, show => \$show );
+
+return unless $show;
+</%INIT>
commit eecd8d6967e2371fa9ac0ea4bb974a5bbd55c9ea
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Tue Dec 1 08:04:54 2009 +0300
there is no div around rtname anymore
diff --git a/share/html/NoAuth/css/3.5-default/logo.css b/share/html/NoAuth/css/3.5-default/logo.css
index de2b978..206b437 100644
--- a/share/html/NoAuth/css/3.5-default/logo.css
+++ b/share/html/NoAuth/css/3.5-default/logo.css
@@ -53,7 +53,7 @@
}
#logo img { border: none; }
-#logo div.rtname {
+#logo .rtname {
text-align: center;
font-weight: bold;
}
commit 9b53d9aee05d8c2750a59f88ec3ce8789903dc58
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Tue Dec 1 08:06:25 2009 +0300
$SendTo argument in SimpleSearch widget
diff --git a/share/html/Elements/SimpleSearch b/share/html/Elements/SimpleSearch
index f6f69d2..16b55fc 100755
--- a/share/html/Elements/SimpleSearch
+++ b/share/html/Elements/SimpleSearch
@@ -45,6 +45,9 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<form action="<% RT->Config->Get('WebPath') %>/Search/Simple.html" id="simple-search">
+<form action="<% RT->Config->Get('WebPath') %><% $SendTo %>" id="simple-search">
<input size="12" name="q" autocomplete="off" accesskey="0" class="field" value="<&|/l&>Search</&>..." onfocus="if (this.value=='<&|/l&>Search</&>...') this.value=''" />
</form>
+<%ARGS>
+$SendTo => '/Search/Simple.html'
+</%ARGS>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list