Hi,
On Nov 12, 2010, at 2:19 AM, sdumitriu (SVN) wrote:
Author: sdumitriu
Date: 2010-11-12 02:19:09 +0100 (Fri, 12 Nov 2010)
New Revision: 32741
Modified:
platform/web/trunk/standard/src/main/webapp/templates/menuview.vm
Log:
XE-750: Ability to send a link to a page by email
Enabled the Share menu entry in non-Colibri skins
Modified: platform/web/trunk/standard/src/main/webapp/templates/menuview.vm
===================================================================
--- platform/web/trunk/standard/src/main/webapp/templates/menuview.vm 2010-11-12 01:14:31
UTC (rev 32740)
+++ platform/web/trunk/standard/src/main/webapp/templates/menuview.vm 2010-11-12 01:19:09
UTC (rev 32741)
@@ -136,6 +136,10 @@
#if($canImport)
#submenuitem($xwiki.getURL('XWiki.OfficeImporter', 'view')
$msg.get('core.menu.create.pageFromOffice') 'tmActionImport')
#end
+ #if (!$isGuest)
+ #submenuitem($doc.getURL('view', 'viewer=share')
$msg.get('core.menu.share') 'tmActionShare', '')
+ $xwiki.jsx.use('XWiki.SharePage')
+ #end
Again the share this page should be an extension of the platform and thus the menu entry
should be there only if the share application (or whatever app it's included with) is
available.
WDYT?
Thanks
-Vincent
#xwikitopmenuentryend()
#if($canDelete && $keyboardShortcutsEnabled)
<script type="text/javascript">