Bob Hutchinson wrote:

I have written some code to enable sorting by column in domains.php, records.php and users.php

It patches the above three files and their respective templates, list_domains.tpl, list_records.tpl and show_users.tpl

It consists of a patch file, a README, install.sh and a couple of small images

It should patch cleanly on vegadns-0.9b1

unpack the tarball in the application root, run ./install.sh and you're done.

It can be found at
http://midwales.com/downloads/vegadns/vegadns-0.9b1-sortpatch-0.1.tar.gz

Comments/flames/LOL invited



Thanks very much for the code. There were a few problems with it, such as numerous undefined indexes (if(! $_REQUEST['sortway']) is no longer a valid test of an existing index), and some of the logic was pretty excessive. Also, it was not available to to all of the pagination code. I rewrote much of it, and it seems pretty complete now.


I have posted 0.9.5 www.vegadns.org which includes my version of this code, along with fixes for the IE/PNG problems reported earlier this week. Please help test, and report back to the list.

Cheers,

Bill Shupp

Reply via email to