paginator_b64 = false; // don't base64 encode // define vars var _charset = 'utf-8'; var _twoletterlangid = 'pt'; // 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 = 'Deletar'; var jsRemove = 'Remove'; var jsAdd = 'Add'; var jsUpdate = 'Update'; var jsSave = 'Save'; var jsImport = 'Import'; var jsNext = 'Próximo'; var jsOK = 'OK'; var jsCancel = 'Cancelar'; var jsBack = 'Voltar'; var jsContent = 'Conteú do'; var jsSetAsDefault = 'Marcar como Sadrão'; var jsHtmlEditor = 'Editor HTML'; var jsTextEditor = 'Editor de Texto'; var jsNotAvailable = 'N/A'; var jsNone = 'None'; var jsDefault = 'Default'; var jsSubmit = 'Enviar'; var jsReset = 'Limpar'; var jsBranding = 'Branding'; var jsPrint = 'Imprimir'; var jsForward = 'Encaminhar'; var jsOptions = 'Opções'; 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 = 'Deletar'; var jsOptionView = 'Visualizar'; var jsOptionReply = 'Reply'; var jsOptionPublic = 'Public'; var jsOptionRestore = 'Restore'; var jsOptionPreview = 'Preview'; var jsOptionDownload = 'Baixar'; 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 = 'Esta ação cancelará todas as alterações feitas.'; 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 = 'Carregando...'; var jsResult = 'Alterações salvas.'; var jsError = 'Ocorreu um erro!'; // 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 = 'Deletar'; 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 = 'Artigos similares'; var jsRegisterNoUser = 'Favor informar o nome do usuário.'; var jsRegisterNoEmail = 'Por favor entre um endereço de e-mail'; var jsRegisterNoPassword = 'Por favor entre sua senha em ambas as linhas'; var jsRegisterPasswordMismatch = 'Sua senha está incorreta.'; var jsRegisterNoImgverify = 'Por favor entre o código verificador de imagem.'; var strings_favorite_added = 'Este artigo foi adicionado com sucesso a sua lista de favoritos.'; var strings_favorite_removed = 'Este artigo foi removido de sua lista de favoritos.'; var strings_user_email_delete = 'Tem certeza que quer apagar este endereço de e-mail?'; var livesearch_str_found = 'Artigos da base de conhecimento devem responder sua pergunta.'; var livesearch_str_view = 'Visualizar Artigos'; var livesearch_str_matches = 'Possíveis artigos compatíveis'; var livesearch_str_show = 'Mostrar artigos'; var livesearch_str_hide = 'Artigos ocultos'; var ticket_str_post_nodata = 'Ticket post data not found.'; var jsAdminsTicketUpdated = 'Este ticket foi atualizado, tem uma nova mensagem(s)%s! '; var jsAdminsNewPosts = 'Ticket Atualizado'; var search_noquery = 'Por favor entre uma frase de busca';var datetimeformat = "%d/%m/%Y %H:%M"; var dateformat = "%d/%m/%Y"; var timeformat = "%H:%M"; var ac_js_site = { "id" : 1, "site_name" : "Helpdesk Software | Service Desk | Web | Email", "lang" : "portuguesbr", "version" : "3.0.10", "smhost" : "smtp.embi.com.br", "smuser" : "suporte@embi.com.br", "smport" : 587, "smenc" : 8, "smpop3b4" : 0, "emfrom" : "suporte@embi.com.br", "updatecheck" : 1, "updatedate" : "2012-07-06", "updateversion" : "3.0.10", "t_offset" : 0, "t_offset_min" : 0, "t_offset_o" : "+", "datetimeformat" : "%d/%m/%Y %H:%M", "p_link" : "http://embi.embihelpdesk.com.br", "stype" : 0, "maxuploadfilesize" : 10000, "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" : "%d/%m/%Y", "timeformat" : "%H:%M", "general_maint" : 0, "general_maint_message" : "", "general_passprotect" : 0, "general_url_rewrite" : 1, "general_allow_rss" : 1, "design_theme" : "directory", "design_logo_admin" : "", "design_header_html" : null, "design_header_url" : "", "design_footer_html" : null, "design_footer_url" : "", "local_zoneid" : "America/Sao_Paulo", "local_dst" : 0, "comments_allowed" : 1, "comments_require_approval" : 1, "comments_require_email" : 1, "comments_display_perpage" : 20, "comments_display_perlist" : 20, "comments_display_email" : 1, "comments_display_name" : 1, "comments_notify_address" : "everton@embi.com.br", "comments_allow_html" : 1, "comments_imgverify" : 1, "articles_require_approval" : 1, "articles_display_perpage" : 10, "articles_display_mostviewed" : 5, "articles_display_mostrecent" : 5, "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" : 1, "articles_allow_print" : 0, "articles_allow_email" : 1, "articles_allow_subscribe" : 1, "articles_allow_favorite" : 1, "articles_email_imgverify" : 1, "articles_subscribe_imgverify" : 1, "articles_contact_imgverify" : 0, "articles_max_attachments" : 2, "articles_create_from_question" : 1, "articles_notify_address" : "everton@embi.com.br", "categories_display_columns" : 3, "categories_article_sort" : "01", "search_default" : "fulltext", "search_ignore" : "", "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" : 1, "cnpj" : "07.077.350/0001-03", "estadual" : "0000000", "endereco" : "Rua Brigadeiro Jordão", "numero" : 581, "bairro" : "Ipiranga", "cep" : "04210-000", "cidade" : "São Paulo", "estado" : "sp", "tel" : "(11) 2362-5771", "website" : "www.embimarketing.com.br", "email" : "contato@embimarketing.com.br", "acpow" : "", "em_bounce" : "suporte@embi.com.br", "general_public" : 1, "general_require_https" : 0, "general_attachments_location" : "db", "general_user_registration" : 2, "general_user_hidelogin" : 0, "general_user_optin" : 1, "general_user_autosignup" : 1, "admin_spamfilter" : 1, "spam_threshold" : 90, "public_captcha4submit" : 0, "public_captcha4signup" : 0, "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" : 9, "ticket_status_replyadmin" : 3, "ticket_default_department" : 1, "locked" : 0, "is_trial" : 0, "is_free" : false, "live_limit" : 0, "ishd" : true, "em_from" : "suporte@embi.com.br", "pspell" : false, "gd" : true, "zip" : true, "adminsMax" : 9999999, "trial" : false, "limited" : false, "free" : false, "d_h" : "embi.embihelpdesk.com.br", "d_r" : "/home/embiembi/public_html/admin", "p_link_precname" : "http://embi.embihelpdesk.com.br", "p_link2" : "http://embi.embihelpdesk.com.br", "p_link_predesk" : "http://embi.embihelpdesk.com.br" }; var ac_js_admin = { "id" : 0, "username" : null, "first_name" : "", "last_name" : "", "email" : "", "last_login" : null, "sourceid" : null, "productset" : null, "sourceupdated" : null, "absid" : 0, "parentid" : 0, "companyid" : 0, "approved" : 0, "bio" : null, "cdate" : null, "avatar" : null, "lang" : "portuguesbr", "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, 26 : 26, 27 : 27, 40 : 40, 41 : 41, 42 : 42, 43 : 43, 45 : 45, 49 : 49, 50 : 50 }, "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_ticket_timer_edit" : 0, "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 = "http://embi.embihelpdesk.com.br"; var glossary = ""; var glossary_s = ""; var category_aorder = "01"; var ac_js_desk = { "id" : 1, "stringid" : "", "site_name" : "Helpdesk Software | Service Desk | Web | Email", "p_link" : "http://embi.embihelpdesk.com.br", "lang" : "english", "general_user_registration" : 1, "sourceid" : 0, "groupid" : 0, "department_show" : 1, "department_list" : 0, "kb_show" : 1, "kb_list" : 0, "troubleshooter_show" : 1, "troubleshooter_list" : 0, "download_show" : 1, "download_list" : 0, "template_htm" : "
\n\t
\n\t\t\n\t\t
\n\t\t\t\"<\/a>\n\t\t\n \n \n <\/div>\n\n\t<\/div>\n<\/div>\n\n
\n\t
\n\t\t%HEADERNAV%\n\t<\/div>\n<\/div>\n\n
\n\t
\n\t\t
\n\t\t\t%PAGECONTENT%\n\t\t<\/div>\n\t<\/div>\n<\/div>\n\n
\n Tel.: (11) 2362-5771\n\t
\n\t\t%LANGSELECT%\n\t\t%FOOTERNAV%\n\t<\/div>\n\n<\/div>", "template_css" : ".header{background:url(http://www.enascimentoconsultoria.com.br/helpdesk/bg_embi.jpg); height:80px; border:1px solid #385290;}\n\n\n.atendimento {\n position:relative;\n z-index: 50;\n\twidth: 116px;\n\theight: 43px;\n\tpadding: 8px 0 0;\n\ttext-align: center;\n\tfont-weight: bold;\n\tfont-size: 14px;\n\tbackground: #ffffff;\n\tbackground: -moz-linear-gradient(top, #ffffff 0%, #ffffff 50%, #e1edff 51%, #e1edff 100%);\n\tbackground: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(50%, #ffffff), color-stop(51%, #e1edff), color-stop(100%, #e1edff));\n\tbackground: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 50%, #e1edff 51%, #e1edff 100%);\n\tbackground: -o-linear-gradient(top, #ffffff 0%, #ffffff 50%, #e1edff 51%, #e1edff 100%);\n\tbackground: -ms-linear-gradient(top, #ffffff 0%, #ffffff 50%, #e1edff 51%, #e1edff 100%);\n\tbackground: linear-gradient(top, #ffffff 0%, #ffffff 50%, #e1edff 51%, #e1edff 100%);\n\tborder-radius: 4px;\n\t-moz-border-radius: 4px;\n\t-webkit-border-radius: 4px;\n\tbox-shadow: 0 1px 4px #000;\n\t-moz-box-shadow: 0 1px 4px #000;\n\t-webkit-box-shadow: 0 1px 4px #000;\n\ttransition: box-shadow 0.1s linear 0s;\n\t-moz-transition: box-shadow 0.1s linear 0s;\n\t-webkit-transition: box-shadow 0.1s linear 0s;\n\t-o-transition: box-shadow 0.1s linear 0s;\n\tcolor: #204b8b;\n}\n.atendimento:hover {\n\tbox-shadow: 0 1px 2px #000, 0 1px 6px #f90;\n\t-moz-box-shadow: 0 1px 2px #000, 0 1px 6px #f90;\n\t-webkit-box-shadow: 0 1px 2px #000, 0 1px 6px #f90;\n\ttransition: box-shadow 0.1s linear 0s;\n\t-moz-transition: box-shadow 0.1s linear 0s;\n\t-webkit-transition: box-shadow 0.1s linear 0s;\n\t-o-transition: box-shadow 0.1s linear 0s;\n}\n.atendimento a {\n\tdisplay: block;\n\twidth: 100%;\n\theight: 27px;\n\ttext-decoration: none;\n\tfont-size: 18px;\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tpadding-top: 26px;\n}\n.atendimento a span.online {\n\tcolor: #093;\n}\n.atendimento a span.offline {\n\tcolor: #f00;\n}\n", "startup_custom" : 0, "startup_content" : "kbrecent", "startup_content_title" : "", "startup_content_content" : "", "startup_content_kbcat" : 45, "a_downloads" : 2, "a_troubleshoots" : 45 }; var apipath = "http://embi.embihelpdesk.com.br/api.php?did=1"; var kbapipath = "http://embi.embihelpdesk.com.br/kb/api.php?did=1"; var acgpath = "http://embi.embihelpdesk.com.br/ac_global"; var apppath = "http://embi.embihelpdesk.com.br"; //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); }