DataObjects/Core_template.php
authorleon <leon@roojs.com>
Fri, 28 Jul 2023 07:13:58 +0000 (15:13 +0800)
committerleon <leon@roojs.com>
Fri, 28 Jul 2023 07:13:58 +0000 (15:13 +0800)
DataObjects/Core_template.php

index fa08e8f..8f23b17 100644 (file)
@@ -427,22 +427,6 @@ class Pman_Core_DataObjects_Core_template  extends DB_DataObject
         
         return $tmpl;
     }
-    
-    /**
-     * plain JS files use ._(....) to flag 
-     * it does not support quoted strings or anything really
-     * very simple strings only
-     */ 
-    
-    function syncJsWords($pgdata)
-    {
-        $this->syncFileWord($pgdata, 'js');   
-    }
-
-    function syncPowerpointXMLText($pgdata) 
-    {
-        $this->syncFileWord($pgdata, 'xml');
-    }
 
     function syncFileWord($pgdata, $filetype)
     {
@@ -503,6 +487,22 @@ class Pman_Core_DataObjects_Core_template  extends DB_DataObject
 
         return $tmpl;
     }
+
+    /**
+     * plain JS files use ._(....) to flag 
+     * it does not support quoted strings or anything really
+     * very simple strings only
+     */ 
+    
+    function syncJsWords($pgdata)
+    {
+        $this->syncFileWord($pgdata, 'js');   
+    }
+
+    function syncPowerpointXMLText($pgdata) 
+    {
+        $this->syncFileWord($pgdata, 'xml');
+    }
     
     /*
     SELECT LOWER(