Ignore:
Timestamp:
02/10/08 16:01:38 (4 years ago)
Author:
hverton
Message:

added M2F configuration to the admin module, removed the old m2f_config.php file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/common/mail2forum/php-files/modules/mail2forum/templates/modules.mail2forum.admin_panel.tpl

    r971 r1257  
    5454    {/section} 
    5555    {include file="_closetable.tpl"} 
    56 {/if} 
    57 {include file="_opentable.tpl" name=$_name title=$locale.m2f100|cat:" - "|cat:$locale.m2f200 state=$_state style=$_style} 
    58 {if $error != ""} 
    59 <center> 
    60 <br /> 
    61 <b>{$error}</b> 
    62 <br /><br /> 
    63 </center> 
    64 {/if} 
    65 <table align='center' cellpadding='0' cellspacing='1' width='95%' class='tbl-border'> 
    66 {section name=id loop=$forums} 
    67     {if $smarty.section.id.first} 
    68     <tr> 
    69         <td class='tbl2'> 
    70             <b>{$locale.m2f201}</b> 
    71         </td> 
    72         <td align='center' width='1%' class='tbl2' style='white-space:nowrap' colspan='2'> 
    73             <b>{$locale.m2f202}</b> 
    74         </td> 
    75         <td align='center' width='1%' class='tbl2' style='white-space:nowrap' colspan='2'> 
    76             <b>{$locale.m2f214}</b> 
    77         </td> 
    78         <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 
    79             <b>{$locale.m2f205}</b> 
    80         </td> 
    81         <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 
    82             <b>{$locale.m2f213}</b> 
    83         </td> 
    84         <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 
    85             <b>{$locale.m2f203}</b> 
    86         </td> 
    87     </tr> 
     56{elseif $step == "config"} 
     57    {include file="_opentable.tpl" name=$_name title=$locale.m2f500 state=$_state style=$_style} 
     58    <form name='settingsform' method='post' action='{$smarty.const.FUSION_SELF}{$aidlink}'> 
     59        <table align='center' cellpadding='0' cellspacing='0' width='500'> 
     60            <tr> 
     61                <td width='50%' class='tbl'> 
     62                    {$locale.m2f502} 
     63                </td> 
     64                <td width='50%' class='tbl'> 
     65                    <input type='text' name='m2f_host' value='{$settings.m2f_host}' maxlength='255' class='textbox' style='width:230px;' /> 
     66                </td> 
     67            </tr> 
     68            <tr> 
     69                <td width='10%' align='left' colspan='2' class='tbl'> 
     70                    <span class='small2'>{$locale.m2f502a}</span> 
     71                </td> 
     72            </tr> 
     73            <tr> 
     74                <td width='50%' class='tbl'> 
     75                    {$locale.m2f503} 
     76                </td> 
     77                <td width='50%' class='tbl'> 
     78                    <input type='text' name='m2f_interval' value='{$settings.m2f_interval}' maxlength='5' class='textbox' style='width:50px;' /> 
     79                </td> 
     80            </tr> 
     81            <tr> 
     82                <td width='10%' align='left' colspan='2' class='tbl'> 
     83                    <span class='small2'>{$locale.m2f503a}</span> 
     84                </td> 
     85            </tr> 
     86            <tr> 
     87                <td width='50%' class='tbl'> 
     88                    {$locale.m2f504} 
     89                </td> 
     90                <td width='50%' class='tbl'> 
     91                    <input type='text' name='m2f_poll_threshold' value='{$settings.m2f_poll_threshold}' maxlength='8' class='textbox' style='width:100px;' /> 
     92                    <input type='submit' name='poll_restart' value='{$locale.m2f505}' class='button' /> 
     93                </td> 
     94            </tr> 
     95            <tr> 
     96                <td width='10%' align='left' colspan='2' class='tbl'> 
     97                    <span class='small2'>{$locale.m2f504a}</span> 
     98                </td> 
     99            </tr> 
     100            <tr> 
     101                <td width='50%' class='tbl'> 
     102                    {$locale.m2f506} 
     103                </td> 
     104                <td width='50%' class='tbl'> 
     105                    <input type='text' name='m2f_max_attachments' value='{$settings.m2f_max_attachments}' maxlength='5' class='textbox' style='width:50px;' /> 
     106                </td> 
     107            </tr> 
     108            <tr> 
     109                <td width='10%' align='left' colspan='2' class='tbl'> 
     110                    <span class='small2'>{$locale.m2f506a}</span> 
     111                </td> 
     112            </tr> 
     113            <tr> 
     114                <td width='50%' class='tbl'> 
     115                    {$locale.m2f507} 
     116                </td> 
     117                <td width='50%' class='tbl'> 
     118                    <input type='text' name='m2f_max_attach_size' value='{$settings.m2f_max_attach_size}' maxlength='8' class='textbox' style='width:100px;' /> 
     119                </td> 
     120            </tr> 
     121            <tr> 
     122                <td width='10%' align='left' colspan='2' class='tbl'> 
     123                    <span class='small2'>{$locale.m2f507a}</span> 
     124                </td> 
     125            </tr> 
     126            <tr> 
     127                <td width='50%' class='tbl'> 
     128                    {$locale.m2f508} 
     129                </td> 
     130                <td width='50%' class='tbl'> 
     131                    <select name='m2f_use_forum_email' class='textbox'> 
     132                        <option value='0'{if $settings.m2f_use_forum_email == "0"} selected="selected"{/if}>{$locale.m2f306}</option> 
     133                        <option value='1'{if $settings.m2f_use_forum_email == "1"} selected="selected"{/if}>{$locale.m2f307}</option> 
     134                    </select> 
     135                </td> 
     136            </tr> 
     137            <tr> 
     138                <td width='10%' align='left' colspan='2' class='tbl'> 
     139                    <span class='small2'>{$locale.m2f508a}</span> 
     140                </td> 
     141            </tr> 
     142            <tr> 
     143                <td width='50%' class='tbl'> 
     144                    {$locale.m2f509} 
     145                </td> 
     146                <td width='50%' class='tbl'> 
     147                    <select name='m2f_follow_thread' class='textbox'> 
     148                        <option value='0'{if $settings.m2f_follow_thread == "0"} selected="selected"{/if}>{$locale.m2f306}</option> 
     149                        <option value='1'{if $settings.m2f_follow_thread == "1"} selected="selected"{/if}>{$locale.m2f307}</option> 
     150                    </select> 
     151                </td> 
     152            </tr> 
     153            <tr> 
     154                <td width='10%' align='left' colspan='2' class='tbl'> 
     155                    <span class='small2'>{$locale.m2f509a}</span> 
     156                </td> 
     157            </tr> 
     158            <tr> 
     159                <td width='50%' class='tbl'> 
     160                    {$locale.m2f510} 
     161                </td> 
     162                <td width='50%' class='tbl'> 
     163                    <select name='m2f_subscribe_required' class='textbox'> 
     164                        <option value='0'{if $settings.m2f_subscribe_required == "0"} selected="selected"{/if}>{$locale.m2f306}</option> 
     165                        <option value='1'{if $settings.m2f_subscribe_required == "1"} selected="selected"{/if}>{$locale.m2f307}</option> 
     166                    </select> 
     167                </td> 
     168            </tr> 
     169            <tr> 
     170                <td width='10%' align='left' colspan='2' class='tbl'> 
     171                    <span class='small2'>{$locale.m2f510a}</span> 
     172                </td> 
     173            </tr> 
     174            <tr> 
     175                <td width='50%' class='tbl'> 
     176                    {$locale.m2f511} 
     177                </td> 
     178                <td width='50%' class='tbl'> 
     179                    <select name='m2f_send_ndr' class='textbox'> 
     180                        <option value='0'{if $settings.m2f_send_ndr == "0"} selected="selected"{/if}>{$locale.m2f306}</option> 
     181                        <option value='1'{if $settings.m2f_send_ndr == "1"} selected="selected"{/if}>{$locale.m2f307}</option> 
     182                    </select> 
     183                </td> 
     184            </tr> 
     185            <tr> 
     186                <td width='10%' align='left' colspan='2' class='tbl'> 
     187                    <span class='small2'>{$locale.m2f511a}</span> 
     188                </td> 
     189            </tr> 
     190            <tr> 
     191                <td width='50%' class='tbl'> 
     192                    {$locale.m2f512} 
     193                </td> 
     194                <td width='50%' class='tbl'> 
     195                    <input type='text' name='m2f_pop3_server' value='{$settings.m2f_pop3_server}' maxlength='255' class='textbox' style='width:230px;' /> 
     196                </td> 
     197            </tr> 
     198            <tr> 
     199                <td width='10%' align='left' colspan='2' class='tbl'> 
     200                    <span class='small2'>{$locale.m2f512a}</span> 
     201                </td> 
     202            </tr> 
     203            <tr> 
     204                <td width='50%' class='tbl'> 
     205                    {$locale.m2f513} 
     206                </td> 
     207                <td width='50%' class='tbl'> 
     208                    <input type='text' name='m2f_pop3_port' value='{$settings.m2f_pop3_port}' maxlength='5' class='textbox' style='width:100px;' /> 
     209                </td> 
     210            </tr> 
     211            <tr> 
     212                <td width='10%' align='left' colspan='2' class='tbl'> 
     213                    <span class='small2'>{$locale.m2f513a}</span> 
     214                </td> 
     215            </tr> 
     216            <tr> 
     217                <td width='50%' class='tbl'> 
     218                    {$locale.m2f514} 
     219                </td> 
     220                <td width='50%' class='tbl'> 
     221                    <input type='text' name='m2f_pop3_timeout' value='{$settings.m2f_pop3_timeout}' maxlength='5' class='textbox' style='width:50px;' /> 
     222                </td> 
     223            </tr> 
     224            <tr> 
     225                <td width='10%' align='left' colspan='2' class='tbl'> 
     226                    <span class='small2'>{$locale.m2f514a}</span> 
     227                </td> 
     228            </tr> 
     229            <tr> 
     230                <td width='50%' class='tbl'> 
     231                    {$locale.m2f515} 
     232                </td> 
     233                <td width='50%' class='tbl'> 
     234                    <input type='text' name='m2f_logfile' value='{$settings.m2f_logfile}' maxlength='255' class='textbox' style='width:230px;' /> 
     235                </td> 
     236            </tr> 
     237            <tr> 
     238                <td width='10%' align='left' colspan='2' class='tbl'> 
     239                    <span class='small2'>{$locale.m2f515a}</span> 
     240                </td> 
     241            </tr> 
     242            <tr> 
     243                <td width='50%' class='tbl'> 
     244                    {$locale.m2f516} 
     245                </td> 
     246                <td width='50%' class='tbl'> 
     247                    <select name='m2f_process_log' class='textbox'> 
     248                        <option value='0'{if $settings.m2f_process_log == "0"} selected="selected"{/if}>{$locale.m2f306}</option> 
     249                        <option value='1'{if $settings.m2f_process_log == "1"} selected="selected"{/if}>{$locale.m2f307}</option> 
     250                    </select> 
     251                </td> 
     252            </tr> 
     253            <tr> 
     254                <td width='10%' align='left' colspan='2' class='tbl'> 
     255                    <span class='small2'>{$locale.m2f516a}</span> 
     256                </td> 
     257            </tr> 
     258            <tr> 
     259                <td width='50%' class='tbl'> 
     260                    {$locale.m2f517} 
     261                </td> 
     262                <td width='50%' class='tbl'> 
     263                    <select name='m2f_smtp_log' class='textbox'> 
     264                        <option value='0'{if $settings.m2f_smtp_log == "0"} selected="selected"{/if}>{$locale.m2f306}</option> 
     265                        <option value='1'{if $settings.m2f_smtp_log == "1"} selected="selected"{/if}>{$locale.m2f307}</option> 
     266                    </select> 
     267                </td> 
     268            </tr> 
     269            <tr> 
     270                <td width='10%' align='left' colspan='2' class='tbl'> 
     271                    <span class='small2'>{$locale.m2f517a}</span> 
     272                </td> 
     273            </tr> 
     274            <tr> 
     275                <td width='50%' class='tbl'> 
     276                    {$locale.m2f518} 
     277                </td> 
     278                <td width='50%' class='tbl'> 
     279                    <select name='m2f_pop3_debug' class='textbox'> 
     280                        <option value='0'{if $settings.m2f_pop3_debug == "0"} selected="selected"{/if}>{$locale.m2f306}</option> 
     281                        <option value='1'{if $settings.m2f_pop3_debug == "1"} selected="selected"{/if}>{$locale.m2f307}</option> 
     282                    </select> 
     283                </td> 
     284            </tr> 
     285            <tr> 
     286                <td width='10%' align='left' colspan='2' class='tbl'> 
     287                    <span class='small2'>{$locale.m2f518a}</span> 
     288                </td> 
     289            </tr> 
     290            <tr> 
     291                <td width='50%' class='tbl'> 
     292                    {$locale.m2f519} 
     293                </td> 
     294                <td width='50%' class='tbl'> 
     295                    <select name='m2f_pop3_message_debug' class='textbox'> 
     296                        <option value='0'{if $settings.m2f_pop3_message_debug == "0"} selected="selected"{/if}>{$locale.m2f306}</option> 
     297                        <option value='1'{if $settings.m2f_pop3_message_debug == "1"} selected="selected"{/if}>{$locale.m2f307}</option> 
     298                    </select> 
     299                </td> 
     300            </tr> 
     301            <tr> 
     302                <td width='10%' align='left' colspan='2' class='tbl'> 
     303                    <span class='small2'>{$locale.m2f519a}</span> 
     304                </td> 
     305            </tr> 
     306            <tr> 
     307                <td width='50%' class='tbl'> 
     308                    {$locale.m2f520} 
     309                </td> 
     310                <td width='50%' class='tbl'> 
     311                    <select name='m2f_smtp_debug' class='textbox'> 
     312                        <option value='0'{if $settings.m2f_smtp_debug == "0"} selected="selected"{/if}>{$locale.m2f306}</option> 
     313                        <option value='1'{if $settings.m2f_smtp_debug == "1"} selected="selected"{/if}>{$locale.m2f307}</option> 
     314                    </select> 
     315                </td> 
     316            </tr> 
     317            <tr> 
     318                <td width='10%' align='left' colspan='2' class='tbl'> 
     319                    <span class='small2'>{$locale.m2f520a}</span> 
     320                </td> 
     321            </tr> 
     322            <tr> 
     323                <td align='center' colspan='2' class='tbl'> 
     324                    <br /> 
     325                    <input type='submit' name='saveconfig' value='{$locale.m2f501}' class='button' /> 
     326                </td> 
     327            </tr> 
     328        </table> 
     329    </form> 
     330    {include file="_closetable.tpl"} 
     331{else} 
     332    {include file="_opentable.tpl" name=$_name title=$locale.m2f500 state=$_state style=$_style} 
     333    <form name='settingsform' method='post' action='{$smarty.const.FUSION_SELF}{$aidlink}&amp;step=config'> 
     334        <center> 
     335            <input type='submit' name='loadconfig' value='{$locale.m2f500}' class='button' /> 
     336        </center> 
     337    </form> 
     338    {include file="_closetable.tpl"} 
     339    {include file="_opentable.tpl" name=$_name title=$locale.m2f100|cat:" - "|cat:$locale.m2f200 state=$_state style=$_style} 
     340    {if $error != ""} 
     341    <center> 
     342    <br /> 
     343    <b>{$error}</b> 
     344    <br /><br /> 
     345    </center> 
    88346    {/if} 
    89347    <form name='forum' method='post' action='{$smarty.const.FUSION_SELF}{$aidlink}'> 
    90     <tr> 
    91         <td class='tbl1'> 
    92             {$forums[id].forum_name} 
    93             <input type='hidden' name='forum_name' value='{$forums[id].forum_name}'> 
    94         </td> 
    95         <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
    96             {$forums[id].forum_posting_name} 
    97             <input type='hidden' name='forum_posting' value='{$forums[id].forum_posting}'> 
    98         </td> 
    99         <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'> 
    103             <select name='m2f_type' class='textbox'> 
    104                 {foreach from=$mailtypes item=type name=mailtype} 
    105                 <option value='{$smarty.foreach.mailtype.index}'{if $smarty.foreach.mailtype.index == $forums[id].m2f_type} selected{/if}>{$type}</option> 
    106                 {/foreach} 
    107             </select> 
    108         </td> 
    109         <td align='left' width='1%' class='tbl1' style='white-space:nowrap'> 
    110             <input type='submit' name='config' value='{$locale.m2f210}' class='button' /> 
    111             {if $forums[id].m2f_config} 
    112             <input type='submit' name='delete' value='{$locale.m2f215}' class='button' /> 
    113             <input type='hidden' name='m2f_id' value='{$forums[id].m2f_id}' /> 
     348        <table align='center' cellpadding='0' cellspacing='1' width='95%' class='tbl-border'> 
     349        {section name=id loop=$forums} 
     350            {if $smarty.section.id.first} 
     351            <tr> 
     352                <td class='tbl2'> 
     353                    <b>{$locale.m2f201}</b> 
     354                </td> 
     355                <td align='center' width='1%' class='tbl2' style='white-space:nowrap' colspan='2'> 
     356                    <b>{$locale.m2f202}</b> 
     357                </td> 
     358                <td align='center' width='1%' class='tbl2' style='white-space:nowrap' colspan='2'> 
     359                    <b>{$locale.m2f214}</b> 
     360                </td> 
     361                <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 
     362                    <b>{$locale.m2f205}</b> 
     363                </td> 
     364                <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 
     365                    <b>{$locale.m2f213}</b> 
     366                </td> 
     367                <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 
     368                    <b>{$locale.m2f203}</b> 
     369                </td> 
     370            </tr> 
    114371            {/if} 
    115             <input type='hidden' name='m2f_forumid' value='{$forums[id].forum_id}' /> 
    116         </td> 
    117         <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
    118             {if $forums[id].m2f_config}{$forums[id].m2f_sent}{else}0{/if} 
    119         </td> 
    120         <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
    121             {if $forums[id].m2f_config}{$forums[id].m2f_received}{else}0{/if} 
    122         </td> 
    123         <td align='left' width='1%' class='tbl1' style='white-space:nowrap'> 
    124         {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> 
     372            <tr> 
     373                <td class='tbl1'> 
     374                    {$forums[id].forum_name} 
     375                    <input type='hidden' name='forum_name' value='{$forums[id].forum_name}' /> 
     376                </td> 
     377                <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
     378                    {$forums[id].forum_posting_name} 
     379                    <input type='hidden' name='forum_posting' value='{$forums[id].forum_posting}' /> 
     380                </td> 
     381                <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
     382                    {$forums[id].m2f_subscribers} 
     383                </td> 
     384                <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
     385                    <select name='m2f_type[{$smarty.section.id.index}]' class='textbox'> 
     386                        {foreach from=$mailtypes item=type name=mailtype} 
     387                        <option value='{$smarty.foreach.mailtype.index}'{if $smarty.foreach.mailtype.index == $forums[id].m2f_type} selected="selected"{/if}>{$type}</option> 
     388                        {/foreach} 
     389                    </select> 
     390                </td> 
     391                <td align='left' width='1%' class='tbl1' style='white-space:nowrap'> 
     392                    <input type='submit' name='config[{$smarty.section.id.index}]' value='{$locale.m2f210}' class='button' /> 
     393                    {if $forums[id].m2f_config} 
     394                    <input type='submit' name='delete[{$smarty.section.id.index}]' value='{$locale.m2f215}' class='button' /> 
     395                    <input type='hidden' name='m2f_id[{$smarty.section.id.index}]' value='{$forums[id].m2f_id}' /> 
     396                    {/if} 
     397                    <input type='hidden' name='m2f_forumid[{$smarty.section.id.index}]' value='{$forums[id].forum_id}' /> 
     398                </td> 
     399                <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
     400                    {if $forums[id].m2f_config}{$forums[id].m2f_sent}{else}0{/if} 
     401                </td> 
     402                <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 
     403                    {if $forums[id].m2f_config}{$forums[id].m2f_received}{else}0{/if} 
     404                </td> 
     405                <td align='left' width='1%' class='tbl1' style='white-space:nowrap'> 
     406                {if $forums[id].m2f_config} 
     407                    {if $forums[id].m2f_subscribe} 
     408                        <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> 
     409                    {else} 
     410                        <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> 
     411                    {/if} 
     412                    {if $forums[id].m2f_active} 
     413                        <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> 
     414                    {else} 
     415                        <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> 
     416                    {/if} 
     417                {/if} 
     418                {if $forums[id].m2f_subscribers > 0} 
     419                    <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> 
     420                {/if}  
     421                </td> 
     422            </tr> 
     423            {if $smarty.section.id.last} 
    129424            {/if} 
    130             {if $forums[id].m2f_active} 
    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> 
    132             {else} 
    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> 
    134             {/if} 
    135         {/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}  
    139         </td> 
    140     </tr> 
     425        {sectionelse} 
     426            <br /> 
     427            <center> 
     428            <b>{$locale.m2f952}</b> 
     429            </center> 
     430            <br /> 
     431        {/section} 
     432        </table> 
    141433    </form> 
    142     {if $smarty.section.id.last} 
    143     {/if} 
    144 {sectionelse} 
    145     <br /> 
    146     <center> 
    147     <b>{$locale.m2f952}</b> 
    148     </center> 
    149     <br /> 
    150 {/section} 
    151 </table> 
    152 {include file="_closetable.tpl"} 
     434    {include file="_closetable.tpl"} 
     435{/if} 
    153436{***************************************************************************} 
    154437{* End of template                                                         *} 
Note: See TracChangeset for help on using the changeset viewer.