]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
- make friends with smblink plugin; rel 7 auto/th/dokuwiki-20091225-7
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 29 Apr 2010 12:54:06 +0000 (12:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki.spec -> 1.81
    smblink.patch -> 1.1

dokuwiki.spec
smblink.patch [new file with mode: 0644]

index ee0db6480438c3674d9cd95fccf1e6b47411caca..ab0351484ddacdb1c26a0b5aa6f996a6eeb98612 100644 (file)
@@ -6,7 +6,7 @@ Summary:        PHP-based Wiki webapplication
 Summary(pl.UTF-8):     Aplikacja WWW Wiki oparta na PHP
 Name:          dokuwiki
 Version:       %{ver}
-Release:       6
+Release:       7
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       http://www.splitbrain.org/_media/projects/dokuwiki/%{name}-%{subver}c.tgz
@@ -45,6 +45,7 @@ Patch19:      pld-branding.patch
 Patch20:       fixprivilegeescalationbug.diff
 Patch21:       task-1821.patch
 Patch22:       adldap.patch
+Patch23:       smblink.patch
 URL:           http://www.dokuwiki.org/dokuwiki
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
 BuildRequires: rpmbuild(macros) >= 1.520
@@ -133,6 +134,7 @@ pozostawienie plików instalacyjnych mogłoby być niebezpieczne.
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
+%patch23 -p1
 
 %patch66 -p1
 
diff --git a/smblink.patch b/smblink.patch
new file mode 100644 (file)
index 0000000..7eed9e5
--- /dev/null
@@ -0,0 +1,11 @@
+--- dokuwiki/lib/scripts/script.js~    2010-04-29 15:42:12.000000000 +0300
++++ dokuwiki/lib/scripts/script.js     2010-04-29 15:43:39.640053591 +0300
+@@ -512,7 +512,7 @@
+         for(var i=0; i<elems.length; i++){
+             var share = elems[i];
+             addEvent(share,'click',function(){
+-                if(document.all == null) {
++                if(document.all == null && LANG['nosmblinks']) {
+                     alert(LANG['nosmblinks']);
+                 }
+             });
This page took 0.044659 seconds and 4 git commands to generate.