aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Desktop
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Views/Desktop')
-rw-r--r--h-source/Application/Views/Desktop/Client/info.php30
-rw-r--r--h-source/Application/Views/Desktop/Client/license.php25
-rw-r--r--h-source/Application/Views/Desktop/Contact/index.php31
-rw-r--r--h-source/Application/Views/Desktop/Contact/index_es.php31
-rw-r--r--h-source/Application/Views/Desktop/Contact/index_it.php31
-rw-r--r--h-source/Application/Views/Desktop/Credits/index.php65
-rw-r--r--h-source/Application/Views/Desktop/Credits/index_es.php65
-rw-r--r--h-source/Application/Views/Desktop/Credits/index_fr.php63
-rw-r--r--h-source/Application/Views/Desktop/Credits/index_it.php66
-rw-r--r--h-source/Application/Views/Desktop/Download/index.php106
-rw-r--r--h-source/Application/Views/Desktop/Download/xml.php22
-rw-r--r--h-source/Application/Views/Desktop/Hardware/left.php84
-rw-r--r--h-source/Application/Views/Desktop/Help/index.php449
-rw-r--r--h-source/Application/Views/Desktop/Help/index_de.php445
-rw-r--r--h-source/Application/Views/Desktop/Help/index_es.php442
-rw-r--r--h-source/Application/Views/Desktop/Help/index_fr.php434
-rw-r--r--h-source/Application/Views/Desktop/Help/index_it.php438
-rw-r--r--h-source/Application/Views/Desktop/History/viewall.php40
-rw-r--r--h-source/Application/Views/Desktop/Home/left.php36
-rw-r--r--h-source/Application/Views/Desktop/Home/left_es.php33
-rw-r--r--h-source/Application/Views/Desktop/Home/left_fr.php32
-rw-r--r--h-source/Application/Views/Desktop/Home/left_it.php32
-rw-r--r--h-source/Application/Views/Desktop/Issues/view.php249
-rw-r--r--h-source/Application/Views/Desktop/Issues/viewall.php122
-rw-r--r--h-source/Application/Views/Desktop/Meet/contributions.php72
-rw-r--r--h-source/Application/Views/Desktop/Meet/hardware.php52
-rw-r--r--h-source/Application/Views/Desktop/Meet/issues.php57
-rw-r--r--h-source/Application/Views/Desktop/Meet/meet.php114
-rw-r--r--h-source/Application/Views/Desktop/Meet/messages.php56
-rw-r--r--h-source/Application/Views/Desktop/Meet/talk.php58
-rw-r--r--h-source/Application/Views/Desktop/Meet/wiki.php55
-rw-r--r--h-source/Application/Views/Desktop/My/email.php33
-rw-r--r--h-source/Application/Views/Desktop/My/goodbye.php63
-rw-r--r--h-source/Application/Views/Desktop/My/panel.php64
-rw-r--r--h-source/Application/Views/Desktop/My/password.php33
-rw-r--r--h-source/Application/Views/Desktop/My/profile.php33
-rw-r--r--h-source/Application/Views/Desktop/News/index.php51
-rw-r--r--h-source/Application/Views/Desktop/Notebooks/catalogue.php92
-rw-r--r--h-source/Application/Views/Desktop/Notebooks/form.php151
-rw-r--r--h-source/Application/Views/Desktop/Notebooks/page.php115
-rw-r--r--h-source/Application/Views/Desktop/Project/index.php31
-rw-r--r--h-source/Application/Views/Desktop/Project/index_es.php31
-rw-r--r--h-source/Application/Views/Desktop/Project/index_it.php31
-rw-r--r--h-source/Application/Views/Desktop/Rss/modifications.php46
-rw-r--r--h-source/Application/Views/Desktop/Rss/notapproved.php41
-rw-r--r--h-source/Application/Views/Desktop/Search/form.php111
-rw-r--r--h-source/Application/Views/Desktop/Search/lspci_results.php108
-rw-r--r--h-source/Application/Views/Desktop/Search/results.php87
-rw-r--r--h-source/Application/Views/Desktop/Special/modactions.php78
-rw-r--r--h-source/Application/Views/Desktop/Special/modifications.php45
-rw-r--r--h-source/Application/Views/Desktop/Special/pages_deleted.php45
-rwxr-xr-xh-source/Application/Views/Desktop/Users/add.php72
-rw-r--r--h-source/Application/Views/Desktop/Users/change.php30
-rw-r--r--h-source/Application/Views/Desktop/Users/confirmation.php44
-rw-r--r--h-source/Application/Views/Desktop/Users/forgot.php57
-rwxr-xr-xh-source/Application/Views/Desktop/Users/login.php67
-rwxr-xr-xh-source/Application/Views/Desktop/Users/logout.php27
-rw-r--r--h-source/Application/Views/Desktop/Users/notice.php96
-rw-r--r--h-source/Application/Views/Desktop/Wiki/climb.php52
-rw-r--r--h-source/Application/Views/Desktop/Wiki/differences.php64
-rw-r--r--h-source/Application/Views/Desktop/Wiki/form.php105
-rw-r--r--h-source/Application/Views/Desktop/Wiki/history.php74
-rw-r--r--h-source/Application/Views/Desktop/Wiki/modifications.php45
-rw-r--r--h-source/Application/Views/Desktop/Wiki/not_found.php34
-rw-r--r--h-source/Application/Views/Desktop/Wiki/page.php154
-rw-r--r--h-source/Application/Views/Desktop/Wiki/pages.php45
-rw-r--r--h-source/Application/Views/Desktop/Wiki/talk.php173
-rw-r--r--h-source/Application/Views/Desktop/bottom_left.php29
-rw-r--r--h-source/Application/Views/Desktop/catalogue.php98
-rw-r--r--h-source/Application/Views/Desktop/cleared.php28
-rw-r--r--h-source/Application/Views/Desktop/climb.php37
-rw-r--r--h-source/Application/Views/Desktop/dialog.php102
-rw-r--r--h-source/Application/Views/Desktop/differences.php49
-rw-r--r--h-source/Application/Views/Desktop/footer.php40
-rw-r--r--h-source/Application/Views/Desktop/form.php157
-rw-r--r--h-source/Application/Views/Desktop/header.php91
-rw-r--r--h-source/Application/Views/Desktop/history.php63
-rw-r--r--h-source/Application/Views/Desktop/if_page_deleted.php59
-rw-r--r--h-source/Application/Views/Desktop/license_notice.php32
-rw-r--r--h-source/Application/Views/Desktop/moderator_dialog.php69
-rw-r--r--h-source/Application/Views/Desktop/noscript_distributions.php33
-rw-r--r--h-source/Application/Views/Desktop/page.php141
-rw-r--r--h-source/Application/Views/Desktop/right.php158
-rw-r--r--h-source/Application/Views/Desktop/suggest_dialog.php43
-rw-r--r--h-source/Application/Views/Desktop/talk.php150
-rw-r--r--h-source/Application/Views/Desktop/top_left.php190
-rw-r--r--h-source/Application/Views/Desktop/xml_response.php28
87 files changed, 7860 insertions, 0 deletions
diff --git a/h-source/Application/Views/Desktop/Client/info.php b/h-source/Application/Views/Desktop/Client/info.php
new file mode 100644
index 0000000..00d2927
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Client/info.php
@@ -0,0 +1,30 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+<?php echo "<?xml version='1.0' encoding='UTF-8'?>\n";?>
+<user_info>
+ <status><?php echo $user_status;?></status>
+ <info>
+ <username><?php echo $username;?></username>
+ <token><?php echo $token;?></token>
+ <groups><?php echo $user_groups;?></groups>
+ </info>
+</user_info>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Client/license.php b/h-source/Application/Views/Desktop/Client/license.php
new file mode 100644
index 0000000..c38d615
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Client/license.php
@@ -0,0 +1,25 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+<?php echo $xml; ?>
+<xml>
+ <license_info><![CDATA[<?php echo License::getClientNotice();?>]]></license_info>
+</xml>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Contact/index.php b/h-source/Application/Views/Desktop/Contact/index.php
new file mode 100644
index 0000000..8b5c101
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Contact/index.php
@@ -0,0 +1,31 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; contact
+ </div>
+
+ <p>write in the file <b>Application/Views/Contact/index.php</b> your contact information</p>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Contact/index_es.php b/h-source/Application/Views/Desktop/Contact/index_es.php
new file mode 100644
index 0000000..28d91c6
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Contact/index_es.php
@@ -0,0 +1,31 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; contact
+ </div>
+
+
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Contact/index_it.php b/h-source/Application/Views/Desktop/Contact/index_it.php
new file mode 100644
index 0000000..28d91c6
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Contact/index_it.php
@@ -0,0 +1,31 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; contact
+ </div>
+
+
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Credits/index.php b/h-source/Application/Views/Desktop/Credits/index.php
new file mode 100644
index 0000000..01bcc91
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Credits/index.php
@@ -0,0 +1,65 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; credits
+ </div>
+
+ <div class="credits_external_box">
+
+ <div class="credits_item_title">
+ Icons:
+ </div>
+
+ <div class="credits_item_description">
+ The icons used inside <?php echo Website::$generalName;?> are taken from the <a href="http://kde-look.org/content/show.php/ACUN+Simgeleri?content=83018">ACUN Simgeleri 0.7</a> icon theme and from the <a href="http://kde-look.org/content/show.php/H2O+Icon+Theme?content=127149">H2O Icon Theme 0.0.5</a>, both licensed under the GNU GPL license, from the <a href="http://www.everaldo.com/crystal/?action=downloads">Crystal Projects</a> icons, licensed under the LGPL, from the <a href="http://www.notmart.org/index.php/Graphics">glaze icons set</a> (LGPL) and from the <a href="http://kde-look.org/content/show.php/Dark-Glass+reviewed?content=67902">DarkGlass_Reworked icons theme</a> (GPL). The flag icons are taken from the <a href="http://www.famfamfam.com/lab/icons/flags/">FAMFAMFAM flag icons set</a> (Public Domain).
+ </div>
+
+ <div class="credits_item_title">
+ jQuery:
+ </div>
+
+ <div class="credits_item_description">
+ The <a href="http://jquery.com/">jQuery</a> and the <a href="http://jqueryui.com/home">jQuery UI</a> javascript libraries (licensed under MIT/GPL) have been used through the website
+ </div>
+
+ <div class="credits_item_title">
+ markitup:
+ </div>
+
+ <div class="credits_item_description">
+ The <a href="http://markitup.jaysalvat.com/home/">markitup</a> jQuery plugin (licensed under MIT/GPL) has been used in order to help the user to insert wiki tags
+ </div>
+
+ <div class="credits_item_title">
+ php diff algorithm:
+ </div>
+
+ <div class="credits_item_description">
+ <a href="http://compsci.ca/v3/viewtopic.php?p=142539">This</a> algorithm (licensed under the zlib free license) has been used in order to highlight the differences between two different revisions of the same hadrware model.
+ </div>
+
+ </div>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Credits/index_es.php b/h-source/Application/Views/Desktop/Credits/index_es.php
new file mode 100644
index 0000000..8de3316
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Credits/index_es.php
@@ -0,0 +1,65 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; credits
+ </div>
+
+ <div class="credits_external_box">
+
+ <div class="credits_item_title">
+ Iconos:
+ </div>
+
+ <div class="credits_item_description">
+ Los iconos usados dentro de <?php echo Website::$generalName;?> son tomados de el tema de iconos <a href="http://kde-look.org/content/show.php/ACUN+Simgeleri?content=83018">ACUN Simgeleri 0.7</a> y de <a href="http://kde-look.org/content/show.php/H2O+Icon+Theme?content=127149">H2O Icon Theme 0.0.5</a>, ambos licenciados bajo la licencia GNU GPL, de <a href="http://www.everaldo.com/crystal/?action=downloads">Crystal Projects</a>, licenciado bajo la LGPL, de <a href="http://www.notmart.org/index.php/Graphics">glaze icons set</a> (LGPL) y de <a href="http://kde-look.org/content/show.php/Dark-Glass+reviewed?content=67902">DarkGlass_Reworked icons theme</a> (GPL). Los iconos de las banderas son tomados la colección de iconos de banderas <a href="http://www.famfamfam.com/lab/icons/flags/">FAMFAMFAM</a> (Dominio Público)
+ </div>
+
+ <div class="credits_item_title">
+ jQuery:
+ </div>
+
+ <div class="credits_item_description">
+ Las bibliotecas javascript <a href="http://jquery.com/">jQuery</a> y <a href="http://jqueryui.com/home">jQuery UI</a> (licenciadas bajo MIT/GPL) han sido usadas en el sitio
+ </div>
+
+ <div class="credits_item_title">
+ markitup:
+ </div>
+
+ <div class="credits_item_description">
+ El complemento <a href="http://markitup.jaysalvat.com/home/">markitup</a> jQuery (licenciado bajo MIT/GPL) ha sido usado en orden de ayudar al usuario a insertar etiquetas wiki
+ </div>
+
+ <div class="credits_item_title">
+ php diff algorithm:
+ </div>
+
+ <div class="credits_item_description">
+ <a href="http://compsci.ca/v3/viewtopic.php?p=142539">Este</a> algoritmo (licenciado bajo la licencia libre de zlib) ha sido usado en orden de remarcar las diferencias entre dos diferentes revisiones del mismo modelo de hardware.
+ </div>
+
+ </div>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Credits/index_fr.php b/h-source/Application/Views/Desktop/Credits/index_fr.php
new file mode 100644
index 0000000..62998f1
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Credits/index_fr.php
@@ -0,0 +1,63 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; credits
+ </div>
+
+ <div class="credits_external_box">
+
+ <div class="credits_item_title">
+ Icons:
+ </div>
+
+ <div class="credits_item_description">
+ Les icones utilisées sur <?php echo Website::$generalName;?> sont tirées du thème <a href="http://kde-look.org/content/show.php/ACUN+Simgeleri?content=83018">ACUN Simgeleri 0.7</a> et du thème <a href="http://kde-look.org/content/show.php/H2O+Icon+Theme?content=127149">H2O Icon Theme 0.0.5</a>, les deux sont licensée sous license GPL, d’autres sont aussi tirée des thèmes <a href="http://www.everaldo.com/crystal/?action=downloads">Crystal Projects</a> (LGPL), <a href="http://www.notmart.org/index.php/Graphics">glaze icons set</a> (LGPL), <a href="http://kde-look.org/content/show.php/Dark-Glass+reviewed?content=67902">DarkGlass_Reworked icons theme</a> (GPL). Les icones de drapeau sont tirés du thème <a href="http://www.famfamfam.com/lab/icons/flags/">FAMFAMFAM flag icons set</a> distribué dans le domaine publique.
+ </div>
+
+ <div class="credits_item_title">
+ jQuery:
+ </div>
+
+ <div class="credits_item_description">
+ <a href="http://jquery.com/">jQuery</a> et la librairie javascript <a href="http://jqueryui.com/home">jQuery UI</a> (licensé sous MIT/GPL) sont utilisés sur le site.
+ </div>
+
+ <div class="credits_item_title">
+ markitup:
+ </div>
+
+ <div class="credits_item_description">
+ Le plugin jQuery <a href="http://markitup.jaysalvat.com/home/">markitup</a> (licensé sous MIT/GPL) a été utilisé afin d’aider les utilisateurs à insérer des tags wiki.
+ </div>
+
+ <div class="credits_item_title">
+ Algorithme diff php:
+ </div>
+
+ <div class="credits_item_description">
+ <a href="http://compsci.ca/v3/viewtopic.php?p=142539">Cet</a> algorithme (Licensé sous license libre zlib) a été utiliser afin de souligner les différences entre deux révisions d’un même modèle matériel.
+ </div>
+
+ </div>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Credits/index_it.php b/h-source/Application/Views/Desktop/Credits/index_it.php
new file mode 100644
index 0000000..a142942
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Credits/index_it.php
@@ -0,0 +1,66 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; credits
+ </div>
+
+ <div class="credits_external_box">
+
+ <div class="credits_item_title">
+ Icone:
+ </div>
+
+ <div class="credits_item_description">
+ Le icone utilizzate nel sito h-node.com appartengono ai temi di icone <a href="http://kde-look.org/content/show.php/ACUN+Simgeleri?content=83018">ACUN Simgeleri 0.7</a> e <a href="http://kde-look.org/content/show.php/H2O+Icon+Theme?content=127149">H2O Icon Theme 0.0.5</a>, entrambi sotto licenza GNU GPL, e al tema <a href="http://www.everaldo.com/crystal/?action=downloads">Crystal Projects</a>, sotto licenza LGPL, al <a href="http://www.notmart.org/index.php/Graphics">set di icone glaze</a> (LGPL) e al tema <a href="http://kde-look.org/content/show.php/Dark-Glass+reviewed?content=67902">DarkGlass_Reworked</a> (GPL). Le icone bandiere derivano dal set di icone <a href="http://www.famfamfam.com/lab/icons/flags/">FAMFAMFAM</a> (Public Domain).
+ </div>
+
+
+ <div class="credits_item_title">
+ jQuery:
+ </div>
+
+ <div class="credits_item_description">
+ Le librerie javascript <a href="http://jquery.com/">jQuery</a> e <a href="http://jqueryui.com/home">jQuery UI</a> (sotto licenza MIT/GPL) sono state usate nel sito
+ </div>
+
+ <div class="credits_item_title">
+ markitup:
+ </div>
+
+ <div class="credits_item_description">
+ Il plugin jQuery <a href="http://markitup.jaysalvat.com/home/">markitup</a> (sotto licenza MIT/GPL) è stato usato per aiutare gli utenti a inserire i tag della wiki </div>
+
+ <div class="credits_item_title">
+ Algoritmo php diff:
+ </div>
+
+ <div class="credits_item_description">
+ <a href="http://compsci.ca/v3/viewtopic.php?p=142539">Questo</a> algoritmo (sotto licenza libera zlib) è stato usato per sottolineare la differenza tra due diverse revisioni dello stesso modello di hardware.
+ </div>
+
+
+ </div>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Download/index.php b/h-source/Application/Views/Desktop/Download/index.php
new file mode 100644
index 0000000..1275d63
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Download/index.php
@@ -0,0 +1,106 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext("Download");?>
+ </div>
+
+ <div class="credits_external_box">
+
+ <div class="credits_item_title">
+ <?php echo gtext("Download the h-node hardware database in xml format");?>:
+ </div>
+
+ <div class="credits_item_description">
+ <?php echo gtext("You can download all the h-node database in one unique xml file in order to parse its contents by means of some proper script (for example a Python or Perl or PHP script)");?>
+
+ <div class="download_table">
+ <table width="95%">
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/all/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>notebooks</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/notebooks/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>wifi cards</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/wifi/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>video cards</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/videocards/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>printers</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/printers/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>scanners</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/scanners/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>3G cards</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/threegcards/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>sound cards</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/soundcards/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>webcams</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/webcams/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>bluetooth devices</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/bluetooth/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>acquisition cards</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/acquisitioncards/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>fingerprint readers</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/fingerprintreaders/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>ethernet cards</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/ethernetcards/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>SD card readers</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/sdcardreaders/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("Download the xml file of all the <b>modems</b> in the database");?></td>
+ <td><a href="<?php echo $this->baseUrl."/download/modems/$lang";?>"><img src="<?php echo $this->baseUrl?>/Public/Img/H2O/download.png"></a></td>
+ </tr>
+ </table>
+ </div>
+ </div>
+
+ </div>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Download/xml.php b/h-source/Application/Views/Desktop/Download/xml.php
new file mode 100644
index 0000000..67bc38e
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Download/xml.php
@@ -0,0 +1,22 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+<?php echo $xml; ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Hardware/left.php b/h-source/Application/Views/Desktop/Hardware/left.php
new file mode 100644
index 0000000..ece6e32
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Hardware/left.php
@@ -0,0 +1,84 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; Hardware
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/computer-laptop.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/notebooks/catalogue/<?php echo $lang;?>"><?php echo gtext("Notebooks, netbooks, tablet PC");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/network-wireless.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/wifi/catalogue/<?php echo $lang;?>"><?php echo gtext("Wifi cards");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/1282042718_hardware.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/videocards/catalogue/<?php echo $lang;?>"><?php echo gtext("Video cards");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/printer.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/printers/catalogue/<?php echo $lang;?>"><?php echo gtext("Printers and multifunction");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/scanner.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/scanners/catalogue/<?php echo $lang;?>"><?php echo gtext("Scanners");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/usb.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/threegcards/catalogue/<?php echo $lang;?>"><?php echo gtext("3G cards");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/audio-card.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/soundcards/catalogue/<?php echo $lang;?>"><?php echo gtext("Sound cards");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/camera-web.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/webcams/catalogue/<?php echo $lang;?>"><?php echo gtext("Webcams");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/preferences-system-bluetooth.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/bluetooth/catalogue/<?php echo $lang;?>"><?php echo gtext("Bluetooth devices");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/cam_mount.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/acquisitioncards/catalogue/<?php echo $lang;?>"><?php echo gtext("TV/Video/FM acquisition cards");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/fingerprint_icon.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/fingerprintreaders/catalogue/<?php echo $lang;?>"><?php echo gtext("Fingerprint readers");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/network-wired.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/ethernetcards/catalogue/<?php echo $lang;?>"><?php echo gtext("Ethernet cards");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/media-flash-sd-mmc.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/sdcardreaders/catalogue/<?php echo $lang;?>"><?php echo gtext("SD card readers");?></a>
+ </div>
+
+ <div class="hardware_element">
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/modem.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/modems/catalogue/<?php echo $lang;?>"><?php echo gtext("Modems and ADSL cards");?></a>
+ </div>
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Help/index.php b/h-source/Application/Views/Desktop/Help/index.php
new file mode 100644
index 0000000..c61909d
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Help/index.php
@@ -0,0 +1,449 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010, 2011 Antonio Gallo (h-source-copyright.txt)
+// Copyright (C) 2011 Joerg Kohne
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+<div class="help_external_box">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext("Help");?>
+ </div>
+
+ <div class="help_tables_of_contents">
+ Table of contents
+ <ul>
+ <li><a href="<?php echo $this->currPage."/$lang#wiki-syntax";?>">Wiki syntax</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#compatibility";?>">Compatibility classes</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#discover-hardware";?>">Discover your hardware</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#fully-free";?>">List of fully free GNU/Linux distributions</a></li>
+ </ul>
+ </div>
+
+ <a name="wiki-syntax"></a><h2>Wiki Syntax</h2>
+
+ <h3>List of <?php echo Website::$generalName;?>
+ Wiki Tags</h3>
+
+ <table class="wiki">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Tag</th>
+ <th>Result</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>bold</td>
+ <td>text [b]bold[/b]</td>
+ <td>text <b>bold</b></td>
+ <td>text bold</td>
+ </tr>
+ <tr>
+ <td>italic</td>
+ <td>text [i]italic[/i]</td>
+ <td>text <i>italic</i></td>
+ <td>text italic</td>
+ </tr>
+ <tr>
+ <td>del</td>
+ <td>text [del]deleted[/del]</td>
+ <td>text <del>deleted</del></td>
+ <td>text deleted</td>
+ </tr>
+ <tr>
+ <td>underline</td>
+ <td>text [u]underlined[/u]</td>
+ <td>text <u>underlined</u></td>
+ <td>text underlined</td>
+ </tr>
+ <tr>
+ <td>head 1</td>
+ <td>[h1]heading[/h1]</td>
+ <td>
+ <div class="div_h1">
+ heading</div>
+ </td>
+ <td>head 1</td>
+ </tr>
+ <tr>
+ <td>head 2</td>
+ <td>[h2]heading[/h2]</td>
+ <td>
+ <div class="div_h2">
+ heading</div>
+ </td>
+ <td>head 2</td>
+ </tr>
+ <tr>
+ <td>head 3</td>
+ <td>[h3]heading[/h3]</td>
+ <td>
+ <div class="div_h3">
+ heading</div>
+ </td>
+ <td>head 3</td>
+ </tr>
+ <tr>
+ <td>paragraph</td>
+ <td>…[p]new paragraph[/p]</td>
+ <td>…
+
+ <p>new paragraph</p>
+ </td>
+ <td>new paragraph</td>
+ </tr>
+ <tr>
+ <td>Ordered Lists </td>
+ <td><ul style="list-style-type:none;">
+ <li>[list]</li>
+ <li><ul style="list-style-type:none;">
+ <li>[*]first item[/*]</li>
+ <li>[*]second item[/*]</li>
+ </ul>
+ </li>
+ <li>[/list]</li>
+ </ul>
+ </td>
+ <td><ul>
+ <li>first item</li>
+ <li>second item</li>
+ </ul>
+ </td>
+ <td>make a list of items</td>
+ </tr>
+ <tr>
+ <td>Numbered List </td>
+ <td><ul style="list-style-type:none;">
+ <li>[enum]</li>
+ <li><ul style="list-style-type:none;">
+ <li>[*]first item[/*]</li>
+ <li>[*]second item[/*]</li>
+ </ul>
+ </li>
+ <li>[/enum]</li>
+ </ul>
+ </td>
+ <td><ol>
+ <li>first item</li>
+ <li>second item</li>
+ </ol>
+ </td>
+ <td>make a numbered list of items</td>
+ </tr>
+ <tr>
+ <td>list item</td>
+ <td>[*]item[/*]</td>
+ <td><ul>
+ <li>item</li>
+ </ul>
+ </td>
+ <td>add an item to a list</td>
+ </tr>
+ <tr>
+ <td>code</td>
+ <td>[code]some code[/code]</td>
+ <td><pre class="code_pre">some code</pre>
+ </td>
+ <td>some code</td>
+ </tr>
+ <tr>
+ <td>simple link</td>
+ <td>[a]url[/a]</td>
+ <td><a href="url">url</a></td>
+ <td>simple link</td>
+ </tr>
+ <tr>
+ <td>link with text</td>
+ <td>[a]url|text[/a]</td>
+ <td><a href="url">text</a></td>
+ <td>link with text</td>
+ </tr>
+ <tr>
+ <td>notebook</td>
+ <td>[notebook]id[/notebook]</td>
+ <td><samp>id</samp></td>
+ <td>link to the notebook with the identifier equal to id (the identifier of each device model is written in the
+ page of the device itself, next to the model name)</td>
+ </tr>
+ <tr>
+ <td>wifi</td>
+ <td>[wifi]id[/wifi]</td>
+ <td><samp>id</samp></td>
+ <td>link to the wifi with the identifier equal to id (the identifier of each device model is written in the page
+ of the device itself, next to the model name)</td>
+ </tr>
+ <tr>
+ <td>videocard</td>
+ <td>[videocard]id[/videocard]</td>
+ <td class="sample"><samp>id</samp></td>
+ <td>link to the videocard with the identifier equal to id (the identifier of each device model is written in the
+ page of the device itself, next to the model name)</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <p> </p>
+
+ <a name="compatibility"></a><h2>Compatibility classes</h2>
+
+ <a name="notebook-compatibility"></a><h3>Notebooks</h3>
+ <dl>
+ <dt>Class A (Platinum)</dt>
+ <dd>All the notebook devices work with a very good performance. </dd>
+ <dd class="example">Example: all the devices work, the 3D acceleration is supported</dd>
+ <dt>Class B (Gold)</dt>
+ <dd>All the notebook devices work but not at full performance. </dd>
+ <dd class="example">A typical example: all the devices work, but the 3D acceleration is not supported</dd>
+ <dt>Class C (Silver)</dt>
+ <dd>One main device is not supported. </dd>
+ <dd class="example">Example: the internal wifi card does not work. You need an external USB card</dd>
+ <dt>Class D (Bronze)</dt>
+ <dd>More than one device is not supported</dd>
+ <dt>Class E (Garbage)</dt>
+ <dd>The notebook does not work with free software</dd>
+ </dl>
+
+ <a name="printer-compatibility"></a><h3>Printers</h3>
+ <dl>
+ <dt>Class A (Full)</dt>
+ <dd>All device functions and features are supported</dd>
+ <dt>Class B (Partial)</dt>
+ <dd>Printing supported but possibly at limited speed or print quality; scanning and/or faxing on some multifunction
+ devices may not be supported</dd>
+ <dt>Class C (None)</dt>
+ <dd>The printer does not work with free software</dd>
+ </dl>
+
+ <a name="scanner-compatibility"></a><h3>Scanners</h3>
+ <dl>
+ <dt>Class A (Full)</dt>
+ <dd>All device functions and features are supported</dd>
+ <dt>Class B (Partial)</dt>
+ <dd>Scanning supported but possibly at limited speed or quality; some other features may not be supported</dd>
+ <dt>Class C (None)</dt>
+ <dd>The scanner does not work with free software</dd>
+ </dl>
+
+ <p> </p>
+
+ <a name="discover-hardware"></a><h2>Discover your hardware</h2>
+
+ <p><cite>(Thanks <a href="<?php echo $this->baseUrl;?>/issues/view/en/3/1/token">lluvia</a>)</cite></p>
+
+ <p>In order to know the details of your hardware you can carry out the following actions:</p>
+ <dl>
+ <dt>How to discover the model name of your notebook</dt>
+ <dd>See below your notebook or netbook<dd>
+ <a name="model-name"></a><dt>How to discover the model name of your device (if it is not a notebook)</dt>
+ <dd class="opt"><strong>If the device is integrated (example: a video card)</strong></dd>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd><pre class="terminal">lspci</pre>
+ </dd>
+ <dd>or</dd>
+ <dd><pre class="terminal">lspci &gt; FILENAME # output to a file</pre>
+ </dd>
+ <!-- dd>where "filename" is the name of the file</dd -->
+ <dd>You will obtain the list of your PCI devices, similar to the one written below</dd>
+ <dd><pre class="terminal">
+00:18.3 Host bridge: <b>Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control</b>
+03:00.0 Network controller: <b>Broadcom Corporation BCM4311 802.11b/g WLAN (rev 02)</b>
+05:00.0 VGA compatible controller: <b>nVidia Corporation G86 [GeForce 8400M GS] (rev a1)</b>
+ </pre>
+ </dd>
+ <dd class="note"><b>Note:</b> The name of each device is written after the colon (see the text
+ in bold in the above list)</dd>
+ <dd>If the device is an USB device (example: an external USB wifi card)</dd>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd><pre class="terminal">lsusb -v</pre>
+ </dd>
+ <dd>or</dd>
+ <dd><pre class="terminal">lsusb -v &gt; FILENAME # output to a file</pre>
+ </dd>
+ <!-- dd>where "filename" is the name of the file</dd -->
+ <dd>You will obtain the list of your USB devices, similar to the one written below</dd>
+ <dd><pre class="terminal">
+Bus 001 Device 002: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
+Device Descriptor:
+ bLength 18
+ bDescriptorType 1
+ bcdUSB 2.00
+ bDeviceClass 0 (Defined at Interface level)
+ bDeviceSubClass 0
+ bDeviceProtocol 0
+ bMaxPacketSize0 64
+ idVendor 0x0846 NetGear, Inc.
+ idProduct 0x4260 <b>WG111v3 54 Mbps Wireless [realtek RTL8187B]</b>
+ bcdDevice 2.00
+ iManufacturer 1
+ iProduct 2
+ iSerial 3
+ ...
+ ...
+
+Bus 002 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
+Device Descriptor:
+ bLength 18
+ bDescriptorType 1
+ bcdUSB 1.10
+ bDeviceClass 255 Vendor Specific Class
+ bDeviceSubClass 255 Vendor Specific Subclass
+ bDeviceProtocol 255 Vendor Specific Protocol
+ bMaxPacketSize0 8
+ idVendor 0x08ff AuthenTec, Inc.
+ idProduct 0x2580 <b>AES2501 Fingerprint Sensor</b>
+ bcdDevice 6.23
+ iManufacturer 0
+ iProduct 1 Fingerprint Sensor
+ iSerial 0
+ bNumConfigurations 1
+ ...
+ ...
+ </pre>
+ </dd>
+ <dd class="note"><b>Note:</b> The name of each device is written at the row starting with "idProduct" (see the text
+ in bold in the above list)</dd>
+ <dl>
+ <dt>How to discover the model name of your notebook</dt>
+ <dd>See below your notebook or netbook<dd>
+ <a name="model-name"></a><dt>How to discover the model name of your device (if it is not a notebook)</dt>
+ <dd class="opt"><strong>If the device is integrated (example: a video card)</strong></dd>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd><pre class="terminal">lspci</pre>
+ </dd>
+ <dd>or</dd>
+ <dd><pre class="terminal">lspci &gt; FILENAME # output to a file</pre>
+ </dd>
+ <dt>How to discover the kernel libre version you are using</dt>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd> <pre class="terminal">uname -r</pre>
+ </dd>
+ <dt>How to discover the name of your video card</dt>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd><pre class="terminal">sudo lspci</pre>
+ </dd>
+ <dd>Then look for the row containing the string <b>VGA</b> or <b>Display controller</b>. You can also try one of
+ the following commands:</dd>
+ <dd><pre class="terminal">lspci | grep "Display controller"</pre>
+ </dd>
+ <dd>or</dd>
+ <dd><pre class="terminal">lspci | grep "VGA"</pre>
+ </dd>
+ <a name="vendoridproductid"></a><dt>How to discover the VendorID and the ProductID of your device (VendorID:ProductID
+ code)</dt>
+ <dd><cite>(Thanks <a
+ href="http://trisquel.info/en/forum/h-nodecom-new-website-hardware-database#comment-5839">Michał
+ Masłowski</a> and <a
+ href="http://trisquel.info/en/forum/h-nodecom-new-website-hardware-database#comment-5837">Julius22</a>)</cite></dd>
+ <dd>If the device is integrated (example: a video card) </dd>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd><pre class="terminal">sudo lspci -nnk</pre></dd>
+ <dd>You should obtain a list of hardware similar to the one written below</dd>
+ <dd><pre class="terminal">
+03:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [<b>14e4:4311</b>] (rev 02)
+ Kernel driver in use: b43-pci-bridge
+ Kernel modules: ssb
+05:00.0 VGA compatible controller [0300]: nVidia Corporation G86 [GeForce 8400M GS] [<b>10de:0427</b>] (rev a1)
+ Kernel modules: nouveau, nvidiafb</pre>
+ </dd>
+ <dd>The strings in <b>bold</b> and placed inside the square brackets (in the above list) are the code you are
+ looking for. The first set of digits (before the colon) are the <b>VendorID</b>, the second set of digits are
+ the <b>ProductID</b>. In the above example: the VendorID:ProductID code of the wifi card (note the strings
+ "Network controller" and "WLAN") is <b>14e4:4311</b> while the VendorID:ProductID code of the video card (note
+ the string "VGA") is <b>10de:0427</b></dd>
+ <dd class="opt">If the device is an USB device (example: an external USB wifi card) </dd>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd><pre class="terminal">sudo lsusb</pre>
+ </dd>
+ <dd>You should obtain a list of hardware similar to the one written below</dd>
+ <dd><pre class="terminal">
+Bus 001 Device 002: ID <b>0846:4260</b> NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
+Bus 001 Device 001: ID <b>1d6b:0002</b> Linux Foundation 2.0 root hub
+Bus 002 Device 003: ID <b>08ff:2580</b> AuthenTec, Inc. AES2501 Fingerprint Sensor</pre>
+ </dd>
+ <dd>The strings in <b>bold</b> (in the above list) are the code you are looking for. The first set of digits
+ (before the colon) are the <b>VendorID</b>, the second set of digits are the <b>ProductID</b>. In the above
+ example: the VendorID:ProductID code of the external USB wifi card (note the strings "Wireless") is
+ <b>0846:4260</b></dd>
+ <dt>How to discover if the video card works</dt>
+ <dd>Install <a href="http://rss-glx.sourceforge.net/"><code>rss-glx</code></a> by means of the package manager of
+ your distribution or compiling it from source and try some screensavers (for example <b>Skyrocket</b> or
+ <b>Solarwinds</b>). Check if you can play the screensaver (and/or if you can play it smoothly)</dd>
+ <dt>How to discover if the 3D acceleration works</dt>
+ <dd>Try to enable compiz</dd>
+ <dt>How to discover the name of your wifi card</dt>
+ <dd><p>Open a terminal and type the following command:</p>
+ </dd>
+ <dd><pre class="terminal">sudo lspci</pre>
+ </dd>
+ <dd>Then look for the row containing the string <b>Wireless</b> or <b>Network controller</b>. You can also try
+ one of the following commands:</dd>
+ <dd><pre class="terminal">lspci | grep "Wireless" </pre>
+ </dd>
+ <dd>or</dd>
+ <dd><pre class="terminal">lspci | grep "Network" </pre>
+ </dd>
+ <dt>How to discover the printer driver you are using</dt>
+ <dd class="opt"><strong>If you are using cups</strong></dd>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd><pre class="terminal">dpkg-query -W -f '${Version}\n' cups</pre>
+ </dd>
+ <dt>How to discover the architecture of your notebook</dt>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd><pre class="terminal">cat /proc/cpuinfo | grep "lm"</pre>
+ </dd>
+ <dd>If you get a message like this:</dd>
+ <dd><pre class="terminal">flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts<br/>acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64<br/>monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm</pre>
+ </dd>
+ <dd>then you machine is x86-64/amd64 capable and you could choose a x86-64/amd64 distro to run on it</dd>
+ </dl>
+ <p> </p>
+
+ <a name="fully-free"></a><h2>Fully free GNU/Linux Distributions</h2>
+
+ <p>Following are the <a href="http://www.gnu.org/gnu/linux-and-gnu.html">GNU/Linux</a> distributions we know of which have a firm policy
+ commitment to only include and only propose free software. They reject non-free applications, non-free programming
+ platforms, non-free drivers, or non-free firmware “blobs”. If by mistake they do include any, they remove it. To
+ learn more about what makes for a <a href="http://www.gnu.org/distros/free-distros.html">free GNU/Linux
+ distribution</a>, see GNU <a href="http://www.gnu.org/distros/free-system-distribution-guidelines.html">Guidelines for
+ Free System Distributions</a>.</p>
+
+ <p><strong>All of the distributions that follow are installable to a computer's hard drive and most can be run
+ live.</strong></p>
+
+ <p>(listed in alphabetical order)</p>
+
+ <!-- p>They are listed in alphabetical order</p -->
+ <ul>
+ <li><a href="http://www.blagblagblag.org/">BLAG GNU/Linux</a></li>
+ <li><a href="http://dragora.usla.org.ar/wiki/doku.php">Dragora GNU/Linux</a></li>
+ <li><a href="http://dynebolic.org/">Dynebolic GNU/Linux</a></li>
+ <li><a href="http://www.gnewsense.org/">gNewSense GNU/Linux</a></li>
+ <li><a href="http://www.musix.org.ar/">Musix GNU+Linux</a></li>
+ <li><a href="https://parabolagnulinux.org/">Parabola GNU/Linux</a></li>
+ <li><a href="http://trisquel.info/">Trisquel GNU/Linux</a></li>
+ <li><a href="http://www.ututo.org/www/">Ututo GNU/Linux</a></li>
+ <li><a href="http://venenux.org/">Venenux GNU/Linux</a></li>
+ </ul>
+ </dl>
+ </div>
+
diff --git a/h-source/Application/Views/Desktop/Help/index_de.php b/h-source/Application/Views/Desktop/Help/index_de.php
new file mode 100644
index 0000000..cd4290f
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Help/index_de.php
@@ -0,0 +1,445 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010, 2011 Antonio Gallo (h-source-copyright.txt)
+// Copyright (C) 2011 Joerg Kohne
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+<div class="help_external_box">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Startseite</a> &raquo; <?php echo gtext("Help");?>
+ </div>
+
+ <div class="help_tables_of_contents">
+ Inhalt
+ <ul>
+ <li><a href="<?php echo $this->currPage."/$lang#wiki-syntax";?>">Wiki-Syntax</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#compatibility";?>">Kompatibilitätsklassen</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#discover-hardware";?>">Entdecken Sie Ihre Hardware</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#fully-free";?>">Vollständig Freie GNU/Linux-Distributionen</a></li>
+ </ul>
+ </div>
+
+ <a name="wiki-syntax"></a><h2>Wiki-Syntax</h2>
+
+ <h3><?php echo Website::$generalName;?>
+ Wiki-Elemente</h3>
+
+ <table class="help_wiki_table">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Element</th>
+ <th>Ergebnis</th>
+ <th>Beschreibung</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Fett</td>
+ <td>[b]Fette[/b] Schrift</td>
+ <td><b>Fette</b> Schrift</td>
+ <td>Fettschrift</td>
+ </tr>
+ <tr>
+ <td>Kursiv</td>
+ <td>[i]Kursive[/i] Schrift</td>
+ <td><i>Kursive</i> Schrift</td>
+ <td>Kursivschrift</td>
+ </tr>
+ <tr>
+ <td>Gelöschter Text</td>
+ <td>[del]Gelöschter[/del] Text</td>
+ <td><del>Gelöschter</del> Text</td>
+ <td>Gelöschter Text</td>
+ </tr>
+ <tr>
+ <td>Unterstrichen</td>
+ <td>[u]Unterstrichener[/u] Text</td>
+ <td><u>Unterstrichener</u> Text</td>
+ <td>Unterstrichener Text</td>
+ </tr>
+ <tr>
+ <td>Überschrift 1</td>
+ <td>[h1]Überschrift[/h1]</td>
+ <td>
+ <div class="div_h1">
+ Überschrift</div>
+ </td>
+ <td>Überschrift Ebene 1</td>
+ </tr>
+ <tr>
+ <td>Überschrift 2</td>
+ <td>[h2]Überschrift[/h2]</td>
+ <td>
+ <div class="div_h2">
+ Überschrift</div>
+ </td>
+ <td>Überschrift Ebene 2</td>
+ </tr>
+ <tr>
+ <td>Überschrift 3</td>
+ <td>[h3]Überschrift[/h3]</td>
+ <td>
+ <div class="div_h3">
+ Überschrift</div>
+ </td>
+ <td>Überschrift Ebene 3</td>
+ </tr>
+ <tr>
+ <td>Absatz</td>
+ <td>…[p](Neuer) Absatz[/p]</td>
+ <td>…
+
+ <p>(Neuer) Absatz</p>
+ </td>
+ <td>(Neuer) Absatz</td>
+ </tr>
+ <tr>
+ <td>Auflistung</td>
+ <td><ul style="list-style-type:none;">
+ <li>[list]</li>
+ <li><ul style="list-style-type:none;">
+ <li>[*]Erstes Element[/*]</li>
+ <li>[*]Zweites Element[/*]</li>
+ </ul>
+ </li>
+ <li>[/list]</li>
+ </ul>
+ </td>
+ <td><ul>
+ <li>Erstes Element</li>
+ <li>Zweites Element</li>
+ </ul>
+ </td>
+ <td>Auflistung</td>
+ </tr>
+ <tr>
+ <td>Nummerierung</td>
+ <td><ul style="list-style-type:none;">
+ <li>[enum]</li>
+ <li><ul style="list-style-type:none;">
+ <li>[*]Erstes Element[/*]</li>
+ <li>[*]Zweites Element[/*]</li>
+ </ul>
+ </li>
+ <li>[/enum]</li>
+ </ul>
+ </td>
+ <td><ol>
+ <li>Erstes Element</li>
+ <li>Zweites Element</li>
+ </ol>
+ </td>
+ <td>Geordnete Liste</td>
+ </tr>
+ <tr>
+ <td>Listenelement</td>
+ <td>[*]Listenelement[/*]</td>
+ <td><ul>
+ <li>Listenelement</li>
+ </ul>
+ </td>
+ <td>Listenelement hinzufügen</td>
+ </tr>
+ <tr>
+ <td>Quelltext</td>
+ <td>[code]Quelltext[/code]</td>
+ <td><pre class="code_pre">Quelltext</pre>
+ </td>
+ <td>Codefragment</td>
+ </tr>
+ <tr>
+ <td>Verweis (einfach)</td>
+ <td>[a]Internetadresse[/a]</td>
+ <td><a href="http://Internetadresse">Internetadresse</a></td>
+ <td>Verweis (einfach)</td>
+ </tr>
+ <tr>
+ <td>Verweis (mit Text)</td>
+ <td>[a]Internetadresse|mit Text[/a]</td>
+ <td><a href="http://Internetadresse">mit Text</a></td>
+ <td>Verweis (mit Text)</td>
+ </tr>
+ <tr>
+ <td>Notebook</td>
+ <td>[notebook]ID[/notebook]</td>
+ <td><samp>ID</samp></td>
+ <td>Verweis auf das Notebook mit der Kennung gleich ID (die jeweilige Geräte-Modellkennung wird auf der Seite
+ des Gerätes selbst, unter „Modellbezeichnung“, eingepflegt)</td>
+ </tr>
+ <tr>
+ <td>WLAN</td>
+ <td>[wifi]ID[/wifi]</td>
+ <td><samp>ID</samp></td>
+ <td>Verweis auf das WLAN mit der Kennung gleich ID (die jeweilige Geräte-Modellkennung wird auf der Seite des
+ Gerätes selbst, unter „Modellbezeichnung“, eingepflegt)</td>
+ </tr>
+ <tr>
+ <td>Grafikkarte</td>
+ <td>[videocard]ID/videocard]</td>
+ <td><samp>ID</samp></td>
+ <td>Verweis auf die Grafikkarte mit der Kennung gleich ID (die jeweilige Geräte-Modellkennung wird auf der Seite
+ des Gerätes selbst, unter „Modellbezeichnung“, eingepflegt)</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <p> </p>
+
+ <a name="compatibility"></a><h2>Kompatibilitätsklassen</h2>
+
+ <a name="notebook-compatibility"></a><h3>Notebooks</h3>
+ <dl title="Notebook-Kompatibilität">
+ <dt class="label">Klasse A (Platin)</dt>
+ <dd>Alle Notebook-Geräte arbeiten mit sehr guter Leistung.</dd>
+ <dd class="sample"><strong>Beispiel</strong>: Alle Geräte funktionieren, auch die 3D-Beschleunigung wird
+ unterstützt.</dd>
+ <dt>Klasse B (Gold)</dt>
+ <dd>Alle Notebook-Geräte funktionieren, jedoch nicht mit voller Leistung. </dd>
+ <dd class="sample"><strong>Beispiel</strong>: Alle Geräte funktionieren, aber die 3D-Beschleunigung wird nicht
+ unterstützt.</dd>
+ <dt>Klasse C (Silber)</dt>
+ <dd>Ein wichtiges Gerät wird nicht unterstützt.</dd>
+ <dd class="sample"><strong>Beispiel</strong>: Die interne WLAN-Karte funktioniert nicht. Sie benötigen eine
+ externe USB-Karte.</dd>
+ <dt>Klasse D (Bronze)</dt>
+ <dd>Mehr als ein Gerät wird nicht unterstützt.</dd>
+ <dt>Klasse E (E-Schrott)</dt>
+ <dd>Das Notebook kann von Freie Software nicht unterstützt werden.</dd>
+ </dl>
+
+ <a name="printer-compatibility"></a><h3>Drucker</h3>
+ <dl title="Drucker-Kompatibilität">
+ <dt>Klasse A (Vollständig)</dt>
+ <dd>Alle Gerätefunktionen und -merkmale werden unterstützt.</dd>
+ <dt>Klasse B (Teilweise)</dt>
+ <dd>Drucken wird unterstützt, aber möglicherweise mit eingeschränkter Geschwindigkeit oder Druckqualität;
+ Scannen und/oder Faxen wird (bei einigen Multifunktionsgeräten möglicherweise) nicht unterstützt</dd>
+ <dt>Klasse C (E-Schrott)</dt>
+ <dd>Der Drucker kann von Freie Software nicht unterstützt werden.</dd>
+ </dl>
+
+ <a name="scanner-compatibility"></a><h3>Scanner</h3>
+ <dl title="Scanner-Kompatibilität">
+ <dt>Klasse A (Vollständig)</dt>
+ <dd>Alle Gerätefunktionen und -merkmale werden unterstützt.</dd>
+ <dt>Klasse B (Teilweise)</dt>
+ <dd>Scannen unterstützt, aber möglicherweise bei eingeschränkter Geschwindigkeit oder Qualität, einige andere
+ Funktionen werden nicht unterstützt.</dd>
+ <dt>Klasse C (E-Schrott)</dt>
+ <dd>Der Scanner kann von Freie Software nicht unterstützt werden.</dd>
+ </dl>
+
+ <p> </p>
+
+ <a name="discover-hardware"></a><h2>Entdecken Sie Ihre Hardware</h2>
+ <cite>(Vielen Dank <a href="<?php echo $this->baseUrl;?>/issues/view/en/3/1/token">lluvia</a>)</cite>
+
+ <p>Um mehr Details über Ihre Hardware zu erfahren, beachten Sie bitte folgende Punkte:</p>
+ <dl>
+ <dt>Wie man die Modellbezeichnung des Notebooks herausfindet</dt>
+ <dd>Siehe das Typenschild unterhalb Ihres tragbaren Klapprechners.</dd>
+ <a name="model-name"></a><dt>Wie man den Modellnamen der Geräte herausfindet (wenn kein tragbarer Klapprechner)</dt>
+ <dd class="opt">Wenn das Gerät eingebaut ist (z. B. eine Grafikkarte)</dd>
+ <dd>Öffnen Sie ein Terminal („Eingabeaufforderung“) und geben Sie folgenden Befehl ein:</dd>
+ <dd><pre class="terminal">lspci</pre>
+ </dd>
+ <dd>oder</dd>
+ <dd><pre class="terminal">lspci &gt; DATEINAME # Ausgabe als Datei speichern</pre>
+ </dd>
+ <!--<dd>where "filename" is the name of the file</dd>-->
+ <dd>Es sollten PCI-Geräte ähnlich der folgenden angezeigt werden:</dd>
+ <dd><pre class="terminal">
+00:18.3 Host bridge: <b>Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control</b>
+03:00.0 Network controller: <b>Broadcom Corporation BCM4311 802.11b/g WLAN (rev 02)</b>
+05:00.0 VGA compatible controller: <b>nVidia Corporation G86 [GeForce 8400M GS] (rev a1)</b></pre>
+ </dd>
+ <dd class="note"><b>Hinweis:</b> The name of each device is written after the colon (see the text
+ in bold in the above list).</dd>
+ <dd class="opt">Wenn das Gerät ein USB-Gerät ist (bspw. ein externer WLAN-Stick)</dd>
+ <dd>Öffnen Sie ein Terminal („Eingabeaufforderung“) und geben Sie folgenden Befehl ein:</dd>
+ <dd><pre class="terminal">lsusb -v</pre>
+ </dd>
+ <dd>oder</dd>
+ <dd><pre class="terminal">lsusb -v &gt; DATEINAME # Ausgabe als Datei speichern</pre>
+ </dd>
+ <!-- dd>where "filename" is the name of the file.</dd -->
+ <dd>Es sollten USB-Geräte ähnlich der folgenden angezeigt werden:</dd>
+ <dd><pre class="terminal">
+Bus 001 Device 002: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
+Device Descriptor:
+ bLength 18
+ bDescriptorType 1
+ bcdUSB 2.00
+ bDeviceClass 0 (Defined at Interface level)
+ bDeviceSubClass 0
+ bDeviceProtocol 0
+ bMaxPacketSize0 64
+ idVendor 0x0846 NetGear, Inc.
+ idProduct 0x4260 <b>WG111v3 54 Mbps Wireless [realtek RTL8187B]</b>
+ bcdDevice 2.00
+ iManufacturer 1
+ iProduct 2
+ iSerial 3
+ ...
+ ...
+
+Bus 002 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
+Device Descriptor:
+ bLength 18
+ bDescriptorType 1
+ bcdUSB 1.10
+ bDeviceClass 255 Vendor Specific Class
+ bDeviceSubClass 255 Vendor Specific Subclass
+ bDeviceProtocol 255 Vendor Specific Protocol
+ bMaxPacketSize0 8
+ idVendor 0x08ff AuthenTec, Inc.
+ idProduct 0x2580 <b>AES2501 Fingerprint Sensor</b>
+ bcdDevice 6.23
+ iManufacturer 0
+ iProduct 1 Fingerprint Sensor
+ iSerial 0
+ bNumConfigurations 1
+ ...
+ ...
+ </pre>
+ </dd>
+ <dd class="note"><b>Hinweis:</b> Die Gerätebezeichnung wird in der Zeile „idProduct“ nach dem Doppelpunkt
+ angegeben (siehe Text in Fettdruck).</dd>
+ <!-- <dt>Wie man das Jahr der Vermarktung des Notebooks herausfindet</dt>
+ <dd>Öffnen Sie ein Terminal („Eingabeaufforderung“) und geben Sie folgenden Befehl ein:</dd>
+ <dd><pre class="terminal">sudo dmidecode| grep "Release Date"</pre></dd>
+ <dd class="sample">Es sollte ein Datum ähnlich dem <code>Release Date: 05/28/2011</code> (MM/TT/JJJJ) angezeigt werden.</dd -->
+ <dt>Wie man den verwendeten Betriebssystemkern („Kernel“) herausfindet</dt>
+ <dd>Öffnen Sie ein Terminal („Eingabeaufforderung“) und geben Sie folgenden Befehl ein:</dd>
+ <dd><pre class="terminal">uname -r</pre>
+ </dd>
+ <dt name="video-card">Wie man den Namen der Grafikkarte herausfindet</dt>
+ <dd>Öffnen Sie ein Terminal („Eingabeaufforderung“) und geben Sie folgenden Befehl ein:</dd>
+ <dd><pre class="terminal">sudo lspci</pre>
+ </dd>
+ <dd>Suchen Sie dann nach der Zeile mit der Zeichenfolge <strong><code>VGA</code></strong> oder
+ <strong><code>Display Controller</code></strong>. Alternativ können Sie auch folgenden Befehl versuchen:
+ </dd>
+ <dd><pre class="terminal">lspci | grep "Display controller"</pre>
+ </dd>
+ <dd>oder</dd>
+ <dd><pre class="terminal">lspci | grep "VGA"</pre>
+ </dd>
+ <a name="vendoridproductid"></a><dt>Wie man Anbieter- und Produkt-ID des Geräts herausfindet (VendorID:ProductID)</dt>
+ <dd><cite>(Vielen Dank an <a
+ href="http://trisquel.info/de/forum/h-nodecom-new-website-hardware-database#comment-5839">Michał Masłowski</a>
+ und <a href="http://trisquel.info/de/forum/h-nodecom-new-website-hardware-database#comment-5837">Julius22</a>)
+ </cite></dd>
+ <dd class="opt">Wenn das Gerät eingebaut ist (z. B. eine Grafikkarte)</dd>
+ <dd>Öffnen Sie ein Terminal („Eingabeaufforderung“) und geben Sie folgenden Befehl ein:</dd>
+ <dd><pre class="terminal">sudo lspci -nnk</pre>
+ </dd>
+ <dd>Es sollte eine Hardwareliste ähnlich der folgenden angezeigt werden:</dd>
+ <dd><pre class="terminal">
+03:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [<b>14e4:4311</b>] (rev 02)
+ Kernel driver in use: b43-pci-bridge
+ Kernel modules: ssb
+05:00.0 VGA compatible controller [0300]: nVidia Corporation G86 [GeForce 8400M GS] [<b>10de:0427</b>] (rev a1)
+ Kernel modules: nouveau, nvidiafb</pre>
+ </dd>
+ <dd class="note"><b>Hinweis:</b> Die Zeichenfolgen in <b>fetter Schrift</b> und in den eckigen Klammern […
+ <strong>:</strong> …] sind die Daten, nach denen Sie gesucht haben. Die erste Zeichengruppe (vor dem
+ Doppelpunkt) ist die <b>Anbieter-ID</b>, die zweite Zeichengruppe (nach dem Doppelpunkt) die <b>Produkt-ID</b>.
+ Im obigen Beispiel wären Anbieter- und Produkt-ID-Code der WLAN-Karte (beachten Sie die Zeichenfolgen „Network
+ Controller“ und „WLAN“) <b>14e4:4311</b>, die der Grafikkarte (beachten Sie die Zeichenfolge „VGA“)
+ <b>10DE:0427</b>.</dd>
+ <dd class="opt">Wenn das Gerät ein USB-Gerät ist (bspw. ein externer USB-WLAN-Stick)</dd>
+ <dd>Öffnen Sie ein Terminal („Eingabeaufforderung“) und geben Sie folgenden Befehl ein:</dd>
+ <dd><pre class="terminal">sudo lsusb</pre>
+ </dd>
+ <dd>Es sollte eine Hardwareliste ähnlich der folgenden angezeigt werden:</dd>
+ <dd><pre class="terminal">Bus 001 Device 002: ID <b>0846:4260</b> NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]<br>Bus 001 Device 001: ID <b>1d6b:0002</b> Linux Foundation 2.0 root hub<br>Bus 002 Device 003: ID <b>08ff:2580</b> AuthenTec, Inc. AES2501 Fingerprint Sensor<br></pre>
+ </dd>
+ <dd class="note"><b>Hinweis:</b> Die Zeichenfolgen in <b>fetter Schrift</b> und in den eckigen Klammern […] sind
+ die Daten, nach denen Sie gesucht haben. Die erste Zeichengruppe (vor dem Doppelpunkt) ist die
+ <b>Anbieter-ID</b>, die zweite Zeichengruppe (nach dem Doppelpunkt) die <b>Produkt-ID</b>. Im obigen Beispiel
+ wären Anbieter- und Produkt-ID-Code des externen USB-WLAN-Sticks (beachten Sie die Zeichenfolge „Wireless“)
+ <b>0846:4260</b>.</dd>
+ <dt name="vga">Wie man herausfindet, ob die Grafikkarte (über den VGA-Standard hinaus) funktioniert</dt>
+ <dd>Installieren Sie das Paket <code><a href="http://rss-glx.sourceforge.net/">rss-glx</a></code> mittels
+ Paketverwaltung Ihrer Distribution oder Kompilieren Sie den Quellcode und testen einige Bildschirmschoner (z. B.
+ <b>Skyrocket</b> oder <b>Solarwinds</b>). Überprüfen Sie, ob die Bildschirmschoner angezeigt werden können
+ (und/oder ruckelfrei wiedergegeben werden).
+ </dd>
+ <dt>Wie man herausfindet, ob die 3D-Beschleunigung funktioniert</dt>
+ <dd>Versuchen Sie, „compiz“ zu aktivieren.</dd>
+ <dt>Wie man den Namen Ihrer WLAN-Karte herausfindet</dt>
+ <dd>Öffnen Sie ein Terminal („Eingabeaufforderung“) und geben Sie folgenden Befehl ein:</dd>
+ <dd><pre class="terminal">sudo lspci</pre>
+ </dd>
+ <dd>Suchen Sie dann nach der Zeile mit der Zeichenfolge <b><samp>Wireless</samp></b> oder <b><samp>Network
+ Controller</samp></b>. Alternativ können Sie auch folgenden Befehle versuchen:
+ </dd>
+ <dd><pre class="terminal">lspci | grep "Wireless"</pre></dd>
+ <dd>oder</dd>
+ <dd><pre class="terminal">lspci | grep "Network"</pre>
+ </dd>
+ <dt>Wie man den verwendeten Druckertreiber herausfindet</dt>
+ <dd class="opt">Wenn Sie „cups“ verwenden</dd>
+ <dd>Öffnen Sie ein Terminal („Eingabeaufforderung“) und geben Sie folgenden Befehl ein:</dd>
+ <dd><pre class="terminal">dpkg-query -W -f '${Version}\n' cups</pre>
+ </dd>
+ <dt>How to discover the architecture of your notebook</dt>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd><pre class="terminal">cat /proc/cpuinfo | grep "lm"</pre>
+ </dd>
+ <dd>If you get a message like this:</dd>
+ <dd><pre class="terminal">flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts<br/>acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64<br/>monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm</pre>
+ </dd>
+ <dd>then you machine is x86-64/amd64 capable and you could choose a x86-64/amd64 distro to run on it</dd>
+ </dl>
+
+ <p> </p>
+
+ <a name="fully-free"></a><h2>Freie GNU/Linux-Distributionen</h2>
+
+ <p>Dies sind <a href="http://www.gnu.org/gnu/linux-and-gnu.de.html">GNU/Linux</a>-Distributionen, von denen wir von einer
+ festgelegten Richtlinie wissen, ausschließlich Freie Software zu verwenden und anzubieten. Unfreie Anwendungen,
+ unfreie Programmierplattformen, unfreie Treiber oder unfreie Firmware („BLOBs“) werden, auch wenn versehentlich
+ enthalten, entfernt. Weitere Informationen über <a href="http://www.gnu.org/distros/free-distros.html">Freie
+ GNU/Linux-Distribution</a> finden Sie unter <a
+ href="http://www.gnu.org/distros/free-system-distribution-guidelines.html">Richtlinien für Freie
+ Distributionen</a>.</p>
+
+ <p><strong>Alle Distributionen können auf der Festplatte Ihres Rechners installiert und die meisten Live ausgeführt
+ werden.</strong></p>
+
+ <p>(In alphabetischer Reihenfolge)</p>
+
+ <ul>
+ <li><a href="http://www.blagblagblag.org/">BLAG GNU/Linux</a></li>
+ <li><a href="http://dragora.usla.org.ar/wiki/doku.php">Dragora GNU/Linux</a></li>
+ <li><a href="http://dynebolic.org/">Dynebolic GNU/Linux</a></li>
+ <li><a href="http://www.gnewsense.org/">gNewSense GNU/Linux</a></li>
+ <li><a href="http://www.musix.org.ar/">Musix GNU+Linux</a></li>
+ <li><a href="https://parabolagnulinux.org/">Parabola GNU/Linux</a></li>
+ <li><a href="http://trisquel.info/">Trisquel GNU/Linux</a></li>
+ <li><a href="http://www.ututo.org/www/">Ututo GNU/Linux</a></li>
+ <li><a href="http://venenux.org/">Venenux GNU/Linux</a></li>
+ </ul>
+ </div>
+ \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Help/index_es.php b/h-source/Application/Views/Desktop/Help/index_es.php
new file mode 100644
index 0000000..5ea0b75
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Help/index_es.php
@@ -0,0 +1,442 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010, 2011 Antonio Gallo (h-source-copyright.txt)
+// Copyright (C) 2011 Joerg Kohne
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+<div class="help_external_box">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Inicio</a> &raquo; <?php echo gtext("Help");?>
+ </div>
+
+ <div class="help_tables_of_contents">
+ Tabla de contenidos
+ <ul>
+ <li><a href="<?php echo $this->currPage."/$lang#wiki-syntax";?>">Sintaxis del Wiki</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#compatibility";?>">Clases de Compatibilidad</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#discover-hardware";?>">Descubra su hardware</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#fully-free";?>">Lista de las distribuciones GNU/Linux completamente libres</a></li>
+ </ul>
+ </div>
+
+ <a name="wiki-syntax"></a><h2>Sintaxis del Wiki</h2>
+
+ <h3>Lista de las etiquetas wiki de <?php echo Website::$generalName;?>
+ </h3>
+
+ <table class="wiki">
+ <thead>
+ <tr>
+ <th>nombre</th>
+ <th>etiqueta</th>
+ <th>resultado</th>
+ <th>descripción</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>bold</td>
+ <td>[b]texto[/b]</td>
+ <td><b>texto</b></td>
+ <td>texto en negrita</td>
+ </tr>
+ <tr>
+ <td>italic</td>
+ <td>[i]texto[/i]</td>
+ <td><i>texto</i></td>
+ <td>texto en cursiva</td>
+ </tr>
+ <tr>
+ <td>del</td>
+ <td>[del]texto[/del]</td>
+ <td><del>texto</del></td>
+ <td>texto eliminado</td>
+ </tr>
+ <tr>
+ <td>underline</td>
+ <td>[u]texto[/u]</td>
+ <td><u>texto</u></td>
+ <td>texto subrayado</td>
+ </tr>
+ <tr>
+ <td>head 1</td>
+ <td>[h1]texto[/h1]</td>
+ <td>
+ <div class="div_h1">
+ texto</div>
+ </td>
+ <td>encabezado 1</td>
+ </tr>
+ <tr>
+ <td>head 2</td>
+ <td>[h2]texto[/h2]</td>
+ <td>
+ <div class="div_h2">
+ texto</div>
+ </td>
+ <td>encabezado 2</td>
+ </tr>
+ <tr>
+ <td>head 3</td>
+ <td>[h3]texto[/h3]</td>
+ <td>
+ <div class="div_h3">
+ texto</div>
+ </td>
+ <td>encabezado 3</td>
+ </tr>
+ <tr>
+ <td>paragraph</td>
+ <td>[p]texto[/p]</td>
+ <td><p>texto</p>
+ </td>
+ <td>nuevo párrafo</td>
+ </tr>
+ <tr>
+ <td>list item</td>
+ <td>[*]objeto[/*]</td>
+ <td><ul>
+ <li>objeto</li>
+ </ul>
+ </td>
+ <td>agrega un objeto a la lista</td>
+ </tr>
+ <tr>
+ <td>lista </td>
+ <td><ul style="list-style-type:none;">
+ <li>[list]</li>
+ <li><ul style="list-style-type:none;">
+ <li>[*]first item[/*]</li>
+ <li>[*]second item[/*]</li>
+ </ul>
+ </li>
+ <li>[/list]</li>
+ </ul>
+ </td>
+ <td><ul>
+ <li>first item</li>
+ <li>second item</li>
+ </ul>
+ </td>
+ <td>hace una lista de objetos</td>
+ </tr>
+ <tr>
+ <td>numbered list</td>
+ <td><ul style="list-style-type:none;">
+ <li>[enum]</li>
+ <li><ul style="list-style-type:none;">
+ <li>[*]first item[/*]</li>
+ <li>[*]second item[/*]</li>
+ </ul>
+ </li>
+ <li>[/enum]</li>
+ </ul>
+ </td>
+ <td><ol>
+ <li>first item</li>
+ <li>second item</li>
+ </ol>
+ </td>
+ <td>hace una lista numerada de objetos</td>
+ </tr>
+ <tr>
+ <td>code</td>
+ <td>[code]código[/code]</td>
+ <td><pre class="code_pre">código</pre>
+ </td>
+ <td>agrega código</td>
+ </tr>
+ <!--
+ <tr>
+ <td>simple link</td>
+ <td>[a]url[/a]</td>
+ <td>&lt;a href="url"&gt;url&lt;/a&gt;</td>
+ <td>enlace simple</td>
+ </tr>
+ -->
+ <tr>
+ <td>link with text</td>
+ <td>[a]url|text[/a]</td>
+ <td><a href="url">text</a></td>
+ <td>enlace con texto</td>
+ </tr>
+ <tr>
+ <td>notebook</td>
+ <td>[notebook]1234:5678[/notebook]</td>
+ <td>1234:5678</td>
+ <td>enlace al computador portátil con el identificador id (el identificador de cada modelo de dispositivo esta escrito en la
+ página del dispositivo mismo, seguido del nombre del modelo)</td>
+ </tr>
+ <tr>
+ <td>wifi</td>
+ <td>[wifi]1234:5678[/wifi]</td>
+ <td>1234:5678</td>
+ <td>enlace al wifi con el identificador id (el identificador de cada modelo de dispositivo esta escrito en la
+ página del dispositivo mismo, seguido del nombre del modelo)</td>
+ </tr>
+ <tr>
+ <td>videocard</td>
+ <td>[videocard]1234:5678/videocard]</td>
+ <td>1234:5678</td>
+ <td>enlace a la tarjeta de video con el identificador id (el identificador de cada modelo de dispositivo esta
+ escrito en la página del dispositivo mismo, seguido del nombre del modelo)</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <p></p>
+
+ <a name="compatibility"></a><h2>Clases de Compatibilidad</h2>
+
+ <a name="notebook-compatibility"></a><h3>Computadores portátiles</h3>
+ <dl>
+ <dt>Clase A (Platino)</dt>
+ <dd>Todos los dispositivos funcionan con un buen desempeño. </dd>
+ <dd class="example">Ejemplo: todos los dispositivos funcionan, la aceleración 3D esta soportada</dd>
+ <dt>Clase B (Oro)</dt>
+ <dd>Todos los dispositivos funcionan pero no a su rendimiento completo. </dd>
+ <dd class="example">Un ejemplo típico es: todos los dispositivos funcionan, pero la aceleración 3D no esta
+ soportada</dd>
+ <dt>Clase C (Plata)</dt>
+ <dd>Un dispositivo principal no esta soportado. </dd>
+ <dd class="example">Ejemplo: la tarjeta inalámbrica interna no funciona. Necesita una tarjeta USB externa</dd>
+ <dt>Clase D (Bronce)</dt>
+ <dd>Más de un dispositivo no esta soportado</dd>
+ <dt>Clase E (Basura)</dt>
+ <dd>El equipo no funciona con software libre</dd>
+ </dl>
+
+ <a name="printer-compatibility"></a><h3>Impresoras</h3>
+ <dl>
+ <dt>Clase A (Completo)</dt>
+ <dd>Todos los dispositivos funcionan y las características soportadas</dd>
+ <dt>Clase B (Parcial)</dt>
+ <dd>La impresión esta soportada pero a velocidad o calidad limitada; escaneo y/o envío por fax en algunos
+ dispositivos multifuncionales pueden no estar soportados</dd>
+ <dt>Clase C (Ninguno)</dt>
+ <dd>La impresora no funciona con software libre</dd>
+ </dl>
+
+ <a name="scanner-compatibility"></a><h3>Escáners</h3>
+ <dl>
+ <dt>Clase A (Completo)</dt>
+ <dd>Todos los dispositivos funcionan y las características soportadas</dd>
+ <dt>Clase B (Parcial)</dt>
+ <dd>El escanéo es soportado pero a velocidad o calidad limitada; otras características pueden no estar soportadas</dd>
+ <dt>Clase C (Ninguno)</dt>
+ <dd>El escaner no funciona con software libre</dd>
+ </dl>
+
+ <p> </p>
+
+ <a name="discover-hardware"></a><h2>Descubra su hardware</h2>
+ <cite>(Gracias <a href="<?php echo $this->baseUrl;?>/issues/view/en/3/1/token">lluvia</a>)</cite>
+
+ <p>En orden de conocer los detalles de su hardware puede seguir las siguientes acciones:</p>
+ <dl>
+ <dt>Como descubrir el modelo de su computador portátil</dt>
+ <dd>Vea debajo de su computador portátil o subportátil</dd>
+ <a name="model-name"></a><dt>Como descubrir el nombre del modelo de su dispositivo (si no es un computador portátil)</dt>
+ <dd class="opt">Si el dispositivo es integrado (ejemplo: una tarjeta de video)</dd>
+ <dd>Abra una terminal y escriba la siguiente orden:</dd>
+ <dd><pre class="terminal">lspci</pre>
+ </dd>
+ <dd>o</dd>
+ <dd><pre class="terminal">lspci &gt; FILENAME # output to a file</pre>
+ </dd>
+ <!-- dd>where "filename" is the name of the file</dd -->
+ <dd>Obtendrá la lista de sus dispositivos PCI, similar a la mostrada debajo</dd>
+ <dd><pre class="terminal">
+00:18.3 Host bridge: <b>Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control</b>
+03:00.0 Network controller: <b>Broadcom Corporation BCM4311 802.11b/g WLAN (rev 02)</b>
+05:00.0 VGA compatible controller: <b>nVidia Corporation G86 [GeForce 8400M GS] (rev a1)</b>
+ </pre>
+ </dd>
+ <dd>El nombre de cada dispositivo esta escrito después de los dos puntos (vea el texto en negrita en la lista superior)</dd>
+ <dd class="opt">Si el dispositivo es un dispositivo USB (ejemplo: una tarjeta externa USB de red inalámbrica)</dd>
+ <dd>Abra una terminal y escriba la siguiente orden:</dd>
+ <dd><pre class="terminal">lsusb -v</pre>
+ </dd>
+ <dd>o</dd>
+ <dd><pre class="terminal">lsusb -v &gt; filename # write the output to a file</pre>
+ </dd>
+ <!-- dd>where "filename" is the name of the file</dd -->
+ <dd>Obtendrá la lista de sus dispositivos USB, similar a la mostrada debajo</dd>
+ <dd><pre class="terminal">
+Bus 001 Device 002: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
+Device Descriptor:
+ bLength 18
+ bDescriptorType 1
+ bcdUSB 2.00
+ bDeviceClass 0 (Defined at Interface level)
+ bDeviceSubClass 0
+ bDeviceProtocol 0
+ bMaxPacketSize0 64
+ idVendor 0x0846 NetGear, Inc.
+ idProduct 0x4260 <b>WG111v3 54 Mbps Wireless [realtek RTL8187B]</b>
+ bcdDevice 2.00
+ iManufacturer 1
+ iProduct 2
+ iSerial 3
+ ...
+ ...
+
+Bus 002 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
+Device Descriptor:
+ bLength 18
+ bDescriptorType 1
+ bcdUSB 1.10
+ bDeviceClass 255 Vendor Specific Class
+ bDeviceSubClass 255 Vendor Specific Subclass
+ bDeviceProtocol 255 Vendor Specific Protocol
+ bMaxPacketSize0 8
+ idVendor 0x08ff AuthenTec, Inc.
+ idProduct 0x2580 <b>AES2501 Fingerprint Sensor</b>
+ bcdDevice 6.23
+ iManufacturer 0
+ iProduct 1 Fingerprint Sensor
+ iSerial 0
+ bNumConfigurations 1
+ ...
+ ...
+ </pre>
+ </dd>
+ <dd>El nombre de cada disposiitivo es escrito en la fila comenzando con "idProduct" (vea el texto en negritas en la lista superior)</dd>
+ <dt>Como descubrir el año de comercialización de su computador portátil</dt>
+ <dd>Abra una terminal y escriba la siguiente orden:</dd>
+ <dd><pre class="terminal">sudo dmidecode| grep "Release Date"</pre>
+ </dd>
+ <dt>Como descubrir la versión de kernel que esta usando</dt>
+ <dd>Abra una terminal y escriba la siguiente orden:</dd>
+ <dd><pre class="terminal">uname -r</pre>
+ </dd>
+ <dt>Como descubrir el nombre de su tarjeta de video</dt>
+ <dd>Abra una terminal y escriba la siguiente orden:</dd>
+ <dd><pre class="terminal">sudo lspci</pre>
+ </dd>
+ <dd>Después busque por la linea que contenga la cadena VGA o Display controller. También puede usar uno de las
+ siguientes ordenes:</dd>
+ <dd><pre class="terminal">lspci | grep "Display controller"</pre>
+ </dd>
+ <dd>o</dd>
+ <dd><pre class="terminal">lspci | grep "VGA"</pre>
+ </dd>
+ <a name="vendoridproductid"></a><dt>Como descubrir el ID del vendedor y el ID del producto de su dispositivo (código
+ VendorID:ProductID)</dt>
+ <dd><cite>(Gracias <a
+ href="http://trisquel.info/es/forum/h-nodecom-new-website-hardware-database#comment-5839">Michał Masłowski</a>
+ y <a
+ href="http://trisquel.info/es/forum/h-nodecom-new-website-hardware-database#comment-5837">Julius22</a>)</cite>
+ </dd>
+ <dd class="opt">Si el dispositivo es integrado (ejemplo: una tarjeta de video)</dd>
+ <dd>Abra una terminal y escriba la siguiente orden:</dd>
+ <dd><pre class="terminal">sudo lspci -nnk</pre>
+ </dd>
+ <dd>Debe de obtener una lista de hardware similar a la escriba debajo</dd>
+ <dd><pre class="terminal">
+03:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [<b>14e4:4311</b>] (rev 02)
+ Kernel driver in use: b43-pci-bridge
+ Kernel modules: ssb
+05:00.0 VGA compatible controller [0300]: nVidia Corporation G86 [GeForce 8400M GS] [<b>10de:0427</b>] (rev a1)
+ Kernel modules: nouveau, nvidiafb</pre>
+ </dd>
+ <dd>Las cadenas en <b>negritas</b> y colocadas en los corchetes (en la lista superior) son los códigos que esta
+ buscando. El primer grupo de dígitos (antes de los dos puntos) son el <b>VendorID</b>, el segundo grupo de
+ dígitos son el <b>ProductID</b>. En el ejemplo superior: el código VendorID:ProductID de la tarjeta
+ inalámbrica (note las cadenas "Network controller" y "WLAN") es <b>14e4:4311</b> mientras el código
+ VendorID:ProductID de la tarjeta de video (note la cadena "VGA") es <b>10de:0427</b></dd>
+ <dd class="opt">Si el dispositivo es un dispositivo USB (ejemplo: una tarjeta USB externa)</dd>
+ <dd>Abra una terminal y escriba la siguiente orden:</dd>
+ <dd><pre class="terminal">sudo lsusb</pre>
+ </dd>
+ <dd>Debe de obtener una lista de hardware similar a la descrita a continuación</dd>
+ <dd><pre class="terminal">
+Bus 001 Device 002: ID <b>0846:4260</b> NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
+Bus 001 Device 001: ID <b>1d6b:0002</b> Linux Foundation 2.0 root hub
+Bus 002 Device 003: ID <b>08ff:2580</b> AuthenTec, Inc. AES2501 Fingerprint Sensor</pre>
+ </dd>
+ <dd>Las cadenas en <b>negritas</b> (en la lista superior) son el código que busca. El primer grupo de dígitos
+ (antes de los dos puntos) son el <b>VendorID</b>, el segundo grupo de dígitos son el <b>ProductID</b>. En el
+ ejemplo superior: el código VendorID:ProductID de la tarjeta inalámbrica USB externa (note la cadena
+ "Wireless") es <b>0846:4260</b></dd>
+ <dt>Como descubrir si la tarjeta de video funciona</dt>
+ <dd>Instale <code><a href="http://rss-glx.sourceforge.net/">rss-glx</a></code> por lo medios del administrador
+ de paquetes de su distribución o por medio de compilar el código fuente y pruebe algunos protectores de
+ pantalla (por ejemplo <b>Skyrocket</b> o <b>Solarwinds</b>). Revise si puede ejecutar el protector de pantalla
+ (y/o si puede mostrarlo suavemente)
+ </dd>
+ <dt>Como descubrir si la aceleración 3D funciona</dt>
+ <dd>Intente activar compiz</dd>
+ <dt>Como descubrir el nombre de su tarjeta de inalámbrica</dt>
+ <dd>Abra una terminal y escriba la siguiente orden:</dd>
+ <dd><pre class="terminal">sudo lspci</pre>
+ </dd>
+ <dd>Después busque por la linea que contenga la cadena <samp><b>Wireless</b></samp> o <samp><b>Network
+ controller</b></samp>. También puede intentar una de las siguientes ordenes</dd>
+ <dd><pre class="terminal">lspci | grep "Wireless"</pre>
+ </dd>
+ <dd>o</dd>
+ <dd><pre class="terminal">lspci | grep "Network"</pre>
+ </dd>
+ <dt>Como descubrir el driver de la impresora que esta usando</dt>
+ <dd class="opt">Si usa cups</dd>
+ <dd>Abra una terminal y escriba la orden siguiente:</dd>
+ <dd><pre class="terminal">dpkg-query -W -f '${Version}\n' cups</pre>
+ </dd>
+ <dt>Como descubrir la arquitectura de su computador portátil</dt>
+ <dd>Abra una terminal y escriba la orden siguiente:</dd>
+ <dd><pre class="terminal">cat /proc/cpuinfo | grep "lm"</pre>
+ </dd>
+ <dd>Si obtiene un mensaje como este:</dd>
+ <dd><pre class="terminal">flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts<br/>acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64<br/>monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm</pre>
+ </dd>
+ <dd>entonces su equipo es compatible con x86-64/amd64 y podría elegir una distro x86-64/amd64 para correr en él.</dd>
+ </dl>
+
+ <p> </p>
+
+ <a name="fully-free"></a><h2>Lista de las distribuciones GNU/Linux completamente libres</h2>
+
+ <p>A continuación se enlistan las distribuciones <a href="http://www.gnu.org/gnu/linux-and-gnu.es.html">GNU/Linux</a> que sabemos tiene un
+ compromiso firme en su política para solo incluir y solo proponer software libre. Estas rechazan aplicaciones no libres, plataformas de
+ programación no libres, controladores no libres, o “blobs” de firmware no libre. Si por error llegan a incluirlo, lo eliminarán. Para
+ aprender más acerca de que hace una <a href="http://www.gnu.org/distros/free-distros.es.html">distribución GNU/Linux libre</a>,
+ vea las <a href="http://www.gnu.org/distros/free-system-distribution-guidelines.es.html">pautas para distribuciones de sistemas
+ libres</a> de GNU.</p>
+
+ <p><strong>Todas las distribuciones que aparecen a continuación se pueden instalar en el disco duro y muchas funcionan
+ sin instalación.</strong></p>
+
+ <p>(En orden alfabético)</p>
+
+ <ul>
+ <li><a href="http://www.blagblagblag.org/">BLAG GNU/Linux</a></li>
+ <li><a href="http://dragora.usla.org.ar/wiki/doku.php">Dragora GNU/Linux</a></li>
+ <li><a href="http://dynebolic.org/">Dynebolic GNU/Linux</a></li>
+ <li><a href="http://www.gnewsense.org/">gNewSense GNU/Linux</a></li>
+ <li><a href="http://www.musix.org.ar/">Musix GNU+Linux</a></li>
+ <li><a href="https://parabolagnulinux.org/">Parabola GNU/Linux</a></li>
+ <li><a href="http://trisquel.info/">Trisquel GNU/Linux</a></li>
+ <li><a href="http://www.ututo.org/www/">Ututo GNU/Linux</a></li>
+ <li><a href="http://venenux.org/">Venenux GNU/Linux</a></li>
+ </ul>
+ </div>
+
diff --git a/h-source/Application/Views/Desktop/Help/index_fr.php b/h-source/Application/Views/Desktop/Help/index_fr.php
new file mode 100644
index 0000000..a09f445
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Help/index_fr.php
@@ -0,0 +1,434 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010, 2011 Antonio Gallo (h-source-copyright.txt)
+// Copyright (C) 2011 Joerg Kohne
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+<div class="help_external_box">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext("Help");?>
+ </div>
+
+ <div class="help_tables_of_contents">
+ Sommaire
+ <ul>
+ <li><a href="<?php echo $this->currPage."/$lang#wiki-syntax";?>">Syntaxe Wiki</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#compatibility";?>">Niveau de compatibilitée</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#discover-hardware";?>">Découvrez votre matériel</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#fully-free";?>">Liste de distribution GNU/Linux entièrement libre</a></li>
+ </ul>
+ </div>
+
+ <a name="wiki-syntax"></a><h2>Syntaxe Wiki</h2>
+
+ <h3>Liste des tags Wiki sur <?php echo Website::$generalName;?>
+ </h3>
+
+ <table class="help_wiki_table" width="100%" border="1">
+ <thead>
+ <tr>
+ <th>name</th>
+ <th>tag</th>
+ <th>result</th>
+ <th width="40%">description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>bold</td>
+ <td>[b]text[/b]</td>
+ <td><b>text</b></td>
+ <td>text bold</td>
+ </tr>
+ <tr>
+ <td>italic</td>
+ <td>[i]text[/i]</td>
+ <td><i>text</i></td>
+ <td>text italic</td>
+ </tr>
+ <tr>
+ <td>del</td>
+ <td>[del]text[/del]</td>
+ <td><del>text</del></td>
+ <td>text deleted</td>
+ </tr>
+ <tr>
+ <td>underline</td>
+ <td>[u]text[/u]</td>
+ <td><u>text</u></td>
+ <td>text underlined</td>
+ </tr>
+ <tr>
+ <td>head 1</td>
+ <td>[h1]text[/h1]</td>
+ <td>
+ <div class="div_h1">
+ text</div>
+ </td>
+ <td>head 1</td>
+ </tr>
+ <tr>
+ <td>head 2</td>
+ <td>[h2]text[/h2]</td>
+ <td>
+ <div class="div_h2">
+ text</div>
+ </td>
+ <td>head 2</td>
+ </tr>
+ <tr>
+ <td>head 3</td>
+ <td>[h3]text[/h3]</td>
+ <td>
+ <div class="div_h3">
+ text</div>
+ </td>
+ <td>head 3</td>
+ </tr>
+ <tr>
+ <td>paragraph</td>
+ <td>[p]text[/p]</td>
+ <td><p>text</p>
+ </td>
+ <td>new paragraph</td>
+ </tr>
+ <tr>
+ <td>list item</td>
+ <td>[*]item[/*]</td>
+ <td><ul>
+ <li>item</li>
+ </ul>
+ </td>
+ <td>ad an item to a list</td>
+ </tr>
+ <tr>
+ <td>List </td>
+ <td><ul style="list-style-type:none;">
+ <li>[list]</li>
+ <li><ul style="list-style-type:none;">
+ <li>[*]first item[/*]</li>
+ <li>[*]second item[/*]</li>
+ </ul>
+ </li>
+ <li>[/list]</li>
+ </ul>
+ </td>
+ <td><ul>
+ <li>first item</li>
+ <li>second item</li>
+ </ul>
+ </td>
+ <td>make a list of items</td>
+ </tr>
+ <tr>
+ <td>Numbered list </td>
+ <td><ul style="list-style-type:none;">
+ <li>[enum]</li>
+ <li><ul style="list-style-type:none;">
+ <li>[*]first item[/*]</li>
+ <li>[*]second item[/*]</li>
+ </ul>
+ </li>
+ <li>[/enum]</li>
+ </ul>
+ </td>
+ <td><ol>
+ <li>first item</li>
+ <li>second item</li>
+ </ol>
+ </td>
+ <td>make a numbered list of items</td>
+ </tr>
+ <tr>
+ <td>code</td>
+ <td>[code]some code[/code]</td>
+ <td><pre class="code_pre">some code</pre>
+ </td>
+ <td>ad some code</td>
+ </tr>
+ <tr>
+ <td>simple link</td>
+ <td>[a]url[/a]</td>
+ <td><a href="url">url</a></td>
+ <td>simple link</td>
+ </tr>
+ <tr>
+ <td>link with text</td>
+ <td>[a]url|text[/a]</td>
+ <td><a href="url">text</a></td>
+ <td>link with text</td>
+ </tr>
+ <tr>
+ <td>notebook</td>
+ <td>[notebook]id[/notebook]</td>
+ <td> </td>
+ <td>link to the notebook with the identifier equal to id (the identifier of each device model is written in the
+ page of the device itself, next to the model name)</td>
+ </tr>
+ <tr>
+ <td>wifi</td>
+ <td>[wifi]id[/wifi]</td>
+ <td> </td>
+ <td>link to the wifi with the identifier equal to id (the identifier of each device model is written in the page
+ of the device itself, next to the model name)</td>
+ </tr>
+ <tr>
+ <td>videocard</td>
+ <td>[videocard]id[/videocard]</td>
+ <td> </td>
+ <td>link to the videocard with the identifier equal to id (the identifier of each device model is written in the
+ page of the device itself, next to the model name)</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <p> </p>
+
+ <a name="compatibility"></a><h2>Niveau de compatibilitée</h2>
+
+ <a name="notebook-compatibility"></a><h3>Notebooks</h3>
+ <dl>
+ <dt>Classe A (Platinium)</dt>
+ <dd>Tout le matériel du notebook fonctionne avec du logiciel libre. </dd>
+ <dd class="example">Exemple : la 3D fonctionne, le son et la wifi également</dd>
+ <dt>Classe B (Or)</dt>
+ <dd>Tout le matériel du notebook fonctionne, mais avec des performances réduites. </dd>
+ <dd class="example">Exemple : la carte graphique est reconnues mais la 3D ne fonctionne pas</dd>
+ <dt>Classe C (Argent)</dt>
+ <dd>Un matériel principal ne fonctionne pas. </dd>
+ <dd class="example">Exemple : La carte wifi ne fonctionne pas</dd>
+ <dt>Classe D (Bronze)</dt>
+ <dd>Plus d'un matériel ne fonctionne pas avec du logiciel libre</dd>
+ <dt>Classe E (Poubelle)</dt>
+ <dd>Aucun matériel ne fonctionne avec du logiciel libre</dd>
+ </dl>
+
+ <a name="printer-compatibility"></a><h3>Imprimantes</h3>
+ <dl>
+ <dt>Classe A (Complet)</dt>
+ <dd>Toutes les fonctionnalitées de l'imprimante fonctionne avec du logiciel libre</dd>
+ <dt>Classe B (Partielle)</dt>
+ <dd>La fonction d'impression fonctionne, mais à une vitesse ou qualitée limitée. </dd>
+ <dd class="example">Exemple : Le scan ou le fax sur certains appareils peut ne pas être supportés</dd>
+ <dt>Classe C (Aucun)</dt>
+ <dd>L'imprimante ne fonctionne pas avec du logiciel libre</dd>
+ </dl>
+
+ <a name="scanner-compatibility"></a><h3>Scanners</h3>
+ <dl>
+ <dt>Classe A (Complet)</dt>
+ <dd>Toutes les fonctionnalitées du scanner sont supportées</dd>
+ <dt>Classe B (Partielle)</dt>
+ <dd>Le scanner fonctionne mais à une vitesse ou qualitée limitée, d'autres fonctionnalitées peuvent ne pas
+ fonctionner</dd>
+ <dt>Classe C (Aucun)</dt>
+ <dd>Le scanner ne fonctionne pas avec du logiciel libre</dd>
+ </dl>
+
+ <a name="discover-hardware"></a><h2>Découvrez votre matériel</h2>
+ <cite>(Merci <a href="<?php echo $this->baseUrl;?>/issues/view/en/3/1/token">lluvia</a>) </cite>
+
+ <p>Pour connaitre votre matériel en détails, vous pouviez faire les choses suivantes:</p>
+ <dl>
+ <dt>Comment découvrir le modèle de votre notebook</dt>
+ <dd>See below your notebook or netbook</dd>
+ <a name="model-name"></a><dt>How to discover the model name of your device (if it is not a notebook)</dt>
+ <dd class="opt">If the device is integrated (example: a video card)</dd>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd><pre class="terminal">lspci</pre>
+ </dd>
+ <dd>or</dd>
+ <dd><pre class="terminal">lspci &gt; FILENAME # output to a file</pre>
+ </dd>
+ <!-- dd>where "filename" is the name of the file</dd -->
+ <dd>You will obtain the list of your PCI devices, similar to the one written below</dd>
+ <dd><pre class="terminal">
+00:18.3 Host bridge: <b>Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control</b>
+03:00.0 Network controller: <b>Broadcom Corporation BCM4311 802.11b/g WLAN (rev 02)</b>
+05:00.0 VGA compatible controller: <b>nVidia Corporation G86 [GeForce 8400M GS] (rev a1)</b>
+ </pre>
+ </dd>
+ <dd>The name of each device is written after the colon (see the text in bold in the above
+ list)</dd>
+ <dd class="opt">If the device is an USB device (example: an external USB wifi card)</dd>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd><pre class="terminal">lsusb -v</pre>
+ </dd>
+ <dd>or</dd>
+ <dd><pre class="terminal">lsusb -v &gt; FILENAME # output to a file</pre>
+ </dd>
+ <!-- dd>where "filename" is the name of the file</dd -->
+ <dd>You will obtain the list of your USB devices, similar to the one written below</dd>
+ <dd><pre class="terminal">
+Bus 001 Device 002: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
+Device Descriptor:
+ bLength 18
+ bDescriptorType 1
+ bcdUSB 2.00
+ bDeviceClass 0 (Defined at Interface level)
+ bDeviceSubClass 0
+ bDeviceProtocol 0
+ bMaxPacketSize0 64
+ idVendor 0x0846 NetGear, Inc.
+ idProduct 0x4260 <b>WG111v3 54 Mbps Wireless [realtek RTL8187B]</b>
+ bcdDevice 2.00
+ iManufacturer 1
+ iProduct 2
+ iSerial 3
+ ...
+ ...
+
+Bus 002 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
+Device Descriptor:
+ bLength 18
+ bDescriptorType 1
+ bcdUSB 1.10
+ bDeviceClass 255 Vendor Specific Class
+ bDeviceSubClass 255 Vendor Specific Subclass
+ bDeviceProtocol 255 Vendor Specific Protocol
+ bMaxPacketSize0 8
+ idVendor 0x08ff AuthenTec, Inc.
+ idProduct 0x2580 <b>AES2501 Fingerprint Sensor</b>
+ bcdDevice 6.23
+ iManufacturer 0
+ iProduct 1 Fingerprint Sensor
+ iSerial 0
+ bNumConfigurations 1
+ ...
+ ...
+ </pre>
+ </dd>
+ <dd>The name of each device is written at the row starting with "idProduct" (see the text in bold in the above
+ list)</dd>
+ <dt>Trouver la version du noyau linux libre que vous utilisez</dt>
+ <dd>Ouvrez un terminal et tapez la commande suivant:</dd>
+ <dd><pre class="terminal">uname -r</pre>
+ </dd>
+ <dt>Comment trouver le modèle de votre carte graphique</dt>
+ <dd>Ouvrez un terminal et taper la commande suivante:</dd>
+ <dd><pre class="terminal">sudo lspci</pre>
+ </dd>
+ <dd>Chercher la ligne qui contient le mot <b>VGA</b> ou <b>Display Controller</b>. Vous pouvez aussi essayer l'une
+ des commandes suivantes:</dd>
+ <dd><pre class="terminal">lspci | grep "Display controller"</pre>
+ </dd>
+ <dd>ou</dd>
+ <dd><pre class="terminal">lspci | grep "VGA"</pre>
+ </dd>
+ <a name="vendoridproductid"></a><dt>Comment connaitre le VendorID ou le ProductID (VendorID:ProductID code)</dt>
+ <dd><cite>(Merci à <a
+ href="http://trisquel.info/en/forum/h-nodecom-new-website-hardware-database#comment-5839">Michał Masłowski</a>
+ et <a
+ href="http://trisquel.info/en/forum/h-nodecom-new-website-hardware-database#comment-5837">Julius22</a>)</cite>
+ </dd>
+ <dd class="opt">Si le matériel est intégré (example : une puce vidéo)</dd>
+ <dd>Ouvrez un terminal sudo et taper la commande suivante:</dd>
+ <dd><pre class="terminal">sudo lspci -nnk</pre>
+ </dd>
+ <dd>Vous devriez obtenir une liste de matériel similaire à celle-ci</dd>
+ <dd><pre class="terminal">
+03:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [<b>14e4:4311</b>] (rev 02)
+ Kernel driver in use: b43-pci-bridge
+ Kernel modules: ssb
+05:00.0 VGA compatible controller [0300]: nVidia Corporation G86 [GeForce 8400M GS] [<b>10de:0427</b>] (rev a1)
+ Kernel modules: nouveau, nvidiafb</pre>
+ </dd>
+ <dd class="note"><span class="note">Note :</span>Les lignes en <b>gras</b> et placée entre crochet (dans la liste
+ ci-dessus) sont les lignes que vous recherchez. Le premier packet de numéros (avant la virgule) sont le
+ <b>VendorID</b>, le second sont le <b>ProductID</b>. Dans l’exemple ci dessus, le code VendorID:ProductID de la
+ carte wifi ( vous pouvez la remarquez grace aux mots "Network Controller" et "WLAN" ) est <b>14e4:4311</b></dd>
+ <dd class="opt">Si le périphérique est un périphérique USB : (exemple : une clé usb wifi)</dd>
+ <dd>Ouvrez un terminal et tapez:</dd>
+ <dd><pre class="terminal">sudo lsusb</pre>
+ </dd>
+ <dd>Vous devriez obtenir une liste de matériel similaire à celle ci</dd>
+ <dd><pre class="terminal">
+Bus 001 Device 002: ID <b>0846:4260</b> NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
+Bus 001 Device 001: ID <b>1d6b:0002</b> Linux Foundation 2.0 root hub
+Bus 002 Device 003: ID <b>08ff:2580</b> AuthenTec, Inc. AES2501 Fingerprint Sensor</pre>
+ </dd>
+ <dd class="note"><span class="note">Note :</span> Les lignes en <b>gras</b> (dans la liste du dessus) sont les
+ lignes que vous recherchez. Les premiers nombres (avant les deux points) sont le <b>VendorID</b>, les autres sont
+ le <b>ProductID</b>. Dans l'exemple ci-dessus : le code VendorID:ProductID de la carte usb wifi externe
+ (Remarquez la ligne Wireless) est <b>0846:4260</b></dd>
+ <dt>Comment savoir si votre carte graphique fonctionne</dt>
+ <dd>Installer <code><a href="http://rss-glx.sourceforge.net/">rss-glx</a></code> en utilisant le gestionnaire de
+ paquet de votre distribution ou en le compilant depuis les sources et essayez certains écran de veille (par
+ exemple <b>Skyrocket</b> ou <b>Solarwinds</b>). Essayer de faire fonctionner le fond d'écran, et/ou le faire
+ fonctionner fluidement.</dd>
+ <dt>Comment savoir si l'accélération 3D fonctionne</dt>
+ <dd>Essayer d’activer compiz</dd>
+ <dt>Comment decouvrir le nom de votre carte wifi</dt>
+ <dd>Ouvrez un terminal et taper la commande suivante:</dd>
+ <dd><pre class="terminal">sudo lspci</pre>
+ </dd>
+ <dd>Regardez ensuite les lignes <samp><b>Wireless</b></samp> ou <samp><b>Network controller</b></samp>. Vous pouvez
+ aussi essayer l'une de ses commandes:</dd>
+ <dd><pre class="terminal">lspci | grep "Wireless"</pre>
+ </dd>
+ <dd>ou</dd>
+ <dd><pre class="terminal">lspci | grep "Network"</pre>
+ </dd>
+ <dt>Comment connaitre le pilote d’imprimante que vous utilisez</dt>
+ <dd class="opt">Si vous utilisez cups</dd>
+ <dd>Ouvrez un terminal et taper ceci:</dd>
+ <dd><pre class="terminal">dpkg-query -W -f '${Version}\n' cups</pre>
+ </dd>
+ <dt>How to discover the architecture of your notebook</dt>
+ <dd>Open a terminal and type the following command:</dd>
+ <dd><pre class="terminal">cat /proc/cpuinfo | grep "lm"</pre>
+ </dd>
+ <dd>If you get a message like this:</dd>
+ <dd><pre class="terminal">flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts<br/>acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64<br/>monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm</pre>
+ </dd>
+ <dd>then you machine is x86-64/amd64 capable and you could choose a x86-64/amd64 distro to run on it</dd>
+ </dl>
+
+ <p> </p>
+
+ <a name="fully-free"></a><h2>Liste de dristributions GNU/Linux entièrement libre</h2>
+
+ <p>Following are the <a href="/gnu/linux-and-gnu.html">GNU/Linux</a> distributions we know of which have a firm policy
+ commitment to only include and only propose free software. They reject non-free applications, non-free programming
+ platforms, non-free drivers, or non-free firmware “blobs”. If by mistake they do include any, they remove it. To
+ learn more about what makes for a <a href="http://www.gnu.org/distros/free-distros.html">free GNU/Linux
+ distribution</a>, see GNU <a href="http://www.gnu.org/distros/free-system-distribution-guidelines.html">Guidelines for
+ Free System Distributions</a>.</p>
+
+ <p>Toutes les distributions qui suivent sont installables sur un disque dur d'ordinateur et la plupart peuvent être
+ exécutées à partir d'un CD.</p>
+
+ <p>(Dans l'ordre alphabétique)</p>
+
+ <ul>
+ <li><a href="http://www.blagblagblag.org/">BLAG GNU/Linux</a></li>
+ <li><a href="http://dragora.usla.org.ar/wiki/doku.php">Dragora GNU/Linux</a></li>
+ <li><a href="http://dynebolic.org/">Dynebolic GNU/Linux</a></li>
+ <li><a href="http://www.gnewsense.org/">gNewSense GNU/Linux</a></li>
+ <li><a href="http://www.musix.org.ar/">Musix GNU+Linux</a></li>
+ <li><a href="https://parabolagnulinux.org/">Parabola GNU/Linux</a></li>
+ <li><a href="http://trisquel.info/">Trisquel GNU/Linux</a></li>
+ <li><a href="http://www.ututo.org/www/">Ututo GNU/Linux</a></li>
+ <li><a href="http://venenux.org/">Venenux GNU/Linux</a></li>
+ </ul>
+
+ </div>
+ \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Help/index_it.php b/h-source/Application/Views/Desktop/Help/index_it.php
new file mode 100644
index 0000000..eaadcbf
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Help/index_it.php
@@ -0,0 +1,438 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010, 2011 Antonio Gallo (h-source-copyright.txt)
+// Copyright (C) 2011 Joerg Kohne
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+<div class="help_external_box">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext("Help");?>
+ </div>
+
+ <div class="help_tables_of_contents">
+ Table of contents
+ <ul>
+ <li><a href="<?php echo $this->currPage."/$lang#wiki-syntax";?>">Sintassi della Wiki</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#compatibility";?>">Classi di compatibilità</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#discover-hardware";?>">Scopri il tuo hardware</a></li>
+ <li><a href="<?php echo $this->currPage."/$lang#fully-free";?>">Lista delle distribuzioni Gnu/Linux completamente libere</a></li>
+ </ul>
+ </div>
+
+ <a name="wiki-syntax"></a><h2>Sintassi della Wiki</h2>
+
+ <h3 name="wiki-tag">Lista dei tag della wiki di <?php echo Website::$generalName;?>
+ </h3>
+
+ <table class="help_wiki_table" width="100%" border="1">
+ <thead>
+ <tr>
+ <th>nome</th>
+ <th>tag</th>
+ <th>risultato</th>
+ <th width="40%">descrizione</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>grassetto</td>
+ <td>[b]text[/b]</td>
+ <td><b>text</b></td>
+ <td>testo in grassetto</td>
+ </tr>
+ <tr>
+ <td>corsivo</td>
+ <td>[i]text[/i]</td>
+ <td><i>text</i></td>
+ <td>testo corsivo</td>
+ </tr>
+ <tr>
+ <td>cancellare</td>
+ <td>[del]text[/del]</td>
+ <td><del>text</del></td>
+ <td>testo cancellato</td>
+ </tr>
+ <tr>
+ <td>sottolineare</td>
+ <td>[u]text[/u]</td>
+ <td><u>text</u></td>
+ <td>testo sottolineato</td>
+ </tr>
+ <tr>
+ <td>head 1</td>
+ <td>[h1]text[/h1]</td>
+ <td>
+ <div class="div_h1">
+ text</div>
+ </td>
+ <td>head 1</td>
+ </tr>
+ <tr>
+ <td>head 2</td>
+ <td>[h2]text[/h2]</td>
+ <td>
+ <div class="div_h2">
+ text</div>
+ </td>
+ <td>head 2</td>
+ </tr>
+ <tr>
+ <td>head 3</td>
+ <td>[h3]text[/h3]</td>
+ <td>
+ <div class="div_h3">
+ text</div>
+ </td>
+ <td>head 3</td>
+ </tr>
+ <tr>
+ <td>paragrafo</td>
+ <td>…[p]nuovo paragrafo[/p]</td>
+ <td>… <p>nuovo paragrafo</p>
+ </td>
+ <td>crea un nuovo paragrafo</td>
+ </tr>
+ <tr>
+ <td>Lista </td>
+ <td><ul style="list-style-type:none;">
+ <li>[list]</li>
+ <li><ul style="list-style-type:none;">
+ <li>[*]primo elemento[/*]</li>
+ <li>[*]secondo elemento[/*]</li>
+ </ul>
+ </li>
+ <li>[/list]</li>
+ </ul>
+ </td>
+ <td><ul>
+ <li>primo elemento</li>
+ <li>secondo elemento</li>
+ </ul>
+ </td>
+ <td>crea un elenco di item</td>
+ </tr>
+ <tr>
+ <td>Lista numerata </td>
+ <td><ul style="list-style-type:none;">
+ <li>[enum]</li>
+ <li><ul style="list-style-type:none;">
+ <li>[*]primo elemento[/*]</li>
+ <li>[*]secondo elemento[/*]</li>
+ </ul>
+ </li>
+ <li>[/enum]</li>
+ </ul>
+ </td>
+ <td><ol>
+ <li>primo elemento</li>
+ <li>secondo elemento</li>
+ </ol>
+ </td>
+ <td>crea un elenco numerato di item</td>
+ </tr>
+ <tr>
+ <td>item di un elenco</td>
+ <td>[*]elemento[/*]</td>
+ <td><ul>
+ <li>elemento</li>
+ </ul>
+ </td>
+ <td>aggiungi un item a un elenco</td>
+ </tr>
+ <tr>
+ <td>codice</td>
+ <td>[code]some code[/code]</td>
+ <td><pre class="code_pre">some code</pre>
+ </td>
+ <td>aggiungi del codice</td>
+ </tr>
+ <tr>
+ <td>link semplice</td>
+ <td>[a]url[/a]</td>
+ <td><a href="url">url</a></td>
+ <td>crea un link semplice</td>
+ </tr>
+ <tr>
+ <td>link con testo</td>
+ <td>[a]url|text[/a]</td>
+ <td><a href="url">text</a></td>
+ <td>crea un link con testo</td>
+ </tr>
+ <tr>
+ <td>notebook</td>
+ <td>[notebook]id[/notebook]</td>
+ <td>id</td>
+ <td>crea un link al notebook con l'identificatore corrispondente a id (l'identificatore di ogni modello di
+ dispositivo si trova nella pagina del dispositivo stesso, accanto al nome del modello</td>
+ </tr>
+ <tr>
+ <td>wifi</td>
+ <td>[wifi]id[/wifi]</td>
+ <td>id</td>
+ <td>crea un link alla wifi con l'identificatore corrispondente a id (l'identificatore di ogni modello di
+ dispositivo si trova nella pagina del dispositivo stesso, accanto al nome del modello)</td>
+ </tr>
+ <tr>
+ <td>scheda video</td>
+ <td>[videocard]id[/videocard]</td>
+ <td>id</td>
+ <td>crea un link alla scheda video con l'identificatore corrispondente a id (l'identificatore di ogni modello di
+ dispositivo si trova nella pagina del dispositivo stesso, accanto al nome del modello)</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <p>&nbsp;</p>
+
+ <a name="compatibility"></a><h2>Classi di compatibilità</h2>
+
+ <a name="notebook-compatibility"></a><h3>Notebooks</h3>
+ <dl>
+ <dt>Classe A (Platino)</dt>
+ <dd>Tutti i dispositivi del portatile funzionano ad alte prestazioni. </dd>
+ <dd class="example">Per esempio: funzionano tutti i dispositivi, l'accelerazione 3D è supportata.</dd>
+ <dt>Classe B (Oro)</dt>
+ <dd>Tutti i dispositivi del portatile funzionano ma non a piene prestazioni. </dd>
+ <dd class="example">Esempio tipico: funzionano tutti i dispositivi, ma l'accelerazione 3D non è supportata.</dd>
+ <dt>Classe C (Argento)</dt>
+ <dd>Uno dei dispositivi principali non è supportato. </dd>
+ <dd class="example">Per esempio: la scheda wifi interna non funziona e serve una wifi esterna USB.</dd>
+ <dt>Classe D (Bronzo)</dt>
+ <dd>Più di uno dei dispositivi principali non è supportato.</dd>
+ <dt>Classe E (Spazzatura)</dt>
+ <dd>Il portatile non funziona con software libero.</dd>
+ </dl>
+
+ <a name="printer-compatibility"></a><h3>Stampanti</h3>
+ <dl>
+ <dt>Classe A (Piena)</dt>
+ <dd>Sono supportate tutte le funzioni e le caratteristiche della stampante.</dd>
+ <dt>Classe B (Parziale)</dt>
+ <dd>La funzione di stampa è supportata, ma a velocità limitata o a scarsa qualità. Su alcune stampanti
+ multifunzione possono non essere supportate le funzioni di scanner e/o di fax.</dd>
+ <dt>Classe C (Nessuna)</dt>
+ <dd>La stampante non funziona con software libero.</dd>
+ </dl>
+
+ <a name="scanner-compatibility"></a><h3>Scanner</h3>
+ <dl>
+ <dt>Classe A (Piena)</dt>
+ <dd>Sono supportate tutte le funzioni e le caratteristiche dello scanner.</dd>
+ <dt>Classe B (Parziale)</dt>
+ <dd>La funzione di scannerizzazione è supportata, ma a velocità limitata o a scarsa qualità. Qualche altra
+ caratteristica può non essere supportata.</dd>
+ <dt>Classe C (Nessuna)</dt>
+ <dd>Lo scanner non funziona con software libero.</dd>
+ </dl>
+
+ <p></p>
+
+ <a name="discover-hardware"></a><h2>Scopri il tuo hardware</h2>
+ <cite>(Grazie <a href="<?php echo $this->baseUrl;?>/issues/view/en/3/1/token">lluvia</a>)</cite>
+
+ <p>Per sapere le caratteristiche e i dettagli del tuo hardware puoi seguire queste istruzioni:</p>
+ <dl>
+ <dt>Come scoprire il nome del modello del portatile</dt>
+ <dd>Guarda sotto al tuo notebook o al tuo netbook</dd>
+ <a name="model-name"></a><dt>Come scoprire il nome del modello del tuo hardware (se non è un portatile)</dt>
+ <dd class="opt">Se il dispositivo è integrato (ad esempio: una scheda video)</dd>
+ <dd>Apri un terminale e digita il seguente comando:</dd>
+ <dd><pre class="terminal">lspci</pre>
+ </dd>
+ <dd>o</dd>
+ <dd><pre class="terminal">lspci &gt; FILENAME # Puoi anche scrivere l'output del comandi lspci su un file digitando<!-- l'output del comandi un file digitando :)--></pre>
+ </dd>
+ <!-- dd>dove "filename" è il nome del file</dd -->
+ <dd>Otterrai la lista di tutti i tuoi dispositivi PCI, simile a quella scritta sotto</dd>
+ <dd><pre class="terminal">
+00:18.3 Host bridge: <b>Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control</b>
+03:00.0 Network controller: <b>Broadcom Corporation BCM4311 802.11b/g WLAN (rev 02)</b>
+05:00.0 VGA compatible controller: <b>nVidia Corporation G86 [GeForce 8400M GS] (rev a1)</b>
+ </pre>
+ </dd>
+ <dd>Il nome di ogni dispositivo è scritto dopo i due punti (guarda il testo in grassetto nella
+ lista superiore)</dd>
+ <dd class="opt">Se è un dispositivo USB (ad esempio: una stampante USB)</dd>
+ <dd>Apri un terminale e digita il seguente comando:</dd>
+ <dd><pre class="terminal">lsusb -v</pre>
+ </dd>
+ <dd>o</dd>
+ <dd><pre class="terminal">lsusb -v &gt; FILENAME # l'output del comandi un file digitando</pre>
+ </dd>
+ <!-- dd>dove "filename" è il nome del file</dd -->
+ <dd>Otterrai la lista di tutti i dispositivi USB, simile a quella scritta sotto</dd>
+ <dd><pre class="terminal">
+Bus 001 Device 002: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
+Device Descriptor:
+ bLength 18
+ bDescriptorType 1
+ bcdUSB 2.00
+ bDeviceClass 0 (Defined at Interface level)
+ bDeviceSubClass 0
+ bDeviceProtocol 0
+ bMaxPacketSize0 64
+ idVendor 0x0846 NetGear, Inc.
+ idProduct 0x4260 <b>WG111v3 54 Mbps Wireless [realtek RTL8187B]</b>
+ bcdDevice 2.00
+ iManufacturer 1
+ iProduct 2
+ iSerial 3
+ ...
+ ...
+
+Bus 002 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
+Device Descriptor:
+ bLength 18
+ bDescriptorType 1
+ bcdUSB 1.10
+ bDeviceClass 255 Vendor Specific Class
+ bDeviceSubClass 255 Vendor Specific Subclass
+ bDeviceProtocol 255 Vendor Specific Protocol
+ bMaxPacketSize0 8
+ idVendor 0x08ff AuthenTec, Inc.
+ idProduct 0x2580 <b>AES2501 Fingerprint Sensor</b>
+ bcdDevice 6.23
+ iManufacturer 0
+ iProduct 1 Fingerprint Sensor
+ iSerial 0
+ bNumConfigurations 1
+ ...
+ ...
+ </pre>
+ </dd>
+ <dd>Il nome di ogni dispositivo è scritto alla riga che inizia con la stringa "idProduct" (guarda il testo in
+ grassetto nella lista superiore)</dd>
+ <dt>Come scoprire che versione del kernel libre stai usando</dt>
+ <dd>Apri un terminale e digita questo comando</dd>
+ <dd><pre class="terminal">uname -r</pre>
+ </dd>
+ <dt>Come scoprire il nome della tua scheda video</dt>
+ <dd>Apri un terminale e digita questo comando:</dd>
+ <dd><pre class="terminal">sudo lspci</pre>
+ </dd>
+ <dd>Poi cerca la riga contenente la stringa <b>VGA</b> o <b>Display controller</b>. Puoi anche provare con uno di
+ questi comandi:</dd>
+ <dd><pre class="terminal">lspci | grep "Display controller"</pre>
+ </dd>
+ <dd>o</dd>
+ <dd><pre class="terminal">lspci | grep "VGA"</pre>
+ </dd>
+ <a name="vendoridproductid"></a><dt>Come scoprire il VendorID e il ProductID del tuo dispositivo (VendorID:ProductID
+ code)</dt>
+ <dd><cite>(Grazie <a
+ href="http://trisquel.info/en/forum/h-nodecom-new-website-hardware-database#comment-5839">Michał Masłowski</a>
+ e <a href="http://trisquel.info/en/forum/h-nodecom-new-website-hardware-database#comment-5837">Julius22</a>)
+ </cite></dd>
+ <dd class="opt">Se il dispositivo è integrato (per esempio una scheda video)</dd>
+ <dd>Apri un terminale e digita il seguente comando:</dd>
+ <dd><pre class="terminal">sudo lspci -nnk</pre>
+ </dd>
+ <dd>Dovresti ottenere una lista di hardware simile a quella scritta qui sotto</dd>
+ <dd><pre class="terminal">
+03:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [<b>14e4:4311</b>] (rev 02)
+ Kernel driver in use: b43-pci-bridge
+ Kernel modules: ssb
+05:00.0 VGA compatible controller [0300]: nVidia Corporation G86 [GeForce 8400M GS] [<b>10de:0427</b>] (rev a1)
+ Kernel modules: nouveau, nvidiafb</pre>
+ <dd class="note"><span class="note">Note:</span> Le stringhe in <b>grassetto</b> e tra parentesi quadre (nella
+ lista qui sopra) sono il codice che stai cercando. Il primo gruppo di cifre (prima dei due punti) è il
+ <b>VendorID</b>, il secondo gruppo è il <b>ProductID</b>. Nell'esempio qui sopra: il codice VendorID:ProductID
+ della scheda wifi (nota le stringhe "Network controller" e "WLAN") è <b>14e4:4311</b> mentre il codice
+ VendorID:ProductID della scheda video (nota la stringa "VGA") è <b>10de:0427</b></dd>
+ <dd class="opt">Se si tratta di un dispositivo USB (per esempio una wifi esterna USB)</dd>
+ <dd>Apri un terminale e digita questo comando:</dd>
+ <dd><pre class="terminal">sudo lsusb</pre>
+ </dd>
+ <dd>Dovresti ottenere una lista di hardware simile a quella scritta qui sotto</dd>
+ <dd><pre class="terminal">
+Bus 001 Device 002: ID <b>0846:4260</b> NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
+Bus 001 Device 001: ID <b>1d6b:0002</b> Linux Foundation 2.0 root hub
+Bus 002 Device 003: ID <b>08ff:2580</b> AuthenTec, Inc. AES2501 Fingerprint Sensor</pre>
+ </dd>
+ <dd class="note"><span class="note">Note:</span> Le stringhe in <b>grassetto</b> (nella lista qui sopra) sono il
+ codice che stai cercando. Il primo gruppo di cifre (prima dei due punti) è il <b>VendorID</b>, il secondo gruppo
+ è il <b>ProductID</b>. Nell'esempio qui sopra: il codice VendorID:ProductID della wifi esterna USB (nota la
+ stringa "Wireless") è <b>0846:4260</b></dd>
+ <dt>Come scoprire se funziona la scheda video</dt>
+ <dd>Installa <code><a href="http://rss-glx.sourceforge.net/">rss-glx</a></code> tramite il gestore di pacchetti
+ della tua distribuzione o compilando dai sorgenti e prova degli screensaver (per esempio <b>Skyrocket</b> o
+ <b>Solarwinds</b>). Controlla se parte lo screensaver (e/o se si vede "fluido")</dd>
+ <dt>Come scoprire se funziona l'accelerazione 3D</dt>
+ <dd>Prova ad attivare compiz</dd>
+ <dt>Come scoprire il nome della tua scheda wifi</dt>
+ <dd>Apri un terminale e digita questo comando:</dd>
+ <dd><pre class="terminal">sudo lspci</pre>
+ </dd>
+ <dd>Poi cerca la riga contenente la stringa <samp><b>Wireless</b></samp> o <samp><b>Network controller</b></samp>.
+ Puoi anche provare uno dei seguenti comandi:</dd>
+ <dd><pre class="terminal">lspci | grep "Wireless"</pre>
+ </dd>
+ <dd>o</dd>
+ <dd><pre class="terminal">lspci | grep "Network"</pre>
+ </dd>
+ <dt>Come scoprire che driver per la stampante stai usando</dt>
+ <dd class="opt">Se stai usando cups</dd>
+ <dd>Apri un terminale e digita il seguente comando:</dd>
+ <dd><pre class="terminal">dpkg-query -W -f '${Version}\n' cups</pre>
+ </dd>
+ <dt>Come scoprire l'architettura del tuo portatile:</dt>
+ <dd>Apri un terminale e digita il seguente comando:</dd>
+ <dd><pre class="terminal">cat /proc/cpuinfo | grep "lm"</pre>
+ </dd>
+ <dd>Se ottieni un messaggio come il seguente:</dd>
+ <dd><pre class="terminal">flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts<br/>acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64<br/>monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm</pre>
+ </dd>
+ <dd>allora il tuo portatile è x86-64/amd64 e puoi usare una distribuzione x86-64/amd64</dd>
+ </dl>
+
+ <p> </p>
+
+ <a name="fully-free"></a><h2>Lista di distribuzioni GNU/Linux completamente libere</h2>
+
+ <!-- p class="attention"><span class="highlight">La <strong>h-node</strong> non è responsabile del contenuto di altri siti
+ web, né di quanto il contenuto di tali siti sia aggiornato.</span></p -->
+
+ <p>Le seguenti sono le distribuzioni <a href="http://www.gnu.org/gnu/linux-and-gnu.it.html">GNU/Linux</a> a noi note
+ che hanno una rigorosa politica di inclusione e indicazione di solo software libero. Queste distribuzioni escludono
+ applicazioni, piattaforme di programmazione, driver e firmware ("blob") che non siano liberi, e rimuovono quelli
+ inclusi per errore. Per saperne di più su cosa rende <a href="http://www.gnu.org/distros/free-distros.it.html">libera
+ una distribuzione GNU/Linux</a>, si vedano le GNU <a
+ href="http://www.gnu.org/distros/free-system-distribution-guidelines.it.html">linee guida per le distribuzioni
+ libere</a>.</p>
+
+ <p><strong>Tutte le distribuzioni che seguono sono installabili sul disco di un computer e la maggior parte può essere
+ eseguita da un supporto</strong> (CD, memoria USB) senza che nulla debba essere installato sul computer.</p>
+
+ <p>In ordine alfabetico</p>
+
+ <ul>
+ <li><a href="http://www.blagblagblag.org/">BLAG GNU/Linux</a></li>
+ <li><a href="http://dragora.usla.org.ar/wiki/doku.php">Dragora GNU/Linux</a></li>
+ <li><a href="http://dynebolic.org/">Dynebolic GNU/Linux</a></li>
+ <li><a href="http://www.gnewsense.org/">gNewSense GNU/Linux</a></li>
+ <li><a href="http://www.musix.org.ar/">Musix GNU+Linux</a></li>
+ <li><a href="https://parabolagnulinux.org/">Parabola GNU/Linux</a></li>
+ <li><a href="http://trisquel.info/">Trisquel GNU/Linux</a></li>
+ <li><a href="http://www.ututo.org/www/">Ututo GNU/Linux</a></li>
+ <li><a href="http://venenux.org/">Venenux GNU/Linux</a></li>
+ </ul>
+ </div>
+ \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/History/viewall.php b/h-source/Application/Views/Desktop/History/viewall.php
new file mode 100644
index 0000000..9dc27c6
--- /dev/null
+++ b/h-source/Application/Views/Desktop/History/viewall.php
@@ -0,0 +1,40 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+<?php $u = new UsersModel();?>
+<?php
+ $mess_count = 0;
+ foreach ($res as $row) {
+ $mess_count++;
+?>
+<div class="<?php echo $box_class;?>">
+ <div class="talk_message_item_date">this <?php echo $object;?> has been <?php echo $md_action[$row['history']['action']];?> by <?php echo getLinkToUser($u->getUser($row['history']['created_by']));?> at <?php echo smartDate($row['history']['creation_date']);?> with the following motivation:
+ </div>
+ <div class="deleted_message_show"><?php echo $row['history']['message'];?></div>
+</div>
+<?php } ?>
+
+<?php if ($mess_count === 0) { ?>
+ <div class="<?php echo $box_class;?>">
+ there are no details..
+ </div>
+<?php } ?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Home/left.php b/h-source/Application/Views/Desktop/Home/left.php
new file mode 100644
index 0000000..82c6ac0
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Home/left.php
@@ -0,0 +1,36 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ Home
+ </div>
+
+ <?php echo $htmlNewsBox;?>
+
+ <p>it works!!</p>
+
+ <p>modify the file <b>Application/Views/Home/left.php</b> in order to change the english version of your homepage</p>
+
+ <p>modify the file <b>Application/Include/languages.php</b> in order to add new languages</p>
+ </div>
diff --git a/h-source/Application/Views/Desktop/Home/left_es.php b/h-source/Application/Views/Desktop/Home/left_es.php
new file mode 100644
index 0000000..3350599
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Home/left_es.php
@@ -0,0 +1,33 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ Home
+ </div>
+
+ <?php echo $htmlNewsBox;?>
+
+
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Home/left_fr.php b/h-source/Application/Views/Desktop/Home/left_fr.php
new file mode 100644
index 0000000..c69674d
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Home/left_fr.php
@@ -0,0 +1,32 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ Home
+ </div>
+
+ <?php echo $htmlNewsBox;?>
+
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Home/left_it.php b/h-source/Application/Views/Desktop/Home/left_it.php
new file mode 100644
index 0000000..c69674d
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Home/left_it.php
@@ -0,0 +1,32 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ Home
+ </div>
+
+ <?php echo $htmlNewsBox;?>
+
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Issues/view.php b/h-source/Application/Views/Desktop/Issues/view.php
new file mode 100644
index 0000000..769717a
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Issues/view.php
@@ -0,0 +1,249 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <script>
+
+ $(document).ready(function() {
+
+ $("#bb_code").markItUp(mySettings);
+
+ });
+
+ </script>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/issues/viewall/$lang".$this->viewStatus;?>"><?php echo gtext("Issues");?></a> &raquo; <?php echo $id_issue;?>
+ </div>
+
+ <?php if (strcmp($table[0]['issues']['deleted'],'no') === 0 or $ismoderator) { ?>
+ <?php foreach ($table as $row) { ?>
+
+ <?php if ($ismoderator) { ?>
+ <!--open/close an issue-->
+ <div class="moderator_box">
+ <?php if (strcmp($row['issues']['status'],'opened') == 0) { ?>
+ <?php echo gtext("This issue is opened");?>
+
+ <a id="<?php echo $row['issues']['id_issue'];;?>" class="close_issue block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/folder_blue.png"><?php echo gtext("close the issue");?></a>
+
+ <?php } else { ?>
+ <?php echo gtext("This issue is closed");?>
+
+ <a id="<?php echo $row['issues']['id_issue'];;?>" class="open_issue block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/folder_blue_open.png"><?php echo gtext("open the issue again");?></a>
+
+ <?php } ?>
+
+ <?php if (strcmp($row['issues']['deleted'],'no') == 0) { ?>
+
+ <a id="<?php echo $row['issues']['id_issue'];;?>" class="issuehide_issue_del block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_cancel.png"><?php echo gtext("hide the issue");?></a>
+
+ <?php } else { ?>
+ <div class="issue_hidden_notice"><?php echo gtext("This issue is hidden for all the users that are not moderators");?></div>
+
+ <a id="<?php echo $row['issues']['id_issue'];;?>" class="issueshow_issue_del block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_ok.png"><?php echo gtext("show the issue");?></a>
+
+ <?php } ?>
+
+ <!--view details-->
+ <div class="show_hidden_box_ext">
+ <div class="md_type">issue</div>
+ <a id="<?php echo $row['issues']['id_issue'];?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a>
+ <div class="moderation_details_box"></div>
+ </div>
+
+ </div>
+ <?php } ?>
+
+ <div class="issues_external_box">
+
+ <div class="issues_view_title">
+ <?php echo $row['issues']['title'];?>
+ </div>
+
+ <div class="talk_message_item_date">
+ submitted by <?php echo getLinkToUser($u->getUser($row['issues']['created_by']));?>, <?php echo smartDate($row['issues']['creation_date']);?>
+ </div>
+
+ <div class="issues_view_status_and_priority">
+ <table>
+ <tr>
+ <td><?php echo gtext("TOPIC");?>:</td>
+ <td><b><?php echo str_replace('-',' ',$row['issues']['topic']);?></b></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("STATUS");?>:</td>
+ <td><b><?php echo $row['issues']['status'];?></b></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("PRIORITY");?>:</td>
+ <td><b><?php echo $row['issues']['priority'];?></b></td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="issues_view_description_title">
+ <?php echo gtext("Description");?>:
+ </div>
+
+ <div class="issues_view_description">
+ <?php echo decodeWikiText($row['issues']['message']);?>
+ </div>
+
+ <?php if (strcmp($row['issues']['notice'],'') !== 0) { ?>
+
+ <div class="issues_view_description_title">
+ Response message (from h-node.com):
+ </div>
+
+ <div class="issues_view_description">
+ <?php echo decodeWikiText($row['issues']['notice']);?>
+ </div>
+
+ <?php } ?>
+
+ <?php } ?>
+ </div>
+
+ <!--print the messages to this issue-->
+ <div class="issues_external_box">
+ <div class="add_message_form_title">
+ <?php echo gtext("Messages");?>:
+ </div>
+ <?php
+ $mess_count = 0;
+ foreach ($messages as $row) {
+ $mess_count++;
+ ?>
+
+ <?php if (strcmp($row['messages']['deleted'],'no') === 0) { ?>
+
+
+ <a name="message-<?php echo $row['messages']['id_mes'];?>"></a><div class="issues_message_item">
+ <div class="issues_message_item_user">
+ <div class="issues_message_item_user_inner">
+ <?php echo $u->getUser($row['messages']['created_by']);?>:
+ </div>
+ <?php if ($ismoderator) { ?>
+ <a id="<?php echo $row['messages']['id_mes'];?>" class="hide_message hide_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_cancel.png">hide</a>
+ <?php } ?>
+
+ </div>
+
+ <div class="message_view_description">
+ <?php echo decodeWikiText($row['messages']['message']);?>
+ </div>
+ <div class="talk_message_item_date">
+ submitted by <?php echo getLinkToUser($u->getUser($row['messages']['created_by']));?>, <?php echo smartDate($row['messages']['creation_date']);?>
+ </div>
+
+ <?php if ($ismoderator) { ?>
+ <!--view details-->
+ <div class="show_hidden_box_ext">
+ <div class="md_type">message</div>
+ <a id="<?php echo $row['messages']['id_mes'];?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a>
+ <div class="moderation_details_box"></div>
+ </div>
+ <?php } ?>
+
+ </div>
+
+ <?php } else { ?>
+
+ <?php if ($ismoderator) { ?>
+ <a name="message-<?php echo $row['messages']['id_mes'];?>"></a>
+ <div class="issues_message_item_hidden">
+ <?php echo gtext("this message has been deleted");?>
+
+ <a id="<?php echo $row['messages']['id_mes'];?>" class="show_message hide_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_ok.png">make visible</a>
+
+ <!--view details-->
+ <div class="show_hidden_box_ext">
+ <div class="md_type">message</div>
+
+ <a id="<?php echo $row['messages']['id_mes'];?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a>
+
+ <div class="details_of_hidden_message">
+ <div class="details_of_hidden_message_inner">
+ <div class="talk_message_item_date">
+ submitted by <?php echo getLinkToUser($u->getUser($row['messages']['created_by']));?>, <?php echo smartDate($row['messages']['creation_date']);?>
+ </div>
+ <div class="message_view_description_hidden">
+ <?php echo decodeWikiText($row['messages']['message']);?>
+ </div>
+ </div>
+ <div class="moderation_details_box"></div>
+ </div>
+ </div>
+ </div>
+ <?php } ?>
+ <?php } ?>
+
+ <?php } ?>
+
+ <?php if ($mess_count === 0) { ?>
+ <?php echo gtext("there are no messages");?>..
+ <?php } ?>
+
+ </div>
+
+ <!--insert a message notice-->
+ <?php if ($islogged === 'yes') { ?>
+
+ <div class="add_issue_form">
+ <div class="add_message_form_title">
+ <a name="form"><?php echo gtext("Add a message to this issue");?></a>
+ </div>
+
+ <?php echo $notice;?>
+
+ <!--preiview-->
+ <?php if (isset($preview_message)) { ?>
+ <div class="message_preview_notice">
+ <?php echo gtext("preview of the message");?>:
+ </div>
+ <div class="issues_message_item_preview">
+ <div class="message_view_description">
+ <?php echo decodeWikiText($preview_message);?>
+ </div>
+ </div>
+ <?php } ?>
+
+ <?php echo $form;?>
+ </div>
+
+ <?php } else { ?>
+
+ <div class="talk_login_notice">
+ <a name="form"><?php echo gtext("You have to");?> <a href="<?php echo $this->baseUrl."/users/login/$lang?redirect=".$currPos.$queryString;?>">login</a> <?php echo gtext("in order to submit a message to this issue");?></a>
+ </div>
+
+ <?php } ?>
+
+ <?php } else { ?>
+
+ <div style="margin:10px;"><?php echo gtext("This issue has been deleted"); ?></div>
+
+ <?php } ?>
+ </div>
+
diff --git a/h-source/Application/Views/Desktop/Issues/viewall.php b/h-source/Application/Views/Desktop/Issues/viewall.php
new file mode 100644
index 0000000..d5d652f
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Issues/viewall.php
@@ -0,0 +1,122 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <script>
+
+ $(document).ready(function() {
+
+ $("#bb_code").markItUp(mySettings);
+
+ });
+
+ </script>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext("Issues");?>
+ </div>
+
+ <div class="issues_external_box">
+ <div class="issues_viewall_title">
+ <?php echo gtext("List of issues");?>:
+ </div>
+
+ <table class="issues_viewall_table">
+ <thead>
+ <tr>
+ <th><?php echo gtext("TITLE");?></th>
+ <th><?php echo gtext("TOPIC");?></th>
+ <th><?php echo gtext("OPENED BY");?></th>
+ <th><?php echo gtext("LAST UPDATE");?></th>
+ <th><?php echo gtext("REPLIES");?></th>
+ <th><?php echo gtext("PRIORITY");?></th>
+ <th><?php echo gtext("STATUS");?></th>
+ </tr>
+ </thead>
+
+ <?php foreach ($table as $row) { ?>
+
+ <?php if (strcmp($row['issues']['deleted'],'no') === 0 or $ismoderator) { ?>
+ <tr class="issue_deleted_<?php echo $row['issues']['deleted']?>">
+ <td><a href="<?php echo $this->baseUrl."/issues/view/$lang/".$row['issues']['id_issue'].$this->viewStatus;?>"><?php echo $row['issues']['title'];?></a> <span>(<?php echo gtext("hidden for those who are not moderators");?>)</span></td>
+ <td><?php echo str_replace('-',' ',$row['issues']['topic']);?></td>
+ <td><?php echo getLinkToUser($u->getUser($row['issues']['created_by']));?></td>
+ <td><?php echo smartDate($row['issues']['update_date']);?></td>
+ <td>
+ <?php
+ if (strcmp($row['messages']['message'],'') !== 0)
+ {
+ echo $row['aggregate']['numb_mess'];
+ }
+ else
+ {
+ echo $row['aggregate']['numb_mess']-1;
+ }
+ ?>
+ </td>
+ <td><?php echo $row['issues']['priority'];?></td>
+ <td><?php echo $row['issues']['status'];?></td>
+ </tr>
+ <?php } ?>
+
+ <?php } ?>
+ </table>
+ </div>
+
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+
+ <?php if ($islogged === 'yes') { ?>
+
+ <div class="add_issue_form">
+ <div class="add_issue_form_title">
+ <a name="form"><?php echo gtext("Add a new issue");?></a>
+ </div>
+
+ <?php echo $notice;?>
+
+ <!--preiview-->
+ <?php if (isset($preview_message)) { ?>
+ <div class="message_preview_notice">
+ <?php echo gtext("preview of the new issue message");?>:
+ </div>
+ <div class="issues_message_item_preview">
+ <div class="message_view_description">
+ <?php echo decodeWikiText($preview_message);?>
+ </div>
+ </div>
+ <?php } ?>
+
+ <?php echo $form;?>
+ </div>
+
+ <?php } else { ?>
+
+ <div class="talk_login_notice">
+ <a name="form"><?php echo gtext("You have to");?> <a href="<?php echo $this->baseUrl."/users/login/$lang?redirect=".$currPos.$queryString;?>">login</a> <?php echo gtext("in order to submit an issue");?></a>
+ </div>
+
+ <?php } ?>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Meet/contributions.php b/h-source/Application/Views/Desktop/Meet/contributions.php
new file mode 100644
index 0000000..82921f7
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Meet/contributions.php
@@ -0,0 +1,72 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/meet/user/$lang/$meet_username";?>"><?php echo gtext("meet");?> <b><?php echo $meet_username;?></b></a> &raquo; <?php echo gtext("contributions");?>
+ </div>
+
+ <div class="contrib_explain_box">
+ <?php echo gtext("contributions of");?> <?php echo $meet_username;?>
+ </div>
+
+ <div class="external_users_contrib">
+
+ <!--hardware contributions-->
+ <?php if ($hasHardware) { ?>
+ <div class="user_hardware_pages">
+ <a href="<?php echo $this->baseUrl."/meet/hardware/$lang/$meet_username";?>">hardware inserted/updated by <b><?php echo $meet_username;?></b></a>
+ </div>
+ <?php } ?>
+
+ <!--talk messages submitted-->
+ <?php if ($hasTalk) { ?>
+ <div class="user_hardware_pages">
+ <a href="<?php echo $this->baseUrl."/meet/talk/$lang/$meet_username".$this->viewStatus;?>">talk messages submitted by <b><?php echo $meet_username;?></b></a>
+ </div>
+ <?php } ?>
+
+ <!--issues opened-->
+ <?php if ($hasIssues) { ?>
+ <div class="user_hardware_pages">
+ <a href="<?php echo $this->baseUrl."/meet/issues/$lang/$meet_username".$this->viewStatus;?>">issues opened by <b><?php echo $meet_username;?></b></a>
+ </div>
+ <?php } ?>
+
+ <!--messages submitted-->
+ <?php if ($hasMessages) { ?>
+ <div class="user_hardware_pages">
+ <a href="<?php echo $this->baseUrl."/meet/messages/$lang/$meet_username".$this->viewStatus;?>">messages submitted by <b><?php echo $meet_username;?></b></a>
+ </div>
+ <?php } ?>
+
+ <!--messages submitted-->
+ <?php if ($hasWiki) { ?>
+ <div class="user_hardware_pages">
+ <a href="<?php echo $this->baseUrl."/meet/wiki/$lang/$meet_username".$this->viewStatus;?>">wiki pages inserted/updated by <b><?php echo $meet_username;?></b></a>
+ </div>
+ <?php } ?>
+
+ </div>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Meet/hardware.php b/h-source/Application/Views/Desktop/Meet/hardware.php
new file mode 100644
index 0000000..337c644
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Meet/hardware.php
@@ -0,0 +1,52 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/meet/user/$lang/$meet_username";?>">meet <b><?php echo $meet_username;?></b></a> &raquo; <a href="<?php echo $this->baseUrl."/meet/contributions/$lang/$meet_username";?>">contributions</a> &raquo; hardware contributions
+ </div>
+
+ <div class="contrib_explain_box">
+ hardware contributions of <?php echo $meet_username;?>
+ </div>
+
+ <div class="external_users_contrib">
+ <?php foreach ($table as $item) {?>
+ <div class="users_contrib_item">
+
+ <div class="contribution_item">
+ <?php
+
+ $name = $item['hardware']['model'];
+ $type = $item['hardware']['type'];
+ $id_hard = $item['hardware']['id_hard'];
+
+ ?>
+ <?php echo $type;?> <a href="<?php echo $this->baseUrl."/".MyStrings::$reverse[$type]."/view/$lang/$id_hard/".encodeUrl($name);?>"><?php echo $name;?></a>
+ </div>
+
+ </div>
+ <?php } ?>
+ </div>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Meet/issues.php b/h-source/Application/Views/Desktop/Meet/issues.php
new file mode 100644
index 0000000..94bf8ed
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Meet/issues.php
@@ -0,0 +1,57 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/meet/user/$lang/$meet_username";?>">meet <b><?php echo $meet_username;?></b></a> &raquo; <a href="<?php echo $this->baseUrl."/meet/contributions/$lang/$meet_username";?>">contributions</a> &raquo; issues opened
+ </div>
+
+ <div class="contrib_explain_box">
+ issues opened by <?php echo $meet_username;?>
+ </div>
+
+ <div class="external_users_contrib">
+ <?php foreach ($table as $item) {?>
+ <div class="users_contrib_item">
+
+ <div class="contribution_item">
+ <?php
+
+ $i_date = $item['issues']['creation_date'];
+ $i_title = $item['issues']['title'];
+ $i_id = $item['issues']['id_issue'];
+
+ ?>
+
+ <?php echo "<a href='".$this->baseUrl."/issues/view/$lang/$i_id'>".$i_title."</a> at ".smartDate($i_date);?>
+ </div>
+
+ </div>
+ <?php } ?>
+ </div>
+
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Meet/meet.php b/h-source/Application/Views/Desktop/Meet/meet.php
new file mode 100644
index 0000000..f0e31b3
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Meet/meet.php
@@ -0,0 +1,114 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext("meet");?> <b><?php echo $meet_username;?></b>
+ </div>
+
+ <?php if ($isadmin) { ?>
+ <div class="moderator_box">
+ <?php if ($isBlocked) { ?>
+ This user has been blocked
+
+ <a id="<?php echo $meet_id_user;?>" class="unblock_user block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/H2O/im-user.png">unblock the user</a>
+
+ <?php } else { ?>
+
+ <a id="<?php echo $meet_id_user;?>" class="block_user block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/H2O/im-ban-user.png">block the user</a>
+
+ <?php } ?>
+
+ <!--view details-->
+ <div class="show_hidden_box_ext">
+ <div class="md_type">user</div>
+ <a id="<?php echo $meet_id_user;?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a>
+ <div class="moderation_details_box"></div>
+ </div>
+
+ </div>
+ <?php } ?>
+
+ <div class="meet_contrib_link">
+ <u><?php echo gtext("Public profile of");?> <?php echo $meet_username;?></u>. <?php echo gtext("See all the contributions of");?> <a href="<?php echo $this->baseUrl."/meet/contributions/$lang/$meet_username";?>"> <b><?php echo $meet_username;?></b></a>
+ </div>
+
+ <?php foreach ($table as $item) {?>
+ <div class="users_meet_box">
+
+ <div class="meet_item">
+ <div class="meet_item_inner">Username:</div> <?php echo $item['regusers']['username'];?>
+ </div>
+
+ <?php if (strcmp($item['profile']['website'],'') !== 0) { ?>
+ <div class="meet_item">
+ <div class="meet_item_inner"><?php echo gtext("My website");?>:</div> <?php echo vitalizeUrl($item['profile']['website']);?>
+ </div>
+ <?php } ?>
+
+ <?php if (strcmp($item['profile']['real_name'],'') !== 0) { ?>
+ <div class="meet_item">
+ <div class="meet_item_inner"><?php echo gtext("My real name");?>:</div> <?php echo $item['profile']['real_name'];?>
+ </div>
+ <?php } ?>
+
+ <?php if (strcmp($item['profile']['publish_mail'],'yes') === 0) { ?>
+ <div class="meet_item">
+ <div class="meet_item_inner"><?php echo gtext("My e-mail address");?>:</div> <?php echo $item['regusers']['e_mail'];?>
+ </div>
+ <?php } ?>
+
+ <?php if (strcmp($item['profile']['where_you_are'],'') !== 0) { ?>
+ <div class="meet_item">
+ <div class="meet_item_inner"><?php echo gtext("I'm from");?>:</div> <?php echo $item['profile']['where_you_are'];?>
+ </div>
+ <?php } ?>
+
+ <?php if (strcmp($item['profile']['birth_date'],'') !== 0) { ?>
+ <div class="meet_item">
+ <div class="meet_item_inner"><?php echo gtext("Birthdate");?>:</div> <?php echo $item['profile']['birth_date'];?>
+ </div>
+ <?php } ?>
+
+ <?php if (strcmp($item['profile']['fav_distro'],'') !== 0) { ?>
+ <div class="meet_item">
+ <div class="meet_item_inner"><?php echo gtext("My favourite distribution");?>:</div> <?php echo $item['profile']['fav_distro'];?>
+ </div>
+ <?php } ?>
+
+ <?php if (strcmp($item['profile']['projects'],'') !== 0) { ?>
+ <div class="meet_item">
+ <div class="meet_item_inner"><?php echo gtext("Free software projects I'm working on");?>:</div> <div><?php echo nl2br($item['profile']['projects']);?></div>
+ </div>
+ <?php } ?>
+
+ <?php if (strcmp($item['profile']['description'],'') !== 0) { ?>
+ <div class="meet_item">
+ <div class="meet_item_inner"><?php echo gtext("My description");?>:</div> <div><?php echo nl2br($item['profile']['description']);?></div>
+ </div>
+ <?php } ?>
+
+ </div>
+ <?php } ?>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Meet/messages.php b/h-source/Application/Views/Desktop/Meet/messages.php
new file mode 100644
index 0000000..82d2402
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Meet/messages.php
@@ -0,0 +1,56 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/meet/user/$lang/$meet_username";?>">meet <b><?php echo $meet_username;?></b></a> &raquo; <a href="<?php echo $this->baseUrl."/meet/contributions/$lang/$meet_username";?>">contributions</a> &raquo; messages submitted
+ </div>
+
+ <div class="contrib_explain_box">
+ messages submitted by <?php echo $meet_username;?>
+ </div>
+
+ <div class="external_users_contrib">
+ <?php foreach ($table as $item) {?>
+ <div class="users_contrib_item">
+
+ <div class="contribution_item">
+ <?php
+
+ $m_date = $item['messages']['creation_date'];
+ $m_id = $item['messages']['id_mes'];
+ $i_id = $item['messages']['id_issue'];
+
+ ?>
+
+ <?php echo "<a href='".$this->baseUrl."/issues/view/$lang/$i_id#message-$m_id'>".smartDate($m_date)."</a>";?> submitted to the issue <b><?php echo $item['issues']['title'];?></b>
+ </div>
+
+ </div>
+ <?php } ?>
+ </div>
+
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Meet/talk.php b/h-source/Application/Views/Desktop/Meet/talk.php
new file mode 100644
index 0000000..c6258d5
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Meet/talk.php
@@ -0,0 +1,58 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/meet/user/$lang/$meet_username";?>">meet <b><?php echo $meet_username;?></b></a> &raquo; <a href="<?php echo $this->baseUrl."/meet/contributions/$lang/$meet_username";?>">contributions</a> &raquo; talk messages
+ </div>
+
+ <div class="contrib_explain_box">
+ talk messages submitted by <?php echo $meet_username;?>
+ </div>
+
+ <div class="external_users_contrib">
+ <?php foreach ($table as $item) {?>
+ <div class="users_contrib_item">
+
+ <div class="contribution_item">
+ <?php
+
+ $t_date = $item['talk']['creation_date'];
+ $t_title = $item['talk']['title'];
+ $t_id = $item['talk']['id_hard'];
+ $t_id_talk = $item['talk']['id_talk'];
+ $controller = MyStrings::$reverse[$item['hardware']['type']];
+ ?>
+
+ <?php echo "<a href='".$this->baseUrl."/$controller/talk/$lang/$t_id#talk-$t_id_talk'>".$t_title."</a> at ".smartDate($t_date);?>
+ </div>
+
+ </div>
+ <?php } ?>
+ </div>
+
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Meet/wiki.php b/h-source/Application/Views/Desktop/Meet/wiki.php
new file mode 100644
index 0000000..b813cda
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Meet/wiki.php
@@ -0,0 +1,55 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/meet/user/$lang/$meet_username";?>">meet <b><?php echo $meet_username;?></b></a> &raquo; <a href="<?php echo $this->baseUrl."/meet/contributions/$lang/$meet_username";?>">contributions</a> &raquo; wiki contributions
+ </div>
+
+ <div class="contrib_explain_box">
+ wiki contributions of <?php echo $meet_username;?>
+ </div>
+
+ <div class="external_users_contrib">
+ <?php foreach ($table as $item) {?>
+ <div class="users_contrib_item">
+
+ <div class="contribution_item">
+ <?php
+
+ $name = $item['wiki']['title'];
+ $id_wiki = $item['wiki']['id_wiki'];
+
+ ?>
+ <a href="<?php echo $this->baseUrl."/wiki/page/$lang/".encodeUrl($name);?>"><?php echo $name;?></a>
+ </div>
+
+ </div>
+ <?php } ?>
+ </div>
+
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/My/email.php b/h-source/Application/Views/Desktop/My/email.php
new file mode 100644
index 0000000..3c9a070
--- /dev/null
+++ b/h-source/Application/Views/Desktop/My/email.php
@@ -0,0 +1,33 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/my/home/$lang/$token";?>">panel</a> &raquo; e-mail
+ </div>
+
+ <?php echo $notice;?>
+
+ <?php echo $form;?>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/My/goodbye.php b/h-source/Application/Views/Desktop/My/goodbye.php
new file mode 100644
index 0000000..2f83695
--- /dev/null
+++ b/h-source/Application/Views/Desktop/My/goodbye.php
@@ -0,0 +1,63 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <script>
+
+ $(document).ready(function(){
+
+ $(".close_account_submit").click(function () {
+ if (window.confirm("Are you really sure?")) {
+ return true;
+ }
+ return false;
+ });
+
+ });
+
+ </script>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/my/home/$lang/$token";?>">panel</a> &raquo; delete account
+ </div>
+
+ <div class="delete_account_notice_box">
+ After your account cancellation:
+ <ul>
+ <li>you won't be able to log-in anymore</li>
+ <li>all your data, except for your username, will be deleted from the database</li>
+ <li>your public profile won't be accessible anymore</li>
+ <li>you won't be able to get your old account back. If you want to register another time you have to choose a different username</li>
+ <li>your username will remain in the history of the devices (notebooks,video cards..) you have modified</li>
+ </ul>
+ </div>
+
+ <div class="climb_form_ext_box">
+
+ <form action="<?php echo $this->currPage."/$lang".$this->viewStatus;?>" method="POST">
+ I want to close my account: <input class="close_account_submit" type="submit" name="closeAction" value="confirm">
+ </form>
+
+ </div>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/My/panel.php b/h-source/Application/Views/Desktop/My/panel.php
new file mode 100644
index 0000000..67fbe1d
--- /dev/null
+++ b/h-source/Application/Views/Desktop/My/panel.php
@@ -0,0 +1,64 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext("control panel");?>
+ </div>
+
+ <?php if ($userBlocked) { ?>
+ <div class="moderator_box">
+ Your account has been blocked by an administrator of the website. You can neither insert/modify devices nor submit new issues or messages until some other moderator un-block your account.
+ </div>
+ <?php } ?>
+
+ <?php if ($isadmin) { ?>
+ <div id="admin_box">
+ <div class="admin_box_title"><?php echo gtext("Special pages for administrators");?></div>
+ <ul>
+ <li><a href="<?php echo Url::getRoot('special/adminactions/'.$lang);?>"><?php echo gtext("Actions carried out by administrators");?></a></li>
+ <li><a href="<?php echo Url::getRoot('special/deleted/'.$lang);?>"><?php echo gtext("List of hidden device pages");?></a></li>
+ <li><a href="<?php echo Url::getRoot('special/notapproved/'.$lang);?>"><?php echo gtext("Device pages that have to be approved");?></a> ( <a class="not_bold" href="<?php echo $this->baseUrl."/rss/notapproved/$lang";?>"><?php echo gtext('you can also subscribe to the feed in order to receive the new modifications that need a moderation');?></a> )</li>
+ </ul>
+ </div>
+ <?php } ?>
+
+ <?php if ($ismoderator) { ?>
+ <div id="moderator_box">
+ <div class="moderator_box_title"><?php echo gtext("Special pages for moderators");?></div>
+ <ul>
+ <li><a href="<?php echo Url::getRoot('special/modactions/'.$lang);?>"><?php echo gtext("Actions carried out by moderators");?></a></li>
+ <li><a href="<?php echo Url::getRoot('special/usersactions/'.$lang);?>"><?php echo gtext("Actions carried out by users");?></a></li>
+ </ul>
+ </div>
+ <?php } ?>
+
+ <ul class='panelApplicationList'>
+ <li><a href="<?php echo Url::getRoot('meet/user/'.$lang.'/'.$username);?>"><?php echo gtext("Watch your public profile");?></a></li>
+ <li><a href="<?php echo Url::getRoot('my/profile/'.$lang.'/'.$token);?>"><?php echo gtext("Edit your profile");?></a></li>
+ <li><a href="<?php echo Url::getRoot('my/email/'.$lang.'/'.$token);?>"><?php echo gtext("Change your e-mail address");?></a></li>
+ <li><a href="<?php echo Url::getRoot('my/password/'.$lang.'/'.$token);?>"><?php echo gtext("Change your password");?></a></li>
+ <li><a href="<?php echo Url::getRoot('my/goodbye/'.$lang.'/'.$token);?>"><?php echo gtext("Delete your account");?></a></li>
+ </ul>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/My/password.php b/h-source/Application/Views/Desktop/My/password.php
new file mode 100644
index 0000000..50588ac
--- /dev/null
+++ b/h-source/Application/Views/Desktop/My/password.php
@@ -0,0 +1,33 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/my/home/$lang/$token";?>">panel</a> &raquo; password
+ </div>
+
+ <?php echo $notice;?>
+
+ <?php echo $form;?>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/My/profile.php b/h-source/Application/Views/Desktop/My/profile.php
new file mode 100644
index 0000000..1826337
--- /dev/null
+++ b/h-source/Application/Views/Desktop/My/profile.php
@@ -0,0 +1,33 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/my/home/$lang/$token";?>">panel</a> &raquo; profile
+ </div>
+
+ <?php echo $notice;?>
+
+ <?php echo $form;?>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/News/index.php b/h-source/Application/Views/Desktop/News/index.php
new file mode 100644
index 0000000..f46aaae
--- /dev/null
+++ b/h-source/Application/Views/Desktop/News/index.php
@@ -0,0 +1,51 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext("News");?>
+ </div>
+
+ <div class="news_external_box">
+ <?php foreach ($table as $row) { ?>
+ <div class="news_item">
+ <div class="news_item_title">
+ <?php echo $row['news']['title'];?>
+ </div>
+ <div class="news_item_date">
+ <?php echo smartDate($row['news']['creation_date']);?>
+ </div>
+ <div class="news_item_message">
+ <?php echo decodeWikiText($row['news']['message']);?>
+ </div>
+ </div>
+ <?php } ?>
+ </div>
+
+ <?php if ($recordNumber > 10) { ?>
+ <div class="history_page_list_news">
+ <?php echo $pageList;?>
+ </div>
+ <?php } ?>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Notebooks/catalogue.php b/h-source/Application/Views/Desktop/Notebooks/catalogue.php
new file mode 100644
index 0000000..4648b3d
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Notebooks/catalogue.php
@@ -0,0 +1,92 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div class="viewall_popup_menu_box_external">
+ <div class="viewall_popup_menu_box">
+ <?php echo $popup;?>
+ </div>
+ <div class="viewall_popup_menu_status">
+ <div class="viewall_popup_menu_status_item"><?php echo gtext(betterVendor($this->viewArgs['vendor']));?></div>
+ <div class="viewall_popup_menu_status_item"><?php echo gtext($this->viewArgs['compatibility'])?></div>
+ <div class="viewall_popup_menu_status_item"><?php echo gtext($this->viewArgs['comm_year'])?></div>
+ <div class="viewall_popup_menu_status_item"><?php echo gtext($this->viewArgs['subtype'])?></div>
+ <div class="viewall_popup_menu_status_item"><?php echo gtext($this->viewArgs['sort-by'])?></div>
+ </div>
+ </div>
+
+ <div class="viewall_popup_menu_box_external more_filters">
+ <div class="viewall_popup_menu_box">
+ <?php echo $popupMore;?>
+ </div>
+ <div class="viewall_popup_menu_status">
+ <div class="viewall_popup_menu_status_item"><?php echo gtext($this->viewArgs['bios'])?></div>
+ <div class="viewall_popup_menu_status_item"><?php echo gtext(translate($this->viewArgs['architecture']));?></div>
+ </div>
+ </div>
+
+ <!--if no notebooks found-->
+ <?php if (strcmp($recordNumber,0) === 0) { ?>
+ <div class="viewall_no_items_found">
+ <?php echo gtext("No notebooks found");?>..
+ </div>
+ <?php } ?>
+
+ <!--loop-->
+ <?php foreach ($table as $item) {?>
+ <div class="model_viewall">
+
+ <div class="notebook_model">
+ <img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromType($item['hardware']['type']);?>"><span class="span_model_name"><?php echo gtext("model");?>: <b><?php echo $item['hardware']['model'];?></b></span>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("vendor");?>:</div>
+ <div class="inner_value"><?php echo betterVendor($item['hardware']['vendor']);?></div>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("subtype (notebook, netbook, tablet)");?></div>
+ <div class="inner_value"><b><?php echo gtext($item['hardware']['subtype']);?></b></div>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("year of commercialization");?>:</div>
+ <div class="inner_value"><b><?php echo gtext($item['hardware']['comm_year']);?></b></div>
+ </div>
+
+ <div class="notebook_compatibility">
+ <div class="inner_label"><?php echo gtext("compatibility with free software");?>:</div>
+ <div class="inner_value"><?php echo gtext($item['hardware']['compatibility']);?></div>
+ </div>
+
+ <div class="notebook_view_link">
+ <a href="<?php echo $this->baseUrl."/notebooks/view/$lang/".$item['hardware']['id_hard'].'/'.encodeUrl($item['hardware']['model']).$this->viewStatus;?>"><?php echo gtext("view the other specifications");?></a>
+ </div>
+
+ </div>
+ <?php } ?>
+
+ <?php if (strcmp($recordNumber,0) !== 0) { ?>
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+ <?php } ?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Notebooks/form.php b/h-source/Application/Views/Desktop/Notebooks/form.php
new file mode 100644
index 0000000..4a661b1
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Notebooks/form.php
@@ -0,0 +1,151 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <script>
+
+ $(document).ready(function() {
+
+ dist_list_helper();
+
+ $("#bb_code").markItUp(mySettings);
+
+ });
+
+ </script>
+
+ <?php echo $notice;?>
+
+ <div class="notebooks_insert_form">
+ <form action="<?php echo $this->baseUrl."/notebooks/".$this->action."/$lang/$token".$this->viewStatus;?>" method="POST">
+
+ <div class="edit_form">
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("vendor");?>:</div>
+ <?php echo Html_Form::select('vendor',$values['vendor'],Notebooks::$vendors,"select_entry");?>
+ <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">Vendor not present?</a>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("model name");?>: <b>*</b></div>
+ <?php echo Html_Form::input('model',$values['model'],'input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("subtype (notebook, netbook, tablet)");?>:</div>
+ <?php echo Html_Form::select('subtype',$values['subtype'],Notebooks::$subtypeSelect,"select_entry");?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("architecture");?>:</div>
+ <?php echo Html_Form::select('architecture',$values['architecture'],Notebooks::$architectureSelect,"select_entry");?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("does it have a free BIOS?");?></div>
+ <?php echo Html_Form::select('bios',$values['bios'],Notebooks::$biosSelect,"select_entry");?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("can free operating systems be installed?");?></div>
+ <?php echo Html_Form::select('can_free_systems_be_installed',$values['can_free_systems_be_installed'],Notebooks::$installableSelect,"select_entry");?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("year of commercialization");?>:</div>
+ <?php echo Html_Form::select('comm_year',$values['comm_year'],Notebooks::$commYear,"select_entry");?>
+ </div>
+
+ <div class="form_entry td_with_distribution_checkboxes">
+ <div class="entry_label"><?php echo gtext("GNU/Linux distribution used for the test");?>: <b>*</b></div>
+ <?php include(ROOT . DS . APPLICATION_PATH . DS . 'Views' . DS . 'noscript_distributions.php');?>
+ <?php echo Html_Form::input('distribution',$values['distribution'],'input_entry input_distribution');?>
+ <?php echo Distributions::getFormHtml();?>
+ </div>
+
+ <div class="form_entry hidden_x_explorer">
+ <div class="entry_label"><?php echo gtext("compatibility with free software");?>:</div>
+ <?php echo Html_Form::select('compatibility',$values['compatibility'],Notebooks::$compatibility,"select_entry");?>
+ <a class="open_help_window" title="compatibility help page" target="blank" href="<?php echo $this->baseUrl."/help/index/$lang#notebook-compatibility";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("tested with the following kernel libre");?>:</div>
+ <?php echo Html_Form::input('kernel',$values['kernel'],'input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("video card model");?>:</div>
+ <?php echo Html_Form::input('video_card_type',$values['video_card_type'],'input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("does the video card work?");?></div>
+ <?php echo Html_Form::select('video_card_works',$values['video_card_works'],Notebooks::$videoSelect,"select_entry");?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("wifi model");?>:</div>
+ <?php echo Html_Form::input('wifi_type',$values['wifi_type'],'input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("does the wifi card work?");?></div>
+ <?php echo Html_Form::select('wifi_works',$values['wifi_works'],Notebooks::$wifiSelect,"select_entry");?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("webcam model");?>:</div>
+ <?php echo Html_Form::input('webcam_type',$values['webcam_type'],'input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("does the webcam work?");?></div>
+ <?php echo Html_Form::select('webcam_works',$values['webcam_works'],Notebooks::$webcamSelect,"select_entry");?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("Description: (write here all the useful information)");?><br /><a href="<?php echo $this->baseUrl."/help/index/$lang#wiki-syntax";?>"><?php echo gtext("discover all the wiki tags");?></a></div>
+
+ <?php if (isset($descriptionPreview)) { ?>
+ <div class="description_preview_title"><?php echo gtext("Description entry preview");?>:</div>
+ <div class="description_preview">
+ <?php echo decodeWikiText($descriptionPreview); ?>
+ </div>
+ <?php } ?>
+
+ <?php echo Html_Form::textarea('description',$values['description'],'textarea_entry','bb_code');?>
+ </div>
+
+ <?php echo $hiddenInput;?>
+
+ <input type="submit" name="previewAction" value="Preview">
+ <input type="submit" name="<?php echo $submitName;?>" value="Save">
+
+ <div class="mandatory_fields_notice">
+ <?php echo gtext("Fields marked with <b>*</b> are mandatory");?>
+ </div>
+
+ </div>
+
+ </form>
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Notebooks/page.php b/h-source/Application/Views/Desktop/Notebooks/page.php
new file mode 100644
index 0000000..98b13cd
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Notebooks/page.php
@@ -0,0 +1,115 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <?php if (!$isDeleted or $isadmin) { ?>
+
+ <?php
+ $tableName = (strcmp($this->action,'view') === 0) ? 'hardware' : 'revisions';
+ $displayClass = ($isDeleted and $isadmin) ? 'display_none' : null;
+ ?>
+
+ <?php foreach ($table as $item) { ?>
+ <div class="notebooks_viewall <?php echo $displayClass;?>">
+
+ <!--if revision-->
+ <?php if (strcmp($this->action,'revision') === 0) { ?>
+ <div class="revision_alert">
+ <?php echo gtext("This is an old revision of this page, as edited by");?> <b><?php echo $u->getLinkToUserFromId($updated_by);?></b> <?php echo gtext('at');?> <b><?php echo smartDate($update_date); ?></b>. <?php echo gtext("It may differ significantly from the");?> <a href="<?php echo $this->baseUrl."/".$this->controller."/view/$lang/$id_hard/".$name.$this->viewStatus;?>"><?php echo gtext("Current revision");?></a>.
+ </div>
+ <?php } ?>
+
+ <div class="notebook_model">
+ <img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromType($item[$tableName]['type']);?>"> <span class="span_model_name"><?php echo gtext("model");?>: <b><?php echo $item[$tableName]['model'];?></b><span class="model_id">(<?php echo gtext("model id");?>: <?php echo $id_hard;?>)</span></span>
+ <?php if (strcmp($islogged,'yes') === 0 and strcmp($this->action,'view') === 0) { ?>
+ <span class="ask_for_removal_class"><a class="ask_for_removal_class_link" href="<?php echo $this->baseUrl;?>">ask for removal</a></span>
+ <?php } ?>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("vendor");?>:</div>
+ <div class="inner_value"><b><?php echo betterVendor($item[$tableName]['vendor']);?></b></div>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("subtype (notebook, netbook, tablet)");?>:</div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['subtype']);?></b></div>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("architecture");?>:</div>
+ <div class="inner_value"><b><?php echo gtext(translate($item[$tableName]['architecture']));?></b></div>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("does it have a free BIOS?");?></div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['bios']);?></b></div>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("can free operating systems be installed?");?></div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['can_free_systems_be_installed']);?></b></div>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("year of commercialization");?>:</div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['comm_year']);?></b></div>
+ </div>
+
+ <div class="notebook_compatibility">
+ <div class="inner_label"><?php echo gtext("compatibility with free software");?>:</div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['compatibility']);?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/help/index/$lang#notebook-compatibility";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
+ </div>
+
+ <div class="model_tested_on">
+ <div class="inner_label"><?php echo gtext("tested on");?>:</div>
+ <div class="inner_value"><b><?php echo Distributions::getName($item[$tableName]['distribution']);?></b></div>
+ </div>
+
+ <div class="notebook_kernel">
+ <div class="inner_label"><?php echo gtext("tested with the following kernel libre");?>:</div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['kernel'];?></b></div>
+ </div>
+
+ <div class="notebook_kernel">
+ <div class="inner_label"><?php echo gtext("video card model");?>:</div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['video_card_type'];?></b> (<?php echo gtext(Notebooks::$videoReverse[$item[$tableName]['video_card_works']]);?>)</div>
+ </div>
+
+ <div class="notebook_kernel">
+ <div class="inner_label"><?php echo gtext("wifi model");?>:</div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['wifi_type'];?></b> (<?php echo gtext(Notebooks::$wifiReverse[$item[$tableName]['wifi_works']]);?>)</div>
+ </div>
+
+ <div class="notebook_kernel">
+ <div class="inner_label"><?php echo gtext("webcam model");?>:</div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['webcam_type'];?></b> (<?php echo gtext(Notebooks::$webcamReverse[$item[$tableName]['webcam_works']]);?>)</div>
+ </div>
+
+ <div class="notebook_description">
+ <div class="notebook_description_label"><?php echo gtext("Description");?>:</div>
+ <div class="notebook_description_value"><?php echo decodeWikiText($item[$tableName]['description']);?></div>
+ </div>
+
+ </div>
+ <?php } ?>
+
+ <?php } ?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Project/index.php b/h-source/Application/Views/Desktop/Project/index.php
new file mode 100644
index 0000000..7bbad78
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Project/index.php
@@ -0,0 +1,31 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; h-project
+ </div>
+
+ <p>write in the file <b>Application/Views/Project/index.php</b> your project information</p>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Project/index_es.php b/h-source/Application/Views/Desktop/Project/index_es.php
new file mode 100644
index 0000000..d46fa19
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Project/index_es.php
@@ -0,0 +1,31 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; h-project
+ </div>
+
+
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Project/index_it.php b/h-source/Application/Views/Desktop/Project/index_it.php
new file mode 100644
index 0000000..d46fa19
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Project/index_it.php
@@ -0,0 +1,31 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; h-project
+ </div>
+
+
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Rss/modifications.php b/h-source/Application/Views/Desktop/Rss/modifications.php
new file mode 100644
index 0000000..e1a89b4
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Rss/modifications.php
@@ -0,0 +1,46 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+<?php echo "<?xml version='1.0' encoding='UTF-8'?>\n";?>
+<rss version="2.0">
+
+<channel>
+<title>www.h-node.com</title>
+<link>http://www.h-node.com</link>
+<description><?php echo gtext("Database modifications");?></description>
+
+<?php
+$u = new UsersModel();
+$translations = array('insert'=>'inserted','update'=>'updated');
+?>
+
+<?php foreach ($table as $row) { ?>
+<item>
+ <title><?php echo $row['hardware']['model'];?></title>
+ <description><![CDATA[<?php echo gtext('the model')." ".$row['hardware']['model']." ".gtext('has been '.$translations[$row['history']['action']].' by')." ".$u->getUser($row['history']['created_by']);?>]]></description>
+ <link><?php echo $this->baseUrl."/".Hardware::$typeToController[$row['hardware']['type']]."/view/$lang/".$row['hardware']['id_hard']."/".encodeUrl($row['hardware']['model']);?></link>
+ <pubDate><?php echo pubDateFormat($row['history']['creation_date']);?></pubDate>
+</item>
+
+<?php } ?>
+
+</channel>
+</rss>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Rss/notapproved.php b/h-source/Application/Views/Desktop/Rss/notapproved.php
new file mode 100644
index 0000000..8def7c5
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Rss/notapproved.php
@@ -0,0 +1,41 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+<?php echo "<?xml version='1.0' encoding='UTF-8'?>\n";?>
+<rss version="2.0">
+
+<channel>
+<title>www.h-node.com</title>
+<link>http://www.h-node.com</link>
+<description><?php echo gtext("Device pages that have to be approved");?></description>
+
+<?php foreach ($table as $row) { ?>
+<item>
+ <title><?php echo $row['hardware']['model'];?></title>
+ <description><![CDATA[<?php echo gtext('the model')." ".$row['hardware']['model']." ".gtext("has been inserted by an anonymous user, it has to be approved by an administrator in order to be published");?>]]></description>
+ <link><?php echo $this->baseUrl."/".Hardware::$typeToController[$row['hardware']['type']]."/view/$lang/".$row['hardware']['id_hard']."/".encodeUrl($row['hardware']['model']);?></link>
+ <pubDate><?php echo pubDateFormat($row['hardware']['update_date']);?></pubDate>
+</item>
+
+<?php } ?>
+
+</channel>
+</rss>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Search/form.php b/h-source/Application/Views/Desktop/Search/form.php
new file mode 100644
index 0000000..22650f5
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Search/form.php
@@ -0,0 +1,111 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <script>
+
+ $(document).ready(function() {
+
+ $(".search_form table").append("<tr><td><input id=\"search_action_input\" type=\"submit\" name=\"action\" value=\"search\"></td></tr>");
+
+ $("#search_action_input").click(function(){
+
+ var s_type = $("#search_type_input").attr("value");
+ var s_model = $("#search_model_input").attr("value");
+ var s_action = $("#search_action_input").attr("value");
+
+ var s_url = "1/" + s_action + "/" + s_type + "/" + s_model;
+
+ location.href="<?php echo $this->baseUrl."/search/results/$lang/";?>"+s_url;
+ return false;
+ });
+
+ });
+
+ </script>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext('Search form');?>
+ </div>
+
+ <div class="notebook_view_title">
+ <?php echo gtext("Search one device in the archive");?>:
+ </div>
+
+ <div class="search_form">
+ <div class="search_form_label">
+ <img class="search_img" src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/viewmag.png"> <span class="span_search_desc"><?php echo gtext("search by");?> <b><?php echo gtext("model name");?></b></span>
+ </div>
+ <noscript>
+ <div class="noscript_notice">
+ you need javascript enabled in order to use the form below
+ </div>
+ </noscript>
+ <form method="GET">
+ <table>
+ <tr>
+ <td><?php echo gtext("hardware type");?>:</td>
+ <td><?php echo Html_Form::select('type','',Hardware::getTypes(),"select_entry","search_type_input");?></td>
+ </tr>
+ <tr>
+ <td><?php echo gtext("the model name contains");?>:</td>
+ <td><?php echo Html_Form::input('model','','input_entry_search',"search_model_input");?></td>
+ </tr>
+ </table>
+ </form>
+ </div>
+
+ <div class="search_form_pciid">
+ <div class="search_form_label">
+ <img class="search_img" src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/viewmag.png"> <span class="span_search_desc"><?php echo gtext("search by");?> <b>vendorid:productid</b></span>
+ </div>
+ <form action="<?php echo $this->baseUrl."/search/pciid/".Lang::$current;?>" method="POST">
+ <table>
+ <tr>
+ <td><?php echo gtext("VendorID:ProductID code of the device");?>:</td>
+ <td><?php echo Html_Form::input('pciid','','input_entry_search');?></td>
+ </tr>
+ <tr>
+ <td><input type="submit" name="search_pci" value="search"></td>
+ </tr>
+ </table>
+ </form>
+ </div>
+
+ <div class="search_form_lspci">
+ <div class="search_form_label">
+ <img class="search_img" src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/viewmag.png"> <span class="span_search_desc"><?php echo gtext("analyze the output of the lspci command");?></span>
+ </div>
+ <form action="<?php echo $this->baseUrl."/search/lspci/".Lang::$current;?>" method="POST">
+ <table>
+ <tr>
+ <td valign="top"><?php echo gtext("paste the output of the lspci command");?>:<div class="lspci_notice">lspci -vmmnn</div></td>
+ <td><?php echo Html_Form::textarea('lspci',gtext('write here the output of lspci -vmmnn'),'textarea_entry_search');?></td>
+ </tr>
+ <tr>
+ <td><input type="submit" name="search_pci" value="search"></td>
+ </tr>
+ </table>
+ </form>
+ </div>
+ </div>
diff --git a/h-source/Application/Views/Desktop/Search/lspci_results.php b/h-source/Application/Views/Desktop/Search/lspci_results.php
new file mode 100644
index 0000000..b74867b
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Search/lspci_results.php
@@ -0,0 +1,108 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/search/form/$lang";?>"><?php echo gtext('Search form');?></a> &raquo; <?php echo gtext('Results of the search');?>
+ </div>
+
+ <div class="notebook_view_title">
+ <?php echo gtext("Results of the search");?>:
+ </div>
+
+ <div class="search_form">
+
+ <?php if (!$flag) { ?>
+ <?php echo $notice;?>
+ <div>
+ <a href="<?php echo $this->baseUrl."/search/form/$lang";?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+ <?php } ?>
+
+ <div class="found_ext">
+ <?php if (count($table)>0) { ?>
+ <div class="search_item_found">
+ <?php echo gtext("The following devices has been found in the database");?>:
+ </div>
+ <?php }?>
+
+ <?php foreach ($table as $row) { ?>
+ <div class="lspci_item_found">
+ <div class="lspci_item_found_model">
+ <img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromType($row['hardware']['type']);?>"> <span class="search_result_model_name"><?php echo "<b>".$row['hardware']['type']."</b> - <a href='".$this->baseUrl."/".Hardware::getControllerFromType($row['hardware']['type'])."/view/$lang/".$row['hardware']['id_hard']."/".encodeUrl($row['hardware']['model'])."'>".$row['hardware']['model']."</a>";?></span>
+ </div>
+ <div class="lspci_item_found_compat">
+ <?php
+ switch ($row['hardware']['type'])
+ {
+ case 'wifi':
+ echo gtext("does it work with free software?"). " <b>".gtext($row['hardware']['wifi_works'])."</b>";
+ break;
+ case 'videocard':
+ echo gtext("does it work with free software?"). " <b>".gtext(Videocard::$videoReverse[$row['hardware']['video_card_works']])."</b>";
+ break;
+ case 'soundcard':
+ echo gtext("does it work with free software?"). " <b>".gtext($row['hardware']['sound_card_works'])."</b>";
+ break;
+ case 'ethernet-card':
+ echo gtext("does it work with free software?"). " <b>".gtext($row['hardware']['ethernet_card_works'])."</b>";
+ break;
+ case 'acquisition-card':
+ echo gtext("does it work with free software?"). " <b>".gtext($row['hardware']['compatibility'])."</b>";
+ break;
+ case 'sd-card-reader':
+ echo gtext("does it work with free software?"). " <b>".gtext($row['hardware']['sd_card_works'])."</b>";
+ break;
+ }
+ ?>
+ </div>
+ </div>
+ <?php } ?>
+ </div>
+
+ <div class="found_ext">
+ <?php if (count($notFoundDevices)>0) { ?>
+ <div class="search_item_found">
+ <?php echo gtext("The following devices has not been found in the database");?>:<br />
+ <?php echo gtext("can you please insert them?");?>
+ </div>
+ <?php }?>
+
+ <?php foreach ($notFoundDevices as $device) { ?>
+ <div class="lspci_item_not_found">
+ <div class="lspci_item_found_model">
+ <img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromClass($device['classId']);?>"> <span class="search_result_model_name"><?php echo "<b>".Hardware::getTypeFromClass($device['classId'])."</b> - ".$device['deviceName'];?></span>
+ <div class="lspci_item_found_compat">
+ <ul>
+ <li><b><?php echo gtext("vendor");?>:</b><?php echo $device['vendorName'];?></li>
+ <li><b><?php echo gtext("VendorID:ProductID code of the device");?></b>: <?php echo $device['vendorId'].":".$device['deviceId'];?></li>
+ </ul>
+ <a href="<?php echo Go::toHardwareType(Hardware::getTypeFromClass($device['classId']));?>"><img align="top" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/agt_forward.png"> insert</a>
+ </div>
+ </div>
+ </div>
+ <?php } ?>
+ </div>
+ </div>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Search/results.php b/h-source/Application/Views/Desktop/Search/results.php
new file mode 100644
index 0000000..b8f3ce3
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Search/results.php
@@ -0,0 +1,87 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/search/form/$lang";?>"><?php echo gtext('Search form');?></a> &raquo; <?php echo gtext('Results of the search');?>
+ </div>
+
+ <div class="notebook_view_title">
+ <?php echo gtext("Results of the search");?>:
+ </div>
+
+ <div class="search_form">
+ <?php
+ $count = 0;
+ foreach ($table as $row) {
+ $count++;
+ ?>
+
+ <div class="search_result_item">
+ <div class="first_level">
+ <div class="search_result_item_left"><?php echo gtext("model name");?>:</div> <div class="search_result_item_right"><b><a href="<?php echo $this->baseUrl."/".MyStrings::$reverse[$row['hardware']['type']]."/view/$lang/".$row['hardware']['id_hard']."/".encodeUrl($row['hardware']['model']);?>"><?php echo $row['hardware']['model'];?></a></b></div>
+ </div>
+ <?php if ( strcmp($row['hardware']['other_names'],'') !== 0 ) { ?>
+ <div class="first_level">
+ <div class="search_result_item_left"><?php echo gtext("possible other names of the device");?>:</div> <div class="search_result_item_right"><b><?php echo nl2br($row['hardware']['other_names']);?></b></div>
+ </div>
+ <?php } ?>
+ <div class="first_level">
+ <div class="search_result_item_left"><?php echo gtext("model type");?>: </div> <div class="search_result_item_right"><b><?php echo $row['hardware']['type'];?></b></div>
+ </div>
+ <div class="first_level">
+ <div class="search_result_item_left"><?php echo gtext("year of commercialization");?>: </div> <div class="search_result_item_right"><b><?php echo $row['hardware']['comm_year'];?></b></div>
+ </div>
+ </div>
+
+ <?php } ?>
+
+ <?php if ($count === 0) { ?>
+ <?php if (strcmp($this->action,'pciid') === 0) { ?>
+
+ <div class="lspci_item_not_found">
+ <?php echo gtext("There are no devices in the database with the vendorid:productid code specified by you.");?>
+ <div class="lspci_item_not_found_inner"><?php echo gtext("Would you like to add it to the database?");?></div>
+ <ul class="insert_suggestion_list">
+ <?php foreach ($stat as $type => $number) { ?>
+ <li><img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromType($type);?>"> <a href="<?php echo $this->baseUrl."/".Hardware::getControllerFromType($type)."/insert/$lang/$token";?>"><?php echo plural(Hardware::getControllerFromType($type));?></a></li>
+ <?php } ?>
+ </ul>
+ </div>
+
+ <?php } else { ?>
+ <div class="search_result_item">
+ <?php echo gtext("No devices found");?>.
+ </div>
+ <?php } ?>
+ <?php } ?>
+
+ </div>
+
+ <?php if (strcmp($recordNumber,0) !== 0) { ?>
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+ <?php } ?>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Special/modactions.php b/h-source/Application/Views/Desktop/Special/modactions.php
new file mode 100644
index 0000000..4539aee
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Special/modactions.php
@@ -0,0 +1,78 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/my/home/$lang/$token";?>"><?php echo gtext('panel');?></a> &raquo; list of actions
+ </div>
+
+ <div class="contrib_explain_box">
+ <?php echo $viewTitle; ?>
+ </div>
+
+ <table class="listTable">
+ <tr class="listHead">
+ <td class="simpleText">ACTION ID</td>
+ <td class="simpleText"><?php echo $user_status;?></td>
+ <td class="simpleText">ACTION</td>
+ <td class="simpleText">TYPE</td>
+ <td class="simpleText">OBJECT ID</td>
+ <td class="simpleText text_item_date">DATE</td>
+ <?php if (strcmp($this->action,'usersactions') !== 0) { ?>
+ <td class="simpleText">NOTE</td>
+ <?php } ?>
+ </tr>
+ <?php foreach ($table as $row) { ?>
+ <tr class="listRow">
+ <td class="simpleText">
+ <span class='textItem'><a href="<?php echo goToModeratedItem($row['history']);?>"><?php echo $row['history']['id_history'];?></a></span>
+ </td>
+ <td class="simpleText">
+ <span class='textItem'><?php echo $u->getLinkToUserFromId($row['history']['created_by']);?></span>
+ </td>
+ <td class="simpleText">
+ <span class='textItem'><?php echo HistoryController::$actionTable[$row['history']['action']];?></span>
+ </td>
+ <td class="type_column">
+ <span class='textItem'><?php echo HistoryController::$typeTable[$row['history']['type']];?></span>
+ </td>
+ <td class="simpleText">
+ <span class='textItem'><?php echo $row['history']['id'];?></span>
+ </td>
+ <td class="simpleText text_item_date">
+ <span class='textItem'><?php echo smartDate($row['history']['creation_date']);?></span>
+ </td>
+ <?php if (strcmp($this->action,'usersactions') !== 0) { ?>
+ <td class="simpleText">
+ <span class='textItem'><?php echo $row['history']['message'];?></span>
+ </td>
+ <?php } ?>
+ </tr>
+ <?php } ?>
+ </table>
+
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Special/modifications.php b/h-source/Application/Views/Desktop/Special/modifications.php
new file mode 100644
index 0000000..1caca34
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Special/modifications.php
@@ -0,0 +1,45 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext('Database modifications');?>
+ </div>
+
+ <div class="contrib_explain_box">
+ <?php echo gtext('List of the database modifications carried out by users');?>
+ </div>
+
+ <div class="notebooks_viewall">
+ <ul class="page_history">
+ <?php foreach ($table as $row) { ?>
+ <li class="page_history_item"><?php echo gtext('the model');?> <a href="<?php echo Go::toHardwarePage($row['history']['id']);?>"><?php echo $hw->getTheModelName($row['history']['id']);?></a> <?php echo gtext('has been '.$translations[$row['history']['action']].' by');?> <?php echo $u->getLinkToUserFromId($row['history']['created_by'])?> <?php echo gtext('at');?> <?php echo smartDate($row['history']['creation_date']);?></li>
+ <?php } ?>
+ </ul>
+ </div>
+
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Special/pages_deleted.php b/h-source/Application/Views/Desktop/Special/pages_deleted.php
new file mode 100644
index 0000000..f0e69d5
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Special/pages_deleted.php
@@ -0,0 +1,45 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/my/home/$lang/$token";?>"><?php echo gtext('panel');?></a> &raquo; <?php echo gtext($titleString);?>
+ </div>
+
+ <div class="contrib_explain_box">
+ <?php echo gtext($titleString);?>
+ </div>
+
+ <div class="notebooks_viewall">
+ <ul class="page_history">
+ <?php foreach ($table as $row) { ?>
+ <li class="page_history_item"><a href="<?php echo $this->baseUrl."/".Hardware::getControllerFromType($row['hardware']['type'])."/view/$lang/".$row['hardware']['id_hard']."/".encodeUrl($row['hardware']['model']);?>"><?php echo $row['hardware']['model'];?></a></li>
+ <?php } ?>
+ </ul>
+ </div>
+
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Users/add.php b/h-source/Application/Views/Desktop/Users/add.php
new file mode 100755
index 0000000..3e8de61
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Users/add.php
@@ -0,0 +1,72 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext("create new account");?>
+ </div>
+
+ <div class="new_account_title">
+ <?php echo gtext("create new account");?>
+ </div>
+
+ <?php echo $notice;?>
+
+ <form class='formClass' action='<?php echo $this->baseUrl."/users/add/$lang";?>' method='POST'>
+
+ <div class='formEntry'>
+ <span class='entryLabel'><?php echo gtext("choose the username");?> (<?php echo gtext("characters allowed");?>: a-z A-Z 0-9):</span>
+ <?php echo Html_Form::input('username',$values['username']);?>
+ </div>
+
+ <div class='formEntry'>
+ <span class='entryLabel'><?php echo gtext("your e-mail address");?> (<?php echo gtext("necessary to confirm the registration");?>):</span>
+ <?php echo Html_Form::input('e_mail',$values['e_mail']);?>
+ </div>
+
+ <div class='formEntry'>
+ <span class='entryLabel'><?php echo gtext("choose the password");?> (<?php echo gtext("characters allowed");?>: a-z A-Z 0-9 - _ !):</span>
+ <?php echo Html_Form::password('password',$values['password']);?>
+ </div>
+
+ <div class='formEntry'>
+ <span class='entryLabel'><?php echo gtext("confirm the password");?>:</span>
+ <?php echo Html_Form::password('confirmation',$values['confirmation']);?>
+ </div>
+
+ <div class="captcha_box">
+ <img src="<?php echo $this->baseUrl?>/image/captcha">
+ </div>
+
+ <div class='formEntry'>
+ <span class='entryLabel'><?php echo gtext("write the code above");?>:</span>
+ <input type="input" name="captcha" value="">
+ </div>
+
+ <div class='inputEntry'>
+ <input id='insertAction' type='submit' name='insertAction' value='<?php echo gtext("create new account");?>'>
+ </div>
+
+ </form>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Users/change.php b/h-source/Application/Views/Desktop/Users/change.php
new file mode 100644
index 0000000..c5fdb3b
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Users/change.php
@@ -0,0 +1,30 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="confirm_notice">
+ <p>The link has expired</p>
+ <p>go to the <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">homepage</a></p>
+ </div>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Users/confirmation.php b/h-source/Application/Views/Desktop/Users/confirmation.php
new file mode 100644
index 0000000..796fb1b
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Users/confirmation.php
@@ -0,0 +1,44 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; confirmation
+ </div>
+
+ <?php if ($status_confirm) { ?>
+
+ <div class="confirm_notice">
+ <p>The account has been confirmed successfully!</p>
+ <p>go to the <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">homepage</a></p>
+ </div>
+
+ <?php } else { ?>
+
+ <div class="confirm_notice">
+ <p>The confirmation link has expired</p>
+ <p>go to the <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">homepage</a></p>
+ </div>
+
+ <?php } ?>
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Users/forgot.php b/h-source/Application/Views/Desktop/Users/forgot.php
new file mode 100644
index 0000000..ad9e046
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Users/forgot.php
@@ -0,0 +1,57 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext("request new password");?>
+ </div>
+
+ <div class="new_account_title">
+ <?php echo gtext("request new password");?>
+ </div>
+
+ <?php echo $notice;?>
+
+ <form class='formClass' action='<?php echo $this->currPage."/$lang";?>' method='POST'>
+
+ <div class='formEntry'>
+ <span class='entryLabel'><?php echo gtext("write your username");?>:</span>
+ <input type="input" name="username" value="">
+ </div>
+
+ <div class="captcha_box">
+ <img src="<?php echo $this->baseUrl?>/image/captcha">
+ </div>
+
+ <div class='formEntry'>
+ <span class='entryLabel'><?php echo gtext("write the code above");?>:</span>
+ <input type="input" name="captcha" value="">
+ </div>
+
+ <div class='inputEntry'>
+ <input id='insertAction' type='submit' name='forgotAction' value='<?php echo gtext("request new password");?>'>
+ </div>
+
+ </form>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Users/login.php b/h-source/Application/Views/Desktop/Users/login.php
new file mode 100755
index 0000000..c0c129d
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Users/login.php
@@ -0,0 +1,67 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <?php if ( strcmp($updating_flag,'no') === 0 ) { ?>
+
+ <?php if (isset($flag)) { ?>
+ <div class="login_note">
+ Sorry.. you have to be logged if you want to insert a new device in the archive or modify an existing one..
+ </div>
+ <?php } ?>
+
+ <?php echo $notice; ?>
+
+ <div class="login_box">
+ <form action = '<?php echo $action;?>' method = 'POST'>
+
+ <table>
+ <tr>
+ <td>Username</td>
+ <td><input class="login_username_input" type='text' name='username'></td>
+ </tr>
+ <tr>
+ <td>Password</td>
+ <td><input class="login_username_input" type='password' name='password'></td>
+ </tr>
+ <tr>
+ <td><input type = 'submit' value = 'login'></td>
+ </tr>
+ </table>
+
+ </form>
+
+ <div class="manage_account_link_box">
+ <a href="<?php echo $this->baseUrl."/users/add/$lang";?>"><?php echo gtext("create new account");?></a>
+ </div>
+
+ <div class="manage_account_link_box">
+ <a href="<?php echo $this->baseUrl."/users/forgot/$lang";?>"><?php echo gtext("request new password");?></a>
+ </div>
+ </div>
+
+ <?php } else { ?>
+
+ <div class="login_note">
+ Sorry, we are updating the website... it is no possible to log-in, register new accounts or request a new password. You will be able to log-in or create a new account as soon as possible. Thanks!
+ </div>
+
+ <?php } ?>
diff --git a/h-source/Application/Views/Desktop/Users/logout.php b/h-source/Application/Views/Desktop/Users/logout.php
new file mode 100755
index 0000000..8916a8b
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Users/logout.php
@@ -0,0 +1,27 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div class="logout_box">
+ <div><?php echo $notice;?></div>
+
+ <div><a href="<?php echo $this->baseUrl."/users/login/$lang";?>">login</a></div>
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Users/notice.php b/h-source/Application/Views/Desktop/Users/notice.php
new file mode 100644
index 0000000..9322adf
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Users/notice.php
@@ -0,0 +1,96 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; notice
+ </div>
+
+ <?php if ( isset($_SESSION['status']) ) { ?>
+
+ <?php if ( strcmp($_SESSION['status'],'sent') === 0 ) { ?>
+ <div class="confirm_notice">
+ <p>An e-mail has been sent to your mailbox.</p>
+ <p>If you have received no mail, then check inside the spam too</p>
+ <p>Click on the confirmation link in the e-mail in order to confirm the registration of the new account.</p>
+ <p>The confirmation link will expire in a hour.</p>
+ <p>If you don't want to confirm the account registration then wait one hour and your username and e-mail will be deleted from the database.</p>
+ <p>go to the <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">homepage</a></p>
+ </div>
+
+ <?php } else if (strcmp($_SESSION['status'],'regerror') === 0) { ?>
+
+ <div class="confirm_notice">
+ <p>Registration failed</p>
+ <p>go to the <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">homepage</a></p>
+ </div>
+
+ <?php } else if (strcmp($_SESSION['status'],'sent_new') === 0) { ?>
+
+ <div class="confirm_notice">
+ <p>An e-mail has been sent to your mailbox.</p>
+ <p>If you have received no mail, then check inside the spam too</p>
+ <p>Click on the confirmation link in the e-mail in order to change the password of your account.</p>
+ <p>The confirmation link will expire in a hour.</p>
+ <p>go to the <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">homepage</a></p>
+ </div>
+
+ <?php } else if (strcmp($_SESSION['status'],'sent_new_error') === 0) { ?>
+
+ <div class="confirm_notice">
+ <p>Registration failed</p>
+ <p>go to the <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">homepage</a></p>
+ </div>
+
+ <?php } else if (strcmp($_SESSION['status'],'sent_new_password') === 0) { ?>
+
+ <div class="confirm_notice">
+ <p>The new password has been sent to you by mail!</p>
+ <p>If you have received no mail, then check inside the spam too</p>
+ <p>go to the <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">homepage</a></p>
+ </div>
+
+ <?php } else if (strcmp($_SESSION['status'],'sent_new_password_error') === 0) { ?>
+
+ <div class="confirm_notice">
+ <p>Operation failed</p>
+ <p>go to the <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">homepage</a></p>
+ </div>
+
+ <?php } else if (strcmp($_SESSION['status'],'deleted') === 0) { ?>
+
+ <div class="confirm_notice">
+ <p>Your account has been successfully deleted</p>
+ <p>go to the <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">homepage</a></p>
+ </div>
+
+ <?php } ?>
+
+ <?php } else { ?>
+
+ <div class="confirm_notice">
+ <p>go to the <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">homepage</a></p>
+ </div>
+
+ <?php } ?>
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Wiki/climb.php b/h-source/Application/Views/Desktop/Wiki/climb.php
new file mode 100644
index 0000000..c648e7f
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Wiki/climb.php
@@ -0,0 +1,52 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+ <div id="left">
+
+ <?php if (!$isDeleted) { ?>
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo $tree;?>
+ </div>
+
+ <div class="notebook_view_title">
+ <?php echo gtext('Make this revision the current revision of the page'); ?> <b><?php echo $tree_name;?></b>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the history of the page <?php echo $tree_name;?>" href="<?php echo $this->baseUrl."/".$this->controller."/history/$lang/".$id_wiki.$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <div class="wiki_external_box">
+
+ <?php echo $notice;?>
+
+ <div class="climb_form_ext_box">
+
+ <form action="<?php echo $this->currPage."/$lang/$id_rev"; ?>" method="POST">
+ <?php echo gtext('I want to make this revision the current revision');?>: <input type="submit" name="confirmAction" value="<?php echo gtext('Confirm');?>">
+ </form>
+
+ </div>
+
+ </div>
+
+ <?php } ?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/Wiki/differences.php b/h-source/Application/Views/Desktop/Wiki/differences.php
new file mode 100644
index 0000000..9c06714
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Wiki/differences.php
@@ -0,0 +1,64 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <?php if (!$isDeleted) { ?>
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo $tree;?>
+ </div>
+
+ <?php if ($showDiff === true) { ?>
+ <div class="notebook_view_title">
+ <?php echo gtext("Differences between the revision of");?> <b><?php echo smartDate($update_new);?></b>, <?php echo gtext("created by");?> <b><?php echo getLinkToUser($u->getUser($created_by));?></b>, <?php echo gtext("and the revision of");?> <b><?php echo smartDate($update_old);?></b>
+ </div>
+ <?php } ?>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the history of the page <?php echo $tree_name;?>" href="<?php echo $this->baseUrl."/".$this->controller."/history/$lang/".$id_wiki.$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <div class="wiki_external_box">
+
+ <div class="diff_color_notice">
+ <?php echo gtext("<b>Notice</b>: the text in <del>red</del> has been deleted from the previous revision, the text in <ins>green</ins> has been added in this revision and the text in <span class='gray_text_notice'>gray</span> has not been changed.");?>
+ </div>
+
+ <?php foreach ($diffArray as $label => $text) { ?>
+
+ <div class="diff_ext_box">
+
+ <div class="diff_item_label">
+ <?php echo gtext("differences in the entry");?>: <b><?php echo $label;?></b>
+ </div>
+
+ <div class="diff_item_text">
+ <?php echo in_array($label,$fieldsWithBreaks) ? nl2br($text) : $text;?>
+ </div>
+
+ </div>
+
+ <?php } ?>
+
+ </div>
+ <?php } ?>
diff --git a/h-source/Application/Views/Desktop/Wiki/form.php b/h-source/Application/Views/Desktop/Wiki/form.php
new file mode 100644
index 0000000..38a88c4
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Wiki/form.php
@@ -0,0 +1,105 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <script>
+
+ $(document).ready(function() {
+
+ $("#bb_code").markItUp(mySettings);
+
+ });
+
+ </script>
+
+ <div id="left">
+
+ <?php if ( strcmp($this->action,'insert') === 0 ) { ?>
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/wiki/page/$lang/Main-Page";?>">Wiki</a> &raquo; <?php echo gtext('Insert'); ?>
+ </div>
+
+ <div class="notebook_view_title">
+ <?php echo gtext('Insert a new wiki page'); ?>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the wiki main page" href="<?php echo $this->baseUrl."/".$this->controller."/page/$lang/Main-Page";?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <?php } else if ( strcmp($this->action,'update') === 0 ) { ?>
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/wiki/page/$lang/Main-Page";?>">Wiki</a> &raquo; <a href="<?php echo $this->baseUrl."/wiki/page/$lang/".encodeUrl($tree_name);?>"><?php echo $tree_name;?></a> &raquo; <?php echo gtext('Update'); ?>
+ </div>
+
+ <div class="notebook_view_title">
+ <?php echo gtext('Edit the wiki page'); ?> <b><?php echo $tree_name;?></b>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the page <?php echo $tree_name;?>" href="<?php echo $this->baseUrl."/".$this->controller."/page/$lang/".encodeUrl($tree_name);?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <?php } ?>
+
+ <div class="top_licence_notice">
+ <div><b><?php echo gtext("License information");?>:</b></div>
+ <?php echo License::getSubmissionNotice();?>
+ </div>
+
+ <?php echo $notice;?>
+
+ <div class="notebooks_insert_form">
+
+ <form action="<?php echo $this->baseUrl."/".$this->controller."/".$this->action."/$lang";?>" method="POST">
+
+ <div class="edit_form">
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("the title");?>:</div>
+ <?php echo Html_Form::input('title',$values['title'],'input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("the text of the wiki page");?>:<br /><a href="<?php echo $this->baseUrl."/help/index/$lang#wiki-syntax";?>"><?php echo gtext("discover all the wiki tags");?></a></div>
+
+ <?php if (isset($pagePreview)) { ?>
+ <div class="description_preview_title"><?php echo gtext("Page preview");?>:</div>
+ <div class="description_preview">
+ <?php echo decodeWikiText($pagePreview); ?>
+ </div>
+ <?php } ?>
+
+ <?php echo Html_Form::textarea('page',$values['page'],'textarea_entry','bb_code');?>
+ </div>
+
+ <?php echo $hiddenInput;?>
+
+ <input type="submit" name="previewAction" value="<?php echo gtext("Preview");?>">
+ <input type="submit" name="<?php echo $submitName;?>" value="<?php echo gtext("Save");?>">
+
+ </div>
+
+ </form>
+ </div>
+
diff --git a/h-source/Application/Views/Desktop/Wiki/history.php b/h-source/Application/Views/Desktop/Wiki/history.php
new file mode 100644
index 0000000..e8180f5
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Wiki/history.php
@@ -0,0 +1,74 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <?php if (!$isDeleted) { ?>
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/wiki/page/$lang";?>">Wiki</a> &raquo; <a href="<?php echo $this->baseUrl."/wiki/page/$lang/".encodeUrl($tree_name);?>"><?php echo $tree_name;?></a> &raquo; <?php echo gtext('History');?>
+ </div>
+
+ <div class="notebook_view_title">
+ <?php echo gtext('History of the wiki page'); ?> <b><?php echo $tree_name;?></b>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the page <?php echo $tree_name;?>" href="<?php echo $this->baseUrl."/".$this->controller."/page/$lang/".encodeUrl($tree_name);?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <div class="wiki_external_box">
+
+ <ul class="page_history">
+
+ <?php if ($this->viewArgs['page'] === 1) { ?>
+ <?php foreach ($rev1 as $rev) { ?>
+ <li class="page_history_current_item"><b><?php echo gtext("Current revision");?>:</b> <?php echo smartDate($rev['wiki']['update_date']);?> <?php echo gtext("by");?> <?php echo $u->getLinkToUserFromId($rev['wiki']['created_by']);?> (<a href="<?php echo $this->baseUrl."/".$this->controller."/differences/$lang/$id/0".$this->viewStatus;?>">diff</a>)</li>
+ <?php } ?>
+ <?php } ?>
+
+ <?php foreach ($rev2 as $rev) { ?>
+ <li class="page_history_item">
+
+ <a href="<?php echo $this->baseUrl."/".$this->controller."/revision/$lang/".$rev['wiki_revisions']['id_rev'].$this->viewStatus;?>"><?php echo smartDate($rev['wiki_revisions']['update_date']);?></a> <?php echo gtext("by");?> <?php echo $u->getLinkToUserFromId($rev['wiki_revisions']['created_by']);?>
+
+ <?php if (strcmp($rev['wiki_revisions']['id_rev'],$firstRev) !== 0) {?>
+ (<a href="<?php echo $this->baseUrl."/".$this->controller."/differences/$lang/$id/".$rev['wiki_revisions']['id_rev'].$this->viewStatus;?>">diff</a>)
+ <?php } ?>
+
+ <?php if ($islogged === 'yes' and !$isBlocked) { ?>
+ (<a href="<?php echo $this->baseUrl.'/'.$this->controller.'/climb/'.$lang.'/'.$rev['wiki_revisions']['id_rev'].$this->viewStatus;?>"><?php echo gtext('Make current'); ?></a>)
+ <?php } ?>
+
+ </li>
+ <?php } ?>
+
+ </ul>
+
+ </div>
+
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+
+ <?php } ?>
+
diff --git a/h-source/Application/Views/Desktop/Wiki/modifications.php b/h-source/Application/Views/Desktop/Wiki/modifications.php
new file mode 100644
index 0000000..71e50c9
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Wiki/modifications.php
@@ -0,0 +1,45 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/wiki/page/$lang/Main-Page";?>">Wiki</a> &raquo; <?php echo gtext('Wiki modifications');?>
+ </div>
+
+ <div class="contrib_explain_box">
+ <?php echo gtext('List of the wiki modifications carried out by users');?>
+ </div>
+
+ <div class="notebooks_viewall">
+ <ul class="page_history">
+ <?php foreach ($table as $row) { ?>
+ <li class="page_history_item"><?php echo gtext('the text of the wiki page');?> <a href="<?php echo $wiki->toWikiPage($row['history']['id']);?>"><?php echo $wiki->getTheModelName($row['history']['id']);?></a> <?php echo gtext('has been '.$translations[$row['history']['action']].' by');?> <?php echo $u->getLinkToUserFromId($row['history']['created_by'])?> <?php echo gtext('at');?> <?php echo smartDate($row['history']['creation_date']);?></li>
+ <?php } ?>
+ </ul>
+ </div>
+
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Wiki/not_found.php b/h-source/Application/Views/Desktop/Wiki/not_found.php
new file mode 100644
index 0000000..cd435de
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Wiki/not_found.php
@@ -0,0 +1,34 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/wiki/page/$lang";?>">Wiki</a> &raquo; <?php echo gtext('Page not-found'); ?>
+ </div>
+
+ <div class="wiki_external_box">
+ <div>
+ <?php echo gtext('the wiki page has not been found');?>. <a href="<?php echo $this->baseUrl."/wiki/insert/$lang";?>"><?php echo gtext('Would you like to insert it?');?></a>
+ </div>
+ </div>
+
diff --git a/h-source/Application/Views/Desktop/Wiki/page.php b/h-source/Application/Views/Desktop/Wiki/page.php
new file mode 100644
index 0000000..1716edc
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Wiki/page.php
@@ -0,0 +1,154 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <?php
+ $tableName = strcmp($this->action,'page') === 0 ? 'wiki' : 'wiki_revisions';
+ $displayClass = ($isDeleted) ? 'display_none' : null;
+ ?>
+
+ <?php if ( strcmp($this->action,'page') === 0 ) { ?>
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/wiki/page/$lang/Main-Page";?>">Wiki</a> &raquo; <?php echo $tree_name;?>
+ </div>
+
+ <!--block the page-->
+ <?php if ($isadmin) { ?>
+ <div class="moderator_box_deleted">
+ <?php if ($isBlocked) { ?>
+ <?php echo gtext('This wiki page has been blocked'); ?>
+
+ <a id="<?php echo $id_wiki;?>" class="pageunblock_page block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/unlock.png"><?php echo gtext('unblock the wiki page'); ?></a>
+
+ <?php } else { ?>
+
+ <a id="<?php echo $id_wiki;?>" class="pageblock_page block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/lock.png"><?php echo gtext('block the wiki page'); ?></a>
+
+ <?php } ?>
+
+ <?php if ($isDeleted) { ?>
+ <div class="wiki_hidden_notice"><?php echo gtext('This wiki page has been deleted'); ?></div>
+
+ <a id="<?php echo $id_wiki;?>" class="pageshow_page_del block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_ok.png"><?php echo gtext('restore the wiki page'); ?></a>
+
+ <?php } else { ?>
+
+ <a id="<?php echo $id_wiki;?>" class="pagehide_page_del block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_cancel.png"><?php echo gtext('delete the wiki page'); ?></a>
+
+ <?php } ?>
+
+ <!--view details-->
+ <div class="show_hidden_box_ext">
+ <div class="md_type">page</div>
+ <?php if ($isDeleted) { ?>
+ <a class="hidden_message_view_page" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><?php echo gtext("see the page");?></a> |
+ <?php } ?>
+ <a id="<?php echo $id_wiki;?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a>
+ <div class="moderation_details_box"></div>
+ </div>
+
+ </div>
+ <?php } ?>
+
+ <div class="notebook_insert_link">
+ <div class="view_page_back_button">
+ <a title="Insert a new wiki page" href="<?php echo $this->baseUrl."/".$this->controller."/insert/$lang";?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/new-60.png"></a>
+ </div>
+
+ <?php if (!$isDeleted) { ?>
+ <div class="view_page_history_button">
+ <a title="talk page" href="<?php echo $this->baseUrl."/".$this->controller."/talk/$lang/$id_wiki";?>"><img class="top_left_note_image" src="<?php echo $this->baseUrl;?>/Public/Img/talk-60.png"></a>
+ </div>
+
+ <div class="view_page_history_button">
+ <a title="history page" href="<?php echo $this->baseUrl."/".$this->controller."/history/$lang/$id_wiki";?>"><img class="top_left_note_image" src="<?php echo $this->baseUrl;?>/Public/Img/history-60.png"></a>
+ </div>
+ <?php } ?>
+
+ <?php if (!$isDeleted and !$isBlocked) { ?>
+ <div class="view_page_update_button">
+ <form action="<?php echo $this->baseUrl."/".$this->controller."/update/$lang";?>" method="POST">
+ <input title="edit page" class="update_submit_class" type="image" src="<?php echo $this->baseUrl;?>/Public/Img/edit-60.png" value="xedit">
+ <input type="hidden" name="id_wiki" value="<?php echo $id_wiki;?>">
+ </form>
+ </div>
+ <?php } ?>
+ </div>
+
+ <?php if (!$isDeleted) { ?>
+ <div class="talk_numb_ext_wiki">
+ <a href="<?php echo $this->baseUrl."/".$this->controller."/talk/$lang/$id_wiki";?>"><?php echo gtext("talk messages");?>: <?php echo $talk_number;?></a>
+ </div>
+ <?php } ?>
+
+ <?php } else if ( strcmp($this->action,'revision') === 0 ) { ?>
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo $tree; ?>
+ </div>
+
+ <div class="notebook_view_title">
+ <?php echo gtext("Revision of the wiki page");?> <b><?php echo $tree_name;?></b>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the history of the page <?php echo $tree_name;?>" href="<?php echo $this->baseUrl."/".$this->controller."/history/$lang/".$id_wiki.$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <?php } ?>
+
+ <div class="wiki_external_box <?php echo $displayClass;?>">
+
+ <?php if (!$isDeleted or $isadmin) { ?>
+
+ <!--if revision-->
+ <?php if (strcmp($this->action,'revision') === 0) { ?>
+ <div class="revision_alert">
+ <?php echo gtext("This is an old revision of this page, as edited by");?> <b><?php echo $u->getLinkToUserFromId($created_by);?></b> <?php echo gtext('at');?> <b><?php echo smartDate($update_date); ?></b>. <?php echo gtext("It may differ significantly from the");?> <a href="<?php echo $this->baseUrl."/wiki/page/$lang/".encodeUrl($tree_name);?>"><?php echo gtext("Current revision");?></a></a>.
+ </div>
+ <?php } ?>
+
+ <?php foreach ($table as $page) { ?>
+ <div class="wiki_page_title">
+ <?php echo $page[$tableName]['title']?>
+ <?php if ( strcmp($this->action,'page') === 0 ) { ?>
+ <?php if ($isBlocked) { ?>
+ <span class="blocked_notice"><?php echo gtext('This wiki page has been blocked'); ?></span>
+ <?php } ?>
+ <?php } ?>
+ </div>
+ <div class="wiki_page_content">
+ <?php echo decodeWikiText($page[$tableName]['page'])?>
+ </div>
+ <?php } ?>
+
+ <? } ?>
+
+ </div>
+
+ <?php if ($isDeleted) { ?>
+ <div class="revision_alert">
+ <?php echo gtext('This wiki page has been deleted'); ?>
+ </div>
+ <?php } ?>
diff --git a/h-source/Application/Views/Desktop/Wiki/pages.php b/h-source/Application/Views/Desktop/Wiki/pages.php
new file mode 100644
index 0000000..7a6918a
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Wiki/pages.php
@@ -0,0 +1,45 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/wiki/page/$lang/Main-Page";?>">Wiki</a> &raquo; <?php echo gtext($topString);?>
+ </div>
+
+ <div class="contrib_explain_box">
+ <?php echo gtext($topString);?>
+ </div>
+
+ <div class="notebooks_viewall">
+ <ul class="page_history">
+ <?php foreach ($table as $row) { ?>
+ <li class="page_history_item"><a href="<?php echo $wiki->toWikiPage($row['wiki']['id_wiki']);?>"><?php echo $row['wiki']['title'];?></a></li>
+ <?php } ?>
+ </ul>
+ </div>
+
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/Wiki/talk.php b/h-source/Application/Views/Desktop/Wiki/talk.php
new file mode 100644
index 0000000..67947d2
--- /dev/null
+++ b/h-source/Application/Views/Desktop/Wiki/talk.php
@@ -0,0 +1,173 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <script>
+
+ $(document).ready(function() {
+
+ $("#bb_code").markItUp(mySettings);
+
+ });
+
+ </script>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo $tree; ?>
+ </div>
+
+ <div class="notebook_view_title">
+ <?php echo gtext('Talk page of the wiki page'); ?> <b><?php echo $tree_name;?></b>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the page <?php echo $tree_name;?>" href="<?php echo $this->baseUrl."/".$this->controller."/page/$lang/".encodeUrl($tree_name);?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <?php if (!$isDeleted) { ?>
+ <?php if (!$isBlocked) { ?>
+
+ <div class="wiki_external_box">
+
+ <?php foreach ($table as $message) { ?>
+
+ <?php if (strcmp($message['wiki_talk']['deleted'],'no') === 0) { ?>
+
+ <a name="wiki-talk-<?php echo $message['wiki_talk']['id_talk'];?>"></a>
+ <div class="talk_message_item">
+
+ <div class="talk_message_item_title_date">
+ <?php if ($ismoderator) { ?>
+ <a id="<?php echo $message['wiki_talk']['id_talk'];?>" class="hide_wiki_talk hide_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_cancel.png">hide</a>
+ <?php } ?>
+
+ <div class="talk_message_item_title">
+ <?php echo $message['wiki_talk']['title'];?>
+ </div>
+
+ <div class="talk_message_item_date">
+ <?php echo gtext("by");?> <?php echo getLinkToUser($u->getUser($message['wiki_talk']['created_by']));?>, <?php echo smartDate($message['wiki_talk']['creation_date']);?>
+ </div>
+ </div>
+
+ <div class="talk_message_item_content">
+ <?php echo decodeWikiText($message['wiki_talk']['message']);?>
+ </div>
+
+ <?php if ($ismoderator) { ?>
+ <!--view details-->
+ <div class="show_hidden_box_ext">
+ <div class="md_type">wiki_talk</div>
+ <a id="<?php echo $message['wiki_talk']['id_talk'];?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a>
+ <div class="moderation_details_box"></div>
+ </div>
+ <?php } ?>
+
+ </div>
+
+ <?php } else { ?>
+
+ <?php if ($ismoderator) { ?>
+ <a name="wiki-talk-<?php echo $message['wiki_talk']['id_talk'];?>"></a>
+ <div class="talk_message_item_hidden">
+ this message has been deleted
+
+ <a id="<?php echo $message['wiki_talk']['id_talk'];?>" class="show_wiki_talk hide_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_ok.png">make visible</a>
+
+ <!--view details-->
+ <div class="show_hidden_box_ext">
+ <div class="md_type">wiki_talk</div>
+
+ <a id="<?php echo $message['wiki_talk']['id_talk'];?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a>
+
+ <div class="details_of_hidden_message">
+ <div class="details_of_hidden_message_inner">
+ <div class="talk_message_item_date">
+ submitted by <?php echo getLinkToUser($u->getUser($message['wiki_talk']['created_by']));?>, <?php echo smartDate($message['wiki_talk']['creation_date']);?>
+ </div>
+ <div class="message_view_description_hidden">
+ <?php echo decodeWikiText($message['wiki_talk']['message']);?>
+ </div>
+ </div>
+ <div class="moderation_details_box"></div>
+ </div>
+ </div>
+
+
+ </div>
+ <?php } ?>
+
+ <?php } ?>
+
+ <?php } ?>
+ </div>
+
+ <?php if ($islogged === 'yes') { ?>
+
+ <div class="talk_form_external_box">
+ <div class="talk_login_notice">
+ <a name="form"><?php echo gtext("Add a message");?></a>
+ </div>
+
+ <?php echo $notice;?>
+
+ <div class="notebooks_insert_form">
+ <form action="<?php echo $this->baseUrl."/".$this->controller."/talk/$lang/$id_wiki";?>#form" method="POST">
+
+ <div class="edit_form">
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("TITLE");?>:</div>
+ <?php echo Html_Form::input('title',$values['title'],'talk_input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("MESSAGE");?>:</div>
+ <?php echo Html_Form::textarea('message',$values['message'],'talk_textarea_entry','bb_code');?>
+ </div>
+
+ <input type="submit" name="insertAction" value="<?php echo gtext("Save");?>">
+
+ </div>
+
+ </form>
+ </div>
+ </div>
+
+ <?php } else { ?>
+
+ <div class="talk_login_notice">
+ <a name="form"><?php echo gtext("You have to");?> <a href="<?php echo $this->baseUrl."/users/login/$lang?redirect=".$currPos.$queryString;?>">login</a> <?php echo gtext("in order to add a message");?></a>
+ </div>
+
+ <?php } ?>
+
+ <?php } else { ?>
+ <!--is blocked-->
+ <div class="wiki_external_box">
+ <?php echo gtext('This wiki page has been blocked'); ?>
+ </div>
+ <?php } ?>
+ <!--close deleted-->
+ <?php } ?>
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/bottom_left.php b/h-source/Application/Views/Desktop/bottom_left.php
new file mode 100644
index 0000000..545a6ea
--- /dev/null
+++ b/h-source/Application/Views/Desktop/bottom_left.php
@@ -0,0 +1,29 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <?php if (strcmp($this->action,'talk') !== 0) { ?>
+ <div class="bottom_licence_notice">
+ <?php echo License::getBottom();?>
+ </div>
+ <?php } ?>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/catalogue.php b/h-source/Application/Views/Desktop/catalogue.php
new file mode 100644
index 0000000..ca0d735
--- /dev/null
+++ b/h-source/Application/Views/Desktop/catalogue.php
@@ -0,0 +1,98 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div class="viewall_popup_menu_box_external">
+ <div class="viewall_popup_menu_box">
+ <?php echo $popup;?>
+ </div>
+ <div class="viewall_popup_menu_status">
+ <?php echo $popupLabel;?>
+ </div>
+ </div>
+
+ <!--if no notebooks found-->
+ <?php if (strcmp($recordNumber,0) === 0) { ?>
+ <div class="viewall_no_items_found">
+ <?php echo gtext($notFoundString);?>..
+ </div>
+ <?php } ?>
+
+ <!--loop-->
+ <?php foreach ($table as $item) {?>
+ <div class="model_viewall">
+
+ <div class="notebook_model">
+ <img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromType($item['hardware']['type']);?>"> <span class="span_model_name"><?php echo gtext("model");?>: <b><?php echo $item['hardware']['model'];?></b></span>
+ </div>
+
+ <?php if ( strcmp($item['hardware']['other_names'],'') !== 0 ) { ?>
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("possible other names of the device");?>:</div>
+ <div class="inner_value"><?php echo nl2br($item['hardware']['other_names']);?></div>
+ </div>
+ <?php } ?>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("vendor");?>:</div>
+ <div class="inner_value"><?php echo betterVendor($item['hardware']['vendor']);?></div>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("year of commercialization");?>:</div>
+ <div class="inner_value"><b><?php echo gtext($item['hardware']['comm_year']);?></b></div>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("interface");?>:</div>
+ <div class="inner_value"><b><?php echo gtext(translate($item['hardware']['interface']));?></b></div>
+ </div>
+
+ <div class="notebook_kernel">
+ <?php if (strcmp($this->controller,'printers') === 0 or strcmp($this->controller,'scanners') === 0) { ?>
+ <div class="inner_label"><?php echo gtext("compatibility with free software");?></div>
+ <?php } else if (strcmp($this->controller,'videocards') === 0 ) { ?>
+ <div class="inner_label"><?php echo gtext("how does it work with free software?");?></div>
+ <?php } else { ?>
+ <div class="inner_label"><?php echo gtext("does it work with free software?");?></div>
+ <?php } ?>
+ <div class="inner_value"><b><?php echo gtext(translate($item['hardware'][$worksField]));?></b></div>
+ </div>
+
+ <?php if (strcmp($this->controller,'printers') === 0 ) { ?>
+ <div class="notebook_kernel">
+ <div class="inner_label"><?php echo gtext("does it adopt any techniques to track users?");?></div>
+ <div class="inner_value"><b><?php echo gtext($item['hardware']['it_tracks_users']);?></b></div>
+ </div>
+ <?php } ?>
+
+ <div class="notebook_view_link">
+ <a href="<?php echo $this->baseUrl."/".$this->controller."/view/$lang/".$item['hardware']['id_hard'].'/'.encodeUrl($item['hardware']['model']).$this->viewStatus;?>"><?php echo gtext("view the other specifications");?>..</a>
+ </div>
+
+ </div>
+ <?php } ?>
+
+ <?php if (strcmp($recordNumber,0) !== 0) { ?>
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+ <?php } ?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/cleared.php b/h-source/Application/Views/Desktop/cleared.php
new file mode 100644
index 0000000..ef1cfb3
--- /dev/null
+++ b/h-source/Application/Views/Desktop/cleared.php
@@ -0,0 +1,28 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+
+ <div class="notebooks_viewall">
+ <div class="revision_alert">
+ <?php echo gtext('This page has been permanently deleted by an administrator of the website');?>
+ </div>
+ </div>
diff --git a/h-source/Application/Views/Desktop/climb.php b/h-source/Application/Views/Desktop/climb.php
new file mode 100644
index 0000000..ffcae52
--- /dev/null
+++ b/h-source/Application/Views/Desktop/climb.php
@@ -0,0 +1,37 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div class="notebooks_viewall">
+
+ <?php echo $notice;?>
+
+ <div class="climb_form_ext_box">
+
+ <?php if (!$isDeleted) { ?>
+ <form action="<?php echo $this->currPage."/$lang/$id_rev/$token".$this->viewStatus;?>" method="POST">
+ I want to make this revision the current revision: <input type="submit" name="confirmAction" value="confirm">
+ </form>
+ <?php } ?>
+
+ </div>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/dialog.php b/h-source/Application/Views/Desktop/dialog.php
new file mode 100644
index 0000000..bbbe1ae
--- /dev/null
+++ b/h-source/Application/Views/Desktop/dialog.php
@@ -0,0 +1,102 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+<script type="text/javascript">
+
+ $(function(){
+
+ $("#dialog-form").css("display","block");
+
+ $('#n_dialog').dialog({
+ autoOpen: false,
+ width: 500
+ });
+
+ // Dialog
+ $('#dialog-form').dialog({
+ autoOpen: false,
+ width: 500,
+ buttons: {
+ "Send": function() {
+
+ var d_id_hard = $(".dialod_hidden_id_hard").attr("value");
+ var d_object = encodeURIComponent($("#object").attr("value"));
+ var d_message = encodeURIComponent($("#message").attr("value"));
+ var d_id_duplicate = encodeURIComponent($("#id_duplicate").attr("value"));
+
+ $.ajax({
+ type: "POST",
+ url: "<?php echo $this->baseUrl.'/generic/del/'.$lang.'/'.$token;?>",
+ data: "id_hard="+d_id_hard+"&object="+d_object+"&message="+d_message+"&id_duplicate="+d_id_duplicate+"&insertAction=save",
+ async: false,
+ cache:false,
+ dataType: "html",
+ success: function(html){
+ $(".n_dialog_inner").text(html);
+ $('#n_dialog').dialog('open');
+ }
+ });
+
+ $(this).dialog("close");
+ },
+ "Cancel": function() {
+ $(this).dialog("close");
+ }
+ }
+ });
+
+ // Dialog Link
+ $('.ask_for_removal_class_link').click(function(){
+ $('#dialog-form').dialog('open');
+ return false;
+ });
+
+ });
+</script>
+
+
+<div id="dialog-form" title="Ask for the removal of this device">
+<!-- <p class="validateTips">Ask for removal:</p> -->
+ <form>
+ <table>
+ <tr>
+ <td><label for="object">why?</label></td>
+ <td><?php echo Html_Form::select('object','duplicated','duplication,other',null,"object");?></td>
+ </tr>
+ <tr>
+ <td><label for="message">message</label></td>
+ <td><textarea name="message" id="message">Write here your message..</textarea></td>
+ </tr>
+ <tr>
+ <td><label for="id_duplicate">duplicated model (write the id)</label></td>
+ <td><input type="text" id="id_duplicate" type="hidden" name="id_duplicate" value=""></td>
+ </tr>
+ <input class="dialod_hidden_id_hard" type="hidden" name="id_hard" value="<?php echo $id_hard;?>">
+ </table>
+ </form>
+</div>
+
+<div id="n_dialog" title="Notice:">
+ <div class="n_dialog_inner">
+
+ </div>
+</div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/differences.php b/h-source/Application/Views/Desktop/differences.php
new file mode 100644
index 0000000..c634d19
--- /dev/null
+++ b/h-source/Application/Views/Desktop/differences.php
@@ -0,0 +1,49 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div class="notebooks_viewall">
+
+ <?php if (!$isDeleted) { ?>
+
+ <div class="diff_color_notice">
+ <?php echo gtext("<b>Notice</b>: the text in <del>red</del> has been deleted from the previous revision, the text in <ins>green</ins> has been added in this revision and the text in <span class='gray_text_notice'>gray</span> has not been changed.");?>
+ </div>
+
+ <?php foreach ($diffArray as $label => $text) { ?>
+
+ <div class="diff_ext_box">
+
+ <div class="diff_item_label">
+ <?php echo gtext("differences in the entry");?>: <b><?php echo $label;?></b>
+ </div>
+
+ <div class="diff_item_text">
+ <?php echo in_array($label,$fieldsWithBreaks) ? nl2br($text) : $text;?>
+ </div>
+
+ </div>
+
+ <?php } ?>
+
+ <?php } ?>
+
+ </div>
diff --git a/h-source/Application/Views/Desktop/footer.php b/h-source/Application/Views/Desktop/footer.php
new file mode 100644
index 0000000..56dbcda
--- /dev/null
+++ b/h-source/Application/Views/Desktop/footer.php
@@ -0,0 +1,40 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="footer">
+ <div class="copyright_notice_box">
+ The <a href="<?php echo $this->baseUrl."/project/index/$lang";?>"><?php echo Website::$projectName;?></a> Project
+ </div>
+
+ <div class="footer_credits_box">
+ <a href="<?php echo $this->baseUrl."/credits/index/$lang";?>">credits</a>
+ </div>
+
+ <div class="footer_credits_box">
+ <a href="<?php echo $this->baseUrl."/contact/index/$lang";?>">contact</a>
+ </div>
+ </div> <!--fine footer-->
+
+</div> <!--fine container-->
+
+</body>
+</html>
diff --git a/h-source/Application/Views/Desktop/form.php b/h-source/Application/Views/Desktop/form.php
new file mode 100644
index 0000000..5d04566
--- /dev/null
+++ b/h-source/Application/Views/Desktop/form.php
@@ -0,0 +1,157 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <script>
+
+ $(document).ready(function() {
+
+ dist_list_helper();
+
+ $("#bb_code").markItUp(mySettings);
+
+ });
+
+ </script>
+
+ <?php echo $notice;?>
+
+ <div class="notebooks_insert_form">
+ <form action="<?php echo $this->baseUrl."/".$this->controller."/".$this->action."/$lang/$token".$this->viewStatus;?>" method="POST">
+
+ <div class="edit_form">
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("model name");?>: <b>*</b><br /><a target="blank" href="<?php echo $this->baseUrl."/help/index/$lang#model-name";?>"><?php echo gtext("learn how to find it");?></a><br /><span class="entry_label_small"><?php echo gtext("Write here the model name obtained by the lspci or lsusb command.");?></span></div>
+ <?php echo Html_Form::input('model',$values['model'],'input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("possible other names of the device");?>:<br /><span class="entry_label_small"><?php echo gtext("Add here the device name as written on the device itself or on the device box. Add it only if it is different from the <i>model name</i> already inserted inside the above entry. Add the new name in such a way that there is one name per row.");?></span></div>
+ <?php echo Html_Form::textarea('other_names',$values['other_names'],'device_textarea_entry');?>
+ </div>
+
+ <?php if (strcmp($this->controller,'printers') === 0 ) { ?>
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("subtype");?> (laser, inkjet, ..):</div>
+ <?php echo Html_Form::select('subtype',$values['subtype'],Printer::$subtype,"select_entry");?>
+ </div>
+ <?php } ?>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("VendorID:ProductID code of the device");?>: <b>*</b><br /><a target="blank" href="<?php echo $this->baseUrl."/help/index/$lang#vendoridproductid";?>"><?php echo gtext("learn how to find it");?></a></div>
+ <?php echo Html_Form::input('pci_id',$values['pci_id'],'input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("year of commercialization");?></div>
+ <?php echo Html_Form::select('comm_year',$values['comm_year'],Notebooks::$commYear,"select_entry");?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("interface");?> (<?php echo gtext("set not-specified if not sure");?>)</div>
+ <?php echo Html_Form::select('interface',$values['interface'],$intefaceOptions,"select_entry");?>
+ </div>
+
+ <div class="form_entry td_with_distribution_checkboxes">
+ <div class="entry_label"><?php echo gtext("GNU/Linux distribution used for the test");?>: <b>*</b></div>
+ <?php include(ROOT . DS . APPLICATION_PATH . DS . 'Views' . DS . 'noscript_distributions.php');?>
+ <?php echo Html_Form::input('distribution',$values['distribution'],'input_entry input_distribution');?>
+ <?php echo Distributions::getFormHtml();?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("tested with the following kernel libre");?>:</div>
+ <?php echo Html_Form::input('kernel',$values['kernel'],'input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label hidden_x_explorer">
+ <?php
+ if (strcmp($this->controller,'printers') === 0 or strcmp($this->controller,'scanners') === 0 )
+ {
+ echo gtext("compatibility with free software").":";
+ }
+ else
+ {
+ echo gtext("does it work with free software?");
+ }
+ ?>
+ </div>
+ <?php echo Html_Form::select($worksField,$values[$worksField],$worksOptions,"select_entry hidden_x_explorer");?>
+ <?php if (strcmp($this->controller,'printers') === 0 or strcmp($this->controller,'scanners') === 0) {
+ switch ($this->controller)
+ {
+ case 'printers':
+ $fragment = 'printer-compatibility';
+ break;
+ case 'scanners':
+ $fragment = 'scanner-compatibility';
+ break;
+ }
+ ?>
+ <!--if it is a printer-->
+ <a class="open_help_window" title="compatibility help page" target="blank" href="<?php echo $this->baseUrl."/help/index/$lang#$fragment";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a>
+ <?php } ?>
+ </div>
+
+ <?php if (strcmp($this->controller,'printers') === 0 ) { ?>
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("does it adopt any techniques to track users?");?><?php echo $tracksHelpLabel;?></div>
+ <?php echo Html_Form::select('it_tracks_users',$values['it_tracks_users'],Hardware::$trackSelect,"select_entry");?>
+ </div>
+ <?php } ?>
+
+ <div class="form_entry">
+ <div class="entry_label hidden_x_explorer"><?php echo gtext("free driver used");?> (<?php echo gtext("see the help page or leave blank if you are not sure");?>):</div>
+ <?php echo Html_Form::input('driver',$values['driver'],'input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("Description: (write here all the useful information)");?><br /><a href="<?php echo $this->baseUrl."/help/index/$lang#wiki-syntax";?>"><?php echo gtext("discover all the wiki tags");?></a></div>
+ <?php if (strcmp($this->controller,'threegcards') === 0 ) { ?>
+ <!--if it is a 3G-card-->
+ <div class="isp_notice"><?php echo gtext("Please specify in the below description entry the Internet Service Provider (ISP) and the country where the service is provided");?></div>
+ <?php } ?>
+
+ <?php if (isset($descriptionPreview)) { ?>
+ <div class="description_preview_title"><?php echo gtext("Description entry preview");?>:</div>
+ <div class="description_preview">
+ <?php echo decodeWikiText($descriptionPreview); ?>
+ </div>
+ <?php } ?>
+
+ <?php echo Html_Form::textarea('description',$values['description'],'textarea_entry','bb_code');?>
+ </div>
+
+ <?php echo $hiddenInput;?>
+
+ <input type="submit" name="previewAction" value="Preview">
+ <input type="submit" name="<?php echo $submitName;?>" value="Save">
+
+ <div class="mandatory_fields_notice">
+ <?php echo gtext("Fields marked with <b>*</b> are mandatory");?>
+ </div>
+
+ </div>
+
+ </form>
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/header.php b/h-source/Application/Views/Desktop/header.php
new file mode 100644
index 0000000..8d5e681
--- /dev/null
+++ b/h-source/Application/Views/Desktop/header.php
@@ -0,0 +1,91 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+<?php
+$u = new UsersModel();
+$hw = new HardwareModel();
+$wiki = new WikiModel();
+$translations = array('insert'=>'inserted','update'=>'updated');
+$currPos = $querySanitized ? $this->controller."/".$this->action : 'home/index';
+?>
+<head>
+
+ <title><?php echo $title;?></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <meta name="description" content="free software project with the aim of collecting information about the hardware that works with a fully free operating system" />
+ <meta name="keywords" content="hardware database free software GNU Linux distribution wiki users freedom" />
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl?>/Public/Css/main.css">
+ <link rel="Shortcut Icon" href="<?php echo $this->baseUrl?>/Public/Img/tab_icon_2.ico" type="image/x-icon">
+
+ <!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Css/explorer7.css">
+ <![endif]-->
+
+ <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/jquery/jquery-1.4.2.min.js"></script>
+ <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/functions.js"></script>
+
+ <!--markitup-->
+ <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/markitup/jquery.markitup.js"></script>
+ <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/markitup/sets/bbcode/set.js"></script>
+
+ <!-- markItUp! skin -->
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Js/markitup/skins/simple/style.css" />
+ <!-- markItUp! toolbar skin -->
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Js/markitup/sets/bbcode/style.css" />
+
+ <!-- jQuery ui -->
+ <link rel="stylesheet" href="<?php echo $this->baseUrl;?>/Public/Js/jquery/ui/css/excite-bike/jquery-ui-1.8.14.custom.css" rel="stylesheet" />
+ <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/jquery/ui/js/jquery-ui-1.8.14.custom.min.js"></script>
+
+ <script type="text/javascript">
+
+ var base_url = "<?php echo $this->baseUrl;?>";
+ var curr_lang = "<?php echo $lang;?>";
+ var csrf_token = "<?php echo $token;?>";
+
+ $(document).ready(function() {
+
+ animateTabs(curr_lang);
+
+ });
+
+ </script>
+
+</head>
+<body>
+
+
+<div id="external_header">
+ <div id="header">
+ <img src="<?php echo $this->baseUrl;?>/Public/Img/title.png">
+ </div>
+</div>
+
+<div id="top_menu_external">
+ <div id="top_menu">
+ <ul>
+ <li<?php echo $tm['home']; ?>><a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a></li><li<?php echo $tm['hardware']; ?>><a href="<?php echo $this->baseUrl."/hardware/catalogue/$lang";?>"><?php echo gtext("Hardware");?></a></li><li<?php echo $tm['issues']; ?>><a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>"><?php echo gtext("Issues");?></a></li><li<?php echo $tm['search']; ?>><a href="<?php echo $this->baseUrl."/search/form/$lang";?>"><?php echo gtext("Search");?></a></li><li<?php echo $tm['news']; ?>><a href="<?php echo $this->baseUrl."/news/index/$lang";?>"><?php echo gtext("News");?></a></li><li<?php echo $tm['download']; ?>><a href="<?php echo $this->baseUrl."/download/index/$lang";?>"><?php echo gtext("Download");?></a></li><li<?php echo $tm['help']; ?>><a href="<?php echo $this->baseUrl."/help/index/$lang";?>"><?php echo gtext("Help");?></a></li><li<?php echo $tm['wiki']; ?>><a href="<?php echo $this->baseUrl."/wiki/page/$lang/Main-Page";?>">Wiki</a></li>
+ </ul>
+ </div>
+</div>
+
+<div id="container">
diff --git a/h-source/Application/Views/Desktop/history.php b/h-source/Application/Views/Desktop/history.php
new file mode 100644
index 0000000..bacf28a
--- /dev/null
+++ b/h-source/Application/Views/Desktop/history.php
@@ -0,0 +1,63 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <?php if (!$isDeleted) { ?>
+
+ <div class="notebooks_viewall">
+
+ <ul class="page_history">
+
+ <?php if ($this->viewArgs['history_page'] === 1) { ?>
+ <?php foreach ($rev1 as $rev) { ?>
+ <li class="page_history_current_item"><b><?php echo gtext("Current revision");?>:</b> <?php echo smartDate($rev['hardware']['update_date']);?> <?php echo gtext('by');?> <?php echo $u->getLinkToUserFromId($rev['hardware']['updated_by']);?> (<a href="<?php echo $this->baseUrl."/".$this->controller."/differences/$lang/$id/0".$this->viewStatus;?>">diff</a>)</li>
+ <?php } ?>
+ <?php } ?>
+
+ <?php foreach ($rev2 as $rev) { ?>
+ <li class="page_history_item">
+
+ <a href="<?php echo $this->baseUrl."/".$this->controller."/revision/$lang/".$rev['revisions']['id_rev'].$this->viewStatus;?>"><?php echo smartDate($rev['revisions']['update_date']);?></a> <?php echo gtext('by');?> <?php echo $u->getLinkToUserFromId($rev['revisions']['updated_by']);?>
+
+ <?php if (strcmp($rev['revisions']['id_rev'],$firstRev) !== 0) {?>
+ (<a href="<?php echo $this->baseUrl."/".$this->controller."/differences/$lang/$id/".$rev['revisions']['id_rev'].$this->viewStatus;?>">diff</a>)
+ <?php } ?>
+
+ <?php if ($islogged === 'yes') { ?>
+ (<a href="<?php echo $this->baseUrl.'/'.$this->controller.'/climb/'.$lang.'/'.$rev['revisions']['id_rev'].'/'.$token.$this->viewStatus;?>"><?php echo gtext('Make current');?></a>)
+ <?php } ?>
+
+ </li>
+ <?php } ?>
+
+ </ul>
+
+ </div>
+
+ <div class="history_page_list">
+ <?php echo gtext("page list");?>: <?php echo $pageList;?>
+ </div>
+
+ <?php } else { ?>
+
+ <div style="clear:both;"></div>
+
+ <?php } ?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/if_page_deleted.php b/h-source/Application/Views/Desktop/if_page_deleted.php
new file mode 100644
index 0000000..3610716
--- /dev/null
+++ b/h-source/Application/Views/Desktop/if_page_deleted.php
@@ -0,0 +1,59 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <?php if ($isDeleted and $isApproved) { ?>
+
+ <div class="notebooks_viewall">
+ <div class="revision_alert">
+ <div>
+ This page has been deleted as requested by:
+ <?php foreach ($deletionUsers as $user) { ?>
+ <?php echo $u->getLinkToUserFromId($user);?>
+ <?php } ?>
+ </div>
+ </div>
+ <div class="deletion_motivations_title">
+ With the following motivations:
+ </div>
+ <div class="deletion_motivations_external">
+ <?php foreach ($deletion as $row) { ?>
+ <div class="deletion_motivations_iternal">
+ <div class="deletion_motivations_iternal_title">
+ motivation of <?php echo $u->getLinkToUserFromId($row['deletion']['created_by']);?>: <?php echo getMotivation($row,$this->controller);?>
+ </div>
+ <div class="deletion_motivations_iternal_message">
+ message: <i><?php echo $row['deletion']['message'];?></i>
+ </div>
+ </div>
+ <?php } ?>
+ </div>
+ </div>
+
+ <?php } else if ($isDeleted and !$isApproved) { ?>
+
+ <div class="notebooks_viewall">
+ <div class="revision_alert">
+ <?php echo gtext('The device page has to be approved by an administrator of the website'); ?>
+ </div>
+ </div>
+
+ <?php } ?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/license_notice.php b/h-source/Application/Views/Desktop/license_notice.php
new file mode 100644
index 0000000..6aec78c
--- /dev/null
+++ b/h-source/Application/Views/Desktop/license_notice.php
@@ -0,0 +1,32 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div class="top_licence_notice">
+ <div><b><?php echo gtext("License information");?>:</b></div>
+ <?php echo License::getSubmissionNotice();?>
+ </div>
+ <?php if ($islogged === 'no') { ?>
+ <div class="not_logged_license">
+ <?php echo gtext("You are not a registered user or you have not logged in. Your contribution won't be published until an administrator approves it. If you want your contributions to be automatically published please log in or create an account.");?>
+ </div>
+ <?php } ?>
+ <div class="box_module_how_to_compile"><?php echo $howToCompileLabel;?></div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/moderator_dialog.php b/h-source/Application/Views/Desktop/moderator_dialog.php
new file mode 100644
index 0000000..3b76c4b
--- /dev/null
+++ b/h-source/Application/Views/Desktop/moderator_dialog.php
@@ -0,0 +1,69 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+<div id="delete_dialog" title="Manage this item">
+ <form>
+ <p>Write below your motivation</p>
+ <textarea name="md_message" id="md_message"></textarea>
+ </form>
+</div>
+
+<div id="notice_dialog" title="Notice:">
+ <div class="notice_dialog_inner">
+
+ </div>
+</div>
+
+<script>
+
+ $(document).ready(function() {
+
+ <?php echo $md_javascript;?>
+
+ $(".hidden_message_view_page").click(function(){
+ $(".display_none").css("display","block");
+ return false;
+ });
+
+ $(".hidden_message_view_details").click(function(){
+
+ var md_id_ext = $(this).attr("id");
+ var md_type_ext = $(this).parent().find(".md_type").text();
+ var that = $(this);
+
+ $.ajax({
+ url: base_url + "/history/viewall/" + curr_lang + "/" + md_type_ext + "/" + md_id_ext,
+ async: false,
+ cache: false,
+ dataType: "html",
+ success: function(html){
+ that.parent().find(".moderation_details_box").empty();
+ that.parent().find(".moderation_details_box").append(html);
+ }
+ });
+
+ that.parent().find(".details_of_hidden_message").show();
+ return false;
+ });
+ });
+
+</script> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/noscript_distributions.php b/h-source/Application/Views/Desktop/noscript_distributions.php
new file mode 100644
index 0000000..11ae5a6
--- /dev/null
+++ b/h-source/Application/Views/Desktop/noscript_distributions.php
@@ -0,0 +1,33 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <noscript>
+ <div class="noscript_dist_alert">
+ <span>Allowed distributions:</span>
+ <div>
+ <?php echo Distributions::getList();?>
+ </div>
+ <div>
+ <span><b>Example</b>: blag_90001,gnewsense_3_0,trisquel_4_0</span>
+ </div>
+ </div>
+ </noscript> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/page.php b/h-source/Application/Views/Desktop/page.php
new file mode 100644
index 0000000..704e019
--- /dev/null
+++ b/h-source/Application/Views/Desktop/page.php
@@ -0,0 +1,141 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <?php if (!$isDeleted or $isadmin) { ?>
+
+ <?php
+ $tableName = (strcmp($this->action,'view') === 0) ? 'hardware' : 'revisions';
+ $displayClass = ($isDeleted) ? 'display_none' : null;
+ ?>
+
+ <?php foreach ($table as $item) { ?>
+ <div class="notebooks_viewall <?php echo $displayClass;?>">
+
+ <!--if revision-->
+ <?php if (strcmp($this->action,'revision') === 0) { ?>
+ <div class="revision_alert">
+ <?php echo gtext("This is an old revision of this page, as edited by");?> <b><?php echo $u->getLinkToUserFromId($updated_by);?></b> <?php echo gtext('at');?> <b><?php echo smartDate($update_date); ?></b>. <?php echo gtext("It may differ significantly from the");?> <a href="<?php echo $this->baseUrl."/".$this->controller."/view/$lang/$id_hard/".$name.$this->viewStatus;?>"><?php echo gtext("Current revision");?></a>.
+ </div>
+ <?php } ?>
+
+ <?php if ( strcmp($item[$tableName]['it_tracks_users'],'yes') === 0 ) { ?>
+ <?php echo $tracksHelpTop;?>
+ <?php } ?>
+
+ <div class="notebook_model">
+ <img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromType($item[$tableName]['type']);?>"> <span class="span_model_name"><?php echo gtext("model");?>: <b><?php echo $item[$tableName]['model'];?></b><span class="model_id">(<?php echo gtext("model id");?>: <?php echo $id_hard;?>)</span></span>
+ <?php if (strcmp($islogged,'yes') === 0 and strcmp($this->action,'view') === 0) { ?>
+ <span class="ask_for_removal_class"><a class="ask_for_removal_class_link" href="<?php echo $this->baseUrl;?>">ask for removal</a></span>
+ <?php } ?>
+ </div>
+
+ <?php if ( strcmp($item[$tableName]['other_names'],'') !== 0 ) { ?>
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("possible other names of the device");?>:</div>
+ <div class="inner_value"><?php echo nl2br($item[$tableName]['other_names']);?></div>
+ </div>
+ <?php } ?>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("vendor");?>:</div>
+ <div class="inner_value"><b><?php echo betterVendor($item[$tableName]['vendor']);?></b></div>
+ </div>
+
+ <?php if (strcmp($this->controller,'printers') === 0 ) { ?>
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("subtype");?> (laser, inkjet, ..):</div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['subtype']);?></b></div>
+ </div>
+ <?php } ?>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("VendorID:ProductID code of the device");?>:</div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['pci_id'];?></b></div>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("year of commercialization");?>:</div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['comm_year']);?></b></div>
+ </div>
+
+ <div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("interface");?>:</div>
+ <div class="inner_value"><b><?php echo gtext(translate($item[$tableName]['interface']));?></b></div>
+ </div>
+
+ <div class="model_tested_on">
+ <div class="inner_label"><?php echo gtext("tested on");?>:</div>
+ <div class="inner_value"><b><?php echo Distributions::getName($item[$tableName]['distribution']);?></b></div>
+ </div>
+
+ <div class="notebook_kernel">
+ <div class="inner_label"><?php echo gtext("tested with the following kernel libre");?>:</div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['kernel'];?></b></div>
+ </div>
+
+ <div class="notebook_kernel">
+
+ <?php if (strcmp($this->controller,'videocards') === 0 ) { ?>
+
+ <div class="inner_label"><?php echo gtext("how does it work with free software?");?></div>
+ <div class="inner_value"><b><?php echo gtext(translate($item[$tableName][$worksField]));?></b></div>
+
+ <?php } else if (strcmp($this->controller,'printers') === 0 ) { ?>
+
+ <div class="inner_label"><?php echo gtext("compatibility with free software");?>:</div>
+ <div class="inner_value"><b><?php echo gtext(translate($item[$tableName]['compatibility']));?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/help/index/$lang#printer-compatibility";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
+
+ <?php } else if (strcmp($this->controller,'scanners') === 0 ) { ?>
+
+ <div class="inner_label"><?php echo gtext("compatibility with free software");?>:</div>
+ <div class="inner_value"><b><?php echo gtext(translate($item[$tableName]['compatibility']));?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/help/index/$lang#scanner-compatibility";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
+
+ <?php } else { ?>
+
+ <div class="inner_label"><?php echo gtext("does it work with free software?");?></div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName][$worksField]);?></b></div>
+
+ <?php } ?>
+
+ </div>
+
+ <?php if (strcmp($this->controller,'printers') === 0 ) { ?>
+ <div class="notebook_kernel">
+ <div class="inner_label"><?php echo gtext("does it adopt any techniques to track users?");?><div class="box_module_label"><?php echo $tracksHelpLabel;?></div></div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['it_tracks_users']);?></b></div>
+ </div>
+ <?php } ?>
+
+ <div class="notebook_kernel">
+ <div class="inner_label"><?php echo gtext("free driver used");?>:</div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['driver'];?></b></div>
+ </div>
+
+ <div class="notebook_description">
+ <div class="notebook_description_label"><?php echo gtext("Description");?>:</div>
+ <div class="notebook_description_value"><?php echo decodeWikiText($item[$tableName]['description']);?></div>
+ </div>
+
+ </div>
+ <?php } ?>
+
+ <?php } ?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/right.php b/h-source/Application/Views/Desktop/right.php
new file mode 100644
index 0000000..d2de8d0
--- /dev/null
+++ b/h-source/Application/Views/Desktop/right.php
@@ -0,0 +1,158 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="right">
+
+ <?php if (strcmp($this->action,'update') !== 0 and strcmp($this->action,'pciid') !== 0 and strcmp($this->action,'lspci') !== 0) { ?>
+ <div class="language_links_box">
+ <?php echo $language_links;?>
+ </div>
+ <?php } ?>
+
+ <div class="login_table_box">
+
+ <?php if ($islogged === 'yes') { ?>
+ <div class="login_box_logged">
+ <div class="who_you_are_and_logout">
+ <?php echo gtext("Hello");?> <b><?php echo $username; ?></b> (<a href="<?php echo $this->baseUrl."/users/logout/$lang?redirect=".$currPos.$queryString;?>">logout</a>)
+ </div>
+ <div class="your_panel_link">
+ <?php echo gtext("Your");?> <a href="<?php echo $this->baseUrl."/my/home/$lang";?>"><?php echo gtext("control panel");?></a>
+ </div>
+ </div>
+ <?php } else { ?>
+
+ <div class="who_you_are_and_logout">
+ Login form:
+ </div>
+ <!--login form-->
+ <form action="<?php echo $this->baseUrl."/users/login/$lang?redirect=".$currPos.$queryString;?>" method="POST">
+
+ <div class="login_right_box">
+ <div class="login_right_item">
+ <div class="login_right_label">
+ username
+ </div>
+ <div class="login_right_form">
+ <input class="login_input" type="text" name="username" value="">
+ </div>
+ </div>
+ <div class="login_right_item">
+ <div class="login_right_label">
+ password
+ </div>
+ <div class="login_right_form">
+ <input class="login_input" type="password" name="password" value="">
+ </div>
+ </div>
+ <div>
+ <input type="submit" name="login" value="login">
+ </div>
+ </div>
+ </form>
+
+ <div class="manage_account_link_box">
+ <a href="<?php echo $this->baseUrl."/users/add/$lang";?>"><?php echo gtext("create new account");?></a>
+ </div>
+
+ <div class="manage_account_link_box">
+ <a href="<?php echo $this->baseUrl."/users/forgot/$lang";?>"><?php echo gtext("request new password");?></a>
+ </div>
+
+ <?php } ?>
+
+ </div>
+
+ <div class="discover_hardware">
+ <a href="<?php echo $this->baseUrl."/help/index/$lang#discover-hardware";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/discover.png"></a>
+ </div>
+
+ <div class="download_database">
+ <a href="<?php echo $this->baseUrl."/download/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/download.png"></a>
+ </div>
+
+ <?php if ( strcmp($this->controller,'wiki') === 0 ) { ?>
+ <div class="wiki_control_box">
+ <div class="last_modifications_title">
+ <?php echo gtext('special pages');?>
+ </div>
+ <ul>
+ <li><a href="<?php echo $this->baseUrl."/wiki/pages/$lang";?>"><?php echo gtext('list of pages'); ?></a></li>
+ <?php if ($isadmin) { ?>
+ <li><a href="<?php echo $this->baseUrl."/wiki/deleted/$lang";?>"><?php echo gtext('list of deleted pages'); ?></a></li>
+ <li><a href="<?php echo $this->baseUrl."/wiki/blocked/$lang";?>"><?php echo gtext('list of blocked pages'); ?></a></li>
+ <?php } ?>
+ <li><a href="<?php echo $this->baseUrl."/wiki/modifications/$lang";?>"><?php echo gtext('last modifications'); ?></a></li>
+ </ul>
+ </div>
+ <?php } ?>
+
+ <?php if ( strcmp($this->controller,'wiki') !== 0 ) { ?>
+ <div class="last_modifications">
+ <div class="last_modifications_title">
+ <?php echo gtext('last modifications');?>
+ </div>
+ <ul>
+ <?php foreach ($lastModif as $row) { ?>
+ <li><a class="last_modifications_model" href="<?php echo Go::toHardwarePage($row['history']['id']);?>"><?php echo $hw->getTheModelName($row['history']['id']);?></a> <?php echo gtext('by');?> <?php echo $u->getLinkToUserFromId($row['history']['created_by'])?></li>
+ <?php } ?>
+ </ul>
+ <div class="last_modifications_all">
+ <span>
+ <a href="<?php echo $this->baseUrl."/special/modifications/$lang";?>"><?php echo gtext('watch all modifications');?></a>
+ </span>
+ </div>
+ </div>
+ <?php } ?>
+
+ <div class="statistics_ext_box">
+ <div class="statistics_int_title">
+ <?php echo gtext("website statistics");?>:
+ </div>
+
+ <div class="statistics_hard_title">
+ <?php echo gtext("hardware in the database");?>:
+ </div>
+
+ <table width="100%">
+ <?php foreach ($stat as $type => $number) { ?>
+ <tr>
+ <td><?php echo $type;?></td>
+ <td><?php echo "<b>".$number."</b>";?></td>
+ </tr>
+ <?php } ?>
+ </table>
+
+ <div class="statistics_hard_title">
+ <?php echo gtext("users logged");?>: <span class="user_logged"><?php echo $numbLogged;?></span>
+ </div>
+ </div>
+
+ <div class="rss_right_box">
+ <img src="<?php echo $this->baseUrl."/Public/Img/Crystal/rss.png";?>"> <div class="rss_right_box_text"><a href="<?php echo $this->baseUrl."/rss/modifications/$lang";?>">RSS feeds</a></div>
+ </div>
+
+ <div class="right_box_ext_box">
+ <?php echo $htmlRightBox;?>
+ </div>
+
+ </div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/suggest_dialog.php b/h-source/Application/Views/Desktop/suggest_dialog.php
new file mode 100644
index 0000000..0122dee
--- /dev/null
+++ b/h-source/Application/Views/Desktop/suggest_dialog.php
@@ -0,0 +1,43 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+<script type="text/javascript">
+
+ $(function(){
+
+ $("#suggest_dialog").css("display","block");
+
+ // Dialog
+ $('#suggest_dialog').dialog({
+ autoOpen: false,
+ width: 500,
+ });
+
+ $('#suggest_dialog').dialog('open');
+
+ });
+</script>
+
+<div id="suggest_dialog" title="Insert new hardware">
+ <p>Thanks for helping the h-node project and the free software movement!</p>
+ <p>You have just inserted a new notebook in the database.. can you please insert its devices separately too? Thanks!</p>
+</div> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/talk.php b/h-source/Application/Views/Desktop/talk.php
new file mode 100644
index 0000000..4f1e1b2
--- /dev/null
+++ b/h-source/Application/Views/Desktop/talk.php
@@ -0,0 +1,150 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <script>
+
+ $(document).ready(function() {
+
+ $("#bb_code").markItUp(mySettings);
+
+ });
+
+ </script>
+
+ <?php if (!$isDeleted) { ?>
+
+ <div class="notebooks_viewall">
+
+ <?php foreach ($table as $message) { ?>
+
+ <?php if (strcmp($message['talk']['deleted'],'no') === 0) { ?>
+
+ <a name="talk-<?php echo $message['talk']['id_talk'];?>"></a>
+ <div class="talk_message_item">
+
+ <div class="talk_message_item_title_date">
+ <?php if ($ismoderator) { ?>
+ <a id="<?php echo $message['talk']['id_talk'];?>" class="hide_talk hide_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_cancel.png">hide</a>
+ <?php } ?>
+
+ <div class="talk_message_item_title">
+ <?php echo $message['talk']['title'];?>
+ </div>
+
+ <div class="talk_message_item_date">
+ <?php echo gtext("by");?> <?php echo getLinkToUser($u->getUser($message['talk']['created_by']));?>, <?php echo smartDate($message['talk']['creation_date']);?>
+ </div>
+ </div>
+
+ <div class="talk_message_item_content">
+ <?php echo decodeWikiText($message['talk']['message']);?>
+ </div>
+
+ <?php if ($ismoderator) { ?>
+ <!--view details-->
+ <div class="show_hidden_box_ext">
+ <div class="md_type">talk</div>
+ <a id="<?php echo $message['talk']['id_talk'];?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a>
+ <div class="moderation_details_box"></div>
+ </div>
+ <?php } ?>
+
+ </div>
+
+ <?php } else { ?>
+
+ <?php if ($ismoderator) { ?>
+ <a name="talk-<?php echo $message['talk']['id_talk'];?>"></a>
+ <div class="talk_message_item_hidden">
+ this message has been deleted
+
+ <a id="<?php echo $message['talk']['id_talk'];?>" class="show_talk hide_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_ok.png">make visible</a>
+
+ <!--view details-->
+ <div class="show_hidden_box_ext">
+ <div class="md_type">talk</div>
+
+ <a id="<?php echo $message['talk']['id_talk'];?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a>
+
+ <div class="details_of_hidden_message">
+ <div class="details_of_hidden_message_inner">
+ <div class="talk_message_item_date">
+ submitted by <?php echo getLinkToUser($u->getUser($message['talk']['created_by']));?>, <?php echo smartDate($message['talk']['creation_date']);?>
+ </div>
+ <div class="message_view_description_hidden">
+ <?php echo decodeWikiText($message['talk']['message']);?>
+ </div>
+ </div>
+ <div class="moderation_details_box"></div>
+ </div>
+ </div>
+
+
+ </div>
+ <?php } ?>
+
+ <?php } ?>
+
+ <?php } ?>
+ </div>
+
+ <?php if ($islogged === 'yes') { ?>
+
+ <div class="talk_form_external_box">
+ <div class="talk_login_notice">
+ <a name="form"><?php echo gtext("Add a message");?></a>
+ </div>
+
+ <?php echo $notice;?>
+
+ <div class="notebooks_insert_form">
+ <form action="<?php echo $this->baseUrl."/".$this->controller."/talk/$lang/$id_hard/$token".$this->viewStatus;?>#form" method="POST">
+
+ <div class="edit_form">
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("TITLE");?>:</div>
+ <?php echo Html_Form::input('title',$values['title'],'talk_input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("MESSAGE");?>:</div>
+ <?php echo Html_Form::textarea('message',$values['message'],'talk_textarea_entry','bb_code');?>
+ </div>
+
+ <input type="submit" name="insertAction" value="<?php echo gtext("Save");?>">
+
+ </div>
+
+ </form>
+ </div>
+ </div>
+
+ <?php } else { ?>
+
+ <div class="talk_login_notice">
+ <a name="form"><?php echo gtext("You have to");?> <a href="<?php echo $this->baseUrl."/users/login/$lang?redirect=".$currPos.$queryString;?>">login</a> <?php echo gtext("in order to add a message");?></a>
+ </div>
+
+ <?php } ?>
+
+ <?php } ?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/top_left.php b/h-source/Application/Views/Desktop/top_left.php
new file mode 100644
index 0000000..33ef4d2
--- /dev/null
+++ b/h-source/Application/Views/Desktop/top_left.php
@@ -0,0 +1,190 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>
+
+ <div id="left">
+
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <a href="<?php echo $this->baseUrl."/hardware/catalogue/$lang";?>">Hardware</a> &raquo; <?php echo $tree;?>
+ </div>
+
+ <?php if (strcmp($this->action,'view') === 0) { ?>
+
+ <!--delete the page-->
+ <?php if ($isadmin) { ?>
+ <div class="moderator_box_deleted clear_right">
+ <?php if ($isDeleted) { ?>
+
+ <?php if ($isApproved) { ?>
+
+ <?php echo gtext('This device page has been hidden'); ?>
+
+ <a id="<?php echo $id_hard;?>" class="deviceshow_device block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_ok.png"><?php echo gtext('restore the device page'); ?></a>
+
+ <?php } else { ?>
+
+ <?php echo gtext("This device page has not been approved yet");?>
+
+ <a id="<?php echo $id_hard;?>" class="deviceapprove_device_app block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_ok.png"><?php echo gtext('approve the device page'); ?></a>
+
+ <?php } ?>
+
+ <?php } else { ?>
+
+ <a id="<?php echo $id_hard;?>" class="devicehide_device block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_cancel.png"><?php echo gtext('hide the device page'); ?></a>
+
+ <?php } ?>
+
+ <a id="<?php echo $id_hard;?>" class="deviceclear_device_cl block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/clear.png"><?php echo gtext('permanently delete the device page'); ?></a>
+
+ <!--view details-->
+ <div class="show_hidden_box_ext">
+ <div class="md_type">device</div>
+ <?php if ($isDeleted) { ?>
+ <a class="hidden_message_view_page" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><?php echo gtext("see the page");?></a> |
+ <?php } ?>
+ <a id="<?php echo $id_hard;?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a>
+ <div class="details_of_hidden_message">
+ <div class="moderation_details_box"></div>
+ </div>
+ </div>
+
+ </div>
+ <?php } ?>
+
+ <div class="notebook_view_title">
+ <?php echo singular($this->controller);?> <b><?php echo $ne_name;?></b>
+ </div>
+
+ <div class="notebook_insert_link">
+ <div class="view_page_back_button">
+ <a title="Back to the list of <?php echo plural($this->controller);?>" href="<?php echo $this->baseUrl."/".$this->controller."/catalogue/$lang".$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <?php if (!$isDeleted) { ?>
+ <div class="view_page_history_button">
+ <a title="talk page" href="<?php echo $this->baseUrl."/".$this->controller."/talk/$lang/$id_hard/$token".$this->viewStatus;?>"><img class="top_left_note_image" src="<?php echo $this->baseUrl;?>/Public/Img/talk-60.png"></a>
+ </div>
+
+ <div class="view_page_history_button">
+ <a title="history page" href="<?php echo $this->baseUrl."/".$this->controller."/history/$lang/$id_hard".$this->viewStatus;?>"><img class="top_left_note_image" src="<?php echo $this->baseUrl;?>/Public/Img/history-60.png"></a>
+ </div>
+
+ <div class="view_page_update_button">
+ <form action="<?php echo $this->baseUrl."/".$this->controller."/update/$lang/$token".$this->viewStatus;?>" method="POST">
+ <input title="edit page" class="update_submit_class" type="image" src="<?php echo $this->baseUrl;?>/Public/Img/edit-60.png" value="xedit">
+ <input type="hidden" name="id_hard" value="<?php echo $id_hard;?>">
+ </form>
+ </div>
+ <?php } ?>
+ </div>
+
+ <?php if (!$isDeleted) { ?>
+ <div class="talk_numb_ext">
+ <a href="<?php echo $this->baseUrl."/".$this->controller."/talk/$lang/$id_hard/$token".$this->viewStatus;?>"><?php echo gtext("talk messages");?>: <?php echo $talk_number;?></a>
+ </div>
+ <?php } ?>
+
+ <?php } else if (strcmp($this->action,'catalogue') === 0) { ?>
+
+ <div class="notebook_view_title">
+ <?php echo gtext("List of");?> <b><?php echo plural($this->controller);?></b>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Insert a new <?php echo singular($this->controller);?>" href="<?php echo $this->baseUrl."/".$this->controller."/insert/$lang/$token".$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/new-60.png"></a>
+ </div>
+
+ <?php echo $topNotice;?>
+
+ <?php } else if (strcmp($this->action,'history') === 0) { ?>
+
+ <div class="notebook_view_title">
+ <?php echo gtext("History");?> - <?php echo singular($this->controller).' <b>'.$ne_name.'</b>';?>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the specifications of the <?php echo singular($this->controller).' '.$name;?>" href="<?php echo $this->baseUrl."/".$this->controller."/view/$lang/$id/$name".$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <?php } else if (strcmp($this->action,'differences') === 0) { ?>
+
+ <?php if ($showDiff === true) { ?>
+ <div class="notebook_view_title">
+ <?php echo gtext("Differences between the revision of");?> <b><?php echo smartDate($update_new);?></b>, <?php echo gtext("created by");?> <b><?php echo getLinkToUser($u->getUser($updated_by));?></b>, <?php echo gtext("and the revision of");?> <b><?php echo smartDate($update_old);?></b>
+ </div>
+ <?php } ?>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the history of the <?php echo singular($this->controller);?> <?php echo $name;?>" href="<?php echo $this->baseUrl."/".$this->controller."/history/$lang/$id_hard".$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <?php } else if (strcmp($this->action,'climb') === 0) { ?>
+
+ <div class="notebook_view_title">
+ Make current this revision of the <?php echo singular($this->controller).' <b>'.$ne_name.'</b>';?>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the history of the <?php echo singular($this->controller);?> <?php echo $name;?>" href="<?php echo $this->baseUrl."/".$this->controller."/history/$lang/$id_hard".$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <?php } else if (strcmp($this->action,'revision') === 0) { ?>
+
+ <div class="notebook_view_title">
+ <?php echo gtext("Revision");?> - <?php echo singular($this->controller).' <b>'.$ne_name.'</b>';?>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the history of the <?php echo singular($this->controller);?> <?php echo $name;?>" href="<?php echo $this->baseUrl."/".$this->controller."/history/$lang/$id_hard".$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <?php } else if (strcmp($this->action,'insert') === 0) { ?>
+
+ <div class="notebook_view_title">
+ <?php echo gtext("Insert");?> - <?php echo singular($this->controller);?>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the list of <?php echo plural($this->controller);?>" href="<?php echo $this->baseUrl."/".$this->controller."/catalogue/$lang".$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <?php } else if (strcmp($this->action,'update') === 0) { ?>
+
+ <div class="notebook_view_title">
+ <?php echo gtext("Edit");?> - <?php echo singular($this->controller).' <b>'.$ne_name.'</b>';?>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the <?php echo singular($this->controller);?> specifications" href="<?php echo $this->baseUrl."/".$this->controller."/view/$lang/".$id_hard."/$name".$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <?php } else if (strcmp($this->action,'talk') === 0) { ?>
+
+ <div class="notebook_view_title">
+ <?php echo gtext("Talk page");?> - <?php echo singular($this->controller).' <b>'.$ne_name.'</b>';?>
+ </div>
+
+ <div class="notebook_insert_link">
+ <a title="Back to the <?php echo singular($this->controller);?> specifications" href="<?php echo $this->baseUrl."/".$this->controller."/view/$lang/".$id_hard."/$name".$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
+
+ <?php } ?> \ No newline at end of file
diff --git a/h-source/Application/Views/Desktop/xml_response.php b/h-source/Application/Views/Desktop/xml_response.php
new file mode 100644
index 0000000..2c51b88
--- /dev/null
+++ b/h-source/Application/Views/Desktop/xml_response.php
@@ -0,0 +1,28 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+<?php echo "<?xml version='1.0' encoding='UTF-8'?>\n";?>
+<user_info>
+ <status><?php echo $submission_response;?></status>
+ <notice>
+ <![CDATA[<?php echo strip_tags($notice); ?>]]>
+ </notice>
+</user_info>
+
+<?php
+// h-source, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of h-source
+//
+// h-source is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-source is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-source. If not, see <http://www.gnu.org/licenses/>.
+?>