Permalink
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (16 sloc) 467 Bytes
<?php
include("include/init.php");
loadlib("api_keys");
features_ensure_enabled("api");
login_ensure_loggedin();
flickr_backups_ensure_registered_user($GLOBALS['cfg']['user']);
$more = array();
if ($page = get_int32("page")){
$more['page'] = $page;
}
$rsp = api_keys_for_user($GLOBALS['cfg']['user'], $more);
$keys = $rsp['rows'];
$GLOBALS['smarty']->assign_by_ref("keys", $keys);
$GLOBALS['smarty']->display("page_api_keys.txt");
exit();
?>