1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-01 05:55:02 +03:00

Мелкие исправления в дефолтных плагинах

This commit is contained in:
Denis Shakhov 2013-06-18 16:38:02 +07:00
parent 7c0c2652bf
commit 9bc0fe84e9
3 changed files with 16 additions and 10 deletions

View file

@ -4,9 +4,9 @@
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}{$aLang.plugin.page.admin}{/block}
{block name='layout_content'}
<h2 class="page-header">{$aLang.plugin.page.admin}</h2>
{if $aParams.0=='new'}
<h3 class="h6">{$aLang.plugin.page.create}</h3>
{include file=$aTemplatePathPlugin.page|cat:'actions/ActionPage/add.tpl'}
@ -14,7 +14,7 @@
<h3 class="h6">{$aLang.plugin.page.edit} «{$oPageEdit->getTitle()}»</h3>
{include file=$aTemplatePathPlugin.page|cat:'actions/ActionPage/add.tpl'}
{else}
<a href="{router page='page'}admin/new/" class="button">{$aLang.plugin.page.new}</a><br /><br />
<a href="{router page='page'}admin/new/" class="button button-primary">{$aLang.plugin.page.new}</a><br /><br />
{/if}

View file

@ -4,9 +4,9 @@
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}{$oPage->getTitle()}{/block}
{block name='layout_content'}
<h2 class="page-header">{$oPage->getTitle()}</h2>
<div class="text">
{if $oConfig->GetValue('view.tinymce')}
{$oPage->getText()}
@ -18,4 +18,9 @@
{/if}
{/if}
</div>
{if $oUserCurrent and $oUserCurrent->isAdministrator()}
<br />
<a href="{router page='page'}admin/edit/{$oPage->getId()}/">{$aLang.plugin.page.admin_action_edit}</a>
{/if}
{/block}

View file

@ -4,16 +4,18 @@
{$noShowSystemMessage = false}
{/block}
{block name='layout_content'}
{block name='layout_page_title'}{$aLang.plugin.profiler.reports_title}{/block}
{block name='layout_head_end'}
<script>
var DIR_PLUGIN_SKIN='{$aTemplateWebPathPlugin.profiler}';
var DIR_PLUGIN_SKIN = '{$aTemplateWebPathPlugin.profiler}';
</script>
<script type="text/javascript" src="{$aTemplateWebPathPlugin.profiler}js/profiler.js"></script>
<link rel="stylesheet" type="text/css" href="{$aTemplateWebPathPlugin.profiler}css/style.css" media="all" />
{/block}
<h2 class="page-header">{$aLang.plugin.profiler.reports_title}</h2>
{block name='layout_content'}
<form action="{router page='profiler'}" method="post" id="form_report_list">
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
@ -52,6 +54,5 @@
{/if}
</form>
{include file='paging.tpl' aPaging="$aPaging"}
{/block}