From d0452b5504613557baa498ee3d08f064af586a4b Mon Sep 17 00:00:00 2001 From: filip Date: Tue, 18 Jul 2017 22:27:03 +0200 Subject: Adding or refreshing netinstall in pt_br --- netinstall/6/pt_br/content/SOME_UNIQUE_ID.html | 89 ++++ netinstall/6/pt_br/content/draft.png | Bin 0 -> 16150 bytes netinstall/6/pt_br/content/favicon.png | Bin 0 -> 1184 bytes netinstall/6/pt_br/content/images/Boot-iso01.png | Bin 0 -> 1061 bytes netinstall/6/pt_br/content/images/Boot-iso02.png | Bin 0 -> 8198 bytes netinstall/6/pt_br/content/images/Boot-iso03.png | Bin 0 -> 2661 bytes netinstall/6/pt_br/content/images/Boot-iso04.png | Bin 0 -> 2331 bytes netinstall/6/pt_br/content/images/Boot-iso05.png | Bin 0 -> 4596 bytes netinstall/6/pt_br/content/images/Boot-iso06.png | Bin 0 -> 2985 bytes netinstall/6/pt_br/content/images/Boot-iso07.png | Bin 0 -> 2513 bytes netinstall/6/pt_br/content/images/Boot-iso08.png | Bin 0 -> 4031 bytes netinstall/6/pt_br/content/images/Bootimg10.png | Bin 0 -> 3873 bytes netinstall/6/pt_br/content/images/Bootimg9.png | Bin 0 -> 18169 bytes netinstall/6/pt_br/content/images/boot-iso10.png | Bin 0 -> 5013 bytes netinstall/6/pt_br/content/images/boot-iso11.png | Bin 0 -> 91059 bytes netinstall/6/pt_br/content/images/boot-iso12.png | Bin 0 -> 1214 bytes netinstall/6/pt_br/content/images/boot-iso16.png | Bin 0 -> 3200 bytes netinstall/6/pt_br/content/images/boot-iso19.png | Bin 0 -> 5347 bytes netinstall/6/pt_br/content/images/boot-iso8.png | Bin 0 -> 4335 bytes netinstall/6/pt_br/content/images/boot-iso9.png | Bin 0 -> 5321 bytes netinstall/6/pt_br/content/images/bootimg8.png | Bin 0 -> 3329 bytes netinstall/6/pt_br/content/images/dx-help.png | Bin 0 -> 11451 bytes netinstall/6/pt_br/content/images/dx-welcome2.png | Bin 0 -> 402963 bytes netinstall/6/pt_br/content/index.html | 40 ++ netinstall/6/pt_br/content/mageia-2013-200p.png | Bin 0 -> 6473 bytes netinstall/6/pt_br/content/main.js | 179 +++++++ netinstall/6/pt_br/content/nwSearchFnt.js | 524 +++++++++++++++++++++ netinstall/6/pt_br/content/search/default.props | 1 + netinstall/6/pt_br/content/search/en-us.props | 45 ++ netinstall/6/pt_br/content/search/es-es.props | 179 +++++++ .../6/pt_br/content/search/htmlFileInfoList.js | 2 + netinstall/6/pt_br/content/search/htmlFileList.js | 3 + netinstall/6/pt_br/content/search/index-1.js | 112 +++++ netinstall/6/pt_br/content/search/index-2.js | 111 +++++ netinstall/6/pt_br/content/search/index-3.js | 108 +++++ netinstall/6/pt_br/content/search/ja-jp.props | 1 + netinstall/6/pt_br/content/search/nwSearchFnt.js | 513 ++++++++++++++++++++ .../6/pt_br/content/search/punctuation.props | 31 ++ .../6/pt_br/content/search/stemmers/de_stemmer.js | 247 ++++++++++ .../6/pt_br/content/search/stemmers/en_stemmer.js | 187 ++++++++ .../6/pt_br/content/search/stemmers/fr_stemmer.js | 299 ++++++++++++ netinstall/6/pt_br/content/webhelp-custom.css | 229 +++++++++ netinstall/6/pt_br/content/webhelp-default.css | 92 ++++ netinstall/6/pt_br/index.html | 15 + 44 files changed, 3007 insertions(+) create mode 100644 netinstall/6/pt_br/content/SOME_UNIQUE_ID.html create mode 100644 netinstall/6/pt_br/content/draft.png create mode 100644 netinstall/6/pt_br/content/favicon.png create mode 100644 netinstall/6/pt_br/content/images/Boot-iso01.png create mode 100644 netinstall/6/pt_br/content/images/Boot-iso02.png create mode 100644 netinstall/6/pt_br/content/images/Boot-iso03.png create mode 100644 netinstall/6/pt_br/content/images/Boot-iso04.png create mode 100644 netinstall/6/pt_br/content/images/Boot-iso05.png create mode 100644 netinstall/6/pt_br/content/images/Boot-iso06.png create mode 100644 netinstall/6/pt_br/content/images/Boot-iso07.png create mode 100644 netinstall/6/pt_br/content/images/Boot-iso08.png create mode 100644 netinstall/6/pt_br/content/images/Bootimg10.png create mode 100644 netinstall/6/pt_br/content/images/Bootimg9.png create mode 100644 netinstall/6/pt_br/content/images/boot-iso10.png create mode 100644 netinstall/6/pt_br/content/images/boot-iso11.png create mode 100644 netinstall/6/pt_br/content/images/boot-iso12.png create mode 100644 netinstall/6/pt_br/content/images/boot-iso16.png create mode 100644 netinstall/6/pt_br/content/images/boot-iso19.png create mode 100644 netinstall/6/pt_br/content/images/boot-iso8.png create mode 100644 netinstall/6/pt_br/content/images/boot-iso9.png create mode 100644 netinstall/6/pt_br/content/images/bootimg8.png create mode 100644 netinstall/6/pt_br/content/images/dx-help.png create mode 100644 netinstall/6/pt_br/content/images/dx-welcome2.png create mode 100644 netinstall/6/pt_br/content/index.html create mode 100644 netinstall/6/pt_br/content/mageia-2013-200p.png create mode 100644 netinstall/6/pt_br/content/main.js create mode 100644 netinstall/6/pt_br/content/nwSearchFnt.js create mode 100644 netinstall/6/pt_br/content/search/default.props create mode 100644 netinstall/6/pt_br/content/search/en-us.props create mode 100644 netinstall/6/pt_br/content/search/es-es.props create mode 100644 netinstall/6/pt_br/content/search/htmlFileInfoList.js create mode 100644 netinstall/6/pt_br/content/search/htmlFileList.js create mode 100644 netinstall/6/pt_br/content/search/index-1.js create mode 100644 netinstall/6/pt_br/content/search/index-2.js create mode 100644 netinstall/6/pt_br/content/search/index-3.js create mode 100644 netinstall/6/pt_br/content/search/ja-jp.props create mode 100644 netinstall/6/pt_br/content/search/nwSearchFnt.js create mode 100644 netinstall/6/pt_br/content/search/punctuation.props create mode 100644 netinstall/6/pt_br/content/search/stemmers/de_stemmer.js create mode 100644 netinstall/6/pt_br/content/search/stemmers/en_stemmer.js create mode 100644 netinstall/6/pt_br/content/search/stemmers/fr_stemmer.js create mode 100644 netinstall/6/pt_br/content/webhelp-custom.css create mode 100644 netinstall/6/pt_br/content/webhelp-default.css create mode 100644 netinstall/6/pt_br/index.html diff --git a/netinstall/6/pt_br/content/SOME_UNIQUE_ID.html b/netinstall/6/pt_br/content/SOME_UNIQUE_ID.html new file mode 100644 index 00000000..1f20f26a --- /dev/null +++ b/netinstall/6/pt_br/content/SOME_UNIQUE_ID.html @@ -0,0 +1,89 @@ + + + + + Instalação com uma pequena imagem de inicialização

