Autor Tópico: Wikipedia pesquisa  (Lida 6872 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5073
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Wikipedia pesquisa
« em: 04 de Janeiro de 2009, 16:31 »

index.template.php

Pesdquisar
Código: [Seleccione]
// Show the menu here, according to the menu sub template.
template_menu();

Adicionar
Código: [Seleccione]
//Wikipedia pesquisar candidosa2
echo'
<div class="windowbg" style="width:30%; margin-top:5px;"><div class="titlebg" width="100%">Wikipedia Search Box</div>
<form action="http://en.wikipedia.org/wiki/Special:Search" id="searchform">

<input type="text" id="searchInput" name="search" title="Search Wikipedia [f]" accesskey="f" value="Wiki search"
onfocus="if(this.beenchanged!=true){ this.value = \'\'}"
onblur="if(this.beenchanged!=true) { this.value=\'Wiki search\' }"
onchange="this.beenchanged = true;" />


<input type="submit" name="go" class="searchButton" id="searchGoButton" value="Go" title="Go to a page with this exact name if one exists" />&nbsp;
<input type="submit" name="fulltext" class="searchButton" id="mw-searchButton" value="Search" title="Search Wikipedia for this text" />
</form></div>

';


ou

Boardindex.template.php

Pesquisar
Código: [Seleccione]
/* Each category in categories is made up of:
id, href, link, name, is_collapsed (is it collapsed?), can_collapse (is it okay if it is?),
new (is it new?), collapse_href (href to collapse/expand), collapse_image (up/down image),
and boards. (see below.) */

Adicionar
Código: [Seleccione]
//Wikipedia pesquisar Candidosa2
echo'
<div class="windowbg" style="width:30%; margin-top:5px;"><div class="titlebg" width="100%">Wikipedia Pesquisar</div>
<form action="http://en.wikipedia.org/wiki/Special:Search" id="searchform">

<input type="text" id="searchInput" name="search" title="Pesquisa Wikipedia [f]" accesskey="f" value="Wiki pesquisa"
onfocus="if(this.beenchanged!=true){ this.value = \'\'}"
onblur="if(this.beenchanged!=true) { this.value=\'Wiki pesquisar\' }"
onchange="this.beenchanged = true;" />


<input type="submit" name="go" class="searchButton" id="searchGoButton" value="Go" title="Go to a page with this exact name if one exists" />&nbsp;
<input type="submit" name="fulltext" class="searchButton" id="mw-searchButton" value="Search" title="Pesquisar Wikipedia com este texto" />
</form></div>

';
« Última modificação: 04 de Janeiro de 2009, 16:56 por candidosa2 »