noalyss Version-9
template_config_form.php
Go to the documentation of this file.
1<?php
2
3/*
4 * This file is part of NOALYSS.
5 *
6 * NOALYSS is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * NOALYSS is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with NOALYSS; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20/* $Revision$ */
21
22// Copyright Author Dany De Bontridder danydb@aevalys.eu
23
24/**
25 * @file
26 * @brief
27 *
28 */
29
30?>
31<div style="margin-left: 5em">
32 <h2><?=_("Application")?></h2>
33 <div style="margin-left:5rem">
34
35 <table>
36 <tr>
37 <td>
38 <?php echo _('Administrateur de noalyss')?>
39 </td>
40 <td>
41 <?php echo $icadmin->input();echo Icon_Action::infobulle(210)?>
42 </td>
43 </tr>
44 <tr>
45 <td>
46 <?php echo _('Mot de passe administrateur de noalyss')?>
47 </td>
48 <td>
49 <?php echo $icpassword_admin->input();?>
50 <?php echo Icon_Action::infobulle(209)?>
51 </td>
52 </tr>
53
54 </table>
55 </div>
56 <h2><?=_("Serveur")?></h2>
57 <div style="margin-left:5rem">
58 <table>
59 <tr>
60 <TD> <?php echo _('Répertoire temporaire');?> </TD>
61 <TD> <?php echo $ictmp->input(); echo Icon_Action::infobulle(200);?></TD>
62
63 </tr>
64 <TR>
65
66 <TD><?php echo _('Changement de langue');?></TD>
67 <TD> <?php echo $iclocale->input();echo Icon_Action::infobulle(201)?></TD>
68 </TR>
69 <TR>
70 <TD><?php echo _('Chemin complet vers les executable de Postgresql');?> </TD>
71 <TD><?php echo $icpath->input();echo Icon_Action::infobulle(202)?></TD>
72 </TR>
73 <tr>
74 <td><?php echo _('Mode Serveur mutualisé'). Icon_Action::infobulle(207) ?></td>
75 <td><?php echo $smulti->input() ?></td>
76 </tr>
77 <tr id="div_db" style="visibility:hidden">
78 <td>
79 <?php echo _('Nom base de donnée');?>
80
81 </td>
82 <td>
83 <?php echo $icdbname->input();echo Icon_Action::infobulle(206) ?>
84 <a href="https://wiki.noalyss.eu/doku.php?id=installation:installation_sur_serveur_mutualise" target="_blank"><?php echo _('Aide');?></a>
85 </td>
86 </tr>
87
88 </table>
89 </div>
90
91 <h2><?=_("Postgresql")?></h2>
92 <div style="margin-left:5rem">
93
94 <table>
95 <TR>
96 <TD><?php echo _('Utilisateur Postgresql');?> </TD>
97 <TD><?php echo $icuser->input();echo Icon_Action::infobulle(203)?></TD>
98 </TR>
99 <TR>
100 <TD><?php echo _('Mot de passe de l\'utilisateur Postgresql');?> </TD>
101 <TD><?php echo $icpasswd->input();echo Icon_Action::infobulle(204)?></TD>
102</TR>
103<TR>
104 <TD><?php echo _('Adresse Serveur Postgresql');?> </TD>
105 <TD><?php echo $ichost->input();echo Icon_Action::infobulle(208)?></TD>
106</TR>
107<TR>
108 <TD><?php echo _('Port de Postgresql');?> </TD>
109 <TD><?php echo $icport->input();echo Icon_Action::infobulle(205)?></TD>
110</TR>
111</table>
112 </div>
113</div>
114<div class="notice">
115 <?php
116 if ( $os == 1 )
117 {
118 echo _('Attention : si vous installez sous windows n\'utilisez pas le \ mais plutôt le / dans les nom de répertoire (càd les chemins ou path)');
119 }
120 ?>
121</div>
122<script>
123function show_dbname(obj) {
124 try {
125 if (obj.checked === true)
126 {
127 this.document.getElementById('div_db').style.visibility= 'visible';
128 }
129 else {
130 this.document.getElementById('div_db').style.visibility= 'hidden';
131 }
132 } catch (e) {
133 alert_box(e.getMessage);
134 }
135}
136<?php
137// Show the div is MONO
138if ( $smulti->selected == true) :
139?>
140 show_dbname($('multi'));
141<?php
143?>
144</script>
h2($p_string, $p_class="", $raw="")
Definition: ac_common.php:68
tr($p_string, $p_extra='')
Definition: ac_common.php:88
td($p_string='', $p_extra='')
surround the string with td
Definition: ac_common.php:83
$opd_description style
static infobulle($p_comment)
Display a info in a bubble, text is in message_javascript.
$all table
$os
Definition: constant.php:75