summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authorSimon2011-03-02 16:18:07 +0100
committerSimon2011-03-02 16:18:07 +0100
commitc6fad905aaa3889c943e93abcff5e50d94340277 (patch)
tree9d75a842e70d5ddce1ce348df9bf58bcb1e7cf53 /application/views
parentfilter controller - index action geändert (diff)
downloadpbs2-c6fad905aaa3889c943e93abcff5e50d94340277.tar.gz
pbs2-c6fad905aaa3889c943e93abcff5e50d94340277.tar.xz
pbs2-c6fad905aaa3889c943e93abcff5e50d94340277.zip
filter geupdated && mein kleines todo
Diffstat (limited to 'application/views')
-rw-r--r--application/views/scripts/filter/addfilter.phtml3
-rw-r--r--application/views/scripts/filter/index.phtml10
2 files changed, 12 insertions, 1 deletions
diff --git a/application/views/scripts/filter/addfilter.phtml b/application/views/scripts/filter/addfilter.phtml
new file mode 100644
index 0000000..3c87e1e
--- /dev/null
+++ b/application/views/scripts/filter/addfilter.phtml
@@ -0,0 +1,3 @@
+<?php
+$this->addfilterform->setAction($this->url());
+echo $this->addfilterform;
diff --git a/application/views/scripts/filter/index.phtml b/application/views/scripts/filter/index.phtml
index 7162786..0f9b51e 100644
--- a/application/views/scripts/filter/index.phtml
+++ b/application/views/scripts/filter/index.phtml
@@ -1,8 +1,16 @@
<h1>Filters</h1>
+<p><a href="<?php echo $this->url(
+ array(
+ 'controller' => 'filter',
+ 'action' => 'addfilter'
+ ),
+ 'default',
+ true) ?>">add new filter</a></p>
+
<?php if ($this->filters): ?>
<!-- A table of filters. -->
- <table>
+ <table border=1>
<tr>
<th>filterid</th>
</tr>