Disable editing layouts unless they have already been edited #2121

This commit is contained in:
Kijin Sung 2023-06-19 00:20:57 +09:00
parent a266d39c2e
commit 3524c60435
7 changed files with 68 additions and 7 deletions

View file

@ -1,6 +1,20 @@
<include target="header.html" />
<load target="js/adminEdit.js" />
<p>{nl2br($lang->about_layout_code)}</p>
<div class="message error">
<p>{$lang->layout_editing_deprecated_p2}</p>
<p>{$lang->layout_editing_deprecated_p3}</p>
<ul>
<li>files/faceOff/{getNumberingPath($layout_srl)}/layout.html</li>
<li>files/faceOff/{getNumberingPath($layout_srl)}/layout.css</li>
</ul>
<p>{$lang->layout_editing_deprecated_p4}</p>
<ul>
<li>layouts/{$selected_layout->layout}/layout.html</li>
</ul>
<p>{$lang->layout_editing_deprecated_p5}</p>
</div>
<section class="section">
<h1>{$lang->layout_image_repository}</h1>
<p>{nl2br($lang->about_layout_image_repository)}</p>