[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$site.http_equiv.Content-language|wash}" lang="{$site.http_equiv.Content-language|wash}"> 4 5 <head> 6 {include uri='design:page_head.tpl'} 7 8 {set-block variable=$admin_right} 9 {tool_bar name='admin_right' view=full} 10 {/set-block} 11 12 {set-block variable=$admin_developer} 13 {tool_bar name='admin_developer' view=full} 14 {/set-block} 15 16 {def $hide_right_menu = and($admin_right|eq(''), $admin_developer|eq(''))} 17 18 {* cache-block keys=array($navigation_part.identifier, $current_user.role_id_list|implode( ',' ), $current_user.limited_assignment_value_list|implode( ',' ), $ui_context, $hide_right_menu) *} 19 {* Cache header for each navigation part *} 20 21 <script language="JavaScript" type="text/javascript" src={'javascript/tools/ezjsselection.js'|ezdesign}></script> 22 {section name=JavaScript loop=ezini( 'JavaScriptSettings', 'JavaScriptList', 'design.ini' ) } 23 <script language="JavaScript" type="text/javascript" src={concat( 'javascript/',$:item )|ezdesign}></script> 24 {/section} 25 26 27 <style type="text/css"> 28 @import url({'stylesheets/core.css'|ezdesign}); 29 @import url({'stylesheets/site.css'|ezdesign}); 30 @import url({'stylesheets/debug.css'|ezdesign}); 31 {section var=css_file loop=ezini( 'StylesheetSettings', 'CSSFileList', 'design.ini' )} 32 @import url({concat( 'stylesheets/',$css_file )|ezdesign}); 33 {/section} 34 35 36 {if $hide_right_menu} 37 div#maincontent {ldelim} margin-right: 0.4em; {rdelim} 38 {/if} 39 40 </style> 41 42 {literal} 43 <script language="JavaScript" type="text/javascript"> 44 <!-- 45 document.write("<style type='text/css'>div#contentstructure ul#content_tree_menu ul li { padding-left: 0; }div#contentstructure ul#content_tree_menu ul ul { margin-left: 20px; }<\/style>"); 46 --> 47 </script> 48 {/literal} 49 50 {literal} 51 <!--[if IE]> 52 <style type="text/css"> 53 div#leftmenu div.box-bc, div#rightmenu div.box-bc { border-bottom: 1px solid #bfbeb6; /* Strange IE bug fix */ } 54 div#contentstructure { overflow-x: auto; overflow-y: hidden; } /* hide vertical scrollbar in IE */ 55 div.menu-block li { width: 19%; } /* Avoid width bug in IE */ 56 div.notranslations li { width: 24%; } /* Avoid width bug in IE */ 57 div.context-user div.menu-block li { width: 14%; } /* Avoid width bug in IE */ 58 input.button, input.button-disabled { padding: 0 0.5em 0 0.5em; overflow: visible; } 59 input.box, textarea.box { width: 98%; } 60 td input.box, td textarea.box { width: 97%; } 61 div#search p.select { margin-top: 0; } 62 div#search p.advanced { margin-top: 0.3em; } 63 div.content-navigation div.mainobject-window div.fixedsize { float: none; overflow: scroll; } 64 div.fixedsize input.box, div.fixedsize textarea.box, div.fixedsize table.list { width: 95%; } 65 a.openclose img, span.openclose img { margin-right: 4px; } 66 div#fix { overflow: hidden; } 67 </style> 68 <![endif]--> 69 <!--[if lt IE 6.0]> 70 <style type="text/css"> 71 div#maincontent div.context-block { width: 100%; } /* Avoid width bug in IE 5.5 */ 72 div#maincontent div#maincontent-design { width: 98%; } /* Avoid width bug in IE 5.5 */ 73 </style> 74 <![endif]--> 75 <!--[if IE 6.0]> 76 <style type="text/css"> 77 div#maincontent div.box-bc { border-bottom: 1px solid #bfbfb7; /* Strange IE bug fix */ } 78 div#leftmenu-design { margin: 0.5em 4px 0.5em 0.5em; } 79 </style> 80 <![endif]--> 81 {/literal} 82 83 {section show=ezpreference( 'admin_left_menu_width' )} 84 {let left_menu_widths=ezini( 'LeftMenuSettings', 'MenuWidth', 'menu.ini' ) 85 left_menu_width=$left_menu_widths[ezpreference( 'admin_left_menu_width' )]} 86 <style type="text/css"> 87 div#leftmenu {ldelim} width: {$left_menu_width}em; {rdelim} 88 div#maincontent {ldelim} margin-left: {sum( $left_menu_width, 0.5 )}em; {rdelim} 89 </style> 90 {/let} 91 {/section} 92 93 <!--[if gte IE 5.5000]> 94 <script type="text/javascript"> 95 var emptyIcon16 = {'16x16.gif'|ezimage}; 96 var emptyIcon32 = {'32x32.gif'|ezimage}; 97 </script> 98 <script type="text/javascript" src={'javascript/tools/eziepngfix.js'|ezdesign}></script> 99 <![endif]--> 100 101 </head> 102 103 <body> 104 105 <div id="allcontent"> 106 <div id="header"> 107 <div id="header-design"> 108 109 <div id="logo"> 110 <img src={'ezpublish-logo-200x40.gif'|ezimage} width="200" height="40" alt="eZ publish" border="0" /> 111 <p>version {fetch( setup, version )}</p> 112 </div> 113 114 {* --- Search ---*} 115 <div id="search"> 116 <form action={'/content/search/'|ezurl} method="get"> 117 118 {*{section show=or( eq( $ui_context, 'edit' ), eq( $ui_context, 'browse' ) )}*} 119 {section show=eq( $ui_context, 'edit' )} 120 <input id="searchtext" name="SearchText" type="text" size="20" value="{section show=is_set( $search_text )}{$search_text|wash}{/section}" disabled="disabled" /> 121 <input id="searchbutton" class="button-disabled" name="SearchButton" type="submit" value="{'Search'|i18n( 'design/admin/pagelayout' )}" disabled="disabled" /> 122 {section-else} 123 <input id="searchtext" name="SearchText" type="text" size="20" value="{section show=is_set( $search_text )}{$search_text|wash}{/section}" /> 124 <input id="searchbutton" class="button" name="SearchButton" type="submit" value="{'Search'|i18n( 'design/admin/pagelayout' )}" /> 125 {section show=eq( $ui_context, 'browse' ) } 126 <input name="Mode" type="hidden" value="browse" /> 127 {/section} 128 {/section} 129 <p class="select"> 130 {let disabled=false() 131 nd=1 132 left_checked=true() 133 current_loc=true()} 134 {* {section show=or( eq( $ui_context, 'edit' ), eq( $ui_context, 'browse' ) )}*} 135 {section show=or( eq( $ui_context, 'edit' ) )} 136 {set disabled=true()} 137 {section-else} 138 {section show=is_set($module_result.node_id)} 139 {set nd=$module_result.node_id} 140 {section-else} 141 {section show=is_set($search_subtree_array)} 142 {section show=count($search_subtree_array)|eq(1)} 143 {section show=$search_subtree_array.0|ne(1)} 144 {set nd=$search_subtree_array.0} 145 {set left_checked=false()} 146 {section-else} 147 {set disabled=true()} 148 {/section} 149 {set current_loc=false()} 150 {section-else} 151 {set disabled=true()} 152 {/section} 153 {section-else} 154 {set disabled=true()} 155 {/section} 156 {/section} 157 {/section} 158 <label{section show=$disabled} class="disabled"{/section}><input type="radio" name="SubTreeArray" value="1" checked="checked"{section show=$disabled} disabled="disabled"{section-else} title="{'Search all content.'|i18n( 'design/admin/pagelayout' )}"{/section} />{'All content'|i18n( 'design/admin/pagelayout' )}</label> 159 <label{section show=$disabled} class="disabled"{/section}><input type="radio" name="SubTreeArray" value="{$nd}"{section show=$disabled} disabled="disabled"{section-else} title="{'Search only from the current location.'|i18n( 'design/admin/pagelayout' )}"{/section} />{section show=$current_loc}{'Current location'|i18n( 'design/admin/pagelayout' )}{section-else}{'The same location'|i18n( 'design/admin/pagelayout' )}{/section}</label> 160 {/let} 161 </p> 162 <p class="advanced"> 163 {section show=or( eq( $ui_context, 'edit' ), eq( $ui_context, 'browse' ) )} 164 <span class="disabled">{'Advanced'|i18n( 'design/admin/pagelayout' )}</span> 165 {section-else} 166 <a href={'/content/advancedsearch'|ezurl} title="{'Advanced search.'|i18n( 'design/admin/pagelayout' )}">{'Advanced'|i18n( 'design/admin/pagelayout' )}</a> 167 {/section} 168 </p> 169 </form> 170 </div> 171 172 <div class="break"></div> 173 174 </div> 175 </div> 176 177 <hr class="hide" /> 178 179 <div id="topmenu"> 180 <div id="topmenu-design"> 181 182 <h3 class="hide">Top menu</h3> 183 <ul> 184 {section var=Menu loop=topmenu($ui_context)} 185 186 {include uri='design:page_topmenuitem.tpl' menu_item=$Menu navigationpart_identifier=$navigation_part.identifier} 187 188 {/section} 189 190 {if $hide_right_menu} 191 <li class="last"><div> 192 <a href={'/user/logout'|ezurl} title="{'Logout from the system.'|i18n( 'design/admin/pagelayout' )}">{'Logout'|i18n( 'design/admin/pagelayout' )}</a> 193 </div></li> 194 {/if} 195 196 </ul> 197 <div class="break"></div> 198 </div> 199 </div> 200 201 {* /cache-block *} 202 203 <hr class="hide" /> 204 205 206 <div id="path"> 207 <div id="path-design"> 208 209 {include uri='design:page_toppath.tpl'} 210 211 </div> 212 </div> 213 214 215 <hr class="hide" /> 216 217 <div id="columns"> 218 219 {section show=and( eq( $ui_context, 'edit' ), eq( $ui_component, 'content' ) )} 220 {section-else} 221 <div id="leftmenu"> 222 <div id="leftmenu-design"> 223 224 {section show=and( $ui_context|eq( 'edit' ), $ui_component|eq( 'content' ) )} 225 {include uri='design:edit_menu.tpl'} 226 {section-else} 227 228 {section show=eq( $navigation_part.identifier, 'ezcontentnavigationpart' )} 229 {include uri='design:parts/content/menu.tpl'} 230 {/section} 231 232 {section show=eq( $navigation_part.identifier, 'ezmedianavigationpart' )} 233 {include uri='design:parts/media/menu.tpl'} 234 {/section} 235 236 {section show=eq( $navigation_part.identifier, 'ezshopnavigationpart' )} 237 {include uri='design:parts/shop/menu.tpl'} 238 {/section} 239 240 {section show=eq( $navigation_part.identifier, 'ezusernavigationpart' )} 241 {include uri='design:parts/user/menu.tpl'} 242 {/section} 243 244 {section show=eq( $navigation_part.identifier, 'ezvisualnavigationpart' )} 245 {include uri='design:parts/visual/menu.tpl'} 246 {/section} 247 248 {section show=eq( $navigation_part.identifier, 'ezsetupnavigationpart' )} 249 {include uri='design:parts/setup/menu.tpl'} 250 {/section} 251 252 {section show=eq( $navigation_part.identifier, 'ezmynavigationpart' )} 253 {include uri='design:parts/my/menu.tpl'} 254 {/section} 255 256 {section show=is_set( $module_result.left_menu )} 257 {include uri=$module_result.left_menu} 258 {/section} 259 260 {/section} 261 262 </div> 263 </div> 264 265 <hr class="hide" /> 266 267 {/section} 268 269 <div id="rightmenu"> 270 <div id="rightmenu-design"> 271 272 <h3 class="hide">Right</h3> 273 274 {$admin_right} 275 {$admin_developer} 276 277 </div> 278 </div> 279 280 <hr class="hide" /> 281 282 {section show=and( eq( $ui_context, 'edit' ), eq( $ui_component, 'content' ) )} 283 284 {* Main area START *} 285 286 {include uri='design:page_mainarea.tpl'} 287 288 {* Main area END *} 289 290 {section-else} 291 292 <div id="maincontent"><div id="fix"> 293 <div id="maincontent-design"> 294 <!-- Maincontent START --> 295 {* Main area START *} 296 297 {include uri='design:page_mainarea.tpl'} 298 299 {* Main area END *} 300 301 <!-- Maincontent END --> 302 </div> 303 <div class="break"></div> 304 </div></div> 305 306 {/section} 307 308 <div class="break"></div> 309 </div> 310 311 <hr class="hide" /> 312 313 <div id="footer"> 314 <div id="footer-design"> 315 316 {include uri='design:page_copyright.tpl'} 317 318 </div> 319 </div> 320 321 <div class="break"></div> 322 </div> 323 324 {* The popup menu include must be outside all divs. It is hidden by default. *} 325 {include uri='design:popupmenu/popup_menu.tpl'} 326 327 {* This comment will be replaced with actual debug report (if debug is on). *} 328 <!--DEBUG_REPORT--> 329 330 </body> 331 </html>
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 |