1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-29 04:55:02 +03:00

фикс багов в шаблоне new-jquery

This commit is contained in:
Denis Shakhov 2011-08-15 10:00:13 +00:00
parent f3847bbd2e
commit 0b544c3e51
12 changed files with 18 additions and 18 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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">

View file

@ -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; }

View file

@ -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; }

View file

@ -100,7 +100,7 @@
.blog .blog-info { display: none; background: #F4F4F6; padding: 25px 30px; border-radius: 10px; } .blog .blog-info { display: none; background: #F4F4F6; padding: 25px 30px; border-radius: 10px; }
.blog .blog-info h3 { font-size: 22px; color: #555; font-family: Verdana, sans-serif; } .blog .blog-info h3 { font-size: 22px; color: #555; font-family: Verdana, sans-serif; }
.blog .blog-info p { border-bottom: 1px solid #DADADA; padding-bottom: 15px; margin-bottom: 0; } .blog .blog-info p { border-bottom: 1px solid #DADADA; padding-bottom: 15px; margin-bottom: 0; }
.blog .blog-info .user { margin-right: 5px; } .blog .blog-info .user { margin-right: 5px; }
.blog .blog-wrapper { overflow: hidden; zoom: 1; margin-bottom: 40px; border-top: 1px solid #fff; padding: 20px 0 0; } .blog .blog-wrapper { overflow: hidden; zoom: 1; margin-bottom: 40px; border-top: 1px solid #fff; padding: 20px 0 0; }
.blog .blog-wrapper .blog-admins { float: left; width: 50%; } .blog .blog-wrapper .blog-admins { float: left; width: 50%; }
@ -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; }

View file

@ -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; }

View file

@ -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); }

View file

@ -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);
// Скролл // Скролл

View file

@ -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}