From: Sam Reed Date: Sat, 10 Sep 2011 22:09:31 +0000 (+0000) Subject: Simplify some contexts X-Git-Tag: 1.31.0-rc.0~27743 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/message.php?a=commitdiff_plain;h=f77f9ebab86925fa579b0eacda58c59d59de6aaf;p=lhc%2Fweb%2Fwiklou.git Simplify some contexts --- diff --git a/skins/Simple.php b/skins/Simple.php index c0777d4c85..7a3e2cd5f9 100644 --- a/skins/Simple.php +++ b/skins/Simple.php @@ -33,12 +33,12 @@ class SkinSimple extends SkinTemplate { $rules = array(); $underline = ""; - if ( $this->getSkin()->getUser()->getOption( 'underline' ) < 2 ) { - $underline = "text-decoration: " . $this->getSkin()->getUser()->getOption( 'underline' ) ? 'underline !important' : 'none' . ";"; + if ( $this->getUser()->getOption( 'underline' ) < 2 ) { + $underline = "text-decoration: " . $this->getUser()->getOption( 'underline' ) ? 'underline !important' : 'none' . ";"; } /* Also inherits from resourceloader */ - if( !$this->getSkin()->getUser()->getOption( 'highlightbroken' ) ) { + if( !$this->getUser()->getOption( 'highlightbroken' ) ) { $rules[] = "a.new, a.stub { color: inherit; text-decoration: inherit;}"; $rules[] = "a.new:after { color: #CC2200; $underline;}"; $rules[] = "a.stub:after { $underline; }";