1

Topic: Please, how can I make my changes appears ?

Hi all,
I don't know if it's the good forum but I try here...
I have change my header.php to show two column but it's always looks like I didn't change nothing

the original part of code line 209 to 216

<div id="announce" class="block">
    <h2><span><?php echo $lang_common['Announcement'] ?></span></h2>
    <div class="box">
        <div class="inbox">
            <div><?php echo $pun_config['o_announcement_message'] ?></div>
        </div>
    </div>
</div>

the modifyed

<table width="100%" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td>
    <div id="announce" class="block">
      <h2><?php echo $lang_common['Announcement'] ?></h2>
    </div>
</td>

    <td>
    <div class="box">
           <div class="inbox">
            <div><?php echo $pun_config['o_announcement_message'] ?></div>
           </div>
       </div>
     </td>
  </tr>
</table>

what I get
http://img359.imageshack.us/img359/3061/sanstitre1vx4.jpg
http://img359.imageshack.us/img359/3061/sanstitre1vx4.e8a4409318.jpg

what I want
http://img204.imageshack.us/img204/7681/copiedesanstitre1yb9.jpg
http://img204.imageshack.us/img204/7681/copiedesanstitre1yb9.edbb13b8e6.jpg

Can you help me please ? Thank you

Re: Please, how can I make my changes appears ?

May be it will be easier to use CSS to align announcement message, than use table.

3

Re: Please, how can I make my changes appears ?

Problem fixed ...
I was wrong from the begining, it's not the good part of code...
Here is the good part

// START SUBST - <pun_title>
$tpl_main = str_replace('<pun_title>', '<div align="center"><h1><span>'.pun_htmlspecialchars($pun_config['o_board_title']).'</span></h1></div>', $tpl_main);
// END SUBST - <pun_title>


// START SUBST - <pun_desc>
$tpl_main = str_replace('<pun_desc>', '<p><span>'.$pun_config['o_board_desc'].'</span></p>', $tpl_main);
// END SUBST - <pun_desc>