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,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>