Commit 436b2a70 authored by Giuseppe Terrasi's avatar Giuseppe Terrasi

add also search page into 12.04 folder

parent e07f98e8
.smalltext {
font-family:verdana,sans-serif;
font-size:x-small;
}
.formTitle {
font-weight: bold;
color: #5E3A04;
font-size: 16px;
padding: 0px;
}
.search-control {
width : 100%;
}
#searchForm {
padding: 10px 0px 0px;
}
.gsc-control {
width:100%;
}
.gsc-control form.gsc-search-box {
display : none; /* Disable built in search forms */
}
.gs-result .gs-title, .gs-result .gs-title * {
color:#F2582D;
text-decoration:underline;
}
.gs-result .gs-title:visited, .gs-result .gs-title:visited * {
text-decoration:underline;
}
.gs-result .gs-title:hover, .gs-result .gs-title:hover * {
text-decoration:underline;
}
.gs-result a.gs-visibleUrl, .gs-result .gs-visibleUrl {
color: #aaa;
font-size:80%;
text-decoration:none;
}
.gsc-results .gsc-trailing-more-results, .gsc-results .gsc-trailing-more-results * {
text-decoration:underline;
}
.gsc-results .gsc-cursor-box .gsc-cursor-page {
}
.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
}
.gsc-cursor-box {
text-align: center;
}
/*.gsc-tabHeader {
padding: 2px 10px 0px;
}*/
.gsc-tabHeader.gsc-tabhActive {
}
.gsc-tabHeader.gsc-tabhInactive {
}
.gsc-resultsHeader {
display: none;
visibility: hidden;
}
/*.gsc-tabsArea {
border-bottom: 1px solid #5E3A04;
padding-left: 20px;
}*/
.gsc-input {
}
input.gsc-input {
width: 99%;
border-color: #DD4814;
border-radius: 5px;
height: 22px;
}
.gsc-results {
padding: 10px;
}
div.gsc-clear-button {
display: inline;
text-align: right;
margin-left: 4px;
margin-right: 4px;
padding-left: 10px;
background-repeat: no-repeat;
background-position: center center;
background-image: url('//www.google.com/uds/css/clear.gif');
cursor: pointer;
}
input.gsc-search-button {
margin-left: 2px;
border-radius: 3px;
border-color: #DD4814;
background-color: #DD4814;
color: white;
border-style: none;
width: 100px;
cursor: pointer;
height: 25px;
}
/*
Copyright (c) 2008 Google Inc.
You are free to copy and use this sample.
License can be found here: http://code.google.com/apis/ajaxsearch/faq/#license
*/
google.load('search', '1');
// the cse class encapsulates a search control and a search form
function cse(startSearch)
{
var sFormDiv = document.getElementById("searchForm");
var sContrDiv = document.getElementById("searchControl");
// create search control and a custom search form
this.searchControl = new google.search.SearchControl();
this.searchForm = new google.search.SearchForm(true, sFormDiv);
// bind clear and submit functions
this.searchForm.setOnSubmitCallback(this, cse.prototype.onSubmit);
this.searchForm.setOnClearCallback(this, cse.prototype.onClear);
// set up for large result sets
this.searchControl.setResultSetSize(GSearch.LARGE_RESULTSET);
this.searchControl.setLinkTarget(GSearch.LINK_TARGET_SELF);
var searcher;
var options;
// Site Restrict to CSE ID
var cseId = "017780550971123101423:tudpblg6xy0";
// This is for a complete *.ubuntu-it.org search.
//var cseId = "008949059787096431823:nzsphralfw4";
searcher = new google.search.WebSearch();
options = new google.search.SearcherOptions();
searcher.setSiteRestriction(cseId, null);
options.setExpandMode(GSearchControl.EXPAND_MODE_OPEN);
this.searchControl.addSearcher(searcher, options);
this.searchControl.draw(sContrDiv);
// execute a starter search
if (startCustomSearch && startCustomSearch != "")
this.searchForm.execute(startCustomSearch);
}
// when the form fires a submit, grab its
// value and call the search control
cse.prototype.onSubmit = function(form)
{
var s = form.input.value;
if (s && s!= "") {
this.searchControl.execute(s);
}
return false;
}
// when the form fires a clear, call the search control
cse.prototype.onClear = function(form)
{
this.searchControl.clearAllResults();
form.input.value = "";
return false;
}
function OnLoad()
{
new cse();
}
google.setOnLoadCallback(OnLoad, true);
<?php echo('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'); ?>
<?php
$version = "12.04 LTS";
$year = "2012";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<link rel="shortcut icon" href="http://ubuntu-it.org/sites/all/themes/light-drupal-theme/favicon.ico">
<script type="text/javascript" src="http://ubuntu-it.org/sites/all/themes/light-drupal-theme/js/cookies.js"></script>
<script type="text/javascript" src="http://ubuntu-it.org/sites/all/themes/light-drupal-theme/js/accessibility.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-8147493-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script src="search.js?v=1.0" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="robots" content="index,follow">
<title>Documentazione ufficiale - Ubuntu-it</title>
<link rel="stylesheet" type="text/css" href="desktop/main.css" />
<link rel="stylesheet" type="text/css" href="desktop/custom.css" />
<link rel="stylesheet" type="text/css" href="search.css" />
</head>
<body>
<script xmlns="" type="text/javascript">
_uacct = "UA-9147493-2";
urchinTracker();
</script>
<?php
$startCustomSearch = !empty($_GET['s']) ? $_GET['s'] : "";
echo '<script language="Javascript" type="text/javascript">startCustomSearch = "' . $startCustomSearch . '";</script>';
?>
<div id="fixed-header">
<!-- Header -->
<div id="header" class="shadowed curved-bottom">
<div class="container">
<ul class="links">
<li><a href="http://help.ubuntu-it.org">Documentazione ufficiale</a></li>
<li><a href="http://wiki.ubuntu-it.org/Documentazione/Indice">Guide della comunit&agrave</a></li>
<li class="active"><a>12.04 LTS</a></li>
</ul>
<div id="logo">
<div id="ubuntu-it-sites">
<a id="" href="http://www.ubuntu-it.org">web</a>
<a id="" href="http://wiki.ubuntu-it.org">wiki</a>
<a id="" href="http://forum.ubuntu-it.org">forum</a>
<a id="" href="http://planet.ubuntu-it.org">planet</a>
</div>
<a href="http://help.ubuntu-it.org" title="Ubuntu - Documentazione ufficiale">
<span>help.</span>ubuntu-it
</a>
<span>comunit&agrave; italiana</span>
</div>
<div class="buttons">
<div id="accessibility" title="Maggiore focus ai contenuti" onclick='accessibility_toggle();'></div>
</div>
</div>
</div>
<!-- Sub Header -->
<div id="subheader">
<div class="container">
<div class="container-inside">
<ul class="links secondary-links">
<li><a href="http://help.ubuntu-it.org/12.04/desktop/index.html" title="Guida utente di Ubuntu 12.04 LTS">Desktop</a></li>
<li><a href="http://help.ubuntu-it.org/12.04/server/serverguide/it/index.html" title="Guida utente di Ubuntu server 12.04 LTS">Server</a></li>
<li class="active"><a href="http://help.ubuntu-it.org/12.04/search.php" title="Ricerna della documentazione di Ubuntu 12.04 LTS">Ricerca</a></li>
</ul>
</div>
</div>
</div>
</div>
<!-- Content -->
<div id="content">
<div id="content-top"> </div>
<div class="container">
<div>
<div><h2 class="pagename">Ricerca nella Documentazione Ufficiale di Ubuntu <?php echo $version ; ?>:</h1></div>
<div id="searchForm">Loading...</div>
<div id="searchControl" class="search-control">Loading...</div>
<span class="anchor" id="bottom"></span></div></div></div></div>
<div id="content-bottom"></div>
</div>
<div id="footer">
<div class="container">
<div id="ubuntulinks">Ubuntu e Canonical sono marchi registrati da Canonical Ltd. <br>
Questa opera è pubblicata sotto una <span style="text-decoration: underline;"><a href="http://help.ubuntu-it.org/legal.html">licenza</a></span> Creative Commons.
</div>
<div id="pagebottom"></div>
</div></div></div>
</body></html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment