SF.net SVN: phpwiki:[10859] trunk/themes/MonoBook/templates/info.tmpl

vargenau--- via phpwiki-checkins <[email protected]> Thu, 06 Jan 2022 17:29:02 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 10859
          http://sourceforge.net/p/phpwiki/code/10859
Author:   vargenau
Date:     2022-01-06 17:29:02 +0000 (Thu, 06 Jan 2022)
Log Message:
-----------
themes/MonoBook/templates/info.tmpl: get pagetype

Modified Paths:
--------------
    trunk/themes/MonoBook/templates/info.tmpl

Modified: trunk/themes/MonoBook/templates/info.tmpl
===================================================================
--- trunk/themes/MonoBook/templates/info.tmpl	2022-01-06 17:28:01 UTC (rev 10858)
+++ trunk/themes/MonoBook/templates/info.tmpl	2022-01-06 17:29:02 UTC (rev 10859)
@@ -142,7 +142,7 @@
 if (HOME_PAGE == $page->getName()) {
     $pagetype []= sprintf('%s %s', WIKI_NAME, _("Home Page"));
 }
-if (0 && $page->isUserPage($include_empty=true)) {
+if ($page->isUserPage($include_empty=true)) {
     $pagetype []= _("User page");
 }
 if (isActionPage($page->getName())) {
@@ -151,10 +151,10 @@
 if ($page->get('pagetype') == 'wikiblog') {
     $pagetype []= _("Blog page");
 }
-if ($page->getName() == _("InterWikiMap")) {
+if ($page->getName() == __("InterWikiMap")) {
     $pagetype []= _("InterWikiMap");
 }
-if (0 and isSubPage($page->getName())) {
+if (isSubPage($page->getName())) {
     $pagetype []= _("Subpage");
 } ?>
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.