Changeset 8310 for trunk/admin/themes/default/template/install.tpl
- Timestamp:
- Dec 27, 2010, 12:02:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/install.tpl
r8162 r8310 8 8 <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico"> 9 9 10 {get_combined_css} 10 11 {foreach from=$themes item=theme} 11 {if isset($theme.local_head)}{include file=$theme.local_head}{/if} 12 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.id}/theme.css"> 12 {if $theme.load_css} 13 {combine_css path="admin/themes/`$theme.id`/theme.css" order=-10} 14 {/if} 13 15 {/foreach} 14 16 … … 53 55 <style type="text/css"> 54 56 body { 55 background:url("admin/themes/roma/images/bottom-left-bg.jpg") no-repeat fixed left bottom #111111;57 font-size:12px; 56 58 } 57 59 58 60 .content { 59 background:url("admin/themes/roma/images/fillet.png") repeat-x scroll left top #222222;60 61 width: 800px; 61 62 margin: auto; 62 63 text-align: center; 63 padding: 5px; 64 } 65 66 #headbranch { 67 background:url("admin/themes/roma/images/top-left-bg.jpg") no-repeat scroll left top transparent; 64 padding:0; 65 background-color:transparent !important; 66 border:none; 68 67 } 69 68 70 69 #theHeader { 71 70 display: block; 72 background:url("admin/themes/roma/images/piwigo_logo_sombre_214x100.png") no-repeat scroll 245px top transparent; 71 background:url("admin/themes/clear/images/piwigo_logo_big.png") no-repeat scroll center 20px transparent; 72 height:100px; 73 } 74 75 fieldset { 76 margin-top:20px; 77 background-color:#f1f1f1; 78 } 79 80 legend { 81 font-weight:bold; 82 letter-spacing:2px; 73 83 } 74 84 75 85 .content h2 { 76 86 display:block; 77 font-size:28px; 78 height:104px; 79 width:54%; 80 color:#666666; 81 letter-spacing:-1px; 82 margin:0 30px 3px 20px; 83 overflow:hidden; 84 position:absolute; 85 right:0; 86 text-align:right; 87 top:0; 88 width:770px; 89 text-align:right; 90 text-transform:none; 87 font-size:20px; 88 text-align:center; 89 /* margin-top:5px; */ 91 90 } 92 91 93 92 table.table2 { 94 93 width: 100%; 95 margin-bottom: 1em !important;96 94 border:0; 97 95 } 98 96 99 TD{97 table.table2 td { 100 98 text-align: left; 101 padding: 0.1em 0.5em; 102 height: 2.5em; 103 } 104 105 .infos { 106 background-color:transparent; 99 padding: 5px 2px; 100 } 101 102 table.table2 td.fieldname { 103 font-weight:normal; 104 } 105 106 table.table2 td.fielddesc { 107 padding-left:10px; 108 font-style:italic; 109 } 110 111 input[type="submit"], input[type="button"] { 112 font-size:14px; 113 font-weight:bold; 114 letter-spacing:2px; 107 115 border:none; 108 color:#999; 116 background-color:#666666; 117 color:#fff; 118 padding:5px; 119 -moz-border-radius:5px; 120 } 121 122 input[type="submit"]:hover, input[type="button"]:hover { 123 background-color:#ff7700; 124 color:white; 125 } 126 127 input[type="text"], input[type="password"], select { 128 background-color:#ddd; 129 border:2px solid #ccc; 130 -moz-border-radius:5px; 131 padding:2px; 132 } 133 134 input[type="text"]:focus, input[type="password"]:focus, select:focus { 135 background-color:#fff; 136 border:2px solid #ff7700; 109 137 } 110 138 … … 113 141 } 114 142 115 .config_creation_failed { 116 text-align:left; 117 border:3px solid #F20D00; 118 color:#999; 119 margin:20px; 120 padding:0px 20px 5px 20px; 121 background-image:url(admin/themes/default/icon/errors.png); 122 background-repeat:no-repeat; 123 } 124 125 #experimentalDbEngines TD {border:2px solid #666;background-color:#444; color:#ccc;} 143 .errors { 144 padding-bottom:5px; 145 } 146 126 147 </style> 127 148 {/literal} … … 130 151 131 152 <body> 132 <div id="headbranch"></div> {* Dummy block for double background management *}133 153 <div id="the_page"> 134 154 <div id="theHeader"></div> 135 155 <div id="content" class="content"> 136 156 137 <h2> Piwigo{$RELEASE} - {'Installation'|@translate}</h2>157 <h2>{'Version'|@translate} {$RELEASE} - {'Installation'|@translate}</h2> 138 158 139 159 {if isset($config_creation_failed)} 140 <div class=" config_creation_failed">160 <div class="errors"> 141 161 <p style="margin-left:30px;"> 142 162 <strong>{'Creation of config file local/config/database.inc.php failed.'|@translate}</strong> … … 180 200 <form method="POST" action="{$F_ACTION}" name="install_form"> 181 201 202 <fieldset> 203 <legend>{'Basic configuration'|@translate}</legend> 204 182 205 <table class="table2"> 183 <tr class="throw">184 <th colspan="2">{'Basic configuration'|@translate}</th>185 </tr>186 206 <tr> 187 207 <td style="width: 30%">{'Default gallery language'|@translate}</td> … … 193 213 </tr> 194 214 </table> 215 </fieldset> 216 217 <fieldset> 218 <legend>{'Database configuration'|@translate}</legend> 219 195 220 <table class="table2"> 196 <tr class="throw">197 <th colspan="3">{'Database configuration'|@translate}</th>198 </tr>199 221 {if count($F_DB_ENGINES)>1} 200 222 <tr> 201 <td style="width: 30%;" >{'Database type'|@translate}</td>223 <td style="width: 30%;" class="fieldname">{'Database type'|@translate}</td> 202 224 <td> 203 225 <select name="dblayer" id="dblayer"> … … 210 232 </select> 211 233 </td> 212 <td >{'The type of database your piwigo data will be store in'|@translate}</td>234 <td class="fielddesc">{'The type of database your piwigo data will be store in'|@translate}</td> 213 235 {else} 214 236 <td colspan="3"> … … 219 241 <tr id="experimentalDbEngines"> 220 242 <td colspan="3"> 243 <div class="warnings"> 221 244 {'SQLite and PostgreSQL are currently in experimental state.'|@translate} 222 245 <a href="http://piwigo.org/forum/viewtopic.php?id=15927" class="externalLink">{'Learn more'|@translate}</a> 246 </div> 223 247 </td> 224 248 </tr> 225 249 <tr> 226 <td style="width: 30%;" >{'Host'|@translate}</td>227 <td align=center><input type="text" name="dbhost" value="{$F_DB_HOST}"></td>228 <td >{'localhost, sql.multimania.com, toto.freesurf.fr'|@translate}</td>229 </tr> 230 <tr> 231 <td >{'User'|@translate}</td>232 <td align=center><input type="text" name="dbuser" value="{$F_DB_USER}"></td>233 <td >{'user login given by your host provider'|@translate}</td>234 </tr> 235 <tr> 236 <td >{'Password'|@translate}</td>237 <td align=center><input type="password" name="dbpasswd" value=""></td>238 <td >{'user password given by your host provider'|@translate}</td>239 </tr> 240 <tr> 241 <td >{'Database name'|@translate}</td>242 <td align=center><input type="text" name="dbname" value="{$F_DB_NAME}"></td>243 <td >{'also given by your host provider'|@translate}</td>244 </tr> 245 <tr> 246 <td >{'Database table prefix'|@translate}</td>247 <td align=center><input type="text" name="prefix" value="{$F_DB_PREFIX}"></td>248 <td >{'database tables names will be prefixed with it (enables you to manage better your tables)'|@translate}</td>250 <td style="width: 30%;" class="fieldname">{'Host'|@translate}</td> 251 <td><input type="text" name="dbhost" value="{$F_DB_HOST}"></td> 252 <td class="fielddesc">{'localhost, sql.multimania.com, toto.freesurf.fr'|@translate}</td> 253 </tr> 254 <tr> 255 <td class="fieldname">{'User'|@translate}</td> 256 <td><input type="text" name="dbuser" value="{$F_DB_USER}"></td> 257 <td class="fielddesc">{'user login given by your host provider'|@translate}</td> 258 </tr> 259 <tr> 260 <td class="fieldname">{'Password'|@translate}</td> 261 <td><input type="password" name="dbpasswd" value=""></td> 262 <td class="fielddesc">{'user password given by your host provider'|@translate}</td> 263 </tr> 264 <tr> 265 <td class="fieldname">{'Database name'|@translate}</td> 266 <td><input type="text" name="dbname" value="{$F_DB_NAME}"></td> 267 <td class="fielddesc">{'also given by your host provider'|@translate}</td> 268 </tr> 269 <tr> 270 <td class="fieldname">{'Database table prefix'|@translate}</td> 271 <td><input type="text" name="prefix" value="{$F_DB_PREFIX}"></td> 272 <td class="fielddesc">{'database tables names will be prefixed with it (enables you to manage better your tables)'|@translate}</td> 249 273 </tr> 250 274 </table> 251 275 276 </fieldset> 277 <fieldset> 278 <legend>{'Admin configuration'|@translate}</legend> 279 252 280 <table class="table2"> 253 <tr class="throw"> 254 <th colspan="3">{'Admin configuration'|@translate}</th> 255 </tr> 256 <tr> 257 <td style="width: 30%;">{'Webmaster login'|@translate}</td> 258 <td align="center"><input type="text" name="admin_name" value="{$F_ADMIN}"></td> 259 <td>{'It will be shown to the visitors. It is necessary for website administration'|@translate}</td> 260 </tr> 261 <tr> 262 <td>{'Webmaster password'|@translate}</td> 263 <td align="center"><input type="password" name="admin_pass1" value=""></td> 264 <td>{'Keep it confidential, it enables you to access administration panel'|@translate}</td> 265 </tr> 266 <tr> 267 <td>{'Password [confirm]'|@translate}</td> 268 <td align="center"><input type="password" name="admin_pass2" value=""></td> 269 <td>{'verification'|@translate}</td> 270 </tr> 271 <tr> 272 <td>{'Webmaster mail address'|@translate}</td> 273 <td align="center"><input type="text" name="admin_mail" value="{$F_ADMIN_EMAIL}"></td> 274 <td>{'Visitors will be able to contact site administrator with this mail'|@translate}</td> 281 <tr> 282 <td style="width: 30%;" class="fieldname">{'Webmaster login'|@translate}</td> 283 <td><input type="text" name="admin_name" value="{$F_ADMIN}"></td> 284 <td class="fielddesc">{'It will be shown to the visitors. It is necessary for website administration'|@translate}</td> 285 </tr> 286 <tr> 287 <td class="fieldname">{'Webmaster password'|@translate}</td> 288 <td><input type="password" name="admin_pass1" value=""></td> 289 <td class="fielddesc">{'Keep it confidential, it enables you to access administration panel'|@translate}</td> 290 </tr> 291 <tr> 292 <td class="fieldname">{'Password [confirm]'|@translate}</td> 293 <td><input type="password" name="admin_pass2" value=""></td> 294 <td class="fielddesc">{'verification'|@translate}</td> 295 </tr> 296 <tr> 297 <td class="fieldname">{'Webmaster mail address'|@translate}</td> 298 <td><input type="text" name="admin_mail" value="{$F_ADMIN_EMAIL}"></td> 299 <td class="fielddesc">{'Visitors will be able to contact site administrator with this mail'|@translate}</td> 275 300 </tr> 276 301 </table> 277 302 278 <table> 279 <tr> 280 <td style="text-align: center;"> 281 <input class="submit" type="submit" name="install" value="{'Start Install'|@translate}"> 282 </td> 283 </tr> 284 </table> 303 </fieldset> 304 305 <div style="text-align:center; margin:20px 0 10px 0"> 306 <input class="submit" type="submit" name="install" value="{'Start Install'|@translate}"> 307 </div> 285 308 </form> 286 309 {else}
Note: See TracChangeset
for help on using the changeset viewer.