Skip to content

Commit

Permalink
Item12092: other style of "new topic" links
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/branches/Release01x01@15740 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
ArthurClemens authored and ArthurClemens committed Oct 27, 2012
1 parent bd7dcb8 commit 52bab0c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
4 changes: 1 addition & 3 deletions core/data/System/DefaultPreferences.txt
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,7 @@ Preference settings local to your site should be set in [[%LOCALSITEPREFS%]] (th
* 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="foswikiNewLink">$text<a href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%ENCODE{"%WEB%.%TOPIC%"}%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">?</a></span>
* Alternative setting:
* #Set NEWLINKFORMAT = <a class="foswikiNewLink" href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%ENCODE{"%WEB%.%TOPIC%"}%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">$text</a>
* Set NEWLINKFORMAT = <a class="foswikiNewLink" href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%ENCODE{"%WEB%.%TOPIC%"}%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">$text</a>

* %SYSTEMWEB%.PreviewBackground image:
* Set PREVIEWBGIMAGE = %PUBURLPATH%/%SYSTEMWEB%/PreviewBackground/preview2bg.gif
Expand Down
12 changes: 12 additions & 0 deletions core/pub/System/SkinTemplates/base_src.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,18 @@
.foswikiAlert code {
color:#f00;
}
.foswikiNewLink,
.foswikiNewLink:link,
.foswikiNewLink:visited {
color: #b00000;
text-decoration: none;
border-bottom: 1px dotted #b00000;
}
.foswikiNewLink:link:hover {
color: #b00000;
text-decoration: none;
border-bottom: 1px solid #b00000;
}
.foswikiEmulatedLink {
text-decoration:underline;
}
Expand Down
16 changes: 0 additions & 16 deletions core/pub/System/SkinTemplates/default_src.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,23 +104,7 @@ blockquote {
.foswikiPage font {
line-height:135%;
}
.foswikiNewLink font {
color:inherit;
}
.foswikiNewLink a:link sup,
.foswikiNewLink a:visited sup {
color:#666;
border-color:#ccc;
}
.foswikiNewLink a:hover sup {
background-color:#D6000F;
color:#FBF7E8;
border-color:#D6000F;
}

.foswikiNewLink {
border-color:#ccc;
}
:link:focus,
:visited:focus,
:link,
Expand Down

0 comments on commit 52bab0c

Please sign in to comment.