Topic: where is imoved class

hello,

where is the imoved class for the moved icon ?

I made a ubuntu theme and i declare the TE.imoved DIV.icon class for picture but have no icon.
I look in source code of the page and have no imoved class for a moved topic.

for the moment, i made modification in the wiewtopic.php

before

if ($cur_topic['moved_to'] != 0)
            $subject = $lang_forum['Moved'].': <a href="viewtopic.php?id='.$cur_topic['moved_to'].'">'.pun_htmlspecialchars($cur_topic['subject']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['poster']).'</span>';

after

if ($cur_topic['moved_to'] != 0){
            $subject = $lang_forum['Moved'].': <a href="viewtopic.php?id='.$cur_topic['moved_to'].'">'.pun_htmlspecialchars($cur_topic['subject']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['poster']).'</span>';
               $item_status = 'imoved'; }

How do without changing the code php with using the css ?

TR.imoved Div.icon {
background-image : url(icon); 
}

my punbb for test: http://babi.homelinux.net/~xarkam/upload

Re: where is imoved class

There is no imoved class in PunBB

Re: where is imoved class

Ok I was misled then.

Re: where is imoved class

but you could create one though:

tr.imoved div.icon {
background-image:url(../../img/template/moved.png);
background-repeat:no-repeat;
height:27px;
width:27px;
}

Isn't that correct?

Re: where is imoved class

Yes, you could create it by editing the PHP and adding the CSS for it, which is what the original poster did tongue

6 (edited by Xarkam 2008-02-03 07:46)

Re: where is imoved class

I asked my question because i have added code in the css and that i have no image to a post moved.
Look te css of my test site.

You need to modify the code of php to create the TR.imoved class.

7 (edited by User33 2008-02-03 18:26)

Re: where is imoved class

Could you explain yourself better?

I'm not really sure, but you want to change the TR's class to "imoved", right?

Anyways, the moved icon IS showing up. I just visited your site.

Re: where is imoved class

Garciat wrote:

Could you explain yourself better?

I'm not really sure, but you want to change the TR's class to "imoved", right?

Anyways, the moved icon IS showing up. I just visited your site.

I added php code for the display of the icon.
In fact, I added $item_status='imoved' for a class in the TR