mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-26 11:40:48 +03:00
fix загрузки аватаров в Synio
This commit is contained in:
parent
2aad1517ea
commit
2a0ce3158e
|
@ -635,6 +635,7 @@ return array(
|
|||
'settings_profile_avatar_delete' => 'delete',
|
||||
'settings_profile_avatar_change' => 'change',
|
||||
'settings_profile_avatar_upload' => 'upload',
|
||||
'settings_profile_avatar_resize_title' => 'Select area',
|
||||
'settings_profile_avatar_resize_apply' => 'Apply',
|
||||
'settings_profile_avatar_resize_cancel' => 'Cancel',
|
||||
'settings_profile_foto' => 'Photo',
|
||||
|
|
|
@ -635,6 +635,7 @@ return array(
|
|||
'settings_profile_avatar_delete' => 'Удалить',
|
||||
'settings_profile_avatar_change' => 'Изменить аватар',
|
||||
'settings_profile_avatar_upload' => 'Загрузить аватар',
|
||||
'settings_profile_avatar_resize_title' => 'Выбор области',
|
||||
'settings_profile_avatar_resize_apply' => 'Применить',
|
||||
'settings_profile_avatar_resize_cancel' => 'Отменить',
|
||||
'settings_profile_foto' => 'Фото',
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<div class="modal modal-upload-photo" id="foto-resize">
|
||||
<header class="modal-header">
|
||||
<h3>{$aLang.uploadimg}</h3>
|
||||
<h3>{$aLang.settings_profile_avatar_resize_title}</h3>
|
||||
</header>
|
||||
|
||||
<div class="modal-content">
|
||||
|
|
|
@ -38,13 +38,17 @@
|
|||
<a href="#" id="avatar-remove" class="link-dotted" onclick="return ls.user.removeAvatar();" style="{if !$oUserCurrent->getProfileAvatar()}display:none;{/if}">{$aLang.settings_profile_avatar_delete}</a>
|
||||
</div>
|
||||
|
||||
<div id="avatar-resize" class="modal">
|
||||
<div id="avatar-resize" class="modal modal-upload-avatar">
|
||||
<header class="modal-header">
|
||||
<h3>{$aLang.uploadimg}</h3>
|
||||
<h3>{$aLang.settings_profile_avatar_resize_title}</h3>
|
||||
</header>
|
||||
|
||||
<div class="modal-content">
|
||||
<p><img src="" alt="" id="avatar-resize-original-img"></p>
|
||||
<div class="clearfix">
|
||||
<div class="image-border">
|
||||
<img src="" alt="" id="avatar-resize-original-img">
|
||||
</div>
|
||||
</div>
|
||||
<button class="button button-primary" onclick="return ls.user.resizeAvatar();">{$aLang.settings_profile_avatar_resize_apply}</button>
|
||||
<button class="button" onclick="return ls.user.cancelAvatar();">{$aLang.settings_profile_avatar_resize_cancel}</button>
|
||||
</div>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
/* Block Type - Profile */
|
||||
.block.block-type-profile { background: none; border: none; padding: 0; }
|
||||
.block.block-type-profile .profile-photo-wrapper { position: relative; min-height: 50px; }
|
||||
.block.block-type-profile .profile-photo { vertical-align: top; }
|
||||
.block.block-type-profile .profile-photo { vertical-align: top; max-width: 240px; }
|
||||
.block.block-type-profile .status { position: absolute; top: 5px; left: 5px; padding: 0 5px; border-radius: 2px; font-size: 11px; }
|
||||
.block.block-type-profile .status.status-online { background: #B7BC1C; color: #fff; }
|
||||
.block.block-type-profile .status.status-offline { background: #333; color: #fff; opacity: .5; filter: alpha(opacity=50); }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* --------------------------------------------
|
||||
ÌÎÄÀËÜÍÛÅ ÎÊÍÀ
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
-------------------------------------------- */
|
||||
|
||||
.modal {
|
||||
|
@ -39,7 +39,7 @@
|
|||
|
||||
|
||||
|
||||
/* Ôîðìà âõîäà */
|
||||
/* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> */
|
||||
.modal.modal-login { width: 450px; margin-left: -225px; top: 50px; }
|
||||
.modal.modal-login .nav { margin-bottom: 30px; }
|
||||
.modal.modal-login .modal-header { margin-bottom: 0; }
|
||||
|
@ -50,7 +50,7 @@
|
|||
.modal.modal-login .icon-ok-green { position: relative; top: -1px; }
|
||||
|
||||
|
||||
/* Äîáàâëåíèå òîïèêà */
|
||||
/* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
||||
.modal.modal-write { width: 620px; margin-left: -310px; top: 70px; background: #e0eff9; }
|
||||
.modal.modal-write .modal-content { padding: 20px 10px 20px; *padding: 20px 10px 25px; }
|
||||
.modal.modal-write .write-list { *overflow: hidden; *zoom: 1; }
|
||||
|
@ -75,7 +75,8 @@
|
|||
|
||||
/* Upload Image */
|
||||
.modal.modal-image-upload { width: 500px; margin-left: -250px; }
|
||||
.modal.modal-upload-photo .image-border { float: left; border-radius: 5px; background: #fff; padding: 5px; margin-bottom: 15px; box-shadow: 0 0 5px rgba(0,0,0,.2); }
|
||||
.modal.modal-upload-photo .image-border, .modal.modal-upload-avatar .image-border { float: left; border-radius: 5px; background: #fff; padding: 5px; margin-bottom: 15px; box-shadow: 0 0 5px rgba(0,0,0,.2); }
|
||||
#avatar-resize-original-img { max-width: 200px; width: 100%; }
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@ $config = array();
|
|||
|
||||
$config['view']['theme'] = 'default';
|
||||
|
||||
$config['module']['user']['profile_photo_width'] = 240;
|
||||
|
||||
$config['head']['default']['js'] = Config::Get('head.default.js');
|
||||
$config['head']['default']['js'][] = '___path.static.skin___/js/synio.js';
|
||||
|
||||
|
|
Loading…
Reference in a new issue