summaryrefslogblamecommitdiffstats
path: root/application/views/scripts/bootmenu/index.phtml
blob: d7acbacaf0edcc8dd808e3b4d2de1d44fc065a43 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                 








                                          




                    
                         
                    
       
                                                      
                     




                                                                                       
                                                     
                                              


                                                                                     

                                                  

                                                                               
                                              


                                                                                     

                                                  

                                                                          





                                                                                     










                                                                    
       



























                                                                                                


                      

                                                                                                                   




        
<h1>BootMenu</h1>

<style>
table{font-family:verdana;font-size:12px;}
td{border:1px solid #CCC;}
td.nostyle{background-color:#FFFFFF;}
tr.bootmenu{background-color:#D8D8D8;}
tr.bootentry{background-color:#E0ECF8;}
</style>

<table border=1>
  <tr>
    <th>ID</th>
    <th>Title</th>
    <th>GroupID</th>
    <th>MembershipID</th>
    <th>Changed</th>
  </tr>
  <?php foreach ($this->bootmenulist as $bootmenu): ?>
  <tr class=bootmenu>
    <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>
    <td><?php echo $this->escape(date('Y-m-d H:i:s', $bootmenu->getCreated())); ?></td>
    <td class=nostyle><a href="<?php echo $this->url(
					array(
						'controller' => 'bootmenu',
						'action'     => 'editbootmenu',
						'bootmenuID'   =>  $bootmenu->getID()
					),
					'default',
					true, false) ?>">Edit Bootmenu</a></td>
	<td class=nostyle><a href="<?php echo $this->url(
					array(
						'controller' => 'bootmenu',
						'action'     => 'deletebootmenu',
						'bootmenuID'   =>  $bootmenu->getID()
					),
					'default',
					true) ?>">Delete Bootmenu</a></td>
	<td class=nostyle><a href="<?php echo $this->url(
					array(
						'controller' => 'bootmenu',
						'action'     => 'addbootmenuentry',
						'bootmenuID'   =>  $bootmenu->getID()
					),
					'default',
					true) ?>">Add Entry</a></td>
  </tr>
  <tr>
  	<th></th>
    <th>ID</th>
    <th>Title</th>
    <th>BootmenuID</th>
    <th>BootOSID</th>
    <th>kcl</th>
    <th>ConfigID</th>
    <th>order</th>
  </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->getTitle()); ?></td>
		<td><?php echo $this->escape($bootmenuentry->getBootmenuID()); ?></td>
		<td><?php echo $this->escape($bootmenuentry->getBootosID()); ?></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>
		<td class=nostyle><a href="<?php echo $this->url(
					array(
						'controller' => 'bootmenu',
						'action'     => 'editbootmenuentry',
						'bootmenuentryID'   =>  $bootmenuentry->getID()
					),
					'default',
					true, false) ?>">Edit Entry</a></td>
		<td class=nostyle><a href="<?php echo $this->url(
					array(
						'controller' => 'bootmenu',
						'action'     => 'removebootmenuentry',
						'bootmenuentryID'   =>  $bootmenuentry->getID(),
						'bootmenuID'   =>  $bootmenu->getID()
					),
					'default',
					true) ?>">Remove Entry</a></td>
	</tr>
	<?php endforeach; ?>
  <?php endforeach; ?>
</table>
<br/>
<?php echo $this->formButton('createbootmenu', 'Create BootMenu', array(
							'onclick' => 'self.location="/bootmenu/createbootmenu"'))?>