From b37b4f4d3706ff55396353814d99bd6316349bd2 Mon Sep 17 00:00:00 2001 From: filip Date: Tue, 18 Jul 2017 22:27:04 +0200 Subject: Adding or refreshing netinstall in sl --- netinstall/6/sl/content/SOME_UNIQUE_ID.html | 85 ++++ netinstall/6/sl/content/draft.png | Bin 0 -> 16150 bytes netinstall/6/sl/content/favicon.png | Bin 0 -> 1184 bytes netinstall/6/sl/content/images/Boot-iso01.png | Bin 0 -> 1061 bytes netinstall/6/sl/content/images/Boot-iso02.png | Bin 0 -> 8198 bytes netinstall/6/sl/content/images/Boot-iso03.png | Bin 0 -> 2661 bytes netinstall/6/sl/content/images/Boot-iso04.png | Bin 0 -> 2331 bytes netinstall/6/sl/content/images/Boot-iso05.png | Bin 0 -> 4596 bytes netinstall/6/sl/content/images/Boot-iso06.png | Bin 0 -> 2985 bytes netinstall/6/sl/content/images/Boot-iso07.png | Bin 0 -> 2513 bytes netinstall/6/sl/content/images/Boot-iso08.png | Bin 0 -> 4031 bytes netinstall/6/sl/content/images/Bootimg10.png | Bin 0 -> 3873 bytes netinstall/6/sl/content/images/Bootimg9.png | Bin 0 -> 18169 bytes netinstall/6/sl/content/images/boot-iso10.png | Bin 0 -> 5013 bytes netinstall/6/sl/content/images/boot-iso11.png | Bin 0 -> 91059 bytes netinstall/6/sl/content/images/boot-iso12.png | Bin 0 -> 1214 bytes netinstall/6/sl/content/images/boot-iso16.png | Bin 0 -> 3200 bytes netinstall/6/sl/content/images/boot-iso19.png | Bin 0 -> 5347 bytes netinstall/6/sl/content/images/boot-iso8.png | Bin 0 -> 4335 bytes netinstall/6/sl/content/images/boot-iso9.png | Bin 0 -> 5321 bytes netinstall/6/sl/content/images/bootimg8.png | Bin 0 -> 3329 bytes netinstall/6/sl/content/images/dx-help.png | Bin 0 -> 11451 bytes netinstall/6/sl/content/images/dx-welcome2.png | Bin 0 -> 402963 bytes netinstall/6/sl/content/index.html | 39 ++ netinstall/6/sl/content/mageia-2013-200p.png | Bin 0 -> 6473 bytes netinstall/6/sl/content/main.js | 179 +++++++ netinstall/6/sl/content/nwSearchFnt.js | 524 +++++++++++++++++++++ netinstall/6/sl/content/search/default.props | 1 + netinstall/6/sl/content/search/en-us.props | 45 ++ netinstall/6/sl/content/search/es-es.props | 179 +++++++ netinstall/6/sl/content/search/htmlFileInfoList.js | 2 + netinstall/6/sl/content/search/htmlFileList.js | 3 + netinstall/6/sl/content/search/index-1.js | 144 ++++++ netinstall/6/sl/content/search/index-2.js | 143 ++++++ netinstall/6/sl/content/search/index-3.js | 140 ++++++ netinstall/6/sl/content/search/ja-jp.props | 1 + netinstall/6/sl/content/search/nwSearchFnt.js | 513 ++++++++++++++++++++ netinstall/6/sl/content/search/punctuation.props | 31 ++ .../6/sl/content/search/stemmers/de_stemmer.js | 247 ++++++++++ .../6/sl/content/search/stemmers/en_stemmer.js | 187 ++++++++ .../6/sl/content/search/stemmers/fr_stemmer.js | 299 ++++++++++++ netinstall/6/sl/content/webhelp-custom.css | 229 +++++++++ netinstall/6/sl/content/webhelp-default.css | 92 ++++ netinstall/6/sl/index.html | 15 + 44 files changed, 3098 insertions(+) create mode 100644 netinstall/6/sl/content/SOME_UNIQUE_ID.html create mode 100644 netinstall/6/sl/content/draft.png create mode 100644 netinstall/6/sl/content/favicon.png create mode 100644 netinstall/6/sl/content/images/Boot-iso01.png create mode 100644 netinstall/6/sl/content/images/Boot-iso02.png create mode 100644 netinstall/6/sl/content/images/Boot-iso03.png create mode 100644 netinstall/6/sl/content/images/Boot-iso04.png create mode 100644 netinstall/6/sl/content/images/Boot-iso05.png create mode 100644 netinstall/6/sl/content/images/Boot-iso06.png create mode 100644 netinstall/6/sl/content/images/Boot-iso07.png create mode 100644 netinstall/6/sl/content/images/Boot-iso08.png create mode 100644 netinstall/6/sl/content/images/Bootimg10.png create mode 100644 netinstall/6/sl/content/images/Bootimg9.png create mode 100644 netinstall/6/sl/content/images/boot-iso10.png create mode 100644 netinstall/6/sl/content/images/boot-iso11.png create mode 100644 netinstall/6/sl/content/images/boot-iso12.png create mode 100644 netinstall/6/sl/content/images/boot-iso16.png create mode 100644 netinstall/6/sl/content/images/boot-iso19.png create mode 100644 netinstall/6/sl/content/images/boot-iso8.png create mode 100644 netinstall/6/sl/content/images/boot-iso9.png create mode 100644 netinstall/6/sl/content/images/bootimg8.png create mode 100644 netinstall/6/sl/content/images/dx-help.png create mode 100644 netinstall/6/sl/content/images/dx-welcome2.png create mode 100644 netinstall/6/sl/content/index.html create mode 100644 netinstall/6/sl/content/mageia-2013-200p.png create mode 100644 netinstall/6/sl/content/main.js create mode 100644 netinstall/6/sl/content/nwSearchFnt.js create mode 100644 netinstall/6/sl/content/search/default.props create mode 100644 netinstall/6/sl/content/search/en-us.props create mode 100644 netinstall/6/sl/content/search/es-es.props create mode 100644 netinstall/6/sl/content/search/htmlFileInfoList.js create mode 100644 netinstall/6/sl/content/search/htmlFileList.js create mode 100644 netinstall/6/sl/content/search/index-1.js create mode 100644 netinstall/6/sl/content/search/index-2.js create mode 100644 netinstall/6/sl/content/search/index-3.js create mode 100644 netinstall/6/sl/content/search/ja-jp.props create mode 100644 netinstall/6/sl/content/search/nwSearchFnt.js create mode 100644 netinstall/6/sl/content/search/punctuation.props create mode 100644 netinstall/6/sl/content/search/stemmers/de_stemmer.js create mode 100644 netinstall/6/sl/content/search/stemmers/en_stemmer.js create mode 100644 netinstall/6/sl/content/search/stemmers/fr_stemmer.js create mode 100644 netinstall/6/sl/content/webhelp-custom.css create mode 100644 netinstall/6/sl/content/webhelp-default.css create mode 100644 netinstall/6/sl/index.html diff --git a/netinstall/6/sl/content/SOME_UNIQUE_ID.html b/netinstall/6/sl/content/SOME_UNIQUE_ID.html new file mode 100644 index 00000000..849176c1 --- /dev/null +++ b/netinstall/6/sl/content/SOME_UNIQUE_ID.html @@ -0,0 +1,85 @@ + + + + + Namestitev z majhno datoteko odtisa diska

