- \n".
- "\n".
+ "\n".
"".HOST_URL.'?go-to-comment&id='.$row['id']."\n".
- "\n". // todo (low): preview should be html-formated
+ "\n". // todo (low): preview should be html-formated
"".date(DATE_RSS, time() - $row['elapsed'])."\n".
"".HOST_URL.'?go-to-comment&id='.$row['id']."\n".
"\n".
diff --git a/template/pages/achievement.tpl.php b/template/pages/achievement.tpl.php
index 5672451b..360a132d 100644
--- a/template/pages/achievement.tpl.php
+++ b/template/pages/achievement.tpl.php
@@ -44,7 +44,7 @@ foreach ($this->criteria['data'] as $i => $cr):
endif;
if (!empty($l['count']) && $l['count'] > 1):
- echo ' ('.$l['count'].')';
+ echo ' ('.$l['count'].')';
endif;
if (isset($cr['extraText'])):
diff --git a/template/pages/home.tpl.php b/template/pages/home.tpl.php
index 3c932bfe..e0a1fe13 100644
--- a/template/pages/home.tpl.php
+++ b/template/pages/home.tpl.php
@@ -13,7 +13,7 @@
brick('announcement'); ?>
-
diff --git a/template/pages/npc.tpl.php b/template/pages/npc.tpl.php
index 32653958..44ab106a 100644
--- a/template/pages/npc.tpl.php
+++ b/template/pages/npc.tpl.php
@@ -47,7 +47,7 @@ endif;
if ($this->quotes[0]):
?>
-
+
quotes[0] as $group):
@@ -92,7 +92,7 @@ if ($this->reputation):
foreach ($set[1] as $itr):
echo ''.$itr['qty'].' '.Lang::$npc['repWith'] .
- '
'.$itr['name'].''.($itr['cap'] && $itr['qty'] > 0 ? ' ('.sprintf(Lang::$npc['stopsAt'], $itr['cap']).')' : null).'
';
+ ' '.$itr['name'].''.($itr['cap'] && $itr['qty'] > 0 ? ' ('.sprintf(Lang::$npc['stopsAt'], $itr['cap']).')' : null).'
';
endforeach;
echo '';
diff --git a/template/pages/spell.tpl.php b/template/pages/spell.tpl.php
index f8413e6c..f24bff65 100644
--- a/template/pages/spell.tpl.php
+++ b/template/pages/spell.tpl.php
@@ -21,7 +21,7 @@
brick('tooltip');
-if ($this->reagents[0]):
+if ($this->reagents[1]):
if ($this->tools):
echo " \n";
endif;
@@ -30,9 +30,7 @@ if ($this->reagents[0]):
if ($this->tools):
echo "
\n";
- endif;
- if ($this->tools):
if ($this->reagents[0]):
echo " \n";
endif;
@@ -132,7 +130,8 @@ if !empty($transfer)}
gcd; ?> |
scaling) != [-1, -1, 0, 0]): // not default values
+// not default values
+if (!in_array(array_values($this->scaling), [[-1, -1, 0, 0], [0, 0, 0, 0]])):
?>
|
@@ -190,7 +189,10 @@ foreach ($this->effects as $i => $e):
endif;
if ($e['procData'][1]):
- echo sprintf(Lang::$spell['cooldown'], $e['procData'][1]);
+ if ($e['procData'][0] < 100.0):
+ echo '
';
+ endif;
+ echo sprintf(Lang::$game['cooldown'], $e['procData'][1]);
endif;
endif;