Taken from the original, older, file info:
Dave G
Contribution: Improved Attributes Controller
Version: 1.0
Designed for: Zen Cart v1.3 +
Designed by: Neville Kerr (forum ID: bunyip)
License: under the GPL - See attached License for info.
Support: Only given via the forums, please.
========================================================
WHAT DOES THIS MODULE DO?
This module changes the way the dropdown select fields work on the Attributes Controller Page. The content of the second dropdown (option values) is now dependant upon the content of the first dropdown (option names), so you will only see values that apply to the selected option name. Javascript is used to avoid having the page reload when you make that selection in the first box.
Here's the major time saver: the second box (option values) allows multiple selections! So you can add a whole bunch of option values with a single page load!
One proviso on that though: all the other selections on the page (attribute price, weight, default, etc) are used for each option value that you have selected. So for example if you have entered a price of +2.00, it's used for every option value that you had selected in that second drop-down box.
========================================================
INSTALLATION
Zen Cart versions 1.2.7 or later: all you need to do is upload the included attributes_controller.php file to your admin folder. There are no other changes to make.
Zen Cart versions 1.2.6 or earlier: upload the included attributes_controller.php file to your admin folder, and then copy the function below to the end of your admin/functions/html_output.php file (paste it into the line immediately before the last ?> ).
function zen_hide_session_id() {
global $session_started;
if ( ($session_started == true) && defined('SID') && zen_not_null(SID) ) {
return zen_draw_hidden_field(zen_session_name(), zen_session_id());
}
}
========================================================
TO UNINSTALL
Simply grab a fresh copy of admin/attributes_controller.php from your Zen Cart installation zip file and upload it to your server
========================================================
History:
2006-05-25 - v1.0 Initial Release
========================================================
File Modifications:
This module overwrites an existing file that doesn't have an over-ride capability: make backup copies just in case, and keep it in mind for when you are next upgrading your Zen Cart...
admin/attributes_controller.php