Instalação com uma pequena imagem de inicialização

Resumo

Mageia-<versão>-netinstall-<arch>.iso (antigamente conhecido como +Boot.iso) é uma pequena imagem que não contém mais do que o necessário para +iniciar o instalador drakx e encontrar:

  • as fontes online (ou espelho local)
  • a imagem ISO em um disco rígido local ou +pendrive
  • a imagem ISO em um CD/DVD ROM
  • a imagem ISO em uma lan (rede local)

continuar e completar a instalação

Antes de começar

A Mageia-<versão>-netinstall-nonfree-<arch>.iso (antigamente conhecida +como boot-nonfree.iso) contém drivers proprietários adicionais de +dispositivos, que podem ser requeridos por seu dispositivo de rede, +controlador de disco ou, outro dispositivo periférico.

Nota

Os arquivos Mageia-<versão>-netinstall-nonfree-<arch>.iso e +Mageia-<versão>-netinstall-<arch>.iso podem ser usados para lançar uma +instalação por cabo ou rede wifi descriptografada. (Wifi criptografada ou +bluetooth não são permitidos)

Atenção

Ao contrário da instalação do DVD ou do LiveCD, durante a primeira parte da +instalação, Stage 1, você será solicitado a +digitar as coisas. Durante esta fase, o seu teclado irá responder como um +teclado +americano. Isso pode ser muito confuso quando você precisa digitar +nomes e caminhos.

