|
From: <var...@us...> - 2022-01-31 18:50:39
|
Revision: 10964
http://sourceforge.net/p/phpwiki/code/10964
Author: vargenau
Date: 2022-01-31 18:50:36 +0000 (Mon, 31 Jan 2022)
Log Message:
-----------
Use ActionButton for Wysiwyg Editor
Modified Paths:
--------------
trunk/themes/Sidebar/templates/actionbar.tmpl
Modified: trunk/themes/Sidebar/templates/actionbar.tmpl
===================================================================
--- trunk/themes/Sidebar/templates/actionbar.tmpl 2022-01-31 18:38:46 UTC (rev 10963)
+++ trunk/themes/Sidebar/templates/actionbar.tmpl 2022-01-31 18:50:36 UTC (rev 10964)
@@ -19,7 +19,7 @@
<?php echo ActionButton("edit", $dbh->isWikiPage($page->getName()) ? ($revision->isCurrent() || $revision->hasDefaultContents() ? _("Edit") : _("Edit Old Version")) : _("Create Page"), false,
array('id' => 'btn-edit', 'title' => "You can edit this page. Please use the preview button before saving.")) ?>
<?php if (ENABLE_WYSIWYG) { ?>
- <?php echo Button(array("action" => "edit", "mode"=> "wysiwyg"), _("Wysiwyg Editor"), false, array('id' => 'btn-wysiwyg-edit')) ?>
+ <?php echo ActionButton(array("action" => "edit", "mode"=> "wysiwyg"), _("Wysiwyg Editor"), false, array('id' => 'btn-wysiwyg-edit')) ?>
<?php } ?>
<?php } elseif ($page->exists()) { ?>
<?php echo ActionButton("viewsource", _("View Source")) ?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|