nextcloud/admin/templates/app.php

28 lines
1.0 KiB
PHP
Raw Normal View History

<?php
/*
* Template for Apps
*/
$app=$_['app'];
?>
<h1><?php echo $app["name"]; ?></h1>
<?php echo('<span class="type">'.$app['typename'].'</span>'); ?><br />
2011-06-20 00:15:38 +04:00
<span class="date"><?php echo $l->l('datetime', $app["changed"]); ?></span><br />
<table cellspacing="6" border="0" width="100%">
<tr>
<td width="1" valign="top">
<?php if($app["preview1"]<>"") { echo('<img class="preview" border="0" src="'.$app["preview1"].'" /><br />'); } ?>
<?php if($app["preview2"]<>"") { echo('<img class="preview" border="0" src="'.$app["preview2"].'" /><br />'); } ?>
<?php if($app["preview3"]<>"") { echo('<img class="preview" border="0" src="'.$app["preview3"].'" /><br />'); } ?>
</td>
<td class="description" valign="top">
<?php echo $app["description"]; ?>
<br />
2011-06-20 00:15:38 +04:00
<?php echo('<a class="description" target="_blank" href="'.$app["detailpage"].'">'.$l->t( 'read more' ).'</a><br />'); ?>
</td>
2011-06-20 00:15:38 +04:00
<td width="1" valign="top"><a class="prettybutton" href=""><?php echo $l->t( 'INSTALL' ); ?></a></td>
</tr>
</table>