Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\My\MyVideoSWPatternEdit.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyVideoSWPatternEdit" %> <div class="well"> <div class="p_title"> <span class="title">????????</span>???????????????<span class="f_r"> <%= new MyVideoNavInstance(this) { Local = MyVideoNavItem.ST, Video = this.Video }.ToHtml() %> </span> </div> <hr /> <div class="userInput pwd"> <form id="frmVideoSWPatternEdit" action="" method="post" onsubmit="return false;"> <table border="0" cellpadding="2px" cellspacing="2px" class="myTab"> <tr> <td style="text-align: right; width: 150px;"><span class="label"><span class="required">*</span>?????(??:??:??)??</span></td> <td> <%= new HtmlText("Seconds", AVA.ResourcesPlatform.Config.Helper.SecondToTime(this.ViewData["_VideoSWPattern.Seconds"].ToDouble(0)/1000)) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Seconds") %> </td> </tr> <tr> <td style="text-align: right;"><span class="label"><span class="required">*</span>???????????</span></td> <td> <%= new HtmlSelect("Tag", "Value", "Key", "Key") { Option=CreateInstance.VideoSWPatternDao.Items() }.InsertOption(DefineEnum.???.Define(),"",0).SelectValue(this.ViewData["_VideoSWPattern.Tag"])%> <%= new HtmlYKTip("Tag") %> </td> </tr> <tr> <td style="text-align: right;"></td> <td></td> </tr> <tr> <td style="text-align: right;"></td> <td> <%= new HtmlHidden("Key",this.KEY)%> <%= new HtmlHidden("ParentVideo", this.Video.Guid)%> <%= new HtmlSubmit(IN(this.ViewData["_VideoSWPattern"], "????????????", "????????????"), "VideoSWPatternEdit", "VideoSWPatternEditClient(this);").Style(new { Width = "150px" })%> <% if (Has(this.ViewData["_VideoSWPattern"]) == false) { //???????????? %> <%= new HtmlButton("??????") { OnClick = "window.location.href = '" + WebUrl.MyVideoSWPatternList(this.Video.Guid) + "';" }.Style(new { Width = "100px" })%> <% } %> </td> </tr> </table> </form> </div> <script type="text/javascript"> //?????? $.validator.initConfig({ validatorGroup: "VideoSWPatternEdit", form: "#frmVideoSWPatternEdit", alertMessage: true, showMessage: false }); //????? $("#frmVideoSWPatternEdit [name=Seconds]").formValidator({ validatorGroup: "VideoSWPatternEdit", rules: { required: null//, //regex: "decmal1" }, message: { required: "???????????"//, //regex: "???????????" } }); //????????? $("#frmVideoSWPatternEdit [name=Tag]").formValidator({ validatorGroup: "VideoSWPatternEdit", rules: { required: null }, message: { required: "???????????" } }); </script> <script type="text/javascript"> function VideoSWPatternEditClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.VideoSWPatternEdit", data: Global.GetFormValue($("#frmVideoSWPatternEdit")), async: true, dataType: 'json', success: function (result) { $(send).val('<%= IN(this.ViewData["_VideoSWPattern"],"????????????", "????????????") %>'); alert('<%= IN(this.ViewData["_VideoSWPattern"],"??????????????????", "??????????????????") %>'); Global.Disabled(send, false); //window.location.href = result; VideoSWPatternResult(result); }, beforeSend: function () { $(send).val('<%= IN(this.ViewData["_VideoSWPattern"],"???????????????...", "???????????????...") %>'); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val('<%= IN(this.ViewData["_VideoSWPattern"],"????????????", "????????????") %>'); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } </script> <script type="text/javascript"> function VideoSWPatternResult(result) { var guid = '<%= this.ViewData["_VideoSWPattern.Guid"] %>'; if (guid != "") { window.location.href = result; } else { $("#frmVideoSWPatternEdit [name=Seconds]").val(""); $("#frmVideoSWPatternEdit [name=SecondsEnd]").val(""); $("#frmVideoSWPatternEdit [name=Description]").val(""); try { AVAContinue(); } catch (ex) { } } } </script> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de