Files
Mozilla/mozilla/webtools/addons/author.php
mike.morgan%oregonstate.edu 1344a3c3b4 Template changes in order to eliminate need for overview.php. Main page is combined, top header is simplified, and navigation for addon view is greatly improved.
git-svn-id: svn://10.0.0.236/trunk@176416 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 23:21:27 +00:00

26 lines
556 B
PHP

<?php
/**
* Author information.
* @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['UserID'] = intval($_GET['id']);
$sql['UserID'] =& $clean['UserID'];
$user = new User($sql['UserID']);
// Assign template variables.
$tpl->assign(
array( 'user' => $user,
'title' => $user->UserName,
'content' => 'author.tpl',
'sidebar' => 'inc/author-sidebar.tpl')
);
?>