<?php if($_SESSION['user'] == sha1($administrator_name)) { ?>
    <table class="list">
    	<tr>
    		<th><?php echo txt('settings', 'Status'); ?></th>
    		<th><?php echo txt('settings', 'Beschreibung'); ?></th>
    		<th><?php echo txt('settings', 'Version'); ?></th>
    		<th><?php echo txt('settings', 'Größe'); ?></th>
    		<th><?php echo txt('settings', 'Autor'); ?></th>
    		<th><?php echo txt('settings', 'Hilfe'); ?></th>
    	</tr>
    	
    	<?php foreach($plugins as $plugin) { ?>
    		<tr class="data">
    			<td>
    				<?php if($plugin['version conflict'] == 1) { ?>
    					<span class="version-conflict" title="<?php echo txt('settings', 'Dieses Paket wurde für eine neuere Version von Pagemap erstellt und sollte nicht verwendet werden.'); ?>">&nbsp;</span>
    				<?php } else { ?>
    					<span class="status-ok">&nbsp;</span>
    				<?php } ?>
    			</td>
    			<td style="text-align: left">
    				<strong><?php echo $plugin['name']; ?></strong>
    				<div class="small description"><?php if($plugin['description'] != '') { ?><?php echo $plugin['description']; ?><?php } ?></div>
    			</td>
    			<td><?php echo $plugin['version']; ?></td>
    			<td class="nowrap"><?php echo format_filesize($plugin['size']); ?></td>
    			<td><?php echo $plugin['author']; ?></td>
    			<td><a href="<?php echo $plugin['support']; ?>"><?php echo txt('settings', $plugin['support type']); ?></a></td>
    		</tr>
    	<?php } ?>
	</table>
<?php } ?>