$count) { addnav(array(" ?%s - (%s modules)", $cat, $count), "modules.php?cat=$cat"); } $cat = httpget('cat'); if ($op==""){ if ($cat) { $sortby=httpget('sortby'); if (!$sortby) $sortby="installdate"; $order=httpget('order'); $tcat = translate_inline($cat); output("`n`b%s Modules`b`n", $tcat); $deactivate = translate_inline("Deactivate"); $activate = translate_inline("Activate"); $uninstall = translate_inline("Uninstall"); $reinstall = translate_inline("Reinstall"); $strsettings = translate_inline("Settings"); $strnosettings = translate_inline("`\$No Settings`0"); $uninstallconfirm = translate_inline("Are you sure you wish to uninstall this module? All user preferences and module settings will be lost. If you wish to temporarily remove access to the module, you may simply deactivate it."); $status = translate_inline("Status"); $mname = translate_inline("Module Name"); $ops = translate_inline("Ops"); $mauth = translate_inline("Module Author"); $inon = translate_inline("Installed On"); $installstr = translate_inline("by %s"); $active = translate_inline("`@Active`0"); $inactive = translate_inline("`\$Inactive`0"); rawoutput("
"); } else { $sorting=httpget('sorting'); if (!$sorting) $sorting="shortname"; $order=httpget('order'); output("`bUninstalled Modules`b`n"); $install = translate_inline("Install"); $mname = translate_inline("Module Name"); $ops = translate_inline("Ops"); $mauth = translate_inline("Module Author"); $categ = translate_inline("Category"); $fname = translate_inline("Filename"); rawoutput("