(MT #1654) followup : Adding jquery.tablesorter and jquery.tablesorter.pager support for categorie.pl
This commit is contained in:
parent
64521709d1
commit
fcd2a2de3d
|
|
@ -4,6 +4,14 @@
|
|||
<!-- TMPL_IF NAME="delete_confirm" --><!-- TMPL_IF NAME="totalgtzero" -->Cannot Delete: Category <!-- TMPL_VAR NAME="categorycode" escape="html" --> in Use<!-- TMPL_ELSE -->Confirm Deletion of Category '<!-- TMPL_VAR NAME="categorycode" escape="html" -->'<!-- /TMPL_IF --><!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF NAME="delete_confirmed" -->Category Deleted<!-- /TMPL_IF --></title>
|
||||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.pager.js"></script>
|
||||
<script type="text/javascript" id="js">$(document).ready(function() {
|
||||
$("#table_categorie").tablesorter({
|
||||
sortList: [[0,0]],
|
||||
headers: { 10: { sorter: false}}
|
||||
}).tablesorterPager({container: $("#pagertable_categorie"),positionFixed: false,size: 20});
|
||||
}); </script>
|
||||
<!-- TMPL_INCLUDE NAME="calendar.inc" -->
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
|
|
@ -242,9 +250,26 @@ Confirm Deletion of Category <!-- TMPL_VAR NAME="categorycode" escape="html" -->
|
|||
<!-- TMPL_IF NAME="searchfield" -->
|
||||
You Searched for <!-- TMPL_VAR NAME="searchfield" --></span>
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<span id="pagertable_categorie" class="pager">
|
||||
<form class="formpager"> <strong>page(s)</strong> :
|
||||
<img src="<!-- TMPL_VAR name="interface" -->/prog/img/first.png" class="first"/>
|
||||
<img src="<!-- TMPL_VAR name="interface" -->/prog/img/prev.png" class="prev"/>
|
||||
<input type="text" size="5" class="pagedisplay"/>
|
||||
<img src="<!-- TMPL_VAR name="interface" -->/prog/img/next.png" class="next"/>
|
||||
<img src="<!-- TMPL_VAR name="interface" -->/prog/img/last.png" class="last"/>
|
||||
, entries/page :
|
||||
<select class="pagesize">
|
||||
<option value="10">10</option>
|
||||
<option selected="selected" value="20">20</option>
|
||||
<option value="30">30</option>
|
||||
<option value="40">40</option>
|
||||
<option value="50">50</option>
|
||||
<option value="100">100</option>
|
||||
</select>
|
||||
</form>
|
||||
</span>
|
||||
<table id="table_categorie">
|
||||
<thead>
|
||||
<th scope="col">Code</th>
|
||||
<th scope="col">Category name</th>
|
||||
<th scope="col">Type</th>
|
||||
|
|
@ -258,7 +283,7 @@ Confirm Deletion of Category <!-- TMPL_VAR NAME="categorycode" escape="html" -->
|
|||
<th scope="col">Messaging</th>
|
||||
<!-- /TMPL_IF -->
|
||||
<th scope="col" colspan="2"> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<!-- TMPL_LOOP NAME="loop" -->
|
||||
<!-- TMPL_UNLESS NAME="__odd__" -->
|
||||
<tr class="highlight">
|
||||
|
|
|
|||
Loading…
Reference in New Issue