gnucash-htdocs master: viewdoc: replace undefined target attribute _new by _blank

Frank H.Ellenberger fell at code.gnucash.org
Sat Oct 10 06:25:35 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/b9e388ae (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/e7b3b8f9 (commit)



commit b9e388aec19c601a339a06dec47947ded7cfc6ac
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sat Oct 10 12:20:28 2020 +0200

    viewdoc: replace undefined target attribute _new by _blank
    
    The purpose is to show the content in a new tab or window

diff --git a/viewdoc.phtml b/viewdoc.phtml
index 182c957..dc3d1f1 100644
--- a/viewdoc.phtml
+++ b/viewdoc.phtml
@@ -155,7 +155,7 @@ if ($showrev == "maint") {
     <?php } ?>
 
     <iframe src="<?php echo $showurl; ?>" style="border-width: 0px; width: 100%; min-width: 700px; height: 80em;">
-        <?php printf (T_("It seems your browser doesn't support iframes. To view the requested page in a separate window, please <a href=\"%s\" target=\"_new\">click here</a>."), $showurl); ?>
+        <?php printf (T_("It seems your browser doesn't support iframes. To view the requested page in a separate window, please <a href=\"%s\" target=\"_blank\">click here</a>."), $showurl); ?>
     </iframe>
 
 </div>



Summary of changes:
 viewdoc.phtml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list