mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
27 lines
594 B
PHP
27 lines
594 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,
|
|
'title' => $addon->Name,
|
|
'content' => 'addon.tpl',
|
|
'sidebar' => 'inc/addon-sidebar.tpl')
|
|
);
|
|
?>
|