Changeset 704ff0 in indico


Ignore:
Timestamp:
06/24/11 14:31:49 (2 years ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
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)
Message:

[MIN] Remove unused MicroSearchBox?

Location:
indico/MaKaC/webinterface
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/wcomponents.py

    re3b051 r704ff0  
    584584        vars["matPackURL"]=quoteattr(str(urlMatPack)) 
    585585        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"] = "" 
    592586 
    593587        return vars 
     
    70897083        return vars 
    70907084 
    7091 class WMicroSearchBox(WBaseSearchBox): 
    7092  
    7093     def __init__(self, confId): 
    7094         WBaseSearchBox.__init__(self, template='MicroSearchBox',targetId = confId) 
    7095         self._confId = confId 
    7096  
    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 vars 
    7102  
    71037085class WCategorySearchBox(WBaseSearchBox): 
    71047086 
Note: See TracChangeset for help on using the changeset viewer.