From c47c81b810b638676f3d85572e1253892599cab8 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 8 Feb 2018 09:29:42 -0800 Subject: [PATCH] title is translated, so we can't use it to determine which page we are on, so use view --- web/skins/classic/includes/functions.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/web/skins/classic/includes/functions.php b/web/skins/classic/includes/functions.php index c788bb039..861a838b3 100644 --- a/web/skins/classic/includes/functions.php +++ b/web/skins/classic/includes/functions.php @@ -22,6 +22,7 @@ function xhtmlHeaders( $file, $title ) { global $css; global $skin; + global $view; # This idea is that we always include the classic css files, # and then any different skin only needs to contain things that are different. @@ -41,7 +42,7 @@ function xhtmlHeaders( $file, $title ) { extract( $GLOBALS, EXTR_OVERWRITE ); function output_link_if_exists( $files ) { - global $skin; + global $skin; $html = array(); foreach ( $files as $file ) { if ( getSkinFile( $file ) ) { @@ -132,7 +133,7 @@ echo output_link_if_exists( array( ?> @@ -140,7 +141,11 @@ echo output_link_if_exists( array( + +