diff options
| author | michael pereira | 2011-03-15 11:35:00 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-15 11:35:00 +0100 |
| commit | 3f9700079f95c7fb715e5c9363e48dce6c7c627f (patch) | |
| tree | 17fe70fcfbe651a9c52194423a67bac5a9c692e9 /application/modules/dev/views/scripts/group/index.phtml | |
| parent | Ressource Controller (diff) | |
| parent | links korrigiert, dev ist nun lauffähig (diff) | |
| download | pbs2-3f9700079f95c7fb715e5c9363e48dce6c7c627f.tar.gz pbs2-3f9700079f95c7fb715e5c9363e48dce6c7c627f.tar.xz pbs2-3f9700079f95c7fb715e5c9363e48dce6c7c627f.zip | |
Ressource gelöscht
Diffstat (limited to 'application/modules/dev/views/scripts/group/index.phtml')
| -rw-r--r-- | application/modules/dev/views/scripts/group/index.phtml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/application/modules/dev/views/scripts/group/index.phtml b/application/modules/dev/views/scripts/group/index.phtml new file mode 100644 index 0000000..d1faf04 --- /dev/null +++ b/application/modules/dev/views/scripts/group/index.phtml @@ -0,0 +1,35 @@ +<table> + <tr> + <th>Title:</th> + <th>Functions:</th> + </tr> + <?php + $count = 0; + foreach($this->groupList as $group) { + ?> + <tr> + <td><?php echo $group->getTitle(); ?></td> + <td> + <form name="show<?php echo $count; ?>" action="/group/show" + method="post"><input type="hidden" name="groupID" + value="<?php echo $group->getID(); ?>" /><a + href="javascript:document.show<?php echo $count; ?>.submit();">Details</a></form> + <form name="edit<?php echo $count; ?>" action="/group/edit" + method="post"><input type="hidden" name="groupID" + value="<?php echo $group->getID(); ?>" /><a + href="javascript:document.edit<?php echo $count; ?>.submit();">Edit</a></form> + <form name="delete<?php echo $count; ?>" action="/group/delete" + method="post"><input type="hidden" name="groupID" + value="<?php echo $group->getID(); ?>" /><a + href="javascript:document.delete<?php echo $count; ?>.submit();">Delete</a></form> + </td> + </tr> + <?php + $count++; + } + ?> +</table> +<br /> +<div> +<button onclick="location.href='/dev/group/link'">Link Groups</button> +</div> |
