added tab styles for overview.php
addon.php
created file to pass addon information to addon.tpl, partially done
lib/addon.class.php
class for gathering addon information, all inclusive -- it will make it much easier in the long run
tpl/addon.tpl
general template for an addon summary - equivalent to "moreinfo.php"
git-svn-id: svn://10.0.0.236/trunk@176231 18797224-902f-48f8-a5cc-f745e15eee43
25 lines
517 B
PHP
25 lines
517 B
PHP
<?php
|
|
/**
|
|
* Addon summary page. Displays a top-down view of all Addon properties.
|
|
*
|
|
* @package amo
|
|
* @subpackage docs
|
|
*/
|
|
|
|
// Arrays to store clean inputs.
|
|
$clean = array(); // General array for verified inputs.
|
|
$sql = array(); // Trusted for SQL.
|
|
|
|
// Get our addon ID.
|
|
$clean['ID'] = intval($_GET['id']);
|
|
$sql['ID'] =& $clean['ID'];
|
|
|
|
$addon = new AddOn($sql['ID']);
|
|
|
|
// Assign template variables.
|
|
$tpl->assign(
|
|
array( 'addon' => $addon,
|
|
'content' => 'addon.tpl')
|
|
);
|
|
?>
|