Você pode encontrar o Mageia-<versão>-netinstall-nonfree-<arch>.iso e +Mageia-<versão>-netinstall-<arch>.isoaqui. Ele é chamado +Instalação em Rede.

Você também pode baixar essas imagens de qualquer espelho que você quiser +nesta lista http://mirrors.mageia.org/. +Basta seguir o caminho +/distrib//cauldron/$ARCH/install/images/ onde $ARCH é +i586 ou x86_64.

Depois de fazer o download da imagem, grave-a em um CD/DVD ou, se preferir +colocá-lo em um pendrive, siga as instruções aqui.

Instalando

Esta etapa também é chamada de Etapa 1

Seu computador inicializa no modo BIOS (também chamado MBR para Master Boot +Record)

A primeira tela a aparecer é esta

Ao iniciar, você pode escolher ler a ajuda avançada pressionando F2 e +retornar à tela do instalador com F1. Se você não escolher um, o boot +continuará com as configurações padrão.

Seu computador inicializa no modo UEFI

A primeira tela a aparecer é esta

Use as teclas de seta para selecionar Iniciar Mageia n +Install e pressione Enter.

Em ambos os modos

Então você pode ver esta tela:

Durante a fase 1, nada será gravado no disco rígido, por isso é seguro em +qualquer ponto para encerrar. Você pode fazê-lo pressionando +ctrl+alt+del.

Você pode usar alt+F3 para ler os logs e +alt+F1 para retornar à tela do instalador.

Escolha o método de instalação

Use as teclas de seta para mover para baixo e para cima a lista, até que seu +método de escolha seja destacado.

Se você não sabe o que escolher para Instalação de +Rede, escolha Servidor FTP.

Em uma rede corporativa, o FTP e o rsync podem ser bloqueados, portanto usar +o servidor HTTP é uma boa escolha nesse +caso.

Pressione a tecla de tabulação até que Ok seja +destacado e, em seguida, pressione enter.

Para uma instalação a partir de um disco rígido ou de um dispositivo USB, +veja abaixo.

Selecionando o tipo de conexão de rede

Se você tiver várias placas de rede, escolha a mais adequada.

Se você não sabe o que escolher, escolha +DHCP

Definindo nome de host e domínio

Se você não sabe o que fazer: deixe em branco e selecione "Ok"

Proxy HTTP

Deixe em branco se você não sabe o que fazer

Selecione um meio

  • Selecionando Mageia com a versão de aplicação lhe dará uma lista que você +pode escolher movendo para cima e para baixo com as teclas de seta.

  • Selecionando a opção "Mageia" lhe dará uma lista que você pode escolher +movendo para cima e para baixo com as teclas de seta.

