summaryrefslogtreecommitdiffstats
path: root/application/modules/user/views/scripts/preboot/index.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/views/scripts/preboot/index.phtml')
-rw-r--r--application/modules/user/views/scripts/preboot/index.phtml32
1 files changed, 7 insertions, 25 deletions
diff --git a/application/modules/user/views/scripts/preboot/index.phtml b/application/modules/user/views/scripts/preboot/index.phtml
index 0a7a3d3..b714b75 100644
--- a/application/modules/user/views/scripts/preboot/index.phtml
+++ b/application/modules/user/views/scripts/preboot/index.phtml
@@ -1,13 +1,7 @@
<h1>Preboot</h1>
<?php if($this->notification != ''){echo $this->notification;} ?>
<?php echo $this->searchform; ?>
-
-<?php if(Pbs_Acl::checkRight('pru')): ?>
-<?php echo $this->formButton('checkupdate', 'Check for Updates', array(
- 'onclick' => 'self.location="/user/preboot/index/checkupdate/true/page/'.$this->page.'"',
- 'class' => 'updatebutton',
- ))?>
-<?php endif;?>
+
<?php if(Pbs_Acl::checkRight('prc')): ?>
<?php echo $this->formButton('createpreboot', 'Create PreBoot', array(
'onclick' => 'self.location="/user/preboot/createpreboot/page/'.$this->page.'"',
@@ -17,7 +11,8 @@
<div class='head'>Available searchfilter:</div>
<div class='code'>prebootID</div>
<div class='code'>title</div>
- <div class='code'>path_preboot</div>
+ <div class='code'>created</div>
+ <div class='code'>source</div>
</div>
<div class='listelement'>
@@ -31,21 +26,6 @@
</div>
<div class='content'>
<div class='actions'>
- <?php if(Pbs_Acl::checkRight('pru')): ?>
- <?php if($this->update[$preboot->getID()]==true): ?><a href="<?php echo $this->url(
- array(
- 'module' => 'user',
- 'controller' => 'preboot',
- 'action' => 'updatepreboot',
- 'prebootID' => $preboot->getID(),
- 'page' => $this->page
- ),
- 'default',
- true, false) ?>"><img src='/media/img/update.png' alt='Updates available' /></a>
- <?php else: ?>
- <a><img src='/media/img/update_grey.png' alt='No updates available' /></a>
- <?php endif; ?>
- <?php endif; ?>
<?php if(Pbs_Acl::checkRight('pre') || Pbs_Acl::checkRight('prem')): ?>
<a href="<?php echo $this->url(
array(
@@ -75,8 +55,10 @@
<div class='details'>
<label>PrebootID</label>
<div class='item'><?php echo $this->escape($preboot->getID()); ?></div>
- <label>Prebootpath</label>
- <div class='item'><?php echo $this->escape($preboot->getPath_preboot()); ?></div>
+ <label>Source</label>
+ <div class='item'><?php echo $this->escape($preboot->getSource()); ?></div>
+ <label>Changed</label>
+ <div class='item'><?php echo $this->escape($preboot->getCreated()); ?></div>
</div>
</div>
<div class='clear'></div>