From: Christopher Kings-L. <ch...@us...> - 2005-05-13 01:36:49
|
Update of /cvsroot/planeshift/SC/spells/php In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23268/php Modified Files: spells.php Log Message: Make spell realm a drop-down list to avoid mistakes Index: spells.php =================================================================== RCS file: /cvsroot/planeshift/SC/spells/php/spells.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** spells.php 12 May 2005 04:56:41 -0000 1.7 --- spells.php 13 May 2005 01:36:41 -0000 1.8 *************** *** 75,78 **** --- 75,79 ---- $vars['ID_DBL'] = "onFocus='blur();'"; $vars['WAY_ID_SELECT'] = $myForm->createSelectBox("way_id", array("id", "name"), "id", array("name"), $vars['way_id'], array("name"), "ways"); + $vars['REALM_SELECT'] = $myForm->createSelectFromNumbers("realm", $vars['realm'], 1, 11); $vars['CSTR_NPC_SPELL_CATEGORY_SELECT'] = $myForm->createSelectBox("cstr_npc_spell_category", array("id", "string"), "id", array("string"), $vars['cstr_npc_spell_category'], array("string"), "common_strings"); $vars['PROGRESSION_EVENT_SELECT'] = $myForm->createSelectBox("progression_event", array("name"), "name", array("name"), $vars['progression_event'], array("name"), "progression_events"); *************** *** 262,265 **** --- 263,267 ---- $vars['ID_DBL'] = "onFocus='blur();'"; $vars['WAY_ID_SELECT'] = $myForm->createSelectBox("way_id", array("id", "name"), "id", array("name"), $vars['way_id'], array("name"), "ways"); + $vars['REALM_SELECT'] = $myForm->createSelectFromNumbers("realm", $vars['realm'], 1, 11); $vars['CSTR_NPC_SPELL_CATEGORY_SELECT'] = $myForm->createSelectBox("cstr_npc_spell_category", array("id", "string"), "id", array("string"), $vars['cstr_npc_spell_category'], array("string"), "common_strings"); $vars['PROGRESSION_EVENT_SELECT'] = $myForm->createSelectBox("progression_event", array("name"), "name", array("name"), $vars['progression_event'], array("name"), "progression_events"); |