summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authormichael pereira2011-03-08 19:41:00 +0100
committermichael pereira2011-03-08 19:41:00 +0100
commitd44db6d338d72c6229b1ba788784c7bb90471cf0 (patch)
tree909a6e686f8c9a8bfa491014e404376604791d9d /application/views
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-d44db6d338d72c6229b1ba788784c7bb90471cf0.tar.gz
pbs2-d44db6d338d72c6229b1ba788784c7bb90471cf0.tar.xz
pbs2-d44db6d338d72c6229b1ba788784c7bb90471cf0.zip
BootOs Name anzeigen & Reihenfolge im BootMenu
Diffstat (limited to 'application/views')
-rw-r--r--application/views/scripts/bootmenu/index.phtml20
1 files changed, 11 insertions, 9 deletions
diff --git a/application/views/scripts/bootmenu/index.phtml b/application/views/scripts/bootmenu/index.phtml
index a5c4fec..25edc53 100644
--- a/application/views/scripts/bootmenu/index.phtml
+++ b/application/views/scripts/bootmenu/index.phtml
@@ -10,7 +10,7 @@ tr.bootentry{background-color:#E0ECF8;}
<table border=1>
<tr>
-<!--<th>ID</th>-->
+ <th>ID</th>
<th>Title</th>
<th>GroupID</th>
<th>MembershipID</th>
@@ -18,7 +18,7 @@ tr.bootentry{background-color:#E0ECF8;}
</tr>
<?php foreach ($this->bootmenulist as $bootmenu): ?>
<tr class=bootmenu>
- <!--<td><?php echo $this->escape($bootmenu->getID()); ?></td>-->
+ <td><?php echo $this->escape($bootmenu->getID()); ?></td>
<td><?php echo $this->escape($bootmenu->getTitle()); ?></td>
<td><?php echo $this->escape($bootmenu->getGroupID()); ?></td>
<td><?php echo $this->escape($bootmenu->getMembershipID()); ?></td>
@@ -43,16 +43,17 @@ tr.bootentry{background-color:#E0ECF8;}
array(
'controller' => 'bootmenu',
'action' => 'addbootmenuentry',
- 'bootmenuID' => $bootmenu->getID()
+ 'bootmenuID' => $bootmenu->getID(),
+ 'maxorder' => count($this->bootmenuentrylist[$bootmenu->getID()])
),
'default',
true) ?>">Add Entry</a></td>
</tr>
<tr>
<th></th>
-<!--<th>ID</th>-->
+ <th>ID</th>
<th>Title</th>
-<!--<th>BootmenuID</th>-->
+<!-- <th>BootmenuID</th>-->
<th>BootOSID</th>
<th>kcl</th>
<th>ConfigID</th>
@@ -60,10 +61,10 @@ tr.bootentry{background-color:#E0ECF8;}
</tr>
<?php foreach ($this->bootmenuentrylist[$bootmenu->getID()] as $bootmenuentry): ?>
<tr class=bootentry><td class=nostyle></td>
- <!--<td><?php echo $this->escape($bootmenuentry->getID()); ?></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()); ?></td>
+ <!--<td><?php echo $this->escape($bootmenuentry->getBootmenuID()); ?></td>
+ --><td><?php echo "[".$this->escape($bootmenuentry->getBootosID()."]". $this->bootoslist); ?></td>
<td><?php echo $this->escape($bootmenuentry->getkcl()); ?></td>
<td><?php echo $this->escape($bootmenuentry->getConfigID()); ?></td>
<td><?php echo $this->escape($bootmenuentry->getOrder()); ?></td>
@@ -72,7 +73,8 @@ tr.bootentry{background-color:#E0ECF8;}
'controller' => 'bootmenu',
'action' => 'editbootmenuentry',
'bootmenuentryID' => $bootmenuentry->getID(),
- 'bootmenuID' => $bootmenu->getID()
+ 'bootmenuID' => $bootmenu->getID(),
+ 'maxorder' => count($this->bootmenuentrylist[$bootmenu->getID()])
),
'default',
true, false) ?>">Edit Entry</a></td>