diff --git a/acptemplate/chatRoomAdd.tpl b/acptemplate/chatRoomAdd.tpl index 2e86b46..88faf22 100644 --- a/acptemplate/chatRoomAdd.tpl +++ b/acptemplate/chatRoomAdd.tpl @@ -1,9 +1,5 @@ {include file='header'} - - - - - - - + + + {lang}wcf.acp.chat.room.{$action}{/lang} {if $errorField} - {lang}wcf.global.form.error{/lang} + {lang}wcf.global.form.error{/lang} {/if} {if $success|isset} - {lang}wcf.global.form.{$action}.success{/lang} + {lang}wcf.global.form.{$action}.success{/lang} {/if} - + - - {lang}wcf.acp.menu.link.chat.room.list{/lang} + + {lang}wcf.acp.menu.link.chat.room.list{/lang} - + {lang}wcf.acp.chat.room.data{/lang} - + {lang}wcf.acp.chat.room.title{/lang} {if $errorField == 'title'} - + {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} @@ -65,12 +61,12 @@ {include file='multipleLanguageInputJavascript' elementIdentifier='title'} - + {lang}wcf.acp.chat.room.topic{/lang} {if $errorField == 'topic'} - + {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} @@ -90,10 +86,8 @@ - - + - {@SID_INPUT_TAG} {if $roomID|isset}{/if} diff --git a/acptemplate/chatRoomList.tpl b/acptemplate/chatRoomList.tpl index 230e81e..7e5b17e 100644 --- a/acptemplate/chatRoomList.tpl +++ b/acptemplate/chatRoomList.tpl @@ -9,60 +9,58 @@ //]]> - - - + + + {lang}wcf.acp.chat.room.list{/lang} - + {pages print=true assign=pagesLinks controller="ChatRoomList" link="pageNo=%d"} {if $__wcf->session->getPermission('admin.content.chat.canAddRoom')} - - {lang}wcf.acp.chat.room.add{/lang} + + {lang}wcf.acp.chat.room.add{/lang} {/if} - - - {hascontent} - - {content} - {foreach from=$objects item=chatRoom} - - - {if $__wcf->session->getPermission('admin.content.chat.canEditRoom')} - {$chatRoom->title|language} - {else} - {$chatRoom->title|language} - {/if} - - +{hascontent} + + + {content} + {foreach from=$objects item=chatRoom} + + {if $__wcf->session->getPermission('admin.content.chat.canEditRoom')} - - {/if} - {if $__wcf->session->getPermission('admin.content.chat.canDeleteRoom')} - + {$chatRoom->title|language} + {else} + {$chatRoom->title|language} {/if} + + + {if $__wcf->session->getPermission('admin.content.chat.canEditRoom')} + + {/if} + {if $__wcf->session->getPermission('admin.content.chat.canDeleteRoom')} + + {/if} + - - - - {/foreach} - {/content} - - - {lang}wcf.global.button.reset{/lang} - {lang}wcf.global.button.submit{/lang} - - {hascontentelse} - {lang}wcf.acp.chat.room.noneAvailable{/lang} - {/hascontent} - + + + {/foreach} + {/content} + + + {lang}wcf.global.button.submit{/lang} + + +{hascontentelse} + {lang}wcf.acp.chat.room.noneAvailable{/lang} +{/hascontent} {include file='footer'}
{lang}wcf.global.form.error{/lang}
{lang}wcf.global.form.{$action}.success{/lang}
{lang}wcf.acp.chat.room.noneAvailable{/lang}