compile/8e8bf41aae629be3ba98e0459939ce7ba4fceaed_0.file.top.tpl.php line 28

Open in your IDE?
  1. <?php
  2. /* Smarty version 3.1.34-dev-7, created on 2025-08-18 19:04:30
  3.   from '/data/sites/symfony-taskmeister/includes/templates/layout/normal/top.tpl' */
  4. /* @var Smarty_Internal_Template $_smarty_tpl */
  5. if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  6.   'version' => '3.1.34-dev-7',
  7.   'unifunc' => 'content_68a3793e8ae7d2_54338772',
  8.   'has_nocache_code' => false,
  9.   'file_dependency' => 
  10.   array (
  11.     '8e8bf41aae629be3ba98e0459939ce7ba4fceaed' => 
  12.     array (
  13.       => '/data/sites/symfony-taskmeister/includes/templates/layout/normal/top.tpl',
  14.       => 1753659721,
  15.       => 'file',
  16.     ),
  17.   ),
  18.   'includes' => 
  19.   array (
  20.     'file:header_prototype_calendar_include.tpl' => 1,
  21.     'file:header_calendar_include.tpl' => 1,
  22.     'file:header_prototype_include.tpl' => 1,
  23.     'file:header_jquery_include.tpl' => 1,
  24.     'file:header_drag_include.tpl' => 1,
  25.   ),
  26. ),false)) {
  27. function content_68a3793e8ae7d2_54338772 (Smarty_Internal_Template $_smarty_tpl) {
  28. $_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/data/sites/symfony-taskmeister/includes/classes/smarty/plugins/function.html_image.php','function'=>'smarty_function_html_image',),));
  29. ?>
  30. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  31. <html lang="en"><head><title><?php echo (($tmp = @$_smarty_tpl->tpl_vars['page_title']->value)===null||$tmp==='' 'Task Meister' $tmp);?>
  32. </title><meta charset="utf-8"><link REL="SHORTCUT ICON" HREF="/favicon.ico"><link rel="icon" href="//<?php echo $_SERVER['SERVER_NAME'];?>
  33. /favicon.ico" type="image/ico"><?php if (isset($_smarty_tpl->tpl_vars['selection_have_rss']->value) && $_smarty_tpl->tpl_vars['selection_have_rss']->value) {?><link rel="alternate" type="application/rss+xml" title="Task Selection RSS" href="<?php echo $_smarty_tpl->tpl_vars['Config']->value->web_root;?>
  34. rss.php?sid=<?php echo $_smarty_tpl->tpl_vars['md5_selection_id']->value;?>
  35. " /><?php }?><link rel="shortcut icon" href="//<?php echo $_SERVER['SERVER_NAME'];?>
  36. /favicon.ico" type="image/x-icon"><link rel="stylesheet" href="/css/style.css?ver=1" type="text/css" /><?php if (isset($_smarty_tpl->tpl_vars['company_style']->value)) {?><link rel="stylesheet" href="/css/style<?php echo $_smarty_tpl->tpl_vars['company_style']->value;?>
  37. .css" type="text/css" /><?php }
  38. if (isset($_smarty_tpl->tpl_vars['prototype_calendar_include']->value) && $_smarty_tpl->tpl_vars['prototype_calendar_include']->value) {
  39. $_smarty_tpl->_subTemplateRender("file:header_prototype_calendar_include.tpl"$_smarty_tpl->cache_id$_smarty_tpl->compile_id0$_smarty_tpl->cache_lifetime, array(), 0false);
  40. }
  41. if (isset($_smarty_tpl->tpl_vars['calendar_include']->value) && $_smarty_tpl->tpl_vars['calendar_include']->value) {
  42. $_smarty_tpl->_subTemplateRender("file:header_calendar_include.tpl"$_smarty_tpl->cache_id$_smarty_tpl->compile_id0$_smarty_tpl->cache_lifetime, array(), 0false);
  43. }
  44. if (isset($_smarty_tpl->tpl_vars['prototype_include']->value) && $_smarty_tpl->tpl_vars['prototype_include']->value) {
  45. $_smarty_tpl->_subTemplateRender("file:header_prototype_include.tpl"$_smarty_tpl->cache_id$_smarty_tpl->compile_id0$_smarty_tpl->cache_lifetime, array(), 0false);
  46. }
  47. if (isset($_smarty_tpl->tpl_vars['jquery_include']->value) && $_smarty_tpl->tpl_vars['jquery_include']->value) {
  48. $_smarty_tpl->_subTemplateRender("file:header_jquery_include.tpl"$_smarty_tpl->cache_id$_smarty_tpl->compile_id0$_smarty_tpl->cache_lifetime, array(), 0false);
  49. }
  50. if (isset($_smarty_tpl->tpl_vars['ckeditor']->value) && $_smarty_tpl->tpl_vars['ckeditor']->value) {
  51. echo '<script'?>
  52.  src="//cdn.ckeditor.com/4.6.2/standard-all/ckeditor.js"><?php echo '</script'?>
  53. ><?php }
  54. if (!$_smarty_tpl->tpl_vars['transparent_png']->value) {?><style>.shadow_left {background-image:    url(/images/box_bg_left.gif);}.shadow_right {background-image:    url(/images/box_bg_right.gif);}</style><?php }
  55. echo '<script'?>
  56.  language="JavaScript">function tmshow_empty() {} function tmhide_empty() {}<?php echo '</script'?>
  57. ><?php echo '<script'?>
  58.  language="javascript" type="text/javascript" src="/js/tmfunctions.js"><?php echo '</script'?>
  59. ><?php if (isset($_smarty_tpl->tpl_vars['head']->value)) {
  60. echo $_smarty_tpl->tpl_vars['head']->value;
  61. }
  62. if (isset($_smarty_tpl->tpl_vars['include_fckedit']->value) && $_smarty_tpl->tpl_vars['include_fckedit']->value) {
  63. echo '<script'?>
  64.  language="JavaScript" type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['Config']->value->web_root;?>
  65. fckeditor_2/fckeditor.js"><?php echo '</script'?>
  66. ><?php echo '<script'?>
  67.  language="JavaScript" type="text/javascript">window.onload = function() {<?php
  68. $_from $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl$_smarty_tpl->tpl_vars['fckedit_textareas']->value'js_obj'false'form_id');
  69. if ($_from !== null) {
  70. foreach ($_from as $_smarty_tpl->tpl_vars['form_id']->value => $_smarty_tpl->tpl_vars['js_obj']->value) {
  71. ?>var <?php echo $_smarty_tpl->tpl_vars['js_obj']->value;?>
  72.  = new FCKeditor( '<?php echo $_smarty_tpl->tpl_vars['form_id']->value;?>
  73. ' ) ;<?php echo $_smarty_tpl->tpl_vars['js_obj']->value;?>
  74. .Width = 530 ;<?php echo $_smarty_tpl->tpl_vars['js_obj']->value;?>
  75. .Height = 250 ;<?php if ($_smarty_tpl->tpl_vars['fck_toolbarset']->value == "extended_image") {
  76. echo $_smarty_tpl->tpl_vars['js_obj']->value;?>
  77. .ToolbarSet = 'extended_image' ;<?php } elseif ($_smarty_tpl->tpl_vars['fck_toolbarset']->value == "extended_noimage") {
  78. echo $_smarty_tpl->tpl_vars['js_obj']->value;?>
  79. .ToolbarSet = 'extended_noimage' ;<?php } else {
  80. echo $_smarty_tpl->tpl_vars['js_obj']->value;?>
  81. .ToolbarSet = 'basic' ;<?php }
  82. echo $_smarty_tpl->tpl_vars['js_obj']->value;?>
  83. .ReplaceTextarea() ;<?php
  84. }
  85. }
  86. $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl1);?>}<?php echo '</script'?>
  87. ><?php }
  88. if ((!isset($_smarty_tpl->tpl_vars['include_fckedit']->value) || !$_smarty_tpl->tpl_vars['include_fckedit']->value) && (!isset($_smarty_tpl->tpl_vars['notShowTextarea']->value) || !$_smarty_tpl->tpl_vars['notShowTextarea']->value) && (!isset($_smarty_tpl->tpl_vars['ckeditor']->value) || !$_smarty_tpl->tpl_vars['ckeditor']->value)) {
  89. echo '<script'?>
  90.  language="JavaScript" type="text/javascript" src="/js/growTextArea.js?v=20170511"><?php echo '</script'?>
  91. >    <?php }
  92. if (isset($_smarty_tpl->tpl_vars['drag_include']->value) && $_smarty_tpl->tpl_vars['drag_include']->value) {
  93. $_smarty_tpl->_subTemplateRender("file:header_drag_include.tpl"$_smarty_tpl->cache_id$_smarty_tpl->compile_id0$_smarty_tpl->cache_lifetime, array(), 0false);
  94. }?></head><body <?php if (!$_smarty_tpl->tpl_vars['company_background']->value) {?>background="/images/bg_tile.gif"<?php } else { ?>bgcolor="<?php echo $_smarty_tpl->tpl_vars['company_background']->value;?>
  95. "<?php }?> <?php echo $_smarty_tpl->tpl_vars['body_js_script']->value;?>
  96. ><div align="center" id="MainWin"><table role="presentation" border="0" cellpadding="0" cellspacing="0" width="760" height="100%"><tr><td class="shadow_left" height="100%"><?php echo smarty_function_html_image(array('file'=>"/images/spacer.gif",'alt'=>''),$_smarty_tpl);?>
  97. </td><td height="100%" valign="top"><table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" height="85" style="background:url('<?php echo (($tmp = @$_smarty_tpl->tpl_vars['company_header_image']->value)===null||$tmp==='' 'images/header.gif' $tmp);?>
  98. ') no-repeat;"><tr><td width="185" height="85" align="center" valign="middle"><table role="presentation" border="0" cellpadding="0" cellspacing="0" width="185" height="85"><tr><td width=185 align="center" valign="middle"><?php if (($_smarty_tpl->tpl_vars['header_link']->value || $_smarty_tpl->tpl_vars['header_button']->value) && $_smarty_tpl->tpl_vars['header_button_position']->value == "left") {
  99. if ($_smarty_tpl->tpl_vars['header_link']->value) {?><a href="<?php echo $_smarty_tpl->tpl_vars['header_link']->value;?>
  100. " target="_blank" title="Header Button"><?php }
  101. if ($_smarty_tpl->tpl_vars['header_button']->value) {?><img src="<?php echo $_smarty_tpl->tpl_vars['header_button']->value;?>
  102. " border=0 <?php echo $_smarty_tpl->tpl_vars['header_button_size']->value;?>
  103. ><?php } else { ?><img src="/images/spacer.gif" alt="" border=0 width=150 height=30><?php }
  104. if ($_smarty_tpl->tpl_vars['header_link']->value) {?></a><?php }
  105. }?></td></tr></table></td><td width=1><img src="/images/spacer.gif" alt="" border=0 width=1 height=1></td><td valign="top" width="100%" height=85><table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" height="85"><tr><td height="2"><img src="/images/spacer.gif" alt="" border=0 width=1 height=1></td></tr><tr><td width="100%" class="company_name" height="64" valign="top"><?php if (!$_smarty_tpl->tpl_vars['company_name_hide']->value) {
  106. echo (($tmp = @$_smarty_tpl->tpl_vars['company_name']->value)===null||$tmp==='' "&nbsp;" $tmp);
  107. }
  108. if (($_smarty_tpl->tpl_vars['header_link']->value || $_smarty_tpl->tpl_vars['header_button']->value) && $_smarty_tpl->tpl_vars['header_button_position']->value == "center") {?><div align="center"><?php if ($_smarty_tpl->tpl_vars['header_link']->value) {?><a href="<?php echo $_smarty_tpl->tpl_vars['header_link']->value;?>
  109. " target="_blank" title="Header Button"><?php }
  110. if ($_smarty_tpl->tpl_vars['header_button']->value) {?><img src="<?php echo $_smarty_tpl->tpl_vars['header_button']->value;?>
  111. " border=0 <?php echo $_smarty_tpl->tpl_vars['header_button_size']->value;?>
  112. ><?php } else { ?><img src="/images/spacer.gif" alt="" border=0 width=150 height=25><?php }
  113. if ($_smarty_tpl->tpl_vars['header_link']->value) {?></a><?php }?><img src="images/spacer.gif" alt="" border=0 width=185 height=10></div><?php }
  114. if (($_smarty_tpl->tpl_vars['header_link']->value || $_smarty_tpl->tpl_vars['header_button']->value) && $_smarty_tpl->tpl_vars['header_button_position']->value == "right") {?><div align="right"><?php if ($_smarty_tpl->tpl_vars['header_link']->value) {?><a href="<?php echo $_smarty_tpl->tpl_vars['header_link']->value;?>
  115. " target="_blank" title="Header Button"><?php }
  116. if ($_smarty_tpl->tpl_vars['header_button']->value) {?><img src="<?php echo $_smarty_tpl->tpl_vars['header_button']->value;?>
  117. " border=0 <?php echo $_smarty_tpl->tpl_vars['header_button_size']->value;?>
  118. ><?php } else { ?><img src="/images/spacer.gif" alt="" border=0 width=150 height=25><?php }
  119. if ($_smarty_tpl->tpl_vars['header_link']->value) {?></a><?php }
  120. }?></td></tr><tr><td class="status_bar" width="100%" height="19" align="left" valign="middle"><table role="presentation" border=0 cellspacing=0 cellpadding=0 width="100%" height="19"><tr><td align="left" valign="bottom"><?php if (!$_smarty_tpl->tpl_vars['guest_user']->value) {
  121. echo $_smarty_tpl->tpl_vars['jump_selection_form']->value;
  122. echo $_smarty_tpl->tpl_vars['universal_jump']->value;
  123. }?></td><td width="1%" align="right" valign="bottom">&nbsp;</td><td class="status_bar" align="right" valign="bottom"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['status_bar']->value)===null||$tmp==='' "&nbsp;" $tmp);?>
  124. &nbsp;&nbsp;&nbsp;</td></tr></table></td></tr><tr><td class="status_bar" width="100%" height="2" align="left" valign="middle"><img src="/images/spacer.gif" alt="" border=0 width=1 height=1></td></tr></table></td></tr>            </table>            <table role="presentation" class="page" border="0" cellpadding="0" cellspacing="0" width="100%" height="85%"><tr><td class="content" valign="top"><?php }
  125. }