Customisations to KH
This commit is contained in:
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