]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 19 Sep 2013 09:01:19 +0000 (09:01 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 19 Sep 2013 09:01:19 +0000 (09:01 +0000)
13 files changed:
fluidbook/tools/fwstk/build.xml
fluidbook/tools/fwstk/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
fluidbook/tools/fwstk/lib/fontbox-1.8.2.jar [new file with mode: 0644]
fluidbook/tools/fwstk/lib/jempbox-1.8.2.jar [new file with mode: 0644]
fluidbook/tools/fwstk/lib/nblibraries.properties
fluidbook/tools/fwstk/lib/pdfbox-1.8.2.jar [new file with mode: 0644]
fluidbook/tools/fwstk/nbproject/build-impl.xml
fluidbook/tools/fwstk/nbproject/genfiles.properties
fluidbook/tools/fwstk/nbproject/private/configs/Extract_Links.properties
fluidbook/tools/fwstk/nbproject/private/private.properties
fluidbook/tools/fwstk/nbproject/private/private.xml
fluidbook/tools/fwstk/nbproject/project.properties
inc/ws/Controlleur/class.ws.ajax.php

index 3afd2257810bf4f62e1968963cb7067ab74b5891..f0d538aba6955e2606b24d713965bfb92fad4f79 100644 (file)
@@ -51,8 +51,7 @@
       -init-macrodef-junit:     defines macro for junit execution\r
       -init-macrodef-debug:     defines macro for class debugging\r
       -init-macrodef-java:      defines macro for class execution\r
-      -do-jar-with-manifest:    JAR building (if you are using a manifest)\r
-      -do-jar-without-manifest: JAR building (if you are not using a manifest)\r
+      -do-jar:                  JAR building\r
       run:                      execution of project \r
       -javadoc-build:           Javadoc generation\r
       test-report:              JUnit report generation\r
index 38246fd27020d081e537bd0eb7ae484d7d162554..5a474c4df811d513467c0852df7d9f864b94de29 100644 (file)
Binary files a/fluidbook/tools/fwstk/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar and b/fluidbook/tools/fwstk/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar differ
diff --git a/fluidbook/tools/fwstk/lib/fontbox-1.8.2.jar b/fluidbook/tools/fwstk/lib/fontbox-1.8.2.jar
new file mode 100644 (file)
index 0000000..517a91c
Binary files /dev/null and b/fluidbook/tools/fwstk/lib/fontbox-1.8.2.jar differ
diff --git a/fluidbook/tools/fwstk/lib/jempbox-1.8.2.jar b/fluidbook/tools/fwstk/lib/jempbox-1.8.2.jar
new file mode 100644 (file)
index 0000000..df3aaa0
Binary files /dev/null and b/fluidbook/tools/fwstk/lib/jempbox-1.8.2.jar differ
index 625926dc7ac740fde25e92bbb37af973bad30df9..1c91935a4f7e2a07a30ec59184f6abbd328ee0e0 100644 (file)
@@ -1,4 +1,4 @@
 libs.CopyLibs.classpath=\\r
     ${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar\r
 libs.CopyLibs.displayName=CopyLibs Task\r
-libs.CopyLibs.prop-version=1.0\r
+libs.CopyLibs.prop-version=2.0\r
diff --git a/fluidbook/tools/fwstk/lib/pdfbox-1.8.2.jar b/fluidbook/tools/fwstk/lib/pdfbox-1.8.2.jar
new file mode 100644 (file)
index 0000000..e248d06
Binary files /dev/null and b/fluidbook/tools/fwstk/lib/pdfbox-1.8.2.jar differ
index 7ea0240352ca016bf0d9039b7b1959dad8991336..bc9e7a52c377fef649ed4bb2c90494186c9ef124 100644 (file)
@@ -79,6 +79,7 @@ is divided into following sections:
         <property file="nbproject/project.properties"/>\r
     </target>\r
     <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-init-macrodef-property" name="-do-init">\r
+        <property name="platform.java" value="${java.home}/bin/java"/>\r
         <available file="${manifest.file}" property="manifest.available"/>\r
         <condition property="splashscreen.available">\r
             <and>\r
@@ -96,10 +97,11 @@ is divided into following sections:
                 </not>\r
             </and>\r
         </condition>\r
-        <condition property="manifest.available+main.class">\r
+        <condition property="profile.available">\r
             <and>\r
-                <isset property="manifest.available"/>\r
-                <isset property="main.class.available"/>\r
+                <isset property="javac.profile"/>\r
+                <length length="0" string="${javac.profile}" when="greater"/>\r
+                <matches pattern="1\.[89](\..*)?" string="${javac.source}"/>\r
             </and>\r
         </condition>\r
         <condition property="do.archive">\r
@@ -116,12 +118,6 @@ is divided into following sections:
                 </not>\r
             </and>\r
         </condition>\r
-        <condition property="manifest.available+main.class+mkdist.available">\r
-            <and>\r
-                <istrue value="${manifest.available+main.class}"/>\r
-                <isset property="do.mkdist"/>\r
-            </and>\r
-        </condition>\r
         <condition property="do.archive+manifest.available">\r
             <and>\r
                 <isset property="manifest.available"/>\r
@@ -140,24 +136,12 @@ is divided into following sections:
                 <istrue value="${do.archive}"/>\r
             </and>\r
         </condition>\r
-        <condition property="do.archive+manifest.available+main.class">\r
+        <condition property="do.archive+profile.available">\r
             <and>\r
-                <istrue value="${manifest.available+main.class}"/>\r
+                <isset property="profile.available"/>\r
                 <istrue value="${do.archive}"/>\r
             </and>\r
         </condition>\r
-        <condition property="manifest.available-mkdist.available">\r
-            <or>\r
-                <istrue value="${manifest.available}"/>\r
-                <isset property="do.mkdist"/>\r
-            </or>\r
-        </condition>\r
-        <condition property="manifest.available+main.class-mkdist.available">\r
-            <or>\r
-                <istrue value="${manifest.available+main.class}"/>\r
-                <isset property="do.mkdist"/>\r
-            </or>\r
-        </condition>\r
         <condition property="have.tests">\r
             <or/>\r
         </condition>\r
@@ -211,6 +195,9 @@ is divided into following sections:
         <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">\r
             <length length="0" string="${endorsed.classpath}" when="greater"/>\r
         </condition>\r
+        <condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">\r
+            <isset property="profile.available"/>\r
+        </condition>\r
         <condition else="false" property="jdkBug6558476">\r
             <and>\r
                 <matches pattern="1\.[56]" string="${java.specification.version}"/>\r
@@ -297,6 +284,7 @@ is divided into following sections:
                         <path path="@{classpath}"/>\r
                     </classpath>\r
                     <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>\r
+                    <compilerarg line="${javac.profile.cmd.line.arg}"/>\r
                     <compilerarg line="${javac.compilerargs}"/>\r
                     <compilerarg value="-processorpath"/>\r
                     <compilerarg path="@{processorpath}:${empty.dir}"/>\r
@@ -336,6 +324,7 @@ is divided into following sections:
                         <path path="@{classpath}"/>\r
                     </classpath>\r
                     <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>\r
+                    <compilerarg line="${javac.profile.cmd.line.arg}"/>\r
                     <compilerarg line="${javac.compilerargs}"/>\r
                     <customize/>\r
                 </javac>\r
@@ -461,7 +450,7 @@ is divided into following sections:
                 </condition>\r
                 <union id="test.set"/>\r
                 <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>\r
-                <testng classfilesetref="test.set" failureProperty="tests.failed" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="fwstk" testname="TestNG tests" workingDir="${work.dir}">\r
+                <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="fwstk" testname="TestNG tests" workingDir="${work.dir}">\r
                     <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>\r
                     <propertyset>\r
                         <propertyref prefix="test-sys-prop."/>\r
@@ -849,7 +838,7 @@ is divided into following sections:
                     </chainedmapper>\r
                 </pathconvert>\r
                 <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>\r
-                <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">\r
+                <copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">\r
                     <fileset dir="${build.classes.dir}"/>\r
                     <manifest>\r
                         <attribute name="Class-Path" value="${jar.classpath}"/>\r
@@ -978,41 +967,25 @@ is divided into following sections:
         <!-- Empty placeholder for easier customization. -->\r
         <!-- You can override this target in the ../build.xml file. -->\r
     </target>\r
-    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">\r
-        <j2seproject1:jar/>\r
-    </target>\r
-    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class-mkdist.available">\r
-        <j2seproject1:jar manifest="${manifest.file}"/>\r
-    </target>\r
-    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">\r
-        <j2seproject1:jar manifest="${manifest.file}">\r
-            <j2seproject1:manifest>\r
-                <j2seproject1:attribute name="Main-Class" value="${main.class}"/>\r
-            </j2seproject1:manifest>\r
-        </j2seproject1:jar>\r
-        <echo level="info">To run this application from the command line without Ant, try:</echo>\r
-        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>\r
-        <property location="${dist.jar}" name="dist.jar.resolved"/>\r
-        <pathconvert property="run.classpath.with.dist.jar">\r
-            <path path="${run.classpath}"/>\r
-            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>\r
-        </pathconvert>\r
-        <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>\r
-    </target>\r
-    <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">\r
+    <target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available">\r
         <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>\r
         <touch file="${tmp.manifest.file}" verbose="false"/>\r
     </target>\r
-    <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest">\r
+    <target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest">\r
         <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>\r
         <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>\r
     </target>\r
-    <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+main.class.available" name="-do-jar-with-libraries-set-main">\r
+    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass">\r
         <manifest file="${tmp.manifest.file}" mode="update">\r
             <attribute name="Main-Class" value="${main.class}"/>\r
         </manifest>\r
     </target>\r
-    <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-with-libraries-set-splashscreen">\r
+    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile">\r
+        <manifest file="${tmp.manifest.file}" mode="update">\r
+            <attribute name="Profile" value="${javac.profile}"/>\r
+        </manifest>\r
+    </target>\r
+    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen">\r
         <basename file="${application.splash}" property="splashscreen.basename"/>\r
         <mkdir dir="${build.classes.dir}/META-INF"/>\r
         <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>\r
@@ -1020,23 +993,41 @@ is divided into following sections:
             <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>\r
         </manifest>\r
     </target>\r
-    <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen" if="do.mkdist" name="-do-jar-with-libraries-pack">\r
+    <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.mkdist" name="-do-jar-copylibs">\r
         <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>\r
         <echo level="info">To run this application from the command line without Ant, try:</echo>\r
         <property location="${dist.jar}" name="dist.jar.resolved"/>\r
         <echo level="info">java -jar "${dist.jar.resolved}"</echo>\r
     </target>\r
-    <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">\r
+    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.archive" name="-do-jar-jar" unless="do.mkdist">\r
+        <j2seproject1:jar manifest="${tmp.manifest.file}"/>\r
+        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>\r
+        <property location="${dist.jar}" name="dist.jar.resolved"/>\r
+        <pathconvert property="run.classpath.with.dist.jar">\r
+            <path path="${run.classpath}"/>\r
+            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>\r
+        </pathconvert>\r
+        <condition else="" property="jar.usage.message" value="To run this application from the command line without Ant, try:${line.separator}${platform.java} -cp ${run.classpath.with.dist.jar} ${main.class}">\r
+            <isset property="main.class.available"/>\r
+        </condition>\r
+        <condition else="debug" property="jar.usage.level" value="info">\r
+            <isset property="main.class.available"/>\r
+        </condition>\r
+        <echo level="${jar.usage.level}" message="${jar.usage.message}"/>\r
+    </target>\r
+    <target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest">\r
         <delete>\r
             <fileset file="${tmp.manifest.file}"/>\r
         </delete>\r
     </target>\r
-    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen,-do-jar-with-libraries-pack,-do-jar-with-libraries-delete-manifest" name="-do-jar-with-libraries"/>\r
+    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-jar,-do-jar-delete-manifest" name="-do-jar-without-libraries"/>\r
+    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-copylibs,-do-jar-delete-manifest" name="-do-jar-with-libraries"/>\r
     <target name="-post-jar">\r
         <!-- Empty placeholder for easier customization. -->\r
         <!-- You can override this target in the ../build.xml file. -->\r
     </target>\r
-    <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>\r
+    <target depends="init,compile,-pre-jar,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/>\r
+    <target depends="init,compile,-pre-jar,-do-jar,-post-jar" description="Build JAR." name="jar"/>\r
     <!--\r
                 =================\r
                 EXECUTION SECTION\r
index ff028331a91c0cd9ce9eece4b89cae019edfede1..0b4dfa4d027d4e19c7a9f45a9283e6e389ec22c1 100644 (file)
@@ -1,8 +1,8 @@
 build.xml.data.CRC32=75d32fc3\r
-build.xml.script.CRC32=ef618d2d\r
-build.xml.stylesheet.CRC32=28e38971@1.55.1.46\r
+build.xml.script.CRC32=9e69aef5\r
+build.xml.stylesheet.CRC32=8064a381@1.68.1.46\r
 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.\r
 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.\r
 nbproject/build-impl.xml.data.CRC32=75d32fc3\r
-nbproject/build-impl.xml.script.CRC32=893f2795\r
-nbproject/build-impl.xml.stylesheet.CRC32=c6d2a60f@1.55.1.46\r
+nbproject/build-impl.xml.script.CRC32=e1985bd5\r
+nbproject/build-impl.xml.stylesheet.CRC32=cdba79fa@1.68.1.46\r
index 188b0bd5e95906e4defe93f6f8a8642b27d9640e..ae0ade3a1ad46f3b4321696ea64350bc38ae1aad 100644 (file)
@@ -1 +1 @@
-application.args=--input C:\\Users\\Vincent\\Desktop\\de.pdf --extractLinks C:\\Users\\Vincent\\Desktop\\de.csv --linkOffsetY -39\r
+application.args=--input C:\\Users\\Vincent\\Documents\\links\\document-cut.pdf --extractLinks C:\\Users\\Vincent\\Documents\\links\\p%d.csv\r
index 3f38b1e02798c6713c32fd674b9c19d4e7e978e6..7a31961f35923b47172520fc4bccc54173c4db16 100644 (file)
@@ -5,4 +5,4 @@ do.jar=true
 file.reference.icu4j-50_1.jar=H:\\Works\\Java\\jar\\icu4j-4_6_1.jar\r
 javac.debug=true\r
 javadoc.preview=true\r
-user.properties.file=C:\\Users\\vince_000\\AppData\\Roaming\\NetBeans\\7.3\\build.properties\r
+user.properties.file=H:\\Applications\\Roaming\\Netbeans\\7.4\\user\\build.properties\r
index 4ffd82c2462382b8a9ccf59c15a3ee79930199c7..dcca50e20c45cb2f808477d671c87a30b8c0ff43 100644 (file)
@@ -2,4 +2,7 @@
 <project-private xmlns="http://www.netbeans.org/ns/project-private/1">\r
     <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>\r
     <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>\r
+    <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">\r
+        <group/>\r
+    </open-files>\r
 </project-private>\r
index 0a8e12808efc954a12470535c714e5a73025993c..72c2ca212137757d4ed6148a0d5aeb650d806bef 100644 (file)
@@ -32,12 +32,12 @@ file.reference.bcmail-jdk16-146.jar=lib/bcmail-jdk16-146.jar
 file.reference.bcprov-jdk16-146.jar=lib/bcprov-jdk16-146.jar\r
 file.reference.commons-io-2.4.jar=lib\\commons-io-2.4.jar\r
 file.reference.commons-logging-1.1.1.jar=lib/commons-logging-1.1.1.jar\r
-file.reference.fontbox-1.7.1.jar=lib\\fontbox-1.7.1.jar\r
+file.reference.fontbox-1.8.2.jar=lib\\fontbox-1.8.2.jar\r
 file.reference.FWSTK_Resources.jar=../FWSTK_Resources/dist/FWSTK_Resources.jar\r
 file.reference.icu4j-50_1.jar=H:\\Works\\Java\\jar\\icu4j-50_1.jar\r
 file.reference.Java-resources=../../../../Java/resources\r
-file.reference.jempbox-1.7.1.jar=lib\\jempbox-1.7.1.jar\r
-file.reference.pdfbox-1.7.1.jar=lib\\pdfbox-1.7.1.jar\r
+file.reference.jempbox-1.8.2.jar=lib\\jempbox-1.8.2.jar\r
+file.reference.pdfbox-1.8.2.jar=lib\\pdfbox-1.8.2.jar\r
 file.reference.Works-Java=../../../../Java\r
 includes=**\r
 jar.archive.disabled=${jnlp.enabled}\r
@@ -49,11 +49,11 @@ javac.classpath=\
     ${file.reference.bcmail-jdk16-146.jar}:\\r
     ${file.reference.commons-logging-1.1.1.jar}:\\r
     ${file.reference.FWSTK_Resources.jar}:\\r
-    ${file.reference.fontbox-1.7.1.jar}:\\r
-    ${file.reference.jempbox-1.7.1.jar}:\\r
-    ${file.reference.pdfbox-1.7.1.jar}:\\r
     ${file.reference.icu4j-50_1.jar}:\\r
-    ${file.reference.commons-io-2.4.jar}\r
+    ${file.reference.commons-io-2.4.jar}:\\r
+    ${file.reference.fontbox-1.8.2.jar}:\\r
+    ${file.reference.jempbox-1.8.2.jar}:\\r
+    ${file.reference.pdfbox-1.8.2.jar}\r
 # Space-separated list of extra javac options\r
 javac.compilerargs=\r
 javac.deprecation=false\r
index 440e40c262831ec3ec342914cd8042bd51351645..58e3468844eff6e653dc3f473a96b40ed2168f30 100644 (file)
@@ -1093,6 +1093,10 @@ class wsAjax extends cubeAjax {
                $c->online_android = 0;\r
                $c->insert();\r
 \r
+               if ($_GET['ctrl']) {\r
+                       self::collectionVersionPublish(array('', $id, $time, 'android'), $x);\r
+               }\r
+\r
                $x->addReload();\r
        }\r
 \r
@@ -1107,7 +1111,7 @@ class wsAjax extends cubeAjax {
 \r
                $c = $core->con->openCursor('book_collection_compile');\r
                $c->$online = 0;\r
-               $c->update('WHERE collection_id=\'' . $core->con->escape($id) . '\' AND '.$online.'=1');\r
+               $c->update('WHERE collection_id=\'' . $core->con->escape($id) . '\' AND ' . $online . '=1');\r
 \r
                $c = $core->con->openCursor('book_collection_compile');\r
                $c->$online = 1;\r