[2248] | 1 | {* $Id: install.tpl 2593 2008-09-26 01:21:37Z rvelices $ *} |
---|
[996] | 2 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
---|
| 3 | "http://www.w3.org/TR/html4/strict.dtd"> |
---|
| 4 | <html lang="fr"> |
---|
[859] | 5 | <head> |
---|
[2248] | 6 | <meta http-equiv="Content-Type" content="text/html; charset={$T_CONTENT_ENCODING}"> |
---|
[996] | 7 | <meta http-equiv="Content-script-type" content="text/javascript"> |
---|
| 8 | <meta http-equiv="Content-Style-Type" content="text/css"> |
---|
[2342] | 9 | <title>Piwigo {$RELEASE}</title> |
---|
[2248] | 10 | {literal} |
---|
[859] | 11 | <style type="text/css"> |
---|
[1855] | 12 | |
---|
| 13 | body, input, select { |
---|
| 14 | background-color:#cde; |
---|
[859] | 15 | } |
---|
| 16 | |
---|
[1855] | 17 | body { |
---|
| 18 | margin: 5px; |
---|
| 19 | padding: 0; |
---|
| 20 | font-size: 0.8em; |
---|
[2593] | 21 | font-family: Arial,Helvetica,sans-serif; |
---|
[859] | 22 | } |
---|
[1855] | 23 | |
---|
| 24 | body, table, input, form, select { |
---|
| 25 | color:#369; |
---|
| 26 | text-align:left; |
---|
[859] | 27 | } |
---|
[1855] | 28 | |
---|
| 29 | a { |
---|
| 30 | text-decoration: none; |
---|
| 31 | color: #c60; |
---|
[859] | 32 | } |
---|
| 33 | |
---|
[1855] | 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 | |
---|
[859] | 51 | .contenucellule { |
---|
[1855] | 52 | border-color: #69c; |
---|
| 53 | background-color:#eee; |
---|
| 54 | margin:12px 20px; |
---|
| 55 | border-width: 3px; |
---|
| 56 | border-style: solid ; |
---|
[859] | 57 | } |
---|
| 58 | |
---|
[1855] | 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 | |
---|
[859] | 69 | th { |
---|
[1855] | 70 | font-size: 120%; |
---|
| 71 | margin-bottom:10px; |
---|
| 72 | color:#fff; |
---|
[859] | 73 | } |
---|
[1855] | 74 | |
---|
| 75 | td.row { |
---|
| 76 | font-size: 90%; |
---|
[859] | 77 | } |
---|
[1855] | 78 | |
---|
| 79 | .submit { |
---|
| 80 | color: #cde |
---|
[859] | 81 | } |
---|
| 82 | |
---|
[1855] | 83 | .header { |
---|
| 84 | font-weight: normal; |
---|
| 85 | text-align: center; |
---|
| 86 | margin: 20px; |
---|
[859] | 87 | } |
---|
[1855] | 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 | |
---|
[859] | 102 | .errors { |
---|
[1855] | 103 | text-align: left; |
---|
| 104 | margin: 25px; |
---|
| 105 | color: #900; |
---|
| 106 | background-color: #ffe1e1; |
---|
[859] | 107 | border:1px solid red; |
---|
| 108 | } |
---|
| 109 | </style> |
---|
[2248] | 110 | {/literal} |
---|
[859] | 111 | </head> |
---|
| 112 | <body> |
---|
[1855] | 113 | <table style="width:100%;height:100%"> |
---|
| 114 | <tr align="center" valign="middle"> |
---|
| 115 | <td> |
---|
[2342] | 116 | <div class="title">Piwigo {$RELEASE}</div> |
---|
[1855] | 117 | <table class="table1"> |
---|
[2248] | 118 | {if isset($errors)} |
---|
[1855] | 119 | <tr> |
---|
| 120 | <td class="contenucellule" colspan="3"> |
---|
| 121 | <div class="errors"> |
---|
| 122 | <ul> |
---|
[2248] | 123 | {foreach from=$errors item=error} |
---|
| 124 | <li>{$error}</li> |
---|
| 125 | {/foreach} |
---|
[1855] | 126 | </ul> |
---|
| 127 | </div> |
---|
| 128 | </td> |
---|
| 129 | </tr> |
---|
[2248] | 130 | {/if} |
---|
| 131 | {if isset($infos)} |
---|
[1855] | 132 | <tr> |
---|
| 133 | <td class="contenucellule" colspan="3"> |
---|
| 134 | <div class="infos"> |
---|
| 135 | <ul> |
---|
[2248] | 136 | {foreach from=$infos item=info} |
---|
| 137 | <li>{$info}</li> |
---|
| 138 | {/foreach} |
---|
[1855] | 139 | </ul> |
---|
| 140 | </div> |
---|
| 141 | </td> |
---|
| 142 | </tr> |
---|
[2248] | 143 | {/if} |
---|
[1855] | 144 | <tr> |
---|
| 145 | <td class="contenucellule"> |
---|
[859] | 146 | |
---|
[2248] | 147 | {if isset($error_copy)} |
---|
| 148 | {'step1_err_copy'|@translate} : |
---|
[859] | 149 | <br />-----------------------------------------------------<br /> |
---|
[2248] | 150 | <div class="error_copy">{$error_copy}</div> |
---|
[859] | 151 | -----------------------------------------------------<br /> |
---|
[2248] | 152 | {/if} |
---|
| 153 | |
---|
| 154 | {if isset($install)} |
---|
| 155 | <form method="POST" action="{$F_ACTION}" name="install_form"> |
---|
[1855] | 156 | <table> |
---|
| 157 | <tr> |
---|
[2248] | 158 | <th colspan="3">{'Initial_config'|@translate}</th> |
---|
[859] | 159 | </tr> |
---|
| 160 | <tr> |
---|
[2248] | 161 | <td style="width:30%;">{'Default_lang'|@translate}</td> |
---|
[859] | 162 | <td colspan="2" align="left"> |
---|
[2248] | 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> |
---|
[859] | 166 | </td> |
---|
| 167 | </tr> |
---|
| 168 | <tr> |
---|
[1855] | 169 | <td colspan="3"> </td> |
---|
[859] | 170 | </tr> |
---|
| 171 | <tr> |
---|
[2248] | 172 | <th colspan="3">{'step1_title'|@translate}</th> |
---|
[859] | 173 | </tr> |
---|
| 174 | <tr> |
---|
[2248] | 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> |
---|
[859] | 178 | </tr> |
---|
| 179 | <tr> |
---|
[2248] | 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> |
---|
[859] | 183 | </tr> |
---|
| 184 | <tr> |
---|
[2248] | 185 | <td>{'step1_pass'|@translate}</td> |
---|
[859] | 186 | <td align=center><input type="password" name="dbpasswd" value="" /></td> |
---|
[2248] | 187 | <td class="row">{'step1_pass_info'|@translate}</td> |
---|
[859] | 188 | </tr> |
---|
| 189 | <tr> |
---|
[2248] | 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> |
---|
[859] | 193 | </tr> |
---|
| 194 | <tr> |
---|
[2248] | 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> |
---|
[859] | 198 | </tr> |
---|
| 199 | <tr> |
---|
| 200 | <td colspan="3"> </td> |
---|
| 201 | </tr> |
---|
| 202 | <tr> |
---|
[2248] | 203 | <th colspan="3">{'step2_title'|@translate}</th> |
---|
[859] | 204 | </tr> |
---|
| 205 | <tr> |
---|
[2248] | 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> |
---|
[859] | 209 | </tr> |
---|
| 210 | <tr> |
---|
[2248] | 211 | <td>{'step2_pwd'|@translate}</td> |
---|
[859] | 212 | <td align="center"><input type="password" name="admin_pass1" value="" /></td> |
---|
[2248] | 213 | <td class="row">{'step2_pwd_info'|@translate}</td> |
---|
[859] | 214 | </tr> |
---|
| 215 | <tr> |
---|
[2248] | 216 | <td>{'step2_pwd_conf'|@translate}</td> |
---|
[859] | 217 | <td align="center"><input type="password" name="admin_pass2" value="" /></td> |
---|
[2248] | 218 | <td class="row">{'step2_pwd_conf_info'|@translate}</td> |
---|
[859] | 219 | </tr> |
---|
| 220 | <tr> |
---|
[2248] | 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> |
---|
[859] | 224 | </tr> |
---|
| 225 | <tr> |
---|
[996] | 226 | <td colspan="3"> </td> |
---|
[859] | 227 | </tr> |
---|
| 228 | <tr> |
---|
| 229 | <td colspan="3" align="center"> |
---|
[2248] | 230 | <input class="submit" type="submit" name="install" value="{'Start_Install'|@translate}" /> |
---|
[859] | 231 | </td> |
---|
| 232 | </tr> |
---|
[1855] | 233 | <tr> |
---|
| 234 | <td colspan="3"> </td> |
---|
| 235 | </tr> |
---|
[859] | 236 | </table> |
---|
| 237 | </form> |
---|
[2248] | 238 | {else} |
---|
[1855] | 239 | <div class="infos_title"> |
---|
[2248] | 240 | {'install_end_title'|@translate} |
---|
[1855] | 241 | </div> |
---|
| 242 | <div class="infos"> |
---|
[2248] | 243 | {'install_end_message'|@translate} |
---|
[1855] | 244 | </div> |
---|
[2248] | 245 | {/if} |
---|
[859] | 246 | |
---|
| 247 | </td> |
---|
| 248 | </tr> |
---|
| 249 | </table> |
---|
[2248] | 250 | <div class="header">{$L_INSTALL_HELP}</div> |
---|
[859] | 251 | </td> |
---|
| 252 | </tr> |
---|
| 253 | </table> |
---|
| 254 | </body> |
---|
[996] | 255 | </html> |
---|