Jump to content

Как поднять отправлено наверх?


 Share

Recommended Posts

Редактируем шаблон post

Найти и удалить:

<p class='posted_info desc lighter ipsType_small'>
					{$this->lang->words['posted']} <abbr class="published" itemprop="commentTime" title="{parse expression="date( 'c', $post['post']['post_date'] )"}">{parse date="$post['post']['post_date']" format="long"}</abbr>
					<if test="isSolvedSausage:|:$post['post']['_isMarkedAnswered']">&nbsp; <span class='ipsBadge ipsBadge_green'>{$this->lang->words['topic_best_answer']}</span></if>
				</p>

 

Найти:

<if test="postIp:|:$post['post']['_show_ip']">

 

Выше добавить:

<div class='post_date'>
					{$this->lang->words['posted']} <abbr class="published" itemprop="commentTime" title="{parse expression="date( 'c', $post['post']['post_date'] )"}">{parse date="$post['post']['post_date']" format="long"}</abbr>
				</div>

 

Найти:

<if test="postMember:|:$post['author']['member_id']">
					<span itemprop="creator name" class="author vcard">{parse template="userHoverCard" group="global" params="$post['author']"}</span>
				<else />
					{parse template="userHoverCard" group="global" params="$post['author']"}
				</if>

 

Заменить на:

<div class='post_username'>
							<if test="postMember:|:$post['author']['member_id']">
								<span itemprop="creator name" class="author vcard">{parse template="userHoverCard" group="global" params="$post['author']"}</span>
							<else />
								{parse template="userHoverCard" group="global" params="$post['author']"}
							</if>
						</div>

 

В ipb_styles.css добавить:

.post_username{
	float: left;
	min-width: 177px;
	font-weight: bold;
}
.post_date{
	color: #999;
	float: left;
	font-size: 11px;
	font-weight: normal;
}
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...