Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Right-to-left themes (for theme creators)

Aloittaja chornox, elokuu 14, 2006, 01:33:04 AP

« edellinen - seuraava »

Croco

I will add the name of the theme and the files that i changed and all the changes that i did in these files .

For creators please PM me if they would like me to customize their themes
and that will help only to make them faster cause i am willing to change them all .

for Arabic users please enjoy !
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

Croco

#1
The first theme

please download the changed files from the bottom

SMF version : 1.0.7

theme name : default

the changes :


default theme for SMF 1.0.7

++++++++++++++++++++++

BoardIndex.template.php 




if (!$category['is_collapsed'])
      {
         /* Each board in each category's boards has:
            new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.),
            children (see below.), link_children (easier to use.), children_new (are they new?),
            topics (# of), posts (# of), link, href, and last_post. (see below.) */
         foreach ($category['boards'] as $board)
         {
            echo '
   <tr class="windowbg2">
      <td class="windowbg" width="6%" align="center" valign="top">';

            // If the board is new, show a strong indicator.
            if ($board['new'])
               echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
            // This board doesn't have new posts, but its children do.
            elseif ($board['children_new'])
               echo '<img src="', $settings['images_url'], '/on2.gif" alt="', $txt[333], '" title="', $txt[333], '" border="0" />';
            // No new posts at all!  The agony!!
            else
               echo '<img src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" border="0" />';

            echo '</td>
         <td>



         in the last line i deleted the (align="left") it was <td align="left">

         ===========================================

if ($context['user']['is_logged'])
   {
   echo '
<div class="tborder" style="padding: 3px;"><table border="0" width="100%" cellspacing="0" cellpadding="5">
<tr class="titlebg">
   <td class="smalltext">
         <img src="' . $settings['images_url'] . '/new_some.gif" alt="" border="0" align="middle" /> ', $txt[333], '
         <img src="' . $settings['images_url'] . '/new_none.gif" alt="" border="0" align="middle" style="margin-left: 4ex;" /> ', $txt[334], '
      </td>


      in the 6th line  i deleted the (align="left") it was <td align="left" class="smalltext">               
   
             ===========================================


Display.template.php



// Are they not allowed to vote but allowed to view the options?
      if (!$context['allow_vote'])
      {
         echo '
         <table dir="ltr">
            <tr>
               <td style="padding-top: 2ex;">
                  <table border="0" cellpadding="0" cellspacing="0">';


                                                                    in the 5th line i added the (dir="ltr") it was <table>


          ===========================================


Display.template.php

                             remove all (align="left")
         ===========================================

Profile.template.php



                                                                all (align="left") were deleted

         ===========================================

Recent.template.php

                                                                all (align="left") were deleted

         ===========================================

Stats.template.php


foreach ($context['monthly'] as $month)
      {
         echo '
            <tr class="windowbg2" valign="middle">
            <th>

         
         in the last line i deleted  (align="left") it was <th align="left">

                         ===========================================

Stats.template.php

   foreach ($month['days'] as $day)
      {
      echo '
         <tr class="windowbg2" valign="middle" align="left">
            <td align="center" style="padding-left: 3ex;">', $day['year'], '-', $day['month'], '-', $day['day'], '</td>
            <td align="center">', $day['new_topics'], '</td>
            <td align="center">', $day['new_posts'], '</td>
            <td align="center">', $day['new_members'], '</td>
            <td align="center">', $day['most_members_online'], '</td>';


            in 5th line i changed the (align="left") to (align="center")
=============================

Stats.template.php
         
         replace all (align="right") with (align=',$context['right_to_left'] ? 'left' : 'right', ')


===========================================


Memberlist.template.php


                                                   remove all (align="left")


===========================================


index.template.php



<tr id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
      <td valign="top">
      <div class="headertitles" style="margin-right: 5px; position: relative;"><img src="',
      $settings['images_url'], '/blank.gif" height="12" alt="" /></div>
      <div class="headerbodies" style="position: relative; margin-right: 5px; background-image: url(', $settings['images_url'], '/box_bg.gif);">
      <img src="', $settings['images_url'], '/', $context['user']['language'], '/userinfo.gif" style="position: absolute; left:
      ', $context['browser']['is_ie5'] || $context['browser']['is_ie4'] ? '0' : '',$context['right_to_left'] ? '-85px' : '-1px','; top: -16px; clear: both;" alt="" />
      <table width="99%" cellpadding="0" cellspacing="5" border="0"><tr>';


      i replaced ('-1px') with (',$context['right_to_left'] ? '-85px' : '-1px',')


===========================================


MessageIndex.template.php


remove all (align="left")


I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

Croco

#2
SMF version : 1.0.7

theme name : classic

the changes :

classic theme for SMF 1.0.7


+++++++++++++++++++++++++






BoardIndex.template.php



   foreach ($category['boards'] as $board)
   {
   echo '
   <tr>
<td class="windowbg" width="6%" align="center" valign="top"><img src="', $settings['images_url'], $board['new'] ? '/on.gif" alt="' . $txt[333] . '" title="' . $txt[333] : '/off.gif" alt="' . $txt[334] . '" title="' . $txt[334], '" border="0" /></td>
   <td class="windowbg2" width="60%">
   <a name="b', $board['id'], '"></a>
   <b>', $board['link'], '</b><br />
                ', $board['description'];



in line i removed (align="left") in (td tag) in line 8 it was <td class="windowbg2" align="left" width="60%">

====================================

BoardIndex.template.php



// Show the "New Posts" and "No New Posts" legend.
   if ($context['user']['is_logged'])
   {
      echo '
   <tr class="titlebg">
      <td colspan="2">

in the last line i removed (align="left") it was <td colspan="2" align="left">

===================================



Display.template.php

// Are they not allowed to vote but allowed to view the options?
      if (!$context['allow_vote'])
      {
         echo '
         <table>
         <tr>
         <td style="padding-top: 2ex;">
         <table border="0" cellpadding="0" cellspacing="0" dir="ltr">';

in the last line i added (dir="ltr") it was <table border="0" cellpadding="0" cellspacing="0">



===================================



Display.template.php

remove all (align="left")

===================================



MessageIndex.template.php


remove all (align="left")




I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

Croco

#3
SMF version : 1.1 Rc2

theme name : default

the changes

default theme for SMF 1.1 Rc2

++++++++++++++++++


Admin.template.php


// The admin tabs.
         echo '
         <table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;" dir="ltr">
         <tr>
         <td class="maintab_first">&nbsp;</td>';



in line 3 i added (dir="ltr") it was <table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">





======================================

Memberlist.template.php



// shall we use the tabs?
   if (!empty($settings['use_tabs']))
   {
      // Display links to view all/search.
      echo '
   <table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;" dir="ltr">
      <tr>
         <td class="mirrortab_first">&nbsp;</td>';

in line 6 i added i added (dir="ltr") it was<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">



======================================

Memberlist.template.php

// Assuming there are members loop through each one displaying their data.
   if (!empty($context['members']))
   {
      foreach ($context['members'] as $member)
         echo '
      <tr style="text-align: center;"', empty($member['sort_letter']) ? '' : ' id="letter' . $member['sort_letter'] . '"', '>
         <td class="windowbg2">
            ', $context['can_send_pm'] ? '<a href="' . $member['online']['href'] . '" title="' . $member['online']['text'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $member['online']['image_href'] . '" alt="' . $member['online']['text'] . '" align="middle" />' : $member['online']['label'], $context['can_send_pm'] ? '</a>' : '', '
         </td>
         <td class="windowbg">', $member['link'], '</td>


in the last line i removed (align="left") it was <td class="windowbg" align="left">', $member['link'], '</td>


============================


Display.template.php

// Are they not allowed to vote but allowed to view the options?
      if ($context['poll']['show_results'] || !$context['allow_vote'])
      {
         echo '
         <table>
            <tr>
               <td style="padding-top: 2ex;">
                  <table border="0" cellpadding="0" cellspacing="0" dir="ltr">';


in the last line i (added dir="ltr") it was <table border="0" cellpadding="0" cellspacing="0">';



I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

Croco



SMF version : 1.1 Rc2

theme name : classic

the changes :

classic theme for SMF 1.1 Rc2


+++++++++++++++++++++++



BoardIndex.template.php



   foreach ($category['boards'] as $board)
   {
   echo '
   <tr>
   <td class="windowbg" width="6%" align="center" valign="top"><img src="', $settings['images_url'], $board['new'] ? '/on.gif" alt="' . $txt[333] . '" title="' . $txt[333] : '/off.gif" alt="' . $txt[334] . '" title="' . $txt[334], '" border="0" /></td>
   <td class="windowbg2" width="60%">
   <a name="b', $board['id'], '"></a>
   <b>', $board['link'], '</b><br />
                ', $board['description'];


in line 6 i removed (align="left") it was <td class="windowbg2" align width="60%">
====================================

BoardIndex.template.php



// Show the "New Posts" and "No New Posts" legend.
   if ($context['user']['is_logged'])
   {
      echo '
   <tr class="titlebg">
      <td colspan="2">


   in the last line i removed (align="left") it was <td colspan="2" align="left">

===================================



Display.template.php

// Are they not allowed to vote but allowed to view the options?
      if (!$context['allow_vote'])
      {
         echo '
         <table>
            <tr>
               <td style="padding-top: 2ex;">
                  <table border="0" cellpadding="0" cellspacing="0" dir="ltr">';

in the last line i added (dir="ltr") it was <table border="0" cellpadding="0" cellspacing="0">
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

Croco



SMF version : 1.1 Rc2

theme name : babylon

the changes :

babylon theme for SMF 1.1 Rc2

++++++++++++++++



index.template.php


<tr id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
      <td valign="top">
         <div class="headertitles" style="margin-right: 5px; position: relative;"><img src="', $settings['images_url'], '/blank.gif" height="12" alt="" /></div>
         <div class="headerbodies" style="position: relative; margin-right: 5px; background-image: url(', $settings['images_url'], '/box_bg.gif);">
         <img src="', $settings['images_url'], '/', $context['user']['language'], '/userinfo.gif" style="position: absolute; left: ', $context['browser']['is_ie5'] || $context['browser']['is_ie4'] ? '0' :'',$context['right_to_left'] ? '-85px' : '-1px',
         '; top: -16px; clear: both;" alt="" />

   i replaced ('-1px') with (',$context['right_to_left'] ? '-85px' : '-1px',')


=====================================

Display.template.php

// Are they not allowed to vote but allowed to view the options?
      if ($context['poll']['show_results'] || !$context['allow_vote'])
      {
         echo '
         <table>
            <tr>
               <td style="padding-top: 2ex;">
                  <table border="0" cellpadding="0" cellspacing="0" dir="ltr">';

i added (dir="ltr") it was <table border="0" cellpadding="0" cellspacing="0">';
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

Croco

#6
SMF version : 1.1 Rc2

theme name : dilbermc

important you have to make the changes in default theme too so this theme works perfectly
the changes :

dilbermc theme for SMF 1.1 Rc2

++++++++++++++++



BoardIndex.template.php

// Show the mark all as read button?
      if ($settings['show_mark_read'])
            echo '
            <table cellpadding="0" cellspacing="0" border="0" style="position: relative; top: 0px;" dir="ltr">
               <tr>
                      ', template_button_strip($mark_read_button, 'top'), '
               </tr>
            </table>';


in line 4 i added (dir="ltr") it was <table cellpadding="0" cellspacing="0" border="0" style="position: relative; top: 0px;">


==================================


MessageIndex.template.php

<table cellpadding="0" cellspacing="0" dir="ltr">
               <tr>
                  ', template_button_strip($normal_buttons, 'top'), '
               </tr>


in first line  i added (dir="ltr") it was <table cellpadding="0" cellspacing="0">


==================================


MessageIndex.template.php

<table cellpadding="0" cellspacing="0" dir="ltr">
                  <tr>
                     ', template_button_strip($normal_buttons, 'bottom'), '
                  </tr>
               </table>

in first line i added (dir="ltr") it was <table cellpadding="0" cellspacing="0">



==================================

index.template.php


// color selection box
if(isset($settings['allow_color_change']) && $settings['allow_color_change'] == 'box')
     echo '
<div style="position: relative; bottom: 13px;
',$context['right_to_left'] ? 'left' : 'right', ':15px; float:',$context['right_to_left'] ? 'left' : 'right', '; ">



in last line i replaced (right) with (',$context['right_to_left'] ? 'left' : 'right', ') twice



================================

index.template.php


if(isset($settings['allow_color_change']) && $settings['allow_color_change'] == 'bars')
   echo '
   <div style="position: relative; bottom: 15px;
   ',$context['right_to_left'] ? 'left' : 'right', ':15px; float:',$context['right_to_left'] ? 'left' : 'right', '; ">

in last line i replaced (right) with (',$context['right_to_left'] ? 'left' : 'right', ') twice













+++++++++++++++++++++++++++

extra changes for defualt theme only apply when using this theme
copy the files that are in default theme folder after making the changes or downloading the changed files at bottom

you have to put the changed files in  dilbermc theme folder

============================

Recent.template.php in DEFAULT FOLDER

<table border="0" cellpadding="0" cellspacing="0" dir="ltr">
               <tr>
                  ', template_button_strip($mark_read, 'bottom'), '
               </tr>
            </table>

in first line i added  (dir="ltr") it was <table border="0" cellpadding="0" cellspacing="0">


============================

Recent.template.php in DEFAULT FOLDER


   <table border="0" cellpadding="0" cellspacing="0" dir="ltr">
               <tr>
                  ', template_button_strip($mark_read, 'top'), '
               </tr>
            </table>
in first line i added  (dir="ltr") it was<table border="0" cellpadding="0" cellspacing="0">


============================

Display.template.php


<table cellpadding="0" cellspacing="0" dir="ltr">
            <tr>
               ', template_button_strip($normal_buttons, 'bottom'), '
            </tr>
         </table>

in first line i added (dir="ltr") it was <table cellpadding="0" cellspacing="0">



============================

Display.template.php


   <table cellpadding="0" cellspacing="0" dir="ltr">
            <tr>
               ', template_button_strip($normal_buttons, 'top', true), '
            </tr>


in first line i added (dir="ltr") it was <table cellpadding="0" cellspacing="0">

============================

Display.template.php

<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 1ex;" dir="ltr">
      <tr>
         ', template_button_strip($mod_buttons, 'bottom') , '
      </tr>
   </table>';


in first line i added (dir="ltr") it was <table cellpadding="0" cellspacing="0">
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

Croco

#7
SMF version : 1.1 RC2

theme name : Helios

the changes :

Helios theme for SMF 1.1 RC2



++++++++++++++++++++


index.template.php

put this code :


$topbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 16px; width: 22px;"><img src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft.gif" style="height: 16px; width: 22px; border: 0px; padding: 0px; margin: 0px;" alt="gfx" /></td><td style="height: 16px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid.gif); "></td><td style="height: 16px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright.gif" style="height: 16px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr><tr><td style="width: 22px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midleft.gif); ">&nbsp;</td><td valign="top">';
        $botbox='</td><td style="width: 27px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midright.gif); ">&nbsp;</td></tr><tr><td valign="top" style="height: 14px; width: 22px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botleft.gif" style="height: 14px; width: 22px; border: 0px; padding: 0px; margin: 0px;" /></td><td style="height: 14px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botmid.gif); ">&nbsp;</td><td valign="top" style="height: 14px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botright.gif" style="height: 14px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';

        $leftbox='<table cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td valign="top" style="height: 44px; width: 124px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-stat-left.gif" style="height: 44px; width: 124px; border: 0px; padding: 0px; margin: 0px;" /></td><td nowrap="nowrap" style="text-align: center; height: 44px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-stat-mid.gif); ">';
        $rightbox='</td><td valign="top" style="height: 44px; width: 135px;"><img alt="*" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-stat-right.gif" style="height: 44px; width: 135px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';



instead of  :

if(!$context['right_to_left'])$topbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 16px; width: 22px;"><img src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft.gif" style="height: 16px; width: 22px; border: 0px; padding: 0px; margin: 0px;" alt="gfx" /></td><td style="height: 16px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid.gif); "></td><td style="height: 16px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright.gif" style="height: 16px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr><tr><td style="width: 22px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midleft.gif); ">&nbsp;</td><td valign="top">';
        else$topbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 16px; width: 22px;"><img src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright.gif" style="height: 16px; width: 22px; border: 0px; padding: 0px; margin: 0px;" alt="gfx" /></td><td style="height: 16px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid.gif); "></td><td style="height: 16px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft.gif" style="height: 16px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr><tr><td style="width: 22px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midright.gif); ">&nbsp;</td><td valign="top">';
        if(!$context['right_to_left'])$botbox='</td><td style=" width: 27px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midright.gif); ">&nbsp;</td></tr><tr><td valign="top" style="height: 14px; width: 22px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botleft.gif" style="height: 14px; width: 22px; border: 0px; padding: 0px; margin: 0px;" /></td><td style="height: 14px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botmid.gif); ">&nbsp;</td><td valign="top" style="height: 14px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botright.gif" style="height: 14px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
        else$botbox='</td><td style="width: 27px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midleft.gif); ">&nbsp;</td></tr><tr><td valign="top" style="height: 14px; width: 22px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botright.gif" style="height: 14px; width: 22px; border: 0px; padding: 0px; margin: 0px;" /></td><td style="height: 14px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botmid.gif); ">&nbsp;</td><td valign="top" style="height: 14px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botleft.gif" style="height: 14px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';

        if(!$context['right_to_left'])$leftbox='<table cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td valign="top" style="height: 44px; width: 124px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-stat-left.gif" style="height: 44px; width: 124px; border: 0px; padding: 0px; margin: 0px;" /></td><td nowrap="nowrap" style="text-align: center; height: 44px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-stat-mid.gif); ">';
        else$leftbox='<table dir="ltr" cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td valign="top" style="height: 44px; width: 124px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-stat-left.gif" style="height: 44px; width: 124px; border: 0px; padding: 0px; margin: 0px;" /></td><td nowrap="nowrap" style="text-align: center; height: 44px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-stat-mid.gif); ">';
        if(!$context['right_to_left'])$rightbox='</td><td valign="top" style="height: 44px; width: 135px;"><img alt="*" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-stat-right.gif" style="height: 44px; width: 135px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
        else$rightbox='</td><td  valign="top" style="height: 44px; width: 135px;"><img alt="*" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-stat-right.gif" style="height: 44px; width: 135px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';



=====================

index.template.php


// stats
            echo '<div style="padding-left: 0px;">'.$leftbox.'<table width="99%" cellpadding="0" cellspacing="0" border="0"><tr><td ', $context['right_to_left'] ? ' dir="rtl"' : '', '"style="color: #88908a; font-size: 8pt; font-family: tahoma, helvetica, serif;"><b>', $modSettings['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>


i added (', $context['right_to_left'] ? ' dir="rtl"' : '', ') it was

//stats
            echo '<div style="padding-left: 0px;">'.$leftbox.'<table width="99%" cellpadding="0" cellspacing="0" border="0"><tr><td align="left" style="color: #88908a; font-size: 8pt; font-family: tahoma, helvetica, serif;"><b>', $modSettings['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>



====================

index.template.php

put this code :

if(!$context['right_to_left'])$leftboxbot3='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 8px; height: 58px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-maxbotleft.gif" style="height: 58px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 58px; background-repeat: repeat-x;background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-maxbotmid.gif); ">';
        else$leftboxbot3='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 0px; height: 58px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-maxbotright.gif" style="height: 58px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 58px; background-repeat: repeat-x;background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-maxbotmid.gif); ">';
        if(!$context['right_to_left'])$rightboxbot3='</td><td valign="top" style="padding-right: 5px; height: 58px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-maxbotright.gif" style="height: 58px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
        else$rightboxbot3='</td><td valign="top" style="padding-right: 0px; height: 58px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-maxbotleft.gif" style="height: 58px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';



instead of this code :


$leftboxbot3='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 8px; height: 58px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-maxbotleft.gif" style="height: 58px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 58px; background-repeat: repeat-x;background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-maxbotmid.gif); ">';
        $rightboxbot3='</td><td valign="top" style="padding-right: 5px; height: 58px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-maxbotright.gif" style="height: 58px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';




========================

index.template.php



put this code :

if(!$context[right_to_left])echo '<td style="width: 39%; background-color: black;"> </td><td><img src="' . $settings['images_url'] . '/pod/'.$options['theme_color'].'/pod-leftbar.gif" alt="gfx" style="margin: 0px 0;" border="0" /></td>';
else echo '<td style="width: 39%; background-color: black;"> </td><td><img src="' . $settings['images_url'] . '/pod/'.$options['theme_color'].'/pod-rightbar.gif" alt="gfx" style="margin: 0px 0;" border="0" /></td>';



instead of this code :

echo '<td style="width: 39%; background-color: black;"> </td><td><img src="' . $settings['images_url'] . '/pod/'.$options['theme_color'].'/pod-leftbar.gif" alt="gfx" style="margin: 0px 0;" border="0" /></td>';


==================


index.template.php


put this code :

if(!$context['right_to_left'])echo '<td><img src="' . $settings['images_url'] . '/pod/'.$options['theme_color'].'/pod-rightbar.gif" alt="gfx" style="margin: 0px 0;" border="0" />';
       else echo '<td><img src="' . $settings['images_url'] . '/pod/'.$options['theme_color'].'/pod-leftbar.gif" alt="gfx" style="margin: 0px 0;" border="0" />';



instead of this code :

echo '<td><img src="' . $settings['images_url'] . '/pod/'.$options['theme_color'].'/pod-rightbar.gif" alt="gfx" style="margin: 0px 0;" border="0" />';


=================


index.template.php


remove all (align="left") from the file


===============



BoardIndex.template.php


put this code :

if(!$context['right_to_left'])$topbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 16px; width: 22px;"><img src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft.gif" style="height: 16px; width: 22px; border: 0px; padding: 0px; margin: 0px;" alt="gfx" /></td><td style="height: 16px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid.gif); "></td><td style="height: 16px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright.gif" style="height: 16px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr><tr><td style="width: 22px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midleft.gif); "></td><td valign="top">';
        else $topbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 16px; width: 22px;"><img src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright.gif" style="height: 16px; width: 22px; border: 0px; padding: 0px; margin: 0px;" alt="gfx" /></td><td style="height: 16px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid.gif); "></td><td style="height: 16px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft.gif" style="height: 16px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr><tr><td style="width: 22px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midright.gif); "></td><td valign="top">';
        if(!$context['right_to_left'])$botbox='</td><td style="width: 27px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midright.gif); "></td></tr><tr><td style="height: 14px; width: 22px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botleft.gif" style="height: 14px; width: 22px; border: 0px; padding: 0px; margin: 0px;" /></td><td style="height: 14px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botmid.gif); "></td><td style="height: 14px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botright.gif" style="height: 14px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
        else$botbox='</td><td style="width: 27px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midleft.gif); "></td></tr><tr><td style="height: 14px; width: 22px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botright.gif" style="height: 14px; width: 22px; border: 0px; padding: 0px; margin: 0px;" /></td><td style="height: 14px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botmid.gif); "></td><td style="height: 14px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botleft.gif" style="height: 14px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';

        if(!$context['right_to_left'])$leftbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 54px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-lefttop.gif" style="height: 54px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td nowrap="nowrap" style="text-align: center; height: 54px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-midtop.gif); ">';
        else$leftbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 54px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-topright.gif" style="height: 54px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td nowrap="nowrap" style="text-align: center; height: 54px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-midtop.gif); ">';
        if(!$context['right_to_left'])$rightbox='</td><td style="height: 54px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-topright.gif" style="height: 54px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
        else$rightbox='</td><td style="height: 54px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-lefttop.gif" style="height: 54px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';


        if(!$context['right_to_left'])$leftboxbot='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 5px; height: 78px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botleft.gif" style="height: 78px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 78px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botmid.gif); ">';
        else$leftboxbot='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 0px; height: 78px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botright.gif" style="height: 78px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 78px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botmid.gif); ">';
        if(!$context['right_to_left'])$rightboxbot='</td><td style="height: 78px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botright.gif" style="height: 78px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
        else$rightboxbot='</td><td style="height: 78px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botleft.gif" style="height: 78px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';

        if(!$context['right_to_left'])$leftboxbot2='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 4px; height: 36px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft-40.gif" style="height: 36px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 36px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid-41.gif); ">';
        else$leftboxbot2='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 0px; height: 36px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright-42.gif" style="height: 36px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 36px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid-41.gif); ">';
        if(!$context['right_to_left'])$rightboxbot2='</td><td style="padding-right: 0px; height: 36px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright-42.gif" style="height: 36px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
        else$rightboxbot2='</td><td style="padding-right: 0px; height: 36px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft-40.gif" style="height: 36px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';



instead of this code :

$topbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 16px; width: 22px;"><img src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft.gif" style="height: 16px; width: 22px; border: 0px; padding: 0px; margin: 0px;" alt="gfx" /></td><td style="height: 16px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid.gif); "></td><td style="height: 16px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright.gif" style="height: 16px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr><tr><td style="width: 22px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midleft.gif); "></td><td valign="top">';
        $botbox='</td><td style="width: 27px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midright.gif); "></td></tr><tr><td style="height: 14px; width: 22px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botleft.gif" style="height: 14px; width: 22px; border: 0px; padding: 0px; margin: 0px;" /></td><td style="height: 14px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botmid.gif); "></td><td style="height: 14px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botright.gif" style="height: 14px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';

        $leftbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 54px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-lefttop.gif" style="height: 54px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td nowrap="nowrap" style="text-align: center; height: 54px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-midtop.gif); ">';
        $rightbox='</td><td style="height: 54px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-topright.gif" style="height: 54px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';


        $leftboxbot='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 5px; height: 78px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botleft.gif" style="height: 78px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 78px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botmid.gif); ">';
        $rightboxbot='</td><td style="height: 78px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botright.gif" style="height: 78px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';

        $leftboxbot2='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 4px; height: 36px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft-40.gif" style="height: 36px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 36px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid-41.gif); ">';
        $rightboxbot2='</td><td style="padding-right: 0px; height: 36px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright-42.gif" style="height: 36px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';



=====================

BoardIndex.template.php


remove all (align="left") from the file

=====================


MessageIndex.template.php


put this code :


if(!$context['right_to_left'])$topbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 16px; width: 22px;"><img src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft.gif" style="height: 16px; width: 22px; border: 0px; padding: 0px; margin: 0px;" alt="gfx" /></td><td style="height: 16px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid.gif); "></td><td style="height: 16px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright.gif" style="height: 16px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr><tr><td style="width: 22px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midleft.gif); "></td><td valign="top">';
        else$topbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 16px; width: 22px;"><img src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright.gif" style="height: 16px; width: 22px; border: 0px; padding: 0px; margin: 0px;" alt="gfx" /></td><td style="height: 16px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid.gif); "></td><td style="height: 16px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft.gif" style="height: 16px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr><tr><td style="width: 22px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midright.gif); "></td><td valign="top">';
        if(!$context['right_to_left'])$botbox='</td><td style="width: 27px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midright.gif); "></td></tr><tr><td style="height: 14px; width: 22px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botleft.gif" style="height: 14px; width: 22px; border: 0px; padding: 0px; margin: 0px;" /></td><td style="height: 14px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botmid.gif); "></td><td style="height: 14px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botright.gif" style="height: 14px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
        else$botbox='</td><td style="width: 27px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midleft.gif); "></td></tr><tr><td style="height: 14px; width: 22px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botright.gif" style="height: 14px; width: 22px; border: 0px; padding: 0px; margin: 0px;" /></td><td style="height: 14px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botmid.gif); "></td><td style="height: 14px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botleft.gif" style="height: 14px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';

        if(!$context['right_to_left'])$leftbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td valign="top" style="height: 54px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-lefttop.gif" style="height: 54px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td nowrap="nowrap" style="text-align: center; height: 54px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-midtop.gif); ">';
        else$leftbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td valign="top" style="height: 54px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-topright.gif" style="height: 54px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td nowrap="nowrap" style="text-align: center; height: 54px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-midtop.gif); ">';
        if(!$context['right_to_left'])$rightbox='</td><td valign="top" style="height: 54px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-topright.gif" style="height: 54px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
        else$rightbox='</td><td valign="top" style="height: 54px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-lefttop.gif" style="height: 54px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';

        if(!$context['right_to_left'])$leftboxbot='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 5px; height: 78px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botleft.gif" style="height: 78px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 78px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botmid.gif); ">';
        else$leftboxbot='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 5px; height: 78px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botright.gif" style="height: 78px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 78px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botmid.gif); ">';
        if(!$context['right_to_left'])$rightboxbot='</td><td style="height: 78px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botright.gif" style="height: 78px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
        else$rightboxbot='</td><td style="height: 78px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botleft.gif" style="height: 78px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';

        if(!$context['right_to_left'])$leftboxbot2='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 20px; height: 36px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft-40.gif" style="height: 36px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 36px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid-41.gif); ">';
        else$leftboxbot2='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 20px; height: 36px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright-42.gif" style="height: 36px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 36px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid-41.gif); ">';
        if(!$context['right_to_left'])$rightboxbot2='</td><td style="padding-right: 12px; height: 36px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright-42.gif" style="height: 36px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';
        else$rightboxbot2='</td><td style="padding-right: 12px; height: 36px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft-40.gif" style="height: 36px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';



instead of this code :

$topbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height: 16px; width: 22px;"><img src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft.gif" style="height: 16px; width: 22px; border: 0px; padding: 0px; margin: 0px;" alt="gfx" /></td><td style="height: 16px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid.gif); "></td><td style="height: 16px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright.gif" style="height: 16px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr><tr><td style="width: 22px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midleft.gif); "></td><td valign="top">';
        $botbox='</td><td style="width: 27px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-midright.gif); "></td></tr><tr><td style="height: 14px; width: 22px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botleft.gif" style="height: 14px; width: 22px; border: 0px; padding: 0px; margin: 0px;" /></td><td style="height: 14px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botmid.gif); "></td><td style="height: 14px; width: 27px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-botright.gif" style="height: 14px; width: 27px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';

        $leftbox='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td valign="top" style="height: 54px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-lefttop.gif" style="height: 54px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td nowrap="nowrap" style="text-align: center; height: 54px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-midtop.gif); ">';
        $rightbox='</td><td valign="top" style="height: 54px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-topright.gif" style="height: 54px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';

        $leftboxbot='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 5px; height: 78px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botleft.gif" style="height: 78px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 78px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botmid.gif); ">';
        $rightboxbot='</td><td style="height: 78px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-board-botright.gif" style="height: 78px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';

        $leftboxbot2='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-left: 20px; height: 36px; width: 72px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topleft-40.gif" style="height: 36px; width: 72px; border: 0px; padding: 0px; margin: 0px;" /></td><td valign="top" nowrap="nowrap" style="text-align: center; height: 36px; background-image: url('.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topmid-41.gif); ">';
        $rightboxbot2='</td><td style="padding-right: 12px; height: 36px; width: 79px;"><img alt="gfx" src="'.$settings['images_url'].'/pod/'.$options['theme_color'].'/pod-info-topright-42.gif" style="height: 36px; width: 79px; border: 0px; padding: 0px; margin: 0px;" /></td></tr></table>';



=====================


MessageIndex.template.php

remove all (align="left") from the file

=====================


Display.template.php


as same as the file before

put if/else  statement for each line that need to; exactly like before



=====================

Display.template.php



<td dir="ltr" nowrap="nowrap">' . $option['bar'] . ' ' . $option['votes'] . ' (' . $option['percent'] . '%)</td>' : '', '
                                                        </tr>';

i added (dir="ltr") it was  <td nowrap="nowrap">
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

Croco

SMF version : 1.1 RC2

theme name :  Aa_New_Damage

the changes :

Aa_New_Damage theme for SMF 1.1 RC2

+++++++++++++++++++++


index.template.php

<table width="860" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="860" align="',$context[right_to_left]? 'right':'left','" valign="top">
        <div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>';


in third line i put (',$context[right_to_left]? 'right':'left',') instead of (left)


====================

index.template.php

<!-- BEGIN footer -->
<table width="1000" border="0" cellpadding="0" cellspacing="0" dir="ltr">


in second line i added (dir="ltr") it was <table width="1000" border="0" cellpadding="0" cellspacing="0">


==================


index.template.php


put this code

// Are we using right-to-left orientation?
        if ($context['right_to_left'])
        {
                $first = 'last';
                $last = 'first';
        // Show the start of the tab section.
        echo '
                        <ul class="main-navigation-r">';

        // Show the [home] button.
        echo ($current_action=='home' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-home-r"><a href="', $scripturl, '">' , $txt[103] , '</a></li>' , $current_action == 'home' ? '' : '';

        // Show the [help] button.
        echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-help-r"><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>' , $current_action == 'help' ? '' : '';

        // How about the [search] button?
        if ($context['allow_search'])
                echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-search-r"><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>' , $current_action == 'search' ? '' : '';

        // Is the user allowed to administrate at all? ([admin])
        if ($context['allow_admin'])
                echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-admin-r"><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></li>' , $current_action == 'admin' ? '' : '';

        // Edit Profile... [profile]
        if ($context['allow_edit_profile'])
                echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-profile-r"><a href="', $scripturl, '?action=profile">' , $txt[79] , '</a></li>' , $current_action == 'profile' ? '' : '';

        // Go to PM center... [pm]
        if ($context['user']['is_logged'] && $context['allow_pm'])
                echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-messages-r"><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a></li>' , $current_action == 'pm' ? '' : '';

        // The [calendar]!
        if ($context['allow_calendar'])
                echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-calendar-r"><a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></li>' , $current_action == 'calendar' ? '' : '';

        // the [member] list button
        if ($context['allow_memberlist'])
                echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-members-r"><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>' , $current_action == 'mlist' ? '' : '';


        // If the user is a guest, show [login] button.
        if ($context['user']['is_guest'])
                echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-login-r"><a href="', $scripturl, '?action=login">' , $txt[34] , '</a></li>' , $current_action == 'login' ? '' : '';


        // If the user is a guest, also show [register] button.
        if ($context['user']['is_guest'])
                echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-register-r"><a href="', $scripturl, '?action=register">' , $txt[97] , '</a></li>' , $current_action == 'register' ? '' : '';


        // Otherwise, they might want to [logout]...
        if ($context['user']['is_logged'])
                echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-logout-r"><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a></li>' , $current_action == 'logout' ? '' : '';

        // The end of tab section.
        echo '</ul>';
}
        else
        {
                $first = 'first';
                $last = 'last';
       

        // Show the start of the tab section.
        echo '
                        <ul class="main-navigation">';

        // Show the [home] button.
        echo ($current_action=='home' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-home"><a href="', $scripturl, '">' , $txt[103] , '</a></li>' , $current_action == 'home' ? '' : '';

        // Show the [help] button.
        echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-help"><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>' , $current_action == 'help' ? '' : '';

        // How about the [search] button?
        if ($context['allow_search'])
                echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-search"><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>' , $current_action == 'search' ? '' : '';

        // Is the user allowed to administrate at all? ([admin])
        if ($context['allow_admin'])
                echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-admin"><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></li>' , $current_action == 'admin' ? '' : '';

        // Edit Profile... [profile]
        if ($context['allow_edit_profile'])
                echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-profile"><a href="', $scripturl, '?action=profile">' , $txt[79] , '</a></li>' , $current_action == 'profile' ? '' : '';

        // Go to PM center... [pm]
        if ($context['user']['is_logged'] && $context['allow_pm'])
                echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-messages"><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a></li>' , $current_action == 'pm' ? '' : '';

        // The [calendar]!
        if ($context['allow_calendar'])
                echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-calendar"><a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></li>' , $current_action == 'calendar' ? '' : '';

        // the [member] list button
        if ($context['allow_memberlist'])
                echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-members"><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>' , $current_action == 'mlist' ? '' : '';


        // If the user is a guest, show [login] button.
        if ($context['user']['is_guest'])
                echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-login"><a href="', $scripturl, '?action=login">' , $txt[34] , '</a></li>' , $current_action == 'login' ? '' : '';


        // If the user is a guest, also show [register] button.
        if ($context['user']['is_guest'])
                echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-register"><a href="', $scripturl, '?action=register">' , $txt[97] , '</a></li>' , $current_action == 'register' ? '' : '';


        // Otherwise, they might want to [logout]...
        if ($context['user']['is_logged'])
                echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-logout"><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a></li>' , $current_action == 'logout' ? '' : '';

        // The end of tab section.
        echo '</ul>';
}


instead of this


// Are we using right-to-left orientation?
        if ($context['right_to_left'])
        {
                $first = 'last';
                $last = 'first';
        }
        else
        {
                $first = 'first';
                $last = 'last';
}

        // Show the start of the tab section.
        echo '
                        <ul class="main-navigation">';

        // Show the [home] button.
        echo ($current_action=='home' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-home"><a href="', $scripturl, '">' , $txt[103] , '</a></li>' , $current_action == 'home' ? '' : '';

        // Show the [help] button.
        echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-help"><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>' , $current_action == 'help' ? '' : '';

        // How about the [search] button?
        if ($context['allow_search'])
                echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-search"><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>' , $current_action == 'search' ? '' : '';

        // Is the user allowed to administrate at all? ([admin])
        if ($context['allow_admin'])
                echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-admin"><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></li>' , $current_action == 'admin' ? '' : '';

        // Edit Profile... [profile]
        if ($context['allow_edit_profile'])
                echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-profile"><a href="', $scripturl, '?action=profile">' , $txt[79] , '</a></li>' , $current_action == 'profile' ? '' : '';

        // Go to PM center... [pm]
        if ($context['user']['is_logged'] && $context['allow_pm'])
                echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-messages"><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a></li>' , $current_action == 'pm' ? '' : '';

        // The [calendar]!
        if ($context['allow_calendar'])
                echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-calendar"><a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></li>' , $current_action == 'calendar' ? '' : '';

        // the [member] list button
        if ($context['allow_memberlist'])
                echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-members"><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>' , $current_action == 'mlist' ? '' : '';


        // If the user is a guest, show [login] button.
        if ($context['user']['is_guest'])
                echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-login"><a href="', $scripturl, '?action=login">' , $txt[34] , '</a></li>' , $current_action == 'login' ? '' : '';


        // If the user is a guest, also show [register] button.
        if ($context['user']['is_guest'])
                echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-register"><a href="', $scripturl, '?action=register">' , $txt[97] , '</a></li>' , $current_action == 'register' ? '' : '';


        // Otherwise, they might want to [logout]...
        if ($context['user']['is_logged'])
                echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '' : '' , '
                                <li class="mainNav-logout"><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a></li>' , $current_action == 'logout' ? '' : '';

        // The end of tab section.
        echo '</ul>';




=====================


Display.template.php


<td dir="ltr" nowrap="nowrap">' . $option['bar'] . ' ' . $option['votes'] . ' (' . $option['percent'] . '%)</td>' : '', '</tr>';


i add (dir="ltr") it was <td nowrap="nowrap">


====================

style.css



add this to end of the file


/** added buttons **/

.main-navigation
{
padding:0;
margin:0;
list-style-type: none;
}
.main-navigation-r li
{
height: 18px;
float:right;
}

.main-navigation-r li a
{
display:block;
height:18px;
text-indent:-1000em;
background-position: 0 0;
}

.main-navigation-r li.mainNav-home-r
{
width:60px;
}
.main-navigation-r li.mainNav-home-r a
{
width:60px;
}
.main-navigation-r li.mainNav-home-r a:hover
{
background: transparent;
}
.main-navigation-r li.mainNav-help-r
{
width:60px;
}
.main-navigation-r li.mainNav-help-r a
{
width:60px;
}
.main-navigation-r li.mainNav-help-r a:hover
{
background: transparent;
}
.main-navigation-r li.mainNav-search-r
{
width:60px;
}
.main-navigation-r li.mainNav-search-r a
{
width:60px;
}
.main-navigation-r li.mainNav-search-r a:hover
{
background: transparent;
}
.main-navigation-r li.mainNav-admin-r
{
width:60px;
}
.main-navigation-r li.mainNav-admin-r a
{
width:60px;
}
.main-navigation-r li.mainNav-admin-r a:hover
{
background: transparent;
}
.main-navigation-r li.mainNav-profile-r
{
width:80px;
}
.main-navigation-r li.mainNav-profile-r a
{
width:80px;
}
.main-navigation-r li.mainNav-profile-r a:hover
{
background: transparent;
}
.main-navigation-r li.mainNav-messages-r
{
width:80px;
}
.main-navigation-r li.mainNav-messages-r a
{
width:80px;
}
.main-navigation-r li.mainNav-messages-r a:hover
{
background: transparent;
}
.main-navigation-r li.mainNav-members-r
{
width:60px;
}
.main-navigation-r li.mainNav-members-r a
{
width:60px;
}
.main-navigation-r li.mainNav-members-r a:hover
{
background: transparent;
}
.main-navigation-r li.mainNav-logout-r
{
width:60px;
}
.main-navigation-r li.mainNav-logout-r a
{
width:60px;
}
.main-navigation-r li.mainNav-logout-r a:hover
{
background: transparent;
}
.main-navigation-r li.mainNav-login-r
{
width:60px;
}
.main-navigation-r li.mainNav-login-r a
{
width:60px;
}
.main-navigation-r li.mainNav-login-r a:hover
{
background: transparent;
}
.main-navigation-r li.mainNav-calendar-r
{
width:60px;

}
.main-navigation-r li.mainNav-calendar-r a
{
width:60px;
}
.main-navigation-r li.mainNav-calendar-r a:hover
{
background: transparent;
}
.main-navigation-r li.mainNav-register-r
{
width:60px;
}
.main-navigation-r li.mainNav-register-r a
{
width:60px;
}
.main-navigation-r li.mainNav-register-r a:hover
{
background: transparent;
}


I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

Advertisement: