'Поиск предметов', // The name to show 'path' => 'quicksearch', // Folder name again 'version' => '0.0.1', // Version 'author' => 'BadTwin', // Author 'contact' => 'http://www.eqdkp-plus.com', // email adress 'description' => 'Быстрый поиск предметов по игровым базам данных', // Detailed Description 'positions' => array('left1', 'left2', 'right'), // Which blocks should be usable? left1 (over menu), left2 (under menu), right, middle 'signedin' => '0', // 0 = all users, 1 = signed in only 'install' => array( 'autoenable' => '0', // 0 = disable on install , 1 = enable on install 'defaultposition' => 'left1',// see blocks above 'defaultnumber' => '4', // default ordering number ), ); /* Define the Settings name: The name of the Database field & Input name language: The name of the language string in the language file property: What type of field? (text,checkbox,dropdown,textarea) size: Size of the field if required (optional) rows: Rows for textarea, only needed there! help: Shows a "?" Icon after the Settings String wichs show on Mouseover a Help Tooltip with the "Help" String! options: If dropdown: array('value'=>'Name') codeinput: If true, html code is not striped out of the textarea. only working in textareas until now There could be unlimited amount of settings Settings page is created dynamically */ $portal_settings['quicksearch'] = array( 'pm_quicksearch_newwindow' => array( 'name' => 'pm_quicksearch_newwindow', 'language' => 'pm_qs_newwindow', 'property' => 'checkbox', ), ); if(!function_exists(quicksearch_module)){ function quicksearch_module(){ global $plang, $eqdkp_root_path, $eqdkp, $conf_plus; if ($eqdkp->config['default_game'] == 'WoW'){ $searchlist = ' '; } elseif ($eqdkp->config['default_game'] == 'Warhammer'){ $searchlist = ' '; } elseif ($eqdkp->config['default_game'] == 'Vanguard-SoH'){ $qs_not_supp .= $plang['pm_qs_not_supp']; } elseif ($eqdkp->config['default_game'] == 'TR'){ $qs_not_supp .= $plang['pm_qs_not_supp']; } elseif ($eqdkp->config['default_game'] == 'LOTRO'){ $searchlist = ' '; //glingorn http://glingorn.de/index.php?page=search_result&searchstring=w%C3%A4chter&select=armor //wrapper http://glingorn.de/index.php?page=search_result&searchstring=w%C3%A4chter } elseif ($eqdkp->config['default_game'] == 'Everquest2'){ $searchlist = ' '; } elseif ($eqdkp->config['default_game'] == 'RunesOfMagic'){ $searchlist = ''; } elseif ($eqdkp->config['default_game'] == 'Aion'){ $searchlist = ' '; } elseif ($eqdkp->config['default_game'] == 'Everquest'){ $qs_not_supp .= $plang['pm_qs_not_supp']; } elseif ($eqdkp->config['default_game'] == 'DAoC'){ $qs_not_supp .= $plang['pm_qs_not_supp']; } elseif ($eqdkp->config['default_game'] == 'AoC'){ $qs_not_supp .= $plang['pm_qs_not_supp']; } else { $qs_not_supp .= $plang['pm_qs_not_supp']; } if ($qs_not_supp != ''){ return $qs_not_supp; } if ($conf_plus['pm_quicksearch_newwindow'] != 1){ $quicksearch .= '
'; return $quicksearch; } } ?>