mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Guides/Fixups
* fix urls in user menu * strip anchors from tooltip title * prevent line breaks in description * make only in english info popup modular
This commit is contained in:
@@ -567,7 +567,7 @@ class GenericPage
|
||||
$this->infobox = $article['quickInfo'];
|
||||
|
||||
if ($article['locale'] != User::$localeId)
|
||||
$this->article['params']['prepend'] = '<div class="notice-box"><span class="icon-bubble">'.Lang::main('englishOnly').'</span></div>';
|
||||
$this->article['params']['prepend'] = '<div class="notice-box"><span class="icon-bubble">'.Lang::main('langOnly', [Lang::lang($article['locale'])]).'</span></div>';
|
||||
|
||||
if (method_exists($this, 'postArticle')) // e.g. update variables in article
|
||||
$this->postArticle();
|
||||
|
||||
Reference in New Issue
Block a user