diff options
| author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-03 17:22:00 -0500 |
|---|---|---|
| committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-03 17:22:00 -0500 |
| commit | edcc2f1bd2de5602390fc7a5d313428255afd0b6 (patch) | |
| tree | 9015081c412b02964e8bdaa79d668976e18f7cf0 /modules/rudi/views/view.information.php | |
| parent | a0e57d6a4ada58e25e713882c8af4483c6734acb (diff) | |
| download | bayonetcms-edcc2f1bd2de5602390fc7a5d313428255afd0b6.tar.gz | |
- view.roster.php replaced view.current.php
- Roster generation code completed by OC (yay!).
- Class RUDI_Information added to grab unit information.
- Views have been added from Unit/Platoon information, however, OC decided not to use the right table so everything needs to be moved around (not so yay!)
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@442 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'modules/rudi/views/view.information.php')
| -rw-r--r-- | modules/rudi/views/view.information.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/rudi/views/view.information.php b/modules/rudi/views/view.information.php new file mode 100644 index 0000000..a62ba8a --- /dev/null +++ b/modules/rudi/views/view.information.php @@ -0,0 +1,20 @@ +<?php
+$unit_id = $_GET['unit_id'];
+$platoon_id = $_GET['platoon_id'];
+switch($_GET['info'])
+{
+ case 'unit':
+ if(isset($unit_id))
+ include_once 'view.unit.php';
+ break;
+
+ case 'platoon':
+ if(isset($unit_id, $platoon_id))
+ include_once 'view.platoon.php';
+ break;
+
+ default:
+ ReportError('Invalid info entry');
+ return;
+}
+?>
\ No newline at end of file |
