ability to open old posts without UUID
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Name: Link
|
||||
* Description: Using short links on whole hub
|
||||
* Version: 0.92
|
||||
* Version: 0.94
|
||||
* Author: ivan zlax <@zlax@ussr.win>
|
||||
* Maintainer: ivan zlax <@zlax@ussr.win>
|
||||
*/
|
||||
@@ -59,7 +59,7 @@ function dropdown_link(&$extras) {
|
||||
}
|
||||
|
||||
function hideasides_header(&$b) {
|
||||
if (isset($_GET['link_hideasides'])) {
|
||||
if (get_config('link','hideasides') && isset($_SERVER['REQUEST_URI']) && str_contains($_SERVER['REQUEST_URI'], '/link/')) {
|
||||
$addScriptTag = "<style>#region_1 { display: none !important; } #region_3 { display: none !important; }</style>\r\n";
|
||||
\App::$page['htmlhead'] .= $addScriptTag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user