Especifique o espelho manualmente

Seja qual for o servidor que você escolher, listar aqui,deve usar a mesma +estrutura em árvore de "mageia" (ou "Mageia"). Como usado pelas Mídias +Mageia oficiais. Isso significa que +.../mageia/distrib/<version>/<arch>

Uma entrada correta (ao usar um espelho oficial) no campo "Diretório Mageia" +abaixo pode ser:

pub/linux/mageia/distrib/cauldron/i586

Outro exemplo para Mageia 5 x86_64 seria:

pub/Mirrors/Mageia/distrib/5/x86_64.

Outros espelhos podem ter uma estrutura diferente e os screenshots abaixo +mostram exemplos:

Se você escolher um servidor HTTP:

Se você escolher um servidor FTP:

Mageia n (selecionando um espelho da lista)
  • Se você receber muitos erros de dependência em falta posteriormente na +instalação, reinicie e experimente um espelho diferente.

  • Depois de escolher um servidor FTP, você obtém uma tela onde você pode +adicionar um nome de login e senha, se necessário.

  • Após esta etapa, a Etapa 2 será instalado e +iniciado

Esta é a primeira tela da +Etapa 2, consulte Instalando - Etapa 2 abaixo:

Instalação a partir do disco rígido

Se você optar por instalar a partir de disco rígido ou pendrive USB, você +deve saber onde o arquivo iso é salvo. Primeiro, selecione seu disco rígido +(ou pendrive USB)

e então a partição

Em seguida, especifique o diretório ou o nome do arquivo da iso. Deixar +aberto ou usar o diretório é mais fácil, porque o instalador oferece uma +lista de diretórios e arquivos, dos quais você pode selecionar com setas +para cima e para baixo, como visto pela segunda imagem.

Instalação - Etapa 2

  • A primeira tela que você vê agora, é a tela "Escolha um idioma para +usar". Nada foi escrito para o seu HD ainda. Se você quiser reiniciar, vá +para tty2 com ctrl + alt + F2 e pressione ctrl + alt + del. (Ctrl + alt + F7 +para voltar se você mudar de ideia).

  • Esta parte da instalação é a mesma mostrada em http://doc.mageia.org +/installer/5/pt/content/selectLanguage.html. Clique no link para +continuar lendo e altere o "5" na URL da versão que você está instalando.


Uploaded on 18/07/2017
diff --git a/netinstall/6/pt_br/content/draft.png b/netinstall/6/pt_br/content/draft.png new file mode 100644 index 00000000..59673fe1 Binary files /dev/null and b/netinstall/6/pt_br/content/draft.png differ diff --git a/netinstall/6/pt_br/content/favicon.png b/netinstall/6/pt_br/content/favicon.png new file mode 100644 index 00000000..5868d96b Binary files /dev/null and b/netinstall/6/pt_br/content/favicon.png differ diff --git a/netinstall/6/pt_br/content/images/Boot-iso01.png b/netinstall/6/pt_br/content/images/Boot-iso01.png new file mode 100644 index 00000000..80f89173 Binary files /dev/null and b/netinstall/6/pt_br/content/images/Boot-iso01.png differ diff --git a/netinstall/6/pt_br/content/images/Boot-iso02.png b/netinstall/6/pt_br/content/images/Boot-iso02.png new file mode 100644 index 00000000..fcc4fb3c Binary files /dev/null and b/netinstall/6/pt_br/content/images/Boot-iso02.png differ diff --git a/netinstall/6/pt_br/content/images/Boot-iso03.png b/netinstall/6/pt_br/content/images/Boot-iso03.png new file mode 100644 index 00000000..113e33f9 Binary files /dev/null and b/netinstall/6/pt_br/content/images/Boot-iso03.png differ diff --git a/netinstall/6/pt_br/content/images/Boot-iso04.png b/netinstall/6/pt_br/content/images/Boot-iso04.png new file mode 100644 index 00000000..0a6b2c33 Binary files /dev/null and b/netinstall/6/pt_br/content/images/Boot-iso04.png differ diff --git a/netinstall/6/pt_br/content/images/Boot-iso05.png b/netinstall/6/pt_br/content/images/Boot-iso05.png new file mode 100644 index 00000000..a840692f Binary files /dev/null and b/netinstall/6/pt_br/content/images/Boot-iso05.png differ diff --git a/netinstall/6/pt_br/content/images/Boot-iso06.png b/netinstall/6/pt_br/content/images/Boot-iso06.png new file mode 100644 index 00000000..0e9b9d88 Binary files /dev/null and b/netinstall/6/pt_br/content/images/Boot-iso06.png differ diff --git a/netinstall/6/pt_br/content/images/Boot-iso07.png b/netinstall/6/pt_br/content/images/Boot-iso07.png new file mode 100644 index 00000000..a5f10963 Binary files /dev/null and b/netinstall/6/pt_br/content/images/Boot-iso07.png differ diff --git a/netinstall/6/pt_br/content/images/Boot-iso08.png b/netinstall/6/pt_br/content/images/Boot-iso08.png new file mode 100644 index 00000000..4470909d Binary files /dev/null and b/netinstall/6/pt_br/content/images/Boot-iso08.png differ diff --git a/netinstall/6/pt_br/content/images/Bootimg10.png b/netinstall/6/pt_br/content/images/Bootimg10.png new file mode 100644 index 00000000..be98f93a Binary files /dev/null and b/netinstall/6/pt_br/content/images/Bootimg10.png differ diff --git a/netinstall/6/pt_br/content/images/Bootimg9.png b/netinstall/6/pt_br/content/images/Bootimg9.png new file mode 100644 index 00000000..aeb99677 Binary files /dev/null and b/netinstall/6/pt_br/content/images/Bootimg9.png differ diff --git a/netinstall/6/pt_br/content/images/boot-iso10.png b/netinstall/6/pt_br/content/images/boot-iso10.png new file mode 100644 index 00000000..1db78d59 Binary files /dev/null and b/netinstall/6/pt_br/content/images/boot-iso10.png differ diff --git a/netinstall/6/pt_br/content/images/boot-iso11.png b/netinstall/6/pt_br/content/images/boot-iso11.png new file mode 100644 index 00000000..103c74f0 Binary files /dev/null and b/netinstall/6/pt_br/content/images/boot-iso11.png differ diff --git a/netinstall/6/pt_br/content/images/boot-iso12.png b/netinstall/6/pt_br/content/images/boot-iso12.png new file mode 100644 index 00000000..b10ca3f2 Binary files /dev/null and b/netinstall/6/pt_br/content/images/boot-iso12.png differ diff --git a/netinstall/6/pt_br/content/images/boot-iso16.png b/netinstall/6/pt_br/content/images/boot-iso16.png new file mode 100644 index 00000000..1f4e476f Binary files /dev/null and b/netinstall/6/pt_br/content/images/boot-iso16.png differ diff --git a/netinstall/6/pt_br/content/images/boot-iso19.png b/netinstall/6/pt_br/content/images/boot-iso19.png new file mode 100644 index 00000000..bb88ed1e Binary files /dev/null and b/netinstall/6/pt_br/content/images/boot-iso19.png differ diff --git a/netinstall/6/pt_br/content/images/boot-iso8.png b/netinstall/6/pt_br/content/images/boot-iso8.png new file mode 100644 index 00000000..19561bdd Binary files /dev/null and b/netinstall/6/pt_br/content/images/boot-iso8.png differ diff --git a/netinstall/6/pt_br/content/images/boot-iso9.png b/netinstall/6/pt_br/content/images/boot-iso9.png new file mode 100644 index 00000000..569c2734 Binary files /dev/null and b/netinstall/6/pt_br/content/images/boot-iso9.png differ diff --git a/netinstall/6/pt_br/content/images/bootimg8.png b/netinstall/6/pt_br/content/images/bootimg8.png new file mode 100644 index 00000000..11ba28d2 Binary files /dev/null and b/netinstall/6/pt_br/content/images/bootimg8.png differ diff --git a/netinstall/6/pt_br/content/images/dx-help.png b/netinstall/6/pt_br/content/images/dx-help.png new file mode 100644 index 00000000..32824349 Binary files /dev/null and b/netinstall/6/pt_br/content/images/dx-help.png differ diff --git a/netinstall/6/pt_br/content/images/dx-welcome2.png b/netinstall/6/pt_br/content/images/dx-welcome2.png new file mode 100644 index 00000000..3a1187de Binary files /dev/null and b/netinstall/6/pt_br/content/images/dx-welcome2.png differ diff --git a/netinstall/6/pt_br/content/index.html b/netinstall/6/pt_br/content/index.html new file mode 100644 index 00000000..f40b2c63 --- /dev/null +++ b/netinstall/6/pt_br/content/index.html @@ -0,0 +1,40 @@ + + + + + Instalação com imagem peqena

