diff options
author | Yuchen Pei <hi@ypei.me> | 2021-10-14 15:16:42 +1100 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2021-10-14 15:16:42 +1100 |
commit | 07f5140771388c9e0c8a99b0dd2e5d950bdb173b (patch) | |
tree | 323c00faef1edc7dea2e88ff581cc2258b2b6432 /Application/Views/Mobile | |
parent | e119be145500700f3c465e12664403a07530a421 (diff) |
moving h-source subdir out.
Diffstat (limited to 'Application/Views/Mobile')
35 files changed, 2244 insertions, 0 deletions
diff --git a/Application/Views/Mobile/Contact/index.php b/Application/Views/Mobile/Contact/index.php new file mode 100644 index 0000000..20faef1 --- /dev/null +++ b/Application/Views/Mobile/Contact/index.php @@ -0,0 +1,41 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » contact + </div> + + <div class="credits_external_box"> + + <div class="contact_div"> + You can suggest to implement new features or add new types of hardware in the <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">issues</a> page + </div> + + <div class="contact_div"> + Discussions about <b><?php echo Website::$generalName;?></b> also take place on the <a href="https://lists.nongnu.org/mailman/listinfo/h-source-users">h-source-users mailing list</a> and <a href="irc://libera.chat/h-node">#h-node libera.chat IRC channel</a>. + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Contact/index_de.php b/Application/Views/Mobile/Contact/index_de.php new file mode 100644 index 0000000..cb273af --- /dev/null +++ b/Application/Views/Mobile/Contact/index_de.php @@ -0,0 +1,41 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » contact + </div> + + <div class="credits_external_box"> + + <div class="contact_div"> + Sie können neu zu implementierende Funktionen vorschlagen oder neue Hardware-Typen in der Seite <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">Web-Log</a> hinzufügen + </div> + + <div class="contact_div"> + Wenn Sie das <b>h-node-Team</b> direkt kontaktieren möchten: <b>info@h-node.com</b> + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Contact/index_es.php b/Application/Views/Mobile/Contact/index_es.php new file mode 100644 index 0000000..8c79aa8 --- /dev/null +++ b/Application/Views/Mobile/Contact/index_es.php @@ -0,0 +1,41 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » contact + </div> + + <div class="credits_external_box"> + + <div class="contact_div"> + Puede sugerir el implementar nuevas caracteriticas o agregar nuevo hardware en la página de <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">incidencias</a> + </div> + + <div class="contact_div"> + Si desea contactar directamente al equipo de <b><?php echo Website::$generalName;?></b> use esta dirección de correo electronico: <b>info@h-node.com</b> + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Contact/index_fr.php b/Application/Views/Mobile/Contact/index_fr.php new file mode 100644 index 0000000..2b2b7dd --- /dev/null +++ b/Application/Views/Mobile/Contact/index_fr.php @@ -0,0 +1,41 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » contact + </div> + + <div class="credits_external_box"> + + <div class="contact_div"> + Vous pouvez suggérez l’implémentation de nouvelles fonctionnalitée ou l’ajout d’un nouveau type de matériel dans la page <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">problème</a>. + </div> + + <div class="contact_div"> + Si vous voulez contatez directement l’équipe <b><?php echo Website::$generalName;?></b>, utilisez cette adresse mail : <b>info@h-node.com</b> + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Contact/index_gr.php b/Application/Views/Mobile/Contact/index_gr.php new file mode 100644 index 0000000..069d14d --- /dev/null +++ b/Application/Views/Mobile/Contact/index_gr.php @@ -0,0 +1,41 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » contact + </div> + + <div class="credits_external_box"> + + <div class="contact_div"> + Μπορείτε να εισηγηθείτε την υλοποίηση νέων χαρακτηριστικών ή την προσθήκη νέων τύπων υλικού (hardware) στην ιστοσελίδα <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">issues</a> + </div> + + <div class="contact_div"> + Αν θέλετε να έρθετε σε άμεση επαφή με την ομάδα του <b><?php echo Website::$generalName;?></b>, χρησιμοποιείστε αυτή την ηλεκτρονική διεύθυνση: <b>info@h-node.com</b> + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Contact/index_it.php b/Application/Views/Mobile/Contact/index_it.php new file mode 100644 index 0000000..d96d767 --- /dev/null +++ b/Application/Views/Mobile/Contact/index_it.php @@ -0,0 +1,41 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » contact + </div> + + <div class="credits_external_box"> + + <div class="contact_div"> + Potete suggerire nuove caratteristiche da implementare o aggiungere nuovi tipi di hardware nella pagina <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">issues</a> + </div> + + <div class="contact_div"> + Se volete direttamente contattare il team di <b><?php echo Website::$generalName;?></b> potete farlo a questo indirizzo e-mail: <b>info@h-node.com</b> + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Credits/index.php b/Application/Views/Mobile/Credits/index.php new file mode 100644 index 0000000..c54f231 --- /dev/null +++ b/Application/Views/Mobile/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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » 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>, the <a href="http://jqueryui.com/home">jQuery UI</a> and the <a href="http://jquerymobile.com/">jQuery Mobile</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 hardware model. + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Credits/index_es.php b/Application/Views/Mobile/Credits/index_es.php new file mode 100644 index 0000000..3be6fbf --- /dev/null +++ b/Application/Views/Mobile/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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » 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>, <a href="http://jqueryui.com/home">jQuery UI</a> y <a href="http://jquerymobile.com/">jQuery Mobile</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/Application/Views/Mobile/Credits/index_fr.php b/Application/Views/Mobile/Credits/index_fr.php new file mode 100644 index 0000000..022aa70 --- /dev/null +++ b/Application/Views/Mobile/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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » 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> , <a href="http://jqueryui.com/home">jQuery UI</a> et la librairie javascript <a href="http://jquerymobile.com/">jQuery Mobile</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/Application/Views/Mobile/Credits/index_gr.php b/Application/Views/Mobile/Credits/index_gr.php new file mode 100644 index 0000000..424ded1 --- /dev/null +++ b/Application/Views/Mobile/Credits/index_gr.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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » credits + </div> + + <div class="credits_external_box"> + + <div class="credits_item_title"> + Εικόνες: + </div> + + <div class="credits_item_description"> + Οι εικόνες που χρησιμοποιούνται μέσα στο <?php echo Website::$generalName;?> πάρθηκαν από το θέμα εικόνας <a href="http://kde-look.org/content/show.php/ACUN+Simgeleri?content=83018">ACUN Simgeleri 0.7</a> και από το <a href="http://kde-look.org/content/show.php/H2O+Icon+Theme?content=127149">H2O Icon Theme 0.0.5</a>, που είναι αδειοδοτημένα και τα δύο υπό την Άδεια GNU GPL, από τις εικόνες <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). Οι εικόνες flag πάρθηκαν από το <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"> + Σε όλο τον ιστότοπο χρησιμοποιήθηκαν οι βιβλιοθήκες javascript <a href="http://jquery.com/">jQuery</a> και η <a href="http://jqueryui.com/home">jQuery UI</a> (που αδειοδοτούνται υπό την MIT/GPL). + </div> + + <div class="credits_item_title"> + markitup: + </div> + + <div class="credits_item_description"> + Χρησιμοποιήθηκε το <a href="http://markitup.jaysalvat.com/home/">markitup</a> jQuery plugin (που αδειοδοτείται υπό την MIT/GPL), για να βοηθηθεί ο χρήστης να εισαγάγει 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 (που αδειοδοτείται υπό την ελεύθερη άδεια zlib), για να αναδειχθούν οι διαφορές ανάμεσα στις δύο διαφορετικές αναθεωρήσεις του ίδιου μοντέλου υλικού (hadrware). + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Credits/index_it.php b/Application/Views/Mobile/Credits/index_it.php new file mode 100644 index 0000000..6b1a512 --- /dev/null +++ b/Application/Views/Mobile/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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » 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> , <a href="http://jqueryui.com/home">jQuery UI</a> e <a href="http://jquerymobile.com/">jQuery Mobile</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/Application/Views/Mobile/Hardware/left.php b/Application/Views/Mobile/Hardware/left.php new file mode 100644 index 0000000..d0c17b9 --- /dev/null +++ b/Application/Views/Mobile/Hardware/left.php @@ -0,0 +1,127 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » Hardware + </div> + + <ul id="hardware_list" data-role="listview" data-theme="c" style="overflow:hidden;"> + <li> + <a href="<?php echo $this->baseUrl?>/notebooks/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Notebooks");?>, <?php echo gtext("netbooks");?>, <?php echo gtext("tablet PC");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/computer-laptop.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/wifi/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Wifi cards");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/network-wireless.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/videocards/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Video cards");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/1282042718_hardware.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/printers/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Printers and multifunction");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/printer.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/scanners/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Scanners");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/scanner.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/threegcards/catalogue/<?php echo $lang;?>"> + <?php echo gtext("3G cards");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/usb.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/soundcards/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Sound cards");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/audio-card.png"> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/webcams/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Webcams");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/camera-web.png"> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/bluetooth/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Bluetooth devices");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/preferences-system-bluetooth.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/acquisitioncards/catalogue/<?php echo $lang;?>"> + <?php echo gtext("TV/Video/FM acquisition cards");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/cam_mount.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/fingerprintreaders/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Fingerprint readers");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/fingerprint_icon.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/ethernetcards/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Ethernet cards");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/network-wired.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/sdcardreaders/catalogue/<?php echo $lang;?>"> + <?php echo gtext("SD card readers");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/media-flash-sd-mmc.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/modems/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Modems and ADSL cards");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/modem.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/raidadapters/catalogue/<?php echo $lang;?>"> + <?php echo gtext("RAID adapters");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/1282042718_hardware.png" /> + </a> + </li> + <li> + <a href="<?php echo $this->baseUrl?>/hostcontrollers/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Host Controllers");?> + <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/1282042718_hardware.png" /> + </a> + </li> + </ul> + </div>
\ No newline at end of file diff --git a/Application/Views/Mobile/Home/left.php b/Application/Views/Mobile/Home/left.php new file mode 100644 index 0000000..b4ec21e --- /dev/null +++ b/Application/Views/Mobile/Home/left.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 data-role="content"> + + <div class="position_tree_box"> + Home + </div> + + <?php echo $htmlNewsBox;?> + + <div class="home_container"> + <div class="home_objectives_title"> + Objectives: + </div> + <div class="home_objectives_description"> + <img src="<?php echo $this->baseUrl;?>/Public/Img/H2O/applications-internet.png"> The <b><?php echo Website::$projectName;?></b> project aims at the construction of a hardware database in order to identify what devices work with a <a href="http://www.gnu.org/distros/free-distros.html">fully free operating system</a>. The <?php echo Website::$generalName;?> website is structured like a wiki in which all the users can modify or insert new contents. The h-node project is developed in collaboration and as an activity of the <a href="http://www.fsf.org">FSF</a>. + </div> + + <div class="home_objectives_title"> + Contribute: + </div> + <div class="home_objectives_description"> + You can contribute by creating an account at <?php echo Website::$generalName;?> and editing its user-generated contents. All your modification will be saved in the history of the product you are editing/adding. Each revision (the current one or the old ones) will be marked by the name of the user who created it.<br />You can also contribute by <b>suggesting new hardware</b> that should be added to the database or <b>features that should be implemented</b>. + </div> + + <div class="home_objectives_title"> + Free software: + </div> + <div class="home_objectives_description"> + <img height="100px" src="https://savannah.nongnu.org/images/Savannah.theme/floating.png"> + + In order to add a device to the h-node database, you must verify that it works using only free software. For this purpose, you must be running either: + + <p>1) A GNU/Linux distribution that is on the <a href="http://www.gnu.org/distros/free-distros.html">FSF's list of endorsed distributions</a></p> + + <p>2) <a href="http://www.debian.org">Debian GNU/Linux</a>, <strong>with only the main archive area enabled</strong>. The "contrib" and "non-free" areas must not be enabled when testing hardware. Double-check this by running <code>apt-cache policy</code>. The only package archive area mentioned in the output should be <strong>main</strong>.</p> + + <p>h-node lists only hardware that works with free drivers and without non-free firmware. Other GNU/Linux distributions (or Debian with contrib, non-free, or some 3rd-party archives enabled) include non-free firmware files, so they cannot be used for testing.</p> + </div> + + <div class="home_objectives_title"> + License: + </div> + <div class="home_objectives_description"> + Any text submitted by you will be put in the Public Domain (see the <a href="http://creativecommons.org/publicdomain/zero/1.0/">CC0 page</a> for detailed information). Anyone is free to copy, modify, publish, use, sell, or distribute the text you have submitted to h-node.org, for any purpose, commercial or non-commercial, and by any means. + </div> + + <div class="home_objectives_title"> + Other resources on the net: + </div> + <div class="home_objectives_description"> + <p>Here is a list of other archives collecting information about hardware working with free software:</p> + <ul> +<!-- <li><a href="http://www.fsf.org/resources/hw">Free Software Foundation archive</a></li> --> + <li><a href="http://libreplanet.org/wiki/Hardware/Freest">LibrePlanet Freest Hardware Page</a></li> + <li><a href="http://libreplanet.org/wiki/Group:LibrePlanet_Italia/Progetti/hardware_libero">LibrePlanet Italia - progetti hardware database</a></li> + </ul> + </div> + + <div class="home_objectives_title"> + About the <?php echo Website::$generalName;?> website: + </div> + <div class="home_objectives_description"> + The <?php echo Website::$generalName;?> has to be considered in <b>beta version</b>. It is constantly growing and many features have not been implemented yet (for example new hardware devices have to be inserted in the database). Some problems may occur: if you find out a bug please add an issue <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">here</a> with the topic <b>maybe a bug</b>. + </div> + </div> + </div> diff --git a/Application/Views/Mobile/Home/left_de.php b/Application/Views/Mobile/Home/left_de.php new file mode 100644 index 0000000..75467ea --- /dev/null +++ b/Application/Views/Mobile/Home/left_de.php @@ -0,0 +1,86 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + Home + </div> + + <?php echo $htmlNewsBox;?> + + <div class="home_container"> + <div class="home_objectives_title"> + Ziele: + </div> + <div class="home_objectives_description"> + <img src="<?php echo $this->baseUrl;?>/Public/Img/H2O/applications-internet.png"> Mit dem Projekt <b><?php echo Website::$projectName;?></b> soll eine Hardwaredatenbank mit Peripheriegeräten aufgebaut werdem, die mit einem <a href="http://www.gnu.org/distros/free-distros.html">vollständig freien Betriebssystem</a> arbeiten. Die Webseite von h-node.org ist wie ein Wiki aufgebaut, dessen Inhalte von allen Benutzer geändert und ergänzt werden können. Das Projekt <b>h-node</b> wird in Zusammenarbeit und als eine Aktivität der <a href="http://www.fsf.org">FSF</a> entwickelt. + </div> + + <div class="home_objectives_title"> + Mithelfen: + </div> + <div class="home_objectives_description"> + Sie können nach Ihrer Anmeldung bei h-node.org dazu beitragen und die benutzergenerierten Inhalte bearbeiten. Alle Änderungen die Sie bearbeiten oder hinzufügen, werden im Produktverlauf protokolliert. Jede Version (die aktuelle oder die alte) wird der/dem BenutzerIn zugeordnet, die/der sie erstellte.<br /> + <b>Neue Hardware</b>, die in die Datenbank aufgenommen, oder <b>neue Funktionen</b>, die hinzugefügt werden sollten, können Sie ebenfalls vorschlagen. + </div> + + <div class="home_objectives_title"> + Freie Software: + </div> + <div class="home_objectives_description"> + <img height="100px" src="https://savannah.nongnu.org/images/Savannah.theme/floating.png">In order to add a device to the h-node database, you must verify that it works using only free software. For this purpose, you must be running either: + + <p>1) A GNU/Linux distribution that is on the <a href="http://www.gnu.org/distros/free-distros.html">FSF's list of endorsed distributions</a></p> + + <p>2) <a href="http://www.debian.org">Debian GNU/Linux</a>, <strong>with only the main archive area enabled</strong>. The "contrib" and "non-free" areas must not be enabled when testing hardware. Double-check this by running <code>apt-cache policy</code>. The only package archive area mentioned in the output should be <strong>main</strong>.</p> + + <p>h-node lists only hardware that works with free drivers and without non-free firmware. Other GNU/Linux distributions (or Debian with contrib, non-free, or some 3rd-party archives enabled) include non-free firmware files, so they cannot be used for testing.</p> + </div> + + <div class="home_objectives_title"> + Lizenz: + </div> + <div class="home_objectives_description"> + Jeder von Ihnen übermittelte Text wird in die Gemeinfreiheit („Public Domain“) entlassen (siehe <a href="http://creativecommons.org/publicdomain/zero/1.0/deed.de">CC0 1.0 Universell (CC0 1.0)</a> für detaillierte Informationen). Jede Person darf das Werk/den Inhalt, den Sie an h-node.org übermittelt haben, kopieren, verändern, verbreiten und aufführen, sogar zu kommerziellen Zwecken, ohne um weitere Erlaubnis bitten zu müssen und auf jedem Medium. + </div> + + <div class="home_objectives_title"> + Weitere Ressourcen im Internet: + </div> + <div class="home_objectives_description"> + <p>Weitere Archive mit gesammelten Informationen über Hardware, die mit Freie Software arbeitet:</p> + <ul> +<!-- <li><a href="http://www.fsf.org/resources/hw">Free Software Foundation archive</a></li> --> + <li><a href="http://libreplanet.org/wiki/Hardware/Freest">LibrePlanet Freest Hardware Page</a></li> + <li><a href="http://libreplanet.org/wiki/Group:LibrePlanet_Italia/Progetti/hardware_libero">LibrePlanet Italia - progetti hardware database</a></li> + </ul> + </div> + + <div class="home_objectives_title"> + Über h-node.org: + </div> + <div class="home_objectives_description"> + <b>h-node</b> muss als im Beta-Stadium betrachtet werden. Es wird ständig ergänzt haben und viele Funktionen wurden noch nicht implementiert (z. B. müssen neue Hardware-Geräte in die Datenbank eingepflegt werden). Es können Probleme auftreten: Wenn Sie einen Fehler finden, melden Sie diesen bitte im <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">Web-Log</a> mit dem Thema <b>evtl. ein Fehler</b>. + </div> + </div> + </div> diff --git a/Application/Views/Mobile/Home/left_es.php b/Application/Views/Mobile/Home/left_es.php new file mode 100644 index 0000000..4b310c7 --- /dev/null +++ b/Application/Views/Mobile/Home/left_es.php @@ -0,0 +1,86 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + Home + </div> + + <?php echo $htmlNewsBox;?> + + <div class="home_container"> + <div class="home_objectives_title"> + Objetivos: + </div> + <div class="home_objectives_description"> + <img src="<?php echo $this->baseUrl;?>/Public/Img/H2O/applications-internet.png"> El proyecto <b><?php echo Website::$projectName;?></b> tiene como meta la construcción de una base de datos de todo el hardware de manera que se pueda identificar que dispositivos funcionan con un <a href="http://www.gnu.org/distros/free-distros.es.html">sistema operativo completamente libre</a>. El sitio <?php echo Website::$generalName;?> esta estructurado como un wiki, en el cual todos los usuarios pueden modificar o integrar nuevos contenidos. El proyecto h-node es desarrollado en colaboración y como una actividad de la <a href="http://www.fsf.org">FSF</a>. + </div> + + <div class="home_objectives_title"> + Contribuir: + </div> + <div class="home_objectives_description"> + Puede contribuir creando una cuenta en <?php echo Website::$generalName;?> y editar los contenidos generados. Todas sus modificaciones serás guardadas en el historial del producto que edite/agregue. Cada revisión (actual o previa) será marcada con el nombre del usuario que la creo.<br />También puede contribuir al <b>sugerir nuevo hardware</b> que deba ser agregado a la base de datos o <b>características que deberían ser implementadas.</b> + </div> + + <div class="home_objectives_title"> + Software Libre: + </div> + <div class="home_objectives_description"> + <img height="100px" src="https://savannah.nongnu.org/images/Savannah.theme/floating.png">In order to add a device to the h-node database, you must verify that it works using only free software. For this purpose, you must be running either: + + <p>1) A GNU/Linux distribution that is on the <a href="http://www.gnu.org/distros/free-distros.html">FSF's list of endorsed distributions</a></p> + + <p>2) <a href="http://www.debian.org">Debian GNU/Linux</a>, <strong>with only the main archive area enabled</strong>. The "contrib" and "non-free" areas must not be enabled when testing hardware. Double-check this by running <code>apt-cache policy</code>. The only package archive area mentioned in the output should be <strong>main</strong>.</p> + + <p>h-node lists only hardware that works with free drivers and without non-free firmware. Other GNU/Linux distributions (or Debian with contrib, non-free, or some 3rd-party archives enabled) include non-free firmware files, so they cannot be used for testing.</p> + </div> + + <div class="home_objectives_title"> + Licencias: + </div> + <div class="home_objectives_description"> + Cualquier texto agregado por usted sera colocado en Dominio Publico (vea la <a href="http://creativecommons.org/publicdomain/zero/1.0/deed.es_CL">página CC0</a> para información detallada). Cualquiera es libre de copiar, modificar, publicar, usar, vender o distribuir el texto que ha integrado a h-node.org, para cualquier propósito, comercial o no comercial, y por cualquier método. + </div> + + <div class="home_objectives_title"> + Otros recursos en la red: + </div> + <div class="home_objectives_description"> + <p>Aquí una lista de otras actividades recolectando información acerca de hardware funcionando con software libre:</p> + <ul> +<!-- <li><a href="http://www.fsf.org/resources/hw">Free Software Foundation archive</a></li> --> + <li><a href="http://libreplanet.org/wiki/Hardware/Freest">LibrePlanet Freest Hardware Page</a></li> + <li><a href="http://libreplanet.org/wiki/Group:LibrePlanet_Italia/Progetti/hardware_libero">LibrePlanet Italia - progetti hardware database</a></li> + </ul> + </div> + + <div class="home_objectives_title"> + Acerca del sitio <?php echo Website::$generalName;?>: + </div> + <div class="home_objectives_description"> + El sitio <?php echo Website::$generalName;?> debe ser considerado una <b>versión beta</b>. Esta en constantemente crecimiento y varias características no han sido implementadas aun (por ejemplo, nuevos dispositivos de hardware tienen que ser incluidos en la base de datos). Algunos problemas pueden ocurrir: Si encuentra un error por favor agregue una incidencia <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">aquí</a> bajo el tema <b>maybe a bug</b>. + </div> + </div> + + </div> diff --git a/Application/Views/Mobile/Home/left_fr.php b/Application/Views/Mobile/Home/left_fr.php new file mode 100644 index 0000000..f68a53f --- /dev/null +++ b/Application/Views/Mobile/Home/left_fr.php @@ -0,0 +1,88 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + Home + </div> + + <?php echo $htmlNewsBox;?> + + <div class="home_container"> + <div class="home_objectives_title"> + Objectifs: + </div> + + <div class="home_objectives_description"> + <img src="https://www.h-node.org/Public/Img/H2O/applications-internet.png"> Le but du projet <b>h-node est</b> de créer une base de données de matériel afin d'identifier les dispositifs qui fonctionne avec un <a href="http://www.gnu.org/distros/free-distros.fr.html">système d’exploitation entièrement libre</a>. Le site h-node est structuré comme un wiki, dont tout les utilisateurs peuvent modifier ou insérer des contenus. Le projet h-node est dévellopé en collaboration et en tant qu'activitée de la <a href="http://www.fsf.org">FSF</a>. + </div> + + <div class="home_objectives_title"> + Contribution: + </div> + <div class="home_objectives_description"> + Vous pouvez contribuer en créant un compte sur h-node et modifier le contenus créé par les utilisateurs. Toutes vos modifications seront enregistrées dans l’historique de l’élément que vous modifiez ou ajouter. Toutes versions (l’actuelle ou les précédentes) seront marquées au nom de l’utilisateur qui les a crées. <br />Vous pouvez aussi contribuer en <b>suggérant un autre type de matériel</b> qui devrais être ajouté à la base de données ou une nouvelle <b>fonctionnalitée qui devrais être implémentée</b> + </div> + + <div class="home_objectives_title"> + Logiciel libre: + </div> + <div class="home_objectives_description"> + <img height="100px" src="https://savannah.nongnu.org/images/Savannah.theme/floating.png">In order to add a device to the h-node database, you must verify that it works using only free software. For this purpose, you must be running either: + + <p>1) A GNU/Linux distribution that is on the <a href="http://www.gnu.org/distros/free-distros.html">FSF's list of endorsed distributions</a></p> + + <p>2) <a href="http://www.debian.org">Debian GNU/Linux</a>, <strong>with only the main archive area enabled</strong>. The "contrib" and "non-free" areas must not be enabled when testing hardware. Double-check this by running <code>apt-cache policy</code>. The only package archive area mentioned in the output should be <strong>main</strong>.</p> + + <p>h-node lists only hardware that works with free drivers and without non-free firmware. Other GNU/Linux distributions (or Debian with contrib, non-free, or some 3rd-party archives enabled) include non-free firmware files, so they cannot be used for testing.</p> + </div> + + <div class="home_objectives_title"> + License: + </div> + + <div class="home_objectives_description"> + Tout les textes que vous publierez sur le site seront dans le Domain public (Consultez la <a href="http://creativecommons.org/publicdomain/zero/1.0/deed.fr">page CC0</a> pour plus d'informations). Tout un chacun est autorisé à copier, modifier, publier, utiliser, vendre ou distribuer le texte que vous avez envoyé sur h-node.org, pour quelque utilisation que ce soit et par tout les moyens. + </div> + + <div class="home_objectives_title"> + Ressource supplémentaire sur Internet: + </div> + <div class="home_objectives_description"> + <p>Voici une liste d'autres archives qui collecte des informations à propos du matériel fonctionnant avec du logiciel libre:</p> + <ul> +<!-- <li><a href="http://www.fsf.org/resources/hw">Free Software Foundation archive</a></li> --> + <li><a href="http://libreplanet.org/wiki/Hardware/Freest">LibrePlanet Freest Hardware Page</a></li> + <li><a href="http://libreplanet.org/wiki/Group:LibrePlanet_Italia/Progetti/hardware_libero">LibrePlanet Italia - progetti hardware database</a></li> + </ul> + </div> + + <div class="home_objectives_title"> + A propos du site <?php echo Website::$generalName;?>: + </div> + <div class="home_objectives_description"> + Le site doit être considéré comme en <b>version beta</b>, il s’aggrandit constamment et beaucoup de fonctionnalitée n’ont pas encore été implémentée ( par exemple, de nouveau type d’appareil doivent être ajouter dans la base de données) . Des problèmes peuvent arriver, si vous trouver un bug, merci de remplir un <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">ticket bug</a> (<b>maybe a bug</b>). + </div> + </div> + + </div> diff --git a/Application/Views/Mobile/Home/left_gr.php b/Application/Views/Mobile/Home/left_gr.php new file mode 100644 index 0000000..5e15b4c --- /dev/null +++ b/Application/Views/Mobile/Home/left_gr.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 data-role="content"> + + <div class="position_tree_box"> + Home + </div> + + <?php echo $htmlNewsBox;?> + + <div class="home_container"> + <div class="home_objectives_title"> + Σκοποί: + </div> + <div class="home_objectives_description"> + <img src="<?php echo $this->baseUrl;?>/Public/Img/H2O/applications-internet.png"> + Το <b><?php echo Website::$projectName;?></b> project έχει ως σκοπό την κατασκευή μίας βάσης δεδομένων υλικού, έτσι ώστε να μπορεί να εντοπισθεί ποιες συσκευές δουλεύουν με ένα <a href="http://www.gnu.org/distros/free-distros.html">πλήρως ελεύθερο Λειτουργικό Σύστημα</a>. Ο ιστότοπος <?php echo Website::$generalName;?> είναι δομημένος σαν ένα wiki, εντός του οποίου όλοι οι χρήστες μπορούν να τροποποιούν ή να εισαγάγουν νέα περιεχόμενα. Το h-node project αναπτύχθηκε σε συνεργασία με και σαν δραστηριότητα του <a href="http://www.fsf.org">FSF</a>. + </div> + + <div class="home_objectives_title"> + Συνεισφέρετε: + </div> + <div class="home_objectives_description"> + Μπορείτε να συνεισφέρετε φτιάχνοντας έναν λογαριασμό στο <?php echo Website::$generalName;?> και τροποποιώντας τα περιεχόμενα που δημιούργησαν οι ίδιοι οι χρήστες. Όλες σας οι τροποποιήσεις θα αποθηκεύονται στο ιστορικό του προϊόντος το οποίο επεξεργάζεσθε/εμπλουτίζετε. Κάθε αναθεώρηση (τόσο η τρέχουσα όσο και οι παλιές) θα επισημαίνεται με το όνομα του χρήστη που την δημιούργησε. Μπορείτε, επίσης, να συνεισφέρετε <b>προτείνοντας νέο υλικό</b> που θα έπρεπε να προστεθεί στη βάση δεδομένων, ή <b>εισηγούμενοι χαρακτηριστικά που θα έπρεπε να υλοποιηθούν</b>. + </div> + + <div class="home_objectives_title"> + Ελεύθερο Λογισμικό + </div> + <div class="home_objectives_description"> + <img height="100px" src="https://savannah.nongnu.org/images/Savannah.theme/floating.png"> + In order to add a device to the h-node database, you must verify that it works using only free software. For this purpose, you must be running either: + + <p>1) A GNU/Linux distribution that is on the <a href="http://www.gnu.org/distros/free-distros.html">FSF's list of endorsed distributions</a></p> + + <p>2) <a href="http://www.debian.org">Debian GNU/Linux</a>, <strong>with only the main archive area enabled</strong>. The "contrib" and "non-free" areas must not be enabled when testing hardware. Double-check this by running <code>apt-cache policy</code>. The only package archive area mentioned in the output should be <strong>main</strong>.</p> + + <p>h-node lists only hardware that works with free drivers and without non-free firmware. Other GNU/Linux distributions (or Debian with contrib, non-free, or some 3rd-party archives enabled) include non-free firmware files, so they cannot be used for testing.</p> + </div> + + <div class="home_objectives_title"> + Άδεια: + </div> + <div class="home_objectives_description"> + Οποιοδήποτε κείμενο που υποβάλετε, θα μπαίνει σε Δημόσια Διάθεση/Public Domain (δείτε τη σελίδα <a href="http://creativecommons.org/publicdomain/zero/1.0/">CC0 page</a> για πιο λεπτομερείς πληροφορίες). Οποιοσδήποτε είναι ελεύθερος να αντιγράφει, να τροποποιεί, να δημοσιεύει, να χρησιμοποιεί, να πωλεί, ή και να ανδιανέμει το κείμενο που εσείς υποβάλλατε στο h-node.com, για οποιοδήποτε λόγο, εμπορικό ή μη-εμπορικό, και με οποιονδήποτε τρόπο. + </div> + + <div class="home_objectives_title"> + Άλλοι πόροι στο Διαδίκτυο: + </div> + <div class="home_objectives_description"> + <p>Ακολουθεί, εδώ, ένας κατάλογος άλλων αρχείων που συγκεντρώνουν πληροφορίες σχετικά με υλικό που δουλεύει με ελεύθερο λογισμικό:</p> + <ul> +<!-- <li><a href="http://www.fsf.org/resources/hw">Free Software Foundation archive</a></li> --> + <li><a href="http://libreplanet.org/wiki/Hardware/Freest">LibrePlanet Freest Hardware Page</a></li> + <li><a href="http://libreplanet.org/wiki/Group:LibrePlanet_Italia/Progetti/hardware_libero">LibrePlanet Italia - progetti hardware database</a></li> + </ul> + </div> + + <div class="home_objectives_title"> + Σχετικά με τον ιστότοπο <?php echo Website::$generalName;?>: + </div> + <div class="home_objectives_description"> + Το <?php echo Website::$generalName;?> πρέπει να θεωρείται πως βρίκεται σε <b>έκδοση beta</b>. Αναπτύσσεται συνεχώς και πολλά χαρακτηριστικά δεν έχουν ακόμη υλοποιηθεί (π.χ. πρέπει ακόμη να προστεθούν νέες συσκευές υλικού στη βάση δεδομένων). Μπορεί να παρατηρηθούν ορισμένα προβλήματα: αν εντοπίσετε ένα σφάλμα (bug), παρακαλώ προσθέστε μία αναφορά προβλήματος <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">εδώ</a> με θέμα <b>ίσως να πρόκειται για ένα bug</b>. + </div> + </div> + </div> diff --git a/Application/Views/Mobile/Home/left_it.php b/Application/Views/Mobile/Home/left_it.php new file mode 100644 index 0000000..dc9a6bb --- /dev/null +++ b/Application/Views/Mobile/Home/left_it.php @@ -0,0 +1,88 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + Home + </div> + + <?php echo $htmlNewsBox;?> + + <div class="home_container"> + <div class="home_objectives_title"> + Obiettivi: + </div> + + <div class="home_objectives_description"> + <img src="https://www.h-node.org/Public/Img/H2O/applications-internet.png"> Il progetto <b>h-node</b> mira alla costruzione di un database di hardware allo scopo di identificare quali dispositivi funzionino con un <a href="http://www.gnu.org/distros/free-distros.it.html">sistema operativo completamente libero</a>. Il sito h-node.org è strutturato come una wiki in cui tutti gli utenti possono inserire nuovi contenuti o modificare i contenuti già presenti. Il progetto h-node è sviluppato in collaborazione e come attività della <a href="http://www.fsf.org">FSF</a>. + </div> + + <div class="home_objectives_title"> + Contribuire: + </div> + <div class="home_objectives_description"> + Puoi contribuire creandoti un account su h-node.org e modificando i suoi contenuti generati dagli utenti. Tutte le tue modifiche saranno salvate nella storia del prodotto che stai modificando/aggiungendo. Ogni revisione (quella attuale o le precedenti) sarà contrassegnata col nome dell'utente che l'ha creata.<br />Puoi inoltre contribuire <b>suggerendo del nuovo hardware</b> da aggiungere al database o delle <b>caratteristiche da implementare</b>. + </div> + + <div class="home_objectives_title"> + Software libero: + </div> + <div class="home_objectives_description"> + <img height="100px" src="https://savannah.nongnu.org/images/Savannah.theme/floating.png">Per poter aggiungere un dispositivo nel database di h-node, devi verificare che funzioni usando solo software libero. Per questo scopo, puoi unicamente utilizzare: + + <p>1) Una delle distribuzioni GNU/Linux elencate <a href="http://www.gnu.org/distros/free-distros.html">nella lista delle distribuzioni approvate dalla FSF</a></p> + + <p>2) <a href="http://www.debian.org">Debian GNU/Linux</a>, <strong>con solo la zona archivio main attivata</strong>. Le aree "contrib" e "non-free" non devono essere abilitate durante il test dell'hardware. Controlla che sia così lanciando <code>apt-cache policy</code>. La sola zona archivio dei pacchetti deve essere <strong>main</strong>.</p> + + <p>h-node elenca solo hardware che funziona con driver liberi e senza firmware non libero. Le altre distribuzioni GNU/Linux (oppure Debian con contrib, non-free, o archivi di terze parti abilitati) includono file di firmware non liberi, quindi non possono essere utilizzate per i test.</p> + </div> + + <div class="home_objectives_title"> + Licenza: + </div> + + <div class="home_objectives_description"> + Qualsiasi testo da te inserito diventerà di Pubblico Dominio (visita la <a href="http://creativecommons.org/publicdomain/zero/1.0/deed.it">pagina CC0</a> per informazioni dettagliate). Chiunque è libero di copiare, modificare, pubblicare, usare, vendere o distribuire il testo che hai inserito su h-node.org, per qualsiasi fine, commerciale o non commerciale, e con ogni mezzo. + </div> + + <div class="home_objectives_title"> + Altre risorse in rete: + </div> + <div class="home_objectives_description"> + <p>Di seguito una lista di altri archivi contenenti informazioni sull' hardware funzionante con software libero:</p> + <ul> +<!-- <li><a href="http://www.fsf.org/resources/hw">Free Software Foundation archive</a></li> --> + <li><a href="http://libreplanet.org/wiki/Hardware/Freest">LibrePlanet Freest Hardware Page</a></li> + <li><a href="http://libreplanet.org/wiki/Group:LibrePlanet_Italia/Progetti/hardware_libero">LibrePlanet Italia - progetti hardware database</a></li> + </ul> + </div> + + <div class="home_objectives_title"> + A proposito del sito <?php echo Website::$generalName;?>: + </div> + <div class="home_objectives_description"> + <?php echo Website::$generalName;?> deve essere considerato una <b>versione beta</b>. E' in costante sviluppo e molte caratteristiche non sono ancora state implementate (per esempio nuovi dispositivi hardware devono essere aggiunti al database). Potrebbero esserci dei problemi: se scopri un bug per favore invia una segnalazione <a href="<?php echo $this->baseUrl."/issues/viewall/$lang/1/$token";?>">qui</a> con l'argomento <b>maybe a bug</b>. + </div> + </div> + + </div> diff --git a/Application/Views/Mobile/Notebooks/page.php b/Application/Views/Mobile/Notebooks/page.php new file mode 100644 index 0000000..c7cafef --- /dev/null +++ b/Application/Views/Mobile/Notebooks/page.php @@ -0,0 +1,119 @@ +<?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 } ?> + + <h3 class="model_name"> + <img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromType($item[$tableName]['type']);?>"> <b><?php echo $item[$tableName]['model'];?></b> + </h3> + + <div class="model_id">(<?php echo gtext("model id");?>: <b><?php echo $id_hard;?>)</b></div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("subtype");?> (<?php echo gtext("notebook");?>, <?php echo gtext("netbook");?>, <?php echo gtext("motherboard");?>, <?php echo gtext("tablet");?>):</div> + <div class="ui-block-b"><b><?php echo gtext($item[$tableName]['subtype']);?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("vendor");?>:</div> + <div class="ui-block-b"><b><?php echo betterVendor($item[$tableName]['vendor']);?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("architecture");?>:</div> + <div class="ui-block-b"><b><?php echo gtext(translate($item[$tableName]['architecture']));?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("does it have a free boot firmware (BIOS,UEFI,...) ?");?></div> + <div class="ui-block-b"><b><?php echo translate_and_gtext($item[$tableName]['bios']);?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("can free operating systems be installed?");?></div> + <div class="ui-block-b"><b><?php echo gtext($item[$tableName]['can_free_systems_be_installed']);?></b> <?php if (strcmp($item[$tableName]['can_free_systems_be_installed'],'no') === 0) echo "<span class='no_bold'>(".gtext("see the details inside the description entry").")</span>";?></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("does the device prevent installing wifi cards not-approved by the vendor?");?></div> + <div class="ui-block-b"><b><?php echo translate_and_gtext($item[$tableName]['prevent_wifi']);?></b> <?php if (strcmp($item[$tableName]['prevent_wifi'],'yes') === 0) echo "<span class='no_bold'>(".gtext("see the details inside the description entry").")</span>";?></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("year of commercialization");?>:</div> + <div class="ui-block-b"><b><?php echo gtext($item[$tableName]['comm_year']);?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("compatibility with free software");?>:</div> + <div class="ui-block-b"><b><?php echo gtext($item[$tableName]['compatibility']);?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("tested on");?>:</div> + <div class="ui-block-b"><b><?php echo Distributions::getName($item[$tableName]['distribution']);?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("tested with the following kernel libre");?>:</div> + <div class="ui-block-b"><b><?php echo implode("<br />",explode(',',$item[$tableName]['kernel']));?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("video card model");?>:</div> + <div class="ui-block-b"><b><?php echo $item[$tableName]['video_card_type'];?></b> (<?php echo gtext(Notebooks::$videoReverse[$item[$tableName]['video_card_works']]);?>)</div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("wifi model");?>:</div> + <div class="ui-block-b"><b><?php echo $item[$tableName]['wifi_type'];?></b> (<?php echo gtext(Notebooks::$wifiReverse[$item[$tableName]['wifi_works']]);?>)</div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("webcam model");?>:</div> + <div class="ui-block-b"><b><?php echo $item[$tableName]['webcam_type'];?></b> (<?php echo gtext(Notebooks::$webcamReverse[$item[$tableName]['webcam_works']]);?>)</div> + </div> + + <?php if (strcmp($item[$tableName]['description'],'') !== 0) { ?> + <h4><?php echo gtext("Description");?></h4> + <div class="device_description"><?php echo decodeWikiText($item[$tableName]['description']);?></div> + <?php } ?> + + </div> + <?php } ?> + + <?php } ?>
\ No newline at end of file diff --git a/Application/Views/Mobile/Project/index.php b/Application/Views/Mobile/Project/index.php new file mode 100644 index 0000000..c194a3b --- /dev/null +++ b/Application/Views/Mobile/Project/index.php @@ -0,0 +1,50 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » h-project + </div> + + <div class="credits_external_box"> + + <div class="credits_item_title"> + Why: + </div> + + <div class="credits_item_description"> + The h-node project has been created to help the free software movement by creating an archive of all the hardware that can work with a <a href="http://www.gnu.org/distros/free-distros.html">fully free operating system</a>. + </div> + + <div class="credits_item_title"> + Who: + </div> + + <div class="credits_item_description"> + Antonio Gallo (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>tonicucoz">tonicucoz</a>), h-node.com source code developer, Giulia Fanin (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Julia">Julia</a>), designer of the website layout and icons (thanks for your advice and support), Luis Alberto Guzman Garcia (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Ark74">Ark74</a>), member of the Spanish translation team (thanks for all of your useful ideas and suggestions), Henri (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Hardisk">Hardisk</a>), member of the French translation team, Joerg Kohne (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>joeko">joeko</a>), member of the German translation team, Benjamin Rochefort (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>oysterboy">oysterboy</a>), member of the French translation team, Kostas Mousafiris (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>kosmous">kosmous</a>), member of the Greek translation team. + <br />Also thanks to all of you who have believed in the project since it was born and to all of you who gave, give and will give their contribution. + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Project/index_de.php b/Application/Views/Mobile/Project/index_de.php new file mode 100644 index 0000000..ea32f1f --- /dev/null +++ b/Application/Views/Mobile/Project/index_de.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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » h-project + </div> + + <div class="credits_external_box"> + + <div class="credits_item_title"> + Warum: + </div> + + <div class="credits_item_description"> + Das Projekt „h-node“ wurde ins Leben gerufen, um für die Freie-Software-Bewegung ein umfassendes Hardware-Archiv für <a href="http://www.gnu.org/distros/free-distros.html">vollkommen Freie Betriebssysteme</a> aufzubauen. + </div> + + <div class="credits_item_title"> + Wer: + </div> + + <div class="credits_item_description"> + Antonio Gallo (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>tonicucoz">tonicucoz</a>), h-node.com source code developer, Giulia Fanin (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Julia">Julia</a>), Designer des Website-Layout und Symbole (Danke für die Ratschläge und Unterstützung), Luis Alberto Guzman Garcia (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Ark74">Ark74</a>), Mitglied des spanischen Übersetzungsteams (Danke für all die Ideen und nützlichen Anregungen), Henri (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Hardisk">Hardisk</a>), Mitglied des französischen Übersetzungsteams, Joerg Kohne (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>joeko">joeko</a>), Mitglied des deutschen Übersetzungsteams, Benjamin Rochefort (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>oysterboy">oysterboy</a>), Mitglied des französischen Übersetzungsteams, , Kostas Mousafiris (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>kosmous">kosmous</a>), member of the Greek translation team. + <br /> + Vielen Dank auch an alle, die an das Projekt, seit es ins Leben gerufen wurde, geglaubt haben und an alle, die ihren Beitrag geleistet haben, leisten und leisten werden. + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Project/index_es.php b/Application/Views/Mobile/Project/index_es.php new file mode 100644 index 0000000..1520ae5 --- /dev/null +++ b/Application/Views/Mobile/Project/index_es.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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » h-project + </div> + + <div class="credits_external_box"> + + <div class="credits_item_title"> + Por que: + </div> + + <div class="credits_item_description"> + El proyecto h-node ha sido creado para ayudar al movimiento de software libre al crear un archivo de todo el hardware que puede funcionar con un <a href="http://www.gnu.org/distros/free-distros.es.html">sistema operativo completamente libre</a>. + </div> + + <div class="credits_item_title"> + Quien: + </div> + + <div class="credits_item_description"> + Antonio Gallo (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>tonicucoz">tonicucoz</a>), h-node.com source code developer, Giulia Fanin (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Julia">Julia</a>), diseñadora del tema e iconos del sitio, (gracias por su consejo y apoyo), Luis Alberto Guzman Garcia (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Ark74">Ark74</a>), miembro del equipo de traducción al Español (gracias por sus útiles ideas y sugerencias), Henri (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Hardisk">Hardisk</a>), miembro del equipo de traducción al Francés, Joerg Kohne (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>joeko">joeko</a>), miembro del equipo de traducción al Alemán, Benjamin Rochefort (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>oysterboy">oysterboy</a>), miembro del equipo de traducción al Francés, , Kostas Mousafiris (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>kosmous">kosmous</a>), member of the Greek translation team. + <br /> + También gracias a todos aquellos que han creído en el proyecto desde que nació y a todos aquellos que dieron, dan y darán su contribución. + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Project/index_fr.php b/Application/Views/Mobile/Project/index_fr.php new file mode 100644 index 0000000..90e3706 --- /dev/null +++ b/Application/Views/Mobile/Project/index_fr.php @@ -0,0 +1,50 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » h-project + </div> + + <div class="credits_external_box"> + + <div class="credits_item_title"> + Pourquoi: + </div> + + <div class="credits_item_description"> + Le projet h-node a été créer pour aider le mouvement du logiciel libre en créant une archive de matériel fonctionnel avec des <a href="http://www.gnu.org/distros/free-distros.fr.html">systèmes entièrement libres</a>. + </div> + + <div class="credits_item_title"> + Qui: + </div> + + <div class="credits_item_description"> + Antonio Gallo (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>tonicucoz">tonicucoz</a>), h-node.com source code developer, Giulia Fanin (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Julia">Julia</a>), graphiste du site et des icones (merci pour tes conseils et ton support), Luis Alberto Guzman Garcia (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Ark74">Ark74</a>), membre de l’équipe de traduction espagnole (merci pour toutes vos bonnes idée et suggestion), Henri (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Hardisk">Hardisk</a>), membre de l’équipe de traduction française, Joerg Kohne (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>joeko">joeko</a>), membre de l’équipe de traduction allemande, Benjamin Rochefort (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>oysterboy">oysterboy</a>), membre de l’équipe de traduction française, Kostas Mousafiris (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>kosmous">kosmous</a>), member of the Greek translation team. + <br />Remerciement également à tout ceux qui ont crus à ce projet depuis sa naissance et à tout ceux qui ont donné, donne ou donnerons leurs contributions. + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Project/index_gr.php b/Application/Views/Mobile/Project/index_gr.php new file mode 100644 index 0000000..ddcee3f --- /dev/null +++ b/Application/Views/Mobile/Project/index_gr.php @@ -0,0 +1,50 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » h-project + </div> + + <div class="credits_external_box"> + + <div class="credits_item_title"> + Γιατί: + </div> + + <div class="credits_item_description"> + Το h-node project στήθηκε για να βοηθήσει το Κίνημα Ελεύθερου Λογισμικού, με τη δημιουργία ενός αρχείου για όλο το υλικό (hardware) που μπορεί να δουλέψει με ένα <a href="http://www.gnu.org/distros/free-distros.html">πλήρως ελεύθερο Λειτουργικό Σύστημα</a>. + </div> + + <div class="credits_item_title"> + Ποιος: + </div> + + <div class="credits_item_description"> + Ο Antonio Gallo (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>tonicucoz">tonicucoz</a>), h-node.com developer πηγαίου κώδικα, η Giulia Fanin (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Julia">Julia</a>, designer του layout και των εικόνων αυτού του ιστοτόπου (ευχαριστούμε για τις συμβουλές σου και την υποστήριξή σου), ο Luis Alberto Guzman Garcia (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Ark74">Ark74</a>), μέλος της Ισπανικής μεταφραστικής ομάδας (ευχαριστούμε για όλες τις χρήσιμες ιδέες σου και τις προτάσεις σου), ο Henri (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Hardisk">Hardisk</a>), μέλος της Γαλλικής μεταφραστικής ομάδας, ο Joerg Kohne (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>joeko">joeko</a>), μέλος της Γερμανικής μεταφραστικής ομάδας, ο Benjamin Rochefort (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>oysterboy">oysterboy</a>), μέλος της Γαλλικής μεταφραστικής ομάδας, Kostas Mousafiris (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>kosmous">kosmous</a>), member of the Greek translation team. + <br />Ευχαριστούμε, επίσης, όλους εσάς που πιστέψατε σε αυτό το project από τη γέννησή του, καθώς και όλους εσάς που δώσατε, δίνετε και θα δίνετε την συνεισφορά σας. + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/Project/index_it.php b/Application/Views/Mobile/Project/index_it.php new file mode 100644 index 0000000..44fb50d --- /dev/null +++ b/Application/Views/Mobile/Project/index_it.php @@ -0,0 +1,50 @@ +<?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 data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » h-project + </div> + + <div class="credits_external_box"> + + <div class="credits_item_title"> + Why: + </div> + + <div class="credits_item_description"> + Il progetto h-node è stato creato per aiutare il movimento del software libero creando un archivio di tutto l' hardware che funzioni con un <a href="http://www.gnu.org/distros/free-distros.it.html">sistema operativo completamente libero</a>. + </div> + + <div class="credits_item_title"> + Who: + </div> + + <div class="credits_item_description"> + Antonio Gallo (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>tonicucoz">tonicucoz</a>), sviluppatore del codice di h-node.com, Giulia Fanin (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Julia">Julia</a>), designer del layout del sito e delle icone (grazie per i consigli e il supporto), Luis Alberto Guzman Garcia (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Ark74">Ark74</a>), membro del team di traduzione spagnolo (grazie per tutte le idee e gli utili suggerimenti), Henri (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>Hardisk">Hardisk</a>), membro del team di traduzione francese, Joerg Kohne (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>joeko">joeko</a>), membro del team di traduzione tedesco, Benjamin Rochefort (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>oysterboy">oysterboy</a>), membro del team di traduzione francese, , Kostas Mousafiris (<a href="<?php echo $this->baseUrl."/meet/user/$lang/";?>kosmous">kosmous</a>), membro del team di traduzione greco. + <br />Grazie anche a tutti Voi che avete creduto nel progetto sin dalla sua nascita e a tutti quelli che hanno dato, danno e daranno il loro contributo. + </div> + + </div> + + </div> diff --git a/Application/Views/Mobile/bottom_left.php b/Application/Views/Mobile/bottom_left.php new file mode 100644 index 0000000..545a6ea --- /dev/null +++ b/Application/Views/Mobile/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/Application/Views/Mobile/catalogue.php b/Application/Views/Mobile/catalogue.php new file mode 100644 index 0000000..199d661 --- /dev/null +++ b/Application/Views/Mobile/catalogue.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/>. +?> + + <div class="back_button"> + <a rel="external" href="<?php echo $this->baseUrl."/hardware/catalogue/$lang/"?>" data-inline="true" data-icon="arrow-l" data-iconpos="left" data-theme="b" data-role="button"><?php echo gtext('back');?></a> + </div> + + <div class="ui-body ui-body-c"> + <form action="<?php echo $this->currPage."/$lang".$clearViewStatus;?>" method="GET"> + + <input type="search" name="search_string" id="basic" data-mini="true" value="<?php echo $search_string_form_value;?>"/> + + <button type="submit" data-theme="d"><?php echo gtext('Search');?></button> + </form> + </div> + + <!--if no device is found--> + <?php if (strcmp($recordNumber,0) === 0) { ?> + <div class="viewall_no_items_found"> + <?php echo gtext($notFoundString);?>... + </div> + <?php } ?> + + <!--loop--> + <ul class="devices_list" data-dividertheme="b" data-role="listview"> + <?php if (count($table) > 0) { ?> + <li data-role="list-divider"><h5><?php echo gtext("List of");?> <b><?php echo plural($this->controller);?></b></h5></li> + <?php } ?> + <?php foreach ($table as $item) {?> + <li><a href="<?php echo $this->baseUrl."/".$this->controller."/view/$lang/".$item['hardware']['id_hard'].'/'.encodeUrl($item['hardware']['model']).$this->viewStatus;?>"> + <img src="<?php echo Hardware::getIconFromType($item['hardware']['type']);?>" alt="France" class="ui-li-icon" /> + <h3><?php echo $item['hardware']['model'];?></h3> + + <?php if ( strcmp($this->controller,'notebooks') !== 0 and strcmp($item['hardware']['other_names'],'') !== 0 ) { ?> + <p><?php echo gtext("possible other names of the device");?>: <b><?php echo nl2br($item['hardware']['other_names']);?></b></p> + <?php } ?> + + <?php if (strcmp($this->controller,'notebooks') === 0 or strcmp($this->controller,'hostcontrollers') === 0) { ?> + <p> + <?php if (strcmp($this->controller,'notebooks') === 0) { ?> + <?php echo gtext("subtype");?> (<?php echo gtext("notebook");?>, <?php echo gtext("netbook");?>, <?php echo gtext("motherboard");?>, <?php echo gtext("tablet");?>) + <?php } else { ?> + <?php echo gtext("subtype");?> (<?php echo $subtypeHelpLabel;?>) + <?php } ?> + : <b><?php echo translate_and_gtext($item['hardware']['subtype']);?></b> + </p> + <?php } ?> + + <p><?php echo gtext("vendor");?>: <b><?php echo betterVendor($item['hardware']['vendor']);?></b></p> + + <p><?php echo gtext("year of commercialization");?>: <b><?php echo gtext($item['hardware']['comm_year']);?></b></p> + + <?php if (strcmp($this->controller,'notebooks') !== 0 ) { ?> + <p><?php echo gtext("interface");?>: <b><?php echo gtext(translate($item['hardware']['interface']));?></b></p> + <?php } ?> + + <p> + <?php if (strcmp($this->controller,'printers') === 0 or strcmp($this->controller,'scanners') === 0 or strcmp($this->controller,'notebooks') === 0) { ?> + <?php echo gtext("compatibility with free software");?>: + <?php } else if (strcmp($this->controller,'videocards') === 0 ) { ?> + <?php echo gtext("how does it work with free software?");?> + <?php } else { ?> + <?php echo gtext("does it work with free software?");?> + <?php } ?> + <b><?php echo gtext(translate($item['hardware'][$worksField]));?></b> + </p> + + <?php if (strcmp($this->controller,'printers') === 0 ) { ?> + <p><?php echo gtext("does it adopt any techniques to track users?");?> <b><?php echo gtext($item['hardware']['it_tracks_users']);?></b> + </p> + <?php } ?> + </a> + </li> + <?php } ?> + </ul> + + <div class="ui-grid-a page_list"> + <?php if ( $recordNumber > 10 ) { ?> + <?php if ($this->viewArgs['page'] > 1) { ?> + <div class="ui-block-a"><a rel="external" href="<?php echo $this->baseUrl."/".$this->controller."/catalogue/$lang/".($this->viewArgs['page']-1)."?search_string=".$this->viewArgs['search_string'];?>" data-inline="true" data-icon="arrow-l" data-theme="b" data-role="button"><?php echo gtext('previous');?></a></div> + <?php } ?> + <?php if ($this->viewArgs['page'] < $numberOfPages) { ?> + <div style="text-align:right;" class="ui-block-b"><a rel="external" href="<?php echo $this->baseUrl."/".$this->controller."/catalogue/$lang/".($this->viewArgs['page']+1)."?search_string=".$this->viewArgs['search_string'];?>" data-inline="true" data-icon="arrow-r" data-iconpos="right" data-theme="b" data-role="button"><?php echo gtext('next');?></a></div> + <?php } ?> + <?php } ?> + </div>
\ No newline at end of file diff --git a/Application/Views/Mobile/dialog.php b/Application/Views/Mobile/dialog.php new file mode 100644 index 0000000..55225a6 --- /dev/null +++ b/Application/Views/Mobile/dialog.php @@ -0,0 +1,22 @@ +<?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/>. +?> + diff --git a/Application/Views/Mobile/footer.php b/Application/Views/Mobile/footer.php new file mode 100644 index 0000000..8a414f2 --- /dev/null +++ b/Application/Views/Mobile/footer.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="footer" data-role="footer"> + + <div data-theme='b' data-role="navbar"> + <ul> + <li><a <?php echo $tm['contact']; ?> rel='external' href="<?php echo $this->baseUrl."/contact/index/$lang";?>"><?php echo gtext("contact us");?></a></li> + <li><a <?php echo $tm['credits']; ?> rel='external' href="<?php echo $this->baseUrl."/credits/index/$lang";?>"><?php echo gtext("credits");?></a></li> + <li><a <?php echo $tm['project']; ?> rel='external' href="<?php echo $this->baseUrl."/project/index/$lang";?>">The <?php echo Website::$projectName;?> Project</a></li> + </ul> + </div><!-- /navbar --> + <div data-role="navbar"> + <ul> + <li><a href="<?php echo $this->baseUrl."/home/index/$lang?version=desktop";?>"><?php echo gtext("desktop version");?></a></li> + </ul> + </div><!-- /navbar --> + +<?php +//$sid="23552"; +//include("/var/www/h-node.org/traffica/write_logs.php"); +?> + + </div> <!--fine footer--> + +</div> <!--fine page--> + +<!-- Start of second page: language dialog --> +<div data-role="page" id="language-dialog"> + + <div data-role="header" data-theme="a"> + <h1><?php echo gtext('Choose the language');?></h1> + </div><!-- /header --> + + <div data-role="content" data-theme="d"> + <?php echo $language_links;?> + </div><!-- /content --> + + <div data-role="footer"> + <p><?php echo gtext('list of languages');?></p> + </div><!-- /footer --> +</div><!-- /page popup --> + +</body> +</html> diff --git a/Application/Views/Mobile/header.php b/Application/Views/Mobile/header.php new file mode 100644 index 0000000..446f820 --- /dev/null +++ b/Application/Views/Mobile/header.php @@ -0,0 +1,104 @@ +<?php if (!defined('EG')) die('Direct access not allowed!'); ?> +<!DOCTYPE html> +<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" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> + + <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/jquery/jquery-1.7.1.min.js"></script> + + <script type="text/javascript"> + $(document).bind("mobileinit", function(){ + $.mobile.ajaxEnabled = false; + }); + </script> + + <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/jquery/jquery.mobile-1.1.0.js"></script> + <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Js/jquery/jquery.mobile-1.1.0.css"> + + <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/functions.js"></script> + + <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl?>/Public/Css/mobile.css"> + + <style type='text/css'> + .ui-icon-current-lang + { + background-image: url(<?php echo $this->baseUrl;?>/Public/Img/Famfamfam/<?php echo $langIcon;?>); + background-position:1px 4px; + } + .ui-icon-go-to-hardware + { + background-image: url(<?php echo $this->baseUrl;?>/Public/Img/Crystal/hardware.png); + background-position:1px 0px; + } + .ui-icon-go-to-home + { + background-image: url(<?php echo $this->baseUrl;?>/Public/Img/Crystal/home.png); + background-position:1px 1px; + } + </style> + + <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 data-role="page" data-theme="d"> + <div data-role="header"> + <div class="ui-grid-a"> + <div class="ui-block-a"><img style="padding-top:5px;" width="110px" src="<?php echo $this->baseUrl;?>/Public/Img/title.png"></div> + <div class="ui-block-b"><a href="http://www.fsf.org"><img style="padding-top:10px;" width="150px" src="<?php echo $this->baseUrl;?>/Public/Img/fsf_logo.png"></a></div> + </div><!-- /grid-a --> + + <div data-theme='b' data-role="navbar" data-iconpos="left"> + <ul> + <li><a data-icon="go-to-home" <?php echo $tm['home']; ?> href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a></li> + <li><a data-icon="go-to-hardware" <?php echo $tm['hardware']; ?> href="<?php echo $this->baseUrl."/hardware/catalogue/$lang";?>">Hardware</a></li> + <li><a data-icon="current-lang" data-rel="dialog" href="#language-dialog"><?php echo $langLabel;?></a></li> + </ul> + </div><!-- /navbar --> + + </div> diff --git a/Application/Views/Mobile/if_page_deleted.php b/Application/Views/Mobile/if_page_deleted.php new file mode 100644 index 0000000..932d0dd --- /dev/null +++ b/Application/Views/Mobile/if_page_deleted.php @@ -0,0 +1,60 @@ +<?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('Thanks for your contribution!'); ?><br /> + <?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/Application/Views/Mobile/moderator_dialog.php b/Application/Views/Mobile/moderator_dialog.php new file mode 100644 index 0000000..47e9af9 --- /dev/null +++ b/Application/Views/Mobile/moderator_dialog.php @@ -0,0 +1,21 @@ +<?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/>. +?>
\ No newline at end of file diff --git a/Application/Views/Mobile/page.php b/Application/Views/Mobile/page.php new file mode 100644 index 0000000..9d994b4 --- /dev/null +++ b/Application/Views/Mobile/page.php @@ -0,0 +1,134 @@ +<?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 } ?> + + <h3 class="model_name"> + <img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromType($item[$tableName]['type']);?>"> <b><?php echo $item[$tableName]['model'];?></b> + </h3> + + <div class="model_id">(<?php echo gtext("model id");?>: <b><?php echo $id_hard;?>)</b></div> + + <?php if ( strcmp($item[$tableName]['other_names'],'') !== 0 ) { ?> + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("possible other names of the device");?>:</div> + <div class="ui-block-b"><b><?php echo nl2br($item[$tableName]['other_names']);?></b></div> + </div> + <?php } ?> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("type");?>:</div> + <div class="ui-block-b"><b><?php echo singular($this->controller);?></b></div> + </div> + + <?php if (strcmp($this->controller,'printers') === 0 or strcmp($this->controller,'hostcontrollers') === 0) { ?> + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("subtype");?> (<?php echo $subtypeHelpLabel;?>):</div> + <div class="ui-block-b"><b><?php echo translate_and_gtext($item[$tableName]['subtype']);?></b></div> + </div> + <?php } ?> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("vendor");?>:</div> + <div class="ui-block-b"><b><?php echo betterVendor($item[$tableName]['vendor']);?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("VendorID:ProductID code of the device");?>:</div> + <div class="ui-block-b"><b><?php echo $item[$tableName]['pci_id'];?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("year of commercialization");?>:</div> + <div class="ui-block-b"><b><?php echo gtext($item[$tableName]['comm_year']);?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("interface");?>:</div> + <div class="ui-block-b"><b><?php echo gtext(translate($item[$tableName]['interface']));?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("tested on");?>:</div> + <div class="ui-block-b"><b><?php echo Distributions::getName($item[$tableName]['distribution']);?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("tested with the following kernel libre");?>:</div> + <div class="ui-block-b"><b><?php echo implode("<br />",explode(',',$item[$tableName]['kernel']));?></b></div> + </div> + + <div class="ui-grid-a main_content_element"> + <?php if (strcmp($this->controller,'videocards') === 0 ) { ?> + <div class="ui-block-a"><?php echo gtext("tested with the following kernel libre");?>:</div> + <?php } else if (strcmp($this->controller,'printers') === 0 ) { ?> + <div class="ui-block-a"><?php echo gtext("compatibility with free software");?>:</div> + <?php } else if (strcmp($this->controller,'scanners') === 0 ) { ?> + <div class="ui-block-a"><?php echo gtext("compatibility with free software");?>:</div> + <?php } else { ?> + <div class="ui-block-a"><?php echo gtext("does it work with free software?");?></div> + <?php } ?> + <div class="ui-block-b"><b><?php echo gtext(translate($item[$tableName][$worksField]));?></b></div> + </div> + + <?php if (strcmp($this->controller,'printers') === 0 ) { ?> + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("does it adopt any techniques to track users?");?><div class="box_module_label"><?php echo $tracksHelpLabel;?></div></div> + <div class="ui-block-b"><b><?php echo gtext($item[$tableName]['it_tracks_users']);?></b></div> + </div> + <?php } ?> + + <div class="ui-grid-a main_content_element"> + <div class="ui-block-a"><?php echo gtext("free driver used");?>:</div> + <div class="ui-block-b"><b><?php echo $item[$tableName]['driver'];?></b></div> + </div> + + <?php if (strcmp($item[$tableName]['description'],'') !== 0) { ?> + <h4><?php echo gtext("Description");?></h4> + <div class="device_description"><?php echo decodeWikiText($item[$tableName]['description']);?></div> + <?php } ?> + + + + </div> + <?php } ?> + + <?php } ?>
\ No newline at end of file diff --git a/Application/Views/Mobile/right.php b/Application/Views/Mobile/right.php new file mode 100644 index 0000000..55225a6 --- /dev/null +++ b/Application/Views/Mobile/right.php @@ -0,0 +1,22 @@ +<?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/>. +?> + diff --git a/Application/Views/Mobile/top_left.php b/Application/Views/Mobile/top_left.php new file mode 100644 index 0000000..7bfcf27 --- /dev/null +++ b/Application/Views/Mobile/top_left.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/>. +?> + + <div data-role="content"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » <a href="<?php echo $this->baseUrl."/hardware/catalogue/$lang";?>">Hardware</a> » <?php echo $tree;?> + </div> + + <?php if (strcmp($this->action,'view') === 0) { ?> + + <div class="back_button"> + <a rel="external" href="<?php echo $this->baseUrl."/".$this->controller."/catalogue/$lang".$this->viewStatus;?>" data-inline="true" data-icon="arrow-l" data-iconpos="left" data-theme="b" data-role="button"><?php echo gtext('back');?></a> + </div> + + <!--<div class="device_view_title"> + <?php echo singular($this->controller);?> <b><?php echo $ne_name;?></b> + </div>--> + + <?php } else if (strcmp($this->action,'catalogue') === 0) { ?> + + <?php echo $topNotice;?> + + <?php } ?>
\ No newline at end of file |