⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 explorer_files_new_folder

📁 cms是开源的框架
💻
📖 第 1 页 / 共 3 页
字号:
<?xml version="1.0" encoding="ISO-8859-1"?>
<WORKPLACE>
<TEMPLATE>
<![CDATA[

<html>
<head>

<script language="JavaScript">

    function switchlyr(show, hide){
        hidelyr(hide);
        showlyr(show);
    }

    function showlyr(welche){
        document.getElementById(welche).style.visibility = "visible";
    }

    function hidelyr(welche){
        document.getElementById(welche).style.visibility = "hidden";
    }

    function checkForm(whichone){
        var okay=true;
        var lengthOkay=true;
        var inp=document.getElementById("name"+whichone).value;

        for(var i=0;i<inp.length;i++){
            if(inp.charAt(i)=='%' || inp.charAt(i)=='#' || inp.charAt(i)=='&'){
                okay=false;
                badchar=inp.charAt(i);
            }
        }

        if(okay==false)alert("]]><LABEL value="error.message.badcharacter" /><![CDATA["+badchar);

        if(document.getElementById("name"+whichone).value.length<1)lengthOkay=false;

        if(whichone==1){
            if(document.getElementById("navtext").value.length<1)lengthOkay=false;
        }

        if(!lengthOkay)alert("]]><LABEL value="error.message.datamissing" /><![CDATA[");

        if(okay && lengthOkay){
            if(whichone==2)document.location.href='explorer_files_new_folder.html?step=1&newfolder='+encodeURIComponent(document.getElementById("name"+whichone).value)+'&title='+encodeURIComponent(document.getElementById("title"+whichone).value);
            if(whichone==1)document.location.href='explorer_files_new_folder.html?step=1&newfolder='+encodeURIComponent(document.getElementById("name"+whichone).value)+'&title='+encodeURIComponent(document.getElementById("title"+whichone).value)+'&navtitle='+encodeURIComponent(document.getElementById("navtext").value)+'&navpos='+document.getElementById("navpos").value;
        }
    }

    function switchLayerData(from,to){
        var tempA=document.getElementById("name"+from).value;
        var tempB=document.getElementById("title"+from).value;

        document.getElementById("name"+to).value=tempA;
        document.getElementById("title"+to).value=tempB;
    }

    function switchLayer2(t){
        switchLayerData(2,1);
        switchlyr('isInNav','notInNav');
        t.checked=false;
    }

    function switchLayer1(t){
        switchLayerData(1,2);
        switchlyr('notInNav','isInNav');
        t.checked=true;
    }

</script>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=]]><METHOD name="getEncoding"/><![CDATA[">
<link rel=stylesheet type="text/css" href="]]><method name="resourcesUri">format.css</method><![CDATA[">

</head>

<body>

<!-- 2 -->

<div id="notInNav" style="visibility:hidden; FONT-FAMILY: MS Sans Serif, Arial, helvetica, sans-serif; FONT-SIZE: 8pt; position: absolute; LEFT: 0px; TOP: 0px; width:100%; height:100%; ">

<br>
<br>
<br>

<form>
    <table border=2 cellspacing=0 cellpadding=0 width=530px align=center>
        <tr>
            <td>
                <table cellspacing=0 cellpadding=5 border=0 width=100% height=100%>
                    <tr>
                        <td colspan=2 class=head>
                            ]]><PROCESS>frameTitle</PROCESS><![CDATA[
                        </td>
                    </tr>
                    <tr>
                        <td colspan=2 class=dialogtxt>
                            <br>
                        </td>
                    </tr>
                    <tr>
                        <td class=formular width=100>
                            ]]><LABEL value="input.name" /><![CDATA[:
                        </td>
                        <td class=dialogtxt>
                            <input type="textfield" id="name2" maxlength=100 style="width:400px;" class="textfeld2" value="]]><PROCESS>name</PROCESS><![CDATA[">
                        </td>
                    </tr>
                    <tr>
                        <td class=formular>
                            ]]><LABEL value="input.title" /><![CDATA[:
                        </td>
                        <td class=dialogtxt>
                            <input type="textfield" id="title2" maxlength=100 style="width:400px;" class="textfeld2" value="]]><PROCESS>title</PROCESS><![CDATA[">
                        </td>
                    </tr>
                    <tr>
                        <td colspan=2 class=dialogtxt>
                        <input type="checkbox" onClick="javascript:switchLayer2(this);">&nbsp;&nbsp;]]><LABEL value="input.addtonav" /><![CDATA[
                        </td>
                    </tr>
                    <tr>
                        <td class=formular>
                            <br>
                        </td>
                        <td class=dialogtxt>
                            <br>
                        </td>
                    </tr>
                    <tr>
                        <td class=formular>
                            <br>
                        </td>
                        <td class=dialogtxt>
                            <br>
                        </td>
                    </tr>
                    <tr>
                        <td colspan=2 class=dialogtxt>&nbsp;<br><br>
                        </td>
                    </tr>
                    <tr>
                        <td class=dialogtxt colspan=2 align=right>
                            <input class=button type="button" value="]]><LABEL value="button.previousscreen" /><![CDATA[" onClick="location='explorer_files_new.html';">
                            <input class=button type="button" value="]]><PROCESS>endbutton</PROCESS><![CDATA[" onClick=checkForm(2);>
                            <input class=button type="button" value="]]><LABEL value="button.cancel" /><![CDATA[" onClick="location=']]><METHOD name="explorerFileUri" /><![CDATA[';">
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</form>

</div>


<!-- *********************************************************************************************************** -->


<!-- 1 -->

<div id="isInNav" style="visibility:visible; FONT-FAMILY: MS Sans Serif, Arial, helvetica, sans-serif; FONT-SIZE: 8pt; position: absolute; LEFT: 0px; TOP: 0px; width:100%; height:100%; ">

<br>
<br>
<br>

<form>
    <table border=2 cellspacing=0 cellpadding=0 width=530px align=center>
        <tr>
            <td>

                <table cellspacing=0 cellpadding=5 border=0 width=100% height=100%>
                    <tr>
                        <td colspan=2 class=head>
                            ]]><PROCESS>frameTitle</PROCESS><![CDATA[
                        </td>
                    </tr>
                    <tr>
                        <td colspan=2 class=dialogtxt>
                            <br>
                        </td>
                    </tr>
                    <tr>
                        <td class=formular width=100>
                            ]]><LABEL value="input.name" /><![CDATA[:
                        </td>
                        <td class=dialogtxt>
                            <input type="textfield" id="name1" maxlength=100 style="width:400px;" class="textfeld2" value="]]><PROCESS>title</PROCESS><![CDATA[">
                        </td>
                    </tr>
                    <tr>
                        <td class=formular>
                            ]]><LABEL value="input.title" /><![CDATA[:
                        </td>
                        <td class=dialogtxt>
                            <input type="textfield" id="title1" maxlength=100 style="width:400px;" class="textfeld2" value="]]><PROCESS>title</PROCESS><![CDATA[">
                        </td>
                    </tr>
                    <tr>
                        <td colspan=2 class=dialogtxt>
                        <input type="checkbox" onClick="javascript:switchLayer1(this);" checked>&nbsp;&nbsp;]]><LABEL value="input.addtonav" /><![CDATA[

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -