Quote:
Originally posted by TWTCommish
Here we go. Attached is the new admin_glossary.php file. It create the aforementioned headers for each letter/number/whatever, and even features a handy drop-down menu to quickly jump to various areas, as I'm sure some glossaries will get quite large!
I'll also be updating files.zip with this new file. Enjoy.
|
Careful with this new admin_glossary.php
Under the edit section, the pulldown to go to letters has an incorrect link. It has delete as it's action, not edit. Change the two places in the edit section to 'edit'.
Original within the edit section (starts at line 66):
PHP Code:
$menu_text = '<option value="admin_glossary.php?action=delete&s='.$session[sessionhash].'">-----</option>';
for ($i = 0; $i < count($menu_array); $i++) {
$menu_text .= '<option value="admin_glossary.php?action=delete&s='.$session[sessionhash].'#'.$menu_array[$i].'">'.$menu_array[$i].'</option>';
}