Author: SopanShewale Date: 2009-02-24 08:26:16 -0600 (Tue, 24 Feb 2009) New Revision: 17847 Trac url: http://develop.twiki.org/trac/changeset/17847 Modified: twiki/branches/TWikiRelease04x02/data/TWiki/TWikiPreferences.txt twiki/branches/TWikiRelease04x02/lib/TWiki/Render.pm twiki/branches/TWikiRelease04x02/pub/TWiki/TWikiTemplates/default.css twiki/branches/TWikiRelease04x02/twikiplugins/PatternSkin/pub/TWiki/PatternSkin/colors.css Log: Item6189: Feature Proposal: Remove question mark links, Reverting this change, creating bracnh for 4.3 release, this code will be added in 4.3 release branch Modified: twiki/branches/TWikiRelease04x02/data/TWiki/TWikiPreferences.txt =================================================================== --- twiki/branches/TWikiRelease04x02/data/TWiki/TWikiPreferences.txt 2009-02-24 00:35:58 UTC (rev 17846) +++ twiki/branches/TWikiRelease04x02/data/TWiki/TWikiPreferences.txt 2009-02-24 14:26:16 UTC (rev 17847) @@ -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"><a href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">$text</a></span> + * Set NEWLINKFORMAT = <span class="twikiNewLink">$text<a href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">?</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/TWikiRelease04x02/lib/TWiki/Render.pm =================================================================== --- twiki/branches/TWikiRelease04x02/lib/TWiki/Render.pm 2009-02-24 00:35:58 UTC (rev 17846) +++ twiki/branches/TWikiRelease04x02/lib/TWiki/Render.pm 2009-02-24 14:26:16 UTC (rev 17847) @@ -88,9 +88,9 @@ unless( $this->{NEWLINKFORMAT} ) { $this->{NEWLINKFORMAT} = $this->{session}->{prefs}->getPreferencesValue('NEWLINKFORMAT') - || '<span class="twikiNewLink"><a href="%SCRIPTURLPATH{edit}%/$web/$topic?topicparent=%WEB%.%TOPIC%" '. + || '<span class="twikiNewLink">$text<a href="%SCRIPTURLPATH{edit}%/$web/$topic?topicparent=%WEB%.%TOPIC%" '. 'rel="nofollow" title="%MAKETEXT{"Create this topic"}%">'. - '$text</a></span>'; + '?</a></span>'; } return $this->{NEWLINKFORMAT}; } Modified: twiki/branches/TWikiRelease04x02/pub/TWiki/TWikiTemplates/default.css =================================================================== --- twiki/branches/TWikiRelease04x02/pub/TWiki/TWikiTemplates/default.css 2009-02-24 00:35:58 UTC (rev 17846) +++ twiki/branches/TWikiRelease04x02/pub/TWiki/TWikiTemplates/default.css 2009-02-24 14:26:16 UTC (rev 17847) @@ -96,10 +96,6 @@ color:#666; border-color:#ccc; } -.twikiNewLink a { - color:#B7351E; - border-style:none none dotted; -} .twikiNewLink a:hover sup { background-color:#D6000F; color:#FBF7E8; @@ -107,13 +103,8 @@ } .twikiNewLink { - border-color:#B7351E; - border-style:none none dotted; - border-width:1px; - color:#B7351E; - + border-color:#ccc; } - :link:focus, :visited:focus, :link, @@ -329,15 +320,10 @@ .twikiNewLink { border-width:0 0 1px 0; border-style:solid; - border-style:none none dotted; } .twikiNewLink a { + text-decoration:none; margin-left:1px; - border-color:#B7351E; - border-style:none none dotted; - border-width:1px; - color:#B7351E; - text-decoration:none; } .twikiNewLink a sup { text-align:center; @@ -680,4 +666,4 @@ twikiTextarea twikiTextareaRawView twikiTopRow -*/ +*/ \ No newline at end of file Modified: twiki/branches/TWikiRelease04x02/twikiplugins/PatternSkin/pub/TWiki/PatternSkin/colors.css =================================================================== --- twiki/branches/TWikiRelease04x02/twikiplugins/PatternSkin/pub/TWiki/PatternSkin/colors.css 2009-02-24 00:35:58 UTC (rev 17846) +++ twiki/branches/TWikiRelease04x02/twikiplugins/PatternSkin/pub/TWiki/PatternSkin/colors.css 2009-02-24 14:26:16 UTC (rev 17847) @@ -72,23 +72,13 @@ color:#777; border-color:#ddd; } - -.twikiNewLink a { - color:#B7351E; - -} .twikiNewLink a:hover sup { background-color:#ce000f; color:#fff; border-color:#ce000f; - border-style:none none dotted; } .twikiNewLink { - border-color:#B7351E; - border-style:none none dotted; - border-width:1px; - color:#B7351E; - text-decoration:none; + border-color:#ddd; } :link:focus, :visited:focus, |