Ignore:
Timestamp:
08/19/08 11:02:58 (4 years ago)
Author:
hverton
Message:

added a new forum setting to limit forum message visibility for guests to a set number of days. Older threads will not be accessable. This may encourage visitors to become a member

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/templates/admin.settings_forum.tpl

    r1639 r1654  
    8282                <select name='unread_threshold' class='textbox'> 
    8383                {section name=days start=0 loop=361 step=30} 
    84                 <option value='{$smarty.section.days.index}' {if $smarty.section.days.index == $settings2.unread_threshold|default:0}selected='selected'{/if}>{if $smarty.section.days.index == 0}{$locale.714}{else}{$smarty.section.days.index} {$locale.518}{/if}</option> 
     84                <option value='{$smarty.section.days.index}' {if $smarty.section.days.index == $settings2.unread_threshold|default:0}selected='selected'{/if}>{if $smarty.section.days.index == 0}{$locale.544}{else}{$smarty.section.days.index} {$locale.518}{/if}</option> 
    8585                {/section} 
    8686                </select> 
     
    108108                {section name=hours start=1 loop=25} 
    109109                <option value='{$smarty.section.hours.index}' {if $settings2.forum_edit_timeout == $smarty.section.hours.index}selected='selected'{/if}>{$smarty.section.hours.index} {if $smarty.section.hours.index == 1}{$locale.535}{else}{$locale.536}{/if}</option> 
     110                {/section} 
     111                </select> 
     112            </td> 
     113        </tr> 
     114        <tr> 
     115            <td width='60%' class='tbl'> 
     116                {$locale.543} 
     117            </td> 
     118            <td width='40%' class='tbl'> 
     119                <select name='forum_guest_limit' class='textbox'> 
     120                <option value='0' {if $settings2.forum_guest_limit}selected='selected'{/if}>{$locale.544}</option> 
     121                {section name=days start=1 loop=91} 
     122                <option value='{$smarty.section.days.index}' {if $settings2.forum_guest_limit == $smarty.section.days.index}selected='selected'{/if}>{$smarty.section.days.index} {if $smarty.section.days.index == 1}{$locale.527}{else}{$locale.518}{/if}</option> 
    110123                {/section} 
    111124                </select> 
Note: See TracChangeset for help on using the changeset viewer.