From: <var...@us...> - 2011-10-03 12:41:54
|
Revision: 8159 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8159&view=rev Author: vargenau Date: 2011-10-03 12:41:45 +0000 (Mon, 03 Oct 2011) Log Message: ----------- Same alt/title as menu Modified Paths: -------------- trunk/lib/EditToolbar.php Modified: trunk/lib/EditToolbar.php =================================================================== --- trunk/lib/EditToolbar.php 2011-10-03 12:40:18 UTC (rev 8158) +++ trunk/lib/EditToolbar.php 2011-10-03 12:41:45 UTC (rev 8159) @@ -71,12 +71,11 @@ $js = JavaScript('',array('src' => $WikiTheme->_findData("toolbar.js"))); if (empty($WikiTheme->_headers_printed)) { $WikiTheme->addMoreHeaders($js); - } - else { // from an actionpage: WikiBlog, AddComment, WikiForum + } else { // from an actionpage: WikiBlog, AddComment, WikiForum printXML($js); printXML(JavaScript('define_f()')); + } } - } require_once("lib/WikiPluginCached.php"); $cache = WikiPluginCached::newCache(); @@ -314,8 +313,8 @@ $more_buttons = HTML::img(array('class'=> "toolbar", 'id' => 'tb-categories', 'src' => $WikiTheme->getImageURL("ed_category.png"), - 'title'=>_("AddCategory"), - 'alt'=>"AddCategory", // to detect this at js + 'title'=>_("Insert Categories"), + 'alt'=>"Insert Categories", // to detect this at js 'onclick'=>"showPulldown('". _("Insert Categories") ."',[".join(",",$categories)."],'" @@ -364,8 +363,8 @@ $more_buttons = HTML::img(array('class'=>"toolbar", 'id' => 'tb-plugins', 'src' => $WikiTheme->getImageURL("ed_plugins.png"), - 'title'=>_("AddPlugin"), - 'alt'=>_("AddPlugin"), + 'title'=>_("Insert Plugin"), + 'alt'=>_("Insert Plugin"), 'onclick'=>"showPulldown('". _("Insert Plugin") ."',[".$plugin_js."],'" @@ -394,8 +393,8 @@ return HTML("\n", HTML::img(array('class'=>"toolbar", 'id' => 'tb-pages', 'src' => $WikiTheme->getImageURL("ed_pages.png"), - 'title'=>_("AddPageLink"), - 'alt'=>_("AddPageLink"), + 'title'=>_("Insert PageLink"), + 'alt'=>_("Insert PageLink"), 'onclick'=>"showPulldown('". _("Insert PageLink") ."',[".join(",",$pages)."],'" @@ -432,8 +431,8 @@ $more_buttons = HTML::img(array('class'=>"toolbar", 'id' => 'tb-images', 'src' => $WikiTheme->getImageURL("ed_image.png"), - 'title'=>_("Add Image or Video"), - 'alt'=>_("Add Image or Video"), + 'title'=>_("Insert Image or Video"), + 'alt'=>_("Insert Image or Video"), 'onclick'=>"showPulldown('". _("Insert Image or Video") ."',[".$image_js."],'" @@ -467,8 +466,8 @@ (array('class'=>"toolbar", 'id' => 'tb-templates', 'src' => $WikiTheme->getImageURL("ed_template.png"), - 'title'=>_("AddTemplate"), - 'alt'=>_("AddTemplate"), + 'title'=>_("Insert Template"), + 'alt'=>_("Insert Template"), 'onclick'=>"showPulldown('". _("Insert Template") ."',[".$pages_js."],'" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |