From 8d915b469a1ec1ecc9b7d13b15f7ae948b745de6 Mon Sep 17 00:00:00 2001 From: vargenau Date: Fri, 2 Jul 2010 08:05:07 +0000 Subject: [PATCH] Make a directory -" +WikiTheme templates are regular xhtml, but the php parts within "" are treated especially by phpwiki. HTML entities within the php parts should be created by our HtmlElement methods, which create well-formed HTML objects. -Pure HTML entities, e.g. " ?> will be escaped to <br>. +Pure HTML entities, e.g. " ?> will be escaped to <br>. You can easily embed other templates by your own, e.g. diff --git a/themes/MacOSX/images/index.php b/themes/MacOSX/images/index.php index 7bfd0ce05..12d765438 100644 --- a/themes/MacOSX/images/index.php +++ b/themes/MacOSX/images/index.php @@ -12,7 +12,7 @@ backgroundcolor[7] = '#8888aa'; function changebg(color) { document.bgColor = backgroundcolor[color]; } //--> - - isSignedIn() ) { ?> + isSignedIn() ) { ?> "Add/Remove this to/from the list of pages you're monitoring for changes [alt-l]")) ?> diff --git a/themes/Sidebar/templates/debug.tmpl b/themes/Sidebar/templates/debug.tmpl index 9ba740535..03ff84837 100644 --- a/themes/Sidebar/templates/debug.tmpl +++ b/themes/Sidebar/templates/debug.tmpl @@ -16,7 +16,7 @@ getStats())?> - +
diff --git a/themes/Sidebar/templates/search.tmpl b/themes/Sidebar/templates/search.tmpl index 0093dea4c..25e393d5f 100644 --- a/themes/Sidebar/templates/search.tmpl +++ b/themes/Sidebar/templates/search.tmpl @@ -1,7 +1,7 @@ - +
" method="get" accept-charset="" style="display:inline" class="searchform"> diff --git a/themes/alphatest.php b/themes/alphatest.php index 7c85ba840..9a1810916 100644 --- a/themes/alphatest.php +++ b/themes/alphatest.php @@ -20,7 +20,7 @@ for (var n = 0; n < backgroundcolor.length; n++) ' ' + backgroundcolor[n] + '' ); } //--> - get('locked') || $user->isAdmin()) and $revision) { ?> isCurrent() ? _("Edit") : _("Edit Old Revision"), false, array('id'=>'btn-edit')) ?> - + "edit", "mode"=> "wysiwyg"), "Wysiwyg Editor", false, array('id' => 'btn-wysiwyg-edit')) ?> diff --git a/themes/default/templates/debug.tmpl b/themes/default/templates/debug.tmpl index dad539a7e..13f98fb69 100644 --- a/themes/default/templates/debug.tmpl +++ b/themes/default/templates/debug.tmpl @@ -16,9 +16,9 @@
getStats())?> - + - +
diff --git a/themes/default/templates/search.tmpl b/themes/default/templates/search.tmpl index a89e8734e..20c2a9386 100644 --- a/themes/default/templates/search.tmpl +++ b/themes/default/templates/search.tmpl @@ -1,4 +1,4 @@ - +
" method="get" accept-charset="" style="display:inline" class="searchform"> -- 2.45.0