root/dev/mods/fitting/settings.php @ 297

Revision 297, 0.7 KB (checked in by ralle030583, 15 years ago)

ADD fitting mod
ADD item name as tooltip on icons

Line 
1<?php
2require_once( "common/admin/admin_menu.php" );
3
4$page = new Page( "Settings - Fittings" );
5$page->setAdmin();
6$html .= "No settings to make yet.";
7
8if(!is_array(config::get('fitting_unwanted_types'))){
9//Array of item types we dont want added to the fitted items array.. ammo, scripts etc.
10// - need to find a better place for this.
11$fitting_unwanted_groups = array("",85,377,86,374,376,83,479,492,548,87,482,372,386,655,476,721,); 
12config::set('fitting_unwanted_types', implode(";",$fitting_unwanted_groups));
13$html .= "<p>Config option added. Nothing else needs doing<br/><br/>Greetings Knifee & Ralle030583</p>";
14}
15
16$page->setContent( $html );
17$page->addContext( $menubox->generate() );
18$page->generate();
19?>
Note: See TracBrowser for help on using the browser.