дополнения по предыдущим правкам

This commit is contained in:
alexandervnuchkov 2017-03-10 15:48:12 +03:00
parent 18a3f75177
commit e4ccbef73d
15 changed files with 115 additions and 38 deletions

View File

@ -83,6 +83,12 @@ public class GuidesModel
set;
}
public string TitleVideo7
{
get;
set;
}
public string RelatedTips
{
get;

View File

@ -671,5 +671,12 @@
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60026_compile_using_docker/60026_compile_using_docker.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60023_document_troubleshooting/60023_document_troubleshooting.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerWindows/50015_document_troubleshooting/50015_document_troubleshooting.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ONLYOFFICEEditors/3315_sumifs-function/3315_sumifs-function.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ONLYOFFICEEditors/3314_insert-equation/3314_insert-equation.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ONLYOFFICEEditors/2026_insert-equation/2026_insert-equation.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerDocker/70041_mail_server_changelog/70041_mail_server_changelog.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/Desktop/100012_desktop_changelog/100012_desktop_changelog.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60027_install_cluster_community/60027_install_cluster_community.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60022_enterprise_linux_system_requirements/60022_enterprise_linux_system_requirements.ascx" /></li>
</ul>
</div>

View File

@ -1,7 +1,26 @@
<%@ Control Language="C#" Inherits="BaseContentUserControls" %>
<div class="changelog-open-in-new-window"><a target="_blank" href="<%=VirtualPathUtility.ToAbsolute("~/server/document/changelog.aspx")%>">Открыть в новом окне</a></div>
<div class="changelog-version-block">
<p class="changelog-main-header hide_elements">Версия 4.2.9</p>
<p class="changelog-main-header hide_elements">Версия 4.2.10</p>
<p class="changelog-release-date">Дата выпуска: <span class="crd-date">20.02.2017</span></p>
<div class="changelog-switcher">
<p class="changelog-subheader">Исправления</p>
<p class="changelog-subsubheader">Встраиваемые просмотрщики</p>
<ul>
<li>Исправлена верхняя позиция по умолчанию для панели инструментов.</li>
</ul>
<p class="changelog-subsubheader">Лицензирование</p>
<ul>
<li>Исправлена доступность кнопок чата и комментариев для редакторов без лицензионного файла.</li>
</ul>
<p class="changelog-subsubheader">Серверная часть</p>
<ul>
<li>Исправлена проблема с токенами доступа JWT.</li>
</ul>
</div>
</div>
<div class="changelog-version-block">
<p class="changelog-main-header">Версия 4.2.9</p>
<p class="changelog-release-date">Дата выпуска: <span class="crd-date">14.02.2017</span></p>
<div class="changelog-switcher">
<p class="changelog-subheader">Новые функции</p>

View File

@ -342,6 +342,7 @@
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ONLYOFFICEEditors/3089_sqrtpi-function/3089_sqrtpi-function.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ONLYOFFICEEditors/3090_sum-function/3090_sum-function.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ONLYOFFICEEditors/3170_sumif-function/3170_sumif-function.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ONLYOFFICEEditors/3315_sumifs-function/3315_sumifs-function.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ONLYOFFICEEditors/3171_sumproduct-function/3171_sumproduct-function.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ONLYOFFICEEditors/3172_sumsq-function/3172_sumsq-function.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ONLYOFFICEEditors/3173_sumx2my2-function/3173_sumx2my2-function.ascx" /></li>
@ -408,6 +409,9 @@
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/LocalizeControls/Operationsonobjects/Operationsonobjects.ascx" />
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/SideMenu/features/ONLYOFFICEEditors/SpreadsheetEditor/OperationsOnObjects/OperationsOnObjects.ascx" />
</li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/LocalizeControls/Mathequations/Mathequations.ascx" />
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/SideMenu/features/ONLYOFFICEEditors/SpreadsheetEditor/MathEquations/MathEquations.ascx" />
</li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/LocalizeControls/Spreadsheetcoediting/Spreadsheetcoediting.ascx" />
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/SideMenu/features/ONLYOFFICEEditors/SpreadsheetEditor/SpreadsheetCoediting/SpreadsheetCoediting.ascx" />
</li>
@ -433,6 +437,9 @@
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/LocalizeControls/Operationsonobjects/Operationsonobjects.ascx" />
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/SideMenu/features/ONLYOFFICEEditors/PresentationEditor/OperationsOnObjects/OperationsOnObjects.ascx" />
</li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/LocalizeControls/Mathequations/Mathequations.ascx" />
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/SideMenu/features/ONLYOFFICEEditors/PresentationEditor/MathEquations/MathEquations.ascx" />
</li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/LocalizeControls/Presentationcoediting/Presentationcoediting.ascx" />
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/SideMenu/features/ONLYOFFICEEditors/PresentationEditor/PresentationCoediting/PresentationCoediting.ascx" />
</li>
@ -589,12 +596,12 @@
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerDocker/70034_enterprise_script_parameters/70034_enterprise_script_parameters.ascx" /></li>
</ul>
</li>
<%-- <li><a href="<%= VirtualPathUtility.ToAbsolute("~/server/linux/enterprise/index.aspx")%>"><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/LocalizeControls/Linuxversion/Linuxversion.ascx" /></a>
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/server/linux/enterprise/index.aspx")%>"><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/LocalizeControls/Linuxversion/Linuxversion.ascx" /></a>
<ul class="smn_node_4">
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60022_document_system_requirements_enterprise/60022_document_system_requirements_enterprise.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60021_documents_installation_enterprise_linux/60021_documents_installation_enterprise_linux.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60022_enterprise_linux_system_requirements/60022_enterprise_linux_system_requirements.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60027_install_cluster_community/60027_install_cluster_community.ascx" /></li>
</ul>
</li>--%>
</li>
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/server/virtual/enterprise/index.aspx")%>">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/LocalizeControls/VirtualMachine/VirtualMachine.ascx" />
</a>
@ -888,6 +895,7 @@
<ul class="smn_node_3">
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/server/mail.aspx")%>"><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/LocalizeControls/Allplatforms/Allplatforms.ascx" /></a>
<ul class="smn_node_4">
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerDocker/70041_mail_server_changelog/70041_mail_server_changelog.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerDocker/70024_mail_open_ports/70024_mail_open_ports.ascx" /></li>
</ul>
</li>
@ -915,6 +923,7 @@
<ul class="smn_node_3">
<li><a href="<%= VirtualPathUtility.ToAbsolute("~/desktop/documents/index.aspx")%>"><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/LocalizeControls/Allplatforms/Allplatforms.ascx" /></a>
<ul class="smn_node_4">
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/Desktop/100012_desktop_changelog/100012_desktop_changelog.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/Desktop/100008_connect_saas/100008_connect_saas.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/Desktop/100006_troubleshooting/100006_troubleshooting.ascx" /></li>
</ul>

View File

@ -1,7 +1,7 @@
<%@ Control Language="C#" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<div id="fb-root"></div>
<%--<div id="fb-root"></div>
<script async>
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
@ -33,4 +33,4 @@
</a>
</li>
<li><a class="teamlabButton" title="Join our community of ONLYOFFICE translators and writers" href="https://we-translate.onlyoffice.com/" target="_blank"></a></li>
</ul>
</ul>--%>

View File

@ -1,7 +1,7 @@
<%@ Control Language="C#" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<div id="fb-root"></div>
<%--<div id="fb-root"></div>
<script async>
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
@ -33,4 +33,4 @@
</a>
</li>
<li><a class="teamlabButton" title="Treten Sie unserer Community der ONLYOFFICE-Übersetzer und -Autoren bei" href="https://we-translate.onlyoffice.com/" target="_blank"></a></li>
</ul>
</ul> --%>

View File

@ -1,7 +1,7 @@
<%@ Control Language="C#" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<div id="fb-root"></div>
<%--<div id="fb-root"></div>
<script async>
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
@ -33,4 +33,4 @@
</a>
</li>
<li><a class="teamlabButton" title="Únase a nuestro equipo de traductores y escritores de oficina online" href="https://we-translate.onlyoffice.com/" target="_blank"></a></li>
</ul>
</ul> --%>

View File

@ -1,7 +1,7 @@
<%@ Control Language="C#" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<div id="fb-root"></div>
<%--<div id="fb-root"></div>
<script async>
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
@ -33,4 +33,4 @@
</a>
</li>
<li><a class="teamlabButton" title="Join our community of office en ligne translators and writers" href="https://we-translate.onlyoffice.com/" target="_blank"></a></li>
</ul>
</ul> --%>

View File

@ -1,7 +1,7 @@
<%@ Control Language="C#" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<div id="fb-root"></div>
<%--<div id="fb-root"></div>
<script async>
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
@ -33,4 +33,4 @@
</a>
</li>
<li><a class="teamlabButton" title="Comunità dei traduttori e degli scrittori online office" alt="Unisciti alla comunità dei traduttori e degli scrittori online office" href="https://we-translate.onlyoffice.com/" target="_blank"></a></li>
</ul>
</ul> --%>

View File

@ -1,7 +1,7 @@
<%@ Control Language="C#" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<div id="fb-root"></div>
<%--<div id="fb-root"></div>
<script async>
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
@ -23,14 +23,14 @@
<li style="width: 60px;">
<div class="g-plusone" data-size="medium"></div>
</li>
<%-- <li>
<li>
<script src="https://platform.linkedin.com/in.js" type="text/javascript"> lang: en_US</script>
<script type="IN/Share"></script>
</li>--%>
</li>
<li>
<a href="javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','https://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());">
<img onclick="doPinIt();" src="https://assets.pinterest.com/images/PinExt.png" alt="Pin It"/>
</a>
</li>
<li><a class="teamlabButton" title="Присоединяйтесь к нашему сообществу переводчиков и писателей ONLYOFFICE" href="https://we-translate.onlyoffice.com/" target="_blank"></a></li>
</ul>
</ul> --%>

View File

@ -0,0 +1,9 @@
<%@ Control Language="C#" Inherits="BaseContentUserControls"%>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<div id="video-guides-37" data-status="new" class="playvideo desktop_editors_video">
<a href="<%=VirtualPathUtility.ToAbsolute("~/video/desktop-editors.aspx")%>">
<span class="playbackbutton"></span>
<span class="title_area">
<span class="link_to_video">ONLYOFFICE Desktop Editors - free office suite for offline document editing and collaboration</span></span>
</a>
</div>

View File

@ -0,0 +1,31 @@
<%@ Control Language="C#" Inherits="BaseContentUserControls"%>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "ONLYOFFICE Desktop Editors - Video Guide";
MetaKeyWords = "ONLYOFFICE, Desktop Editors";
MetaDescription = "ONLYOFFICE Desktop Editors - free office suite for offline document editing and collaboration";
}
</script>
<div class="main_buscall_container video">
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">ONLYOFFICE Desktop Editors - free office suite for offline document editing and collaboration</h1>
<%--<div class="keyword_block">
<ul>
<li></li>
</ul>
</div>--%>
<div class="bigVideoCont">
<iframe src="https://www.youtube.com/embed/wdWuD-EniI8?wmode=transparent" frameborder="0" allowfullscreen></iframe>
</div>
<div>
<p>ONLYOFFICE Desktop Editors is free and open source office suite for viewing and editing text documents, spreadsheets and presentations without the Internet connection.</p>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
&.HelpCenterMain {
.description {
.menuleft {
margin-top: 85px;
margin-top: 4px;
}
}
}

