Edit C:\galaxie\Back\galaxie\navigation\sidebar\searchbox.jsp
<%@page session="true" import="com.edeal.frontline.*"%><%@ page import="com.edeal.frontline.navigation.FlRequest" %><%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl"%><% //final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); //FlRequest flRequest = new FlRequest(request); boolean isSA_srchbox = "true".equalsIgnoreCase(flRequest.getRequestParameterOrAttribute("standalone")); String SfwID_srchbox = flRequest.getRequestParameterOrAttribute("SfwID"); if (isSA_srchbox) { // This code only used in a standalone environment %> <html> <head> <style> body { padding: 0; margin: 0px; } .sidebar_div { width: 220px; margin-bottom: 6px; } .sidebar_div table { width: 100%; padding: 0px; margin: 0px; border-collapse: collapse; } .sidebar_div td { padding: 0px; margin: 0px; } .queryInput{font-family:Arial,Verdana,sans-serif;font-weight:bold;font-size:12px;height:18px;border-top:rgb(127,157,185) 1px solid;border-bottom:rgb(127,157,185) 1px solid;border-right:none;border-left:none;outline:none;} .queryInput:focus{outline:none;} .searcher{background:#FFF;height:20px;border-left:none;border-top:rgb(127,157,185) 1px solid;border-right:rgb(127,157,185) 1px solid;border-bottom:rgb(127,157,185) 1px solid;} </style> </head> <body> <div class="sidebar_div"> <% // End of code only used in a standalone environment } %> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/sidebar/searchbox_css.jsp"> <script language="javascript"> function doPlainTextSearch() { var elem; if (elem = document.getElementById('plainTextSearchQuerySrchbox')) { var srchTxt = elem.value; var searchUrl = '<fl:link url="/search.fl"/>'; if (typeof flEscape == 'function') { srchTxt = flEscape(srchTxt); } searchUrl += ((searchUrl.indexOf('?') == -1)? '?' : '&') + 'query=' + srchTxt; window.location = searchUrl; } } function simulateEnter(event) { if (event.keyCode == 13) { if (event.preventDefault) { event.preventDefault(); } if (event.stopPropagation) { event.stopPropagation(); } event.cancelBubble = true; event.returnValue = false; doPlainTextSearch(); return false; } return true; } </script> <h2><fl:getMessage code="A2009" alt="Recherche"/></h2> <div id="searchbox"> <table cellpadding="0" cellspacing="0" style="width:50%; border: solid; border-width: 1px; border-color : rgb(127,157,185)"> <tr> <td> <input style="font-family:Arial,Verdana,sans-serif;font-weight:bold;font-size:12px;height:18px;border:0;outline:none;" id="plainTextSearchQuerySrchbox" class="queryInput" name="query" type="text" size="19" onfocus="this.select()" onkeypress="simulateEnter(event)"> </td> <td> <input style="border:none;" id="searcher" type="image" src="<fl:webapp/>/icons/frontoffice/search.png" onclick="javascript: doPlainTextSearch()" /> </td> </tr> </table> </div> <% if (isSA_srchbox) { %> </div></body></html> <% } %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de