Changeset 704ff0 in indico
- Timestamp:
- 06/24/11 14:31:49 (2 years ago)
- Branches:
- master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
- Children:
- d5831e
- Parents:
- 75bea1
- git-author:
- Adrian Moennich <jerome.ernst.monnich@…> (06/15/11 11:03:38)
- git-committer:
- Pedro Ferreira <jose.pedro.ferreira@…> (06/24/11 14:31:49)
- Location:
- indico/MaKaC/webinterface
- Files:
-
- 1 deleted
- 1 edited
-
tpls/MicroSearchBox.tpl (deleted)
-
wcomponents.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/webinterface/wcomponents.py
re3b051 r704ff0 584 584 vars["matPackURL"]=quoteattr(str(urlMatPack)) 585 585 vars["zipIMG"]=quoteattr(str(Configuration.Config.getInstance().getSystemIconURL( "smallzip" ))) 586 587 if Config.getInstance().getIndicoSearchServer() != '' :588 vars["searchBox"] = WMicroSearchBox(self._conf.getId()).getHTML()589 vars["searchURL"] = quoteattr(str(Configuration.Config.getInstance().getSystemIconURL( "search" )))590 else:591 vars["searchBox"] = ""592 586 593 587 return vars … … 7089 7083 return vars 7090 7084 7091 class WMicroSearchBox(WBaseSearchBox):7092 7093 def __init__(self, confId):7094 WBaseSearchBox.__init__(self, template='MicroSearchBox',targetId = confId)7095 self._confId = confId7096 7097 def getVars(self):7098 vars = WBaseSearchBox.getVars( self )7099 vars["innerBox"] = WMiniSearchBox(self._confId).getHTML().replace('"', '\\"').replace("'", "\\'").replace("\n"," ")7100 vars["closeIcon"] = quoteattr(str(Configuration.Config.getInstance().getSystemIconURL("remove")));7101 return vars7102 7103 7085 class WCategorySearchBox(WBaseSearchBox): 7104 7086
Note: See TracChangeset
for help on using the changeset viewer.
