Custom/UiEscapes

* so, apparently the client allows ui escape sequences in the weirdest of places. Guess i have to follow suit.
 * also, the sequences can be multiline
 * also also, the file extension for icons is optional
This commit is contained in:
Sarjuuk
2024-02-28 20:14:07 +01:00
parent 611d2c40bd
commit b125e55a4a
8 changed files with 46 additions and 42 deletions

View File

@@ -236,13 +236,17 @@ class AchievementPage extends GenericPage
['id', $this->typeId, '!']
);
$saList = new AchievementList($conditions);
$this->lvTabs[] = [AchievementList::$brickFile, array(
'data' => array_values($saList->getListviewData()),
'id' => 'see-also',
'name' => '$LANG.tab_seealso',
'visibleCols' => ['category']
)];
$this->extendGlobalData($saList->getJSGlobals());
if (!$saList->error)
{
$this->extendGlobalData($saList->getJSGlobals());
$this->lvTabs[] = [AchievementList::$brickFile, array(
'data' => array_values($saList->getListviewData()),
'id' => 'see-also',
'name' => '$LANG.tab_seealso',
'visibleCols' => ['category']
)];
}
// tab: criteria of
$refs = DB::Aowow()->SelectCol('SELECT refAchievementId FROM ?_achievementcriteria WHERE Type = ?d AND value1 = ?d',