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%;
|
||||
}
|
||||
|
||||
.random-enchantments span{
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
h1.h1-icon {
|
||||
padding-top: 5px !important;
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ foreach ($this->criteria['data'] as $i => $cr):
|
||||
echo '<ul><li><var> </var></li></ul>';
|
||||
endif;
|
||||
|
||||
echo '</th><td>';
|
||||
echo '</th><td><span class="tip" title="ID'.Lang::main('colon').$cr['id'].'">';
|
||||
|
||||
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>';
|
||||
@@ -51,11 +51,7 @@ foreach ($this->criteria['data'] as $i => $cr):
|
||||
echo ' '.$cr['extraText'];
|
||||
endif;
|
||||
|
||||
if (User::isInGroup(U_GROUP_STAFF)):
|
||||
echo ' <small title="'.Lang::achievement('criteriaType').' '.$cr['type'].'" class="q0">['.$cr['id'].']</small>';
|
||||
endif;
|
||||
|
||||
echo '</td></tr>';
|
||||
echo '</span></td></tr>';
|
||||
|
||||
// every odd number of elements
|
||||
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>';
|
||||
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>';
|
||||
endif;
|
||||
endforeach;
|
||||
@@ -68,7 +68,7 @@ if (!empty($this->subItems)):
|
||||
$eText[] = '<a style="text-decoration:none; color:#CCCCCC;" href="?enchantment='.$eId.'">'.$txt.'</a>';
|
||||
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>';
|
||||
endif;
|
||||
endforeach;
|
||||
|
||||
Reference in New Issue
Block a user