diff --git a/mojotrollz/api/char/charcreation_validator.php b/mojotrollz/api/char/charcreation_validator.php index 5a9ec92..08c5ebe 100644 --- a/mojotrollz/api/char/charcreation_validator.php +++ b/mojotrollz/api/char/charcreation_validator.php @@ -64,5 +64,9 @@ class charcreation_validator { public static function char_skill_tree($value){} public static function char_equip($value){} public static function char_guild($value){} - public static function char_spawn($value){} + public static function char_spawn($value){ + $data = \SYSTEM\SECURITY\Security::load(charcreation::MOJO_CC_SESSIONKEY); + $data['char_spawn'] = $value; + \SYSTEM\SECURITY\Security::save(charcreation::MOJO_CC_SESSIONKEY,$data); + } } \ No newline at end of file diff --git a/mojotrollz/api/char/qq/RACE_VISUALS_BY_ID.php b/mojotrollz/api/char/qq/RACE_VISUALS_BY_ID.php new file mode 100644 index 0000000..4d629fa --- /dev/null +++ b/mojotrollz/api/char/qq/RACE_VISUALS_BY_ID.php @@ -0,0 +1,12 @@ +
-
+
+
+ +
+
+ -
- \ No newline at end of file + +
\ No newline at end of file diff --git a/mojotrollz/page/wizard_register/wizard_register.php b/mojotrollz/page/wizard_register/wizard_register.php new file mode 100644 index 0000000..77012fe --- /dev/null +++ b/mojotrollz/page/wizard_register/wizard_register.php @@ -0,0 +1,18 @@ + -
- -
-
-

 ${spawn_info_title}

-

${spawn_info_text}

-
-
-
-
-
- -
-
- -
-
- -
-
- -
-
-
- - -
-
-   -
- - \ No newline at end of file diff --git a/mojotrollz/page/wizard_spawn/tpl/spawn.tpl b/mojotrollz/page/wizard_spawn/tpl/spawn.tpl new file mode 100644 index 0000000..ae9d5fa --- /dev/null +++ b/mojotrollz/page/wizard_spawn/tpl/spawn.tpl @@ -0,0 +1,41 @@ +
+
+ +
+
+

 ${spawn_info_title}

+
+
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/mojotrollz/page/wizard_spawn/wizard_spawn.php b/mojotrollz/page/wizard_spawn/wizard_spawn.php index b189927..5dd9c96 100644 --- a/mojotrollz/page/wizard_spawn/wizard_spawn.php +++ b/mojotrollz/page/wizard_spawn/wizard_spawn.php @@ -1,25 +1,20 @@ js(); - $vars['css'] = $this->css(); + $vars = array(); $vars['PICPATH'] = \SYSTEM\WEBPATH(new PPAGE(),'wizard_spawn/img/'); - $vars['CITYICONS'] = \SYSTEM\IMG\img::getURL('wow_city_icons'); - $vars['BG'] = \SYSTEM\IMG\img::getURL('backgrounds'); + $vars['WOW_CITY'] = \SYSTEM\FILES\files::getURL('city'); + $vars['BG'] = \SYSTEM\FILES\files::getURL('backgrounds'); $vars = array_merge($vars, \SYSTEM\locale::getStrings(DBD\locale_string::VALUE_CATEGORY_MAINPAGE)); - $vars = array_merge($vars, \SYSTEM\locale::getStrings(DBD\locale_string::VALUE_CATEGORY_WOW_INFOTEXT_HELP)); - return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'wizard_spawn/spawn.tpl'), $vars); + $vars = array_merge($vars, \SYSTEM\locale::getStrings(DBD\locale_string::VALUE_CATEGORY_WOW_INFOTEXT)); + return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'wizard_spawn/tpl/spawn.tpl'), $vars); } } diff --git a/mojotrollz/page/wizard_summ/wizard_summ.php b/mojotrollz/page/wizard_summ/wizard_summ.php deleted file mode 100644 index ffd43ba..0000000 --- a/mojotrollz/page/wizard_summ/wizard_summ.php +++ /dev/null @@ -1,19 +0,0 @@ -js(); - $vars['css'] = $this->css(); - return 'not implemented'; - } -} \ No newline at end of file diff --git a/mojotrollz/page/wizard_summary/tpl/summary.tpl b/mojotrollz/page/wizard_summary/tpl/summary.tpl new file mode 100644 index 0000000..74a80c7 --- /dev/null +++ b/mojotrollz/page/wizard_summary/tpl/summary.tpl @@ -0,0 +1,74 @@ +

Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OptionWertCheck
Name${char_name}${char_name_ok}
Gender${char_gender_ok}
Race${char_race_ok}
Class${char_class_ok}
Skin Color${char_skin_color}${char_skin_color_ok}
Hair${char_hair}${char_hair_ok}
Hair Color${char_hair_color}${char_hair_color_ok}
Face${char_face}${char_face_ok}
Facial Hair${char_facial_hair}${char_facial_hair_ok}
Facial Hair Color${char_facial_hair_color}${char_facial_hair_color_ok}
Skill Tree${char_skill_tree}${char_skill_tree_ok}
Guild${char_guild}${char_guild_ok}
Spawn${char_spawn}${char_spawn_ok}
+
\ No newline at end of file diff --git a/mojotrollz/page/wizard_summary/wizard_summary.php b/mojotrollz/page/wizard_summary/wizard_summary.php new file mode 100644 index 0000000..c2194fb --- /dev/null +++ b/mojotrollz/page/wizard_summary/wizard_summary.php @@ -0,0 +1,23 @@ + - - - + + + \ No newline at end of file diff --git a/mojotrollz/page/wizard_toolbar/wizard_toolbar.php b/mojotrollz/page/wizard_toolbar/wizard_toolbar.php index d6e34d8..730b80a 100644 --- a/mojotrollz/page/wizard_toolbar/wizard_toolbar.php +++ b/mojotrollz/page/wizard_toolbar/wizard_toolbar.php @@ -17,11 +17,13 @@ class wizard_toolbar extends SYSTEM\PAGE\Page { $vars = charcreation::data(NULL,false); $vars['char_class'] = player_classes::name($vars['char_class']); $vars['char_race'] = player_races::name($vars['char_race']); + $vars['char_spawn'] = player_spawns::name($vars['char_spawn']); $vars['last'] = $this->last; $vars['next'] = $this->next; $vars['WOWICONS'] = \SYSTEM\FILES\files::getURL('wowicons'); $vars['WOW_RACE'] = \SYSTEM\FILES\files::getURL('race'); $vars['WOW_CLASS'] = \SYSTEM\FILES\files::getURL('class'); + $vars['WOW_CITY'] = \SYSTEM\FILES\files::getURL('city'); return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'wizard_toolbar/tpl/wizard_toolbar.tpl'), $vars); } } \ No newline at end of file diff --git a/mojotrollz/page/wizard_visuals/js/wizard_visuals.js b/mojotrollz/page/wizard_visuals/js/wizard_visuals.js index b3a47cc..2fdebe5 100644 --- a/mojotrollz/page/wizard_visuals/js/wizard_visuals.js +++ b/mojotrollz/page/wizard_visuals/js/wizard_visuals.js @@ -1,6 +1,3 @@ -function init_wizard_visuals_toolbar(){ - wizard_toolbar();} - function init_wizard_visuals (){ $('#sel_0').change(function(){ sendInfo('{"char_skin_color" : "'+$(this).val()+'"}','wizard_visuals');});