public function display() { $this->main(); $body = $this->output(); $vars = array_merge(array('body' => $body, 'css' => $this->css, 'js' => $this->js, 'googlefont' => $this->googlefont, 'meta' => $this->meta), $this->vars); echo Lib::output('common/html', $vars); }
public function display() { $this->main(); $body = $this->output(); $vars = array_merge(array('body' => $body, 'viewname' => $this->viewname, 'pagetitle' => $this->pagetitle, 'metakeywords' => $this->metakeywords, 'metadescription' => $this->metadescription, 'canonical' => $this->canonical, 'css' => $this->css, 'js' => $this->js), $this->vars); echo Lib::output('common/dom', $vars); }
<a href="javascript:void(0);" class="item-comments-link icon-feather-speech-bubble">Comments <span class="item-comments-counter"><?php echo $report->totalcomments; ?> </span> <i class="icon-right-dir"></i></a> </div> <div class="item-comments-wrapper"> <div class="item-comments-content"> <ul class="comment-item-list"> <?php if (!empty($commentsLoaded)) { ?> <?php foreach ($report->comments as $comment) { ?> <?php echo Lib::output('embed/comment-item', array('comment' => $comment, 'user' => $user)); ?> <?php } ?> <?php } else { ?> <li class="comment-loading"> <div class="icon-loader"> <span class="icon-loader-clock"></span> <span class="icon-loader-hour"></span> <span class="icon-loader-minute"></span> </div> </li> <?php
<?php !defined('SERVER_EXEC') && die('No access.'); if ($isLoggedIn) { ?> <div id="report-frame" data-tab="inbox"> <div id="report-tab-navs"> <a href="javascript:void(0);" class="report-tab-nav" data-name="inbox"><i class="icon-feather-archive"></i><p>Inbox</p></a> <a href="javascript:void(0);" class="report-tab-nav" data-name="settings"><i class="icon-feather-cog"></i><p>Settings</p></a> </div> <div id="report-tab-contents"> <div class="report-tab-content" data-name="inbox"> <?php echo Lib::output('embed/inbox', array('projects' => $projects, 'filterState' => $filterState, 'filterAssignee' => $filterAssignee, 'filterSort' => $filterSort, 'filterProject' => $filterProject, 'reports' => $reports, 'assignees' => $assignees, 'showProjectsFilter' => true, 'user' => $user)); ?> </div> <div class="report-tab-content" data-name="settings"> <?php echo Lib::output('embed/settings', array('projects' => $projects, 'filterSettingsProject' => $filterSettingsProject, 'userSettings' => $userSettings, 'showProjectsFilter' => true, 'user' => $user, 'assignees' => $assignees, 'users' => $users, 'categories' => $categories)); ?> </div> </div> </div> <?php echo Lib::output('embed/screenshot-preview'); } else { echo Lib::output('embed/before-login'); }
} ?> <?php if (Config::env() === 'development') { ?> <script type="text/javascript" src="assets/js/coffee-script.js"></script> <?php } ?> <title><?php echo !empty($pagetitle) ? $pagetitle : Config::getPageTitle(); ?> </title> </head> <body> <?php echo Lib::output('common/menu', array('viewname' => $viewname, 'slug' => !empty($slug) ? $slug : '')); if (empty($hideHeader)) { echo Lib::output('common/header', array('pagetitle' => !empty($pagetitle) ? $pagetitle : Config::getPageTitle(), 'pagesubtitle' => !empty($pagedate) ? $pagedate : 'jsonobject.io')); } ?> <div class="wrapper"> <?php echo $body; ?> </div> </body> </html>