I have vb3.0.3, I tried to place the codes in admincp/index.php and it is NOT working. It also does not look right.
Please help.
$printhr = true;
construct_nav_option("Add Category", "dl_admin.php?do=add", "<br />");
construct_nav_option("Edit Category", "dl_admin.php?do=updatecat", "<br />");
construct_nav_option("Upload File", "dl_admin.php?do=addfile", "<br />");
construct_nav_option("Edit File", "dl_admin.php?do=updatefile", "<br />");
construct_nav_option("Delete Comments", "dl_admin.php?do=comments", "<br />");
construct_nav_group("Downloads", "<hr />");
if (can_administer('canadminusers'))
{
print_label_row($vbphrase['quick_user_finder'], '
<form action="user.php" method="post" style="display:inline">
<input type="hidden" name="s" value="' . $session['sessionhash'] . '" />
<input type="hidden" name="do" value="find" />
<input type="text" class="bginput" name="user[username]" size="30" tabindex="1" />
<input type="submit" value=" ' . $vbphrase['find'] . ' " class="button" tabindex="1" />
<input type="submit" class="button" value="' . $vbphrase['exact_match'] . '" tabindex="1" name="user[exact]" />
</form>
', '', 'top', NULL, false
);
}
Thanks,
|