Permalink
Browse files

fixes #15 - inventory stat is now movement, still using old icon

  • Loading branch information...
1 parent b544f0c commit c5071dd4990fd09b95a8237e656cd33ca6b1fdfb @DreadKnight DreadKnight committed Apr 11, 2012
View
@@ -53,7 +53,7 @@
echo "<div class=\"section\" style=\"border: 0px; background:url('" . $WorkingDir . "creatures/$ab_id/artwork.jpg'); width:400px; height:400px;\"><img src=\"AB.png\" style=\"position:relative; top:365px; left:180px;\"></div>";
echo "<div class='section' style='text-align: center; width: 390px; padding: 5px 0px;'>" . $row["description"] . "</div>";
} mysql_free_result($result);
-echo "</th><th class='card'><table class='section'><tr class='numbers'><th>" . HEALTH_ICON . "</th><th>" . REGROWTH_ICON . "</th><th>" . FATIGUE_ICON . "</th><th>" . ENERGY_ICON . "</th><th>" . MEDITATION_ICON . "</th><th>" . DELAY_ICON . "</th><th>" . OFFENSE_ICON . "</th><th>" . DEFENSE_ICON . "</th><th>" . INVENTORY_ICON . "</th></tr><tr class='numbers'>";
+echo "</th><th class='card'><table class='section'><tr class='numbers'><th>" . HEALTH_ICON . "</th><th>" . REGROWTH_ICON . "</th><th>" . FATIGUE_ICON . "</th><th>" . ENERGY_ICON . "</th><th>" . MEDITATION_ICON . "</th><th>" . DELAY_ICON . "</th><th>" . OFFENSE_ICON . "</th><th>" . DEFENSE_ICON . "</th><th>" . MOVEMENT_ICON . "</th></tr><tr class='numbers'>";
$result = mysql_query($ab_stats);
while ($row = mysql_fetch_assoc($result)) {
foreach ($row as $key => $x) {
View
@@ -3,9 +3,9 @@
require_once("../config.php");
require_once("../ico/script.php");
?>
-<script type="application/javascript" src="<?php echo $WorkingDir; ?>utils/tinybox.js"></script>
+<script type="text/javascript" src="<?php echo $WorkingDir; ?>utils/tinybox.js"></script>
<!--show details of the linked item-->
-<script type="application/javascript">
+<script type="text/javascript">
var basePage = window.location.href.replace( /#.*/, "");
function showId(id) {
TINY.box.show({url:'details.php',post:'id='+id,width:880,height:650,topsplit:2,close:true,callback:function(b){
View
@@ -1,5 +1,5 @@
<?php
-$icons = array('health','regrowth','fatigue','energy','meditation','delay','offense','defense','inventory','pierce','slash','crush','shock','burn','frost','poison','mental','sonic');
+$icons = array('health','regrowth','fatigue','energy','meditation','delay','offense','defense','movement','pierce','slash','crush','shock','burn','frost','poison','mental','sonic');
foreach ($icons as $x)
define(strtoupper($x) . '_ICON', '<img src="../ico/'.$x.'.png" title="' . ucfirst($x) . '" onMouseOver="swap(this,\'mouseover_' . $x . '\')" onMouseOut="swap(this,\'normal_' . $x . '\')">'."\n");
File renamed without changes
File renamed without changes
View
@@ -3,7 +3,7 @@
?>
<!--roll over image script-->
-<script type="application/javascript">
+<script type="text/javascript">
var icons = new Array("<?php echo implode($icons, "\", \""); ?>");
for(var x in icons) {
window["normal_" + icons[x]] = '../ico/' + icons[x] + '.png';
View
@@ -18,7 +18,7 @@
echo "<th>" . DELAY_ICON . "</th>";
echo "<th>" . OFFENSE_ICON . "</th>";
echo "<th>" . DEFENSE_ICON . "</th>";
-echo "<th>" . INVENTORY_ICON . "</th>";
+echo "<th>" . MOVEMENT_ICON . "</th>";
echo "</tr></table>";
echo $separator;
?>
View
@@ -16,9 +16,9 @@
echo $start_div;
require_once("filters.php");
?>
-<script type="application/javascript" src="<?php echo $WorkingDir; ?>utils/tinybox.js"></script>
+<script type="text/javascript" src="<?php echo $WorkingDir; ?>utils/tinybox.js"></script>
<!--show details of the linked item-->
-<script type="application/javascript">
+<script type="text/javascript">
var basePage = window.location.href.replace( /#.*/, "");
function showId(id) {
TINY.box.show({url:'details.php',post:'id='+id,width:500,height:180,topsplit:4,close:true,mask:false,callback:function(b){

0 comments on commit c5071dd

Please sign in to comment.