File indexing completed on 2024-06-16 05:26:53

0001 <?php 
0002 /**
0003  *  ocs-webserver
0004  *
0005  *  Copyright 2016 by pling GmbH.
0006  *
0007  *    This file is part of ocs-webserver.
0008  *
0009  *    This program is free software: you can redistribute it and/or modify
0010  *    it under the terms of the GNU Affero General Public License as
0011  *    published by the Free Software Foundation, either version 3 of the
0012  *    License, or (at your option) any later version.
0013  *
0014  *    This program is distributed in the hope that it will be useful,
0015  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
0016  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0017  *    GNU Affero General Public License for more details.
0018  *
0019  *    You should have received a copy of the GNU Affero General Public License
0020  *    along with this program.  If not, see <http://www.gnu.org/licenses/>.
0021  **/
0022 ?>
0023 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
0024     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
0025 <html xmlns="http://www.w3.org/1999/xhtml">
0026 <head>
0027     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
0028     <title>ocs-webserver :: Backend</title>
0029     <script type="text/javascript" src="/js/libs/mootools-core.js"></script>
0030     <script type="text/javascript" src="/js/libs/mootools-more.js"></script>
0031     <script type="text/javascript" src="/js/libs/mootools-more-1.4.0.1.js"></script>
0032 </head>
0033 <body>
0034 <div id="parent">
0035 
0036     <?php $auth = Zend_Auth::getInstance(); ?>
0037 
0038     <?php if ($auth->hasIdentity()): ?>
0039 
0040         <div id="mainarea" class="ui-corner-all">
0041             <?php if ($this->pageTitle): ?><h3><?= $this->escape($this->pageTitle); ?></h3><?php endif; ?>
0042             <?php echo $this->layout()->content; ?>
0043         </div>
0044     <?php else: ?>
0045         <div id="loginArea" class="ui-corner-all">
0046             <?php echo $this->layout()->content; ?>
0047         </div>
0048     <?php endif; ?>
0049     <div id="footer" style="clear: both;" class=""><span>&copy;
0050             <?php echo $_SERVER['SERVER_NAME']?></span><span>|</span><span>Zend FW Version: <?php echo Zend_Version::VERSION; ?></span></div>
0051 </div>
0052 </body>
0053 </html>
0054