.
.
with (Presentations)
.
Image(federation.LinkMaker.LinkToImage("images/go.gif"), command, url),
.
Link(url, command, tip),
.aTopic|
.with (Presentations)
.
Image(federation.LinkMaker.LinkToImage("images/wiki_banner.jpg"), "Modellbahn-eSTW")
.aTopic|
.
Presentations.Link("http://www.estw.eu/default.aspx/Privacy/Privacy.html", "Privacy Policy", "Privacy Policy"),
.
Presentations.Link("http://www.microsoft.com/info/cpyright.mspx", "Terms of Use", "Terms of Use")
.aTopic|
.
Image(federation.LinkMaker.LinkToImage("images/estw_rightpane_gruen.jpg"), "", ""),
.
namespace.Description,
.
federation.About,
.
"*Letzte angezeigten Seiteninhalte*",
.
{ each |
.
Tab,
.
Presentations.Link(federation.LinkMaker.LinkToTopic(each.Fullname), each.Name),
.aTopic|
.
Image(federation.LinkMaker.LinkToImage("images/fwlogo_green.jpg"), "Home"), Newline,
.
request.AreDifferencesShown.IfTrue
.
MenuItem("Don't highlight differences between this topic and previous version", "Hide Changes", federation.LinkMaker.LinkToTopic(aTopic.Fullname))
.
IfFalse
.
MenuItem("Show differences between this topic and previous version", "Show Changes", federation.LinkMaker.LinkToTopicWithDiffs(aTopic.Fullname))
.
aTopic.Version.IfNull
.
aTopic.Namespace.IsReadOnly.IfFalse
.
MenuItem("Edit this topic", "Edit", federation.LinkMaker.LinkToEditTopic(aTopic.Fullname))
.
MenuItem("Show printable view of this topic", "Print", federation.LinkMaker.LinkToPrintView(aTopic.Fullname)),
.
MenuItem("Show recently changed topics", "Recent Changes", federation.LinkMaker.LinkToRecentChanges(aTopic.Namespace.Name)),
.
MenuItem("Show RRS feeds to keep up-to-date", "RSS Subscriptions", federation.LinkMaker.LinkToSubscriptions(aTopic.Namespace.Name)),
.
MenuItem("Show disconnected topics", "Lost and Found", federation.LinkMaker.LinkToLostAndFound(aTopic.Namespace.Name)),
.
MenuItem("Find references to this topic", "Find References", federation.LinkMaker.LinkToSearchFor(null, aTopic.Name)),
.
MenuItem("Upload files to webserver", "Upload files", federation.LinkMaker.SimpleLinkTo("upload.aspx")),
.
aTopic.Namespace.IsReadOnly.IfFalse
.
MenuItem("Rename this topic", "Rename", federation.LinkMaker.LinkToRename(aTopic.Fullname))
.
"'''Search'''",
.
Presentations.FormStart(federation.LinkMaker.LinkToSearchNamespace(aTopic.Namespace.Name), "get"),
.
Presentations.HiddenField("namespace", aTopic.Namespace.Name),
.
Presentations.InputField("search", "", 15),
.
Presentations.ImageButton("goButton", federation.LinkMaker.LinkToImage("images/go-dark.gif"), "Search for this text"),
.
Presentations.FormEnd(),
.
aTopic.Changes.Snip(10).Collect
.
{ each |
.
Presentations.Link(federation.LinkMaker.LinkToTopic(each.Fullname), [each.Timestamp].ToString),
.
each.Author,
.
MenuItem("List all versions of this topic", "List all versions", federation.LinkMaker.LinkToVersions(aTopic.Fullname)),
.
aTopic.Version.IfNotNull
.
Presentations.FormStart(federation.LinkMaker.LinkToRestore(aTopic.Fullname), "post"),
.
Presentations.HiddenField("RestoreTopic", aTopic.Fullname),
.
Presentations.SubmitButton("restoreButton", "Restore Version"),
.
Presentations.FormEnd(),
.
Presentations.Image("http://www.estw.eu/images/flexwikirss.png",
.
["RSS feed for the ", namespace.Name, " namespace"].ToString,
.
federation.LinkMaker.SimpleLinkTo(["rss.aspx?namespace=", namespace.Name].ToString)),
.
Image(federation.LinkMaker.LinkToImage("images/KompaktsignalLowRes.gif"), "Kompaktsignal"),