portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r1735307 - /portals/jetspeed-2/portal/trunk/etc/tutorial/decorations/layout/jetexpress/header.vm
Date Wed, 16 Mar 2016 21:38:29 GMT
Author: taylor
Date: Wed Mar 16 21:38:28 2016
New Revision: 1735307

URL: http://svn.apache.org/viewvc?rev=1735307&view=rev
Log:
JS2-1348 - making search feature optional in site headers

Modified:
    portals/jetspeed-2/portal/trunk/etc/tutorial/decorations/layout/jetexpress/header.vm

Modified: portals/jetspeed-2/portal/trunk/etc/tutorial/decorations/layout/jetexpress/header.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/etc/tutorial/decorations/layout/jetexpress/header.vm?rev=1735307&r1=1735306&r2=1735307&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/etc/tutorial/decorations/layout/jetexpress/header.vm (original)
+++ portals/jetspeed-2/portal/trunk/etc/tutorial/decorations/layout/jetexpress/header.vm Wed
Mar 16 21:38:28 2016
@@ -97,6 +97,9 @@ else if (window.attachEvent) // Microsof
 <!--  BEGIN: layout/html/jetspeed/decorator.vm -->
 <!-- Page Action Bar -->
 #if ($request.getUserPrincipal())
+#if ($pc.getString("search.box.enabled")=="true")
+<span class="layout-searcharea">$jetspeed.renderPortletWindow("sp-definition", "j2-admin::SearchPortlet")</span>
+#end
 <span class="layout-statusarea"><b>$jetspeed.getUserAttribute("user.name.given","")
$jetspeed.getUserAttribute("user.name.family", ${request.userPrincipal.name})</b> |
<a href="#BaseHref()login/logout">Log out</a></span>
 #end
 #if (!$jetspeed.isAjaxCustomizationEnabled())



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message