summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/views
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/dev/views')
-rw-r--r--application/modules/dev/views/scripts/bootiso/index.phtml4
-rw-r--r--application/modules/dev/views/scripts/bootos/index.phtml18
2 files changed, 18 insertions, 4 deletions
diff --git a/application/modules/dev/views/scripts/bootiso/index.phtml b/application/modules/dev/views/scripts/bootiso/index.phtml
index b119aff..453f316 100644
--- a/application/modules/dev/views/scripts/bootiso/index.phtml
+++ b/application/modules/dev/views/scripts/bootiso/index.phtml
@@ -8,7 +8,7 @@
<th>Title</th>
<th>GroupID</th>
<th>MembershipID</th>
- <th>Path</th>
+ <th>FbGui Path</th>
<th>Serialnumber</th>
<th>Created</th>
<th>Expires</th>
@@ -23,7 +23,7 @@
<td><?php echo $this->escape($bootiso->getTitle()); ?></td>
<td><?php echo $this->escape($bootiso->getGroupID()); ?></td>
<td><?php echo $this->escape($bootiso->getMembershipID()); ?></td>
- <td><?php echo $this->escape($bootiso->getPath()); ?></td>
+ <td><?php echo $this->escape($bootiso->getPath_fbgui()); ?></td>
<td><?php echo $this->escape($bootiso->getSerialnumber()); ?></td>
<td><?php echo $this->escape(date('Y-m-d H:i:s', $bootiso->getCreated())); ?></td>
<td><?php echo $this->escape($bootiso->getExpires()); ?></td>
diff --git a/application/modules/dev/views/scripts/bootos/index.phtml b/application/modules/dev/views/scripts/bootos/index.phtml
index c5970b6..f76938d 100644
--- a/application/modules/dev/views/scripts/bootos/index.phtml
+++ b/application/modules/dev/views/scripts/bootos/index.phtml
@@ -17,7 +17,7 @@
<th>Changed</th>
<th>Expires</th>
<th>Public</th>
- <th colspan=2>Actions</th>
+ <th colspan=3>Actions</th>
</tr>
<?php if(count($this->bootoslist)==0)
echo "</table> There are no BootOs's to display." ?>
@@ -35,6 +35,20 @@
<td><?php echo $this->escape(date('Y-m-d H:i:s', $bootos->getCreated())); ?></td>
<td><?php echo $this->escape($bootos->getExpires()); ?></td>
<td><?php echo $this->escape($bootos->getPublic()); ?></td>
+ <?php if($this->update[$bootos->getID()]==true): ?>
+ <td class='action'><a
+ href="<?php echo $this->url(
+ array(
+ 'module' => 'dev',
+ 'controller' => 'bootos',
+ 'action' => 'updatebootos',
+ 'bootosID' => $bootos->getID()
+ ),
+ 'default',
+ true, false) ?>"><img src='/media/img/update.png' alt='Updates available' /></a></td>
+ <?php else: ?>
+ <td class='action'><img src='/media/img/update_grey.png' alt='No updates available' /></td>
+ <?php endif; ?>
<td class='action'><a
href="<?php echo $this->url(
array(
@@ -54,7 +68,7 @@
'bootosID' => $bootos->getID()
),
'default',
- true) ?>"><img src='/media/img/delete.png' alt='Delete BootOS' /></a></td>
+ true) ?>"><img src='/media/img/delete.png' alt='Delete BootOS' /></a></td>
</tr>
<?php endforeach; ?>
</table>