paginator_b64 = false; // don't base64 encode // define vars var _charset = 'utf-8'; var _twoletterlangid = 'en'; // define messages var jsNothingSelected = 'You did not select any items. Please first check the box(es) next to the item(s) you wish to perform this operation on.'; var jsNothingFound = 'There are no items to choose from.'; var jsNothingSelectedButContinue = 'You did not select any items, so this action will be performed on all items!' + '\n\n' + 'If you wish to select specific items first, then please cancel this action, then check the box(es) next to the item(s) you wish to perform this operation on.' + '\n\n' + 'Are you sure you wish to continue?' ; // global strings (used everywhere) var replaceAlert1 = 'Please type in the phrase to replace...'; var replaceAlert2 = 'You did not provide a phrase to replace. Type it in now...'; var replaceAlert3 = 'You did not provide within which areas should this text be replaced.\n\nWould you like to replace text \'%s\' with text \'%s\' EVERYWHERE?'; var versionsNotFound = 'No versions found.'; var jsAllItemsWillBeDeleted = 'All items will be deleted.'; var jsAllItemsWillBeClosed = 'All items will be closed.'; var jsTitleAdd = '» Add'; var jsTitleEdit = '» Edit'; var jsTitleDelete = '» Delete'; var jsTitleVersion = 'Past Versions'; var jsEdit = 'Edit'; var jsDelete = 'Delete'; var jsRemove = 'Remove'; var jsAdd = 'Add'; var jsUpdate = 'Update'; var jsSave = 'Save'; var jsImport = 'Import'; var jsNext = 'Next'; var jsOK = 'OK'; var jsCancel = 'Cancel'; var jsBack = 'Back'; var jsContent = 'Content'; var jsSetAsDefault = 'Set as Default'; var jsHtmlEditor = 'HTML Editor'; var jsTextEditor = 'Text Editor'; var jsNotAvailable = 'N/A'; var jsNone = 'None'; var jsDefault = 'Default'; var jsSubmit = 'Submit'; var jsReset = 'Reset'; var jsBranding = 'Branding'; var jsPrint = 'Print'; var jsForward = 'Forward'; var jsOptions = 'Options'; var jsUnknown = 'Unknown'; var jsCheck = 'Check'; var jsOrderNotSaved = 'You have not saved your order changes.'; var jsSearching = 'Searching...'; var jsSorting = 'Sorting...'; var jsFiltering = 'Filtering...'; var jsSaving = 'Saving...'; var jsDeleting = 'Deleting...'; var jsRemoving = 'Removing...'; var jsReplacing = 'Replacing...'; var jsWorking = 'Working...'; var jsReverting = 'Reverting...'; var jsConnecting = 'Connecting...'; var jsImporting = 'Importing...'; var jsChecking = 'Checking...'; var jsInstalling = 'Installing...'; var jsUpdating = 'Updating...'; var jsResetting = 'Resetting...'; var jsSending = 'Sending...'; var jsStarting = 'Starting...'; var jsResuming = 'Resuming...'; var jsPausing = 'Pausing...'; var jsStopping = 'Stopping...'; var jsRestarting = 'Restarting...'; var jsEnabling = 'Enabling...'; var jsDisabling = 'Disabling...'; var jsFetching = 'Fetching...'; var jsCounting = 'Counting...'; var jsAdding = 'Adding...'; var jsApproving = 'Approving...'; var jsWait4AWhile = 'Please wait, this can take a while.'; var jsFilteringOn = 'on'; var jsFilteringBetween = 'between'; var jsFilteringAnd = 'and'; var jsOptionEdit = 'Edit'; var jsOptionDelete = 'Delete'; var jsOptionView = 'View'; var jsOptionReply = 'Reply'; var jsOptionPublic = 'Public'; var jsOptionRestore = 'Restore'; var jsOptionPreview = 'Preview'; var jsOptionDownload = 'Download'; var jsOptionTest = 'Test'; var jsOptionRun = 'Run'; var jsOptionResume = 'Resume'; var jsOptionContinue = 'Continue'; var jsOptionRestart = 'Restart'; var jsOptionPause = 'Pause'; var jsOptionStop = 'Stop'; var jsOptionReports = 'Reports'; var jsOptionLog = 'Log'; var jsOptionExport = 'Export'; var jsOptionHTML = 'HTML'; var jsOptionXML = 'XML'; var jsOptionEnable = 'Enable'; var jsOptionDisable = 'Disable'; var jsOptionApprove = 'Approve'; var jsOptionBlock = 'Block'; var jsCreated = 'Created: '; var jsModified = 'Modified: '; var messageLP = 'This will cancel all the changes you might have made.'; var jsYes = 'Yes'; var jsNo = 'No'; var jsNoGroup = 'No Group'; var decimalDelim = '.'; var commaDelim = ','; // define strings var jsAreYouSure = 'Are You Sure?'; var jsAPIfailed = 'Server call failed for unknown reason. Please try your action again...'; var jsLoading = 'Loading...'; var jsResult = 'Changes Saved.'; var jsError = 'Error Occurred!'; // Users var jsUserDeleteMessage = 'This operation will delete %s (%s %s); are you sure you want to do this?'; var jsUserDeleteGlobal = 'This operation will permanently delete this user. If they are used in any other product that shares your authentication table, they will be deleted there as well. Are you sure you want to do this?'; var jsUserImport = 'Import'; var jsUserDelete = 'Delete'; var jsUserFormPasswordBlank = 'Password field cannot be left blank.'; var jsUserFormPasswordMismatch = 'The two passwords do not match; you should re-type them and try again.'; var jsUserFormValidationFail = 'To add or change a user, you must ensure that they have at least a username, password and group.'; var jsUserFormValidationUserBadchars = 'A username can only have lower-case letters and/or numbers, and may not have any spaces in it.'; var jsUserFormMissingGroups = 'You need to select at least one group for this user to belong to.'; // AC_GLOBAL CONTEXTS var syncEnterTitle = 'Please type in the sync name...'; var syncMissingTitle = 'You did not provide a sync name. Type it in now...'; var syncEnterUser = 'Please type in the database username...'; var syncMissingUser = 'You did not provide a database username. Type it in now...'; var syncEnterHost = 'Please type in the database host name...'; var syncMissingHost = 'You did not provide a database host name. Type it in now...'; var syncNothingChanged = 'You did not change anything. Do you wish to save this sync anyway?'; var syncMissingRelid = 'You did not select a sync destination. Please select it first...'; var syncMissingTable = 'Please select a table you wish to sync with first.'; var syncMissingQuery = 'You did not enter a proper (SELECT) database query. Please write down the query or select a table to sync...'; var syncDuplicateMapping = 'You cannot sync the same field twice. Please select different destinations for every mapped field.'; var syncMissingMapping = 'You did not map a required field %s. Please select a field in external database for it.'; var syncCustomQuery = 'Custom Query'; var syncShowTables = 'Show Tables'; var syncHideTables = 'Hide Tables'; var syncShowSynced = 'Show Synced'; var syncHideSynced = 'Hide Synced'; var syncShowFailed = 'Show Failed'; var syncHideFailed = 'Hide Failed'; var syncTitleRun = 'Initiating Synchronization'; var syncTitleTest = 'Testing Synchronization'; var syncStartRun = 'Start Sync'; var syncStartTest = 'Start Test'; var importMissingRelid = 'You did not select an import destination. Please select it first...'; var importMissingText = 'You did not enter any data into a text box. Please add data first...'; var importMissingFile = 'You did not upload a file to import. Please do that first...'; var importMissingMapping = 'You did not map a required field %s. Please select a column for it.'; var importDuplicateMapping = 'You cannot map the same field twice. Please select different destinations for every mapped field.'; var importSuccessfulMapping = 'Mapping successful.'; var installerFoundTables = 'Installer has found a version of %s already installed.'; var installerFoundTablesOptions = '\n\nYour options are:\n1) Please enter a different database information and click NEXT.\n2) Move/Backup your previous database data and click NEXT\n3) Install can remove your old installation for you.\n\n\nDo you want installer to remove found installation?'; var installerRemoveTablesConfirm = 'THIS WILL REMOVE TABLES FROM THE DATABASE!\n\n Are you sure you wish to continue?'; var installerAuthTableMissing = 'Table `acp_globalauth` was not found on this connection. Please choose another.'; var strPersCustomFields = 'Custom Fields'; var strPersGlobalFields = 'Global Custom Fields'; var strPersSystemTags = 'System Personalization Tags'; var syncConfDeleteSingle = 'Are you sure you want to delete this sync job?'; var syncConfDeleteMulti = 'Are you sure you want to delete the following sync jobs?'; var editorConfirmSwitch = 'Do you wish to convert existing text to other format?'; var editorPersonalizeTitle = 'Insert Personalization'; var editorActiveRSSTitle = 'Insert RSS Feed'; var editorTemplateTitle = 'Insert Template'; var editorConditionalTitle = 'Insert Conditional Content'; var editorConditionalText = 'Insert Content Here'; var editorConditionalElseText = 'Insert Alternative Content Here'; var jsErrorMailerBarMessage = 'Unexpected Error Occurred.'; var jsAPIErrorAuthMessage = 'You are not authorized to access this file'; // add public side strings here var jsSimilarArticles = 'Similar Articles'; var jsRegisterNoUser = 'Please enter a username'; var jsRegisterNoEmail = 'Please enter an email address'; var jsRegisterNoPassword = 'Please enter your password on both lines'; var jsRegisterPasswordMismatch = 'Your passwords did not match'; var jsRegisterNoImgverify = 'Please enter the image verification code'; var strings_favorite_added = 'This article was successfully added to your favorites list.'; var strings_favorite_removed = 'This article has been removed from your favorites list.'; var strings_user_email_delete = 'Are you sure you want to delete this email address?'; var livesearch_str_found = 'KB Article(s) May Answer Your Question.'; var livesearch_str_view = 'View Articles'; var livesearch_str_matches = 'Possible Article Matches'; var livesearch_str_show = 'Show Articles'; var livesearch_str_hide = 'Hide Articles'; var ticket_str_post_nodata = 'Ticket post data not found.'; var jsAdminsTicketUpdated = 'This ticket has been updated, it has %s new post(s)! '; var jsAdminsNewPosts = 'Update ticket'; var search_noquery = 'Please provide a search phrase';var datetimeformat = "%m/%d/%Y %I:%M %p"; var dateformat = "%m/%d/%Y"; var timeformat = "%I:%M %p"; var ac_js_site = { "id" : 1, "site_name" : "Saratoga Hosting Helpdesk", "lang" : "english", "version" : "3.0.10", "smhost" : "mail.saratogahosting.com", "smuser" : "support@saratogahosting.com", "smport" : 587, "smenc" : 2, "smpop3b4" : 0, "emfrom" : "support@saratogahosting.com", "updatecheck" : 0, "updatedate" : "2010-09-07", "updateversion" : "3.0.6", "t_offset" : 1, "t_offset_min" : 0, "t_offset_o" : "-", "datetimeformat" : "%m/%d/%Y %I:%M %p", "p_link" : "https://www.saratogahosting.com/hd", "stype" : 0, "maxuploadfilesize" : 49, "brand_copyright" : 1, "brand_links" : 1, "brand_editorw" : "100%", "brand_editorh" : "400px", "brand_version" : 0, "brand_demo" : 0, "export_pdf" : 0, "export_htm" : 0, "dateformat" : "%m/%d/%Y", "timeformat" : "%I:%M %p", "general_maint" : 0, "general_maint_message" : "", "general_passprotect" : 0, "general_url_rewrite" : 1, "general_allow_rss" : 0, "design_theme" : "directory", "design_logo_admin" : "", "design_header_html" : null, "design_header_url" : "", "design_footer_html" : null, "design_footer_url" : "", "local_zoneid" : "America/New_York", "local_dst" : 1, "comments_allowed" : 0, "comments_require_approval" : 1, "comments_require_email" : 1, "comments_display_perpage" : 20, "comments_display_perlist" : 20, "comments_display_email" : 0, "comments_display_name" : 1, "comments_notify_address" : "saratogahosting@gmail.com", "comments_allow_html" : 0, "comments_imgverify" : 1, "articles_require_approval" : 1, "articles_display_perpage" : 20, "articles_display_mostviewed" : 0, "articles_display_mostrecent" : 0, "articles_display_mostsimilar" : 5, "articles_display_views" : 0, "articles_display_sdate" : 0, "articles_display_mdate" : 0, "articles_display_author" : 0, "articles_display_id" : 0, "articles_allow_rate" : 0, "articles_allow_print" : 0, "articles_allow_email" : 0, "articles_allow_subscribe" : 0, "articles_allow_favorite" : 1, "articles_email_imgverify" : 1, "articles_subscribe_imgverify" : 1, "articles_contact_imgverify" : 0, "articles_max_attachments" : 6, "articles_create_from_question" : 0, "articles_notify_address" : "", "categories_display_columns" : 6, "categories_article_sort" : "01", "search_default" : "fulltext", "search_ignore" : "and, how, the, or", "search_limit_default" : 10, "admin_editor" : "html", "admin_allow_liveedit" : 1, "admin_public_imgverify" : 0, "admin_public_approval" : 0, "admin_public_notify_address" : "", "admin_public_defgroups" : 2, "admin_public_confirmemail" : 0, "admin_public_registration" : 1, "artnotify_tstamp" : null, "general_allow_rss_kb" : 0, "acpow" : "", "em_bounce" : "bounce@saratogahosting.com", "general_public" : 1, "general_require_https" : 1, "general_attachments_location" : "db", "general_user_registration" : 1, "general_user_hidelogin" : 0, "general_user_optin" : 0, "general_user_autosignup" : 0, "admin_spamfilter" : 0, "spam_threshold" : 90, "public_captcha4submit" : 0, "public_captcha4signup" : 1, "stream_set_blocking" : 0, "log_error_source" : 0, "ticket_post_order" : "asc", "ticket_id_type" : "rnd", "ticket_post_maxfiles" : 30, "ticket_status_new" : 1, "ticket_status_replyuser" : 7, "ticket_status_replyadmin" : 3, "ticket_default_department" : 1, "is_trial" : 0, "is_free" : false, "live_limit" : 0, "ishd" : true, "em_from" : "support@saratogahosting.com", "pspell" : false, "gd" : true, "zip" : true, "adminsMax" : 9999999, "trial" : false, "limited" : false, "free" : false, "d_h" : "www.saratogahosting.com", "d_r" : "/home/hosting/public_html/hd/admin", "p_link_precname" : "https://www.saratogahosting.com/hd", "p_link2" : "https://www.saratogahosting.com/hd", "p_link_predesk" : "https://www.saratogahosting.com/hd" }; var ac_js_admin = { "id" : 0, "username" : null, "first_name" : "", "last_name" : "", "email" : "", "last_login" : null, "sourceid" : 0, "sourceupdated" : null, "productset" : null, "absid" : 0, "parentid" : 0, "companyid" : 0, "approved" : 0, "bio" : null, "cdate" : null, "avatar" : null, "lang" : "english", "t_offset" : 0, "t_offset_min" : 0, "t_offset_o" : "+", "local_zoneid" : "America/Chicago", "local_dst" : 0, "htmleditor" : 1, "autoupdate" : 120, "autosave" : 60, "signature" : null, "defaultviewid" : 0, "tickets_per_page" : 20, "viewnamesort" : "A", "fullname" : "", "groups" : { 1 : 1 }, "categories" : { 1 : 1, 2 : 2, 22 : 22, 23 : 23, 24 : 24, 3 : 3, 4 : 4, 5 : 5, 6 : 6, 7 : 7, 8 : 8, 9 : 9, 10 : 10, 11 : 11, 12 : 12, 13 : 13, 15 : 15, 18 : 18, 19 : 19, 21 : 21, 25 : 25, 26 : 26, 27 : 27, 29 : 29, 28 : 28, 30 : 30, 31 : 31 }, "p_admin" : 0, "pg_category_add" : 0, "pg_category_edit" : 0, "pg_category_delete" : 0, "pg_category_sync" : 0, "pg_article_add" : 0, "pg_article_edit" : 0, "pg_article_delete" : 0, "pg_article_approve" : 0, "pg_article_import" : 0, "pg_comment_add" : 1, "pg_comment_edit" : 0, "pg_comment_delete" : 0, "pg_comment_approve" : 0, "pg_term_add" : 0, "pg_term_edit" : 0, "pg_term_delete" : 0, "pg_index_add" : 0, "pg_index_edit" : 0, "pg_index_delete" : 0, "pg_user_add" : 0, "pg_user_edit" : 0, "pg_user_delete" : 0, "pg_group_add" : 0, "pg_group_edit" : 0, "pg_group_delete" : 0, "pg_reports" : 0, "email_additional" : { }, "pg_user_fields" : 0, "pg_user_public" : 0, "pg_department_add" : 0, "pg_department_edit" : 0, "pg_department_delete" : 0, "pg_department_fields" : 1, "pg_emailusers_send" : 0, "pg_emailusers_delete" : 0, "pg_task_add" : 0, "pg_task_edit" : 0, "pg_task_delete" : 0, "pg_calendar_add" : 0, "pg_calendar_edit" : 0, "pg_calendar_delete" : 0, "pg_troubleshooter_add" : 0, "pg_troubleshooter_edit" : 0, "pg_troubleshooter_delete" : 0, "pg_filelibrary_add" : 0, "pg_filelibrary_edit" : 0, "pg_filelibrary_delete" : 0, "pg_savedresponse_add" : 0, "pg_savedresponse_edit" : 0, "pg_savedresponse_delete" : 0, "pg_ticket_add" : 1, "pg_ticket_edit" : 0, "pg_ticket_edit_details" : 1, "pg_ticket_delete" : 0, "pg_ticket_edit_spam" : 0, "pg_ticket_edit_assign" : 0, "pg_ticket_edit_unassign" : 0, "pg_ticket_edit_merge" : 1, "pg_ticket_edit_split" : 1, "pg_ticket_edit_stick" : 0, "pg_ticket_subscribe" : 0, "pg_ticket_export" : 1, "pg_view_add" : 1, "pg_view_edit" : 1, "pg_view_delete" : 1, "pg_view_user_manage" : 0, "pg_company_add" : 0, "pg_company_edit" : 0, "pg_company_delete" : 0 }; var ac_action = null; var plink = "https://www.saratogahosting.com/hd"; var glossary = ""; var glossary_s = ""; var category_aorder = "01"; var ac_js_desk = { "id" : 1, "stringid" : "", "site_name" : "Saratoga Hosting Helpdesk", "p_link" : "https://www.saratogahosting.com/hd\t", "lang" : "english", "general_user_registration" : 1, "sourceid" : 0, "groupid" : 0, "department_show" : 1, "department_list" : 0, "kb_show" : 1, "kb_list" : 0, "troubleshooter_show" : 0, "troubleshooter_list" : 0, "download_show" : 1, "download_list" : 0, "template_htm" : "", "template_css" : "", "startup_custom" : 0, "startup_content" : "kbrecent", "startup_content_title" : "", "startup_content_content" : "", "startup_content_kbcat" : 1, "a_downloads" : 0, "a_troubleshoots" : 1 }; var apipath = "https://www.saratogahosting.com/hd/api.php?did=1"; var kbapipath = "https://www.saratogahosting.com/hd/kb/api.php?did=1"; var acgpath = "https://www.saratogahosting.com/hd/ac_global"; var apppath = "https://www.saratogahosting.com/hd"; //ac_tooltip_init(acgpath); ac_editor_init_mid_object.content_css = ac_js_site.p_link + ac_editor_init_mid_object.content_css; function main_search(text) { if (text != '') { if ( ac_js_site.general_url_rewrite == 1 ) { window.location.href = sprintf(plink + '/kb/search?content=%s', text); } else { window.location.href = sprintf(plink + '/kb/index.php?action=search&content=%s', text); } } else { alert(search_noquery); } } ac_liveedit_onclose = function(id) { return; if (id == "acontent") { // Article content window.setTimeout(function() { main_highlight_def($("article_content"), glossary, "article_highlight"); main_highlight_def($("article_content"), glossary_s, "article_highlight"); }, 200); } else if (id == "category_descript") { // Category description window.setTimeout(function() { main_highlight_def($("category_descript"), glossary, "article_highlight"); main_highlight_def($("category_descript"), glossary_s, "article_highlight"); }, 200); } } function main_highlight_def(elem, dict, cls) { ac_dom_highlight(elem, dict, true); ac_dom_highlight_definition(elem, dict, cls); } function main_highlight(elem, dict, cls) { ac_dom_highlight(elem, dict, false); ac_dom_highlight_replace(elem, dict, cls); }