mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-01 14:05:07 +03:00
фикс багов в шаблоне new-jquery
This commit is contained in:
parent
f3847bbd2e
commit
0b544c3e51
|
@ -53,7 +53,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
jQuery(document).ready(function($){
|
jQuery(document).ready(function($){
|
||||||
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li"});
|
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li"});
|
||||||
// Подключаем редактор
|
// Подключаем редактор
|
||||||
$('#blog_description').markItUp(getMarkitupSettings());
|
$('#blog_description').markItUp(getMarkitupSettings());
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
<td class="var">{$aLang.profile_friends}:</td>
|
<td class="var">{$aLang.profile_friends}:</td>
|
||||||
<td>
|
<td>
|
||||||
{foreach from=$aUsersFriend item=oUser}
|
{foreach from=$aUsersFriend item=oUser}
|
||||||
<a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
|
<a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<ul class="list">
|
<ul class="list">
|
||||||
{foreach from=$aBlogs item=oBlog}
|
{foreach from=$aBlogs item=oBlog}
|
||||||
<li>
|
<li>
|
||||||
|
<span class="rating">{$oBlog->getRating()}</span>
|
||||||
<a href="{router page='blog'}{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a>
|
<a href="{router page='blog'}{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a>
|
||||||
{if $oBlog->getType()=='close'}<img src="{cfg name='path.static.skin'}/images/lock.png" alt="[x]" title="{$aLang.clean_blog_closed}" />{/if}
|
{if $oBlog->getType()=='close'}<img src="{cfg name='path.static.skin'}/images/lock.png" alt="[x]" title="{$aLang.clean_blog_closed}" />{/if}
|
||||||
<span class="rating">{$oBlog->getRating()}</span>
|
|
||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
|
@ -50,7 +50,7 @@
|
||||||
{$aLang.comment_was_delete}
|
{$aLang.comment_was_delete}
|
||||||
{/if}
|
{/if}
|
||||||
{if $oUserCurrent}
|
{if $oUserCurrent}
|
||||||
<div class="comment" id="comment_preview_{$oComment->getId()}" style="display: none;"></div>
|
<div class="comment-preview" id="comment_preview_{$oComment->getId()}" style="display: none;"></div>
|
||||||
<div class="reply" id="reply_{$oComment->getId()}" style="display: none;"></div>
|
<div class="reply" id="reply_{$oComment->getId()}" style="display: none;"></div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
|
@ -114,7 +114,7 @@
|
||||||
|
|
||||||
|
|
||||||
{if $oUserCurrent}
|
{if $oUserCurrent}
|
||||||
<div class="comment" id="comment_preview_0" style="display: none;"><div class="comment-inner"><div class="content"></div></div></div>
|
<div class="comment-preview" id="comment_preview_0" style="display: none;"><div class="comment-inner"><div class="content"></div></div></div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<form action="" method="POST" id="form_comment" onsubmit="return false;" enctype="multipart/form-data">
|
<form action="" method="POST" id="form_comment" onsubmit="return false;" enctype="multipart/form-data">
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
|
|
||||||
/* Top Blogs */
|
/* Top Blogs */
|
||||||
.block.blogs ul.list { border-top: 1px solid #eee; }
|
.block.blogs ul.list { border-top: 1px solid #eee; }
|
||||||
.block.blogs ul.list li { padding: 5px 0 5px; border-bottom: 1px solid #eee; }
|
.block.blogs ul.list li { padding: 5px 0 5px; border-bottom: 1px solid #eee; overflow: hidden; zoom: 1; }
|
||||||
.block.blogs ul.list li a { color: #777; }
|
.block.blogs ul.list li a { color: #777; }
|
||||||
.block.blogs ul.list li img { vertical-align: top; }
|
.block.blogs ul.list li img { vertical-align: top; }
|
||||||
.block.blogs ul.list li .rating { float: right; font-weight: bold; }
|
.block.blogs ul.list li .rating { float: right; font-weight: bold; margin-left: 10px; }
|
||||||
|
|
||||||
/* Tags */
|
/* Tags */
|
||||||
.block.tags { background: #F7F8F9; box-shadow: none; border-color: #EAEBEB; }
|
.block.tags { background: #F7F8F9; box-shadow: none; border-color: #EAEBEB; }
|
||||||
|
|
|
@ -66,8 +66,8 @@
|
||||||
|
|
||||||
/* Content */
|
/* Content */
|
||||||
.comment .content { color: #000; margin: 0 30px 10px 0; border: 1px solid #DDDEDE; background: #f7f7f7; border-radius: 7px; padding: 8px 30px 9px 10px; }
|
.comment .content { color: #000; margin: 0 30px 10px 0; border: 1px solid #DDDEDE; background: #f7f7f7; border-radius: 7px; padding: 8px 30px 9px 10px; }
|
||||||
.comment .content pre { overflow: auto; width: 95%; padding: 5px 2%; margin-bottom: 10px; background: #f8f8f8 url(../images/code.gif); border: 1px solid #dce6f0; clear: both; }
|
.comment pre { overflow: auto; width: 95%; padding: 5px 2%; margin-bottom: 10px; background: #f8f8f8 url(../images/code.gif); border: 1px solid #dce6f0; clear: both; }
|
||||||
.comment .content blockquote {font-style: italic; padding: 5px 10px; background: #ffffff; border: 1px solid #ddd;}
|
.comment blockquote {font-style: italic; padding: 5px 10px; background: #ffffff; border: 1px solid #ddd;}
|
||||||
|
|
||||||
/* Actions */
|
/* Actions */
|
||||||
.comment .actions { font-size: 11px; }
|
.comment .actions { font-size: 11px; }
|
||||||
|
|
|
@ -139,6 +139,7 @@
|
||||||
.user-profile-table { width: 100%; }
|
.user-profile-table { width: 100%; }
|
||||||
.user-profile-table td { vertical-align: top; padding: 0 0 5px; }
|
.user-profile-table td { vertical-align: top; padding: 0 0 5px; }
|
||||||
.user-profile-table td.var { width: 150px; font-weight: bold; color: #999; }
|
.user-profile-table td.var { width: 150px; font-weight: bold; color: #999; }
|
||||||
|
.user-profile-table td .user { margin-right: 7px; }
|
||||||
|
|
||||||
/* Stat */
|
/* Stat */
|
||||||
.stat-performance { padding: 15px 20px; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
|
.stat-performance { padding: 15px 20px; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
width: 250px;
|
width: 250px;
|
||||||
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
top: 10px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
/* IE 6 Fix */
|
/* IE 6 Fix */
|
||||||
_position: absolute;
|
_position: absolute;
|
||||||
_top: expression( eval(document.documentElement.scrollBottom) + 10 +"px" );
|
_top: expression( eval(document.documentElement.scrollTop) + 10 +"px" );
|
||||||
}
|
}
|
||||||
|
|
||||||
#notifier .n-box {
|
#notifier .n-box {
|
||||||
|
@ -31,6 +31,6 @@
|
||||||
#notifier .n-box h3 { color: #fff; font-size: 14px; font-weight: bold; margin-bottom: 3px; }
|
#notifier .n-box h3 { color: #fff; font-size: 14px; font-weight: bold; margin-bottom: 3px; }
|
||||||
#notifier .n-box p { margin: 0; }
|
#notifier .n-box p { margin: 0; }
|
||||||
|
|
||||||
#notifier .n-box.n-notice { background: #FFF1A8; color: #333; }
|
#notifier .n-box.n-notice { background: #FFF1A8; color: #000; opacity: 0.9; }
|
||||||
#notifier .n-box.n-notice h3 { color: #333; }
|
#notifier .n-box.n-notice h3 { color: #333; }
|
||||||
#notifier .n-box.n-error { background: #000; color: #fff; opacity: 0.8; }
|
#notifier .n-box.n-error { background: #BC0000; color: #fff; opacity: 0.8; }
|
|
@ -66,7 +66,7 @@
|
||||||
|
|
||||||
/* Topic Photo */
|
/* Topic Photo */
|
||||||
.topic.photo { }
|
.topic.photo { }
|
||||||
.topic.photo .topic-photo-preview { position: relative; margin-bottom: 15px; }
|
.topic.photo .topic-photo-preview { position: relative; margin-bottom: 15px; cursor: pointer; }
|
||||||
.topic.photo .topic-photo-preview img { vertical-align: top; }
|
.topic.photo .topic-photo-preview img { vertical-align: top; }
|
||||||
.topic.photo .topic-photo-preview .topic-photo-count { cursor: pointer; position: absolute; top: 5px; right: 5px; background: #000; color: #6bd24b; padding: 4px 7px; background: rgba(0,0,0,.6); }
|
.topic.photo .topic-photo-preview .topic-photo-count { cursor: pointer; position: absolute; top: 5px; right: 5px; background: #000; color: #6bd24b; padding: 4px 7px; background: rgba(0,0,0,.6); }
|
||||||
.topic.photo .topic-photo-preview .topic-photo-desc { width: 96%; padding: 7px 2%; position: absolute; bottom: 0; left: 0; background: #000; color: #6bd24b; color: #fff; line-height: 16px; background: rgba(0,0,0,.7); }
|
.topic.photo .topic-photo-preview .topic-photo-desc { width: 96%; padding: 7px 2%; position: absolute; bottom: 0; left: 0; background: #000; color: #6bd24b; color: #fff; line-height: 16px; background: rgba(0,0,0,.7); }
|
||||||
|
|
|
@ -446,7 +446,6 @@ jQuery(document).ready(function($){
|
||||||
ls.autocomplete.add($(".autocomplete-users"), aRouter['ajax']+'autocompleter/user/', true);
|
ls.autocomplete.add($(".autocomplete-users"), aRouter['ajax']+'autocompleter/user/', true);
|
||||||
ls.autocomplete.add($(".autocomplete-city"), aRouter['ajax']+'autocompleter/city/', false);
|
ls.autocomplete.add($(".autocomplete-city"), aRouter['ajax']+'autocompleter/city/', false);
|
||||||
ls.autocomplete.add($(".autocomplete-country"), aRouter['ajax']+'autocompleter/country/', false);
|
ls.autocomplete.add($(".autocomplete-country"), aRouter['ajax']+'autocompleter/country/', false);
|
||||||
ls.autocomplete.add($(".autocomplete-country"), aRouter['ajax']+'autocompleter/country/', false);
|
|
||||||
|
|
||||||
|
|
||||||
// Скролл
|
// Скролл
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="topic-photo-preview" style="width: 500px">
|
<div class="topic-photo-preview" onclick="window.location='{$oTopic->getUrl()}#photoset'" style="width: 500px">
|
||||||
{assign var=oMainPhoto value=$oTopic->getPhotosetMainPhoto()}
|
{assign var=oMainPhoto value=$oTopic->getPhotosetMainPhoto()}
|
||||||
<div class="topic-photo-count" onclick="window.location='{$oTopic->getUrl()}#photoset'">{$oTopic->getPhotosetCount()} {$aLang.topic_photoset_photos}</div>
|
<div class="topic-photo-count">{$oTopic->getPhotosetCount()} {$aLang.topic_photoset_photos}</div>
|
||||||
{if $oMainPhoto->getDescription()}
|
{if $oMainPhoto->getDescription()}
|
||||||
<div class="topic-photo-desc">{$oMainPhoto->getDescription()}</div>
|
<div class="topic-photo-desc">{$oMainPhoto->getDescription()}</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Reference in a new issue