summaryrefslogblamecommitdiffstats
path: root/application/modules/user/views/scripts/bootiso/index.phtml
blob: c41d8d2f519101b6799a5f0d34f0d74ee7129e55 (plain) (tree)




































                                                                                                                        
                                                                                 
                                                                              







                                                                                                                                 
                                                                                    
                                                                              







                                                                                                                      
                                                                                    
                                                                              





                                                                                                                  
                                




        
<h1>BootMedien</h1>
<?php if($this->notification != ''){echo $this->notification;} ?>
<?php echo $this->formButton('createbootiso', 'Create BootISO', array(
							'onclick' => 'self.location="/user/bootiso/createbootiso"',
							'class' => 'addbutton'))?>
<table>
  <tr>
    <th>ID</th>
    <th>Title</th>
    <th>GroupID</th>
    <th>MembershipID</th>
    <th>PrebootID</th>
    <th>Serialnumber</th>
    <th>Created</th>    
    <th>Expires</th>
    <th>Public</th>
 	<th colspan=3>Actions</th>
  </tr>
  <?php if(count($this->bootisolist)==0)
  		echo "</table> There are no BootISO's entries to display." ?>
  <?php foreach ($this->bootisolist as $bootiso): ?>
  <tr class=entry>
    <td><?php echo $this->escape($bootiso->getID()); ?></td>
    <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->getPrebootID()) . "] " . $this->prebootlist[$bootiso->getID()]; ?></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>
    <td><?php echo $this->escape($bootiso->getPublic()); ?></td>
    <td class='action'><a href="<?php echo $this->url(
					array(
						'module'	=> 'user',
						'controller' => 'bootiso',
						'action'     => 'downloadbootiso',
						'prebootID'   =>  $bootiso->getprebootID(),
						'bootisoID' => $bootiso->getID(),
						'page'		=> $this->page
					),
					'default',
					true, false) ?>"><img src='/media/img/download.png' alt='Download BootMedium' /></a></td>
    <td class='action'><a href="<?php echo $this->url(
					array(
						'module'	=> 'user',
						'controller' => 'bootiso',
						'action'     => 'editbootiso',
						'bootisoID'   =>  $bootiso->getID(),
						'page'		=> $this->page
					),
					'default',
					true, false) ?>"><img src='/media/img/edit.png' alt='Edit BootISO' /></a></td>
	<td class='action'><a href="<?php echo $this->url(
					array(
						'module'	=> 'user',
						'controller' => 'bootiso',
						'action'     => 'deletebootiso',
						'bootisoID'   =>  $bootiso->getID(),
						'page'		=> $this->page
					),
					'default',
					true) ?>"><img src='/media/img/delete.png' alt='Delete BootISO'/></a></td>
  </tr>
  <?php endforeach; ?>
</table>
<?php echo $this->pagination; ?>