HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/dowork.biz/public_html/compile/%%14^144^144FDF73%%category.tpl.php
<?php /* Smarty version 2.6.16, created on 2020-10-21 18:26:00
         compiled from /home/httpd/html/dowork.biz/public_html/activecollab/application/modules/pages/views/pages/category.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'title', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/pages/views/pages/category.tpl', 1, false),array('block', 'add_bread_crumb', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/pages/views/pages/category.tpl', 2, false),array('block', 'lang', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/pages/views/pages/category.tpl', 9, false),array('function', 'pages_tree', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/pages/views/pages/category.tpl', 7, false),array('function', 'empty_slate', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/pages/views/pages/category.tpl', 10, false),array('function', 'assemble', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/pages/views/pages/category.tpl', 18, false),array('modifier', 'clean', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/pages/views/pages/category.tpl', 18, false),)), $this); ?>
<?php $this->_tag_stack[] = array('title', array('not_lang' => true)); $_block_repeat=true;smarty_block_title($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start();  echo $this->_tpl_vars['active_category']->getName();  $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_title($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack);  $this->_tag_stack[] = array('add_bread_crumb', array()); $_block_repeat=true;smarty_block_add_bread_crumb($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Category Pages<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_add_bread_crumb($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>

<div id="category_pages" class="list_view">
  <div class="object_list">
  <?php if (is_foreachable ( $this->_tpl_vars['pages'] )): ?>
    <?php echo smarty_function_pages_tree(array('pages' => $this->_tpl_vars['pages'],'user' => $this->_tpl_vars['logged_user']), $this);?>

  <?php else: ?>
    <p class="empty_page"><?php $this->_tag_stack[] = array('lang', array()); $_block_repeat=true;smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>There are no pages in this category<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>. <?php if ($this->_tpl_vars['add_page_url']): ?><a href="<?php echo $this->_tpl_vars['add_page_url']; ?>
"><?php $this->_tag_stack[] = array('lang', array()); $_block_repeat=true;smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Create a new page now<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></a>?<?php endif; ?></p>
    <?php echo smarty_function_empty_slate(array('name' => 'pages','module' => 'pages'), $this);?>

  <?php endif; ?>
  </div>
  
  <ul class="category_list">
    <li <?php if ($this->_tpl_vars['active_category']->isNew()): ?>class="selected"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['pages_url']; ?>
"><span><?php $this->_tag_stack[] = array('lang', array()); $_block_repeat=true;smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Recently Updated<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></span></a></li>
  <?php if (is_foreachable ( $this->_tpl_vars['categories'] )): ?>
    <?php $_from = $this->_tpl_vars['categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['category']):
?>
    <li category_id="<?php echo $this->_tpl_vars['category']->getId(); ?>
" <?php if ($this->_tpl_vars['active_category']->isLoaded() && $this->_tpl_vars['active_category']->getId() == $this->_tpl_vars['category']->getId()): ?>class="selected"<?php endif; ?>><a href="<?php echo smarty_function_assemble(array('route' => 'project_pages','project_id' => $this->_tpl_vars['active_project']->getId(),'category_id' => $this->_tpl_vars['category']->getId()), $this);?>
"><span><?php echo ((is_array($_tmp=$this->_tpl_vars['category']->getName())) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)); ?>
</span></a></li>
    <?php endforeach; endif; unset($_from); ?>
  <?php endif; ?>
    <li id="manage_categories"><a href="<?php echo $this->_tpl_vars['categories_url']; ?>
"><span><?php $this->_tag_stack[] = array('lang', array()); $_block_repeat=true;smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Manage Categories<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></span></a></li>
  </ul>
  <script type="text/javascript">
    App.resources.ManageCategories.init('manage_categories');
  </script>
  
  <div class="clear"></div>
</div>