[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 <form method="post" action={concat('/setup/templatecreate',$template)|ezurl}> 3 <h1>{"Create new template override for"|i18n("design/standard/setup")} {$template}</h1> 4 5 {section show=eq($error,'permission_denied')} 6 <div class="error"> 7 <h2>{"Could not create template, permission denied."|i18n("design/standard/setup")}</h2> 8 </div> 9 {/section} 10 11 {section show=eq($error,'invalid_name')} 12 <div class="error"> 13 <h2>{"Invalid name. You can only use the characters a-z, numbers and _."|i18n("design/standard/setup")}</h2> 14 </div> 15 {/section} 16 17 <p> 18 {"Template will be placed in"|i18n("design/standard/setup")} design/{$site_design}/override/templates/ 19 </p> 20 21 <div class="objectheader"> 22 <h2>{"Template name"|i18n("design/standard/setup")}</h2> 23 </div> 24 25 <div class="object"> 26 <input type="text" name="TemplateName" value="{$template_name}" />.tpl 27 </div> 28 29 30 {switch match=$template_type} 31 {case match='node_view'} 32 <div class="objectheader"> 33 <h2>{"Override keys"|i18n("design/standard/setup")}</h2> 34 </div> 35 36 <div class="object"> 37 <table> 38 <tr> 39 <td> 40 <p> 41 {"Class"|i18n("design/standard/setup")} 42 </p> 43 </td> 44 <td> 45 <select name="Match[class_identifier]"> 46 <option value="-1">{"Any"|i18n("design/standard/setup")}</option> 47 {section name=Class loop=fetch('content', 'can_instantiate_class_list')} 48 <option value="{fetch( content, class, hash( class_id, $Class:item.id ) ).identifier}">{$Class:item.name}</option> 49 {/section} 50 </select> 51 </td> 52 </tr> 53 <tr> 54 <td> 55 <p> 56 {"Section"|i18n("design/standard/setup")} 57 </p> 58 </td> 59 <td> 60 <select name="Match[section]"> 61 <option value="-1">{"Any"|i18n("design/standard/setup")}</option> 62 {section name=Section loop=fetch( 'content', 'section_list' )} 63 <option value="{$:item.id}">{$:item.name}</option> 64 {/section} 65 </select> 66 </td> 67 </tr> 68 <tr> 69 <td> 70 <p> 71 {"Node"|i18n("design/standard/setup")} 72 </p> 73 </td> 74 <td> 75 <input type="text" size="5" value="" name="Match[node]" /> 76 </td> 77 </tr> 78 </table> 79 </div> 80 81 82 <div class="objectheader"> 83 <h2>{"Base template on"|i18n("design/standard/setup")}</h2> 84 </div> 85 <div class="object"> 86 87 <input type="radio" name="TemplateContent" value="EmptyFile" checked="checked"/>{"Empty file"|i18n("design/standard/setup")}<br /> 88 <input type="radio" name="TemplateContent" value="DefaultCopy" />{"Copy of default template"|i18n("design/standard/setup")}<br /> 89 <input type="radio" name="TemplateContent" value="ContainerTemplate" />{"Container ( with children )"|i18n("design/standard/setup")}<br /> 90 <input type="radio" name="TemplateContent" value="ViewTemplate" />{"View ( without children )"|i18n("design/standard/setup")}<br /> 91 </div> 92 93 {/case} 94 {case match='object_view'} 95 <div class="objectheader"> 96 <h2>{"Override keys"|i18n("design/standard/setup")}</h2> 97 </div> 98 99 <div class="object"> 100 <table> 101 <tr> 102 <td> 103 <p> 104 {"Class"|i18n("design/standard/setup")} 105 </p> 106 </td> 107 <td> 108 <select name="Match[class_identifier]"> 109 <option value="-1">{"Any"|i18n("design/standard/setup")}</option> 110 {section name=Class loop=fetch('content', 'can_instantiate_class_list')} 111 <option value="{fetch( content, class, hash( class_id, $Class:item.id ) ).identifier}">{$Class:item.name}</option> 112 {/section} 113 </select> 114 </td> 115 </tr> 116 <tr> 117 <td> 118 <p> 119 {"Section"|i18n("design/standard/setup")} 120 </p> 121 </td> 122 <td> 123 <select name="Match[section]"> 124 <option value="-1">{"Any"|i18n("design/standard/setup")}</option> 125 {section name=Section loop=fetch( 'content', 'section_list' )} 126 <option value="{$:item.id}">{$:item.name}</option> 127 {/section} 128 </select> 129 </td> 130 </tr> 131 <tr> 132 <td> 133 <p> 134 {"Object"|i18n("design/standard/setup")} 135 </p> 136 </td> 137 <td> 138 <input type="text" size="5" value="" name="Match[object]" /> 139 </td> 140 </tr> 141 </table> 142 </div> 143 144 145 <div class="objectheader"> 146 <h2>{"Base template on"|i18n("design/standard/setup")}</h2> 147 </div> 148 <div class="object"> 149 150 <input type="radio" name="TemplateContent" value="EmptyFile" checked="checked"/>{"Empty file"|i18n("design/standard/setup")}<br /> 151 <input type="radio" name="TemplateContent" value="DefaultCopy" />{"Copy of default template"|i18n("design/standard/setup")}<br /> 152 <input type="radio" name="TemplateContent" value="ContainerTemplate" />{"Container ( with children )"|i18n("design/standard/setup")}<br /> 153 <input type="radio" name="TemplateContent" value="ViewTemplate" />{"View ( without children )"|i18n("design/standard/setup")}<br /> 154 </div> 155 156 {/case} 157 {case match='pagelayout'} 158 <div class="objectheader"> 159 <h2>{"Base template on"|i18n("design/standard/setup")}</h2> 160 </div> 161 <div class="object"> 162 <input type="radio" name="TemplateContent" value="EmptyFile" checked="checked"/>{"Empty file"|i18n("design/standard/setup")}<br /> 163 <input type="radio" name="TemplateContent" value="DefaultCopy" />{"Copy of default template"|i18n("design/standard/setup")}<br /> 164 </div> 165 {/case} 166 {case} 167 <div class="objectheader"> 168 <h2>{"Base template on"|i18n("design/standard/setup")}</h2> 169 </div> 170 <div class="object"> 171 <input type="radio" name="TemplateContent" value="EmptyFile" checked="checked"/>{"Empty file"|i18n("design/standard/setup")}<br /> 172 <input type="radio" name="TemplateContent" value="DefaultCopy" />{"Copy of default template"|i18n("design/standard/setup")}<br /> 173 </div> 174 {/case} 175 {/switch} 176 177 <div class="buttonblock"> 178 <input class="button" type="submit" value="{"Create"|i18n("design/standard/setup")}" name="CreateOverrideButton" /> 179 </div> 180 181 </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 |