mirror of
https://github.com/jimeh/zynapse.git
synced 2026-02-19 07:06:39 +00:00
Initial import of old legacy Zynapse Framework,
untouched since early 2008.
This commit is contained in:
31
app/views/__layouts/application.phtml
Normal file
31
app/views/__layouts/application.phtml
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo App::$strings['_ZNAP_LANG']; ?>" lang="<?php echo App::$strings['_ZNAP_LANG']; ?>">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo App::$strings['_ZNAP_ENCODING']; ?>"/>
|
||||
|
||||
<title>application</title>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<?php render_partial('navpane'); ?>
|
||||
|
||||
<?php if(Session::isset_flash('error')): ?>
|
||||
<div style="color: red;"><?php echo Session::flash('error') ?></div>
|
||||
<?php elseif(Session::isset_flash('notice')): ?>
|
||||
<div style="color: green;"><?php echo Session::flash('notice') ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $content_for_layout; ?>
|
||||
|
||||
<?php if (Timer::$started): ?>
|
||||
<div id="timer">
|
||||
<?php echo Timer::end(5);?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user