[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 {*?template charset=latin1?*} 3 4 <form method="post" action="{$script}"> 5 6 <div align="center"> 7 <h1>{"Site details"|i18n("design/standard/setup/init")}</h1> 8 </div> 9 10 <p> 11 {"This page lets you modify information about the site you've chosen to install. In addition, it also lets you choose a database for the site."|i18n("design/standard/setup/init")} 12 </p> 13 14 15 {section show=eq( $site_access_illegal, 1 )} 16 <blockquote class="error"> 17 <h2>{"Warning"|i18n("design/standard/setup/init")}</h2> 18 <p> 19 {switch match=$site_type.access_type} 20 {case match='url'} 21 {"'User path' and 'Admin path' should only contain letters ('a-zA-Z'), digits ('0-9') and underscores ('_'). The access values must not be named 'admin' or 'user' and each value must be unique. Please change invalid values on site indicated by *"|i18n("design/standard/setup/init")} 22 {/case} 23 {case match='port'} 24 {"'User port' and 'Admin port' should only contain digits ('0-9'). Please change invalid values on site indicated by *"|i18n("design/standard/setup/init")} 25 {/case} 26 {case match='hostname'} 27 <p>{"'User hostname' and 'Admin hostname' should only contain letters ('a-zA-Z'), digits ('0-9'), dashes ('-'), dots ('.') and colons (':'). Please change invalid values on site indicated by *"|i18n("design/standard/setup/init")}</p> 28 {/case} 29 {case/} 30 {/switch} 31 </p> 32 </blockquote> 33 {/section} 34 35 {section show=eq( $db_already_chosen, 1 )} 36 <blockquote class="error"> 37 <h2>{"Warning"|i18n("design/standard/setup/init")}</h2> 38 <p> 39 {"You have chosen the same database for two or more site templates. Please change where indicated by *"|i18n("design/standard/setup/init")} 40 </p> 41 </blockquote> 42 {/section} 43 44 {section show=eq( $db_not_empty, 1 )} 45 <blockquote class="error"> 46 <h2>{"Warning"|i18n("design/standard/setup/init")}</h2> 47 <p> 48 {"Your database already contain data. 49 The setup can continue with the initialization but may damage the present data."|i18n("design/standard/setup/init")} 50 </p> 51 <p> 52 {"Select what to do from the drop-down box."|i18n("design/standard/setup/init")} 53 </p> 54 </blockquote> 55 {/section} 56 57 {section var=site_error show=$site_type.errors|count|gt( 0 ) loop=$site_type.errors} 58 <blockquote class="error"> 59 <h2>{"Warning"|i18n("design/standard/setup/init")}</h2> 60 <p> 61 {$site_error.text} 62 </p> 63 {section show=$site_error.url} 64 <a href="{$site_error.url.href}" target="_other">{$site_error.url.text|wash}</a> 65 {/section} 66 </blockquote> 67 {/section} 68 69 <div align="top" class="site-thumbnail"> 70 {section show=eq( $site_type.site_access_illegal, 1 )}<div style="color: #ff7f00;">*</div>{/section} 71 {section show=is_set( $site_type.thumbnail )} 72 <img class="site-type" src={concat( "design/standard/images/setup/thumbnails/", $site_type.thumbnail )|ezroot}> 73 {section-else} 74 <img class="site-type" src={"design/standard/images/setup/eZ_setup_template_default.png"|ezroot}> 75 {/section} 76 </div> 77 78 <div align="bottom"> 79 <fieldset> 80 <legend>{'Details for site'|i18n( 'design/standard/setup' )}:</legend> 81 <table border="0" cellspacing="2" cellpadding="0"> 82 <tr> 83 <td><label class="textfield">{"Title"|i18n("design/standard/setup/init")}:</label> </td> 84 <td><input type="text" size="30" name="eZSetup_site_templates_title" value="{$site_type.title|wash}" /></td> 85 </tr> 86 <tr> 87 <td><label class="textfield">{"Site url"|i18n("design/standard/setup/init")}:</label> </td> 88 <td><input type="text" size="30" name="eZSetup_site_templates_url" value="{$site_type.url|wash}" /></td> 89 </tr> 90 <tr> 91 {switch match=$site_type.access_type} 92 {case match='url'} 93 <td{section show=eq( $site_access_illegal, 1 )} class="invalid"{/section}><label class="textfield">{"User path"|i18n("design/standard/setup/init")}:</label> </td> 94 {/case} 95 {case match='port'} 96 <td{section show=eq( $site_access_illegal, 1 )} class="invalid"{/section}><label class="textfield">{"User port"|i18n("design/standard/setup/init")}:</label> </td> 97 {/case} 98 {case match='hostname'} 99 <td{section show=or( eq( $site_access_illegal, 1 ), eq( $site_access_illegal_name, 1) )} class="invalid"{/section}><label class="textfield">{"User hostname"|i18n("design/standard/setup/init")}:</label> </td> 100 {/case} 101 {case/} 102 {/switch} 103 <td><input type="text" size="30" name="eZSetup_site_templates_value" value="{$site_type.access_type_value|wash}" /></td> 104 </tr> 105 <tr> 106 {switch match=$site_type.access_type} 107 {case match='url'} 108 <td{section show=eq( $site_access_illegal, 1 )} class="invalid"{/section}><label class="textfield">{"Admin path"|i18n("design/standard/setup/init")}:</label> </td> 109 {/case} 110 {case match='port'} 111 <td{section show=eq( $site_access_illegal, 1 )} class="invalid"{/section}><label class="textfield">{"Admin port"|i18n("design/standard/setup/init")}:</label> </td> 112 {/case} 113 {case match='hostname'} 114 <td{section show=or( eq( $site_access_illegal, 1 ), eq( $site_access_illegal_name, 1) )} class="invalid"{/section}><label class="textfield">{"Admin hostname"|i18n("design/standard/setup/init")}:</label> </td> 115 {/case} 116 {case/} 117 {/switch} 118 <td><input type="text" size="30" name="eZSetup_site_templates_admin_value" value="{$site_type.admin_access_type_value|wash}" /></td> 119 </tr> 120 121 <tr> 122 <td{section show=or( eq( $db_not_empty, 1 ), eq( $db_charset_differs, 1 ) )} class="invalid"{/section}><label class="textfield">{"Database"|i18n("design/standard/setup/init")}</label>{section show=eq( $site_type.db_already_chosen, 1 )}<div style="color: #ff7f00;">*</div>{/section}: </td> 123 <td> 124 {section show=$database_available|count|gt( 0 )} 125 <select name="eZSetup_site_templates_database"> 126 {section var=db loop=$database_available} 127 <option value="{$db.item}" {section show=$db.item|eq( $site_type.database )}selected="selected"{/section}>{$db.item|wash}</option> 128 {/section} 129 </select> 130 {section-else} 131 <input type="text" size="30" name="eZSetup_site_templates_database" value="{section show=count( $site_type.database )}{$site_type.database}{section-else}{$database_default}{/section}" /> 132 {/section} 133 </td> 134 </tr> 135 {section show=eq( $site_type.db_not_empty, 1 )} 136 <tr> 137 <td class="invalid"><label class="textfield">{"Action: "|i18n("design/standard/setup/init")}</label></td> 138 <td> 139 <select name="eZSetup_site_templates_existing_database"> 140 <option value="1"{section show=eq($site_type.existing_database, 1)} selected="selected"{/section}>{"Leave the data and add new"|i18n("design/standard/setup/init")}</option> 141 <option value="2"{section show=eq($site_type.existing_database, 2)} selected="selected"{/section}>{"Remove existing data"|i18n("design/standard/setup/init")}</option> 142 <option value="3"{section show=eq($site_type.existing_database, 3)} selected="selected"{/section}>{"Leave the data and do nothing"|i18n("design/standard/setup/init")}</option> 143 <option value="4"{section show=ge($site_type.existing_database, 4)} selected="selected"{/section}>{"I've chosen a new database"|i18n("design/standard/setup/init")}</option> 144 </select> 145 </td> 146 </tr> 147 {/section} 148 </table> 149 </fieldset> 150 </div> 151 152 153 {include uri="design:setup/persistence.tpl"} 154 {include uri='design:setup/init/navigation.tpl' refresh=1} 155 156 </form>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |