Customisations to KH

This commit is contained in:
Deon George
2012-01-19 22:40:53 +11:00
parent a8f534b463
commit 181cc4ca20
108 changed files with 3414 additions and 43 deletions

View File

@@ -0,0 +1,93 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- Default Template Layout for lnApp -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="auto" lang="auto">
<head>
<title><?php echo $meta->title; ?></title>
<link rel="shortcut icon" href="<?php echo $meta->shortcut_icon ? $meta->shortcut_icon : '/favicon.ico' ?>" type="image/vnd.microsoft.icon" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="<?php echo $meta->language; ?>" />
<meta name="keywords" content="<?php echo $meta->keywords; ?>" />
<meta name="description" content="<?php echo $meta->description; ?>" />
<meta name="copyright" content="<?php echo Config::copywrite(); ?>" />
<?php echo Style::factory(); ?>
<?php echo Script::factory(); ?>
</head>
<body>
<table class="page">
<tr class="pagehead">
<td colspan="3">
<div id="ajHEAD">
<table class="pagehead">
<tr>
<td class="headlogo">
<?php echo HTML::anchor('',Config::logo(),array('class'=>'headlogo')); ?>
</td>
<td class="headtitle"><?php echo $title; ?></td>
<td class="headimages"><?php echo $headimages; ?></td>
</tr>
</table>
</div>
</td>
</tr>
<tr class="pagecontrol">
<td colspan="3">
<div id="ajCONTROL">
<?php echo BreadCrumb::factory(); ?>
</div>
</td>
</tr>
<tr class="pagemain">
<!-- Left Pane -->
<td class="pageleft" <?php echo $left ? '' : 'style="display: none;"'?>>
<div id="ajLEFT">
<table class="pageleft" width="100%">
<tr>
<td><?php echo $left; ?></td>
</tr>
</table>
</div>
</td>
<!-- Main Body Pane -->
<td class="pagebody">
<div id="ajBODY">
<?php if ((string)$sysmsg) {?>
<table class="sysmsg">
<tr>
<td><?php echo $sysmsg; ?></td>
</tr>
</table>
<?php }?>
<table class="content">
<tr>
<td><?php echo $content; ?></td>
</tr>
</table>
</div>
</td>
<!-- Right Pane -->
<td class="pageright" <?php echo trim($right) ? '' : 'style="display: none;"'?>>
<div id="ajRIGHT">
<table class="pageright" width="100%">
<tr>
<td><?php echo $right; ?></td>
</tr>
</table>
</div>
</td>
</tr>
<tr class="pagefoot">
<td colspan="3">
<div id="ajFOOT"><?php echo $footer; ?></div>
<?php if (Config::sitemode() == Kohana::DEVELOPMENT) { ?>
<div id="kohana-profiler" style="display: none;"><?php echo View::factory('profiler/stats'); ?></div>
<script type="text/javascript">$("#ajFOOT").click(function() {$('#kohana-profiler').toggle();});</script>
<?php }?>
<?php if (Config::sitemode() >= Kohana::STAGING) { ?>
<div id="kohana-session" style="display: none; text-align: left;"><?php echo debug::vars(Session::instance()); ?></div>
<script type="text/javascript">$("#ajFOOT").click(function() {$('#kohana-session').toggle();});</script>
<?php }?>
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,8 @@
<tr>
<td><?php echo Form::checkbox('id[]',$td['id']['value']); ?></td>
<?php foreach ($td as $col => $details) { ?>
<td>
<?php echo $details['url'] ? sprintf(HTML::anchor($details['url'].$details['value'],$details['value'])) : $details['value']; ?>
</td>
<?php } ?>
</tr>

View File

@@ -0,0 +1,11 @@
</table>
<footer>
<div class="control-group">
<div class="controls">
<?php echo $button; ?>
<button type="submit" name="Submit" class="form_button" id="all_on">Select All</button>
<button type="submit" name="Submit" class="form_button" id="all_off">Deselect All</button>
<button type="submit" name="Submit" class="form_button" id="toggle">Toggle Select</button>
</div>
</div>
</footer>

View File

@@ -0,0 +1,2 @@
<table class="table table-striped table-condensed" id="select-table">
<tr><th>&nbsp;</th><th><?php echo implode('</th><th>',$th); ?></th></tr>

View File

@@ -0,0 +1 @@
<tr><td>Other</td><td colspan="<?php echo count($td)-1; ?>"><?php printf('(%s) %s',$count,$other); ?></td></tr>