Files
Mozilla/mozilla/webtools/addons/public/htdocs/addon.php
mike.morgan%oregonstate.edu d496eb2529 Caching touch-up.
git-svn-id: svn://10.0.0.236/trunk@190638 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 01:15:40 +00:00

27 lines
609 B
PHP

<?php
/**
* Addon summary page. Displays a top-down view of all Addon properties.
*
* @package amo
* @subpackage docs
*/
// Get the int value of our addon ID.
$clean['ID'] = intval($_GET['id']);
$sql['ID'] =& $clean['ID'];
startProcessing('addon.tpl',$clean['ID'],$compileId);
require_once('includes.php');
// Create our AddOn object using the ID.
$addon = new AddOn($sql['ID']);
// Assign template variables.
$tpl->assign(
array( 'addon' => $addon,
'title' => $addon->Name,
'content' => 'addon.tpl',
'sidebar' => 'inc/addon-sidebar.tpl')
);
?>