From 8730f2849b259014b89da9f44f428a08b7b79cde Mon Sep 17 00:00:00 2001
From: filip
Date: Tue, 18 Jul 2017 22:27:05 +0200
Subject: Adding or refreshing netinstall in zh_CN
---
netinstall/6/zh_CN/content/SOME_UNIQUE_ID.html | 54 +++
netinstall/6/zh_CN/content/draft.png | Bin 0 -> 16150 bytes
netinstall/6/zh_CN/content/favicon.png | Bin 0 -> 1184 bytes
netinstall/6/zh_CN/content/images/Boot-iso01.png | Bin 0 -> 1061 bytes
netinstall/6/zh_CN/content/images/Boot-iso02.png | Bin 0 -> 8198 bytes
netinstall/6/zh_CN/content/images/Boot-iso03.png | Bin 0 -> 2661 bytes
netinstall/6/zh_CN/content/images/Boot-iso04.png | Bin 0 -> 2331 bytes
netinstall/6/zh_CN/content/images/Boot-iso05.png | Bin 0 -> 4596 bytes
netinstall/6/zh_CN/content/images/Boot-iso06.png | Bin 0 -> 2985 bytes
netinstall/6/zh_CN/content/images/Boot-iso07.png | Bin 0 -> 2513 bytes
netinstall/6/zh_CN/content/images/Boot-iso08.png | Bin 0 -> 4031 bytes
netinstall/6/zh_CN/content/images/Bootimg9.png | Bin 0 -> 18169 bytes
netinstall/6/zh_CN/content/images/boot-iso11.png | Bin 0 -> 91059 bytes
netinstall/6/zh_CN/content/images/boot-iso12.png | Bin 0 -> 1214 bytes
netinstall/6/zh_CN/content/images/boot-iso16.png | Bin 0 -> 3200 bytes
netinstall/6/zh_CN/content/images/boot-iso19.png | Bin 0 -> 5347 bytes
netinstall/6/zh_CN/content/images/boot-iso8.png | Bin 0 -> 4335 bytes
netinstall/6/zh_CN/content/images/boot-iso9.png | Bin 0 -> 5321 bytes
netinstall/6/zh_CN/content/images/dx-help.png | Bin 0 -> 11451 bytes
netinstall/6/zh_CN/content/images/dx-welcome2.png | Bin 0 -> 402963 bytes
netinstall/6/zh_CN/content/index.html | 34 ++
netinstall/6/zh_CN/content/mageia-2013-200p.png | Bin 0 -> 6473 bytes
netinstall/6/zh_CN/content/main.js | 179 +++++++
netinstall/6/zh_CN/content/nwSearchFnt.js | 524 +++++++++++++++++++++
netinstall/6/zh_CN/content/search/default.props | 1 +
netinstall/6/zh_CN/content/search/en-us.props | 45 ++
netinstall/6/zh_CN/content/search/es-es.props | 179 +++++++
.../6/zh_CN/content/search/htmlFileInfoList.js | 2 +
netinstall/6/zh_CN/content/search/htmlFileList.js | 3 +
netinstall/6/zh_CN/content/search/index-1.js | 66 +++
netinstall/6/zh_CN/content/search/index-2.js | 65 +++
netinstall/6/zh_CN/content/search/index-3.js | 62 +++
netinstall/6/zh_CN/content/search/ja-jp.props | 1 +
netinstall/6/zh_CN/content/search/nwSearchFnt.js | 513 ++++++++++++++++++++
.../6/zh_CN/content/search/punctuation.props | 31 ++
.../6/zh_CN/content/search/stemmers/de_stemmer.js | 247 ++++++++++
.../6/zh_CN/content/search/stemmers/en_stemmer.js | 187 ++++++++
.../6/zh_CN/content/search/stemmers/fr_stemmer.js | 299 ++++++++++++
netinstall/6/zh_CN/content/webhelp-custom.css | 229 +++++++++
netinstall/6/zh_CN/content/webhelp-default.css | 92 ++++
netinstall/6/zh_CN/index.html | 15 +
41 files changed, 2828 insertions(+)
create mode 100644 netinstall/6/zh_CN/content/SOME_UNIQUE_ID.html
create mode 100644 netinstall/6/zh_CN/content/draft.png
create mode 100644 netinstall/6/zh_CN/content/favicon.png
create mode 100644 netinstall/6/zh_CN/content/images/Boot-iso01.png
create mode 100644 netinstall/6/zh_CN/content/images/Boot-iso02.png
create mode 100644 netinstall/6/zh_CN/content/images/Boot-iso03.png
create mode 100644 netinstall/6/zh_CN/content/images/Boot-iso04.png
create mode 100644 netinstall/6/zh_CN/content/images/Boot-iso05.png
create mode 100644 netinstall/6/zh_CN/content/images/Boot-iso06.png
create mode 100644 netinstall/6/zh_CN/content/images/Boot-iso07.png
create mode 100644 netinstall/6/zh_CN/content/images/Boot-iso08.png
create mode 100644 netinstall/6/zh_CN/content/images/Bootimg9.png
create mode 100644 netinstall/6/zh_CN/content/images/boot-iso11.png
create mode 100644 netinstall/6/zh_CN/content/images/boot-iso12.png
create mode 100644 netinstall/6/zh_CN/content/images/boot-iso16.png
create mode 100644 netinstall/6/zh_CN/content/images/boot-iso19.png
create mode 100644 netinstall/6/zh_CN/content/images/boot-iso8.png
create mode 100644 netinstall/6/zh_CN/content/images/boot-iso9.png
create mode 100644 netinstall/6/zh_CN/content/images/dx-help.png
create mode 100644 netinstall/6/zh_CN/content/images/dx-welcome2.png
create mode 100644 netinstall/6/zh_CN/content/index.html
create mode 100644 netinstall/6/zh_CN/content/mageia-2013-200p.png
create mode 100644 netinstall/6/zh_CN/content/main.js
create mode 100644 netinstall/6/zh_CN/content/nwSearchFnt.js
create mode 100644 netinstall/6/zh_CN/content/search/default.props
create mode 100644 netinstall/6/zh_CN/content/search/en-us.props
create mode 100644 netinstall/6/zh_CN/content/search/es-es.props
create mode 100644 netinstall/6/zh_CN/content/search/htmlFileInfoList.js
create mode 100644 netinstall/6/zh_CN/content/search/htmlFileList.js
create mode 100644 netinstall/6/zh_CN/content/search/index-1.js
create mode 100644 netinstall/6/zh_CN/content/search/index-2.js
create mode 100644 netinstall/6/zh_CN/content/search/index-3.js
create mode 100644 netinstall/6/zh_CN/content/search/ja-jp.props
create mode 100644 netinstall/6/zh_CN/content/search/nwSearchFnt.js
create mode 100644 netinstall/6/zh_CN/content/search/punctuation.props
create mode 100644 netinstall/6/zh_CN/content/search/stemmers/de_stemmer.js
create mode 100644 netinstall/6/zh_CN/content/search/stemmers/en_stemmer.js
create mode 100644 netinstall/6/zh_CN/content/search/stemmers/fr_stemmer.js
create mode 100644 netinstall/6/zh_CN/content/webhelp-custom.css
create mode 100644 netinstall/6/zh_CN/content/webhelp-default.css
create mode 100644 netinstall/6/zh_CN/index.html
(limited to 'netinstall')
diff --git a/netinstall/6/zh_CN/content/SOME_UNIQUE_ID.html b/netinstall/6/zh_CN/content/SOME_UNIQUE_ID.html
new file mode 100644
index 00000000..affde55b
--- /dev/null
+++ b/netinstall/6/zh_CN/content/SOME_UNIQUE_ID.html
@@ -0,0 +1,54 @@
+
+
+
+
+ 使用微型引导镜像来安装Mageia-<版本号>-netinstall-<架构>.iso(也叫 Boot.iso)是仅包含启动 drakx
+安装器所必须的文件的安装镜像,drakx 将在启动后查找:
- 在线软件源(或本地镜像)
- 本地硬盘 或 U 盘
+上的 ISO 镜像
- CD/DVD 光盘上的 ISO 镜像
- 局域网(本地网络)上的 ISO 镜像
以便继续和完成安装过程。
Mageia-<版本号>-netinstall-nonfree-<架构>.iso(也叫
+boot-nonfree.iso)包含了额外的私有驱动,用于您的网络设备、磁盘控制器或其他设备。
注意
Mageia-<版本号>-netinstall-nonfree-<架构>.iso 和
+Mageia-<版本号>-netinstall-<架构>.iso 可以用于通过有线/未加密无线网络来安装
+Mageia(不支持加密无线网或蓝牙网络)。
警告
与从 DVD 或 LiveCD 安装不同,在网络安装的第一步——Stage
+1,您需要输入相关参数。此时您的键盘将暂时处于 美式键盘
+布局,如果您需要输入名称和路径,这可能会造成一些麻烦。
您可以在这里的“网络安装”分类下找到
+Mageia-<版本号>-netinstall-nonfree-<架构>.iso and
+Mageia-<版本号>-netinstall-<架构>.iso 这两种镜像。
您也可以从http://mirrors.mageia.org/所列出的镜像服务器中下载它们。镜像文件位于/distrib//cauldron/<架构>/install/images/
,其中
+<架构> 为 i586 或 x86_64。
在下载镜像之后,您可以将其刻录到 CD 或 DVD 上;如果您希望使用 U 盘来安装,请参考此处。
这一步也叫 Stage 1
使用 BIOS 模式(也叫 MBR 分区格式)引导计算机
第一个窗口如下图所示
系统启动前,您可以按 F2 来越多高级选项的帮助,然后按 F1 回到安装界面。如果您没有做出选择,引导起将会以默认设置启动系统。
第一个窗口如下图所示
使用方向键来选择,然后按回车键。
您将会看到如下界面:
在 Stage 1 中,引导器不会向您的硬盘写入任何数据,所以您可以随时按下 Ctrl + Alt +
+Del 来安全退出这一阶段。
您可以按 Alt + F3 来阅读引导日志,然后按 Alt +
+F1 来返回安装界面。
使用方向键来上下移动至需要选择的项目。
如果您不知道如何选择网络安装的渠道,请选择。
对于企业网络而言,FTP 和 rsync 服务可能会被封锁,在这种情况下您最好使用 HTTP
+服务器。
按 Tab 键将焦点移动至 ,然后按 回车。
若要从硬盘或 U 盘安装系统,请看下面的内容。
若您有多个网卡,请从中选择合适的网卡。
如果您不知道如何选择,请选择
+DHCP。
如果您不知道如何设置:请将其留空,然后选择“Ok”
无论您在列表 here
+中选择了哪个服务器,它的目录结构都应该与 Mageia 官方镜像中的“mageia”目录一致,即
+.../mageia/distrib/<版本号>/<架构>
(使用官方镜像时)“Mageia 目录”字段的正确格式应当如下:
pub/linux/mageia/distrib/cauldron/i586
对于 Mageia 5 x86_64 发行版,则应当如下:
pub/Mirrors/Mageia/distrib/5/x86_64.
其他镜像的目录结构可能稍有不同,下列截图给出了示例:
如果您选择 HTTP 服务器:
如果您选择 FTP 服务器:
这是第二阶段安装的界面,请参见下面的 安装 -
+Stage 2:
如果您从硬盘或 U 盘安装,您必须知道 ISO 文件的存放位置。首先,请选择您的硬盘(或 U 盘)
以及相应的分区
然后指定目录或 ISO
+文件的文件名。您可以将其留空,或者指定目录名,这样便于您从安装器提供的文件列表中做出选择:只需使用方向键来上下移动、按回车键确认即可,如第二张截图所示。
© Mageia
Uploaded on 18/07/2017
diff --git a/netinstall/6/zh_CN/content/draft.png b/netinstall/6/zh_CN/content/draft.png
new file mode 100644
index 00000000..59673fe1
Binary files /dev/null and b/netinstall/6/zh_CN/content/draft.png differ
diff --git a/netinstall/6/zh_CN/content/favicon.png b/netinstall/6/zh_CN/content/favicon.png
new file mode 100644
index 00000000..5868d96b
Binary files /dev/null and b/netinstall/6/zh_CN/content/favicon.png differ
diff --git a/netinstall/6/zh_CN/content/images/Boot-iso01.png b/netinstall/6/zh_CN/content/images/Boot-iso01.png
new file mode 100644
index 00000000..80f89173
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/Boot-iso01.png differ
diff --git a/netinstall/6/zh_CN/content/images/Boot-iso02.png b/netinstall/6/zh_CN/content/images/Boot-iso02.png
new file mode 100644
index 00000000..fcc4fb3c
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/Boot-iso02.png differ
diff --git a/netinstall/6/zh_CN/content/images/Boot-iso03.png b/netinstall/6/zh_CN/content/images/Boot-iso03.png
new file mode 100644
index 00000000..113e33f9
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/Boot-iso03.png differ
diff --git a/netinstall/6/zh_CN/content/images/Boot-iso04.png b/netinstall/6/zh_CN/content/images/Boot-iso04.png
new file mode 100644
index 00000000..0a6b2c33
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/Boot-iso04.png differ
diff --git a/netinstall/6/zh_CN/content/images/Boot-iso05.png b/netinstall/6/zh_CN/content/images/Boot-iso05.png
new file mode 100644
index 00000000..a840692f
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/Boot-iso05.png differ
diff --git a/netinstall/6/zh_CN/content/images/Boot-iso06.png b/netinstall/6/zh_CN/content/images/Boot-iso06.png
new file mode 100644
index 00000000..0e9b9d88
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/Boot-iso06.png differ
diff --git a/netinstall/6/zh_CN/content/images/Boot-iso07.png b/netinstall/6/zh_CN/content/images/Boot-iso07.png
new file mode 100644
index 00000000..a5f10963
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/Boot-iso07.png differ
diff --git a/netinstall/6/zh_CN/content/images/Boot-iso08.png b/netinstall/6/zh_CN/content/images/Boot-iso08.png
new file mode 100644
index 00000000..4470909d
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/Boot-iso08.png differ
diff --git a/netinstall/6/zh_CN/content/images/Bootimg9.png b/netinstall/6/zh_CN/content/images/Bootimg9.png
new file mode 100644
index 00000000..aeb99677
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/Bootimg9.png differ
diff --git a/netinstall/6/zh_CN/content/images/boot-iso11.png b/netinstall/6/zh_CN/content/images/boot-iso11.png
new file mode 100644
index 00000000..103c74f0
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/boot-iso11.png differ
diff --git a/netinstall/6/zh_CN/content/images/boot-iso12.png b/netinstall/6/zh_CN/content/images/boot-iso12.png
new file mode 100644
index 00000000..b10ca3f2
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/boot-iso12.png differ
diff --git a/netinstall/6/zh_CN/content/images/boot-iso16.png b/netinstall/6/zh_CN/content/images/boot-iso16.png
new file mode 100644
index 00000000..1f4e476f
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/boot-iso16.png differ
diff --git a/netinstall/6/zh_CN/content/images/boot-iso19.png b/netinstall/6/zh_CN/content/images/boot-iso19.png
new file mode 100644
index 00000000..bb88ed1e
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/boot-iso19.png differ
diff --git a/netinstall/6/zh_CN/content/images/boot-iso8.png b/netinstall/6/zh_CN/content/images/boot-iso8.png
new file mode 100644
index 00000000..19561bdd
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/boot-iso8.png differ
diff --git a/netinstall/6/zh_CN/content/images/boot-iso9.png b/netinstall/6/zh_CN/content/images/boot-iso9.png
new file mode 100644
index 00000000..569c2734
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/boot-iso9.png differ
diff --git a/netinstall/6/zh_CN/content/images/dx-help.png b/netinstall/6/zh_CN/content/images/dx-help.png
new file mode 100644
index 00000000..32824349
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/dx-help.png differ
diff --git a/netinstall/6/zh_CN/content/images/dx-welcome2.png b/netinstall/6/zh_CN/content/images/dx-welcome2.png
new file mode 100644
index 00000000..3a1187de
Binary files /dev/null and b/netinstall/6/zh_CN/content/images/dx-welcome2.png differ
diff --git a/netinstall/6/zh_CN/content/index.html b/netinstall/6/zh_CN/content/index.html
new file mode 100644
index 00000000..7bba26c4
--- /dev/null
+++ b/netinstall/6/zh_CN/content/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+ 使用微型镜像来安装
© Mageia
Uploaded on 18/07/2017
diff --git a/netinstall/6/zh_CN/content/mageia-2013-200p.png b/netinstall/6/zh_CN/content/mageia-2013-200p.png
new file mode 100644
index 00000000..a6846683
Binary files /dev/null and b/netinstall/6/zh_CN/content/mageia-2013-200p.png differ
diff --git a/netinstall/6/zh_CN/content/main.js b/netinstall/6/zh_CN/content/main.js
new file mode 100644
index 00000000..011818d1
--- /dev/null
+++ b/netinstall/6/zh_CN/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, "").replace(/_di_/g, "%24_")
+ searchText = searchText.replace(/ +/g, " ");
+ searchText = searchText.replace(/ $/, "").replace(/^ /, "");
+
+ wList = searchText.split(" ");
+ $("#content").highlight(wList); //Highlight the search input
+
+ if(typeof stemmer != "undefined" ){
+ //Highlight the stems
+ for (var i = 0; i < wList.length; i++) {
+ var stemW = stemmer(wList[i]);
+ sList.push(stemW);
+ }
+ } else {
+ sList = wList;
+ }
+ $("#content").highlight(sList); //Highlight the search input's all stems
+
+ var _content = document.getElementById("content");
+ var spans = _content.getElementsByTagName("span");
+ var hasOne = false;
+ for (i = 0; i < spans.length; i++) {
+ var span = spans[i];
+ if (span.className == "highlight") {
+ span.setAttribute("id", "firstHighlight");
+ hasOne = true;
+ break;
+ }
+ }
+ if (hasOne) {
+ document.getElementById("firstHighlight").scrollIntoView();
+ }
+ }
+}
+
+function searchUnhighlight(){
+ highlightOn = false;
+ //unhighlight the search input's all stems
+ $("#content").unhighlight();
+ $("#content").unhighlight();
+}
+
+function toggleHighlight(){
+ if(highlightOn) {
+ searchUnhighlight();
+ } else {
+ searchHighlight($.cookie('textToSearch'));
+ }
+}
diff --git a/netinstall/6/zh_CN/content/nwSearchFnt.js b/netinstall/6/zh_CN/content/nwSearchFnt.js
new file mode 100644
index 00000000..13327867
--- /dev/null
+++ b/netinstall/6/zh_CN/content/nwSearchFnt.js
@@ -0,0 +1,524 @@
+/*----------------------------------------------------------------------------
+ * JavaScript for webhelp search
+ *----------------------------------------------------------------------------
+ This file is part of the webhelpsearch plugin for DocBook WebHelp
+ Copyright (c) 2007-2008 NexWave Solutions All Rights Reserved.
+ www.nexwave.biz Nadege Quaine
+ http://kasunbg.blogspot.com/ Kasun Gajasinghe
+ */
+
+//string initialization
+var htmlfileList = "htmlFileList.js";
+var htmlfileinfoList = "htmlFileInfoList.js";
+var useCJKTokenizing = false;
+
+/* Cette fonction verifie la validite de la recherche entrre par l utilisateur */
+function Verifie(ditaSearch_Form) {
+
+ // Check browser compatibitily
+ if (navigator.userAgent.indexOf("Konquerer") > -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, "").replace(/_di_/g, "%24_");
+
+ searchFor = searchFor.replace(/ +/g, " ");
+ searchFor = searchFor.replace(/ $/, "").replace(/^ /, "");
+
+ wordsList = searchFor.split(" ");
+ wordsList.sort();
+
+ //set the tokenizing method
+ if(typeof indexerLanguage != "undefined" && (indexerLanguage=="zh" || indexerLanguage=="ja" ||indexerLanguage=="ko")){
+ useCJKTokenizing=true;
+ } else {
+ useCJKTokenizing=false;
+ }
+ //If Lucene CJKTokenizer was used as the indexer, then useCJKTokenizing will be true. Else, do normal tokenizing.
+ // 2-gram tokenizinghappens in CJKTokenizing,
+ if(useCJKTokenizing){
+ finalWordsList = cjkTokenize(wordsList);
+ } else {
+ finalWordsList = tokenize(wordsList);
+ }
+
+ //load the scripts with the indices: the following lines do not work on the server. To be corrected
+ /*if (IEBrowser) {
+ scriptsarray = loadTheIndexScripts (scriptLetterTab);
+ } */
+
+ /**
+ * Compare with the indexed words (in the w[] array), and push words that are in it to tempTab.
+ */
+ var tempTab = new Array();
+ for (var t in finalWordsList) {
+ if (w[finalWordsList[t].toString()] == undefined) {
+ txt_wordsnotfound += finalWordsList[t] + " ";
+ } else {
+ tempTab.push(finalWordsList[t]);
+ }
+ }
+ finalWordsList = tempTab;
+
+ if (!finalWordsList.length) {
+ finalWordsList = wordsList;
+ }
+
+ fileAndWordList = SortResults(finalWordsList);
+
+ if (fileAndWordList && fileAndWordList.length) {
+
+ //search 'and' and 'or' one time
+ //fileAndWordList = SortResults(finalWordsList);
+
+ var cpt = fileAndWordList.length;
+ for (var i = cpt - 1; i >= 0; i--) {
+ if (fileAndWordList[i] != undefined) {
+ linkTab.push("" + txt_results_for + " " + "" + fileAndWordList[i][0].motslisteDisplay + "" + "
");
+
+ linkTab.push("");
+ for (t in fileAndWordList[i]) {
+ //DEBUG: alert(": "+ fileAndWordList[i][t].filenb+" " +fileAndWordList[i][t].motsliste);
+ //linkTab.push("- "+fl[fileAndWordList[i][t].filenb]+"
");
+ var tempInfo = fil[fileAndWordList[i][t].filenb];
+ var pos1 = tempInfo.indexOf("@@@");
+ var pos2 = tempInfo.lastIndexOf("@@@");
+ var tempPath = tempInfo.substring(0, pos1);
+ var tempTitle = tempInfo.substring(pos1 + 3, pos2);
+ var tempShortdesc = tempInfo.substring(pos2 + 3, tempInfo.length);
+
+ //file:///home/kasun/docbook/WEBHELP/webhelp-draft-output-format-idea/src/main/resources/web/webhelp/installation.html
+ var linkString = "- " + tempTitle + "";
+ // var linkString = "
- " + tempTitle + "";
+ if ((tempShortdesc != "null")) {
+ linkString += "\n
" + tempShortdesc + "
";
+ }
+ linkString += " ";
+ linkTab.push(linkString);
+ }
+ linkTab.push("
");
+ }
+ }
+ }
+
+ var results = "";
+ if (linkTab.length > 0) {
+ /*writeln ("" + txt_results_for + " " + "" + cleanwordsList + "" + "
"+"
");*/
+ results = "";
+ //write("
");
+ for (t in linkTab) {
+ results += linkTab[t].toString();
+ }
+ results += "
";
+ } else {
+ results = "" + txt_no_results_for + "" + txt_wordsnotfound + "" + "
";
+ }
+ //alert(results);
+ document.getElementById('searchResults').innerHTML = results;
+}
+
+function tokenize(wordsList){
+ var stemmedWordsList = new Array(); // Array with the words to look for after removing spaces
+ var cleanwordsList = new Array(); // Array with the words to look for
+ for(var j in wordsList){
+ var word = wordsList[j];
+ if(typeof stemmer != "undefined" ){
+ stemQueryMap[stemmer(word)] = word;
+ } else {
+ stemQueryMap[word] = word;
+ }
+ }
+ //stemmedWordsList is the stemmed list of words separated by spaces.
+ for (var t in wordsList) {
+ wordsList[t] = wordsList[t].replace(/(%22)|^-/g, "");
+ if (wordsList[t] != "%20") {
+ scriptLetterTab.add(wordsList[t].charAt(0));
+ cleanwordsList.push(wordsList[t]);
+ }
+ }
+
+ if(typeof stemmer != "undefined" ){
+ //Do the stemming using Porter's stemming algorithm
+ for (var i = 0; i < cleanwordsList.length; i++) {
+ var stemWord = stemmer(cleanwordsList[i]);
+ stemmedWordsList.push(stemWord);
+ }
+ } else {
+ stemmedWordsList = cleanwordsList;
+ }
+ return stemmedWordsList;
+}
+
+//Invoker of CJKTokenizer class methods.
+function cjkTokenize(wordsList){
+ var allTokens= new Array();
+ var notCJKTokens= new Array();
+ var j=0;
+ for(j=0;j";
+ return this.input.substring(this.offset,this.offset+2);
+ }
+
+ function getAllTokens(){
+ while(this.incrementToken()){
+ var tmp = this.tokenize();
+ this.tokens.push(tmp);
+ }
+ return this.unique(this.tokens);
+// document.getElementById("content").innerHTML += tokens+" ";
+// document.getElementById("content").innerHTML += "
dada"+sortedTokens+" ";
+// console.log(tokens.length+"dsdsds");
+ /*for(i=0;idada"+un[i]+"- "+stems[i]+" "+ ss;
+ document.getElementById("content").innerHTML += "
"+sortedTokens[i];
+ }*/
+ }
+
+ function unique(a)
+ {
+ var r = new Array();
+ o:for(var i = 0, n = a.length; i < n; i++)
+ {
+ for(var x = 0, y = r.length; x < y; x++)
+ {
+ if(r[x]==a[i]) continue o;
+ }
+ r[r.length] = a[i];
+ }
+ return r;
+ }
+}
+
+
+/* Scriptfirstchar: to gather the first letter of index js files to upload */
+function Scriptfirstchar() {
+ this.strLetters = "";
+ this.add = addLettre;
+}
+
+function addLettre(caract) {
+
+ if (this.strLetters == 'undefined') {
+ this.strLetters = caract;
+ } else if (this.strLetters.indexOf(caract) < 0) {
+ this.strLetters += caract;
+ }
+
+ return 0;
+}
+/* end of scriptfirstchar */
+
+/*main loader function*/
+/*tab contains the first letters of each word looked for*/
+function loadTheIndexScripts(tab) {
+
+ //alert (tab.strLetters);
+ var scriptsarray = new Array();
+
+ for (var i = 0; i < tab.strLetters.length; i++) {
+
+ scriptsarray[i] = "..\/search" + "\/" + tab.strLetters.charAt(i) + ".js";
+ }
+ // add the list of html files
+ i++;
+ scriptsarray[i] = "..\/search" + "\/" + htmlfileList;
+
+ //debug
+ for (var t in scriptsarray) {
+ //alert (scriptsarray[t]);
+ }
+
+ tab = new ScriptLoader();
+ for (t in scriptsarray) {
+ tab.add(scriptsarray[t]);
+ }
+ tab.load();
+ //alert ("scripts loaded");
+ return (scriptsarray);
+}
+
+/* ScriptLoader: to load the scripts and wait that it's finished */
+function ScriptLoader() {
+ this.cpt = 0;
+ this.scriptTab = new Array();
+ this.add = addAScriptInTheList;
+ this.load = loadTheScripts;
+ this.onScriptLoaded = onScriptLoadedFunc;
+}
+
+function addAScriptInTheList(scriptPath) {
+ this.scriptTab.push(scriptPath);
+}
+
+function loadTheScripts() {
+ var script;
+ var head;
+
+ head = document.getElementsByTagName('head').item(0);
+
+ //script = document.createElement('script');
+
+ for (var el in this.scriptTab) {
+ //alert (el+this.scriptTab[el]);
+ script = document.createElement('script');
+ script.src = this.scriptTab[el];
+ script.type = 'text/javascript';
+ script.defer = false;
+
+ head.appendChild(script);
+ }
+
+}
+
+function onScriptLoadedFunc(e) {
+ e = e || window.event;
+ var target = e.target || e.srcElement;
+ var isComplete = true;
+ if (typeof target.readyState != undefined) {
+
+ isComplete = (target.readyState == "complete" || target.readyState == "loaded");
+ }
+ if (isComplete) {
+ ScriptLoader.cpt++;
+ if (ScriptLoader.cpt == ScriptLoader.scripts.length) {
+ ScriptLoader.onLoadComplete();
+ }
+ }
+}
+
+/*
+function onLoadComplete() {
+ alert("loaded !!");
+} */
+
+/* End of scriptloader functions */
+
+// Array.unique( strict ) - Remove duplicate values
+function unique(tab) {
+ var a = new Array();
+ var i;
+ var l = tab.length;
+
+ if (tab[0] != undefined) {
+ a[0] = tab[0];
+ }
+ else {
+ return -1
+ }
+
+ for (i = 1; i < l; i++) {
+ if (indexof(a, tab[i], 0) < 0) {
+ a.push(tab[i]);
+ }
+ }
+ return a;
+}
+function indexof(tab, element, begin) {
+ for (var i = begin; i < tab.length; i++) {
+ if (tab[i] == element) {
+ return i;
+ }
+ }
+ return -1;
+
+}
+/* end of Array functions */
+
+
+/*
+ Param: mots= list of words to look for.
+ This function creates an hashtable:
+ - The key is the index of a html file which contains a word to look for.
+ - The value is the list of all words contained in the html file.
+
+ Return value: the hashtable fileAndWordList
+ */
+function SortResults(mots) {
+
+ var fileAndWordList = new Object();
+ if (mots.length == 0) {
+ return null;
+ }
+
+ for (var t in mots) {
+ // get the list of the indices of the files.
+ var listNumerosDesFicStr = w[mots[t].toString()];
+ //alert ("listNumerosDesFicStr "+listNumerosDesFicStr);
+
+ if (!listNumerosDesFicStr) {
+ return;
+ }
+
+ var tab = listNumerosDesFicStr.split(",");
+
+ //for each file (file's index):
+ for (var t2 in tab) {
+ var temp = tab[t2].toString();
+ if (fileAndWordList[temp] == undefined) {
+
+ fileAndWordList[temp] = "" + mots[t];
+ } else {
+
+ fileAndWordList[temp] += "," + mots[t];
+ }
+ }
+ }
+
+ var fileAndWordListValuesOnly = new Array();
+
+ // sort results according to values
+ var temptab = new Array();
+ for (t in fileAndWordList) {
+ tab = fileAndWordList[t].split(',');
+
+ var tempDisplay = new Array();
+ for (var x in tab) {
+ if(stemQueryMap[tab[x]] != undefined){
+ tempDisplay.push(stemQueryMap[tab[x]]); //get the original word from the stem word.
+ } else {
+ tempDisplay.push(tab[x]); //no stem is available. (probably a CJK language)
+ }
+ }
+ var tempDispString = tempDisplay.join(", ");
+
+ temptab.push(new resultPerFile(t, fileAndWordList[t], tab.length, tempDispString));
+ fileAndWordListValuesOnly.push(fileAndWordList[t]);
+ }
+
+
+ //alert("t"+fileAndWordListValuesOnly.toString());
+
+ fileAndWordListValuesOnly = unique(fileAndWordListValuesOnly);
+ fileAndWordListValuesOnly = fileAndWordListValuesOnly.sort(compare_nbMots);
+ //alert("t: "+fileAndWordListValuesOnly.join(';'));
+
+ var listToOutput = new Array();
+
+ for (var j in fileAndWordListValuesOnly) {
+ for (t in temptab) {
+ if (temptab[t].motsliste == fileAndWordListValuesOnly[j]) {
+ if (listToOutput[j] == undefined) {
+ listToOutput[j] = new Array(temptab[t]);
+ } else {
+ listToOutput[j].push(temptab[t]);
+ }
+ }
+ }
+ }
+ return listToOutput;
+}
+
+function resultPerFile(filenb, motsliste, motsnb, motslisteDisplay) {
+ this.filenb = filenb;
+ this.motsliste = motsliste;
+ this.motsnb = motsnb;
+ this.motslisteDisplay= motslisteDisplay;
+}
+
+function compare_nbMots(s1, s2) {
+ var t1 = s1.split(',');
+ var t2 = s2.split(',');
+ //alert ("s1:"+t1.length + " " +t2.length)
+ if (t1.length == t2.length) {
+ return 0;
+ } else if (t1.length > t2.length) {
+ return 1;
+ } else {
+ return -1;
+ }
+ //return t1.length - t2.length);
+}
\ No newline at end of file
diff --git a/netinstall/6/zh_CN/content/search/default.props b/netinstall/6/zh_CN/content/search/default.props
new file mode 100644
index 00000000..22edf439
--- /dev/null
+++ b/netinstall/6/zh_CN/content/search/default.props
@@ -0,0 +1 @@
+DEF01=a
\ No newline at end of file
diff --git a/netinstall/6/zh_CN/content/search/en-us.props b/netinstall/6/zh_CN/content/search/en-us.props
new file mode 100644
index 00000000..da284ce5
--- /dev/null
+++ b/netinstall/6/zh_CN/content/search/en-us.props
@@ -0,0 +1,45 @@
+DEF01=this
+DEF02=is
+DEF03=the
+DEF04=in
+DEF05=i
+DEF06=on
+DEF07=a
+DEF08=about
+DEF09=an
+DEF10=are
+DEF11=as
+DEF12=at
+DEF13=be
+DEF14=by
+DEF15=com
+DEF16=de
+DEF17=en
+DEF18=for
+DEF19=from
+DEF20=how
+DEF21=it
+DEF22=la
+DEF23=of
+DEF24=on
+DEF25=or
+DEF26=that
+DEF27=to
+DEF28=was
+DEF29=what
+DEF30=when
+DEF31=where
+DEF32=who
+DEF33=will
+DEF34=with
+DEF35=und
+DEF36=Next
+DEF37=Prev
+DEF38=Home
+DEF39=Motive
+DEF40=Inc
+DEF41=Copyright
+DEF42=All
+DEF43=rights
+DEF44=reserved
+DEF45=Up
\ No newline at end of file
diff --git a/netinstall/6/zh_CN/content/search/es-es.props b/netinstall/6/zh_CN/content/search/es-es.props
new file mode 100644
index 00000000..fb73bdcc
--- /dev/null
+++ b/netinstall/6/zh_CN/content/search/es-es.props
@@ -0,0 +1,179 @@
+DEF01=un
+DEF02=una
+DEF03=unas
+DEF04=unos
+DEF05=uno
+DEF06=sobre
+DEF07=todo
+DEF08=tambin
+DEF09=tras
+DEF10=otro
+DEF11=algn
+DEF12=alguno
+DEF13=alguna
+DEF14=algunos
+DEF15=algunas
+DEF16=ser
+DEF17=es
+DEF18=soy
+DEF19=eres
+DEF20=somos
+DEF21=sois
+DEF22=estoy
+DEF23=esta
+DEF24=estamos
+DEF25=estais
+DEF26=estan
+DEF27=como
+DEF28=en
+DEF29=para
+DEF30=atras
+DEF31=porque
+DEF32=por
+DEF33=estado
+DEF34=estaba
+DEF35=ante
+DEF36=antes
+DEF37=siendo
+DEF38=ambos
+DEF39=pero
+DEF40=por
+DEF41=poder
+DEF42=puede
+DEF43=puedo
+DEF44=podemos
+DEF45=podeis
+DEF46=pueden
+DEF47=fui
+DEF48=fue
+DEF49=fuimos
+DEF50=fueron
+DEF51=hacer
+DEF52=hago
+DEF53=hace
+DEF54=hacemos
+DEF55=haceis
+DEF56=hacen
+DEF57=cada
+DEF58=fin
+DEF59=incluso
+DEF60=primero
+DEF61=desde
+DEF62=conseguir
+DEF63=consigo
+DEF64=consigue
+DEF65=consigues
+DEF66=conseguimos
+DEF67=consiguen
+DEF68=ir
+DEF69=voy
+DEF70=va
+DEF71=vamos
+DEF72=vais
+DEF73=van
+DEF74=vaya
+DEF75=gueno
+DEF76=ha
+DEF77=tener
+DEF78=tengo
+DEF79=tiene
+DEF80=tenemos
+DEF81=teneis
+DEF82=tienen
+DEF83=el
+DEF84=la
+DEF85=lo
+DEF86=las
+DEF87=los
+DEF88=su
+DEF89=aqui
+DEF90=mio
+DEF91=tuyo
+DEF92=ellos
+DEF93=ellas
+DEF94=nos
+DEF95=nosotros
+DEF96=vosotros
+DEF97=vosotras
+DEF98=si
+DEF99=dentro
+DEF100=solo
+DEF101=solamente
+DEF102=saber
+DEF103=sabes
+DEF104=sabe
+DEF105=sabemos
+DEF106=sabeis
+DEF107=saben
+DEF108=ultimo
+DEF109=largo
+DEF110=bastante
+DEF111=haces
+DEF112=muchos
+DEF113=aquellos
+DEF114=aquellas
+DEF115=sus
+DEF116=entonces
+DEF117=tiempo
+DEF118=verdad
+DEF119=verdadero
+DEF120=verdadera
+DEF121=cierto
+DEF122=ciertos
+DEF123=cierta
+DEF124=ciertas
+DEF125=intentar
+DEF126=intento
+DEF127=intenta
+DEF128=intentas
+DEF129=intentamos
+DEF130=intentais
+DEF131=intentan
+DEF132=dos
+DEF133=bajo
+DEF134=arriba
+DEF135=encima
+DEF136=usar
+DEF137=uso
+DEF138=usas
+DEF139=usa
+DEF140=usamos
+DEF141=usais
+DEF142=usan
+DEF143=emplear
+DEF144=empleo
+DEF145=empleas
+DEF146=emplean
+DEF147=ampleamos
+DEF148=empleais
+DEF149=valor
+DEF150=muy
+DEF151=era
+DEF152=eras
+DEF153=eramos
+DEF154=eran
+DEF155=modo
+DEF156=bien
+DEF157=cual
+DEF158=cuando
+DEF159=donde
+DEF160=mientras
+DEF161=quien
+DEF162=con
+DEF163=entre
+DEF164=sin
+DEF165=trabajo
+DEF166=trabajar
+DEF167=trabajas
+DEF168=trabaja
+DEF169=trabajamos
+DEF170=trabajais
+DEF171=trabajan
+DEF172=podria
+DEF173=podrias
+DEF174=podriamos
+DEF175=podrian
+DEF176=podriais
+DEF177=yo
+DEF178=aquel
+DEF179=qu
\ No newline at end of file
diff --git a/netinstall/6/zh_CN/content/search/htmlFileInfoList.js b/netinstall/6/zh_CN/content/search/htmlFileInfoList.js
new file mode 100644
index 00000000..4aad3b4f
--- /dev/null
+++ b/netinstall/6/zh_CN/content/search/htmlFileInfoList.js
@@ -0,0 +1,2 @@
+fil = new Array();
+fil["0"]= "SOME_UNIQUE_ID.html@@@使用微型引导镜像来安装@@@null";
diff --git a/netinstall/6/zh_CN/content/search/htmlFileList.js b/netinstall/6/zh_CN/content/search/htmlFileList.js
new file mode 100644
index 00000000..6b6ccc3e
--- /dev/null
+++ b/netinstall/6/zh_CN/content/search/htmlFileList.js
@@ -0,0 +1,3 @@
+//List of files which are indexed.
+fl = new Array();
+fl["0"]= "SOME_UNIQUE_ID.html";
diff --git a/netinstall/6/zh_CN/content/search/index-1.js b/netinstall/6/zh_CN/content/search/index-1.js
new file mode 100644
index 00000000..4c9ebc41
--- /dev/null
+++ b/netinstall/6/zh_CN/content/search/index-1.js
@@ -0,0 +1,66 @@
+var indexerLanguage="en";
+//Auto generated index for searching.
+w["-"]="0";
+w["-netinstall-"]="0";
+w["-netinstall-nonfree-"]="0";
+w["-sa"]="0";
+w["0"]="0";
+w["1"]="0";
+w["1,您需要输入相关参数"]="0";
+w["2"]="0";
+w["2:"]="0";
+w["3"]="0";
+w["5"]="0";
+w["alt"]="0";
+w["bio"]="0";
+w["boot"]="0";
+w["boot-nonfre"]="0";
+w["cauldron"]="0";
+w["cc"]="0";
+w["cd"]="0";
+w["content"]="0";
+w["ctrl"]="0";
+w["del"]="0";
+w["del;按"]="0";
+w["dhcp"]="0";
+w["distrib"]="0";
+w["doc"]="0";
+w["drakx"]="0";
+w["dvd"]="0";
+w["f1"]="0";
+w["f2"]="0";
+w["f3"]="0";
+w["f7"]="0";
+w["ftp"]="0";
+w["here"]="0";
+w["html"]="0";
+w["http"]="0";
+w["i586"]="0";
+w["imag"]="0";
+w["instal"]="0";
+w["install,然后按"]="0";
+w["iso"]="0";
+w["iso(也叫"]="0";
+w["iso)包含了额外的私有驱动,用于您的网络设备"]="0";
+w["iso)是仅包含启动"]="0";
+w["linux"]="0";
+w["livecd"]="0";
+w["mageia"]="0";
+w["mageia-"]="0";
+w["mageia(不支持加密无线网或蓝牙网络)"]="0";
+w["mbr"]="0";
+w["mirror"]="0";
+w["n"]="0";
+w["n(从列表中选择一个镜像)"]="0";
+w["ok,然后按"]="0";
+w["org"]="0";
+w["pub"]="0";
+w["rsync"]="0";
+w["selectlanguag"]="0";
+w["stage"]="0";
+w["start"]="0";
+w["tab"]="0";
+w["tty2"]="0";
+w["u"]="0";
+w["uefi"]="0";
+
diff --git a/netinstall/6/zh_CN/content/search/index-2.js b/netinstall/6/zh_CN/content/search/index-2.js
new file mode 100644
index 00000000..318e474a
--- /dev/null
+++ b/netinstall/6/zh_CN/content/search/index-2.js
@@ -0,0 +1,65 @@
+//Auto generated index for searching.
+w["x86_64"]="0";
+w["zh_cn"]="0";
+w[" "]="0";
+w["©"]="0";
+w["上的"]="0";
+w["上;如果您希望使用"]="0";
+w["与从"]="0";
+w["中的描述相同"]="0";
+w["中选择了哪个服务器,它的目录结构都应该与"]="0";
+w["中,引导器不会向您的硬盘写入任何数据,所以您可以随时按下"]="0";
+w["为"]="0";
+w["之后,将会安装并启动"]="0";
+w["从硬盘安装"]="0";
+w["代理"]="0";
+w["以便继续和完成安装过程"]="0";
+w["以及相应的分区"]="0";
+w["使用"]="0";
+w["使用微型引导镜像来安装"]="0";
+w["使用方向键来上下移动至需要选择的项目"]="0";
+w["使用方向键来选择"]="0";
+w["光盘上的"]="0";
+w["其他镜像的目录结构可能稍有不同,下列截图给出了示例:"]="0";
+w["分区格式)引导计算机"]="0";
+w["发行版,则应当如下:"]="0";
+w["可以用于通过有线"]="0";
+w["可以返回到安装界面"]="0";
+w["同时用这两种模式引导计算机"]="0";
+w["和"]="0";
+w["回到安装界面"]="0";
+w["回车"]="0";
+w["回车键"]="0";
+w["在"]="0";
+w["在下载镜像之后,您可以将其刻录到"]="0";
+w["在开始前"]="0";
+w["在线软件源(或本地镜像)"]="0";
+w["在选择"]="0";
+w["如果您不知道如何设置:请将其留空,然后选择“ok”"]="0";
+w["如果您不知道如何选择"]="0";
+w["如果您不知道如何选择,请选择"]="0";
+w["如果您从硬盘或"]="0";
+w["如果您使用的不是美式键盘,可能会在输入时遇到麻烦"]="0";
+w["如果您在后续的安装过程中遇到大量依赖缺失的问题,请重启并改用其他镜像"]="0";
+w["如果您手动指定了镜像,则必须输入某个媒体的路径"]="0";
+w["如果您没有做出选择,引导起将会以默认设置启动系统"]="0";
+w["如果您选择"]="0";
+w["如果您需要重启,请按"]="0";
+w["安装"]="0";
+w["安装不同,在网络安装的第一步——"]="0";
+w["安装器所必须的文件的安装镜像,drakx"]="0";
+w["官方镜像中的“mageia”目录一致,即"]="0";
+w["对于"]="0";
+w["对于企业网络而言,ftp"]="0";
+w["将在启动后查找:"]="0";
+w["局域网(本地网络)上的"]="0";
+w["布局,如果您需要输入名称和路径,这可能会造成一些麻烦"]="0";
+w["您也可以从"]="0";
+w["您可以在"]="0";
+w["您可以将其留空,或者指定目录名,这样便于您从安装器提供的文件列表中做出选择:只需使用方向键来上下移动"]="0";
+w["您可以按"]="0";
+w["您将会看到如下界面:"]="0";
+w["或"]="0";
+w["所列出的镜像服务器中下载它们"]="0";
+w["手动指定镜像"]="0";
+
diff --git a/netinstall/6/zh_CN/content/search/index-3.js b/netinstall/6/zh_CN/content/search/index-3.js
new file mode 100644
index 00000000..f347f376
--- /dev/null
+++ b/netinstall/6/zh_CN/content/search/index-3.js
@@ -0,0 +1,62 @@
+//Auto generated index for searching.
+w["按"]="0";
+w["按回车键确认即可,如第二张截图所示"]="0";
+w["文件的存放位置"]="0";
+w["文件的文件名"]="0";
+w["无论您在列表"]="0";
+w["服务可能会被封锁,在这种情况下您最好使用"]="0";
+w["服务器"]="0";
+w["服务器后,您将会看到用于输入登录名和密码的界面(如果需要的话)"]="0";
+w["服务器:"]="0";
+w["未加密无线网络来安装"]="0";
+w["本地"]="0";
+w["来安全退出这一阶段"]="0";
+w["来越多高级选项的帮助,然后按"]="0";
+w["来返回安装界面"]="0";
+w["来阅读引导日志,然后按"]="0";
+w["架构"]="0";
+w["概要"]="0";
+w["模式引导计算机"]="0";
+w["模式(也叫"]="0";
+w["此处"]="0";
+w["此时您的键盘将暂时处于"]="0";
+w["注意"]="0";
+w["然后指定目录或"]="0";
+w["版本"]="0";
+w["版本号"]="0";
+w["盘"]="0";
+w["盘安装系统,请看下面的内容"]="0";
+w["盘安装,您必须知道"]="0";
+w["盘来安装,请参考"]="0";
+w["盘)"]="0";
+w["目录”字段的正确格式应当如下:"]="0";
+w["硬盘"]="0";
+w["磁盘控制器或其他设备"]="0";
+w["第一个界面中提示您“请选择需要使用的语言”,此时安装器尚未写入数据到您的硬盘"]="0";
+w["第一个窗口如下图所示"]="0";
+w["系统启动前,您可以按"]="0";
+w["终端,然后按"]="0";
+w["网络安装的渠道,请选择"]="0";
+w["美式键盘"]="0";
+w["若您不确定如何选择,请将其留空"]="0";
+w["若您有多个网卡,请从中选择合适的网卡"]="0";
+w["若要从硬盘或"]="0";
+w["警告"]="0";
+w["设置主机名和域名"]="0";
+w["请点击上述链接来继续阅读安装指南;您也可以将链接中的“5”替换成其他您需要了解的"]="0";
+w["转到"]="0";
+w["这一步也叫"]="0";
+w["这一阶段的安装与"]="0";
+w["这两种镜像"]="0";
+w["这是第二阶段安装的界面,请参见下面的"]="0";
+w["这里的“网络安装”分类下找到"]="0";
+w["选择“mageia”之后,您可以用方向键在列表中选择特定类型的引导项"]="0";
+w["选择一个媒体"]="0";
+w["选择安装方式"]="0";
+w["选择网络连接类型"]="0";
+w["键将焦点移动至"]="0";
+w["镜像"]="0";
+w["镜像文件位于"]="0";
+w["首先,请选择您的硬盘(或"]="0";
+w["(使用官方镜像时)“mageia"]="0";
+
diff --git a/netinstall/6/zh_CN/content/search/ja-jp.props b/netinstall/6/zh_CN/content/search/ja-jp.props
new file mode 100644
index 00000000..27568054
--- /dev/null
+++ b/netinstall/6/zh_CN/content/search/ja-jp.props
@@ -0,0 +1 @@
+J01=\\u306B
\ No newline at end of file
diff --git a/netinstall/6/zh_CN/content/search/nwSearchFnt.js b/netinstall/6/zh_CN/content/search/nwSearchFnt.js
new file mode 100644
index 00000000..0111559c
--- /dev/null
+++ b/netinstall/6/zh_CN/content/search/nwSearchFnt.js
@@ -0,0 +1,513 @@
+/*----------------------------------------------------------------------------
+ * JavaScript for webhelp search
+ *----------------------------------------------------------------------------
+ This file is part of the webhelpsearch plugin for DocBook WebHelp
+ Copyright (c) 2007-2008 NexWave Solutions All Rights Reserved.
+ www.nexwave.biz Nadege Quaine
+ http://kasunbg.blogspot.com/ Kasun Gajasinghe
+ */
+
+//string initialization
+var htmlfileList = "htmlFileList.js";
+var htmlfileinfoList = "htmlFileInfoList.js";
+var useCJKTokenizing = false;
+
+/* Cette fonction verifie la validite de la recherche entrre par l utilisateur */
+function Verifie(ditaSearch_Form) {
+
+ // Check browser compatibitily
+ if (navigator.userAgent.indexOf("Konquerer") > -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, "").replace(/_di_/g, "%24_");
+
+ searchFor = searchFor.replace(/ +/g, " ");
+ searchFor = searchFor.replace(/ $/, "").replace(/^ /, "");
+
+ wordsList = searchFor.split(" ");
+ wordsList.sort();
+
+ //set the tokenizing method
+ if(typeof indexerLanguage != "undefined" && (indexerLanguage=="zh" || indexerLanguage=="ja" ||indexerLanguage=="ko")){
+ useCJKTokenizing=true;
+ } else {
+ useCJKTokenizing=false;
+ }
+ //If Lucene CJKTokenizer was used as the indexer, then useCJKTokenizing will be true. Else, do normal tokenizing.
+ // 2-gram tokenizinghappens in CJKTokenizing,
+ if(useCJKTokenizing){
+ finalWordsList = cjkTokenize(wordsList);
+ } else {
+ finalWordsList = tokenize(wordsList);
+ }
+
+ //load the scripts with the indices: the following lines do not work on the server. To be corrected
+ /*if (IEBrowser) {
+ scriptsarray = loadTheIndexScripts (scriptLetterTab);
+ } */
+
+ /**
+ * Compare with the indexed words (in the w[] array), and push words that are in it to tempTab.
+ */
+ var tempTab = new Array();
+ for (var t in finalWordsList) {
+ if (w[finalWordsList[t].toString()] == undefined) {
+ txt_wordsnotfound += finalWordsList[t] + " ";
+ } else {
+ tempTab.push(finalWordsList[t]);
+ }
+ }
+ finalWordsList = tempTab;
+
+ if (finalWordsList.length) {
+
+ //search 'and' and 'or' one time
+ fileAndWordList = SortResults(finalWordsList);
+
+ var cpt = fileAndWordList.length;
+ for (var i = cpt - 1; i >= 0; i--) {
+ if (fileAndWordList[i] != undefined) {
+ linkTab.push("" + txt_results_for + " " + "" + fileAndWordList[i][0].motslisteDisplay + "" + "
");
+
+ linkTab.push("");
+ for (t in fileAndWordList[i]) {
+ //DEBUG: alert(": "+ fileAndWordList[i][t].filenb+" " +fileAndWordList[i][t].motsliste);
+ //linkTab.push("- "+fl[fileAndWordList[i][t].filenb]+"
");
+ var tempInfo = fil[fileAndWordList[i][t].filenb];
+ var pos1 = tempInfo.indexOf("@@@");
+ var pos2 = tempInfo.lastIndexOf("@@@");
+ var tempPath = tempInfo.substring(0, pos1);
+ var tempTitle = tempInfo.substring(pos1 + 3, pos2);
+ var tempShortdesc = tempInfo.substring(pos2 + 3, tempInfo.length);
+
+ //file:///home/kasun/docbook/WEBHELP/webhelp-draft-output-format-idea/src/main/resources/web/webhelp/installation.html
+ var linkString = "- " + tempTitle + "";
+ // var linkString = "
- " + tempTitle + "";
+ if ((tempShortdesc != "null")) {
+ linkString += "\n
" + tempShortdesc + "
";
+ }
+ linkString += " ";
+ linkTab.push(linkString);
+ }
+ linkTab.push("
");
+ }
+ }
+ }
+
+ var results = "";
+ if (linkTab.length > 0) {
+ /*writeln ("" + txt_results_for + " " + "" + cleanwordsList + "" + "
"+"
");*/
+ results = "";
+ //write("