Dynamic sorting for theme Sparkle

This commit is contained in:
BNoiZe
2013-10-05 18:15:31 +02:00
parent 939c1950ea
commit 08e9f3ebd0
27 changed files with 291 additions and 89 deletions

View File

@@ -16,13 +16,13 @@
</div>
</if>
<table class="bradius">
<table class="bradius" <if 0 < $count>id="sortable"</if>>
<thead>
<tr>
<th>{$lng['emails']['emailaddress']}</th>
<th>{$lng['autoresponder']['active']}</th>
<th>{$lng['autoresponder']['startenddate']}</th>
<th>{$lng['panel']['options']}</th>
<th class="nosort">{$lng['panel']['options']}</th>
</tr>
</thead>

View File

@@ -25,8 +25,8 @@
<table class="bradius">
<thead>
<tr>
<th>{$lng['domains']['domainname']}&nbsp;&nbsp;{$arrowcode['d.domain']}</th>
<th>{$lng['panel']['path']}&nbsp;&nbsp;{$arrowcode['d.documentroot']}
<th>{$arrowcode['d.domain']}{$lng['domains']['domainname']}</th>
<th>{$arrowcode['d.documentroot']}{$lng['panel']['path']}</th>
<th>{$lng['panel']['options']}</th>
</tr>
</thead>

View File

@@ -25,8 +25,8 @@
<table class="bradius">
<thead>
<tr>
<th>{$lng['emails']['emailaddress']}&nbsp;{$arrowcode['m.email_full']}</th>
<th>{$lng['emails']['forwarders']}&nbsp;{$arrowcode['m.destination']}</th>
<th>{$arrowcode['m.email_full']}{$lng['emails']['emailaddress']}</th>
<th>{$arrowcode['m.destination']}{$lng['emails']['forwarders']}</th>
<th>{$lng['emails']['account']}</th>
<if $settings['catchall']['catchall_enabled'] == '1'><th>{$lng['emails']['catchall']}</th></if>
<if $settings['system']['mail_quota_enabled'] == '1'>

View File

@@ -22,18 +22,18 @@
</div>
</if>
<table class="bradius">
<table class="bradius" <if 0 < $count>id="sortable"</if>>
<thead>
<tr>
<th>{$lng['panel']['path']}&nbsp;{$arrowcode['path']}</th>
<th>{$lng['extras']['view_directory']}&nbsp;{$arrowcode['options_indexes']}</th>
<th>{$lng['extras']['error404path']}&nbsp;{$arrowcode['error404path']}</th>
<th>{$lng['extras']['error403path']}&nbsp;{$arrowcode['error403path']}</th>
<th>{$lng['extras']['error500path']}&nbsp;{$arrowcode['error500path']}</th>
<th>{$lng['panel']['path']}</th>
<th>{$lng['extras']['view_directory']}</th>
<th>{$lng['extras']['error404path']}</th>
<th>{$lng['extras']['error403path']}</th>
<th>{$lng['extras']['error500path']}</th>
<if $cperlenabled == 1 >
<th>{$lng['extras']['execute_perl']}&nbsp;{$arrowcode['options_cgi']}</th>
<th>{$lng['extras']['execute_perl']}</th>
</if>
<th>{$lng['panel']['options']}</th>
<th class="nosort">{$lng['panel']['options']}</th>
</tr>
</thead>
<if $pagingcode != ''>

View File

@@ -22,12 +22,12 @@
</div>
</if>
<table class="bradius">
<table class="bradius" id="sortable">
<thead>
<tr>
<th>{$lng['login']['username']}&nbsp;{$arrowcode['username']}</th>
<th>{$lng['panel']['path']}&nbsp;{$arrowcode['path']}</th>
<th>{$lng['panel']['options']}</th>
<th>{$lng['login']['username']}</th>
<th>{$lng['panel']['path']}</th>
<th class="nosort">{$lng['panel']['options']}</th>
</tr>
</thead>
<if $pagingcode != ''>

View File

@@ -22,12 +22,12 @@
</div>
</if>
<table class="bradius">
<table class="bradius" <if 0 < $ftps_count>id="sortable"</if>>
<thead>
<tr>
<th>{$lng['login']['username']}&nbsp;&nbsp;{$arrowcode['username']}</th>
<th>{$lng['panel']['path']}&nbsp;&nbsp;{$arrowcode['homedir']}</th>
<th>{$lng['panel']['options']}</th>
<th>{$lng['login']['username']}</th>
<th>{$lng['panel']['path']}</th>
<th class="nosort">{$lng['panel']['options']}</th>
</tr>
</thead>
<if $pagingcode != ''>

View File

@@ -22,14 +22,14 @@
</div>
</if>
<table class="bradius">
<table class="bradius" <if 0 < $mysqls_count>id="sortable"</if>>
<thead>
<tr>
<th>{$lng['mysql']['databasename']}&nbsp;{$arrowcode['databasename']}</th>
<th>{$lng['mysql']['databasedescription']}&nbsp;{$arrowcode['description']}</th>
<th>{$lng['mysql']['databasename']}</th>
<th>{$lng['mysql']['databasedescription']}</th>
<th>{$lng['mysql']['size']}</th>
<if 1 < count($sql_root)><th>{$lng['mysql']['mysql_server']}</th></if>
<th>{$lng['panel']['options']}</th>
<th class="nosort">{$lng['panel']['options']}</th>
</tr>
</thead>
<if $pagingcode != ''>

View File

@@ -35,16 +35,16 @@ $header
</div>
</if>
<table class="bradius">
<table class="bradius" <if 0 < $tickets_count>id="sortable"</if>>
<thead>
<tr>
<th>{$lng['ticket']['lastchange']}&nbsp;{$arrowcode['lastchange']}</th>
<th>{$lng['ticket']['ticket_answers']}&nbsp;{$arrowcode['ticket_answers']}</th>
<th>{$lng['ticket']['subject']}&nbsp;{$arrowcode['subject']}</th>
<th>{$lng['ticket']['status']}&nbsp;{$arrowcode['status']}</th>
<th>{$lng['ticket']['lastreplier']}&nbsp;{$arrowcode['lastreplier']}</th>
<th>{$lng['ticket']['priority']}&nbsp;{$arrowcode['priority']}</th>
<th>{$lng['panel']['options']}</th>
<th>{$lng['ticket']['lastchange']}</th>
<th>{$lng['ticket']['ticket_answers']}</th>
<th>{$lng['ticket']['subject']}</th>
<th>{$lng['ticket']['status']}</th>
<th>{$lng['ticket']['lastreplier']}</th>
<th>{$lng['ticket']['priority']}</th>
<th class="nosort">{$lng['panel']['options']}</th>
</tr>
</thead>
<if $pagingcode != ''>