Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Dioman

Редактирование модераторских объявлений

Recommended Posts

Всё бы ничего, но захотелось поменять тип значка, который появляется при создании модератором объявления с png на gif :unsure: Нашла код в шаблоне forumIndexTemplate, чтобы пописать свой стиль, а вот где поменять тип изображения остается для меня загадкой :(

 

<if test="hasannouncements:|:is_array( $announce_data ) AND count( $announce_data )">
<table class='ipb_table topic_list hover_rows' summary='{$this->lang->words['forum_topic_list']} "{$forum_data['name']}"' id='announcements'>
	<foreach loop="announcements:$announce_data as $aid => $adata">
		<tr class='row3 announcement' id='arow_{$adata['announce_id']}'>
			<td>
				<php>$_seoTitle	= $adata['announce_seo_title'] ? $adata['announce_seo_title'] : "%%{$adata['announce_title']}%%";</php>
				{parse replacement="t_announcement"}
				<h4>
					<a href="{parse url="showannouncement={$adata['announce_id']}&f={$forum_data['id']}" seotitle="{$_seoTitle}" template="showannouncement" base="public"}" title='{$this->lang->words['view_announcement']}'>{$adata['announce_title']}</a>
				</h4> 
				<span class='desc'>{$this->lang->words['posted_by']} {parse template="userHoverCard" group="global" params="$adata"}
					<if test="announcedates:|:$adata['announce_start'] AND $adata['announce_start'] != '--'">, {$adata['announce_start']}</if>
				</span>
			</td>
		</tr>
	</foreach>
</table>

post-20528-0-79059900-1327181797_thumb.jpg

Edited by Dioman

Share this post


Link to post
Share on other sites

В макросах

Share this post


Link to post
Share on other sites

Блин, столько времени сидеть над проблемой и никогда не заходить на эту вкладку :blink: :( Спасибо! :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...