wowhead charrendering for visuals

This commit is contained in:
Ulf Gebhardt 2014-06-24 00:14:03 +02:00
parent c8f6e71a90
commit b47e2c1d69
2 changed files with 11 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class wizard_visuals extends SYSTEM\PAGE\Page {
}
public function html(){
$vars = array();
$vars = json_decode(charcreation::data(),true)['result'];
$vars['js'] = $this->js();
$vars['css'] = $this->css();
$vars['WOWICONS'] = \SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL).'api.php?call=files&cat=wowicons&id=';

View File

@ -1,3 +1,13 @@
<div style="float:left;">
<object data="http://static.wowhead.com/modelviewer/ModelView.swf" width="290px" height="400px" type="application/x-shockwave-flash">
<param value="high" name="quality" />
<param value="transparent" name="wmode" />
<param value="always" name="allowsscriptaccess" />
<param value="false" name="menu" />
<param name="flashvars" value="model=${char_race}${char_gender}&amp;modelType=16&amp;contentPath=http://static.wowhead.com/modelviewer/&amp;blur=1&amp;equipList=1,1117" />
<param movie="http://static.wowhead.com/modelviewer/modelviewer_scale.swf?4" />
</object>
</div>
<div class="lifecraft link-color" id="details_info" style="float: left; margin-top: 15px; width: 190px; height: 300px; overflow-y: hidden; padding: 8px; font-size: 14px;">
<h3><img src="${WOWICONS}help_questionmark.png" width="25px"/>&nbsp;&nbsp;Info</h3>
<div id="info_content">${infotext_default}</div>