[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 <form action={"rss/edit_export"|ezurl} method="post" name="RSSExport"> 3 4 <table class="layout" width="100%" border="0" cellspacing="0" cellpadding="0"> 5 <tr> 6 <td valign="top"> 7 <!-- Main part start --> 8 <div class="maincontentheader"> 9 <h1>{"RSS Export"|i18n("design/standard/rss/edit")}</h1> 10 </div> 11 12 <div class="block"> 13 14 <label>{"Title"|i18n("design/standard/rss/edit")}:</label><div class="labelbreak"></div> 15 {include uri="design:gui/lineedit.tpl" id_name=title value=$rss_export.title|wash} 16 <br/> 17 <label>{"Description"|i18n("design/standard/rss/edit")}:</label><div class="labelbreak"></div> 18 <textarea name="Description" cols="64" rows="3">{$rss_export.description|wash}</textarea> 19 <br/> 20 <label>{"Site URL"|i18n("design/standard/rss/edit")}:</label><div class="labelbreak"></div> 21 {*{include uri="design:gui/lineedit.tpl" id_name=url value=$rss_export.url}*} 22 <input class="halfbox" type="text" name="url" value="{$rss_export.url|wash}"/> 23 <div class="context-attributes"> 24 <p>{'Use this field to enter the base URL of your site. It is used to produce the URLs in the export, composed by the Site URL (e.g. "http://www.example.com/index.php") and the path to the object (e.g. "/articles/my_article"). The Site URL depends on your Webserver and eZ publish configuration.'|i18n( 'design/standard/rss/edit')}</p> 25 </div> 26 <br/> 27 28 <input type="hidden" name="RSSImageID" value="{$rss_export.image_id}" /> 29 <label>{"Image"|i18n("design/standard/rss/edit")}:</label><div class="labelbreak"></div> 30 <input type="text" readonly="readonly" size="45" value="{$rss_export.image_path|wash}" maxlength="50" /> 31 {include uri="design:gui/button.tpl" id_name="BrowseImageButton" value="Browse"|i18n("design/standard/rss/edit")} 32 <br/> 33 34 35 {* <label>{"Site Access"|i18n("design/standard/rss/edit")}:</label><div class="labelbreak"></div> 36 <select name="SiteAccess"> 37 38 {section name=SiteAccess loop=$rss_site_access } 39 <option 40 {section name=Access show=eq($:item,$rss_export.site_access)} 41 selected="selected" 42 {/section} value="{$:item}">{$:item|wash}</option> 43 {/section} 44 </select> 45 46 <br/> *} 47 48 <label>{"RSS version"|i18n("design/standard/rss/edit")}:</label><div class="labelbreak"></div> 49 50 <select name="RSSVersion"> 51 {section name=Version loop=$rss_version_array} 52 <option 53 {section name=DefaultSet show=eq($rss_export.rss_version,0)} 54 {section name=Default show=eq($Version:item,$rss_version_default)} 55 selected="selected" 56 {/section} 57 {section-else} 58 {section name=Default2 show=eq($Version:item,$rss_export.rss_version)} 59 selected="selected" 60 {/section} 61 {/section} 62 value="{$:item}">{$:item|wash} 63 </option> 64 {/section} 65 </select> 66 67 <br/> 68 <div class="block"> 69 <label>{'Number of objects'|i18n( 'design/standard/rss/edit' )}:</label> 70 <select name="NumberOfObjects" title="{'Use this drop-down menu to select the maximum number of objects included in the RSS feed.'|i18n('design/standard/rss/edit')}"> 71 {section name=Number loop=$number_of_objects_array} 72 <option 73 {section name=DefaultSet show=eq( $rss_export.number_of_objects, 0 )} 74 {section name=Default show=eq( $Number:item, $number_of_objects_default )} 75 selected="selected" 76 {/section} 77 {section-else} 78 {section name=Default2 show=eq( $Number:item, $rss_export.number_of_objects )} 79 selected="selected" 80 {/section} 81 {/section} 82 value="{$:item}">{$:item|wash} 83 </option> 84 {/section} 85 </select> 86 </div> 87 88 89 <label>{"Active"|i18n("design/standard/rss/edit")}:</label><div class="labelbreak"></div> 90 <input type="checkbox" name="active" {section show=$rss_export.active|eq(1)}checked="checked"{/section}></input> 91 <br/> 92 <label>{'Main node only'|i18n( 'design/standard/rss/edit' )}:</label> 93 <input type="checkbox" name="MainNodeOnly" {section show=$rss_export.main_node_only|eq( 1 )}checked="checked"{/section} 94 title="{'Check if you want to only feed the object from the main node.'|i18n('design/standard/rss/edit')}"/> 95 96 <label>{"Access URL"|i18n("design/standard/rss/edit")}:</label><div class="labelbreak"></div> 97 rss/feed/ {include uri="design:gui/lineedit.tpl" id_name="Access_URL" value=$rss_export.access_url} 98 <br/> 99 100 </div> 101 102 <input type="hidden" name="RSSExport_ID" value={$rss_export.id} /> 103 <input type="hidden" name="Item_Count" value={count($rss_export.item_list)} /> 104 105 <br/> 106 107 {section name=Source loop=$rss_export.item_list} 108 109 <h2>Source {sum($Source:index, 1)}</h2> 110 111 <input type="hidden" name="Item_ID_{$Source:index}" value="{$Source:item.id}" /> 112 <label>{"Source path"|i18n("design/standard/rss/edit")}:</label><div class="labelbreak"></div> 113 <input type="text" readonly="readonly" size="45" value="{$Source:item.source_path|wash}" maxlength="60" /> 114 {include uri="design:gui/button.tpl" 115 name=concat( "SourceBrowse_", $Source:index ) 116 id_name=concat( "SourceBrowse_", $Source:index ) 117 value="Browse"|i18n("design/standard/rss/edit")} 118 <br/> 119 120 <label>{'Subnodes'|i18n( 'design/standard/rss/edit' )}:</label> 121 <input type="checkbox" name="Item_Subnodes_{$Source:index}" {section show=$Source:item.subnodes|wash|eq( 1 )}checked="checked"{/section} 122 title="{'Activate this checkbox if also objects from the subnodes of the source should be feeded.'|i18n('design/standard/rss/edit')}"/> 123 124 <label>{"Class"|i18n("design/standard/rss/edit")}:</label><div class="labelbreak"></div> 125 <select name="Item_Class_{$Source:index}"> 126 {section name=ContentClass loop=$rss_class_array } 127 <option 128 {section name=Class show=eq($:item.id,$Source:item.class_id)} 129 selected="selected" 130 {/section} value="{$:item.id}">{$:item.name|wash}</option> 131 {/section} 132 </select> 133 {include uri="design:gui/button.tpl" 134 name="Update_Item_Class" 135 id_name="Update_Item_Class" 136 value="Update"|i18n("design/standard/rss/edit")} 137 <br/> 138 139 {section name=Attribute show=count($rss_export.item_list[$Source:index])|gt(0)} 140 141 <label>{"Title"|i18n("design/standard/rss/edit")}:</label><div class="labelbreak"></div> 142 <select name="Item_Class_Attribute_Title_{$Source:index}"> 143 {section name=ClassAttribute loop=$rss_export.item_list[$Source:index].class_attributes} 144 <option value="{$:item.identifier}" 145 {section name=ShowSelected show=eq($Source:item.title,$:item.identifier)} 146 selected="selected" 147 {/section}>{$:item.name|wash}</option> 148 {/section} 149 </select> 150 <br/> 151 152 <label>{"Description"|i18n("design/standard/rss/edit")}:</label><div class="labelbreak"></div> 153 <select name="Item_Class_Attribute_Description_{$Source:index}"> 154 {section name=ClassAttribute loop=$rss_export.item_list[$Source:index].class_attributes} 155 <option value="{$:item.identifier|wash}" 156 {section name=ShowSelected show=eq($Source:item.description,$:item.identifier)} 157 selected="selected" 158 {/section}>{$:item.name|wash}</option> 159 {/section} 160 </select> 161 <br/> 162 163 {/section} 164 165 {include uri="design:gui/button.tpl" 166 name=concat( "RemoveSource_", $Source:index ) 167 id_name=concat( "RemoveSource_", $Source:index ) 168 value="Remove Source"|i18n("design/standard/rss/edit")} 169 {/section} 170 171 <div class="buttonblock"> 172 <input class="defaultbutton" type="submit" name="StoreButton" value="{'Store'|i18n('design/standard/rss/edit')}" /> 173 <input class="button" type="submit" name="AddSourceButton" value="{'Add Source'|i18n('design/standard/rss/edit')}" /> 174 <input class="button" type="submit" name="RemoveButton" value="{'Remove'|i18n('design/standard/rss/edit')}" /> 175 </div> 176 <!-- Main part end --> 177 </td> 178 </tr> 179 </table> 180 </form> 181 182
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 |