Os textos e imagens deste manual estão disponíveis sob a licença CC BY-SA +3.0 http://creativecommons.org/licenses/by-sa/3.0/.

Este manual foi produzido com a ajuda de Calenco CMS desenvolvido por NeoDoc.

Ele foi escrito por voluntários em seu tempo livre. Entre em contato com a +Equipe de +Documentação, se você deseja ajudar a melhorar este manual.



Uploaded on 18/07/2017
diff --git a/netinstall/6/pt_br/content/mageia-2013-200p.png b/netinstall/6/pt_br/content/mageia-2013-200p.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/netinstall/6/pt_br/content/mageia-2013-200p.png differ diff --git a/netinstall/6/pt_br/content/main.js b/netinstall/6/pt_br/content/main.js new file mode 100644 index 00000000..011818d1 --- /dev/null +++ b/netinstall/6/pt_br/content/main.js @@ -0,0 +1,179 @@ +/** + * Miscellaneous js functions for WebHelp + * Kasun Gajasinghe, http://kasunbg.blogspot.com + * David Cramer, http://www.thingbag.net + * + */ + +$(document).ready(function() { + // $("#showHideHighlight").button(); //add jquery button styling to 'Go' button + //Generate tabs in nav-pane with JQuery + $(function() { + $("#tabs").tabs({ + cookie: { + // store cookie for 2 days. + expires: 2 + } + }); + }); + + //Generate the tree + $("#ulTreeDiv").css("display","block"); + $("#tree").treeview({ + collapsed: true, + animated: "medium", + control: "#sidetreecontrol", + persist: "cookie" + }); + + //after toc fully styled, display it. Until loading, a 'loading' image will be displayed + $("#tocLoading").css("display", "none"); + //$("#ulTreeDiv").attr("style","display:block;"); + + //.searchButton is the css class applied to 'Go' button + $(function() { + $("button", ".searchButton").button(); + + $("button", ".searchButton").click(function() {return false;}); + }); + + //'ui-tabs-1' is the cookie name which is used for the persistence of the tabs.(Content/Search tab) + if ($.cookie('ui-tabs-1') === '1') { //search tab is visible + if ($.cookie('textToSearch') != undefined && $.cookie('textToSearch').length > 0) { + document.getElementById('textToSearch').value = $.cookie('textToSearch'); + Verifie('diaSearch_Form'); + searchHighlight($.cookie('textToSearch')); + //$("#showHideHighlight").css("display","block"); + } + } + + syncToc(); //Synchronize the toc tree with the content pane, when loading the page. + //$("#doSearch").button(); //add jquery button styling to 'Go' button +}); + +/** + * Synchronize with the tableOfContents + */ +function syncToc(){ + var a = document.getElementById("webhelp-currentid"); + if (a != undefined) { + var b = a.getElementsByTagName("span")[0]; + + + if (b != undefined) { + //Setting the background for selected node. + //b.setAttribute("style", "color: white; background-color: #a7a9ac;"); + b.style.color = "#FFFFFF"; + b.style.backgroundColor = "#a7a9ac"; + } + + //shows the node related to current content. + //goes a recursive call from current node to ancestor nodes, displaying all of them. + while (a.parentNode && a.parentNode.nodeName) { + var parentNode = a.parentNode; + var nodeName = parentNode.nodeName; + + if (nodeName.toLowerCase() == "ul") { + parentNode.style.display = "block"; + + // Expand the current entry + var u = a.getElementsByTagName("ul")[0]; + if (u) { + u.style.display = "block"; + } + } else if (nodeName.toLocaleLowerCase() == "li") { + parentNode.setAttribute("class", "collapsable"); + parentNode.firstChild.setAttribute("class", "hitarea collapsable-hitarea "); + } + a = parentNode; + } + + if (b != undefined) { + b.scrollIntoView(); + } + } +} + +/** + * Code for Show/Hide TOC + * + */ +function showHideToc() { + var showHideButton = $("#showHideButton"); + var leftNavigation = $("#leftnavigation"); + var content = $("#content"); + + if (showHideButton != undefined && showHideButton.hasClass("pointLeft")) { + //Hide TOC + showHideButton.removeClass('pointLeft').addClass('pointRight'); + content.css("margin", "0 0 0 0"); + leftNavigation.css("display","none"); + showHideButton.attr("title", "Show table of contents"); + } else { + //Show the TOC + showHideButton.removeClass('pointRight').addClass('pointLeft'); + content.css("margin", "0 0 0 315px"); + leftNavigation.css("display","block"); + showHideButton.attr("title", "Hide table of contents"); + } +} + +/** + * Code for searh highlighting + */ +var highlightOn = true; +function searchHighlight(searchText) { + highlightOn = true; + if (searchText != undefined) { + var wList; + var sList = new Array(); //stem list + //Highlight the search terms + searchText = searchText.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/\.|%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, " -1) { + + alert(txt_browser_not_supported); + return; + } + + + var expressionInput = document.ditaSearch_Form.textToSearch.value; + //Set a cookie to store the searched keywords + $.cookie('textToSearch', expressionInput); + + + if (expressionInput.length < 1) { + + // expression is invalid + alert(txt_enter_at_least_1_char); + // reactive la fenetre de search (utile car cadres) + document.ditaSearch_Form.textToSearch.focus(); + } + else { + + // Effectuer la recherche + Effectuer_recherche(expressionInput); + + // reactive la fenetre de search (utile car cadres) + document.ditaSearch_Form.textToSearch.focus(); + } +} + +var stemQueryMap = new Array(); // A hashtable which maps stems to query words + +/* This function parses the search expression, loads the indices and displays the results*/ +function Effectuer_recherche(expressionInput) { + + /* Display a waiting message */ + //DisplayWaitingMessage(); + + /*data initialisation*/ + var searchFor = ""; // expression en lowercase et sans les caracte res speciaux + //w = new Object(); // hashtable, key=word, value = list of the index of the html files + scriptLetterTab = new Scriptfirstchar(); // Array containing the first letter of each word to look for + var wordsList = new Array(); // Array with the words to look for + var finalWordsList = new Array(); // Array with the words to look for after removing spaces + var linkTab = new Array(); + var fileAndWordList = new Array(); + var txt_wordsnotfound = ""; + + + /*nqu: expressionInput, la recherche est lower cased, plus remplacement des char speciaux*/ + searchFor = expressionInput.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/\.|%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, "= 0; i--) { + if (fileAndWordList[i] != undefined) { + linkTab.push("

" + txt_results_for + " " + "" + fileAndWordList[i][0].motslisteDisplay + "" + "

"); + + linkTab.push(""); + } + } + } + + var results = ""; + if (linkTab.length > 0) { + /*writeln ("

" + txt_results_for + " " + "" + cleanwordsList + "" + "
"+"

");*/ + results = "

"; + //write("