Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec41330624 | ||
|
|
4bc7136fa4 |
@@ -8,25 +8,20 @@
|
|||||||
</general>
|
</general>
|
||||||
<!--Содержание страницы-->
|
<!--Содержание страницы-->
|
||||||
<!--Левые блоки-->
|
<!--Левые блоки-->
|
||||||
<lblock>
|
<lblock/>
|
||||||
<block url="/plugin/plugintest/" title="кнерцу" tclass="btitle" bclass="bfloat"/>
|
|
||||||
<block url="/plugin/plugintest/" title="цйеп5" tclass="btitle" bclass="bfloat"/>
|
|
||||||
<block url="/plugin/plugintest/" title="срмт ьтмр" tclass="btitle" bclass="bfloat"/>
|
|
||||||
</lblock>
|
|
||||||
<!--Правые блоки-->
|
<!--Правые блоки-->
|
||||||
<rblock>
|
<rblock/>
|
||||||
<block url="/plugin/plugintest/" title="tdfref" tclass="btitle" bclass="bfloat"/>
|
|
||||||
</rblock>
|
|
||||||
<!--Текст страницы-->
|
<!--Текст страницы-->
|
||||||
<content tclass="btitle" bclass="bfloat">
|
<content tclass="btitle" bclass="bfloat">
|
||||||
<ru><![CDATA[
|
<ru><![CDATA[
|
||||||
<div>
|
<div>
|
||||||
текст текст текст текст текст текст текст текст текст текст текст тексритчрсотат текст текст текст текст текствяепивыериепчаивекапверыреверыверывеыве</div>
|
текст текст текст текст текст текст текст текст текст текст текст тексритчрсотат текст текст текст текст </div>
|
||||||
<div>
|
<div>
|
||||||
текст текст текст текст текыККПАФЦКАКПАМст текст текст текст текст текст текст текст текст текст урпкцуептекст текст текст
|
текст текст текст текст текыККПАФЦКАКПАМст текст текст текст текст текст текст текст урпкцуептекст текст текст
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текстфыкепыуверыер</div>
|
текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<hr style="height: 5px; width: 50%; background: rgb(0, 0, 0); border: 0px;">
|
<hr style="height: 5px; width: 50%; background: rgb(0, 0, 0); border: 0px;">
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -1,47 +1,119 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<page>
|
<page>
|
||||||
<general>
|
<general>
|
||||||
<!--Kлючевые слова-->
|
<!--Kлючевые слова-->
|
||||||
<keywords>
|
<keywords>
|
||||||
|
|
||||||
</keywords>
|
</keywords>
|
||||||
<!--Условия доступа-->
|
<!--Условия доступа-->
|
||||||
<access>
|
<access>
|
||||||
<read>
|
<read>
|
||||||
<users>
|
<users>
|
||||||
</users>
|
</users>
|
||||||
<groups>
|
<groups>
|
||||||
</groups>
|
</groups>
|
||||||
</read>
|
</read>
|
||||||
<edit>
|
<edit>
|
||||||
<users>
|
<users>
|
||||||
</users>
|
</users>
|
||||||
<groups>
|
<groups>
|
||||||
</groups>
|
</groups>
|
||||||
</edit>
|
</edit>
|
||||||
</access>
|
</access>
|
||||||
</general>
|
</general>
|
||||||
<!--Содержание страницы-->
|
<!--Содержание страницы-->
|
||||||
<!--Основное меню-->
|
<!--Основное меню-->
|
||||||
<mainmenu>
|
<mainmenu>
|
||||||
<item name="имя" url="урл" title="описание">
|
<item name="имя" url="урл" title="описание">
|
||||||
</item>
|
</item>
|
||||||
</mainmenu>
|
</mainmenu>
|
||||||
<!--Текст страницы-->
|
<!--Текст страницы-->
|
||||||
<content tclass="btitle" bclass="bfloat">
|
<content tclass="btitle" bclass="bfloat">
|
||||||
<ru><![CDATA[
|
<ru><![CDATA[
|
||||||
<p>пппппацфакц</p>
|
<div>
|
||||||
|
текст текст текст текст текст текст текст текст текст текст текст тексритчрсотат текст текст текст текст </div>
|
||||||
|
<div>
|
||||||
|
текст текст текст текст текыККПАФЦКАКПАМст текст текст текст текст текст текст текст урпкцуептекст текст текст
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<hr style="height: 5px; width: 50%; background: rgb(0, 0, 0); border: 0px;">
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<table style="width: 50%; margin: 1px; float: left; border: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-collapse: collapse;">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
<td style="padding: 1px; border: 1px solid rgb(0, 0, 0);">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
<div><br>
|
||||||
|
</div>
|
||||||
]]></ru>
|
]]></ru>
|
||||||
<lv>
|
<lv><![CDATA[
|
||||||
<![CDATA[
|
|
||||||
<p>Uz šo brīdi šeit ne kā nav</p>
|
<p>Uz šo brīdi šeit ne kā nav</p>
|
||||||
]]>
|
]]></lv>
|
||||||
</lv>
|
<en><![CDATA[
|
||||||
<en>
|
|
||||||
<![CDATA[
|
|
||||||
<p>??????</p>
|
<p>??????</p>
|
||||||
]]>
|
]]></en>
|
||||||
</en>
|
</content>
|
||||||
|
<rblock/>
|
||||||
</content>
|
<lblock/>
|
||||||
<rblock/><lblock/></page>
|
</page>
|
||||||
|
|||||||
@@ -930,6 +930,7 @@ window.saveContentIdHow = async function (currentPath) {
|
|||||||
}
|
}
|
||||||
managerData(currentPath);
|
managerData(currentPath);
|
||||||
document.getElementById("managerDiv").style.visibility = "hidden";
|
document.getElementById("managerDiv").style.visibility = "hidden";
|
||||||
|
removePluginDom("manager");
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -972,6 +973,7 @@ function sendSaveRequest(currentPath, nameFile, saveContentIdData, overwrite = f
|
|||||||
messageFunction("{{changes_saved_successfully}}");
|
messageFunction("{{changes_saved_successfully}}");
|
||||||
managerData(currentPath);
|
managerData(currentPath);
|
||||||
document.getElementById("managerDiv").style.visibility = "hidden";
|
document.getElementById("managerDiv").style.visibility = "hidden";
|
||||||
|
removePluginDom("manager");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -988,6 +990,7 @@ function createNewFile(currentPath, nameFile, saveContentIdData) {
|
|||||||
}
|
}
|
||||||
managerData(currentPath);
|
managerData(currentPath);
|
||||||
document.getElementById("managerDiv").style.visibility = "hidden";
|
document.getElementById("managerDiv").style.visibility = "hidden";
|
||||||
|
removePluginDom("manager");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1034,15 +1037,19 @@ function basisVisSiteTree() {
|
|||||||
let treeDiv = document.getElementById("treeDiv");
|
let treeDiv = document.getElementById("treeDiv");
|
||||||
if (treeDiv.style.visibility=="hidden") {
|
if (treeDiv.style.visibility=="hidden") {
|
||||||
treeDiv.style.visibility = "visible";
|
treeDiv.style.visibility = "visible";
|
||||||
if(isPhone) closeWindows("treeDiv");
|
if(isPhone) {
|
||||||
|
closeWindows("treeDiv");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
treeDiv.style.visibility = "hidden";
|
treeDiv.style.visibility = "hidden";
|
||||||
document.getElementById("treeProperties").style.visibility = "hidden";
|
document.getElementById("treeProperties").style.visibility = "hidden";
|
||||||
|
removePluginDom("site_tree")
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById('treeCloseFun').onclick = function() {
|
document.getElementById('treeCloseFun').onclick = function() {
|
||||||
treeDiv.style.visibility = "hidden";
|
treeDiv.style.visibility = "hidden";
|
||||||
document.getElementById("treeProperties").style.visibility = "hidden";
|
document.getElementById("treeProperties").style.visibility = "hidden";
|
||||||
|
removePluginDom("site_tree")
|
||||||
};
|
};
|
||||||
|
|
||||||
treeSettings();
|
treeSettings();
|
||||||
@@ -1061,9 +1068,11 @@ function linkFromPage() {
|
|||||||
document.getElementById('treeCloseFun').onclick = function() {
|
document.getElementById('treeCloseFun').onclick = function() {
|
||||||
treeDiv.style.visibility = "hidden";
|
treeDiv.style.visibility = "hidden";
|
||||||
document.getElementById("treeProperties").style.visibility = "hidden";
|
document.getElementById("treeProperties").style.visibility = "hidden";
|
||||||
|
removePluginDom("site_tree")
|
||||||
};
|
};
|
||||||
|
|
||||||
treeSettings();
|
treeSettings();
|
||||||
|
removePluginDom("site_tree")
|
||||||
}
|
}
|
||||||
window.linkFromPage = linkFromPage;
|
window.linkFromPage = linkFromPage;
|
||||||
|
|
||||||
@@ -1082,9 +1091,10 @@ window.toggleChildren = toggleChildren;
|
|||||||
/**
|
/**
|
||||||
* @brief Открывает/закрывает менеджер файлов и папок
|
* @brief Открывает/закрывает менеджер файлов и папок
|
||||||
*/
|
*/
|
||||||
function basisVisManager() {
|
async function basisVisManager() {
|
||||||
let managerDiv = document.getElementById('managerDiv');
|
let managerDiv = document.getElementById('managerDiv');
|
||||||
if (managerDiv.style.visibility === "hidden") {
|
if (managerDiv.style.visibility === "hidden") {
|
||||||
|
await includePlugin("manager");
|
||||||
managerDiv.style.visibility = "visible";
|
managerDiv.style.visibility = "visible";
|
||||||
window.managerDataAction = "";
|
window.managerDataAction = "";
|
||||||
managerData(currentPath);
|
managerData(currentPath);
|
||||||
@@ -1092,6 +1102,7 @@ function basisVisManager() {
|
|||||||
} else {
|
} else {
|
||||||
managerDiv.style.visibility = "hidden";
|
managerDiv.style.visibility = "hidden";
|
||||||
document.getElementById("managerProperties").style.visibility = "hidden";
|
document.getElementById("managerProperties").style.visibility = "hidden";
|
||||||
|
removePluginDom("manager");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
window.basisVisManager = basisVisManager;
|
window.basisVisManager = basisVisManager;
|
||||||
@@ -1104,9 +1115,11 @@ function closeWindows(div) {
|
|||||||
if (div == "managerDiv") {
|
if (div == "managerDiv") {
|
||||||
document.getElementById("treeDiv").style.visibility = "hidden";
|
document.getElementById("treeDiv").style.visibility = "hidden";
|
||||||
document.getElementById("treeProperties").style.visibility = "hidden";
|
document.getElementById("treeProperties").style.visibility = "hidden";
|
||||||
|
removePluginDom("site_tree")
|
||||||
} else if (div == "treeDiv") {
|
} else if (div == "treeDiv") {
|
||||||
document.getElementById("managerDiv").style.visibility = "hidden";
|
document.getElementById("managerDiv").style.visibility = "hidden";
|
||||||
document.getElementById("managerProperties").style.visibility = "hidden";
|
document.getElementById("managerProperties").style.visibility = "hidden";
|
||||||
|
removePluginDom("manager");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1189,7 +1202,7 @@ function managerData(path) {
|
|||||||
let sizeHeader = isPhone ? '' : `<td style="width:15%;">{{column_size_bytes}}</td>`
|
let sizeHeader = isPhone ? '' : `<td style="width:15%;">{{column_size_bytes}}</td>`
|
||||||
let dateWidth = isPhone ? '55%' : '23%'
|
let dateWidth = isPhone ? '55%' : '23%'
|
||||||
|
|
||||||
managerDiv.innerHTML = `
|
document.getElementById('managerDiv').innerHTML = `
|
||||||
<div id="managerTop">
|
<div id="managerTop">
|
||||||
<span id="managerTopTitle">${managerTopTitleName}</span>
|
<span id="managerTopTitle">${managerTopTitleName}</span>
|
||||||
<span id="managerCloseFun" class="editib"></span>
|
<span id="managerCloseFun" class="editib"></span>
|
||||||
@@ -1308,6 +1321,7 @@ function getPage(newPath) {
|
|||||||
document.getElementById("managerDiv").style.visibility = "hidden";
|
document.getElementById("managerDiv").style.visibility = "hidden";
|
||||||
// history.pushState(null, '', page.pagePath);
|
// history.pushState(null, '', page.pagePath);
|
||||||
document.getElementById("mainTitle").innerHTML = "<i>{{new_file}}!</i>";
|
document.getElementById("mainTitle").innerHTML = "<i>{{new_file}}!</i>";
|
||||||
|
removePluginDom("manager")
|
||||||
});
|
});
|
||||||
window.newPageFunValue = "";
|
window.newPageFunValue = "";
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 173 KiB After Width: | Height: | Size: 173 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 144 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 876 B After Width: | Height: | Size: 876 B |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 793 B After Width: | Height: | Size: 793 B |
|
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 309 B |
|
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 302 B |
|
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 302 B |
|
Before Width: | Height: | Size: 287 KiB After Width: | Height: | Size: 287 KiB |
|
Before Width: | Height: | Size: 733 B After Width: | Height: | Size: 733 B |
|
Before Width: | Height: | Size: 701 B After Width: | Height: | Size: 701 B |
|
Before Width: | Height: | Size: 627 B After Width: | Height: | Size: 627 B |
|
Before Width: | Height: | Size: 678 B After Width: | Height: | Size: 678 B |
|
Before Width: | Height: | Size: 691 B After Width: | Height: | Size: 691 B |
|
Before Width: | Height: | Size: 678 B After Width: | Height: | Size: 678 B |
|
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 648 B |
|
Before Width: | Height: | Size: 738 KiB After Width: | Height: | Size: 738 KiB |
|
Before Width: | Height: | Size: 738 KiB After Width: | Height: | Size: 738 KiB |
|
Before Width: | Height: | Size: 747 KiB After Width: | Height: | Size: 747 KiB |
|
Before Width: | Height: | Size: 710 KiB After Width: | Height: | Size: 710 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 446 KiB After Width: | Height: | Size: 446 KiB |
|
Before Width: | Height: | Size: 425 KiB After Width: | Height: | Size: 425 KiB |
|
Before Width: | Height: | Size: 451 KiB After Width: | Height: | Size: 451 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 274 KiB After Width: | Height: | Size: 274 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 146 KiB |
|
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 146 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 363 KiB After Width: | Height: | Size: 363 KiB |
|
Before Width: | Height: | Size: 363 KiB After Width: | Height: | Size: 363 KiB |
|
Before Width: | Height: | Size: 363 KiB After Width: | Height: | Size: 363 KiB |
|
Before Width: | Height: | Size: 363 KiB After Width: | Height: | Size: 363 KiB |
@@ -8,7 +8,8 @@
|
|||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
#authorizationButton:hover {
|
#authorizationButton:hover {
|
||||||
background-image: url(../../img/pict/g_iconslyb.svg);
|
background-image: url(../../img/pict/b_iconslyb.svg);
|
||||||
|
filter: opacity(0.41);
|
||||||
}
|
}
|
||||||
#loginButton {
|
#loginButton {
|
||||||
margin: 0px 3px;
|
margin: 0px 3px;
|
||||||
@@ -83,6 +84,7 @@
|
|||||||
top: 33px;
|
top: 33px;
|
||||||
}
|
}
|
||||||
#BackArrow:hover {
|
#BackArrow:hover {
|
||||||
background-image: url(../../img/pict/g_iconslyb.svg);
|
background-image: url(../../img/pict/b_iconslyb.svg);
|
||||||
|
filter: opacity(0.41);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||