/var/ezwebin_site/cache/template/compiled/page_leftmenu-a63601b1aedbea051e86085b6fea846e.php

https://bitbucket.org/ericsagnes/ezpublish-multisite · PHP · 368 lines · 341 code · 14 blank · 13 comment · 37 complexity · b5b47710979398f88ba2d41cab0e32f6 MD5 · raw file

  1. <?php
  2. // URI: design/admin2/templates/page_leftmenu.tpl
  3. // Filename: design/admin2/templates/page_leftmenu.tpl
  4. // Timestamp: 1346310351 (Thu Aug 30 16:05:51 JST 2012)
  5. $oldSetArray_525819c3f5c92471db54f481b579e92c = isset( $setArray ) ? $setArray : array();
  6. $setArray = array();
  7. $tpl->Level++;
  8. if ( $tpl->Level > 40 )
  9. {
  10. $text = $tpl->MaxLevelWarning;$tpl->Level--;
  11. return;
  12. }
  13. $eZTemplateCompilerCodeDate = 1074699607;
  14. if ( !defined( 'EZ_TEMPLATE_COMPILER_COMMON_CODE' ) )
  15. include_once( 'var/ezwebin_site/cache/template/compiled/common.php' );
  16. $text .= '<div id="leftmenu">
  17. <div id="leftmenu-design">
  18. ';
  19. // if begins
  20. unset( $if_cond );
  21. unset( $if_cond1 );
  22. unset( $if_cond1 );
  23. $if_cond1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'module_result', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['module_result'] : null;
  24. $if_cond2 = compiledFetchAttribute( $if_cond1, 'left_menu' );
  25. unset( $if_cond1 );
  26. $if_cond1 = $if_cond2;
  27. if (! isset( $if_cond1 ) ) $if_cond1 = NULL;
  28. while ( is_object( $if_cond1 ) and method_exists( $if_cond1, 'templateValue' ) )
  29. $if_cond1 = $if_cond1->templateValue();
  30. $if_cond = isset( $if_cond1 );unset( $if_cond1 );
  31. if (! isset( $if_cond ) ) $if_cond = NULL;
  32. while ( is_object( $if_cond ) and method_exists( $if_cond, 'templateValue' ) )
  33. $if_cond = $if_cond->templateValue();
  34. if ( $if_cond )
  35. {
  36. $text .= ' ';
  37. $textElements = array();
  38. $tpl->processFunction( 'include', $textElements,
  39. false,
  40. array (
  41. 'uri' =>
  42. array (
  43. 0 =>
  44. array (
  45. 0 => 4,
  46. 1 =>
  47. array (
  48. 0 => '',
  49. 1 => 2,
  50. 2 => 'module_result',
  51. ),
  52. 2 => false,
  53. ),
  54. 1 =>
  55. array (
  56. 0 => 5,
  57. 1 =>
  58. array (
  59. 0 =>
  60. array (
  61. 0 => 3,
  62. 1 => 'left_menu',
  63. 2 => false,
  64. ),
  65. ),
  66. 2 => false,
  67. ),
  68. ),
  69. ),
  70. array (
  71. 0 =>
  72. array (
  73. 0 => 5,
  74. 1 => 4,
  75. 2 => 93,
  76. ),
  77. 1 =>
  78. array (
  79. 0 => 5,
  80. 1 => 40,
  81. 2 => 129,
  82. ),
  83. 2 => 'design/admin2/templates/page_leftmenu.tpl',
  84. ),
  85. $rootNamespace, $currentNamespace );
  86. $text .= implode( '', $textElements );
  87. }
  88. else
  89. {
  90. $text .= '
  91. ';
  92. // def $navigation_part_name
  93. unset( $var );
  94. unset( $var );
  95. $var = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'navigation_part', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['navigation_part'] : null;
  96. $var1 = compiledFetchAttribute( $var, 'identifier' );
  97. unset( $var );
  98. $var = $var1;
  99. if (! isset( $var ) ) $var = NULL;
  100. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  101. $var = $var->templateValue();
  102. if ( $tpl->hasVariable( 'navigation_part_name', $rootNamespace ) )
  103. {
  104. $tpl->warning( 'def', "Variable 'navigation_part_name' is already defined.", array (
  105. 0 =>
  106. array (
  107. 0 => 11,
  108. 1 => 4,
  109. 2 => 272,
  110. ),
  111. 1 =>
  112. array (
  113. 0 => 11,
  114. 1 => 59,
  115. 2 => 327,
  116. ),
  117. 2 => 'design/admin2/templates/page_leftmenu.tpl',
  118. ) );
  119. $tpl->setVariable( 'navigation_part_name', $var, $rootNamespace );
  120. }
  121. else
  122. {
  123. $tpl->setLocalVariable( 'navigation_part_name', $var, $rootNamespace );
  124. }
  125. $text .= ' ';
  126. // if begins
  127. unset( $if_cond );
  128. unset( $if_cond1 );
  129. unset( $if_cond1 );
  130. $if_cond1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'navigation_part_name', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['navigation_part_name'] : null;
  131. if (! isset( $if_cond1 ) ) $if_cond1 = NULL;
  132. while ( is_object( $if_cond1 ) and method_exists( $if_cond1, 'templateValue' ) )
  133. $if_cond1 = $if_cond1->templateValue();
  134. $if_cond = ( ( $if_cond1 ) == ( '' ) );
  135. unset( $if_cond1 );
  136. if (! isset( $if_cond ) ) $if_cond = NULL;
  137. while ( is_object( $if_cond ) and method_exists( $if_cond, 'templateValue' ) )
  138. $if_cond = $if_cond->templateValue();
  139. if ( $if_cond )
  140. {
  141. $text .= ' ';
  142. unset( $var );
  143. unset( $var );
  144. $var = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'module_result', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['module_result'] : null;
  145. $var1 = compiledFetchAttribute( $var, 'navigation_part' );
  146. unset( $var );
  147. $var = $var1;
  148. if (! isset( $var ) ) $var = NULL;
  149. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  150. $var = $var->templateValue();
  151. if ( array_key_exists( $currentNamespace, $vars ) && array_key_exists( 'navigation_part_name', $vars[$currentNamespace] ) )
  152. {
  153. $vars[$currentNamespace]['navigation_part_name'] = $var;
  154. unset( $var );
  155. }
  156. $text .= ' ';
  157. }
  158. unset( $if_cond );
  159. // if ends
  160. $text .= '
  161. ';
  162. // def $extract_length
  163. unset( $var );
  164. unset( $var1 );
  165. if (! isset( $var1 ) ) $var1 = NULL;
  166. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  167. $var1 = $var1->templateValue();
  168. $var1Data = array( 'value' => $var1 );
  169. $tpl->processOperator( 'count_chars',
  170. array (
  171. 0 =>
  172. array (
  173. 0 =>
  174. array (
  175. 0 => 4,
  176. 1 =>
  177. array (
  178. 0 => '',
  179. 1 => 2,
  180. 2 => 'navigation_part_name',
  181. ),
  182. 2 => false,
  183. ),
  184. ),
  185. ),
  186. $rootNamespace, $currentNamespace, $var1Data, false, false );
  187. $var1 = $var1Data['value'];
  188. unset( $var1Data );
  189. if (! isset( $var1 ) ) $var1 = NULL;
  190. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  191. $var1 = $var1->templateValue();
  192. $var = $var1 - 14.000000;
  193. unset( $var1 );
  194. if (! isset( $var ) ) $var = NULL;
  195. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  196. $var = $var->templateValue();
  197. if ( $tpl->hasVariable( 'extract_length', $rootNamespace ) )
  198. {
  199. $tpl->warning( 'def', "Variable 'extract_length' is already defined.", array (
  200. 0 =>
  201. array (
  202. 0 => 19,
  203. 1 => 4,
  204. 2 => 611,
  205. ),
  206. 1 =>
  207. array (
  208. 0 => 20,
  209. 1 => 75,
  210. 2 => 758,
  211. ),
  212. 2 => 'design/admin2/templates/page_leftmenu.tpl',
  213. ) );
  214. $tpl->setVariable( 'extract_length', $var, $rootNamespace );
  215. }
  216. else
  217. {
  218. $tpl->setLocalVariable( 'extract_length', $var, $rootNamespace );
  219. }
  220. // def $part_name
  221. unset( $var );
  222. unset( $var1 );
  223. unset( $var1 );
  224. $var1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'extract_length', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['extract_length'] : null;
  225. if (! isset( $var1 ) ) $var1 = NULL;
  226. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  227. $var1 = $var1->templateValue();
  228. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  229. $var1 = $var1->templateValue();
  230. unset( $var2 );
  231. unset( $var2 );
  232. $var2 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'navigation_part_name', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['navigation_part_name'] : null;
  233. if (! isset( $var2 ) ) $var2 = NULL;
  234. while ( is_object( $var2 ) and method_exists( $var2, 'templateValue' ) )
  235. $var2 = $var2->templateValue();
  236. while ( is_object( $var2 ) and method_exists( $var2, 'templateValue' ) )
  237. $var2 = $var2->templateValue();
  238. if ( is_string( $var2 ) )
  239. $var = substr( $var2, 2, $var1 );
  240. else
  241. $var = array_slice( $var2, 2, $var1 );unset( $var1, $var2 );
  242. if (! isset( $var ) ) $var = NULL;
  243. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  244. $var = $var->templateValue();
  245. if ( $tpl->hasVariable( 'part_name', $rootNamespace ) )
  246. {
  247. $tpl->warning( 'def', "Variable 'part_name' is already defined.", array (
  248. 0 =>
  249. array (
  250. 0 => 19,
  251. 1 => 4,
  252. 2 => 611,
  253. ),
  254. 1 =>
  255. array (
  256. 0 => 20,
  257. 1 => 75,
  258. 2 => 758,
  259. ),
  260. 2 => 'design/admin2/templates/page_leftmenu.tpl',
  261. ) );
  262. $tpl->setVariable( 'part_name', $var, $rootNamespace );
  263. }
  264. else
  265. {
  266. $tpl->setLocalVariable( 'part_name', $var, $rootNamespace );
  267. }
  268. $text .= '
  269. ';
  270. $textElements = array();
  271. $tpl->processFunction( 'include', $textElements,
  272. false,
  273. array (
  274. 'uri' =>
  275. array (
  276. 0 =>
  277. array (
  278. 0 => 6,
  279. 1 =>
  280. array (
  281. 0 => 'concat',
  282. 1 =>
  283. array (
  284. 0 =>
  285. array (
  286. 0 => 1,
  287. 1 => 'design:parts/',
  288. 2 => false,
  289. ),
  290. ),
  291. 2 =>
  292. array (
  293. 0 =>
  294. array (
  295. 0 => 4,
  296. 1 =>
  297. array (
  298. 0 => '',
  299. 1 => 2,
  300. 2 => 'part_name',
  301. ),
  302. 2 => false,
  303. ),
  304. ),
  305. 3 =>
  306. array (
  307. 0 =>
  308. array (
  309. 0 => 1,
  310. 1 => '/menu.tpl',
  311. 2 => false,
  312. ),
  313. ),
  314. ),
  315. 2 => false,
  316. ),
  317. ),
  318. ),
  319. array (
  320. 0 =>
  321. array (
  322. 0 => 22,
  323. 1 => 4,
  324. 2 => 766,
  325. ),
  326. 1 =>
  327. array (
  328. 0 => 22,
  329. 1 => 66,
  330. 2 => 828,
  331. ),
  332. 2 => 'design/admin2/templates/page_leftmenu.tpl',
  333. ),
  334. $rootNamespace, $currentNamespace );
  335. $text .= implode( '', $textElements );
  336. $text .= '
  337. ';
  338. // undef $extract_length
  339. $tpl->unsetLocalVariable( 'extract_length', $rootNamespace );
  340. // undef $part_name
  341. $tpl->unsetLocalVariable( 'part_name', $rootNamespace );
  342. // undef $navigation_part_name
  343. $tpl->unsetLocalVariable( 'navigation_part_name', $rootNamespace );
  344. }
  345. unset( $if_cond );
  346. // if ends
  347. $text .= '
  348. </div>
  349. </div>
  350. <hr class="hide" />';
  351. $setArray = $oldSetArray_525819c3f5c92471db54f481b579e92c;
  352. $tpl->Level--;
  353. ?>