phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] sitemgr/inc/class.Content_UI.inc.php, 1.12


From: nomail
Subject: [Phpgroupware-cvs] sitemgr/inc/class.Content_UI.inc.php, 1.12
Date: Wed, 21 Jul 2004 01:22:53 +0200

Update of /sitemgr/inc
Modified Files:
        Branch: 
          class.Content_UI.inc.php

date: 2004/07/20 23:22:53;  author: skwashd;  state: Exp;  lines: +15 -13

Log Message:
merge from 16
=====================================================================
Index: sitemgr/inc/class.Content_UI.inc.php
diff -u sitemgr/inc/class.Content_UI.inc.php:1.11 
sitemgr/inc/class.Content_UI.inc.php:1.12
--- sitemgr/inc/class.Content_UI.inc.php:1.11   Fri Jun  6 02:14:55 2003
+++ sitemgr/inc/class.Content_UI.inc.php        Tue Jul 20 23:22:53 2004
@@ -55,14 +55,14 @@
                                foreach ($this->sitelanguages as $lang)
                                {
                                        $selected= '';
-                                       if ($lang == $this->worklanguage)
-                                       {
-                                               $selected = 
'selected="selected" ';
-                                       }
-                                       $this->langselect .= '<option ' . 
$selected .'value="' . $lang . '">'. $GLOBALS['Common_BO']->getlangname($lang) 
. '</option>';
-                               }
-                               $this->langselect .= '</select> ';
-                       }
+                                        if ($lang == $this->worklanguage)
+                                        {
+                                                $selected = 
'selected="selected" ';
+                                        }
+                                        $this->langselect .= '<option ' . 
$selected .'value="' . $lang . '">'. $GLOBALS['Common_BO']->getlangname($lang) 
. '</option>';
+                                }
+                                $this->langselect .= '</select> ';
+                        }
                }
 
                function manage()
@@ -306,11 +306,12 @@
                        $this->t->set_block('Commit','Page','Pblock');
                        $this->t->set_block('Commit','Block','Bblock');
                        $this->t->set_var(array(
-                               'commit_manager' => lang('Commit changes'),
-                               'lang_categories' => lang('Categories'),
-                               'lang_pages' => lang('Pages'),
-                               'lang_blocks' => lang('Content blocks'),
-                               'lang_commit' => lang('Commit changes')
+                               'commit_manager'        => lang('Commit 
changes'),
+                               'lang_categories'       => lang('Categories'),
+                               'lang_pages'            => lang('Pages'),
+                               'lang_blocks'           => lang('Content 
blocks'),
+                               'lang_commit'           => lang('Commit 
changes'),
+                               'lang_select_all'       => lang('select all')
                        ));
 
                        //Categories
@@ -506,6 +507,7 @@
                        //TODO: wrap a module storage around createmodule as in 
template3, 
                        //TODO: so that we do not create the same module object 
twice
                        $moduleobject = 
$this->modulebo->createmodule($block->module_name);
+
                        $this->t->set_var(array(
                                'moduleinfo' => ($block->module_name),
                                'description' => $moduleobject->description,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]