Author: dgoette
Date: Wed May  6 01:57:42 2009
New Revision: 407

URL: http://svn.reactos.org/svn/reactos?rev=407&view=rev
Log:
* run through the whole dependency list while updating entries, instead of just 
the first one
* output the language code instead of id

Modified:
    branches/danny-web/www/www.reactos.org/roscms/lib/om/Generate.class.php

Modified: 
branches/danny-web/www/www.reactos.org/roscms/lib/om/Generate.class.php
URL: 
http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/roscms/lib/om/Generate.class.php?rev=407&r1=406&r2=407&view=diff
==============================================================================
--- branches/danny-web/www/www.reactos.org/roscms/lib/om/Generate.class.php 
[iso-8859-1] (original)
+++ branches/danny-web/www/www.reactos.org/roscms/lib/om/Generate.class.php 
[iso-8859-1] Wed May  6 01:57:42 2009
@@ -208,7 +208,7 @@
     $file_name = $data_name.'.'.$file_extension;
 
     // information, what was generated
-    echo $this->lang_id.'--'.$file_name.'<br />';
+    echo $this->lang.'--'.$file_name.'<br />';
 
     // needed by replacing functions
     $this->page_name = $data_name;
@@ -281,7 +281,7 @@
       $file_name = $data_name.'_'.$i.'.'.$file_extension;
 
       // information, what was generated
-      echo $this->lang_id.'--'.$file_name.'<br />';
+      echo $this->lang.'--'.$file_name.'<br />';
 
       // needed by replacing functions
       $this->page_name = $data_name;
@@ -393,9 +393,7 @@
 
       // only run update once per $rev_id
       if ($dependency['type'] != 'script') {
-
         $this->update($dependency['id'], $dynamic_num);
-        break;
       }
     } // end while dependency
 

Reply via email to