diff options
Diffstat (limited to 'application/views/scripts/bootmenu/index.phtml')
| -rw-r--r-- | application/views/scripts/bootmenu/index.phtml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/application/views/scripts/bootmenu/index.phtml b/application/views/scripts/bootmenu/index.phtml index 70bb134..a4475cf 100644 --- a/application/views/scripts/bootmenu/index.phtml +++ b/application/views/scripts/bootmenu/index.phtml @@ -12,6 +12,8 @@ <th>MembershipID</th> <th>Changed</th> </tr> + <?php if(count($this->bootmenulist)==0) + echo "</table> There are no BootMenus to display." ?> <?php foreach ($this->bootmenulist as $bootmenu): ?> <tr class=bootmenu> <td><?php echo $this->escape($bootmenu->getID()); ?></td> @@ -45,24 +47,27 @@ 'default', true) ?>">Add Entry</a></td> </tr> + <tr> <th></th> <th>ID</th> <th>Title</th> <!-- <th>BootmenuID</th>--> - <th>BootOSID</th> + <th>BootOS</th> <th>kcl</th> - <th>ConfigID</th> - <th>order</th> + <th>Config</th> + <th>Position</th> </tr> <?php foreach ($this->bootmenuentrylist[$bootmenu->getID()] as $bootmenuentry): ?> - <tr class=bootentry><td class=nostyle></td> + <?php $bootos = $this->bootosmapper->find($bootmenuentry->getBootosID());?> + <?php $config = $this->configmapper->find($bootmenuentry->getConfigID());?> + <tr><td></td> <td><?php echo $this->escape($bootmenuentry->getID()); ?></td> <td><?php echo $this->escape($bootmenuentry->getTitle()); ?></td> <!--<td><?php echo $this->escape($bootmenuentry->getBootmenuID()); ?></td> - --><td><?php echo "[".$this->escape($bootmenuentry->getBootosID()."] ". $this->bootosmapper->find($bootmenuentry->getBootosID())->getTitle()); ?></td> + --><td><?php echo "[".$this->escape($bootmenuentry->getBootosID()."] ". $bootos->getTitle()); ?></td> <td><?php echo $this->escape($bootmenuentry->getkcl()); ?></td> - <td><?php echo $this->escape($bootmenuentry->getConfigID()); ?></td> + <td><?php echo "[".$this->escape($bootmenuentry->getConfigID()."] ". $config->getTitle()); ?></td> <td><?php echo $this->escape($bootmenuentry->getOrder() + 1); ?></td> <td><a href="<?php echo $this->url( array( @@ -90,6 +95,7 @@ + |
