Influencer/UNplugged — pull request #9 by overbyrn (2012-11-29 12:25:20+00:00)
Title: Enhancement: disable (grey out) sab config form fields whilst sabnzbd is running

This PR updates sabnzbd.php such that form fields (eg. installdir, datadir, user etc) are all set to disable (greyed out) whilst sabnzbd is running. Prevents user confusion as to when they are allowed to type into the edit fields.

Change essentially is made up of three things;
1) all field arguements have been given an "id" tag
2) checkruning javascript function references field arguments by their id and sets disabled when sabnzbd is running
3) validateform javascript function changes disabled state upon form submission. needed as fields set to disabled do not pass their values upon form submission so we need to change them back to enabled as otherwise rc script will not see them as parameters.