diff options
author | Simon | 2011-03-07 13:57:04 +0100 |
---|---|---|
committer | Simon | 2011-03-07 13:57:04 +0100 |
commit | 5688b750744f8568414dc745961747e5629bd194 (patch) | |
tree | d8821314ada6f422d3d362666e7060af502709a3 /application/views | |
parent | view variable in application.ini hinzugefügt (diff) | |
download | pbs2-5688b750744f8568414dc745961747e5629bd194.tar.gz pbs2-5688b750744f8568414dc745961747e5629bd194.tar.xz pbs2-5688b750744f8568414dc745961747e5629bd194.zip |
Pool actions zum bearbeiten von Pools hinzugefügt
Diffstat (limited to 'application/views')
-rw-r--r-- | application/views/scripts/pool/createpool.phtml | 3 | ||||
-rw-r--r-- | application/views/scripts/pool/editpool.phtml | 5 | ||||
-rw-r--r-- | application/views/scripts/pool/index.phtml | 28 | ||||
-rw-r--r-- | application/views/scripts/pool/linkclient.phtml | 1 | ||||
-rw-r--r-- | application/views/scripts/pool/unlinkclient.phtml | 1 |
5 files changed, 34 insertions, 4 deletions
diff --git a/application/views/scripts/pool/createpool.phtml b/application/views/scripts/pool/createpool.phtml index 3d7f8ca..305b36e 100644 --- a/application/views/scripts/pool/createpool.phtml +++ b/application/views/scripts/pool/createpool.phtml @@ -1 +1,2 @@ -<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>createpool</b></center>
\ No newline at end of file +<?php +echo $this->addpool; diff --git a/application/views/scripts/pool/editpool.phtml b/application/views/scripts/pool/editpool.phtml index c70464e..359a5f9 100644 --- a/application/views/scripts/pool/editpool.phtml +++ b/application/views/scripts/pool/editpool.phtml @@ -1 +1,4 @@ -<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>editpool</b></center>
\ No newline at end of file +<h1>Edit Pool</h1> +<?php + +echo $this->editpoolform; diff --git a/application/views/scripts/pool/index.phtml b/application/views/scripts/pool/index.phtml index 989cf41..1bee0fe 100644 --- a/application/views/scripts/pool/index.phtml +++ b/application/views/scripts/pool/index.phtml @@ -1,5 +1,13 @@ <h1>Pools</h1> +<a href="<?php echo $this->url( + array( + 'controller' => 'pool', + 'action' => 'createpool' + ), + 'default', + true) ?>">create pool</a> + <?php if ($this->pools): ?> <!-- A table of filters. --> @@ -19,11 +27,27 @@ <td><a href="<?php echo $this->url( array( 'controller' => 'pool', - 'action' => 'removepool', + 'action' => 'editpool', + 'poolID' => $pool->getID() + ), + 'default', + true) ?>">edit pool</a></td> + <td><a href="<?php echo $this->url( + array( + 'controller' => 'pool', + 'action' => 'deletepool', + 'poolID' => $pool->getID() + ), + 'default', + true) ?>">delete pool</a></td> + <td><a href="<?php echo $this->url( + array( + 'controller' => 'pool', + 'action' => 'linkclient', 'poolID' => $pool->getID() ), 'default', - true) ?>">remove pool</a></td> + true) ?>">link client</a></td> </tr> <?php endforeach ?> </table> diff --git a/application/views/scripts/pool/linkclient.phtml b/application/views/scripts/pool/linkclient.phtml new file mode 100644 index 0000000..1cc06e4 --- /dev/null +++ b/application/views/scripts/pool/linkclient.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>linkclient</b></center>
\ No newline at end of file diff --git a/application/views/scripts/pool/unlinkclient.phtml b/application/views/scripts/pool/unlinkclient.phtml new file mode 100644 index 0000000..35aa9c5 --- /dev/null +++ b/application/views/scripts/pool/unlinkclient.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>unlinkclient</b></center>
\ No newline at end of file |