View File

@ -82,7 +82,7 @@ var LanguageSelectorManager = new function () { var init = function () { $("div.
$(function () { LanguageSelectorManager.init(), $(document).keyup(function (event) { if ($(".blockUI").is(":visible")) { var code; if (!e) var e = event; e.keyCode ? code = e.keyCode : e.which && (code = e.which), 27 == code && $.unblockUI() } }) });
/* core/modalscontroller.min.js */
function Search(path) { var url = new String, search = document.getElementById("txtSearch").value; return null != search && search.length > 0 && search != $("#helpmark").val() ? (url = path + "?text=" + encodeURIComponent(search), void (window.location.href = url)) : void (window.location.href = path) } function tooltip(target_items, name) { $(target_items).each(function () { var id = $.trim($(this).attr("id")).split("_")[1], title = $.trim($(this).attr("title")); if ("" != title && null != title) { $("body").append("<div style='display:none;' class='borderBase tintMedium " + name + "' id='" + name + id + "'><p>" + title + "</p></div>"); var my_tooltip = $("#" + name + id); $(this).removeAttr("title").mouseover(function () { my_tooltip.show() }).mousemove(function (kmouse) { my_tooltip.css({ left: kmouse.pageX + 15, top: kmouse.pageY + 15 }) }).mouseout(function () { my_tooltip.hide() }) } }) } function textPaste(target_items, name) { $(target_items).each(function () { var title = ($.trim($(this).attr("id")).split("_")[1], $.trim($(this).attr("title"))); "" != title && null != title && $(this).removeAttr("title").after("<p>" + title + "</p>") }) } function showVideoContainer() { displayModalPanel("VideoContainer") } function showVideoContainer2() { displayModalPanel("VideoContainer2") } function showVideoContainer3() { displayModalPanel("VideoContainer3") } function showVideoContainer4() { displayModalPanel("VideoContainer4") } function showVideoContainer5() { displayModalPanel("VideoContainer5") } function showVideoContainer6() { displayModalPanel("VideoContainer6") } function HelpCenterMasterInit() { $(window).scroll(function () { if ($("a[name=comments]").length) { var distanceTop = $("a[name=comments]").offset().top - $(window).height(); $(window).scrollTop() > distanceTop ? ($("#PopupAlsoBlock").animate({ right: "0px" }, 200), $("#SeeAlsoBlock").html($("#SeeAlsoBlockLinks").html())) : $("#PopupAlsoBlock").stop(!0).animate({ right: "-430px" }, 100) } }), $("#PopupAlsoBlock .close").bind("click", function () { $(this).parent().remove() }) } function IndexPageInit(watermarkText, searchText, searchPath) { $("#navitem_help").attr("class", "navCurrentItem"), $("#txtSearch").Watermark(watermarkText, "#7A7A7A"), $("#txtSearch").val(searchText), $("#txtSearch").unbind("keyup").bind("keyup", function (event) { return 13 == event.keyCode ? void Search(searchPath) : void 0 }), $("#SearchExample").click(function () { $("#txtSearch").val($("#SearchExample").text()), $("#txtSearch").focus(), Search(searchPath) }), $("#switcherMenu span").on("click", function () { var type = $(this).attr("data-name"), value = getCookie("type-menu"); $("[id$=ListMenu]").hide(), $("[id$=MainContent]").hide(), $("#switcherMenu span").removeClass("active"), $(this).addClass("active"), $("#" + type + "ListMenu").show(), $("#" + type + "MainContent").show(), value != type && setCookie("type-menu", type) }) } $(function () { $(".screenphoto").click(function () { $img = $("#" + $(this).attr("target")); var alt = $img.attr("alt"), path = $("#" + $(this).attr("target")).attr("src"); $("#scrHelpContent").html($("#scrHelpTemplate").tmpl({ CurScreen: path, curalt: alt })), $("#scrHelpContainer").width($img.width() + "px"), displayModalPanel("scrHelpContainer") }), $(".text-container-link").on("click", function () { $id = $("#" + $(this).attr("data-content")), $("#textHelpContent").html($id.html()), $("#textHelpContainer .tag_name").text($(this).text()), displayModalPanel("textHelpContainer") }), $(".text-container-link-changelog").on("click", function () { $id = $("#" + $(this).attr("data-content")), $("#textHelpContentChangelog").html($id.html()), $("#textHelpContainerChangelog .tag_name").text($(this).text()), displayModalPanel("textHelpContainerChangelog") }) });
function Search(path) { var url = new String, search = document.getElementById("txtSearch").value; return null != search && search.length > 0 && search != $("#helpmark").val() ? (url = path + "?text=" + encodeURIComponent(search), void (window.location.href = url)) : void (window.location.href = path) } function tooltip(target_items, name) { $(target_items).each(function () { var id = $.trim($(this).attr("id")).split("_")[1], title = $.trim($(this).attr("title")); if ("" != title && null != title) { $("body").append("<div style='display:none;' class='borderBase tintMedium " + name + "' id='" + name + id + "'><p>" + title + "</p></div>"); var my_tooltip = $("#" + name + id); $(this).removeAttr("title").mouseover(function () { my_tooltip.show() }).mousemove(function (kmouse) { my_tooltip.css({ left: kmouse.pageX + 15, top: kmouse.pageY + 15 }) }).mouseout(function () { my_tooltip.hide() }) } }) } function textPaste(target_items, name) { $(target_items).each(function () { var title = ($.trim($(this).attr("id")).split("_")[1], $.trim($(this).attr("title"))); "" != title && null != title && $(this).removeAttr("title").after("<p>" + title + "</p>") }) } function showVideoContainer() { displayModalPanel("VideoContainer") } function showVideoContainer2() { displayModalPanel("VideoContainer2") } function showVideoContainer3() { displayModalPanel("VideoContainer3") } function showVideoContainer4() { displayModalPanel("VideoContainer4") } function showVideoContainer5() { displayModalPanel("VideoContainer5") } function showVideoContainer6() { displayModalPanel("VideoContainer6") } function showVideoContainer7() { displayModalPanel("VideoContainer7") } function HelpCenterMasterInit() { $(window).scroll(function () { if ($("a[name=comments]").length) { var distanceTop = $("a[name=comments]").offset().top - $(window).height(); $(window).scrollTop() > distanceTop ? ($("#PopupAlsoBlock").animate({ right: "0px" }, 200), $("#SeeAlsoBlock").html($("#SeeAlsoBlockLinks").html())) : $("#PopupAlsoBlock").stop(!0).animate({ right: "-430px" }, 100) } }), $("#PopupAlsoBlock .close").bind("click", function () { $(this).parent().remove() }) } function IndexPageInit(watermarkText, searchText, searchPath) { $("#navitem_help").attr("class", "navCurrentItem"), $("#txtSearch").Watermark(watermarkText, "#7A7A7A"), $("#txtSearch").val(searchText), $("#txtSearch").unbind("keyup").bind("keyup", function (event) { return 13 == event.keyCode ? void Search(searchPath) : void 0 }), $("#SearchExample").click(function () { $("#txtSearch").val($("#SearchExample").text()), $("#txtSearch").focus(), Search(searchPath) }), $("#switcherMenu span").on("click", function () { var type = $(this).attr("data-name"), value = getCookie("type-menu"); $("[id$=ListMenu]").hide(), $("[id$=MainContent]").hide(), $("#switcherMenu span").removeClass("active"), $(this).addClass("active"), $("#" + type + "ListMenu").show(), $("#" + type + "MainContent").show(), value != type && setCookie("type-menu", type) }) } $(function () { $(".screenphoto").click(function () { $img = $("#" + $(this).attr("target")); var alt = $img.attr("alt"), path = $("#" + $(this).attr("target")).attr("src"); $("#scrHelpContent").html($("#scrHelpTemplate").tmpl({ CurScreen: path, curalt: alt })), $("#scrHelpContainer").width($img.width() + "px"), displayModalPanel("scrHelpContainer") }), $(".text-container-link").on("click", function () { $id = $("#" + $(this).attr("data-content")), $("#textHelpContent").html($id.html()), $("#textHelpContainer .tag_name").text($(this).text()), displayModalPanel("textHelpContainer") }), $(".text-container-link-changelog").on("click", function () { $id = $("#" + $(this).attr("data-content")), $("#textHelpContentChangelog").html($id.html()), $("#textHelpContainerChangelog .tag_name").text($(this).text()), displayModalPanel("textHelpContainerChangelog") }) });
/* help/dropit.min.js */
!function ($) { $.fn.dropit = function (method) { var methods = { init: function (options) { return this.dropit.settings = $.extend({}, this.dropit.defaults, options), this.each(function () { var $el = $(this), settings = $.fn.dropit.settings; $el.addClass("dropit").find(">" + settings.triggerParentEl + ":has(" + settings.submenuEl + ")").addClass("dropit-trigger").find(settings.submenuEl).addClass("dropit-submenu").hide(), $el.off(settings.action).on(settings.action, settings.triggerParentEl + ":has(" + settings.submenuEl + ") > " + settings.triggerEl, function () { return "click" == settings.action && $(this).parents(settings.triggerParentEl).hasClass("dropit-open") ? (settings.beforeHide.call(this), $(this).parents(settings.triggerParentEl).removeClass("dropit-open").find(settings.submenuEl).hide(), settings.afterHide.call(this), !1) : (settings.beforeHide.call(this), $(".dropit-open").removeClass("dropit-open").find(".dropit-submenu").hide(), settings.afterHide.call(this), settings.beforeShow.call(this), $(this).parents(settings.triggerParentEl).addClass("dropit-open").find(settings.submenuEl).show(), settings.afterShow.call(this), !1) }), $(document).on("click", function () { settings.beforeHide.call(this), $(".dropit-open").removeClass("dropit-open").find(".dropit-submenu").hide(), settings.afterHide.call(this) }), "mouseenter" == settings.action && $el.on("mouseleave", ".dropit-open", function () { settings.beforeHide.call(this), $(this).removeClass("dropit-open").find(settings.submenuEl).hide(), settings.afterHide.call(this) }), settings.afterLoad.call(this) }) } }; return methods[method] ? methods[method].apply(this, Array.prototype.slice.call(arguments, 1)) : "object" != typeof method && method ? void $.error('Method "' + method + '" does not exist in dropit plugin!') : methods.init.apply(this, arguments) }, $.fn.dropit.defaults = { action: "click", submenuEl: "ul", triggerEl: "a", triggerParentEl: "li", afterLoad: function () { }, beforeShow: function () { }, afterShow: function () { }, beforeHide: function () { }, afterHide: function () { } }, $.fn.dropit.settings = {} }(jQuery);