Plugins options when writting entry/static bug fixed

This commit is contained in:
Francisco 2020-09-21 13:46:03 +01:00
parent d1a1661725
commit 86a3af6841
3 changed files with 32 additions and 9 deletions

View File

@ -71,7 +71,6 @@
{/literal} {/literal}
{/if} {/if}
{*here will go a plugin hook*} {*here will go a plugin hook*}
{action hook=simple_edit_form}
</p> </p>
</div> </div>
</div> </div>
@ -120,6 +119,15 @@
</ul> </ul>
</p> </p>
</div> </div>
<div class="card shadow mb-4 plugin_options">
<div class="card-header">
<h6 class="m-0 font-weight-bold text-primary">Plugins Options</h6>
</div>
<div class="m-4">
{toolbar}
{action hook=simple_edit_form}
</div>
</div>
</div> </div>
</div> </div>

View File

@ -36,12 +36,17 @@
</div> </div>
</div> </div>
<div class="col-lg-6 mb-4"> <div class="col-lg-6 mb-4">
<div class="card shadow mb-4"> <div class="card shadow mb-4">
<div class="card-header"> <div class="card-header">
<h6 class="m-0 font-weight-bold text-primary">{$panelstrings.last_comments}</h6> <h6 class="m-0 font-weight-bold text-primary">{$panelstrings.last_comments}</h6>
</div> </div>
<div class="card-body lc_table"> <div class="card-body lc_table">
{if $last_comments_table}
{$last_comments_table} {$last_comments_table}
{else}
<h2 class="text-center font-italic">No comments yet :(</h2>
{/if}
</div> </div>
</div> </div>
</div> </div>

View File

@ -81,6 +81,16 @@
{html_submit name="preview" id="preview" class="btn btn-primary" value=$panelstrings.preview accesskey=p} {html_submit name="preview" id="preview" class="btn btn-primary" value=$panelstrings.preview accesskey=p}
</fieldset> </fieldset>
</div> </div>
</div>
<div class="card shadow mb-4 plugin_options">
<div class="card-header">
<h6 class="m-0 font-weight-bold text-primary">Plugins Options</h6>
</div>
<div class="m-4">
{toolbar}
<!-- {action hook=simple_edit_form} (Only writting an entry) -->
</div>
</div>
</div> </div>
</div> </div>
</div> </div>