From aba8898ce3c6ac23bdd5b7654aa619d953d2b424 Mon Sep 17 00:00:00 2001 From: MichaelDaum Date: Mon, 20 Jun 2022 11:10:56 +0200 Subject: [PATCH] Item13883: fixed use of %BUTTON --- core/data/System/CompleteDocumentation.txt | 14 ++++++------ core/data/System/PerlDependencyReport.txt | 25 +++++++++++----------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/core/data/System/CompleteDocumentation.txt b/core/data/System/CompleteDocumentation.txt index 23a274018a..6b2e8a5c73 100644 --- a/core/data/System/CompleteDocumentation.txt +++ b/core/data/System/CompleteDocumentation.txt @@ -1,15 +1,17 @@ -%META:TOPICINFO{author="ProjectContributor" date="1512415587" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" date="1655716214" format="1.1" version="1"}% ---+!! Reference Manual (%WIKIVERSION%) This page contains all documentation topics as one long, complete reference sheet. -*Related Topics:* UserDocumentationCategory, AdminDocumentationCategory - %BUTTON{ "%MAKETEXT{"Load content"}%" - icon="book" - onclick="window.location.href='%SCRIPTURLPATH{"view" topic="%WEB%.%TOPIC%" section="content"}%';" -}% %MAKETEXT{"Use this button to load the content.%BR% *Caution* the content is very large and loading it will put a high load on your browser. Only load the content if you are going to print it - otherwise use the [[ReferenceManual][online reference manual]]."}% + icon="fa-book" + target="%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?section=content" +}% + +%MAKETEXT{"Use this button to load the content. *Caution* the content is very large and loading it will put a high load on your browser. Only load the content if you are going to print it - otherwise use the [[ReferenceManual][online reference manual]]."}% + +*Related Topics:* UserDocumentationCategory, AdminDocumentationCategory %STARTSECTION{"content"}% diff --git a/core/data/System/PerlDependencyReport.txt b/core/data/System/PerlDependencyReport.txt index 09088890aa..402abe0a1f 100644 --- a/core/data/System/PerlDependencyReport.txt +++ b/core/data/System/PerlDependencyReport.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" date="1655454502" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" date="1655716214" format="1.1" version="1"}% %META:TOPICPARENT{name="InstallationGuide"}% ---+!! Perl dependencies for Foswiki and Extensions @@ -17,18 +17,17 @@ needed, and should only be installed if you know that your particular installation will require them. %IF{"$include='all'" - else=" -$percntBUTTON{ - \"Show all dependencies\" - icon=\"book\" - onclick=\"window.location.href='$percntSCRIPTURLPATH{\"view\" topic=\"$percntWEB$percnt.$percntTOPIC$percnt\" include=\"all\"}$percnt';\" -}$percnt" then=" -$percntBUTTON{ - \"Show only missing dependencies\" - icon=\"book\" - onclick=\"window.location.href='$percntSCRIPTURLPATH{\"view\" topic=\"$percntWEB$percnt.$percntTOPIC$percnt\" include=\"missing\"}$percnt';\" -}$percnt -"}% + else="$percntBUTTON{ + \"Show all dependencies\" + icon=\"fa-book\" + target=\"%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?include=all\" + }$percnt" + then="$percntBUTTON{ + \"Show only missing dependencies\" + icon=\"fa-book\" + target=\"%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?include=missing\" + }$percnt" +}% %TOC%