/var/ezwebin_site/cache/template/compiled/pagelayout-ab20c5221634928b41a1af19e2e2689f.php

https://bitbucket.org/ericsagnes/ezpublish-multisite · PHP · 1421 lines · 1314 code · 80 blank · 27 comment · 242 complexity · 3c5278f00bb35663c749ba5f6bf8da3f MD5 · raw file

  1. <?php
  2. // URI: design:pagelayout.tpl
  3. // Filename: design/admin2/templates/pagelayout.tpl
  4. // Timestamp: 1346310351 (Thu Aug 30 16:05:51 JST 2012)
  5. $oldSetArray_0fcb59f9dc2008c3486a592840bf4efa = 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 .= '<!DOCTYPE html>
  17. <html lang="';
  18. unset( $var );
  19. unset( $var1 );
  20. unset( $var1 );
  21. $var1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'site', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['site'] : null;
  22. $var2 = compiledFetchAttribute( $var1, 'http_equiv' );
  23. unset( $var1 );
  24. $var1 = $var2;
  25. $var2 = compiledFetchAttribute( $var1, 'Content-language' );
  26. unset( $var1 );
  27. $var1 = $var2;
  28. if (! isset( $var1 ) ) $var1 = NULL;
  29. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  30. $var1 = $var1->templateValue();
  31. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  32. $var1 = $var1->templateValue();
  33. $var = htmlspecialchars( $var1 );
  34. unset( $var1 );
  35. if (! isset( $var ) ) $var = NULL;
  36. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  37. $var = $var->templateValue();
  38. $text .= $var;
  39. unset( $var );
  40. $text .= '">
  41. <head>
  42. ';
  43. // def $ui_context_edit
  44. unset( $var );
  45. unset( $var1 );
  46. unset( $var1 );
  47. $var1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'ui_context', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['ui_context'] : null;
  48. if (! isset( $var1 ) ) $var1 = NULL;
  49. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  50. $var1 = $var1->templateValue();
  51. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  52. $var1 = $var1->templateValue();
  53. $var = ( ( $var1 ) == ( 'edit' ) );
  54. unset( $var1 );
  55. if (! isset( $var ) ) $var = NULL;
  56. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  57. $var = $var->templateValue();
  58. if ( $tpl->hasVariable( 'ui_context_edit', $rootNamespace ) )
  59. {
  60. $tpl->warning( 'def', "Variable 'ui_context_edit' is already defined.", array (
  61. 0 =>
  62. array (
  63. 0 => 5,
  64. 1 => 0,
  65. 2 => 150,
  66. ),
  67. 1 =>
  68. array (
  69. 0 => 14,
  70. 1 => 0,
  71. 2 => 905,
  72. ),
  73. 2 => 'design/admin2/templates/pagelayout.tpl',
  74. ) );
  75. $tpl->setVariable( 'ui_context_edit', $var, $rootNamespace );
  76. }
  77. else
  78. {
  79. $tpl->setLocalVariable( 'ui_context_edit', $var, $rootNamespace );
  80. }
  81. // def $content_edit
  82. unset( $var );
  83. unset( $var1 );
  84. unset( $var1 );
  85. $var1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'ui_context_edit', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['ui_context_edit'] : null;
  86. if (! isset( $var1 ) ) $var1 = NULL;
  87. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  88. $var1 = $var1->templateValue();
  89. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  90. $var1 = $var1->templateValue();
  91. unset( $var2 );
  92. unset( $var3 );
  93. unset( $var3 );
  94. $var3 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'ui_component', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['ui_component'] : null;
  95. if (! isset( $var3 ) ) $var3 = NULL;
  96. while ( is_object( $var3 ) and method_exists( $var3, 'templateValue' ) )
  97. $var3 = $var3->templateValue();
  98. while ( is_object( $var3 ) and method_exists( $var3, 'templateValue' ) )
  99. $var3 = $var3->templateValue();
  100. $var2 = ( ( $var3 ) == ( 'content' ) );
  101. unset( $var3 );
  102. if (! isset( $var2 ) ) $var2 = NULL;
  103. while ( is_object( $var2 ) and method_exists( $var2, 'templateValue' ) )
  104. $var2 = $var2->templateValue();
  105. if ( !$var1 )
  106. $var = false;
  107. else if ( !$var2 )
  108. $var = false;
  109. else
  110. $var = $var2;
  111. unset( $var1, $var2 );
  112. if (! isset( $var ) ) $var = NULL;
  113. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  114. $var = $var->templateValue();
  115. if ( $tpl->hasVariable( 'content_edit', $rootNamespace ) )
  116. {
  117. $tpl->warning( 'def', "Variable 'content_edit' is already defined.", array (
  118. 0 =>
  119. array (
  120. 0 => 5,
  121. 1 => 0,
  122. 2 => 150,
  123. ),
  124. 1 =>
  125. array (
  126. 0 => 14,
  127. 1 => 0,
  128. 2 => 905,
  129. ),
  130. 2 => 'design/admin2/templates/pagelayout.tpl',
  131. ) );
  132. $tpl->setVariable( 'content_edit', $var, $rootNamespace );
  133. }
  134. else
  135. {
  136. $tpl->setLocalVariable( 'content_edit', $var, $rootNamespace );
  137. }
  138. // def $hide_left_menu
  139. unset( $var );
  140. unset( $var1 );
  141. unset( $var2 );
  142. unset( $var2 );
  143. $var2 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( "module_result", $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]["module_result"] : null;
  144. $var3 = compiledFetchAttribute( $var2, "content_info" );
  145. unset( $var2 );
  146. $var2 = $var3;
  147. $var3 = compiledFetchAttribute( $var2, "persistent_variable" );
  148. unset( $var2 );
  149. $var2 = $var3;
  150. $var3 = compiledFetchAttribute( $var2, "left_menu" );
  151. unset( $var2 );
  152. $var2 = $var3;
  153. if (! isset( $var2 ) ) $var2 = NULL;
  154. while ( is_object( $var2 ) and method_exists( $var2, 'templateValue' ) )
  155. $var2 = $var2->templateValue();
  156. while ( is_object( $var2 ) and method_exists( $var2, 'templateValue' ) )
  157. $var2 = $var2->templateValue();
  158. if ( isset( $var2 ) )
  159. {
  160. $var1 = $var2;
  161. }
  162. else
  163. {
  164. unset( $var3 );
  165. unset( $var4 );
  166. unset( $var4 );
  167. $var4 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( "content_edit", $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]["content_edit"] : null;
  168. if (! isset( $var4 ) ) $var4 = NULL;
  169. while ( is_object( $var4 ) and method_exists( $var4, 'templateValue' ) )
  170. $var4 = $var4->templateValue();
  171. while ( is_object( $var4 ) and method_exists( $var4, 'templateValue' ) )
  172. $var4 = $var4->templateValue();
  173. $var3 = !( $var4 );
  174. unset( $var4 );
  175. if (! isset( $var3 ) ) $var3 = NULL;
  176. while ( is_object( $var3 ) and method_exists( $var3, 'templateValue' ) )
  177. $var3 = $var3->templateValue();
  178. if ( isset( $var3 ) )
  179. {
  180. $var1 = $var3;
  181. }
  182. }
  183. unset( $var2, $var3 );
  184. if (! isset( $var1 ) ) $var1 = NULL;
  185. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  186. $var1 = $var1->templateValue();
  187. $var = !( $var1 );
  188. unset( $var1 );
  189. if (! isset( $var ) ) $var = NULL;
  190. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  191. $var = $var->templateValue();
  192. if ( $tpl->hasVariable( 'hide_left_menu', $rootNamespace ) )
  193. {
  194. $tpl->warning( 'def', "Variable 'hide_left_menu' is already defined.", array (
  195. 0 =>
  196. array (
  197. 0 => 5,
  198. 1 => 0,
  199. 2 => 150,
  200. ),
  201. 1 =>
  202. array (
  203. 0 => 14,
  204. 1 => 0,
  205. 2 => 905,
  206. ),
  207. 2 => 'design/admin2/templates/pagelayout.tpl',
  208. ) );
  209. $tpl->setVariable( 'hide_left_menu', $var, $rootNamespace );
  210. }
  211. else
  212. {
  213. $tpl->setLocalVariable( 'hide_left_menu', $var, $rootNamespace );
  214. }
  215. // def $hide_right_menu
  216. unset( $var );
  217. unset( $var1 );
  218. unset( $var2 );
  219. unset( $var2 );
  220. $var2 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( "module_result", $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]["module_result"] : null;
  221. $var3 = compiledFetchAttribute( $var2, "content_info" );
  222. unset( $var2 );
  223. $var2 = $var3;
  224. $var3 = compiledFetchAttribute( $var2, "persistent_variable" );
  225. unset( $var2 );
  226. $var2 = $var3;
  227. $var3 = compiledFetchAttribute( $var2, "extra_menu" );
  228. unset( $var2 );
  229. $var2 = $var3;
  230. if (! isset( $var2 ) ) $var2 = NULL;
  231. while ( is_object( $var2 ) and method_exists( $var2, 'templateValue' ) )
  232. $var2 = $var2->templateValue();
  233. while ( is_object( $var2 ) and method_exists( $var2, 'templateValue' ) )
  234. $var2 = $var2->templateValue();
  235. if ( isset( $var2 ) )
  236. {
  237. $var1 = $var2;
  238. }
  239. else
  240. {
  241. unset( $var3 );
  242. unset( $var4 );
  243. unset( $var4 );
  244. $var4 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( "ui_context_edit", $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]["ui_context_edit"] : null;
  245. if (! isset( $var4 ) ) $var4 = NULL;
  246. while ( is_object( $var4 ) and method_exists( $var4, 'templateValue' ) )
  247. $var4 = $var4->templateValue();
  248. while ( is_object( $var4 ) and method_exists( $var4, 'templateValue' ) )
  249. $var4 = $var4->templateValue();
  250. $var3 = !( $var4 );
  251. unset( $var4 );
  252. if (! isset( $var3 ) ) $var3 = NULL;
  253. while ( is_object( $var3 ) and method_exists( $var3, 'templateValue' ) )
  254. $var3 = $var3->templateValue();
  255. if ( isset( $var3 ) )
  256. {
  257. $var1 = $var3;
  258. }
  259. }
  260. unset( $var2, $var3 );
  261. if (! isset( $var1 ) ) $var1 = NULL;
  262. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  263. $var1 = $var1->templateValue();
  264. $var = !( $var1 );
  265. unset( $var1 );
  266. if (! isset( $var ) ) $var = NULL;
  267. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  268. $var = $var->templateValue();
  269. if ( $tpl->hasVariable( 'hide_right_menu', $rootNamespace ) )
  270. {
  271. $tpl->warning( 'def', "Variable 'hide_right_menu' is already defined.", array (
  272. 0 =>
  273. array (
  274. 0 => 5,
  275. 1 => 0,
  276. 2 => 150,
  277. ),
  278. 1 =>
  279. array (
  280. 0 => 14,
  281. 1 => 0,
  282. 2 => 905,
  283. ),
  284. 2 => 'design/admin2/templates/pagelayout.tpl',
  285. ) );
  286. $tpl->setVariable( 'hide_right_menu', $var, $rootNamespace );
  287. }
  288. else
  289. {
  290. $tpl->setLocalVariable( 'hide_right_menu', $var, $rootNamespace );
  291. }
  292. // def $collapse_right_menu
  293. unset( $var );
  294. unset( $var1 );
  295. $var1 = eZPreferences::value( "admin_right_menu_show" );
  296. if (! isset( $var1 ) ) $var1 = NULL;
  297. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  298. $var1 = $var1->templateValue();
  299. $var = !( $var1 );
  300. unset( $var1 );
  301. if (! isset( $var ) ) $var = NULL;
  302. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  303. $var = $var->templateValue();
  304. if ( $tpl->hasVariable( 'collapse_right_menu', $rootNamespace ) )
  305. {
  306. $tpl->warning( 'def', "Variable 'collapse_right_menu' is already defined.", array (
  307. 0 =>
  308. array (
  309. 0 => 5,
  310. 1 => 0,
  311. 2 => 150,
  312. ),
  313. 1 =>
  314. array (
  315. 0 => 14,
  316. 1 => 0,
  317. 2 => 905,
  318. ),
  319. 2 => 'design/admin2/templates/pagelayout.tpl',
  320. ) );
  321. $tpl->setVariable( 'collapse_right_menu', $var, $rootNamespace );
  322. }
  323. else
  324. {
  325. $tpl->setLocalVariable( 'collapse_right_menu', $var, $rootNamespace );
  326. }
  327. // def $admin_left_size
  328. unset( $var );
  329. $var = eZPreferences::value( "admin_left_menu_size" );
  330. if (! isset( $var ) ) $var = NULL;
  331. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  332. $var = $var->templateValue();
  333. if ( $tpl->hasVariable( 'admin_left_size', $rootNamespace ) )
  334. {
  335. $tpl->warning( 'def', "Variable 'admin_left_size' is already defined.", array (
  336. 0 =>
  337. array (
  338. 0 => 5,
  339. 1 => 0,
  340. 2 => 150,
  341. ),
  342. 1 =>
  343. array (
  344. 0 => 14,
  345. 1 => 0,
  346. 2 => 905,
  347. ),
  348. 2 => 'design/admin2/templates/pagelayout.tpl',
  349. ) );
  350. $tpl->setVariable( 'admin_left_size', $var, $rootNamespace );
  351. }
  352. else
  353. {
  354. $tpl->setLocalVariable( 'admin_left_size', $var, $rootNamespace );
  355. }
  356. // def $admin_theme
  357. unset( $var );
  358. $var = eZPreferences::value( "admin_theme" );
  359. if (! isset( $var ) ) $var = NULL;
  360. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  361. $var = $var->templateValue();
  362. if ( $tpl->hasVariable( 'admin_theme', $rootNamespace ) )
  363. {
  364. $tpl->warning( 'def', "Variable 'admin_theme' is already defined.", array (
  365. 0 =>
  366. array (
  367. 0 => 5,
  368. 1 => 0,
  369. 2 => 150,
  370. ),
  371. 1 =>
  372. array (
  373. 0 => 14,
  374. 1 => 0,
  375. 2 => 905,
  376. ),
  377. 2 => 'design/admin2/templates/pagelayout.tpl',
  378. ) );
  379. $tpl->setVariable( 'admin_theme', $var, $rootNamespace );
  380. }
  381. else
  382. {
  383. $tpl->setLocalVariable( 'admin_theme', $var, $rootNamespace );
  384. }
  385. // def $left_size_hash
  386. if ( $tpl->hasVariable( 'left_size_hash', $rootNamespace ) )
  387. {
  388. $tpl->warning( 'def', "Variable 'left_size_hash' is already defined.", array (
  389. 0 =>
  390. array (
  391. 0 => 5,
  392. 1 => 0,
  393. 2 => 150,
  394. ),
  395. 1 =>
  396. array (
  397. 0 => 14,
  398. 1 => 0,
  399. 2 => 905,
  400. ),
  401. 2 => 'design/admin2/templates/pagelayout.tpl',
  402. ) );
  403. $tpl->setVariable( 'left_size_hash', 0, $rootNamespace );
  404. }
  405. else
  406. {
  407. $tpl->setLocalVariable( 'left_size_hash', 0, $rootNamespace );
  408. }
  409. // def $user_hash
  410. unset( $var );
  411. unset( $var1 );
  412. unset( $var2 );
  413. unset( $var2 );
  414. $var2 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'current_user', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['current_user'] : null;
  415. $var3 = compiledFetchAttribute( $var2, 'role_id_list' );
  416. unset( $var2 );
  417. $var2 = $var3;
  418. if (! isset( $var2 ) ) $var2 = NULL;
  419. while ( is_object( $var2 ) and method_exists( $var2, 'templateValue' ) )
  420. $var2 = $var2->templateValue();
  421. while ( is_object( $var2 ) and method_exists( $var2, 'templateValue' ) )
  422. $var2 = $var2->templateValue();
  423. $var1 = implode( ",", $var2 );unset( $var2 );
  424. if (! isset( $var1 ) ) $var1 = NULL;
  425. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  426. $var1 = $var1->templateValue();
  427. unset( $var3 );
  428. unset( $var4 );
  429. unset( $var4 );
  430. $var4 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'current_user', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['current_user'] : null;
  431. $var5 = compiledFetchAttribute( $var4, 'limited_assignment_value_list' );
  432. unset( $var4 );
  433. $var4 = $var5;
  434. if (! isset( $var4 ) ) $var4 = NULL;
  435. while ( is_object( $var4 ) and method_exists( $var4, 'templateValue' ) )
  436. $var4 = $var4->templateValue();
  437. while ( is_object( $var4 ) and method_exists( $var4, 'templateValue' ) )
  438. $var4 = $var4->templateValue();
  439. $var3 = implode( ",", $var4 );unset( $var4 );
  440. if (! isset( $var3 ) ) $var3 = NULL;
  441. while ( is_object( $var3 ) and method_exists( $var3, 'templateValue' ) )
  442. $var3 = $var3->templateValue();
  443. $var = ( $var1 . ',' . $var3 );
  444. unset( $var1, $var3 );
  445. if (! isset( $var ) ) $var = NULL;
  446. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  447. $var = $var->templateValue();
  448. if ( $tpl->hasVariable( 'user_hash', $rootNamespace ) )
  449. {
  450. $tpl->warning( 'def', "Variable 'user_hash' is already defined.", array (
  451. 0 =>
  452. array (
  453. 0 => 5,
  454. 1 => 0,
  455. 2 => 150,
  456. ),
  457. 1 =>
  458. array (
  459. 0 => 14,
  460. 1 => 0,
  461. 2 => 905,
  462. ),
  463. 2 => 'design/admin2/templates/pagelayout.tpl',
  464. ) );
  465. $tpl->setVariable( 'user_hash', $var, $rootNamespace );
  466. }
  467. else
  468. {
  469. $tpl->setLocalVariable( 'user_hash', $var, $rootNamespace );
  470. }
  471. // if begins
  472. unset( $if_cond );
  473. unset( $if_cond );
  474. $if_cond = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'hide_right_menu', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['hide_right_menu'] : null;
  475. if (! isset( $if_cond ) ) $if_cond = NULL;
  476. while ( is_object( $if_cond ) and method_exists( $if_cond, 'templateValue' ) )
  477. $if_cond = $if_cond->templateValue();
  478. if ( $if_cond )
  479. {
  480. if ( array_key_exists( $currentNamespace, $vars ) && array_key_exists( 'collapse_right_menu', $vars[$currentNamespace] ) )
  481. {
  482. $vars[$currentNamespace]['collapse_right_menu'] = false;
  483. }
  484. }
  485. unset( $if_cond );
  486. // if ends
  487. // if begins
  488. unset( $if_cond );
  489. unset( $if_cond1 );
  490. unset( $if_cond2 );
  491. unset( $if_cond2 );
  492. $if_cond2 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'ui_context_edit', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['ui_context_edit'] : null;
  493. if (! isset( $if_cond2 ) ) $if_cond2 = NULL;
  494. while ( is_object( $if_cond2 ) and method_exists( $if_cond2, 'templateValue' ) )
  495. $if_cond2 = $if_cond2->templateValue();
  496. $if_cond1 = !( $if_cond2 );
  497. unset( $if_cond2 );
  498. if (! isset( $if_cond1 ) ) $if_cond1 = NULL;
  499. while ( is_object( $if_cond1 ) and method_exists( $if_cond1, 'templateValue' ) )
  500. $if_cond1 = $if_cond1->templateValue();
  501. unset( $if_cond2 );
  502. unset( $if_cond3 );
  503. unset( $if_cond3 );
  504. $if_cond3 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'collapse_right_menu', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['collapse_right_menu'] : null;
  505. if (! isset( $if_cond3 ) ) $if_cond3 = NULL;
  506. while ( is_object( $if_cond3 ) and method_exists( $if_cond3, 'templateValue' ) )
  507. $if_cond3 = $if_cond3->templateValue();
  508. unset( $if_cond4 );
  509. unset( $if_cond4 );
  510. $if_cond4 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'admin_left_size', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['admin_left_size'] : null;
  511. if (! isset( $if_cond4 ) ) $if_cond4 = NULL;
  512. while ( is_object( $if_cond4 ) and method_exists( $if_cond4, 'templateValue' ) )
  513. $if_cond4 = $if_cond4->templateValue();
  514. if ( $if_cond3 )
  515. $if_cond2 = $if_cond3;
  516. else if ( $if_cond4 )
  517. $if_cond2 = $if_cond4;
  518. else
  519. $if_cond2 = false;
  520. unset( $if_cond3, $if_cond4 );
  521. if (! isset( $if_cond2 ) ) $if_cond2 = NULL;
  522. while ( is_object( $if_cond2 ) and method_exists( $if_cond2, 'templateValue' ) )
  523. $if_cond2 = $if_cond2->templateValue();
  524. if ( !$if_cond1 )
  525. $if_cond = false;
  526. else if ( !$if_cond2 )
  527. $if_cond = false;
  528. else
  529. $if_cond = $if_cond2;
  530. unset( $if_cond1, $if_cond2 );
  531. if (! isset( $if_cond ) ) $if_cond = NULL;
  532. while ( is_object( $if_cond ) and method_exists( $if_cond, 'templateValue' ) )
  533. $if_cond = $if_cond->templateValue();
  534. if ( $if_cond )
  535. {
  536. $text .= '<style type="text/css">';
  537. // if begins
  538. unset( $if_cond );
  539. unset( $if_cond );
  540. $if_cond = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'collapse_right_menu', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['collapse_right_menu'] : null;
  541. if (! isset( $if_cond ) ) $if_cond = NULL;
  542. while ( is_object( $if_cond ) and method_exists( $if_cond, 'templateValue' ) )
  543. $if_cond = $if_cond->templateValue();
  544. if ( $if_cond )
  545. {
  546. $text .= ' div#page div#rightmenu { width: 18px; } div#page div#maincolumn { margin-right: 17px; }';
  547. }
  548. unset( $if_cond );
  549. // if ends
  550. // if begins
  551. unset( $if_cond );
  552. unset( $if_cond );
  553. $if_cond = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'admin_left_size', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['admin_left_size'] : null;
  554. if (! isset( $if_cond ) ) $if_cond = NULL;
  555. while ( is_object( $if_cond ) and method_exists( $if_cond, 'templateValue' ) )
  556. $if_cond = $if_cond->templateValue();
  557. if ( $if_cond )
  558. {
  559. $text .= ' ';
  560. // def $left_menu_widths
  561. if ( $tpl->hasVariable( 'left_menu_widths', $rootNamespace ) )
  562. {
  563. $tpl->warning( 'def', "Variable 'left_menu_widths' is already defined.", array (
  564. 0 =>
  565. array (
  566. 0 => 26,
  567. 1 => 4,
  568. 2 => 1259,
  569. ),
  570. 1 =>
  571. array (
  572. 0 => 26,
  573. 1 => 79,
  574. 2 => 1334,
  575. ),
  576. 2 => 'design/admin2/templates/pagelayout.tpl',
  577. ) );
  578. $tpl->setVariable( 'left_menu_widths', array (
  579. 'small' => '13',
  580. 'medium' => '19',
  581. 'large' => '25',
  582. ), $rootNamespace );
  583. }
  584. else
  585. {
  586. $tpl->setLocalVariable( 'left_menu_widths', array (
  587. 'small' => '13',
  588. 'medium' => '19',
  589. 'large' => '25',
  590. ), $rootNamespace );
  591. }
  592. $text .= ' ';
  593. // if begins
  594. unset( $if_cond );
  595. unset( $if_cond1 );
  596. unset( $if_cond1 );
  597. $if_cond1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'left_menu_widths', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['left_menu_widths'] : null;
  598. unset( $if_cond3 );
  599. unset( $if_cond3 );
  600. $if_cond3 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'admin_left_size', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['admin_left_size'] : null;
  601. if (! isset( $if_cond3 ) ) $if_cond3 = NULL;
  602. while ( is_object( $if_cond3 ) and method_exists( $if_cond3, 'templateValue' ) )
  603. $if_cond3 = $if_cond3->templateValue();
  604. $if_cond2 = compiledFetchAttribute( $if_cond1, $if_cond3 );
  605. unset( $if_cond1 );
  606. $if_cond1 = $if_cond2;
  607. if (! isset( $if_cond1 ) ) $if_cond1 = NULL;
  608. while ( is_object( $if_cond1 ) and method_exists( $if_cond1, 'templateValue' ) )
  609. $if_cond1 = $if_cond1->templateValue();
  610. $if_cond = isset( $if_cond1 );unset( $if_cond1 );
  611. if (! isset( $if_cond ) ) $if_cond = NULL;
  612. while ( is_object( $if_cond ) and method_exists( $if_cond, 'templateValue' ) )
  613. $if_cond = $if_cond->templateValue();
  614. if ( $if_cond )
  615. {
  616. $text .= ' ';
  617. unset( $var );
  618. unset( $var );
  619. $var = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'left_menu_widths', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['left_menu_widths'] : null;
  620. unset( $var2 );
  621. unset( $var2 );
  622. $var2 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'admin_left_size', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['admin_left_size'] : null;
  623. if (! isset( $var2 ) ) $var2 = NULL;
  624. while ( is_object( $var2 ) and method_exists( $var2, 'templateValue' ) )
  625. $var2 = $var2->templateValue();
  626. $var1 = compiledFetchAttribute( $var, $var2 );
  627. unset( $var );
  628. $var = $var1;
  629. if (! isset( $var ) ) $var = NULL;
  630. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  631. $var = $var->templateValue();
  632. if ( array_key_exists( $currentNamespace, $vars ) && array_key_exists( 'left_size_hash', $vars[$currentNamespace] ) )
  633. {
  634. $vars[$currentNamespace]['left_size_hash'] = $var;
  635. unset( $var );
  636. }
  637. $text .= ' div#leftmenu { width: ';
  638. unset( $var );
  639. unset( $var1 );
  640. unset( $var1 );
  641. $var1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'left_size_hash', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['left_size_hash'] : null;
  642. if (! isset( $var1 ) ) $var1 = NULL;
  643. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  644. $var1 = $var1->templateValue();
  645. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  646. $var1 = $var1->templateValue();
  647. $var = (int)$var1;
  648. unset( $var1 );
  649. if (! isset( $var ) ) $var = NULL;
  650. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  651. $var = $var->templateValue();
  652. $text .= $var;
  653. unset( $var );
  654. $text .= 'em; } div#maincontent { margin-left: ';
  655. unset( $var );
  656. unset( $var1 );
  657. unset( $var1 );
  658. $var1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'left_size_hash', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['left_size_hash'] : null;
  659. if (! isset( $var1 ) ) $var1 = NULL;
  660. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  661. $var1 = $var1->templateValue();
  662. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  663. $var1 = $var1->templateValue();
  664. $var = (int)$var1;
  665. unset( $var1 );
  666. if (! isset( $var ) ) $var = NULL;
  667. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  668. $var = $var->templateValue();
  669. $text .= $var;
  670. unset( $var );
  671. $text .= 'em; } ';
  672. }
  673. else
  674. {
  675. $text .= ' div#page div#leftmenu { width: ';
  676. unset( $var );
  677. unset( $var1 );
  678. unset( $var1 );
  679. $var1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'admin_left_size', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['admin_left_size'] : null;
  680. if (! isset( $var1 ) ) $var1 = NULL;
  681. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  682. $var1 = $var1->templateValue();
  683. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  684. $var1 = $var1->templateValue();
  685. $var = htmlspecialchars( $var1 );
  686. unset( $var1 );
  687. if (! isset( $var ) ) $var = NULL;
  688. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  689. $var = $var->templateValue();
  690. $text .= $var;
  691. unset( $var );
  692. $text .= '; } div#page div#maincontent { margin-left: ';
  693. unset( $var );
  694. unset( $var1 );
  695. unset( $var1 );
  696. $var1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'admin_left_size', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['admin_left_size'] : null;
  697. if (! isset( $var1 ) ) $var1 = NULL;
  698. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  699. $var1 = $var1->templateValue();
  700. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  701. $var1 = $var1->templateValue();
  702. $var = htmlspecialchars( $var1 );
  703. unset( $var1 );
  704. if (! isset( $var ) ) $var = NULL;
  705. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  706. $var = $var->templateValue();
  707. $text .= $var;
  708. unset( $var );
  709. $text .= '; } ';
  710. }
  711. unset( $if_cond );
  712. // if ends
  713. $text .= ' ';
  714. // undef $left_menu_widths
  715. $tpl->unsetLocalVariable( 'left_menu_widths', $rootNamespace );
  716. }
  717. unset( $if_cond );
  718. // if ends
  719. $text .= '</style>';
  720. }
  721. unset( $if_cond );
  722. // if ends
  723. $text .= '
  724. ';
  725. unset( $cacheKeys );
  726. unset( $cacheKeys1 );
  727. unset( $cacheKeys1 );
  728. $cacheKeys1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'module_result', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['module_result'] : null;
  729. $cacheKeys2 = compiledFetchAttribute( $cacheKeys1, 'uri' );
  730. unset( $cacheKeys1 );
  731. $cacheKeys1 = $cacheKeys2;
  732. if (! isset( $cacheKeys1 ) ) $cacheKeys1 = NULL;
  733. while ( is_object( $cacheKeys1 ) and method_exists( $cacheKeys1, 'templateValue' ) )
  734. $cacheKeys1 = $cacheKeys1->templateValue();
  735. while ( is_object( $cacheKeys1 ) and method_exists( $cacheKeys1, 'templateValue' ) )
  736. $cacheKeys1 = $cacheKeys1->templateValue();
  737. unset( $cacheKeys2 );
  738. unset( $cacheKeys2 );
  739. $cacheKeys2 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'user_hash', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['user_hash'] : null;
  740. if (! isset( $cacheKeys2 ) ) $cacheKeys2 = NULL;
  741. while ( is_object( $cacheKeys2 ) and method_exists( $cacheKeys2, 'templateValue' ) )
  742. $cacheKeys2 = $cacheKeys2->templateValue();
  743. while ( is_object( $cacheKeys2 ) and method_exists( $cacheKeys2, 'templateValue' ) )
  744. $cacheKeys2 = $cacheKeys2->templateValue();
  745. unset( $cacheKeys3 );
  746. unset( $cacheKeys3 );
  747. $cacheKeys3 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'admin_theme', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['admin_theme'] : null;
  748. if (! isset( $cacheKeys3 ) ) $cacheKeys3 = NULL;
  749. while ( is_object( $cacheKeys3 ) and method_exists( $cacheKeys3, 'templateValue' ) )
  750. $cacheKeys3 = $cacheKeys3->templateValue();
  751. while ( is_object( $cacheKeys3 ) and method_exists( $cacheKeys3, 'templateValue' ) )
  752. $cacheKeys3 = $cacheKeys3->templateValue();
  753. unset( $cacheKeys4 );
  754. unset( $cacheKeys4 );
  755. $cacheKeys4 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'access_type', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['access_type'] : null;
  756. if (! isset( $cacheKeys4 ) ) $cacheKeys4 = NULL;
  757. while ( is_object( $cacheKeys4 ) and method_exists( $cacheKeys4, 'templateValue' ) )
  758. $cacheKeys4 = $cacheKeys4->templateValue();
  759. while ( is_object( $cacheKeys4 ) and method_exists( $cacheKeys4, 'templateValue' ) )
  760. $cacheKeys4 = $cacheKeys4->templateValue();
  761. unset( $cacheKeys5 );
  762. unset( $cacheKeys6 );
  763. unset( $cacheKeys6 );
  764. $cacheKeys6 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( "module_result", $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]["module_result"] : null;
  765. $cacheKeys7 = compiledFetchAttribute( $cacheKeys6, "navigation_part" );
  766. unset( $cacheKeys6 );
  767. $cacheKeys6 = $cacheKeys7;
  768. if (! isset( $cacheKeys6 ) ) $cacheKeys6 = NULL;
  769. while ( is_object( $cacheKeys6 ) and method_exists( $cacheKeys6, 'templateValue' ) )
  770. $cacheKeys6 = $cacheKeys6->templateValue();
  771. while ( is_object( $cacheKeys6 ) and method_exists( $cacheKeys6, 'templateValue' ) )
  772. $cacheKeys6 = $cacheKeys6->templateValue();
  773. if ( isset( $cacheKeys6 ) )
  774. {
  775. $cacheKeys5 = $cacheKeys6;
  776. }
  777. else
  778. {
  779. unset( $cacheKeys7 );
  780. unset( $cacheKeys7 );
  781. $cacheKeys7 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( "navigation_part", $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]["navigation_part"] : null;
  782. $cacheKeys8 = compiledFetchAttribute( $cacheKeys7, "identifier" );
  783. unset( $cacheKeys7 );
  784. $cacheKeys7 = $cacheKeys8;
  785. if (! isset( $cacheKeys7 ) ) $cacheKeys7 = NULL;
  786. while ( is_object( $cacheKeys7 ) and method_exists( $cacheKeys7, 'templateValue' ) )
  787. $cacheKeys7 = $cacheKeys7->templateValue();
  788. while ( is_object( $cacheKeys7 ) and method_exists( $cacheKeys7, 'templateValue' ) )
  789. $cacheKeys7 = $cacheKeys7->templateValue();
  790. if ( isset( $cacheKeys7 ) )
  791. {
  792. $cacheKeys5 = $cacheKeys7;
  793. }
  794. }
  795. unset( $cacheKeys6, $cacheKeys7 );
  796. if (! isset( $cacheKeys5 ) ) $cacheKeys5 = NULL;
  797. while ( is_object( $cacheKeys5 ) and method_exists( $cacheKeys5, 'templateValue' ) )
  798. $cacheKeys5 = $cacheKeys5->templateValue();
  799. $cacheKeys = array( $cacheKeys1, $cacheKeys2, $cacheKeys3, $cacheKeys4, $cacheKeys5 );unset( $cacheKeys1, $cacheKeys2, $cacheKeys3, $cacheKeys4, $cacheKeys5 );
  800. if (! isset( $cacheKeys ) ) $cacheKeys = NULL;
  801. while ( is_object( $cacheKeys ) and method_exists( $cacheKeys, 'templateValue' ) )
  802. $cacheKeys = $cacheKeys->templateValue();
  803. $subtreeExpiry = NULL;
  804. $cacheKeys = array( $cacheKeys, "42_0_42_180_design/admin2/templates/pagelayout.tpl", "back" );
  805. list($cacheHandler_e15390a72debbf21148f5d6b4b672bd5, $contentData) =
  806. eZTemplateCacheBlock::retrieve( $cacheKeys, $subtreeExpiry, 7200, false );
  807. if ( !( $contentData instanceof eZClusterFileFailure ) )
  808. {
  809. $text .= $contentData;
  810. unset( $contentData );
  811. }
  812. else
  813. {
  814. unset( $contentData );
  815. if ( !isset( $textStack ) )
  816. $textStack = array();
  817. $textStack[] = $text;
  818. $text = '';
  819. $oldRestoreIncludeArray_7c29442f8448c334ed969b7c54463670 = isset( $restoreIncludeArray ) ? $restoreIncludeArray : array();
  820. $restoreIncludeArray = array();
  821. if ( !isset( $dKeys ) )
  822. {
  823. $resH = $tpl->resourceHandler( "design" );
  824. $dKeys = $resH->keys();
  825. }
  826. $resourceFound = false;
  827. if ( file_exists( 'var/ezwebin_site/cache/template/compiled/page_head-ba84edd1315836891b1b792f4cac2080.php' ) )
  828. {
  829. $resourceFound = true;
  830. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  831. $rootNamespace = $currentNamespace;
  832. $tpl->createLocalVariablesList();
  833. $tpl->appendTemplateFetch( 'design/standard/templates/page_head.tpl' );
  834. include( '' . 'var/ezwebin_site/cache/template/compiled/page_head-ba84edd1315836891b1b792f4cac2080.php' );
  835. $tpl->unsetLocalVariables();
  836. $tpl->destroyLocalVariablesList();
  837. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  838. }
  839. else
  840. {
  841. $resourceFound = true;
  842. $resourceFound = true;
  843. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  844. $rootNamespace = $currentNamespace;
  845. $textElements = array();
  846. $extraParameters = array();
  847. $tpl->processURI( 'design/standard/templates/page_head.tpl', true, $extraParameters, $textElements, $rootNamespace, $currentNamespace );
  848. $text .= implode( '', $textElements );
  849. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  850. }
  851. foreach ( $restoreIncludeArray as $element )
  852. {
  853. if ( $element[2] === 'unset' )
  854. {
  855. unset( $vars[$element[0]][$element[1]] );
  856. continue;
  857. }
  858. $vars[$element[0]][$element[1]] = $element[2];
  859. }
  860. $restoreIncludeArray = $oldRestoreIncludeArray_7c29442f8448c334ed969b7c54463670;
  861. $oldRestoreIncludeArray_b28ab45be19a462f23698b0759ec990f = isset( $restoreIncludeArray ) ? $restoreIncludeArray : array();
  862. $restoreIncludeArray = array();
  863. if ( !isset( $dKeys ) )
  864. {
  865. $resH = $tpl->resourceHandler( "design" );
  866. $dKeys = $resH->keys();
  867. }
  868. $resourceFound = false;
  869. if ( file_exists( 'var/ezwebin_site/cache/template/compiled/page_head_style-417b374671ea0a0613bd9a32a0f24c76.php' ) )
  870. {
  871. $resourceFound = true;
  872. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  873. $rootNamespace = $currentNamespace;
  874. $tpl->createLocalVariablesList();
  875. $tpl->appendTemplateFetch( 'design/admin2/templates/page_head_style.tpl' );
  876. include( '' . 'var/ezwebin_site/cache/template/compiled/page_head_style-417b374671ea0a0613bd9a32a0f24c76.php' );
  877. $tpl->unsetLocalVariables();
  878. $tpl->destroyLocalVariablesList();
  879. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  880. }
  881. else
  882. {
  883. $resourceFound = true;
  884. $resourceFound = true;
  885. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  886. $rootNamespace = $currentNamespace;
  887. $textElements = array();
  888. $extraParameters = array();
  889. $tpl->processURI( 'design/admin2/templates/page_head_style.tpl', true, $extraParameters, $textElements, $rootNamespace, $currentNamespace );
  890. $text .= implode( '', $textElements );
  891. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  892. }
  893. foreach ( $restoreIncludeArray as $element )
  894. {
  895. if ( $element[2] === 'unset' )
  896. {
  897. unset( $vars[$element[0]][$element[1]] );
  898. continue;
  899. }
  900. $vars[$element[0]][$element[1]] = $element[2];
  901. }
  902. $restoreIncludeArray = $oldRestoreIncludeArray_b28ab45be19a462f23698b0759ec990f;
  903. $oldRestoreIncludeArray_c86b85ab8146e41e63ea8dc9bf5e4223 = isset( $restoreIncludeArray ) ? $restoreIncludeArray : array();
  904. $restoreIncludeArray = array();
  905. if ( !isset( $dKeys ) )
  906. {
  907. $resH = $tpl->resourceHandler( "design" );
  908. $dKeys = $resH->keys();
  909. }
  910. $resourceFound = false;
  911. if ( file_exists( 'var/ezwebin_site/cache/template/compiled/page_head_script-e73755bea4457c11c8aa65e3f6475257.php' ) )
  912. {
  913. $resourceFound = true;
  914. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  915. $rootNamespace = $currentNamespace;
  916. $tpl->createLocalVariablesList();
  917. $tpl->appendTemplateFetch( 'design/admin2/templates/page_head_script.tpl' );
  918. include( '' . 'var/ezwebin_site/cache/template/compiled/page_head_script-e73755bea4457c11c8aa65e3f6475257.php' );
  919. $tpl->unsetLocalVariables();
  920. $tpl->destroyLocalVariablesList();
  921. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  922. }
  923. else
  924. {
  925. $resourceFound = true;
  926. $resourceFound = true;
  927. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  928. $rootNamespace = $currentNamespace;
  929. $textElements = array();
  930. $extraParameters = array();
  931. $tpl->processURI( 'design/admin2/templates/page_head_script.tpl', true, $extraParameters, $textElements, $rootNamespace, $currentNamespace );
  932. $text .= implode( '', $textElements );
  933. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  934. }
  935. foreach ( $restoreIncludeArray as $element )
  936. {
  937. if ( $element[2] === 'unset' )
  938. {
  939. unset( $vars[$element[0]][$element[1]] );
  940. continue;
  941. }
  942. $vars[$element[0]][$element[1]] = $element[2];
  943. }
  944. $restoreIncludeArray = $oldRestoreIncludeArray_c86b85ab8146e41e63ea8dc9bf5e4223;
  945. $text .= '
  946. </head>
  947. <body>
  948. <div id="page" class="';
  949. unset( $var );
  950. unset( $var );
  951. $var = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'navigation_part', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['navigation_part'] : null;
  952. $var1 = compiledFetchAttribute( $var, 'identifier' );
  953. unset( $var );
  954. $var = $var1;
  955. if (! isset( $var ) ) $var = NULL;
  956. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  957. $var = $var->templateValue();
  958. $text .= ( is_object( $var ) ? compiledFetchText( $tpl, $rootNamespace, $currentNamespace, false, $var ) : $var );
  959. unset( $var );
  960. $text .= ' section_id_';
  961. unset( $var );
  962. unset( $var1 );
  963. unset( $var1 );
  964. $var1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( "module_result", $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]["module_result"] : null;
  965. $var2 = compiledFetchAttribute( $var1, "section_id" );
  966. unset( $var1 );
  967. $var1 = $var2;
  968. if (! isset( $var1 ) ) $var1 = NULL;
  969. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  970. $var1 = $var1->templateValue();
  971. while ( is_object( $var1 ) and method_exists( $var1, 'templateValue' ) )
  972. $var1 = $var1->templateValue();
  973. if ( isset( $var1 ) )
  974. {
  975. $var = $var1;
  976. }
  977. else
  978. {
  979. $var = 0;
  980. }
  981. unset( $var1 );
  982. if (! isset( $var ) ) $var = NULL;
  983. while ( is_object( $var ) and method_exists( $var, 'templateValue' ) )
  984. $var = $var->templateValue();
  985. $text .= $var;
  986. unset( $var );
  987. $text .= '">
  988. <div id="header">
  989. <div id="header-design" class="float-break">
  990. ';
  991. $oldRestoreIncludeArray_71abccd1cd42bb06e330309db8f339b6 = isset( $restoreIncludeArray ) ? $restoreIncludeArray : array();
  992. $restoreIncludeArray = array();
  993. if ( !isset( $dKeys ) )
  994. {
  995. $resH = $tpl->resourceHandler( "design" );
  996. $dKeys = $resH->keys();
  997. }
  998. $resourceFound = false;
  999. if ( file_exists( 'var/ezwebin_site/cache/template/compiled/page_header-49e15606c1579a21a03c7ddc05c37749.php' ) )
  1000. {
  1001. $resourceFound = true;
  1002. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  1003. $rootNamespace = $currentNamespace;
  1004. $tpl->createLocalVariablesList();
  1005. $tpl->appendTemplateFetch( 'design/admin2/templates/page_header.tpl' );
  1006. include( '' . 'var/ezwebin_site/cache/template/compiled/page_header-49e15606c1579a21a03c7ddc05c37749.php' );
  1007. $tpl->unsetLocalVariables();
  1008. $tpl->destroyLocalVariablesList();
  1009. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  1010. }
  1011. else
  1012. {
  1013. $resourceFound = true;
  1014. $resourceFound = true;
  1015. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  1016. $rootNamespace = $currentNamespace;
  1017. $textElements = array();
  1018. $extraParameters = array();
  1019. $tpl->processURI( 'design/admin2/templates/page_header.tpl', true, $extraParameters, $textElements, $rootNamespace, $currentNamespace );
  1020. $text .= implode( '', $textElements );
  1021. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  1022. }
  1023. foreach ( $restoreIncludeArray as $element )
  1024. {
  1025. if ( $element[2] === 'unset' )
  1026. {
  1027. unset( $vars[$element[0]][$element[1]] );
  1028. continue;
  1029. }
  1030. $vars[$element[0]][$element[1]] = $element[2];
  1031. }
  1032. $restoreIncludeArray = $oldRestoreIncludeArray_71abccd1cd42bb06e330309db8f339b6;
  1033. $text .= '
  1034. ';
  1035. unset( $cacheKeys );
  1036. unset( $cacheKeys1 );
  1037. unset( $cacheKeys1 );
  1038. $cacheKeys1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'ui_context', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['ui_context'] : null;
  1039. if (! isset( $cacheKeys1 ) ) $cacheKeys1 = NULL;
  1040. while ( is_object( $cacheKeys1 ) and method_exists( $cacheKeys1, 'templateValue' ) )
  1041. $cacheKeys1 = $cacheKeys1->templateValue();
  1042. while ( is_object( $cacheKeys1 ) and method_exists( $cacheKeys1, 'templateValue' ) )
  1043. $cacheKeys1 = $cacheKeys1->templateValue();
  1044. unset( $cacheKeys2 );
  1045. unset( $cacheKeys2 );
  1046. $cacheKeys2 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'ui_component', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['ui_component'] : null;
  1047. if (! isset( $cacheKeys2 ) ) $cacheKeys2 = NULL;
  1048. while ( is_object( $cacheKeys2 ) and method_exists( $cacheKeys2, 'templateValue' ) )
  1049. $cacheKeys2 = $cacheKeys2->templateValue();
  1050. while ( is_object( $cacheKeys2 ) and method_exists( $cacheKeys2, 'templateValue' ) )
  1051. $cacheKeys2 = $cacheKeys2->templateValue();
  1052. unset( $cacheKeys3 );
  1053. unset( $cacheKeys3 );
  1054. $cacheKeys3 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'user_hash', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['user_hash'] : null;
  1055. if (! isset( $cacheKeys3 ) ) $cacheKeys3 = NULL;
  1056. while ( is_object( $cacheKeys3 ) and method_exists( $cacheKeys3, 'templateValue' ) )
  1057. $cacheKeys3 = $cacheKeys3->templateValue();
  1058. while ( is_object( $cacheKeys3 ) and method_exists( $cacheKeys3, 'templateValue' ) )
  1059. $cacheKeys3 = $cacheKeys3->templateValue();
  1060. unset( $cacheKeys4 );
  1061. unset( $cacheKeys4 );
  1062. $cacheKeys4 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'access_type', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['access_type'] : null;
  1063. if (! isset( $cacheKeys4 ) ) $cacheKeys4 = NULL;
  1064. while ( is_object( $cacheKeys4 ) and method_exists( $cacheKeys4, 'templateValue' ) )
  1065. $cacheKeys4 = $cacheKeys4->templateValue();
  1066. while ( is_object( $cacheKeys4 ) and method_exists( $cacheKeys4, 'templateValue' ) )
  1067. $cacheKeys4 = $cacheKeys4->templateValue();
  1068. unset( $cacheKeys5 );
  1069. unset( $cacheKeys6 );
  1070. unset( $cacheKeys6 );
  1071. $cacheKeys6 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( "module_result", $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]["module_result"] : null;
  1072. $cacheKeys7 = compiledFetchAttribute( $cacheKeys6, "navigation_part" );
  1073. unset( $cacheKeys6 );
  1074. $cacheKeys6 = $cacheKeys7;
  1075. if (! isset( $cacheKeys6 ) ) $cacheKeys6 = NULL;
  1076. while ( is_object( $cacheKeys6 ) and method_exists( $cacheKeys6, 'templateValue' ) )
  1077. $cacheKeys6 = $cacheKeys6->templateValue();
  1078. while ( is_object( $cacheKeys6 ) and method_exists( $cacheKeys6, 'templateValue' ) )
  1079. $cacheKeys6 = $cacheKeys6->templateValue();
  1080. if ( isset( $cacheKeys6 ) )
  1081. {
  1082. $cacheKeys5 = $cacheKeys6;
  1083. }
  1084. else
  1085. {
  1086. unset( $cacheKeys7 );
  1087. unset( $cacheKeys7 );
  1088. $cacheKeys7 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( "navigation_part", $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]["navigation_part"] : null;
  1089. $cacheKeys8 = compiledFetchAttribute( $cacheKeys7, "identifier" );
  1090. unset( $cacheKeys7 );
  1091. $cacheKeys7 = $cacheKeys8;
  1092. if (! isset( $cacheKeys7 ) ) $cacheKeys7 = NULL;
  1093. while ( is_object( $cacheKeys7 ) and method_exists( $cacheKeys7, 'templateValue' ) )
  1094. $cacheKeys7 = $cacheKeys7->templateValue();
  1095. while ( is_object( $cacheKeys7 ) and method_exists( $cacheKeys7, 'templateValue' ) )
  1096. $cacheKeys7 = $cacheKeys7->templateValue();
  1097. if ( isset( $cacheKeys7 ) )
  1098. {
  1099. $cacheKeys5 = $cacheKeys7;
  1100. }
  1101. }
  1102. unset( $cacheKeys6, $cacheKeys7 );
  1103. if (! isset( $cacheKeys5 ) ) $cacheKeys5 = NULL;
  1104. while ( is_object( $cacheKeys5 ) and method_exists( $cacheKeys5, 'templateValue' ) )
  1105. $cacheKeys5 = $cacheKeys5->templateValue();
  1106. $cacheKeys = array( $cacheKeys1, $cacheKeys2, $cacheKeys3, $cacheKeys4, $cacheKeys5 );unset( $cacheKeys1, $cacheKeys2, $cacheKeys3, $cacheKeys4, $cacheKeys5 );
  1107. if (! isset( $cacheKeys ) ) $cacheKeys = NULL;
  1108. while ( is_object( $cacheKeys ) and method_exists( $cacheKeys, 'templateValue' ) )
  1109. $cacheKeys = $cacheKeys->templateValue();
  1110. $subtreeExpiry = NULL;
  1111. $cacheKeys = array( $cacheKeys, "61_0_61_174_design/admin2/templates/pagelayout.tpl", "back" );
  1112. list($cacheHandler_abb42f4d16050bcd336dc3ab3cceae39, $contentData) =
  1113. eZTemplateCacheBlock::retrieve( $cacheKeys, $subtreeExpiry, 7200, false );
  1114. if ( !( $contentData instanceof eZClusterFileFailure ) )
  1115. {
  1116. $text .= $contentData;
  1117. unset( $contentData );
  1118. }
  1119. else
  1120. {
  1121. unset( $contentData );
  1122. if ( !isset( $textStack ) )
  1123. $textStack = array();
  1124. $textStack[] = $text;
  1125. $text = '';
  1126. $text .= '
  1127. ';
  1128. $oldRestoreIncludeArray_436d501c45fd72288feaa30607e4aee3 = isset( $restoreIncludeArray ) ? $restoreIncludeArray : array();
  1129. $restoreIncludeArray = array();
  1130. if ( !isset( $dKeys ) )
  1131. {
  1132. $resH = $tpl->resourceHandler( "design" );
  1133. $dKeys = $resH->keys();
  1134. }
  1135. $resourceFound = false;
  1136. if ( file_exists( 'var/ezwebin_site/cache/template/compiled/page_topmenu-4ef4dfcebcffdf52adbbdba112a35fc2.php' ) )
  1137. {
  1138. $resourceFound = true;
  1139. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  1140. $rootNamespace = $currentNamespace;
  1141. $tpl->createLocalVariablesList();
  1142. $tpl->appendTemplateFetch( 'design/admin2/templates/page_topmenu.tpl' );
  1143. include( '' . 'var/ezwebin_site/cache/template/compiled/page_topmenu-4ef4dfcebcffdf52adbbdba112a35fc2.php' );
  1144. $tpl->unsetLocalVariables();
  1145. $tpl->destroyLocalVariablesList();
  1146. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  1147. }
  1148. else
  1149. {
  1150. $resourceFound = true;
  1151. $resourceFound = true;
  1152. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  1153. $rootNamespace = $currentNamespace;
  1154. $textElements = array();
  1155. $extraParameters = array();
  1156. $tpl->processURI( 'design/admin2/templates/page_topmenu.tpl', true, $extraParameters, $textElements, $rootNamespace, $currentNamespace );
  1157. $text .= implode( '', $textElements );
  1158. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  1159. }
  1160. foreach ( $restoreIncludeArray as $element )
  1161. {
  1162. if ( $element[2] === 'unset' )
  1163. {
  1164. unset( $vars[$element[0]][$element[1]] );
  1165. continue;
  1166. }
  1167. $vars[$element[0]][$element[1]] = $element[2];
  1168. }
  1169. $restoreIncludeArray = $oldRestoreIncludeArray_436d501c45fd72288feaa30607e4aee3;
  1170. $text .= '
  1171. </div>
  1172. </div>';
  1173. $cachedText = $text;
  1174. $cacheHandler_abb42f4d16050bcd336dc3ab3cceae39->storeCache( array( 'scope' => 'template-block', 'binarydata' => $cachedText ) );
  1175. $text = array_pop( $textStack );
  1176. $text .= $cachedText;
  1177. unset( $cachedText, $cacheHandler_abb42f4d16050bcd336dc3ab3cceae39 );
  1178. }
  1179. $text .= '
  1180. <hr class="hide" />';
  1181. $cachedText = $text;
  1182. $cacheHandler_e15390a72debbf21148f5d6b4b672bd5->storeCache( array( 'scope' => 'template-block', 'binarydata' => $cachedText ) );
  1183. $text = array_pop( $textStack );
  1184. $text .= $cachedText;
  1185. unset( $cachedText, $cacheHandler_e15390a72debbf21148f5d6b4b672bd5 );
  1186. }
  1187. $text .= '
  1188. <div id="columns"';
  1189. // if begins
  1190. unset( $if_cond );
  1191. unset( $if_cond );
  1192. $if_cond = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'hide_right_menu', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['hide_right_menu'] : null;
  1193. if (! isset( $if_cond ) ) $if_cond = NULL;
  1194. while ( is_object( $if_cond ) and method_exists( $if_cond, 'templateValue' ) )
  1195. $if_cond = $if_cond->templateValue();
  1196. if ( $if_cond )
  1197. {
  1198. $text .= ' class="hide-rightmenu"';
  1199. }
  1200. unset( $if_cond );
  1201. // if ends
  1202. $text .= '>
  1203. <div id="rightmenu">';
  1204. // if begins
  1205. unset( $if_cond );
  1206. unset( $if_cond1 );
  1207. unset( $if_cond1 );
  1208. $if_cond1 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'hide_right_menu', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['hide_right_menu'] : null;
  1209. if (! isset( $if_cond1 ) ) $if_cond1 = NULL;
  1210. while ( is_object( $if_cond1 ) and method_exists( $if_cond1, 'templateValue' ) )
  1211. $if_cond1 = $if_cond1->templateValue();
  1212. unset( $if_cond2 );
  1213. unset( $if_cond2 );
  1214. $if_cond2 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'collapse_right_menu', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['collapse_right_menu'] : null;
  1215. if (! isset( $if_cond2 ) ) $if_cond2 = NULL;
  1216. while ( is_object( $if_cond2 ) and method_exists( $if_cond2, 'templateValue' ) )
  1217. $if_cond2 = $if_cond2->templateValue();
  1218. if ( $if_cond1 )
  1219. $if_cond = $if_cond1;
  1220. else if ( $if_cond2 )
  1221. $if_cond = $if_cond2;
  1222. else
  1223. $if_cond = false;
  1224. unset( $if_cond1, $if_cond2 );
  1225. if (! isset( $if_cond ) ) $if_cond = NULL;
  1226. while ( is_object( $if_cond ) and method_exists( $if_cond, 'templateValue' ) )
  1227. $if_cond = $if_cond->templateValue();
  1228. if ( $if_cond )
  1229. {
  1230. $text .= ' <a id="rightmenu-showhide" class="show-hide-control" title="右メニューの表示/非表示" href="/back/user/preferences/set/admin_right_menu_show/1">&laquo;</a>
  1231. <div id="rightmenu-design"></div>';
  1232. }
  1233. else
  1234. {
  1235. $text .= ' <a id="rightmenu-showhide" class="show-hide-control" title="右メニューの非表示/表示" href="/back/user/preferences/set/admin_right_menu_show/0">&raquo;</a>
  1236. <div id="rightmenu-design">
  1237. ';
  1238. $oldRestoreIncludeArray_f68abfba72064b38d1c4c1d4831a1ba6 = isset( $restoreIncludeArray ) ? $restoreIncludeArray : array();
  1239. $restoreIncludeArray = array();
  1240. $vars[$currentNamespace]['tool_id'] = 'Tool_admin_right_admin_current_user_1';
  1241. $vars[$currentNamespace]['offset'] = 1;
  1242. $vars[$currentNamespace]['first'] = true;
  1243. $vars[$currentNamespace]['last'] = false;
  1244. $vars[$currentNamespace]['placement'] = 'first';
  1245. if ( !isset( $dKeys ) )
  1246. {
  1247. $resH = $tpl->resourceHandler( "design" );
  1248. $dKeys = $resH->keys();
  1249. }
  1250. $resourceFound = false;
  1251. if ( file_exists( 'var/ezwebin_site/cache/template/compiled/admin_current_user-a8ed0fd55e9cb54b5a3e9f0aa2725c8e.php' ) )
  1252. {
  1253. $resourceFound = true;
  1254. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  1255. $rootNamespace = $currentNamespace;
  1256. $tpl->createLocalVariablesList();
  1257. $tpl->appendTemplateFetch( 'design/admin2/templates/toolbar/full/admin_current_user.tpl' );
  1258. include( '' . 'var/ezwebin_site/cache/template/compiled/admin_current_user-a8ed0fd55e9cb54b5a3e9f0aa2725c8e.php' );
  1259. $tpl->unsetLocalVariables();
  1260. $tpl->destroyLocalVariablesList();
  1261. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  1262. }
  1263. else
  1264. {
  1265. $resourceFound = true;
  1266. $resourceFound = true;
  1267. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  1268. $rootNamespace = $currentNamespace;
  1269. $textElements = array();
  1270. $extraParameters = array();
  1271. $tpl->processURI( 'design/admin2/templates/toolbar/full/admin_current_user.tpl', true, $extraParameters, $textElements, $rootNamespace, $currentNamespace );
  1272. $text .= implode( '', $textElements );
  1273. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  1274. }
  1275. foreach ( $restoreIncludeArray as $element )
  1276. {
  1277. if ( $element[2] === 'unset' )
  1278. {
  1279. unset( $vars[$element[0]][$element[1]] );
  1280. continue;
  1281. }
  1282. $vars[$element[0]][$element[1]] = $element[2];
  1283. }
  1284. $restoreIncludeArray = $oldRestoreIncludeArray_f68abfba72064b38d1c4c1d4831a1ba6;
  1285. $oldRestoreIncludeArray_87a94953aa29eab116a5c76ec727a868 = isset( $restoreIncludeArray ) ? $restoreIncludeArray : array();
  1286. $restoreIncludeArray = array();
  1287. $vars[$currentNamespace]['tool_id'] = 'Tool_admin_right_admin_preferences_2';
  1288. $vars[$currentNamespace]['offset'] = 2;
  1289. $vars[$currentNamespace]['first'] = false;
  1290. $vars[$currentNamespace]['last'] = false;
  1291. $vars[$currentNamespace]['placement'] = '';
  1292. if ( !isset( $dKeys ) )
  1293. {
  1294. $resH = $tpl->resourceHandler( "design" );
  1295. $dKeys = $resH->keys();
  1296. }
  1297. $resourceFound = false;
  1298. if ( file_exists( 'var/ezwebin_site/cache/template/compiled/admin_preferences-6c28126105edaba2376f206d5ca099e4.php' ) )
  1299. {
  1300. $resourceFound = true;
  1301. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  1302. $rootNamespace = $currentNamespace;
  1303. $tpl->createLocalVariablesList();
  1304. $tpl->appendTemplateFetch( 'design/admin2/templates/toolbar/full/admin_preferences.tpl' );
  1305. include( '' . 'var/ezwebin_site/cache/template/compiled/admin_preferences-6c28126105edaba2376f206d5ca099e4.php' );
  1306. $tpl->unsetLocalVariables();
  1307. $tpl->destroyLocalVariablesList();
  1308. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  1309. }
  1310. else
  1311. {
  1312. $resourceFound = true;
  1313. $resourceFound = true;
  1314. $namespaceStack[] = array( $rootNamespace, $currentNamespace );
  1315. $rootNamespace = $currentNamespace;
  1316. $textElements = array();
  1317. $extraParameters = array();
  1318. $tpl->processURI( 'design/admin2/templates/toolbar/full/admin_preferences.tpl', true, $extraParameters, $textElements, $rootNamespace, $currentNamespace );
  1319. $text .= implode( '', $textElements );
  1320. list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );
  1321. }
  1322. foreach ( $restoreIncludeArray as $element )
  1323. {
  1324. if ( $element[2] === 'unset' )
  1325. {
  1326. unset( $vars[$element[0]][$element[1]] );
  1327. continue;
  1328. }
  1329. $vars[$element[0]][$element[1]] = $element[2];
  1330. }
  1331. $restoreIncludeArray = $oldRestoreIncludeArray_87a94953aa29eab116a5c76ec727a868;
  1332. $oldRestoreIncludeArray_1be8792280a8970309de83e2aa29bd34 = isset( $restoreIncludeArray ) ? $restoreIncludeArray : array();
  1333. $restoreIncludeArray = array();
  1334. $vars[$currentNamespace]['tool_id'