summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/pool/index.phtml
diff options
context:
space:
mode:
authorSimon2011-03-07 13:57:04 +0100
committerSimon2011-03-07 13:57:04 +0100
commit5688b750744f8568414dc745961747e5629bd194 (patch)
treed8821314ada6f422d3d362666e7060af502709a3 /application/views/scripts/pool/index.phtml
parentview variable in application.ini hinzugefügt (diff)
downloadpbs2-5688b750744f8568414dc745961747e5629bd194.tar.gz
pbs2-5688b750744f8568414dc745961747e5629bd194.tar.xz
pbs2-5688b750744f8568414dc745961747e5629bd194.zip
Pool actions zum bearbeiten von Pools hinzugefügt
Diffstat (limited to 'application/views/scripts/pool/index.phtml')
-rw-r--r--application/views/scripts/pool/index.phtml28
1 files changed, 26 insertions, 2 deletions
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>