<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="pragma" content="no-cache"/> <title>`title`</title> <link rel="stylesheet" href="`manager.site`/css?raw&type=text/css" type="text/css"/> `manager.format_template('rellinks', globals())` #if 1: <link href="http://www.google.com/uds/css/gsearch.css" type="text/css" rel="stylesheet"/> <script src="http://www.google.com/uds/api?file=uds.js&v=0.1&key=ABQIAAAAR-7pIrETlb2UhB9mGUdZiRRjW_icnt3gUrbmxMJJa8Y3-VabgxRAxls5w50e4xCxLxNV2M-KyGkgJw" type="text/javascript"></script> <script language="Javascript" type="text/javascript"> //<![CDATA[ function OnLoad() { // Create a search control var searchControl = new GSearchControl(); searchControl.setLinkTarget(GSearch.LINK_TARGET_SELF); modeClosed = new GsearcherOptions(); modeClosed.setExpandMode(GSearchControl.EXPAND_MODE_CLOSED); modeOpen = new GsearcherOptions(); modeOpen.setExpandMode(GSearchControl.EXPAND_MODE_OPEN); // Add in a custom set of searchers var webSearch = new GwebSearch(); searchControl.addSearcher(webSearch, modeClosed); //var muBlogSearch = new GblogSearch(); //searchControl.addSearcher(muBlogSearch); //muBlogSearch.setUserDefinedLabel("mu's blog"); //muBlogSearch.setSiteRestriction("www.tortall.net/mu/blog"); var muWebSearch = new GwebSearch(); searchControl.addSearcher(muWebSearch, modeOpen); muWebSearch.setUserDefinedLabel("mu's site"); muWebSearch.setSiteRestriction("www.tortall.net/mu"); // Tell the searcher to draw itself and tell it where to attach searchControl.draw(document.getElementById("searchcontrol")); } //]]> </script> #pass </head> <body onload="OnLoad()"> `manager.format_template('header', globals())` #if hasattr(manager, 'message'): <div id="status_message">`manager.message`</div> #pass <div id="searchcontrol"></div> `manager.format_template('menu', globals())` `body` `manager.format_template('footer', globals())` </body> </html>