Menu

#16 Search zones by name

open
nobody
5
2008-06-04
2008-06-04
No

Greetings.

When maintaining several zones, paging to find the right one is a drag.
The attached files (replacing then files with the same name) add a search box to the smbind interface, which allows to retrieve zones by name substring.

Cheers,
alf

Discussion

  • Alessandro Forghieri

    files required for the search box

     
  • blentz

    blentz - 2008-06-16

    Logged In: YES
    user_id=997838
    Originator: NO

    This sounds like a great idea, I have to check out your patch soon.

     
  • Nobody/Anonymous

    Logged In: NO

    Works great. Made a few small changes and adapted to search records on the records list page, too.

     
  • Bjorn

    Bjorn - 2009-05-21

    This patch is invaluable! thank you.

    I have found one problem with this patch, it does not behave well with pagination. Luckily the fix is quite simple, all I had to do was edit zoneread.php and insert the following near the end.

    if (isset($_GET['zname'])) {
    $smarty->assign("page_root", "./zonelist.php?zname=" . $_GET['zname'] . "&");
    }
    else {
    $smarty->assign("page_root", "./zonelist.php?");
    }

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.