diff options
| author | Simon | 2011-03-14 16:09:03 +0100 |
|---|---|---|
| committer | Simon | 2011-03-14 16:09:03 +0100 |
| commit | b5cbdd6b400aa1ec77c9846e9cc8d4257f437e3c (patch) | |
| tree | fcef50ad1ddf831f457d6aecd83e7fdc63297a1c /application/modules/dev/views/scripts/group/index.phtml | |
| parent | footer bleibt am fensterbottom (diff) | |
| download | pbs2-b5cbdd6b400aa1ec77c9846e9cc8d4257f437e3c.tar.gz pbs2-b5cbdd6b400aa1ec77c9846e9cc8d4257f437e3c.tar.xz pbs2-b5cbdd6b400aa1ec77c9846e9cc8d4257f437e3c.zip | |
Application in 3 Modules gesplittet, Dev = unsere entwicklungsumgebung, user = die weboberfläche fr anwender mit acl etc, fbgui = für die fbgui truppe - links in dev müssen noch angepasst werden
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..b8178dc --- /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='/group/link'">Link Groups</button> +</div> |
