aboutsummaryrefslogtreecommitdiff
path: root/modules/rudi/views/view.ranks.php
diff options
context:
space:
mode:
authorjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-03 17:22:00 -0500
committerjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-03 17:22:00 -0500
commitedcc2f1bd2de5602390fc7a5d313428255afd0b6 (patch)
tree9015081c412b02964e8bdaa79d668976e18f7cf0 /modules/rudi/views/view.ranks.php
parenta0e57d6a4ada58e25e713882c8af4483c6734acb (diff)
downloadbayonetcms-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.ranks.php')
-rw-r--r--modules/rudi/views/view.ranks.php18
1 files changed, 8 insertions, 10 deletions
diff --git a/modules/rudi/views/view.ranks.php b/modules/rudi/views/view.ranks.php
index 2bb1823..4792049 100644
--- a/modules/rudi/views/view.ranks.php
+++ b/modules/rudi/views/view.ranks.php
@@ -1,13 +1,11 @@
-<?php define('BLOCK_RIGHT_DISABLE','block_right_disable'); ?>
+<?php //define('BLOCK_RIGHT_DISABLE','block_right_disable'); ?>
<html>
<head>
<title>Awards and Medals</title>
<style type="text/css">
-p {color: white; }
-body {background-color: black; }
-th.header {
+/*th.header {
width:175px;
background:#333;
}
@@ -15,21 +13,21 @@ th.header {
td.rudi {
text-align: center;
vertical-align: middle;
-}
+} */
</style>
</head>
<body>
- <table align="center" style="width: 100%;">
+ <table class="rudi" align="center" style="width: 100%;">
<tr>
- <th scope="col" class="header">Image</th>
- <th scope="col" class="header">Rank</th>
+ <th scope="col">Image</th>
+ <th scope="col">Rank</th>
</tr>
<?php foreach($this->ranks as $rank): ?>
<tr>
- <td align='center' class="rudi"><img src="<?php echo "{$this->images_path}/ranks/small/{$rank->image}"; ?>"></img>&nbsp;</td>
- <td align='center' class="rudi"><?php echo $rank->longname; ?>&nbsp;</td>
+ <td><img src="<?php echo "modules/rudi/images/ranks/small/{$rank->image}"; ?>" />&nbsp;</td>
+ <td><?php echo $rank->longname; ?>&nbsp;</td>
</tr>
<?php endforeach; ?>