Files
Mozilla/mozilla/webtools/addons/addon.php
mike.morgan%oregonstate.edu 10304bc3ad css/base/template.css
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
2005-07-19 00:22:46 +00:00

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')
);
?>