forked from leftypol/leftypol
Fix mod_view_board for ukko / overboard theme / extension. Add support for boards_alias to mod_view_board and initial preliminary support to markup for crossboard citations
This commit is contained in:
parent
afd749415b
commit
b68e749876
2 changed files with 14 additions and 0 deletions
|
@ -2073,7 +2073,14 @@ function markup(&$body, $track_cites = false, $op = false) {
|
|||
|
||||
if ($board['uri'] != $_board) {
|
||||
if (!openBoard($_board))
|
||||
{
|
||||
if (in_array($_board,array_keys($config['boards_alias']))){
|
||||
$_board = $config['boards_alias'][$_board];
|
||||
openBoard($_board);
|
||||
}
|
||||
|
||||
continue; // Unknown board
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($clauses)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue