diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 000000000..d9fbd832e
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "submodules/tablesorter"]
+ path = submodules/tablesorter
+ url = git@github.com:christianbach/tablesorter.git
diff --git a/skin/vilesci.css b/skin/vilesci.css
index 322eddeac..847f9b113 100644
--- a/skin/vilesci.css
+++ b/skin/vilesci.css
@@ -598,3 +598,32 @@ option.inactive
{
text-decoration:line-through;
}
+
+html.reports, html.reports body {
+ height: 100%;
+}
+
+html.reports .icons strong {
+ font-size: 26px;
+ vertical-align: middle;
+}
+
+html.reports .icons img {
+ width: 48px;
+ vertical-align: middle;
+}
+
+#rp_main {
+ width: 100%;
+ border: 0;
+ height: 85%;
+}
+
+img.mini-icon {
+ width: 15px;
+ vertical-align: middle;
+}
+
+td.overview-id {
+ text-align: right;
+}
diff --git a/submodules/tablesorter b/submodules/tablesorter
new file mode 160000
index 000000000..b70ba2498
--- /dev/null
+++ b/submodules/tablesorter
@@ -0,0 +1 @@
+Subproject commit b70ba2498dd23d9d97605ff386cdd67ff6bd9140
diff --git a/vilesci/statistik/filter_overview.php b/vilesci/statistik/filter_overview.php
index 63a84c33a..5cc37de8a 100644
--- a/vilesci/statistik/filter_overview.php
+++ b/vilesci/statistik/filter_overview.php
@@ -22,8 +22,6 @@ require_once('../../include/functions.inc.php');
require_once('../../include/filter.class.php');
require_once('../../include/benutzerberechtigung.class.php');
-$nl="\n";
-
if (!$db = new basis_db())
die('Es konnte keine Verbindung zum Server aufgebaut werden.');
@@ -45,74 +43,113 @@ if(isset($_POST['action']) && $_POST['action']=='delete' && isset($_POST['filter
$filter = new filter();
if (!$filter->loadAll())
die($filter->errormsg);
-
-//$htmlstr = "
\n";
-$htmlstr = "\n";
-$htmlstr .= " \n";
-$htmlstr .= ' | ID |
- KurzBz |
- ValueName |
- Show Value |
- Type |
- HTMLAttributes |
- SQL |
- Action | ';
-
-$htmlstr .= "
\n";
-$i = 0;
-foreach ($filter->result as $filter)
-{
- //$htmlstr .= " \n";
- $htmlstr .= "
\n";
- $htmlstr .= " ".$filter->filter_id."
-
-
-
- | \n";
- $htmlstr .= " ".$filter->kurzbz." | \n";
- $htmlstr .= " ".$db->convert_html_chars($filter->valuename)." | \n";
- $htmlstr .= " ".($filter->showvalue?'Ja':'Nein')." | \n";
- $htmlstr .= " ".$db->convert_html_chars($filter->type)." | \n";
- $htmlstr .= " ".$db->convert_html_chars($filter->htmlattr)." | \n";
- $htmlstr .= " ".$db->convert_html_chars(substr($filter->sql,0,32))."... | \n";
- $htmlstr .= ' | ';
- $htmlstr .= "
\n";
- $i++;
-}
-$htmlstr .= "
\n";
-
-
?>
-
- Filter Übersicht
-
-
-
-
-
+
+
+
-
-
-Neuer Filter
-
-
+ function ConfirmDelete(filter_id)
+ {
+ if(confirm("Wollen Sie diesen Filter wirklich löschen?"))
+ {
+ document.forms['form_'+filter_id].submit();
+ }
+ }
+
+
+
+
+ Neuer Filter
+
+
+
+
+
+ |
+ ID
+ |
+
+ KurzBz
+ |
+
+ ValueName
+ |
+
+ Show Value
+ |
+
+ Type
+ |
+
+ HTMLAttributes
+ |
+
+ SQL
+ |
+
+ Action
+ |
+
+
+
+ result as $filter): ?>
+
+
+
+ filter_id ?>
+
+
+
+
+ |
+
+
+ kurzbz ?>
+
+ |
+
+ convert_html_chars($filter->valuename) ?>
+ |
+
+ showvalue ? 'Ja' : 'Nein' ?>
+ |
+
+ convert_html_chars($filter->type) ?>
+ |
+
+ convert_html_chars($filter->htmlattr) ?>
+ |
+
+ convert_html_chars(substr($filter->sql,0,32)) ?>...
+ |
+
+
+ |
+
+
+
+
+