Skip to content
Snippets Groups Projects
Commit 3e28883a authored by Frank Karlitschek's avatar Frank Karlitschek
Browse files

make the detail page work (more or less)

parent b129079b
No related branches found
No related tags found
No related merge requests found
......@@ -40,3 +40,25 @@ table td.name a
font-size: 0.8em;
}
.description
{
padding: 6px;
text-decoration: none;
color: #666666;
font-size: 0.9em;
}
.install a {
padding:0.2em 0.5em;
border:1px solid #ddd;
-moz-border-radius:15px;
-webkit-border-radius:15px;
border-radius:15px;
text-decoration: none;
font-size:1.5em; color:#666666;
background-color:#F0F0F0;
}
.install a:hover {
background-color:#DDDDDD;
}
<?php
/*
* Template for Apps
*/
$app=$_['app'];
?>
<h1><?php echo $app["name"]; ?></h1>
<?php echo('<span class="type">'.$app['typename'].'</span>'); ?><br />
<span class="date"><?php echo OC_UTIL::formatdate($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 />
<?php echo('<a class="description" href="'.$app["detailpage"].'">read more</a><br />'); ?>
</td>
<td width="1" valign="top" class="install"><a href="">INSTALL</a></td>
</tr>
</table>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment