|
From: <de...@de...> - 2009-02-25 07:40:13
|
Author: SopanShewale Date: 2009-02-25 01:40:09 -0600 (Wed, 25 Feb 2009) New Revision: 17849 Trac url: http://develop.twiki.org/trac/changeset/17849 Modified: twiki/branches/TWikiRelease04x03/data/TWiki/TWikiPreferences.txt twiki/branches/TWikiRelease04x03/lib/TWiki/Render.pm twiki/branches/TWikiRelease04x03/twikiplugins/PatternSkin/pub/TWiki/PatternSkin/colors.css twiki/branches/TWikiRelease04x03/twikiplugins/PatternSkin/pub/TWiki/PatternSkin/style.css Log: Item6189: Feature Proposal: Remove question mark links Modified: twiki/branches/TWikiRelease04x03/data/TWiki/TWikiPreferences.txt =================================================================== --- twiki/branches/TWikiRelease04x03/data/TWiki/TWikiPreferences.txt 2009-02-24 14:40:01 UTC (rev 17848) +++ twiki/branches/TWikiRelease04x03/data/TWiki/TWikiPreferences.txt 2009-02-25 07:40:09 UTC (rev 17849) @@ -311,7 +311,7 @@ * Format of a NewWikiWord link: * Note that =$text= is the topic link text, =$topic= is the name of the new topic, and =$web= is the name of the web for the new topic. Values for the 3 are taken from the link syntax =[<nop>[$web.$topic][$text]]=. For normal plain !WikiWord links =$text= and =$topic= are the same. The value of =$web= is the current web unless the link is in the format =$web.$topic=. * default setting: - * Set NEWLINKFORMAT = <span class="twikiNewLink">$text<a href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">?</a></span> + * Set NEWLINKFORMAT = <span class="twikiNewLink"><a href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%" rel="nofollow" title="%MAKETEXT{"$text (this topic does not yet exist; you can create it)"}%">$text</a></span> * alternative setting: * #Set NEWLINKFORMAT = <a class="twikiNewLink" href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">$text</a> Modified: twiki/branches/TWikiRelease04x03/lib/TWiki/Render.pm =================================================================== --- twiki/branches/TWikiRelease04x03/lib/TWiki/Render.pm 2009-02-24 14:40:01 UTC (rev 17848) +++ twiki/branches/TWikiRelease04x03/lib/TWiki/Render.pm 2009-02-25 07:40:09 UTC (rev 17849) @@ -88,8 +88,8 @@ unless( $this->{NEWLINKFORMAT} ) { $this->{NEWLINKFORMAT} = $this->{session}->{prefs}->getPreferencesValue('NEWLINKFORMAT') - || '<span class="twikiNewLink">$text<a href="%SCRIPTURLPATH{edit}%/$web/$topic?topicparent=%WEB%.%TOPIC%" '. - 'rel="nofollow" title="%MAKETEXT{"Create this topic"}%">'. + || '<span class="twikiNewLink"><a href="%SCRIPTURLPATH{edit}%/$web/$topic?topicparent=%WEB%.%TOPIC%" '. + 'rel="nofollow" title="%MAKETEXT{"$text (this topic does not yet exist; you can create it)"}%">'. '?</a></span>'; } return $this->{NEWLINKFORMAT}; Modified: twiki/branches/TWikiRelease04x03/twikiplugins/PatternSkin/pub/TWiki/PatternSkin/colors.css =================================================================== --- twiki/branches/TWikiRelease04x03/twikiplugins/PatternSkin/pub/TWiki/PatternSkin/colors.css 2009-02-24 14:40:01 UTC (rev 17848) +++ twiki/branches/TWikiRelease04x03/twikiplugins/PatternSkin/pub/TWiki/PatternSkin/colors.css 2009-02-25 07:40:09 UTC (rev 17849) @@ -64,6 +64,8 @@ border-color:#e2e2e2; } /* to override old Render.pm coded font color style */ + +/* .twikiNewLink font { color:inherit; } @@ -80,6 +82,9 @@ .twikiNewLink { border-color:#ddd; } + +*/ + :link:focus, :visited:focus, :link, @@ -99,12 +104,67 @@ :visited:hover img { background-color:transparent; } + +.patternTopic a:link { + text-decoration:none; + border-color:#4571d0; border-style:none none dotted none; border-width:1px; + color:#4571d0; +} + .patternTopic a:visited { - color:#666; + text-decoration:none; + border-color:#58438b; border-style:none none dotted none; border-width:1px; + color:#58438b; } + +.patternTopic a:active { + text-decoration:none; + border-color:#4571d0; border-style:none none dotted none; border-width:1px; + color:#4571d0; +} .patternTopic a:hover { - color:#fff; + text-decoration:none; + border-color:#4571d0; border-style:none none solid none; border-width:1px; + color:#4571d0; + background-color:#d5e2ff; } +.patternTopic a:visited:hover { + text-decoration:none; + border-color:#58438b; border-style:none none solid none; border-width:1px; + color:#58438b; + background-color:#e6dbff; +} + +.twikiNewLink a:link { + text-decoration:none; + border-color:#b7351e; + border-style:none none dotted none; + border-width:1px; + color:#b7351e; +} +.twikiNewLink a:visited { + text-decoration:none; + border-color:#b7351e; + border-style:none none dotted none; + border-width:1px; + color:#b7351e; +} +.twikiNewLink a:active { + text-decoration:none; + border-color:#b7351e; + border-style:none none dotted none; + border-width:1px; + color:#b7351e; +} +.twikiNewLink a:hover { + text-decoration:none; + border-color:#b7351e; + border-style:none none solid none; + border-width:1px; + color:#b7351e; + background-color:#ffded8; +} + #patternMainContents h1 a:link, #patternMainContents h1 a:visited, #patternMainContents h2 a:link, #patternMainContents h2 a:visited, #patternMainContents h3 a:link, #patternMainContents h3 a:visited, Modified: twiki/branches/TWikiRelease04x03/twikiplugins/PatternSkin/pub/TWiki/PatternSkin/style.css =================================================================== --- twiki/branches/TWikiRelease04x03/twikiplugins/PatternSkin/pub/TWiki/PatternSkin/style.css 2009-02-24 14:40:01 UTC (rev 17848) +++ twiki/branches/TWikiRelease04x03/twikiplugins/PatternSkin/pub/TWiki/PatternSkin/style.css 2009-02-25 07:40:09 UTC (rev 17849) @@ -107,6 +107,7 @@ } /* Links */ /* somehow the twikiNewLink style have to be before the general link styles */ +/* .twikiNewLink { border-width:0 0 1px 0; border-style:solid; @@ -132,6 +133,8 @@ text-decoration:none; } +*/ + :link:focus, :visited:focus, :link, @@ -1078,4 +1081,4 @@ } .twikiDiffLineNumberHeader { padding:.3em 0; -} \ No newline at end of file +} |