var EVOLUTION = new Evolution(); function Evolution() { this.javaBasePath = ''; this.themeID = ''; this.jsMessage = new Message(); this.manager = ''; this.evoManager = null; return this; } Evolution.prototype.setJavaBasePath = function(path) { this.javaBasePath = path; } Evolution.prototype.getJavaBasePath = function() { return this.javaBasePath; } Evolution.prototype.setThemeID = function(id) { this.themeID = id; } Evolution.prototype.getThemeID = function() { return this.themeID; } Evolution.prototype.setManager = function(mgr) { this.manager = mgr; } Evolution.prototype.getManager = function() { return this.manager; } Evolution.prototype.getEvoManager = function() { return this.evoManager; } var EVOLUTION = new Evolution(); EVOLUTION.setJavaBasePath('/learning/evsfiles'); EVOLUTION.setThemeID('default'); EVOLUTION.setManager('content'); function PortalManager() { this.manager = 'portal'; this.tocServlet = '' this.storeName = 'portal'; this.txtDirection = 'ltr'; return this; } PortalManager.prototype.init = function() { } PortalManager.prototype.finish = function() { } PortalManager.prototype.getManager = function() { return this.manager; } var MANAGER = new PortalManager(); function Message() { this.label_ = "Label:"; this.msg_medianotexist = "This object does not exist. Would you like to create a new media object?"; this.msg_replacealttext = "Override existing alternate text?"; this.msg_medianoimportright = "This object does not exist. You do not have permission to create this object."; this.msg_invalidguid = "Invalid GUID. Please enter a valid GUID."; this.msg_invalidguidformat = "Invalid GUID Format. Please enter a valid GUID using the correct format."; this.msg_invalidguidfmt = "Invalid GUID Format."; this.msg_errorsaveobject = "There was an error saving this object. Please correct the error and try again."; this.msg_importclipboard = "Are you sure you want to import clipboard information?"; this.msg_domainmodified = "The domain list has been modified. You must save the list before you can export it."; this.msg_clickclosewindow = "Click here to close this window."; this.msg_datainvalid = "Data is invalid."; this.msg_duplicateparam = "Cannot have duplicate custom parameter!"; this.msg_selectfile = "Please select a file."; this.msg_selectzipfile = "Please enter a zip file in Bulk Mode."; this.msg_enterlabel = "Please enter a label."; this.msg_invalidfile = "Please select a valid file."; this.msg_idfuncempty = "The Id Function field cannot be empty!"; this.msg_resetfuncrequired = "The Reset function field is required if the number of tries is greater than one!"; this.msg_imageusedtwice = "You may only use each image once. The same image may not be used in more than one match."; this.msg_matchnotvalid = "The match entered is not valid. Please enter another."; this.msg_objectused = "The object is being used in a match. Are you sure you want to delete this item?"; this.msg_deleteconfirm = "Are you sure you want to delete this item?"; this.msg_selectvalidfield = "Please select a valid field!"; this.target_ = "Target:"; this.msg_requiredfield = "This is a required field. Please enter a value."; this.msg_cannotsearchurl = "Cannot search for URL."; this.msg_selectimage = "Please select an image."; this.launchinnewwindow = "Launch in New Window"; this.label = "Label"; this.type_ = "Type:"; this.service_ = "Service:"; this.service_http = "http"; this.service_ftp = "ftp"; this.service_mailto = "mailto"; this.order = "Order"; this.weight = "Weight"; this.correct = "Correct"; this.answer_ = "Answer:"; this.media_ = "Media:"; this.browseformedia = "Browse for Media"; this.feedback_ = "Feedback:"; this.title_ = "Title:"; this.position_ = "Position:"; this.vertical_ = "Vertical:"; this.horizontal_ = "Horizontal:"; this.text_ = "Text:"; this.msg_entervalue = "Please enter a value."; this.msg_selectvalue = "Please select a value."; this.msg_selectoption = "Please select an option."; this.msg_select1toption = "Please select at least one option."; this.msg_entervalue2 = "Please enter the second value."; this.msg_numberrequired = "A whole number or a decimal is required."; this.msg_enternumber2 = "Please enter a number or decimal in the second value field."; this.tab_metadata = "Metadata"; this.tab_task = "Task"; this.tab_path = "Path"; this.allitems = "All Items"; this.tablename = "Table Name"; this.property = "Property"; this.operator = "Operator"; this.groupname = "Group Name"; this.tagname = "Tag Name"; this.msg_addcriteria = "Please add new criteria."; this.msg_valueistoolong = "Value is too long."; this.msg_deletefilter = "Delete filter?"; this.oper_logic_and = "and"; this.oper_logic_or= "or"; this.oper_equals = "equals"; this.oper_contains = "contains"; this.oper_isgreaterthan = "greater than"; this.oper_islessthan = "less than"; this.oper_equals = "equals"; this.oper_any = "any"; this.oper_all = "all"; this.oper_isbetween = "between"; this.oper_lessthanorequal = "less than or equal to"; this.oper_greaterthanorequal = "greater than or equal to"; this.msg_criteria_new = "new filter criteria (click edit to add values)"; this.msg_criteria_general = "the %1% of the %2% %3% %4%"; this.msg_criteria_taskall = "%1% of the %2% of the Task for the %3% is %4%"; this.msg_criteria_task = "the %1% of the Task for the %2% %3% %4%"; this.msg_criteria_path = "the %1% is %2%"; this.msg_criteria_metadata = "the %1% metadata tag in the %2% metadata group of the %3%"; this.msg_criteria_between = "%1% %2% and %3%"; this.msg_criteria_obj = "and the %1% equals %2%"; this.warning = "Warning"; this.information = "Information"; this.error = "Error"; this.msg_errorhtml = "Error(s) encountered in HTML."; this.msg_fixallwarning = "Fix all remaining HTML warnings on current tab?"; this.msg_selectobjfirst = "You must select an object first."; this.msg_labelistoolong = "The selected object label is too long."; this.msg_objcheckedout = "The object you are trying to modify is checked out by another user."; this.msg_objlocked = "The object you are trying to modify is locked by another user."; this.msg_createobjthislevel = "You cannot create that type of object at this level."; this.msg_waitcontentexported = "Please wait while the content is being exported."; this.msg_confirmsaving = "You made changes without saving them. Do you want to save them now?"; this.msg_fieldnotcomplete = "Required fields not complete."; this.msg_nothingmodified = "Nothing has been modified."; this.msg_selectreviewfirst = "You must select a review comment first."; this.msg_noeditor = "No editor available."; this.msg_notagsavailable = "No Tags Available"; this.msg_selectownerfortask = "You must select at least one owner for this task."; this.msg_oneownerfortask = "There should be exactly only one owner for this task."; this.msg_deleteitem = "Cannot delete item."; this.msg_additem = "Cannot add new items."; this.truefalse_true = "True"; this.truefalse_false = "False"; this.msg_correctanswer = "Questions must have at least one correct answer."; this.msg_matchalreadyexists = "The match already exists. Please select another match."; this.msg_deletematchconfirm = "This object is being used in a match. Are you sure you want to delete it?"; this.top = "Top"; this.bottom = "Bottom"; this.middle = "Middle"; this.left = "Left"; this.right = "Right"; this.center = "Center"; this.msg_labelreqfield = "Label is a required field."; this.msg_targetreqfield = "Target is a required field."; this.msg_correctanswer1 = "Question must have only one correct answer."; this.msg_selectitem = "No item selected."; this.customdictionaryeditor = "Custom Dictionary Editor"; this.notindictionary_ = "Not in Dictionary:"; this.loading_ = "loading..."; this.msg_entervalidnumber = "Please enter a valid number."; this.msg_entervaliddate = "Please enter a valid date.."; this.msg_valueistoobig = "Value is too big."; this.msg_valueistoosmall = "Value is too small."; this.msg_cannotswitchtab = "Cannot switch tab until you save."; this.msg_cannotaddprotocol = "Please remove protocol from the URL."; this.msg_enterenglishchars = "You must enter a valid file name including English characters only."; this.msg_entervalidfilename = "You must enter a valid file name"; this.msg_filetypenotsupported = "This file type is not supported"; this.msg_addsimulation = "Please add a simulation."; this.msg_enteranswer = "All answers must be input."; this.sunday = "Sunday"; this.monday = "Monday"; this.tuesday = "Tuesday"; this.wednesday = "Wednesday"; this.thursday = "Thursday"; this.friday = "Friday"; this.saturday = "Saturday"; this.january = "January"; this.february = "February"; this.march = "March"; this.april = "April"; this.may = "May"; this.june = "June"; this.july = "July"; this.august = "August"; this.september = "September"; this.october = "October"; this.november = "November"; this.december = "December"; return this; }