sync
authorleon <leon@roojs.com>
Fri, 28 Jul 2023 07:23:43 +0000 (15:23 +0800)
committerleon <leon@roojs.com>
Fri, 28 Jul 2023 07:23:43 +0000 (15:23 +0800)
UpdateBjsTemplates.php

index da894c1..182a8fe 100644 (file)
@@ -198,7 +198,7 @@ class Pman_Cms_UpdateBjsTemplates extends Pman_Admin_UpdateBjsTemplates
         
         if(isset($ff->Pman_Cms['powerpoint'])) {
             foreach($ff->Pman_Cms['powerpoint'] as $base => $dir) {
-                $strings = $this->scanText($dir);
+                $strings = $this->scanPowerpointText($dir);
 
                 foreach($strings as $slide => $words) {
                     $ct = DB_DataObject::factory('cms_template');
@@ -237,7 +237,7 @@ class Pman_Cms_UpdateBjsTemplates extends Pman_Admin_UpdateBjsTemplates
      * @return Array $strings 2d array containing translatable strings grouped by slide name
      * 
      */
-    static function scanText($path)
+    static function scanPowerpointText($path)
     {
 
         // get id of slides from presentation xml