From 66b2b5920dc5b02178d4b6caf8cafeabcc7d16b2 Mon Sep 17 00:00:00 2001 From: Seth Meranda <smeranda2@unl.edu> Date: Thu, 30 Sep 2010 21:53:54 +0000 Subject: [PATCH] can't use $vars in supporting CSS, so put in an override. --- plugins/unl_theme/css/actionNotice.php | 1 - plugins/unl_theme/views/default/css.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/unl_theme/css/actionNotice.php b/plugins/unl_theme/css/actionNotice.php index dc6a127f..320a66d0 100644 --- a/plugins/unl_theme/css/actionNotice.php +++ b/plugins/unl_theme/css/actionNotice.php @@ -89,7 +89,6 @@ Action Notice Box and Login Colorbox displayed to help users either register or float:left; height:94px; width:58px; - background:url('<?php echo $vars['url']; ?>/mod/unl_theme/views/default/images/loginTabSlider.png') no-repeat; background-position: 0 0; } #actionBar #elggOption .optionMessage{ diff --git a/plugins/unl_theme/views/default/css.php b/plugins/unl_theme/views/default/css.php index 1348ff66..2b1700fa 100644 --- a/plugins/unl_theme/views/default/css.php +++ b/plugins/unl_theme/views/default/css.php @@ -18,6 +18,7 @@ //Any elements which appear differently (or only for) non-logged in users should be imported here. if (!isloggedin()) { echo "@import url('".$vars['url']."mod/unl_theme/css/actionNotice.php');"; + echo "#actionBar #elggOption > a.switchAction {background:url('".$vars['url']."mod/unl_theme/views/default/images/loginTabSlider.png') no-repeat;"; } ?> -- GitLab