wowhead charrendering for visuals
This commit is contained in:
parent
c8f6e71a90
commit
b47e2c1d69
@ -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=';
|
||||
|
||||
@ -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}&modelType=16&contentPath=http://static.wowhead.com/modelviewer/&blur=1&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"/> Info</h3>
|
||||
<div id="info_content">${infotext_default}</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user