Added XHTML Strict templates for multisearch and blank page
This commit is contained in:
parent
1e942094a0
commit
df098ab1bf
2 changed files with 82 additions and 0 deletions
|
|
@ -0,0 +1,57 @@
|
|||
#MultiSearchTmpl0000001
|
||||
<a name="<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h2><tmpl_var title></h2>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<tmpl_var description><p />
|
||||
</tmpl_if>
|
||||
<script type="text/javascript">
|
||||
function domultisearch() {
|
||||
var sf=document.getElementById("multisearchform");
|
||||
var submitto = sf.sengines.options[sf.sengines.selectedIndex].value + escape(sf.searchterms.value);
|
||||
window.open(submitto);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div style="width:100%">
|
||||
<form id="multisearchform" onsubmit="return domultisearch();" action="">
|
||||
<table cellpadding="2" cellspacing="0" class="multiSearch" border="0">
|
||||
<tr>
|
||||
<td align="right">Search:</td>
|
||||
<td>
|
||||
<select name="sengines">
|
||||
<option value="http://www.google.com/search?q=" selected="selected">Google</option>
|
||||
<option value="http://news.google.com/news?q=">Google News</option>
|
||||
<option value="http://www.flickr.com/photos/tags/">Flickr Photos</option>
|
||||
<option value="http://www.digg.com/search?submit=Submit&search=">Digg.com</option>
|
||||
<option value="http://www.altavista.com/web/results?q=">Alta Vista</option>
|
||||
<option value="http://search.yahoo.com/search?p=">Yahoo!</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">For:</td>
|
||||
<td><input type="text" name="searchterms" /> <input type="submit" name="SearchSubmit" value="Search" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
h2 {
|
||||
font-family:arial;
|
||||
margin-top:3px;
|
||||
margin-bottom:3px;
|
||||
}
|
||||
.multiSearch {
|
||||
background-color:#DADADA;
|
||||
border:solid gray 1px;
|
||||
}
|
||||
</style>
|
||||
25
docs/upgrades/templates-6.99.0/wgtemplate_webgui6_blank.tmpl
Normal file
25
docs/upgrades/templates-6.99.0/wgtemplate_webgui6_blank.tmpl
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#PBtmplBlankStyle000001
|
||||
<!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">
|
||||
<head>
|
||||
<title>^Page(title); - <tmpl_var session.setting.companyName></title>
|
||||
<link rel="icon" href="^Extras;favicon.png" type="image/png" />
|
||||
<link rel="shortcut icon" href="^Extras;favicon.ico" />
|
||||
<tmpl_var head.tags>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
^AdminBar("PBtmpl0000000000000090");
|
||||
<tmpl_var body.content>
|
||||
|
||||
<p>
|
||||
^AdminToggle();
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue