Changeset 157 for dev/common/admin.php

Show
Ignore:
Timestamp:
12/16/06 03:19:06 (14 years ago)
Author:
exi
Message:

Added option to show a link to the pod killmail instead of a pod picture on the battle summary.
Battle summaries will now be sorted by shippoints, shipname, pilotname.
Added option to disable mailposting without having to change the password.
Fixed a typo on the standingslist.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/admin.php

    r154 r157  
    3535    $config->checkCheckbox('adapt_items'); 
    3636    $config->checkCheckbox('show_standing'); 
     37    $config->checkCheckbox('bs_podlink'); 
     38    $config->checkCheckbox('post_forbid'); 
    3739 
    3840    if ($config->checkCheckbox('comments')) 
     
    164166} 
    165167$html .= "></td></tr>"; 
     168$html .= "<tr><td width=120><b>Display a link instead of POD on Battlesummary:</b></td><td><input type=checkbox name=bs_podlink id=bs_podlink"; 
     169if ($config->getConfig('bs_podlink')) 
     170{ 
     171    $html .= " checked=\"checked\""; 
     172} 
     173$html .= "></td></tr>"; 
    166174// $html .= "<tr><td width=120><b>Display least active:</b></td><td><input type=checkbox name=least_active id=least_active"; 
    167175// if ( $config->getLeastActive() ) 
     
    177185$html .= "<tr><td width=120><b>Mailhost:</b></td><td><input type=text name=post_mailhost id=post_mailhost size=20 maxlength=80 value=\"".$config->getConfig('mail_host')."\"></td></tr>"; 
    178186$html .= "<tr><td width=120><b>Disallow any killmails before:</b></td><td>".dateSelector($config->getConfig('filter_apply'), $config->getConfig('filter_date'))."</td></tr>"; 
     187$html .= "<tr><td width=120><b>Forbid posting</b></td><td><input type=checkbox name=post_forbid id=post_forbid"; 
     188if ($config->getConfig('post_forbid')) 
     189{ 
     190    $html .= " checked=\"checked\""; 
     191} 
     192$html .= "> (Checking this option disables mailposting)</td></tr>"; 
    179193$html .= "<tr><td width=120><b>Enable auto-addition of unknown Items:</b></td><td><input type=checkbox name=adapt_items id=adapt_items"; 
    180194if ($config->getConfig('adapt_items'))