/[Apache-SVN]
ViewVC logotype

Revision 1788944


Jump to revision: Previous Next
Author: jfthomps
Date: Mon Mar 27 15:18:18 2017 UTC (7 years, 1 month ago)
Changed paths: 4
Log Message:
VCL-1029 - add a section for managing affiliations to Site Configuration

siteconfig.php:
-modified generalOptions: added affiliation section to top of left column
-modified timeSourceHTML, TimeVariable::getHTML, AffilTextVariable::getHTML, GlobalSingleVariable::getHTML, and GlobalMultiVariable::getHTML: changed object for siteconfigdesc from span to div
-modified GlobalMultiVariable: added $addCBextra, $deleteCBextra, and $saveCBextra class variables
-modified GlobalMultiVariable::__construct: set $type as $this->type; set default values for $addCBextra, $deleteCBextra, and $saveCBextra
-modified GlobalMultiVariable::getHTML: added a div wrapper for everything after the h3 title with a class name of GMV{$this->domidbase}wrapper
-modified GlobalMultiVariable::AJaddConfigMultiVal: changed extrafunc value from hard coded "addNewMultiValCBextra" to "$this->addCBextra"
-modified GlobalMultiVariable::AJdeleteMultiSetting: changed call to deleteVariable to wrapper that calls $this->deleteValue that also checks for return value
-added GlobalMultiVariable::deleteValue
-modified GlobalMultiVariable::AJupdateAllSettings: if call to $this->validateValue returns false, also check for function having set a specific error message; added check for duplicate values being submitted; added check for nothing being changed and if so, return 'noaction' status; changed call to setVariable to call $this->updateValue instead; added extrafunc to returned data
-added GlobalMultiVariable::updateValue
-added Affiliations class that inherits from GlobalMultiVariable


states.php: added $actions['classmapping']['affiliations'] = 'siteconfig';

siteconfig.js:
-modified generalSiteConfigCB: added section to handle 'noaction' response status
-modified GlobalMultiVariable.prototype.addNewMultiValCBextra: added missing semicolon after var func = this.deleteMultiVal
-added GlobalMultiVariable.prototype.saveCBextra
-added affiliation class and instantiation

siteconfig.css:
-modified ".configwidget h3": set margin-bottom to 0
-modified .siteconfigdesc: set top padding to 5px
-added .GMVaffiliationwrapper
-added #siteconfigconfirmoverlay
-added #affiliationconfirmbox
-added #affilconfirmname
-added #affilconfbox-table
-added #affilconfbox-cell


Changed paths

Path Details
Directoryvcl/trunk/web/.ht-inc/siteconfig.php modified , text changed
Directoryvcl/trunk/web/.ht-inc/states.php modified , text changed
Directoryvcl/trunk/web/css/siteconfig.css modified , text changed
Directoryvcl/trunk/web/js/siteconfig.js modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26