Changeset 844 in ExiteCMS


Ignore:
Timestamp:
09/27/07 19:37:06 (4 years ago)
Author:
hverton
Message:

XHTML fixes

Location:
modules/common
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • modules/common/download_statistics_panel/php-files/modules/download_statistics_panel/download_statistics_panel.php

    r836 r844  
    5656$result = dbquery("SELECT ds_mirror, count(*) as count FROM ".$db_prefix."dls_statistics GROUP BY ds_mirror"); 
    5757while ($data = dbarray($result)) { 
    58     $data['mirror'] = $data['ds_mirror'] ? ("http://download".$data['ds_mirror'].".pli-images.org") : "Mirror site not recorded"; 
     58    $data['mirror'] = $data['ds_mirror'] ? ("http://download".$data['ds_mirror'].".pli-images.org") : $locale['dls298']; 
    5959    $variables['stats_mirrors'][] = $data; 
    6060} 
  • modules/common/download_statistics_panel/php-files/modules/download_statistics_panel/locale/English.php

    r764 r844  
    3535$locale['dls158'] = "Plugin"; 
    3636$locale['dls159'] = "Box type"; 
     37$locale['dls160'] = "Mirror"; 
     38$locale['dls161'] = "Downloads"; 
    3739// Statistics information 
    3840$locale['dls290'] = "Statistics information"; 
     
    4244$locale['dls294'] = "The most recent download took place on <b>%s</b>"; 
    4345// Error message 
     46$locale['dls298'] = "Mirror site not logged"; 
    4447$locale['dls299'] = "There is no data available to generate the report."; 
    4548 
  • modules/common/download_statistics_panel/php-files/modules/download_statistics_panel/templates/modules.download_statistics_panel.geomapping.tpl

    r768 r844  
    2222    <tr> 
    2323        <td class='tbl1'> 
    24             <div id='map' style='width: 790px; height: 550px' style:'z-index:1;'> 
     24            <div id='map' style='width: 790px; height: 550px; z-index:1;'> 
    2525{literal}               <script type='text/javascript'> 
    2626//<![CDATA[ 
     
    3232        var mymarker = new GMarker(point, icon); 
    3333        GEvent.addListener(mymarker, 'mouseover', function() { 
    34             mymarker.openInfoWindowHtml('<span style="height:50px;font-size:10pt"><img width="18" height="12" src="{/literal}{$smarty.const.IMAGES}{literal}flags/' + cc + '.gif" alt="" />&nbsp;' + cn + '<br /><br />' + users + ' user(s)</span>'); 
     34            mymarker.openInfoWindowHtml('<span style="height:50px;font-size:10pt"><img width="18" height="12" src="{/literal}{$smarty.const.IMAGES}{literal}flags/' + cc + '.gif" alt="" />&nbsp;' + cn + '<br /><br />' + users + ' user(s)<\/span>'); 
    3535        }); 
    3636        GEvent.addListener(mymarker, 'mouseout', function() { 
  • modules/common/download_statistics_panel/php-files/modules/download_statistics_panel/templates/modules.download_statistics_panel.tpl

    r783 r844  
    3535    <table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'> 
    3636        <tr class='tbl2' align='center'> 
    37             <td width=80%'> 
    38                 <b>{$locale.dls207}</b> 
     37            <td width='80%'> 
     38                <b>{$locale.dls160}</b> 
    3939            </td> 
    4040            <td width='20%'> 
    41                 <b>{$locale.dls302}</b> 
     41                <b>{$locale.dls161}</b> 
    4242            </td> 
    4343        </tr> 
    4444    {/if} 
    45     <tr class='{cycle values='tbl1,tbl2'}' align='center'> 
     45    <tr class='{cycle values='tbl1'}' align='center'> 
    4646        <td> 
    4747            {$stats_mirrors[id].mirror} 
     
    6363                {$locale.dls121} 
    6464                <select name='top' class='textbox' style='width:50px;'> 
    65                     <option value='1'{if $top == 5} selected{/if}>5</option> 
    66                     <option value='2'{if $top == 10} selected{/if}>10</option> 
    67                     <option value='3'{if $top == 15} selected{/if}>15</option> 
    68                     <option value='4'{if $top == 20} selected{/if}>20</option> 
    69                     <option value='5'{if $top == 25} selected{/if}>25</option> 
     65                    <option value='1'{if $top == 5} selected="selected"{/if}>5</option> 
     66                    <option value='2'{if $top == 10} selected="selected"{/if}>10</option> 
     67                    <option value='3'{if $top == 15} selected="selected"{/if}>15</option> 
     68                    <option value='4'{if $top == 20} selected="selected"{/if}>20</option> 
     69                    <option value='5'{if $top == 25} selected="selected"{/if}>25</option> 
    7070                </select> 
    7171                {$locale.dls122} 
    7272                <select name='report' class='textbox' style='width:200px;'> 
    7373                {section name=id loop=$reports} 
    74                     <option value='{$reports[id].number}'{if $report == $reports[id].number} selected{/if}>{$reports[id].name}</option> 
     74                    <option value='{$reports[id].number}'{if $report == $reports[id].number} selected="selected"{/if}>{$reports[id].name}</option> 
    7575                {/section} 
    7676                </select> 
     
    8585                {$locale.dls123} 
    8686                <select name='filter' class='textbox' style='width:200px;'> 
    87                     <option value='0'{if $filter == 0} selected{/if}> </option> 
    88                     <option value='1'{if $filter == 1} selected{/if}>{$locale.dls140}</option> 
    89                     <option value='2'{if $filter == 2} selected{/if}>{$locale.dls141}</option> 
    90                     <option value='3'{if $filter == 3} selected{/if}>{$locale.dls142}</option> 
    91                     <option value='4'{if $filter == 4} selected{/if}>{$locale.dls143}</option> 
     87                    <option value='0'{if $filter == 0} selected="selected"{/if}>&nbsp;</option> 
     88                    <option value='1'{if $filter == 1} selected="selected"{/if}>{$locale.dls140}</option> 
     89                    <option value='2'{if $filter == 2} selected="selected"{/if}>{$locale.dls141}</option> 
     90                    <option value='3'{if $filter == 3} selected="selected"{/if}>{$locale.dls142}</option> 
     91                    <option value='4'{if $filter == 4} selected="selected"{/if}>{$locale.dls143}</option> 
    9292                </select> 
    9393            </td> 
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/forum_threads_list_panel.php

    r836 r844  
    3737    $i = 0; 
    3838    while ($data = dbarray($result)) { 
    39         $data['fpm_append'] = fpm_panels_poll_exists($data['forum_id'], $data['thread_id']); 
     39        $data['poll'] = fpm_panels_poll_exists($data['forum_id'], $data['thread_id']); 
    4040        $data['count_posts']--; 
    4141        $threadlist[] = $data; 
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/my_posts.php

    r836 r844  
    7676 
    7777// define the search body panel variables 
    78 $template_panels[] = array('type' => 'body', 'name' => 'my_posts', 'title' => $title, 'template' => 'modules.forum_threads_list_panel.my_posts.tpl', 'locale' => array(PATH_LOCALE.LOCALESET."admin/forum_polls.php")); 
     78$template_panels[] = array('type' => 'body', 'name' => 'my_posts', 'title' => $title, 'template' => 'modules.forum_threads_list_panel.my_posts.tpl'); 
    7979$template_variables['my_posts'] = $variables; 
    8080 
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/my_threads.php

    r836 r844  
    6262 
    6363// define the search body panel variables 
    64 $template_panels[] = array('type' => 'body', 'name' => 'my_threads', 'template' => 'modules.forum_threads_list_panel.my_threads.tpl', 'locale' => array(PATH_LOCALE.LOCALESET."admin/forum_polls.php")); 
     64$template_panels[] = array('type' => 'body', 'name' => 'my_threads', 'template' => 'modules.forum_threads_list_panel.my_threads.tpl'); 
    6565$template_variables['my_threads'] = $variables; 
    6666 
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/new_posts.php

    r836 r844  
    8787 
    8888// define the search body panel variables 
    89 $template_panels[] = array('type' => 'body', 'name' => 'my_new_posts', 'template' => 'modules.forum_threads_list_panel.new_posts.tpl', 'locale' => array(PATH_LOCALE.LOCALESET."admin/forum_polls.php")); 
     89$template_panels[] = array('type' => 'body', 'name' => 'my_new_posts', 'template' => 'modules.forum_threads_list_panel.new_posts.tpl'); 
    9090$template_variables['my_new_posts'] = $variables; 
    9191 
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/new_posts_detail.php

    r836 r844  
    7171 
    7272// define the search body panel variables 
    73 $template_panels[] = array('type' => 'body', 'name' => 'my_new_posts', 'template' => 'modules.forum_threads_list_panel.new_posts_detail.tpl', 'locale' => array(PATH_LOCALE.LOCALESET."admin/forum_polls.php")); 
     73$template_panels[] = array('type' => 'body', 'name' => 'my_new_posts', 'template' => 'modules.forum_threads_list_panel.new_posts_detail.tpl'); 
    7474$template_variables['my_new_posts'] = $variables; 
    7575 
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.my_posts.tpl

    r770 r844  
    4545        <td class='{cycle values='tbl1,tbl2' advance=no}'> 
    4646            <span class='small'> 
    47                 <a href='{$smarty.const.FORUM}viewthread.php?{$posts[id].rstart}forum_id={$posts[id].forum_id}&amp;thread_id={$posts[id].thread_id}&amp;pid={$posts[id].post_id}#post_{$posts[id].post_id}' title='{$posts[id].post_subject}'>{$posts[id].post_subject|truncate:40:"..."}{if $posts[id].poll} <b>{$locale.FPM_200}</b>{/if}</a> 
     47                <a href='{$smarty.const.FORUM}viewthread.php?{$posts[id].rstart}forum_id={$posts[id].forum_id}&amp;thread_id={$posts[id].thread_id}&amp;pid={$posts[id].post_id}#post_{$posts[id].post_id}' title='{$posts[id].post_subject}'>{$posts[id].post_subject|truncate:40:"..."}{if $posts[id].poll} <b>{$locale.112}</b>{/if}</a> 
    4848            </span> 
    4949        </td> 
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.my_threads.tpl

    r770 r844  
    4545        <td width='55%' class='{cycle values='tbl1,tbl2' advance=no}'> 
    4646            <span class='small'> 
    47                 <a href='{$smarty.const.FORUM}viewthread.php?forum_id={$threads[id].forum_id}&amp;thread_id={$threads[id].thread_id}' title='{$threads[id].thread_subject}'>{$threads[id].thread_subject|truncate:40:"..."}{if $threads[id].poll} <b>{$locale.FPM_200}</b>{/if}</a> 
     47                <a href='{$smarty.const.FORUM}viewthread.php?forum_id={$threads[id].forum_id}&amp;thread_id={$threads[id].thread_id}' title='{$threads[id].thread_subject}'>{$threads[id].thread_subject|truncate:40:"..."}{if $threads[id].poll} <b>{$locale.112}</b>{/if}</a> 
    4848            </span> 
    4949        </td> 
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.new_posts.tpl

    r839 r844  
    4242        </td> 
    4343        <td class='{cycle values='tbl1,tbl2' advance=no}'> 
    44             <a href='{$smarty.const.BASEDIR}forum/viewthread.php?forum_id={$posts[id].forum_id}&amp;thread_id={$posts[id].thread_id}&amp;pid={$posts[id].post_id}#post_{$posts[id].post_id}'>{$posts[id].thread_subject}{if $posts[id].poll} <b>{$locale.FPM_200}</b>{/if}</a> 
     44            <a href='{$smarty.const.BASEDIR}forum/viewthread.php?forum_id={$posts[id].forum_id}&amp;thread_id={$posts[id].thread_id}&amp;pid={$posts[id].post_id}#post_{$posts[id].post_id}'>{$posts[id].thread_subject}{if $posts[id].poll} <b>{$locale.112}</b>{/if}</a> 
    4545        </td> 
    4646        <td align='center' width='1%' class='{cycle values='tbl1,tbl2' advance=no}' style='white-space:nowrap'> 
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.tpl

    r836 r844  
    2929        {if $smarty.const.THEME_WIDTH == "100%" || $smarty.const.THEME_WIDTH > "990"} 
    3030            <td width='45%' class='{cycle values="tbl1,tbl2" advance=false}'><a href='{$smarty.const.FORUM}viewforum.php?forum_id={$threadlist[entry].forum_id}' title='{$threadlist[entry].forum_name}'>{$threadlist[entry].forum_name}</a></td> 
    31             <td width='55%' class='{cycle values="tbl1,tbl2" advance=false}'><a href='{$smarty.const.FORUM}viewthread.php?forum_id={$threadlist[entry].forum_id}&amp;thread_id={$threadlist[entry].thread_id}&amp;pid={$threadlist[entry].last_id}#post_{$threadlist[entry].last_id}' title='{$threadlist[entry].thread_subject}'>{$threadlist[entry].thread_subject|truncate:40}{$threadlist[entry].fpm_append}</a></td> 
     31            <td width='55%' class='{cycle values="tbl1,tbl2" advance=false}'><a href='{$smarty.const.FORUM}viewthread.php?forum_id={$threadlist[entry].forum_id}&amp;thread_id={$threadlist[entry].thread_id}&amp;pid={$threadlist[entry].last_id}#post_{$threadlist[entry].last_id}' title='{$threadlist[entry].thread_subject}'>{$threadlist[entry].thread_subject|truncate:40}{if $threadlist[entry].poll} <b>{$locale.112}</b>{/if}</a></td> 
    3232        {else} 
    3333            <td width='100%' class='{cycle values="tbl1,tbl2" advance=false}'><a href='{$smarty.const.FORUM}viewthread.php?forum_id={$threadlist[entry].forum_id}&amp;thread_id={$threadlist[entry].thread_id}&amp;pid={$threadlist[entry].last_id}#post_{$threadlist[entry].last_id}' title='{$threadlist[entry].thread_subject} ($threadlist[entry].forum_name})'>{$threadlist[entry].thread_subject|truncate:40}{$threadlist[entry].fpm_append}</a></td> 
  • modules/common/mail2forum/php-files/modules/mail2forum/locale/English.php

    r836 r844  
    1212$locale['m2f202'] = "Forum Postability"; 
    1313$locale['m2f203'] = "Options"; 
    14 $locale['m2f204'] = "Subscribers"; 
     14$locale['m2f204'] = ""; 
    1515$locale['m2f205'] = "Sent"; 
    1616$locale['m2f210'] = "Configure"; 
    17 $locale['m2f211'] = "<font color='green'>Enable</font>"; 
    18 $locale['m2f212'] = "<font color='red'>Disable</font>"; 
     17$locale['m2f211'] = "Activate this configuration"; 
     18$locale['m2f212'] = "Disable this configuration"; 
    1919$locale['m2f213'] = "Received"; 
    2020$locale['m2f214'] = "Mail system"; 
    2121$locale['m2f215'] = "Remove"; 
    2222$locale['m2f216'] = "Cancel"; 
    23 $locale['m2f217'] = "View"; 
    24 $locale['m2f218'] = "Activate"; 
    25 $locale['m2f219'] = "Deactivate"; 
     23$locale['m2f217'] = "View the subscribers list"; 
     24$locale['m2f218'] = "Allow users to subscribe"; 
     25$locale['m2f219'] = "Disable user subscriptions"; 
    2626// Supported mailbox types 
    2727$locale['m2f230'] = "SMTP/POP3"; 
     
    129129$locale['m2f951'] = "Subscriptions succesfully updated"; 
    130130// Subscription intro message 
    131 $locale['m2f990'] = "Mail-to-Forum is a ExiteCMS installable module which binds the content of a forum with that of a mailing list.\n<ul> 
    132     <li>Any posts made in a designated forum will be automatically emailed to every member of the corresponding mailing list.\n 
    133     <li>Any mail sent to the mailing list will be automatically added as posts to this forum.\n 
    134     <li>Special formatting makes sure that replies to Mail-to-Forum emails will be added to the correct thread.</ul>"; 
     131$locale['m2f990'] = "Mail-to-Forum is a ExiteCMS installable module which binds the content of a forum with that of a mailing list.\n 
     132<ul> 
     133    <li>Any posts made in a designated forum will be automatically emailed to every member of the corresponding mailing list.</li>\n 
     134    <li>Any mail sent to the mailing list will be automatically added as posts to this forum.</li>\n 
     135    <li>Special formatting makes sure that replies to Mail-to-Forum emails will be added to the correct thread.</li>\n 
     136</ul>"; 
    135137// M2F post error messages (used in NDR reports) 
    136138$locale['m2f991'] = "Mail2Forum - post error message"; 
  • modules/common/mail2forum/php-files/modules/mail2forum/m2f_smtp.php

    r836 r844  
    361361                                if (M2F_SMTP_DEBUG) logdebug('ATTACHMENT', print_r($attachment, true)); 
    362362                                if (USE_PLI_ENHANCEMENTS) { 
    363                                     $attachURL = $settings['siteurl']."forum/viewthread.php?forum_id=".$postrecord['forum_id']."&thread_id=".$postrecord['thread_id']."&getfile=".$attachment['attach_id']."&user_name=".$recipient['user_name']."&user_pass="; 
    364                                     $attachURL = str_replace(" ", "%20", $attachURL); 
     363                                    $attachURL = $settings['siteurl']."getfile.php?type=a&file_id=".$attachment['attach_id']; 
    365364                                } else { 
    366365                                    $attachURL = $settings['siteurl']."forum/attachments/".$attachment['attach_name']; 
  • modules/common/mail2forum/php-files/modules/mail2forum/m2f_subscriptions.php

    r836 r844  
    8282 
    8383$variables['subscriptions'] = array(); 
    84 $result = dbquery("SELECT * FROM ".$db_prefix."M2F_forums mf, ".$db_prefix."forums f WHERE mf.m2f_subscribe = 1 AND mf.m2f_active = 1 AND mf.m2f_forumid = f.forum_id AND ".groupaccess('mf.m2f_access')); 
     84$result = dbquery("SELECT * FROM ".$db_prefix."M2F_forums mf, ".$db_prefix."forums f WHERE mf.m2f_subscribe = 1 AND mf.m2f_active = 1 AND mf.m2f_forumid = f.forum_id AND ".groupaccess('mf.m2f_access')." ORDER BY f.forum_name"); 
    8585while ($data = dbarray($result)) { 
    8686        $result2 = dbquery("SELECT * FROM ".$db_prefix."M2F_subscriptions WHERE m2f_forumid = '".$data['m2f_forumid']."' AND m2f_userid = '".$userdata['user_id']."'"); 
  • modules/common/mail2forum/php-files/modules/mail2forum/templates/modules.mail2forum.admin_panel.tpl

    r767 r844  
    6363</center> 
    6464{/if} 
    65 <table align='center' cellpadding='0' cellspacing='1' width='80%' class='tbl-border'> 
     65<table align='center' cellpadding='0' cellspacing='1' width='95%' class='tbl-border'> 
    6666{section name=id loop=$forums} 
    6767    {if $smarty.section.id.first} 
     
    7070            <b>{$locale.m2f201}</b> 
    7171        </td> 
    72         <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 
     72        <td align='center' width='1%' class='tbl2' style='white-space:nowrap' colspan='2'> 
    7373            <b>{$locale.m2f202}</b> 
    7474        </td> 
    7575        <td align='center' width='1%' class='tbl2' style='white-space:nowrap' colspan='2'> 
    7676            <b>{$locale.m2f214}</b> 
    77         </td> 
    78         <td align='center' width='1%' class='tbl2' style='white-space:nowrap' colspan='2'> 
    79             <b>{$locale.m2f204}</b> 
    8077        </td> 
    8178        <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 
     
    10198        </td> 
    10299        <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
     100            {$forums[id].m2f_subscribers} 
     101        </td> 
     102        <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
    103103            <select name='m2f_type' class='textbox'> 
    104104                {foreach from=$mailtypes item=type name=mailtype} 
     
    116116        </td> 
    117117        <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
    118             {$forums[id].m2f_subscribers} 
    119             {if $forums[id].m2f_subscribers > 0} 
    120                 &nbsp;[<a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;step=subscribers&amp;forum_id={$forums[id].forum_id}'>{$locale.m2f217}</a>] 
    121             {/if}  
    122         </td> 
    123         <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
    124         {if $forums[id].m2f_config} 
    125             {if $forums[id].m2f_subscribe} 
    126                 &nbsp;[<a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;step=deactivate&amp;forum_id={$forums[id].forum_id}'>{$locale.m2f219}</a>] 
    127             {else} 
    128                 [<a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;step=activate&amp;forum_id={$forums[id].forum_id}'>{$locale.m2f218}</a>] 
    129             {/if} 
    130         {/if} 
    131         </td> 
    132         <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
    133118            {if $forums[id].m2f_config}{$forums[id].m2f_sent}{else}0{/if} 
    134119        </td> 
     
    136121            {if $forums[id].m2f_config}{$forums[id].m2f_received}{else}0{/if} 
    137122        </td> 
    138         <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
     123        <td align='left' width='1%' class='tbl1' style='white-space:nowrap'> 
    139124        {if $forums[id].m2f_config} 
     125            {if $forums[id].m2f_subscribe} 
     126                <a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;step=deactivate&amp;forum_id={$forums[id].forum_id}'><img src='{$smarty.const.THEME}images/cog_delete.gif' alt='{$locale.m2f219}' title='{$locale.m2f219}' /></a> 
     127            {else} 
     128                <a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;step=activate&amp;forum_id={$forums[id].forum_id}'><img src='{$smarty.const.THEME}images/cog_add.gif' alt='{$locale.m2f218}' title='{$locale.m2f218}' /></a> 
     129            {/if} 
    140130            {if $forums[id].m2f_active} 
    141                 [<a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;step=setstatus&amp;status=0&amp;forum_id={$forums[id].forum_id}'>{$locale.m2f212}</a>] 
     131                <a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;step=setstatus&amp;status=0&amp;forum_id={$forums[id].forum_id}'><img src='{$smarty.const.THEME}images/page_red.gif' alt='{$locale.m2f212}' title='{$locale.m2f212}' /></a> 
    142132            {else} 
    143                 [<a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;step=setstatus&amp;status=1&amp;forum_id={$forums[id].forum_id}'>{$locale.m2f211}</a>] 
     133                <a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;step=setstatus&amp;status=1&amp;forum_id={$forums[id].forum_id}'><img src='{$smarty.const.THEME}images/page_green.gif' alt='{$locale.m2f211}' title='{$locale.m2f211}' /></a> 
    144134            {/if} 
    145135        {/if} 
     136        {if $forums[id].m2f_subscribers > 0} 
     137            <a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;step=subscribers&amp;forum_id={$forums[id].forum_id}'><img src='{$smarty.const.THEME}images/image_view.gif' alt='{$locale.m2f217}' title='{$locale.m2f217}'></a> 
     138        {/if}  
    146139        </td> 
    147140    </tr> 
  • modules/common/mail2forum/php-files/modules/mail2forum/templates/modules.mail2forum.subscriptions.tpl

    r784 r844  
    4141                <select name='m2f_html' class='textbox' style='width:150px'> 
    4242                {foreach from=$ar_html item=choice name=fe} 
    43                 <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_html} selected{/if}>{$choice}</option> 
     43                <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_html} selected="selected"{/if}>{$choice}</option> 
    4444                {/foreach} 
    4545                </select> 
     
    5353                <select name='m2f_attach' class='textbox' style='width:150px'> 
    5454                {foreach from=$ar_attach item=choice name=fe} 
    55                 <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_attach} selected{/if}>{$choice}</option> 
     55                <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_attach} selected="selected"{/if}>{$choice}</option> 
    5656                {/foreach} 
    5757                </select> 
     
    6767                <select name='m2f_inline' class='textbox' style='width:150px'> 
    6868                {foreach from=$ar_inline item=choice name=fe} 
    69                 <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_inline} selected{/if}>{$choice}</option> 
     69                <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_inline} selected="selected"{/if}>{$choice}</option> 
    7070                {/foreach} 
    7171                </select> 
     
    7979                <select name='m2f_thumbnail' class='textbox' style='width:150px'> 
    8080                {foreach from=$ar_thumbnail item=choice name=fe} 
    81                 <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_thumbnail} selected{/if}>{$choice}</option> 
     81                <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_thumbnail} selected="selected"{/if}>{$choice}</option> 
    8282                {/foreach} 
    8383                </select> 
     
    110110        {if $smarty.section.id.first} 
    111111        <tr> 
    112             <td width='' class='tbl2'> 
     112            <td class='tbl2'> 
    113113                <b>{$locale.m2f400}</b> 
    114114            </td> 
     
    116116                <b>{$locale.m2f401}</b> 
    117117            </td> 
    118             <td width='' class='tbl2' style='white-space:nowrap'> 
     118            <td class='tbl2' style='white-space:nowrap'> 
    119119                <b>{$locale.m2f402}</b> 
    120120            </td> 
     
    130130            <td align='center' class='{cycle values='tbl1,tbl2' advance=no}'> 
    131131                <select name='m2f_subscribed[{$smarty.section.id.index}]' class='textbox'> 
    132                     <option value='0'{if $subscriptions[id].subscribed == "0"} selected{/if}>{$locale.m2f306}</option> 
    133                     <option value='1'{if $subscriptions[id].subscribed == "1"} selected{/if}>{$locale.m2f307}</option> 
     132                    <option value='0'{if $subscriptions[id].subscribed == "0"} selected="selected"{/if}>{$locale.m2f306}</option> 
     133                    <option value='1'{if $subscriptions[id].subscribed == "1"} selected="selected"{/if}>{$locale.m2f307}</option> 
    134134                </select> 
    135135            </td> 
Note: See TracChangeset for help on using the changeset viewer.