summaryrefslogtreecommitdiffstats
path: root/application/modules/user/views/scripts/bootiso/index.phtml
blob: 4af8c0e08dff113a91b19daad0a41fe7ae9efb74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<h1>BootMedien</h1>
<?php if($this->notification != ''){echo $this->notification;} ?>
<?php echo $this->searchform; ?>
<?php echo $this->formButton('createbootiso', 'Create BootISO', array(
							'onclick' => 'self.location="/user/bootiso/createbootiso/page/'.$this->page.'"',
							'class' => 'addbutton'))?>
<div class='searchvars'>
	<div class='head'>Available searchfilter:</div>
	<div class='code'>bootosID</div>
	<div class='code'>title</div>
	<div class='code'>groupID</div>
	<div class='code'>prebootID</div>
	<div class='code'>serialnumber</div>
	<div class='code'>created</div>
	<div class='code'>expires</div>
	<div class='code'>public</div>
</div>	
						
<div class='listelement'>
	<?php if(count($this->bootisolist)==0)
  		echo "There are no BootISO entries to display." ?>
	<?php foreach ($this->bootisolist as $bootiso): ?>							
	<div class='element'>
  		<div class='number'><?php echo $this->escape($bootiso->getID()); ?></div>
  		<div class='content'>  			
	  		<div class='actions'>
	  			<a href="<?php echo $this->url(
					array(
						'module'	=> 'user',
						'controller' => 'bootiso',
						'action'     => 'downloadbootiso',
						'bootisoID' => $bootiso->getID(),
						'page'		=> $this->page
					),
					'default',
					true, false) ?>"><img src='/media/img/download.png' alt='Download BootMedium' /></a>
		  		<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>
	  			<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>
	  		</div>  
	  		<div class='title'><?php echo $this->escape($bootiso->getTitle()); ?></div>
	  		<div class='subtitle'><?php echo $this->escape($bootiso->getGroupID()); ?> - Serialnumber: <?php echo $this->escape($bootiso->getSerialnumber()); ?></div>
	  		<div class='details dispnone'>
	  			<label>PreebootID</label>
	  				<div class='item'><?php echo $this->escape($bootiso->getPrebootID()); ?></div>
	  			<label>Created</label>
	  				<div class='item'><?php echo $this->escape($bootiso->getCreated()); ?></div>
	  			<label>Expires</label>
	  				<div class='item'><?php echo $this->escape($bootiso->getExpires()); ?></div>	  				
	  			<label>Public</label>
	  				<div class='item'><?php echo $this->escape($bootiso->getPublic()); ?></div>
	  		</div>
  		</div>
  		<div class='clear'></div>
	</div>			
	<?php endforeach; ?>
</div>

<?php echo $this->pagination; ?>