mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-19 09:18:18 +03:00
Fixes #547
This commit is contained in:
parent
a4a8dfcb8b
commit
05ab81b45c
|
@ -36,7 +36,7 @@
|
|||
label = $aLang.blog.add.fields.type.label
|
||||
note = $aLang.blog.add.fields.type.note_open
|
||||
classes = 'js-blog-add-field-type'
|
||||
inputClasses = 'width-200 js-blog-add-type'
|
||||
inputClasses = 'ls-width-200 js-blog-add-type'
|
||||
selectedValue = $_aRequest.blog_type
|
||||
items = [
|
||||
[ 'value' => 'open', 'text' => $aLang.blog.add.fields.type.value_open ],
|
||||
|
@ -57,7 +57,7 @@
|
|||
name = 'blog_limit_rating_topic'
|
||||
rules = [ 'required' => true, 'type' => 'number' ]
|
||||
value = '0'
|
||||
inputClasses = 'width-100'
|
||||
inputClasses = 'ls-width-100'
|
||||
note = $aLang.blog.add.fields.rating.note
|
||||
label = $aLang.blog.add.fields.rating.label}
|
||||
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th class="cell-name"></th>
|
||||
<th class="ta-c">{$aLang.blog.admin.role_administrator}</th>
|
||||
<th class="ta-c">{$aLang.blog.admin.role_moderator}</th>
|
||||
<th class="ta-c">{$aLang.blog.admin.role_reader}</th>
|
||||
<th class="ta-c">{$aLang.blog.admin.role_banned}</th>
|
||||
<th class="ls-ta-c">{$aLang.blog.admin.role_administrator}</th>
|
||||
<th class="ls-ta-c">{$aLang.blog.admin.role_moderator}</th>
|
||||
<th class="ls-ta-c">{$aLang.blog.admin.role_reader}</th>
|
||||
<th class="ls-ta-c">{$aLang.blog.admin.role_banned}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
@ -28,12 +28,12 @@
|
|||
</td>
|
||||
|
||||
{if $user->getId() == $oUserCurrent->getId()}
|
||||
<td colspan="10" class="ta-c">—</td>
|
||||
<td colspan="10" class="ls-ta-c">—</td>
|
||||
{else}
|
||||
<td class="ta-c"><input type="radio" name="user_rank[{$user->getId()}]" value="administrator" {if $blogUser->getIsAdministrator()}checked{/if} /></td>
|
||||
<td class="ta-c"><input type="radio" name="user_rank[{$user->getId()}]" value="moderator" {if $blogUser->getIsModerator()}checked{/if} /></td>
|
||||
<td class="ta-c"><input type="radio" name="user_rank[{$user->getId()}]" value="reader" {if $blogUser->getUserRole() == $BLOG_USER_ROLE_USER}checked{/if} /></td>
|
||||
<td class="ta-c"><input type="radio" name="user_rank[{$user->getId()}]" value="ban" {if $blogUser->getUserRole() == $BLOG_USER_ROLE_BAN}checked{/if} /></td>
|
||||
<td class="ls-ta-c"><input type="radio" name="user_rank[{$user->getId()}]" value="administrator" {if $blogUser->getIsAdministrator()}checked{/if} /></td>
|
||||
<td class="ls-ta-c"><input type="radio" name="user_rank[{$user->getId()}]" value="moderator" {if $blogUser->getIsModerator()}checked{/if} /></td>
|
||||
<td class="ls-ta-c"><input type="radio" name="user_rank[{$user->getId()}]" value="reader" {if $blogUser->getUserRole() == $BLOG_USER_ROLE_USER}checked{/if} /></td>
|
||||
<td class="ls-ta-c"><input type="radio" name="user_rank[{$user->getId()}]" value="ban" {if $blogUser->getUserRole() == $BLOG_USER_ROLE_BAN}checked{/if} /></td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
{/if}
|
||||
|
||||
{* Информация *}
|
||||
<ul class="{$component}-info clearfix">
|
||||
<ul class="{$component}-info ls-clearfix">
|
||||
{* @hook Начало блока с информацией *}
|
||||
{hook run='comment_info_begin' params=$smarty.local.params}
|
||||
|
||||
|
@ -175,26 +175,26 @@
|
|||
{/if}
|
||||
|
||||
{* Действия *}
|
||||
<ul class="{$component}-actions clearfix">
|
||||
<ul class="{$component}-actions ls-clearfix">
|
||||
{* @hook Начало списка экшенов комментария *}
|
||||
{hook run='comment_actions_begin' params=$smarty.local.params}
|
||||
|
||||
{* Ответить *}
|
||||
{if $oUserCurrent && ! $isDeleted && $smarty.local.showReply|default:true}
|
||||
<li>
|
||||
<a href="#" class="link-dotted js-comment-reply" data-id="{$commentId}">{$aLang.comments.comment.reply}</a>
|
||||
<a href="#" class="ls-link-dotted js-comment-reply" data-id="{$commentId}">{$aLang.comments.comment.reply}</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{* Сворачивание *}
|
||||
<li class="{$component}-fold js-comment-fold open" data-id="{$commentId}">
|
||||
<a href="#" class="link-dotted">{$aLang.comments.folding.fold}</a>
|
||||
<a href="#" class="ls-link-dotted">{$aLang.comments.folding.fold}</a>
|
||||
</li>
|
||||
|
||||
{* Редактировать *}
|
||||
{if $smarty.local.useEdit && $oUserCurrent && $comment->IsAllowEdit()}
|
||||
<li>
|
||||
<a href="#" class="link-dotted js-comment-update" data-id="{$commentId}">
|
||||
<a href="#" class="ls-link-dotted js-comment-update" data-id="{$commentId}">
|
||||
{$aLang.common.edit}
|
||||
|
||||
{* Отображение времени отведенного для редактирования *}
|
||||
|
@ -209,7 +209,7 @@
|
|||
{* Удалить *}
|
||||
{if $oUserCurrent && $comment->IsAllowDelete()}
|
||||
<li>
|
||||
<a href="#" class="link-dotted js-comment-remove" data-id="{$commentId}">
|
||||
<a href="#" class="ls-link-dotted js-comment-remove" data-id="{$commentId}">
|
||||
{( $isDeleted ) ? $aLang.comments.comment.restore : $aLang.common.remove}
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -143,7 +143,7 @@
|
|||
{if $oUserCurrent}
|
||||
{* Кнопка открывающая форму *}
|
||||
<h4 class="ls-comment-reply-root js-comment-reply js-comment-reply-root" data-id="0">
|
||||
<a href="#" class="link-dotted">{$smarty.local.addCommentText|default:$aLang.comments.form.title}</a>
|
||||
<a href="#" class="ls-link-dotted">{$smarty.local.addCommentText|default:$aLang.comments.form.title}</a>
|
||||
</h4>
|
||||
{else}
|
||||
{component 'alert' mods='info' text=$aLang.comments.alerts.unregistered}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Media content
|
||||
*}
|
||||
|
||||
<div class="ls-media clearfix {$smarty.local.classes}">
|
||||
<div class="ls-media ls-clearfix {$smarty.local.classes}">
|
||||
{component 'tabs' classes='ls-media-nav js-media-nav' mods='align-left' tabs=[
|
||||
[ 'text' => {lang 'media.nav.insert'}, 'body' => {component 'media' template='pane.insert'}, 'classes' => 'js-tab-show-gallery', 'attributes' => 'data-media-name="insert"' ],
|
||||
[ 'text' => {lang 'media.nav.photoset'}, 'body' => {component 'media' template='pane.photoset'}, 'classes' => 'js-tab-show-gallery', 'attributes' => 'data-media-name="photoset"' ],
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{*component 'field' template='select'
|
||||
name = 'filetype'
|
||||
label = 'Type'
|
||||
inputClasses = 'width-300 js-media-url-type'
|
||||
inputClasses = 'ls-width-300 js-media-url-type'
|
||||
items = [
|
||||
[ 'value' => '1', 'text' => 'Image' ]
|
||||
]*}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
</li>
|
||||
{/function}
|
||||
|
||||
<ul class="write-list clearfix">
|
||||
<ul class="write-list ls-clearfix">
|
||||
{foreach $LS->Topic_GetTopicTypes() as $type}
|
||||
{modal_create_item item='topic' url=$type->getUrlForAdd() title=$type->getName()}
|
||||
{/foreach}
|
||||
|
|
|
@ -25,13 +25,13 @@
|
|||
|
||||
{* Действия *}
|
||||
{if $isEditable}
|
||||
<ul class="{$component}-actions js-note-actions clearfix" {if ! $note}style="display: none;"{/if}>
|
||||
<ul class="{$component}-actions js-note-actions ls-clearfix" {if ! $note}style="display: none;"{/if}>
|
||||
<li><a href="#" class="js-note-actions-edit">{$aLang.common.edit}</a></li>
|
||||
<li><a href="#" class="js-note-actions-remove">{$aLang.common.remove}</a></li>
|
||||
</ul>
|
||||
|
||||
{* Добавить *}
|
||||
<ul class="{$component}-actions {$component}-actions--add clearfix js-note-add" {if $note}style="display: none;"{/if}>
|
||||
<ul class="{$component}-actions {$component}-actions--add ls-clearfix js-note-add" {if $note}style="display: none;"{/if}>
|
||||
<li><a href="#" class="">{$aLang.user_note.add}</a></li>
|
||||
</ul>
|
||||
{/if}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
name = 'answers[]'
|
||||
value = ($item) ? $item->getTitle() : ''
|
||||
isDisabled = ! $allowUpdate
|
||||
inputClasses = 'width-full js-poll-form-answer-item-text'}
|
||||
inputClasses = 'ls-width-full js-poll-form-answer-item-text'}
|
||||
|
||||
{* Кнопка удаления *}
|
||||
{if $allowRemove}
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
displayInline = true
|
||||
name = 'poll[count_answer_max]'
|
||||
value = ($poll) ? $poll->getCountAnswerMax() : 2
|
||||
classes = 'width-50'
|
||||
classes = 'ls-width-50'
|
||||
isDisabled = $bDisableChangeType}
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{component 'field' template='file'
|
||||
name = "property[{$property->getId()}][file]"
|
||||
removeName = "property[{$property->getId()}][remove]"
|
||||
classes = 'width-300'
|
||||
classes = 'ls-width-300'
|
||||
note = $property->getDescription()
|
||||
label = $property->getTitle()
|
||||
uploadedFiles = $property->getValue()->getDataOne( 'file' )}
|
|
@ -1,6 +1,6 @@
|
|||
{component 'field' template='text'
|
||||
name = "property[{$property->getId()}]"
|
||||
value = $property->getValue()->getValueForForm()
|
||||
classes = 'width-150'
|
||||
classes = 'ls-width-150'
|
||||
note = $property->getDescription()
|
||||
label = $property->getTitle()}
|
|
@ -1,6 +1,6 @@
|
|||
{component 'field' template='text'
|
||||
name = "property[{$property->getId()}]"
|
||||
value = $property->getValue()->getValueForForm()
|
||||
classes = 'width-150'
|
||||
classes = 'ls-width-150'
|
||||
note = $property->getDescription()
|
||||
label = $property->getTitle()}
|
|
@ -9,5 +9,5 @@
|
|||
{component 'property' template='input.property.video-modal' value=$value}
|
||||
|
||||
<p class="mb-20">
|
||||
<a href="#" class="link-dotted js-modal-toggle-default" data-lsmodaltoggle-modal="modal-property-type-video-{$value->getId()}">Смотреть</a>
|
||||
<a href="#" class="ls-link-dotted js-modal-toggle-default" data-lsmodaltoggle-modal="modal-property-type-video-{$value->getId()}">Смотреть</a>
|
||||
</p>
|
|
@ -11,14 +11,14 @@
|
|||
{component 'field' template='select'
|
||||
name = 'type'
|
||||
label = {lang 'report.form.fields.type.label'}
|
||||
classes = 'width-full'
|
||||
classes = 'ls-width-full'
|
||||
items = $smarty.local.types}
|
||||
|
||||
{component 'field' template='textarea'
|
||||
name = 'text'
|
||||
rows = 5
|
||||
label = {lang 'report.form.fields.text.label'}
|
||||
classes = 'width-full'}
|
||||
classes = 'ls-width-full'}
|
||||
|
||||
{* Каптча *}
|
||||
{if Config::Get('module.user.complaint_captcha')}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
name = 'tags'
|
||||
noMargin = true
|
||||
autofocus = true
|
||||
inputClasses = 'width-full autocomplete-tags-sep js-tags-form-input-list'}
|
||||
inputClasses = 'ls-width-full autocomplete-tags-sep js-tags-form-input-list'}
|
||||
</form>
|
||||
{/capture}
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
{* Кнопка "Изменить теги" *}
|
||||
<li class="ls-tags-item ls-tags-personal-edit js-tags-personal-edit" {if $smarty.local.isEditable}style="display:none;"{/if}>
|
||||
<a href="#" class="link-dotted">
|
||||
<a href="#" class="ls-link-dotted">
|
||||
{component 'icon' icon='edit'}
|
||||
{lang 'tags_personal.edit'}
|
||||
</a>
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
<img src="{$user->getProfileAvatarPath(64)}" alt="{$user->getLogin()}" />
|
||||
</a>
|
||||
|
||||
<a href="{$user->getUserWebPath()}" class="word-wrap">{$user->getDisplayName()}</a>
|
||||
<a href="{$user->getUserWebPath()}" class="ls-word-wrap">{$user->getDisplayName()}</a>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
name = 'sender'
|
||||
label = $aLang.talk.search.fields.sender.label
|
||||
note = $aLang.talk.search.fields.sender.note
|
||||
inputClasses = 'width-full autocomplete-users'}
|
||||
inputClasses = 'ls-width-full autocomplete-users'}
|
||||
|
||||
{* Получатель *}
|
||||
{component 'field' template='text'
|
||||
name = 'receiver'
|
||||
label = $aLang.talk.search.fields.receiver.label
|
||||
note = $aLang.talk.search.fields.receiver.note
|
||||
inputClasses = 'width-full autocomplete-users'}
|
||||
inputClasses = 'ls-width-full autocomplete-users'}
|
||||
|
||||
{* Искать в заголовке *}
|
||||
{component 'field' template='text'
|
||||
|
@ -33,12 +33,12 @@
|
|||
name = 'start'
|
||||
placeholder = $aLang.talk.search.fields.start.placeholder
|
||||
label = $aLang.talk.search.fields.start.label
|
||||
inputClasses = 'width-200 js-date-picker'}
|
||||
inputClasses = 'ls-width-200 js-date-picker'}
|
||||
|
||||
{component 'field' template='text'
|
||||
name = 'end'
|
||||
placeholder = $aLang.talk.search.fields.end.placeholder
|
||||
inputClasses = 'width-200 js-date-picker'}
|
||||
inputClasses = 'ls-width-200 js-date-picker'}
|
||||
|
||||
{* Искать только в избранном *}
|
||||
{component 'field' template='checkbox' name='favourite' label=$aLang.talk.search.fields.favourite.label}
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
rules = [ 'required' => !Config::Get('module.topic.allow_empty_tags'), 'rangetags' => '[1,15]' ]
|
||||
label = {lang 'topic.add.fields.tags.label'}
|
||||
note = {lang 'topic.add.fields.tags.note'}
|
||||
inputClasses = 'width-full autocomplete-tags-sep'}
|
||||
inputClasses = 'ls-width-full autocomplete-tags-sep'}
|
||||
{/if}
|
||||
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
{block 'topic_header'}
|
||||
<header class="{$component}-header">
|
||||
{* Заголовок *}
|
||||
<h1 class="{$component}-title word-wrap">
|
||||
<h1 class="{$component}-title ls-word-wrap">
|
||||
{block 'topic_title'}
|
||||
{if $topic->getPublish() == 0}
|
||||
{component 'icon' icon='file' attributes=[ title => {lang 'topic.is_draft'} ]}
|
||||
|
@ -153,7 +153,7 @@
|
|||
<footer class="{$component}-footer">
|
||||
{* Информация *}
|
||||
{block 'topic_footer_info'}
|
||||
<ul class="{$component}-info clearfix">
|
||||
<ul class="{$component}-info ls-clearfix">
|
||||
{block 'topic_footer_info_items'}
|
||||
{* Голосование *}
|
||||
{if ! $isPreview}
|
||||
|
|
|
@ -15,12 +15,12 @@
|
|||
{$mods = "{$mods} is-online"}
|
||||
{/if}
|
||||
|
||||
<div class="{$component} {cmods name=$component mods=$mods} {$smarty.local.classes} clearfix" {cattr list=$smarty.local.attributes}>
|
||||
<div class="{$component} {cmods name=$component mods=$mods} {$smarty.local.classes} ls-clearfix" {cattr list=$smarty.local.attributes}>
|
||||
{* @hook Начало шапки с информацией о пользователе *}
|
||||
{hook run='user_header_begin' user=$user}
|
||||
|
||||
{* Пользователь *}
|
||||
<div class="{$component}-user clearfix">
|
||||
<div class="{$component}-user ls-clearfix">
|
||||
<a href="{$user->getUserWebPath()}">
|
||||
<img src="{$user->getProfileAvatarPath(100)}" alt="{$user->getProfileName()}" class="{$component}-user-avatar js-user-profile-avatar" itemprop="photo">
|
||||
</a>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
{component 'field' template='text'
|
||||
name = 'password_now'
|
||||
type = 'password'
|
||||
inputClasses = 'width-200'
|
||||
inputClasses = 'ls-width-200'
|
||||
label = {lang name='user.settings.account.fields.password.label'}}
|
||||
|
||||
{* Новый пароль *}
|
||||
|
@ -37,7 +37,7 @@
|
|||
name = 'password'
|
||||
rules = [ 'length' => '[5,20]' ]
|
||||
type = 'password'
|
||||
inputClasses = 'width-200 js-user-settings-password'
|
||||
inputClasses = 'ls-width-200 js-user-settings-password'
|
||||
label = {lang name='user.settings.account.fields.password_new.label'}}
|
||||
|
||||
{* Повторить новый пароль *}
|
||||
|
@ -45,7 +45,7 @@
|
|||
name = 'password_confirm'
|
||||
rules = [ 'length' => '[5,20]', 'equalto' => '.js-user-settings-password' ]
|
||||
type = 'password'
|
||||
inputClasses = 'width-200'
|
||||
inputClasses = 'ls-width-200'
|
||||
label = {lang name='user.settings.account.fields.password_confirm.label'}}
|
||||
</fieldset>
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
{/foreach}
|
||||
</select>
|
||||
|
||||
<input type="text" name="profile_user_field_value[]" value="{if $field}{$field->getValue()|escape}{/if}" class="width-200">
|
||||
<input type="text" name="profile_user_field_value[]" value="{if $field}{$field->getValue()|escape}{/if}" class="ls-width-200">
|
||||
{component 'icon' icon='remove' classes='js-user-field-item-remove' attributes=[ title => {lang 'common.remove'} ]}
|
||||
</div>
|
||||
{/function}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
{* Ссылка показывающая мод. окно со списком пользователей *}
|
||||
{capture 'user_field_choose'}
|
||||
<a href="#" class="link-dotted js-{$component}-button">
|
||||
<a href="#" class="ls-link-dotted js-{$component}-button">
|
||||
{$lang_choose}
|
||||
</a>
|
||||
{/capture}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*}
|
||||
|
||||
<div class="ls-userbar">
|
||||
<div class="ls-userbar-inner clearfix" style="min-width: {Config::Get('view.grid.fluid_min_width')}; max-width: {Config::Get('view.grid.fluid_max_width')};">
|
||||
<div class="ls-userbar-inner ls-clearfix" style="min-width: {Config::Get('view.grid.fluid_min_width')}; max-width: {Config::Get('view.grid.fluid_max_width')};">
|
||||
{if ! Config::Get( 'view.layout_show_banner' )}
|
||||
<h1 class="ls-userbar-logo">
|
||||
<a href="{router page='/'}">{Config::Get('view.name')}</a>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
{* Текст *}
|
||||
{component 'field' template='textarea'
|
||||
placeholder = "{$smarty.local.placeholder|default:$aLang.wall.form.fields.text.placeholder}"
|
||||
inputClasses = 'width-full js-wall-form-text'}
|
||||
inputClasses = 'ls-width-full js-wall-form-text'}
|
||||
|
||||
{* Подвал формы *}
|
||||
<footer class="wall-form-footer">
|
||||
|
|
Loading…
Reference in a new issue