mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Achievements:
* display criterium-Ids for everyone on detail page * unified display with subitems on item detail page
This commit is contained in:
@@ -171,10 +171,6 @@ h5 a.icontiny span { text-decoration:none !important; }
|
|||||||
width: 47%;
|
width: 47%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.random-enchantments span{
|
|
||||||
cursor: help;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1.h1-icon {
|
h1.h1-icon {
|
||||||
padding-top: 5px !important;
|
padding-top: 5px !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ foreach ($this->criteria['data'] as $i => $cr):
|
|||||||
echo '<ul><li><var> </var></li></ul>';
|
echo '<ul><li><var> </var></li></ul>';
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
echo '</th><td>';
|
echo '</th><td><span class="tip" title="ID'.Lang::main('colon').$cr['id'].'">';
|
||||||
|
|
||||||
if (!empty($cr['link'])):
|
if (!empty($cr['link'])):
|
||||||
echo '<a href="'.$cr['link']['href'].'"'.(isset($cr['link']['quality']) ? ' class="q'.$cr['link']['quality'].'"' : null).'>'.Util::htmlEscape($cr['link']['text']).'</a>';
|
echo '<a href="'.$cr['link']['href'].'"'.(isset($cr['link']['quality']) ? ' class="q'.$cr['link']['quality'].'"' : null).'>'.Util::htmlEscape($cr['link']['text']).'</a>';
|
||||||
@@ -51,11 +51,7 @@ foreach ($this->criteria['data'] as $i => $cr):
|
|||||||
echo ' '.$cr['extraText'];
|
echo ' '.$cr['extraText'];
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
if (User::isInGroup(U_GROUP_STAFF)):
|
echo '</span></td></tr>';
|
||||||
echo ' <small title="'.Lang::achievement('criteriaType').' '.$cr['type'].'" class="q0">['.$cr['id'].']</small>';
|
|
||||||
endif;
|
|
||||||
|
|
||||||
echo '</td></tr>';
|
|
||||||
|
|
||||||
// every odd number of elements
|
// every odd number of elements
|
||||||
if ($i + 1 == round(count($this->criteria['data']) / 2)):
|
if ($i + 1 == round(count($this->criteria['data']) / 2)):
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ if (!empty($this->subItems)):
|
|||||||
$eText[] = '<a style="text-decoration:none; color:#CCCCCC;" href="?enchantment='.$eId.'">'.$txt.'</a>';
|
$eText[] = '<a style="text-decoration:none; color:#CCCCCC;" href="?enchantment='.$eId.'">'.$txt.'</a>';
|
||||||
endforeach;
|
endforeach;
|
||||||
|
|
||||||
echo ' <li><div><span title="ID'.Lang::main('colon').$this->subItems['randIds'][$k].'" class="q'.$this->subItems['quality'].'">...'.$i['name'].'</span>';
|
echo ' <li><div><span title="ID'.Lang::main('colon').$this->subItems['randIds'][$k].'" class="tip q'.$this->subItems['quality'].'">...'.$i['name'].'</span>';
|
||||||
echo ' <small class="q0">'.sprintf(Lang::item('_chance'), $i['chance']).'</small><br />'.implode(', ', $eText).'</div></li>';
|
echo ' <small class="q0">'.sprintf(Lang::item('_chance'), $i['chance']).'</small><br />'.implode(', ', $eText).'</div></li>';
|
||||||
endif;
|
endif;
|
||||||
endforeach;
|
endforeach;
|
||||||
@@ -68,7 +68,7 @@ if (!empty($this->subItems)):
|
|||||||
$eText[] = '<a style="text-decoration:none; color:#CCCCCC;" href="?enchantment='.$eId.'">'.$txt.'</a>';
|
$eText[] = '<a style="text-decoration:none; color:#CCCCCC;" href="?enchantment='.$eId.'">'.$txt.'</a>';
|
||||||
endforeach;
|
endforeach;
|
||||||
|
|
||||||
echo ' <li><div><span title="ID'.Lang::main('colon').$this->subItems['randIds'][$k].'" class="q'.$this->subItems['quality'].'">...'.$i['name'].'</span>';
|
echo ' <li><div><span title="ID'.Lang::main('colon').$this->subItems['randIds'][$k].'" class="tip q'.$this->subItems['quality'].'">...'.$i['name'].'</span>';
|
||||||
echo ' <small class="q0">'.sprintf(Lang::item('_chance'), $i['chance']).'</small><br />'.implode(', ', $eText).'</div></li>';
|
echo ' <small class="q0">'.sprintf(Lang::item('_chance'), $i['chance']).'</small><br />'.implode(', ', $eText).'</div></li>';
|
||||||
endif;
|
endif;
|
||||||
endforeach;
|
endforeach;
|
||||||
|
|||||||
Reference in New Issue
Block a user