Namestitev z majhno datoteko odtisa diska

Povzetek

Datoteka Mageia-<version>-netinstall-<arch>.iso (prej poznana pod +imenom Boot.iso) je majhen odtis diska, ki vsebuje samo tisto, kar je +potrebno za zagon namestitvenega programa drakx in iskanje bodisi:

  • spletne vire (ali krajevno zrcalo),
  • odtis diska ISO na krajevnem trdem disku +ali ključku USB,
  • odtis diska na pogonu CD/DVD ROM,
  • odtis diska na krajevnem omrežju (local +area network),

za nadaljevanje in zaključek namestitve.

Pred začetkom

Datoteka Mageia-<version>-netinstall-nonfree-<arch>.iso (prej poznana +pod imenom Boot-nonfree.iso) dodatno vsebuje lastniške gonilnike za naprave, +ki so mogoče potrebne za delovanje omrežne naprave, krmilnika diska ali kake +druge naprave.

Opomba

Odtis diska Mageia-<version>-netinstall-nonfree-<arch>.iso in +Mageia-<version>-netinstall-<arch>.iso files sta lahko uporabljena za +omrežno namestitev tako žično kot nešifrirano brezžično (šifrirana brezžična +povezava ali bluetooth nista na izbiro).

Pozor

V prvem delu namestitve, imenovanem tudi Prva +stopnja; v originalu Stage 1, boste, drugače kot pri običajni +namestitvi ali živem zagonu, pozvani za tipkanje vnosov. Bodite pozorni, da +vas v tem delu ameriška +razporeditev tipkovnice pri tipkanju imen ali poti ne zmede.

Odtise diskov Mageia-<version>-netinstall-nonfree-<arch>.iso in +Mageia-<version>-netinstall-<arch>.iso najdete tukaj. Imenujejo se s +skupnim imenom Omrežna namestitev.

Te odtise diskov lahko prenesete s kateregakoli zrcala v tem seznamu: http://mirrors.mageia.org/. +Samo sledite +poti /distrib//cauldron/$ARCH/install/images/, kjer je +$ARCH lahko i586 ali x86_64.

Po prenosu odtisa diska, ga lahko zapečete na CD ali DVD, lahko ga pa tudi +prenesete na ključek USB po navodilih, ki jih najdete tukaj.

Nameščanje

Ta korak je imenovan tudi Prva stopnja; v originalu Stage 1

Vaš računalnik se zažene v načinu BIOS (imenovanem tudi kot MBR: skrajšano +za Master Boot Record)

To je prvi prikaz na zaslonu, ki se pojavi

Med zagonom lahko s pritiskom tipke F2 izberete branje napredne pomoči, od +koder se vrnete v namestitev s tipko F1. Zagon se bo nadaljeval s privzetimi +nastavitvami, če ničesar ne izberete.

Vaš računalnik se zažene v načinu UEFI

To je prvi prikaz na zaslonu, ki se pojavi

Uporabite tipke s puščicami za izbor v meniju Zagon namestitve +Mageia n in pritisnite tipko Enter.

V obeh načinih

Nato se pojavi ta prikaz na zaslonu:

Do konca Prve stopnje se na trdi disk nič ne zapiše, zato je izhod iz +namestitve takrat varen. To lahko storite s hkratnim pritiskom na tipke +Ctrl+Alt+Del.

Za branje dnevnikov lahko uporabite alt+F3, za +vrnitev v namestitveni prikaz na zaslonu pa alt+F1.

Izberite namestitveno metodo

Uporabite tipke s puščicami za izbor vaše izbrane metode v seznamu

Za Omrežno namestitev, izberite +strežnik FTP, če ne veste kaj izbrati.

V omrežju podjetja sta lahko protokola FTP in rsync blokirana, zato je v tem +primeru dobra izbira strežnik HTTP.

Pritiskajte tipko Tabulator, dokler gumb V redu +ni poudarjen in nato pritisnite tipko Enter.

Glejte spodaj za namestitev s trdega diska ali ključka USB.

Izbor tipa omrežne povezave

Izberite pravo mrežno, če jih imate več.

Izberite DHCP, če ne veste kaj +izbrati.

Nastavitev gostiteljskega in domenskega imena

Če ne veste kaj storiti: pustite prazno in izberite »V redu«

Posredniški strežnik za HTTP

Če ne veste kaj storiti: pustite prazno

Izbor vira

  • Pri ročnem izboru zrcala boste morali vnesti pot do izbranega medija. To zna +biti zahtevno, če ne poznate ameriškega razporeda tipkovnice.

  • Izbor možnosti »Mageia« bo prikazal seznam, kjer lahko izbirate s smernimi +tipkami Gor in Dol.

Ročna določitev zrcalnega strežnika

Katerikoli strežnik na seznamu tukaj boste izbrali, bi moral +vsebovati enako drevesno strukturo od mape »mageia« (ali »Mageia«) naprej +kot ostala uradna Mageia zrcala. To pomeni +.../mageia/distrib/<version>/<arch>

Pravilen vnos v spodnjem polju (pri uporabi uradnega zrcala) za »mapo +Mageia« bi lahko bil:

pub/linux/mageia/distrib/cauldron/i586

Drug primer za Mageia 5 x86_64 bi bil::

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

Druga zrcala imajo lahko drugačno strukturo, npr. tako kot je prikazana na +spodnjih zaslonskih posnetkih:

Pri izbiri strežnika HTTP:

Pri izbiri strežnika FTP

Mageia n (izbor zrcala s seznama)
  • V primeru, da se kasneje v namestitvi pojavi več napak z manjkajočimi +odvisnostmi, ponovno zaženite računalnik ter ponovite namestitev, a z +drugega zrcala.

  • Po izboru strežnika FTP se bo po potrebi pokazalo pogovorno okno z +uporabniškim imenom in geslom.

  • Po tem koraku se bo namestila in zagnala Druga +stopnja

To je prvi zaslon t.i. Druge +stopnje, glejte spodaj Namestitev - Druga stopnja:

Namestitev s trdega diska

Pri izboru namestitve s trdega diska ali ključka USB morate vedeti, kje je +odtis diska na njem shranjen. Najprej izberite trdi disk (ali ključek USB)

nato razdelek

Nato določite mapo ali ime odtisa diska. Lažje je pustiti prazno ali vpisati +le mapo, saj namestitev nato ponudi seznam map in datotek, ki jih lahko nato +izberete s tipkama Gor in Dol tako kot na drugi sliki.

Namestitev - Druga stopnja

  • Prvi zaslon, ki ga vidite, je »Izberite jezik za uporabo«. Nič še ni bilo +zapisano na trdi disk. Za prekinitev oz. ponovni zagon lahko preklopite v +drugo terminalsko okno (tty2) s hkratnim pritiskom na tipke Ctrl+Alt+F2 in +nato Ctrl+Alt+Del. Pred zadnjo kombinacijo si še vedno lahko premislite ter +se s kombinacijo Ctrl+Alt+F7 vrnete.

  • Ta del namestitve je isti kot je prikazan na http://doc.mageia.org/installer/5/sl/content/selectLanguage.html. +Za več informacij kliknite na povezavo ter spremenite številko »5« v URL-ju +na verzijo, ki jo nameščate..


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

Besedilo in zaslonski posnetki so licencirani z CC BY-SA 3.0 http://creativecommons.org/licenses/by-sa/3.0/.

Ta navodila so bila ustvarjena s pomočjo orodja Calenco CMS, ki ga je razvila firma +NeoDoc.

Napisali smo jih prostovoljci v svojem prostem času. Obrnite se na ekipo za +dokumentiranje, če jih želite izboljšati.



Uploaded on 18/07/2017
diff --git a/netinstall/6/sl/content/mageia-2013-200p.png b/netinstall/6/sl/content/mageia-2013-200p.png new file mode 100644 index 00000000..a6846683 Binary files /dev/null and b/netinstall/6/sl/content/mageia-2013-200p.png differ diff --git a/netinstall/6/sl/content/main.js b/netinstall/6/sl/content/main.js new file mode 100644 index 00000000..011818d1 --- /dev/null +++ b/netinstall/6/sl/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("