gunnar: server/horde/horde-mnemo HK-GW-Edit_share_rights.patch, NONE, 1.1 horde-mnemo-kolab.spec, 1.16, 1.17

cvs at kolab.org cvs at kolab.org
Tue Oct 2 16:21:36 CEST 2007


Author: gunnar

Update of /kolabrepository/server/horde/horde-mnemo
In directory doto:/tmp/cvs-serv6110/horde/horde-mnemo

Modified Files:
	horde-mnemo-kolab.spec 
Added Files:
	HK-GW-Edit_share_rights.patch 
Log Message:
Adding the necessary turba and mnemo fixes for the next beta release.

--- NEW FILE: HK-GW-Edit_share_rights.patch ---
Allow to edit Kolab share rights for the notepads displayed by mnemo.

diff -r 2318390b621a mnemo/templates/notepads/notepads.inc
--- a/mnemo/templates/notepads/notepads.inc	Tue Sep 25 11:50:19 2007 +0200
+++ b/mnemo/templates/notepads/notepads.inc	Tue Sep 25 11:52:12 2007 +0200
@@ -53,7 +53,7 @@ function updateForm(share)
 <p><?php echo Horde::label('id', _("Name:")) ?><br />
 <input id="id" name="id" size="30" maxlength="60" /><br />
 <?php if (empty($conf['shares']['no_sharing'])): ?>
-<input type="button" name="accesslist" class="button" onclick="popup(editURL.replace(/%40ID%40/, document.shares.edit_share.value));" value="<?php echo _("Permissions") ?>" style="display:none" />
+<input type="button" name="accesslist" class="button" onclick="popup(editURL.replace(/%40ID%40/, encodeURIComponent(document.shares.edit_share.value)));" value="<?php echo _("Permissions") ?>" style="display:none" />
 <?php endif; ?>
 </p>
 

Index: horde-mnemo-kolab.spec
===================================================================
RCS file: /kolabrepository/server/horde/horde-mnemo/horde-mnemo-kolab.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- horde-mnemo-kolab.spec	1 Oct 2007 15:47:19 -0000	1.16
+++ horde-mnemo-kolab.spec	2 Oct 2007 14:21:34 -0000	1.17
@@ -25,6 +25,8 @@
 Source0:	http://ftp.horde.org/pub/%{V_horde_name}/%{V_horde_name}-h3-%{V_uver}.tar.gz
 Source1:        conf.php
 
+Patch0:         HK-GW-Edit_share_rights.patch
+
 # Build Info
 Prefix:		%{l_prefix}
 BuildRoot:	%{l_buildroot}
@@ -46,6 +48,10 @@
 
 %prep
 	%setup -c -q -n %{V_horde_name}-h3-%{V_uver}
+
+	cd %{V_horde_name}-h3-%{V_uver}
+	%patch -p2 -P 0
+	cd ..
 
 %build
 





More information about the commits mailing list