File: /home/httpd/html/dowork.biz/public_html/compile/%%AD^AD2^AD2AED27%%view.tpl.php
<?php /* Smarty version 2.6.16, created on 2020-08-07 14:33:57
compiled from /home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'page_object', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 1, false),array('function', 'object_quick_options', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 4, false),array('function', 'action_on_by', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 12, false),array('function', 'category_link', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 19, false),array('function', 'milestone_link', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 24, false),array('function', 'object_tags', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 28, false),array('function', 'object_subscriptions', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 47, false),array('function', 'file_revisions', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 48, false),array('function', 'object_comments', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 58, false),array('block', 'add_bread_crumb', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 2, false),array('block', 'lang', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 8, false),array('block', 'pagination', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 53, false),array('modifier', 'clean', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 9, false),array('modifier', 'filesize', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/files/views/files/view.tpl', 15, false),)), $this); ?>
<?php echo smarty_function_page_object(array('object' => $this->_tpl_vars['active_file']), $this);?>
<?php $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(); ?>Details<?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); ?>
<?php echo smarty_function_object_quick_options(array('object' => $this->_tpl_vars['active_file'],'user' => $this->_tpl_vars['logged_user']), $this);?>
<div class="file main_object" id="file<?php echo $this->_tpl_vars['active_file']->getId(); ?>
">
<div class="body">
<dl class="properties">
<dt><?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(); ?>File Name<?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); ?></dt>
<dd><a href="<?php echo $this->_tpl_vars['last_revision']->getViewUrl(); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['active_file']->getName())) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)); ?>
</a></dd>
<dt><?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(); ?>Version<?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); ?></dt>
<dd>#<?php echo $this->_tpl_vars['active_file']->getRevision(); ?>
— <?php echo smarty_function_action_on_by(array('user' => $this->_tpl_vars['last_revision']->getCreatedBy(),'datetime' => $this->_tpl_vars['last_revision']->getCreatedOn(),'action' => 'Uploaded'), $this);?>
</dd>
<dt><?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(); ?>Size and Type<?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); ?></dt>
<dd><?php echo ((is_array($_tmp=$this->_tpl_vars['last_revision']->getSize())) ? $this->_run_mod_handler('filesize', true, $_tmp) : smarty_modifier_filesize($_tmp)); ?>
(<?php echo ((is_array($_tmp=$this->_tpl_vars['last_revision']->getMimeType())) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)); ?>
)</dd>
<?php if ($this->_tpl_vars['active_file']->getParentId()): ?>
<dt><?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(); ?>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); ?></dt>
<dd><?php echo smarty_function_category_link(array('object' => $this->_tpl_vars['active_file']), $this);?>
</dd>
<?php endif; ?>
<?php if ($this->_tpl_vars['logged_user']->canSeeMilestones($this->_tpl_vars['active_project']) && $this->_tpl_vars['active_file']->getMilestoneId()): ?>
<dt><?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(); ?>Milestone<?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); ?></dt>
<dd><?php echo smarty_function_milestone_link(array('object' => $this->_tpl_vars['active_file']), $this);?>
</dd>
<?php endif; ?>
<?php if ($this->_tpl_vars['active_file']->hasTags()): ?>
<dt><?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(); ?>Tags<?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); ?></dt>
<dd><?php echo smarty_function_object_tags(array('object' => $this->_tpl_vars['active_file']), $this);?>
</dd>
<?php endif; ?>
</dl>
<?php if ($this->_tpl_vars['last_revision']->hasPreview()): ?>
<div class="body file_preview">
<p><a href="<?php echo $this->_tpl_vars['last_revision']->getViewUrl(); ?>
"><img src="<?php echo $this->_tpl_vars['last_revision']->getPreviewUrl(); ?>
" alt="" /></a></p>
<p class="details"><?php $this->_tag_stack[] = array('lang', array('url' => $this->_tpl_vars['last_revision']->getViewUrl())); $_block_repeat=true;smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Image preview. <a href=":url">Click to download</a> full size image<?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); ?></p>
</div>
<?php endif; ?>
<?php if ($this->_tpl_vars['active_file']->getBody()): ?>
<div class="body content"><?php echo $this->_tpl_vars['active_file']->getFormattedBody(); ?>
</div>
<?php else: ?>
<div class="body content details"><?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(); ?>Description for this file is not provided<?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); ?></div>
<?php endif; ?>
</div>
<div class="resources">
<?php echo smarty_function_object_subscriptions(array('object' => $this->_tpl_vars['active_file']), $this);?>
<?php echo smarty_function_file_revisions(array('file' => $this->_tpl_vars['active_file']), $this);?>
<div class="resource object_comments" id="comments">
<div class="body">
<?php if ($this->_tpl_vars['pagination']->getLastPage() > 1): ?>
<p class="pagination top"><span class="inner_pagination"><?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(); ?>Page<?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 $this->_tag_stack[] = array('pagination', array('pager' => $this->_tpl_vars['pagination'])); $_block_repeat=true;smarty_block_pagination($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); echo $this->_tpl_vars['active_file']->getViewUrl('-PAGE-'); $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_pagination($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></span></p>
<div class="clear"></div>
<?php endif; ?>
<?php if ($this->_tpl_vars['pagination']->getLastPage() > $this->_tpl_vars['pagination']->getCurrentPage()): ?>
<?php echo smarty_function_object_comments(array('object' => $this->_tpl_vars['active_file'],'comments' => $this->_tpl_vars['comments'],'show_header' => false,'count_from' => $this->_tpl_vars['count_start'],'next_page' => $this->_tpl_vars['active_file']->getViewUrl($this->_tpl_vars['pagination']->getNextPage())), $this);?>
<?php else: ?>
<?php echo smarty_function_object_comments(array('object' => $this->_tpl_vars['active_file'],'comments' => $this->_tpl_vars['comments'],'show_header' => false,'count_from' => $this->_tpl_vars['count_start']), $this);?>
<?php endif; ?>
</div>
</div>
</div>
</div>