diff options
| author | Simon | 2011-03-02 16:18:07 +0100 |
|---|---|---|
| committer | Simon | 2011-03-02 16:18:07 +0100 |
| commit | c6fad905aaa3889c943e93abcff5e50d94340277 (patch) | |
| tree | 9d75a842e70d5ddce1ce348df9bf58bcb1e7cf53 /application/views/scripts | |
| parent | filter controller - index action geƤndert (diff) | |
| download | pbs2-c6fad905aaa3889c943e93abcff5e50d94340277.tar.gz pbs2-c6fad905aaa3889c943e93abcff5e50d94340277.tar.xz pbs2-c6fad905aaa3889c943e93abcff5e50d94340277.zip | |
filter geupdated && mein kleines todo
Diffstat (limited to 'application/views/scripts')
| -rw-r--r-- | application/views/scripts/filter/addfilter.phtml | 3 | ||||
| -rw-r--r-- | application/views/scripts/filter/index.phtml | 10 |
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> |
