mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-17 07:10:48 +03:00
fix developer
This commit is contained in:
parent
52bcf05b81
commit
d7e6cfa5dc
31
templates/skin/developer/actions/ActionAdmin/plugins.tpl
Normal file
31
templates/skin/developer/actions/ActionAdmin/plugins.tpl
Normal file
|
@ -0,0 +1,31 @@
|
|||
{include file='header.tpl' showWhiteBack=true}
|
||||
|
||||
<form action="{router page='admin'}plugins/" method="post" id="form_plugins_list">
|
||||
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
|
||||
<table class="people">
|
||||
<thead>
|
||||
<tr>
|
||||
<td width="20px"><input type="checkbox" name="" onclick="checkAllPlugins(this);"></td>
|
||||
<td class="name">{$aLang.plugins_plugin_name}</td>
|
||||
<td align="center">{$aLang.plugins_plugin_version}</td>
|
||||
<td>{$aLang.plugins_plugin_author}</td>
|
||||
<td>{$aLang.plugins_plugin_action}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
{foreach from=$aPlugins item=aPlugin}
|
||||
<tr>
|
||||
<td><input type="checkbox" name="plugin_del[{$aPlugin.code}]" class="form_plugins_checkbox"></td>
|
||||
<td><strong style="color: #333;">{$aPlugin.property->name->data|escape:'html'}</strong><br />{$aPlugin.property->description->data|escape:'html'}<br />{$aPlugin.property->homepage}</td>
|
||||
<td align="center">{$aPlugin.property->version|escape:'html'}</td>
|
||||
<td>{$aPlugin.property->author->data|escape:'html'}</td>
|
||||
<td class="{if $aPlugin.is_active}deactivate{else}activate{/if}"><strong>{if $aPlugin.is_active}<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=deactivate">{$aLang.plugins_plugin_deactivate}</a>{else}<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=activate">{$aLang.plugins_plugin_activate}</a>{/if}</strong></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<input type="submit" name="submit_plugins_del" value="{$aLang.plugins_submit_delete}" onclick="return ($$('.form_plugins_checkbox:checked').length==0)?false:confirm('{$aLang.plugins_delete_confirm}');">
|
||||
</form>
|
||||
|
||||
{include file='footer.tpl'}
|
|
@ -48,14 +48,14 @@
|
|||
function addListItem(sId,sLogin) {
|
||||
if($('blackListBlock').getElements('li').length==0) {
|
||||
$('list_uncheck_all').removeProperty('style');
|
||||
list=new Element('ul', {class:'list',id:'blackList'});
|
||||
list=new Element('ul', {'class':'list user-list',id:'blackList'});
|
||||
$('blackListBlock').adopt(list);
|
||||
}
|
||||
|
||||
oSpan=new Element('span',
|
||||
{
|
||||
'class' : 'user',
|
||||
'text' : sLogin
|
||||
'text' : sLogin+' '
|
||||
}
|
||||
);
|
||||
oLink=new Element('a',
|
||||
|
@ -63,7 +63,7 @@
|
|||
'id' : 'blacklist_item_'+sId,
|
||||
'href' : "#",
|
||||
'class' : 'delete',
|
||||
'html' : ' — Удалить',
|
||||
'html' : '(Удалить)',
|
||||
'events': {
|
||||
'click': function() {
|
||||
deleteFromBlackList(this);
|
||||
|
@ -136,7 +136,7 @@
|
|||
{/literal}
|
||||
<ul class="list user-list" id="blackList">
|
||||
{foreach from=$aUsersBlacklist item=oUser}
|
||||
<li>{$oUser->getLogin()} — <a href="#" id="blacklist_item_{$oUser->getId()}" onclick="deleteFromBlackList(this); return false;" class="delete">{$aLang.comment_delete}</a></li>
|
||||
<li>{$oUser->getLogin()} <a href="#" id="blacklist_item_{$oUser->getId()}" onclick="deleteFromBlackList(this); return false;" class="delete">({$aLang.comment_delete})</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
|
|
Loading…
Reference in a new issue