Initial commit
This commit is contained in:
62
site/layout/admin_layout.php
Normal file
62
site/layout/admin_layout.php
Normal file
@@ -0,0 +1,62 @@
|
||||
|
||||
<div id='main'>
|
||||
|
||||
<?php if($this->display['header']): ?>
|
||||
<!--BEGIN HEADER-->
|
||||
<div id='header'>
|
||||
<?php include $this->header; ?>
|
||||
</div>
|
||||
<!--END HEADER-->
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if($this->display['menu']): ?>
|
||||
<p>
|
||||
« <a href='/' title='FTI home page'>Go to home page</a>
|
||||
| <a href='login.php?logout=1' title='Logout'>Logout</a>
|
||||
</p>
|
||||
<!--BEGIN MENU-->
|
||||
<div id='menu'>
|
||||
<?php include $this->menu; ?>
|
||||
</div>
|
||||
<!--END MENU-->
|
||||
<?php endif; ?>
|
||||
|
||||
<!--BEGIN_ERRORS-->
|
||||
<?php if(!empty($this->errors)): ?>
|
||||
<div id='errors'>
|
||||
<ul>
|
||||
<?php foreach($this->errors as $err): ?>
|
||||
<li><?php echo $err ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<!--END_ERRORS-->
|
||||
|
||||
<!--BEGIN_MESSAGES-->
|
||||
<?php if(!empty($this->messages)): ?>
|
||||
<div id='messages'>
|
||||
<ul>
|
||||
<?php foreach($this->messages as $msg): ?>
|
||||
<li><?php echo $msg ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<!--END_MESSAGES-->
|
||||
|
||||
<div id='content'>
|
||||
<!--BEGIN_CONTENT-->
|
||||
<?php include $this->content; ?>
|
||||
<!--END_CONTENT-->
|
||||
</div>
|
||||
|
||||
<?php if($this->display['footer']): ?>
|
||||
<!--BEGIN FOOTER-->
|
||||
<div id='footer'>
|
||||
<?php include $this->footer; ?>
|
||||
</div>
|
||||
<!--END FOOTER-->
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user