[3334] | 1 | {* $Id: install.tpl 2342 2008-05-15 18:43:33Z rub $ *} |
---|
| 2 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
---|
| 3 | "http://www.w3.org/TR/html4/strict.dtd"> |
---|
| 4 | <html lang="fr"> |
---|
| 5 | <head> |
---|
| 6 | <meta http-equiv="Content-Type" content="text/html; charset={$T_CONTENT_ENCODING}"> |
---|
| 7 | <meta http-equiv="Content-script-type" content="text/javascript"> |
---|
| 8 | <meta http-equiv="Content-Style-Type" content="text/css"> |
---|
| 9 | <title>Piwigo {$RELEASE}</title> |
---|
| 10 | {literal} |
---|
| 11 | <style type="text/css"> |
---|
| 12 | |
---|
| 13 | body, input, select { |
---|
| 14 | background-color:#cde; |
---|
| 15 | } |
---|
| 16 | |
---|
| 17 | body { |
---|
| 18 | margin: 5px; |
---|
| 19 | padding: 0; |
---|
| 20 | font-size: 0.8em; |
---|
| 21 | font-family: Univers, Helvetica, Optima, "Bitstream Vera Sans", sans-serif; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | body, table, input, form, select { |
---|
| 25 | color:#369; |
---|
| 26 | text-align:left; |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | a { |
---|
| 30 | text-decoration: none; |
---|
| 31 | color: #c60; |
---|
| 32 | } |
---|
| 33 | |
---|
| 34 | a:hover { |
---|
| 35 | color: #f92; |
---|
| 36 | } |
---|
| 37 | |
---|
| 38 | table { |
---|
| 39 | border-collapse:separate; |
---|
| 40 | } |
---|
| 41 | |
---|
| 42 | .title { |
---|
| 43 | letter-spacing: 0.2em; |
---|
| 44 | text-align : center; |
---|
| 45 | font-size: 150%; |
---|
| 46 | font-weight: bold; |
---|
| 47 | padding: 0; |
---|
| 48 | margin: 0.5em 0 1em 0; |
---|
| 49 | } |
---|
| 50 | |
---|
| 51 | .contenucellule { |
---|
| 52 | border-color: #69c; |
---|
| 53 | background-color:#eee; |
---|
| 54 | margin:12px 20px; |
---|
| 55 | border-width: 3px; |
---|
| 56 | border-style: solid ; |
---|
| 57 | } |
---|
| 58 | |
---|
| 59 | .error_copy { |
---|
| 60 | color: #900; |
---|
| 61 | } |
---|
| 62 | |
---|
| 63 | th, .submit { |
---|
| 64 | text-align: center; |
---|
| 65 | font-weight: bold; |
---|
| 66 | background-color: #369; |
---|
| 67 | } |
---|
| 68 | |
---|
| 69 | th { |
---|
| 70 | font-size: 120%; |
---|
| 71 | margin-bottom:10px; |
---|
| 72 | color:#fff; |
---|
| 73 | } |
---|
| 74 | |
---|
| 75 | td.row { |
---|
| 76 | font-size: 90%; |
---|
| 77 | } |
---|
| 78 | |
---|
| 79 | .submit { |
---|
| 80 | color: #cde |
---|
| 81 | } |
---|
| 82 | |
---|
| 83 | .header { |
---|
| 84 | font-weight: normal; |
---|
| 85 | text-align: center; |
---|
| 86 | margin: 20px; |
---|
| 87 | } |
---|
| 88 | |
---|
| 89 | .infos { |
---|
| 90 | padding: 15px; |
---|
| 91 | font-weight: normal; |
---|
| 92 | text-align: left; |
---|
| 93 | } |
---|
| 94 | |
---|
| 95 | .infos_title { |
---|
| 96 | font-size: 150%; |
---|
| 97 | padding: 15px; |
---|
| 98 | font-weight: bold; |
---|
| 99 | text-align: left; |
---|
| 100 | } |
---|
| 101 | |
---|
| 102 | .errors { |
---|
| 103 | text-align: left; |
---|
| 104 | margin: 25px; |
---|
| 105 | color: #900; |
---|
| 106 | background-color: #ffe1e1; |
---|
| 107 | border:1px solid red; |
---|
| 108 | } |
---|
| 109 | </style> |
---|
| 110 | {/literal} |
---|
| 111 | </head> |
---|
| 112 | <body> |
---|
| 113 | <table style="width:100%;height:100%"> |
---|
| 114 | <tr align="center" valign="middle"> |
---|
| 115 | <td> |
---|
| 116 | <div class="title">Piwigo {$RELEASE}</div> |
---|
| 117 | <table class="table1"> |
---|
| 118 | {if isset($errors)} |
---|
| 119 | <tr> |
---|
| 120 | <td class="contenucellule" colspan="3"> |
---|
| 121 | <div class="errors"> |
---|
| 122 | <ul> |
---|
| 123 | {foreach from=$errors item=error} |
---|
| 124 | <li>{$error}</li> |
---|
| 125 | {/foreach} |
---|
| 126 | </ul> |
---|
| 127 | </div> |
---|
| 128 | </td> |
---|
| 129 | </tr> |
---|
| 130 | {/if} |
---|
| 131 | {if isset($infos)} |
---|
| 132 | <tr> |
---|
| 133 | <td class="contenucellule" colspan="3"> |
---|
| 134 | <div class="infos"> |
---|
| 135 | <ul> |
---|
| 136 | {foreach from=$infos item=info} |
---|
| 137 | <li>{$info}</li> |
---|
| 138 | {/foreach} |
---|
| 139 | </ul> |
---|
| 140 | </div> |
---|
| 141 | </td> |
---|
| 142 | </tr> |
---|
| 143 | {/if} |
---|
| 144 | <tr> |
---|
| 145 | <td class="contenucellule"> |
---|
| 146 | |
---|
| 147 | {if isset($error_copy)} |
---|
| 148 | {'step1_err_copy'|@translate} : |
---|
| 149 | <br />-----------------------------------------------------<br /> |
---|
| 150 | <div class="error_copy">{$error_copy}</div> |
---|
| 151 | -----------------------------------------------------<br /> |
---|
| 152 | {/if} |
---|
| 153 | |
---|
| 154 | {if isset($install)} |
---|
| 155 | <form method="POST" action="{$F_ACTION}" name="install_form"> |
---|
| 156 | <table> |
---|
| 157 | <tr> |
---|
| 158 | <th colspan="3">{'Initial_config'|@translate}</th> |
---|
| 159 | </tr> |
---|
| 160 | <tr> |
---|
| 161 | <td style="width:30%;">{'Default_lang'|@translate}</td> |
---|
| 162 | <td colspan="2" align="left"> |
---|
| 163 | <select name="language" onchange="document.location = 'install.php?language='+this.options[this.selectedIndex].value;"> |
---|
| 164 | {html_options options=$language_options selected=$language_selection} |
---|
| 165 | </select> |
---|
| 166 | </td> |
---|
| 167 | </tr> |
---|
| 168 | <tr> |
---|
| 169 | <td colspan="3"> </td> |
---|
| 170 | </tr> |
---|
| 171 | <tr> |
---|
| 172 | <th colspan="3">{'step1_title'|@translate}</th> |
---|
| 173 | </tr> |
---|
| 174 | <tr> |
---|
| 175 | <td>{'step1_host'|@translate}</td> |
---|
| 176 | <td align=center><input type="text" name="dbhost" value="{$F_DB_HOST}" /></td> |
---|
| 177 | <td class="row">{'step1_host_info'|@translate}</td> |
---|
| 178 | </tr> |
---|
| 179 | <tr> |
---|
| 180 | <td>{'step1_user'|@translate}</td> |
---|
| 181 | <td align=center><input type="text" name="dbuser" value="{$F_DB_USER}" /></td> |
---|
| 182 | <td class="row">{'step1_user_info'|@translate}</td> |
---|
| 183 | </tr> |
---|
| 184 | <tr> |
---|
| 185 | <td>{'step1_pass'|@translate}</td> |
---|
| 186 | <td align=center><input type="password" name="dbpasswd" value="" /></td> |
---|
| 187 | <td class="row">{'step1_pass_info'|@translate}</td> |
---|
| 188 | </tr> |
---|
| 189 | <tr> |
---|
| 190 | <td>{'step1_database'|@translate}</td> |
---|
| 191 | <td align=center><input type="text" name="dbname" value="{$F_DB_NAME}" /></td> |
---|
| 192 | <td class="row">{'step1_database_info'|@translate}</td> |
---|
| 193 | </tr> |
---|
| 194 | <tr> |
---|
| 195 | <td>{'step1_prefix'|@translate}</td> |
---|
| 196 | <td align=center><input type="text" name="prefix" value="{$F_DB_PREFIX}" /></td> |
---|
| 197 | <td class="row">{'step1_prefix_info'|@translate}</td> |
---|
| 198 | </tr> |
---|
| 199 | <tr> |
---|
| 200 | <td colspan="3"> </td> |
---|
| 201 | </tr> |
---|
| 202 | <tr> |
---|
| 203 | <th colspan="3">{'step2_title'|@translate}</th> |
---|
| 204 | </tr> |
---|
| 205 | <tr> |
---|
| 206 | <td>{'install_webmaster'|@translate}</td> |
---|
| 207 | <td align="center"><input type="text" name="admin_name" value="{$F_ADMIN}" /></td> |
---|
| 208 | <td class="row">{'install_webmaster_info'|@translate}</td> |
---|
| 209 | </tr> |
---|
| 210 | <tr> |
---|
| 211 | <td>{'step2_pwd'|@translate}</td> |
---|
| 212 | <td align="center"><input type="password" name="admin_pass1" value="" /></td> |
---|
| 213 | <td class="row">{'step2_pwd_info'|@translate}</td> |
---|
| 214 | </tr> |
---|
| 215 | <tr> |
---|
| 216 | <td>{'step2_pwd_conf'|@translate}</td> |
---|
| 217 | <td align="center"><input type="password" name="admin_pass2" value="" /></td> |
---|
| 218 | <td class="row">{'step2_pwd_conf_info'|@translate}</td> |
---|
| 219 | </tr> |
---|
| 220 | <tr> |
---|
| 221 | <td>{'conf_mail_webmaster'|@translate}</td> |
---|
| 222 | <td align="center"><input type="text" name="admin_mail" value="{$F_ADMIN_EMAIL}" /></td> |
---|
| 223 | <td class="row">{'conf_mail_webmaster_info'|@translate}</td> |
---|
| 224 | </tr> |
---|
| 225 | <tr> |
---|
| 226 | <td colspan="3"> </td> |
---|
| 227 | </tr> |
---|
| 228 | <tr> |
---|
| 229 | <td colspan="3" align="center"> |
---|
| 230 | <input class="submit" type="submit" name="install" value="{'Start_Install'|@translate}" /> |
---|
| 231 | </td> |
---|
| 232 | </tr> |
---|
| 233 | <tr> |
---|
| 234 | <td colspan="3"> </td> |
---|
| 235 | </tr> |
---|
| 236 | </table> |
---|
| 237 | </form> |
---|
| 238 | {else} |
---|
| 239 | <div class="infos_title"> |
---|
| 240 | {'install_end_title'|@translate} |
---|
| 241 | </div> |
---|
| 242 | <div class="infos"> |
---|
| 243 | {'install_end_message'|@translate} |
---|
| 244 | </div> |
---|
| 245 | {/if} |
---|
| 246 | |
---|
| 247 | </td> |
---|
| 248 | </tr> |
---|
| 249 | </table> |
---|
| 250 | <div class="header">{$L_INSTALL_HELP}</div> |
---|
| 251 | </td> |
---|
| 252 | </tr> |
---|
| 253 | </table> |
---|
| 254 | </body> |
---|
| 255 | </html> |
---|