summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/filter/index.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts/filter/index.phtml')
-rw-r--r--application/views/scripts/filter/index.phtml27
1 files changed, 10 insertions, 17 deletions
diff --git a/application/views/scripts/filter/index.phtml b/application/views/scripts/filter/index.phtml
index 5d70735..0de30a0 100644
--- a/application/views/scripts/filter/index.phtml
+++ b/application/views/scripts/filter/index.phtml
@@ -1,22 +1,10 @@
<h1>Filters</h1>
-
-<style>
-table{font-family:verdana;font-size:12px;}
-td{border:1px solid #CCC;}
-tr.filter{background-color:#DDD;}
-</style>
-<p><a href="<?php echo $this->url(
- array(
- 'controller' => 'filter',
- 'action' => 'addfilter'
- ),
- 'default',
- true) ?>">add new filter</a></p>
+<?php echo $this->formButton('createconfig', 'Add Filter', array(
+ 'onclick' => 'self.location="/filter/addfilter"',
+ 'class' => 'addbutton'))?>
<?php if ($this->filters): ?>
-
- <!-- A table of filters. -->
- <table border=1>
+ <table>
<tr>
<th>filterID</th>
<th>Title</th>
@@ -62,8 +50,13 @@ tr.filter{background-color:#DDD;}
$erg = $fe->findBy('filterID',$filter->getID());
?>
<table style='width:100%;'>
+ <tr>
+ <th>Filtertype</th>
+ <th>Value</th>
+ <th>Value2</th>
+ </tr>
<?php foreach ($erg as $filterentry): ?>
-
+
<tr>
<td><?php