Customisations to KH
This commit is contained in:
93
modules/lnApp/views/lnapp/default.php
Normal file
93
modules/lnApp/views/lnapp/default.php
Normal 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>
|
8
modules/lnApp/views/table/select_body.php
Normal file
8
modules/lnApp/views/table/select_body.php
Normal 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>
|
11
modules/lnApp/views/table/select_foot.php
Normal file
11
modules/lnApp/views/table/select_foot.php
Normal 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>
|
2
modules/lnApp/views/table/select_head.php
Normal file
2
modules/lnApp/views/table/select_head.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<table class="table table-striped table-condensed" id="select-table">
|
||||
<tr><th> </th><th><?php echo implode('</th><th>',$th); ?></th></tr>
|
1
modules/lnApp/views/table/select_xtra.php
Normal file
1
modules/lnApp/views/table/select_xtra.php
Normal file
@@ -0,0 +1 @@
|
||||
<tr><td>Other</td><td colspan="<?php echo count($td)-1; ?>"><?php printf('(%s) %s',$count,$other); ?></td></tr>
|
Reference in New Issue
Block a user