This is for v1.4.13, btw.
Just unzip and and change catmgr.php in the address bar to catmgr2.php. I had some PHP errors earlier trying to do this, so I thought this would be nice for those with huge Galleries (2.0 MB+) not having to wait for 20-25 secs. while the list of categories opens up.
If you want to manually do this, delete everything after
pageheader($lang_catmgr_php['manage_cat']);
echo <<<EOT
<script language="javascript" type="text/javascript">
function confirmDel(catName)
{
return confirm("{$lang_catmgr_php['confirm_delete']} (" + catName + ") ?");
}
</script>
EOT;
and before
starttable('100%', $lang_catmgr_php['update_create'], 2);
$lb = cat_list_box($current_category['parent'], $current_category['cid'], false);
$op = $current_category['cid'] ? 'updatecat' : 'createcat';
if ($CONFIG['show_bbcode_help']) {$description_help .= ' '. cpg_display_help('f=index.html&base=64&h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
Some of the functions might be able to be removed without any errors --- I just didn't want to have to guess which ones weren't needed. :D