phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: sitemgr/inc class.Common_UI.inc.php,1.8,1.9 clas


From: Michael Totschnig <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/inc class.Common_UI.inc.php,1.8,1.9 class.Content_UI.inc.php,1.3,1.4 class.Modules_UI.inc.php,1.2,1.3 class.SiteContent_UI.inc.php,1.1,1.2
Date: Sat, 03 May 2003 17:08:13 -0400

Update of /cvsroot/phpgroupware/sitemgr/inc
In directory subversions:/tmp/cvs-serv29240/inc

Modified Files:
        class.Common_UI.inc.php class.Content_UI.inc.php 
        class.Modules_UI.inc.php class.SiteContent_UI.inc.php 
Log Message:
lang update from Reiner Jung

Index: class.Common_UI.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Common_UI.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** class.Common_UI.inc.php     17 Jan 2003 03:37:52 -0000      1.8
--- class.Common_UI.inc.php     3 May 2003 21:08:11 -0000       1.9
***************
*** 128,133 ****
                                    $preferences['sitemgr-site-name-' . $lang] 
= array(
                                        'title'=>lang('Site name'). ' ' . 
$GLOBALS['Common_BO']->getlangname($lang),
!                                       'note'=>'(This is used chiefly for meta 
data and the title bar. If you change the site languages below you have to save 
before being able to set this preference for a new language.)',
!                                       'default'=>'New sitemgr site'
                                    );
                                  }
--- 128,133 ----
                                    $preferences['sitemgr-site-name-' . $lang] 
= array(
                                        'title'=>lang('Site name'). ' ' . 
$GLOBALS['Common_BO']->getlangname($lang),
!                                       'note'=>lang('This is used chiefly for 
meta data and the title bar. If you change the site languages below you have to 
save before being able to set this preference for a new language.'),
!                                       'default'=>lang('New sitemgr site')
                                    );
                                  }
***************
*** 135,147 ****
                                $preferences['sitemgr-site-url']=array(
                                        'title'=>lang('URL to sitemgr-site'),
!                                       'note'=>'(The URL can be relative or 
absolute.  Name must end in a slash.)'
                                );
                                $preferences['sitemgr-site-dir']=array(
                                        'title'=>lang('Filesystem path to 
sitemgr-site directory'),
!                                       'note'=>'(This must be an absolute 
directory location.  <b>No trailing slash</b>.)'
                                );
                                $preferences['home-page-id'] = array(
                                        'title'=>lang('Default home page ID 
number'),
!                                       'note'=>'(This should be a page that is 
readable by everyone. If you leave this blank, the site index will be shown by 
default.)',
                                        'input'=>'option',
                                        
'options'=>$this->pages_bo->getPageOptionList()
--- 135,147 ----
                                $preferences['sitemgr-site-url']=array(
                                        'title'=>lang('URL to sitemgr-site'),
!                                       'note'=>lang('The URL can be relative 
or absolute.  Name must end in a slash.')
                                );
                                $preferences['sitemgr-site-dir']=array(
                                        'title'=>lang('Filesystem path to 
sitemgr-site directory'),
!                                       'note'=>lang('This must be an absolute 
directory location.  <b>No trailing slash</b>.')
                                );
                                $preferences['home-page-id'] = array(
                                        'title'=>lang('Default home page ID 
number'),
!                                       'note'=>lang('This should be a page 
that is readable by everyone. If you leave this blank, the site index will be 
shown by default.'),
                                        'input'=>'option',
                                        
'options'=>$this->pages_bo->getPageOptionList()
***************
*** 155,169 ****
                                $preferences['anonymous-user'] = array(
                                        'title'=>lang('Anonymous user\'s 
username'),
!                                       'note'=>'(If you haven\'t done so 
already, create a user that will be used for public viewing of the site.  
Recommended name: anonymous.)',
                                        'default'=>'anonymous'
                                );
                                $preferences['anonymous-passwd'] = array(
                                        'title'=>lang('Anonymous user\'s 
password'),
!                                       'note'=>'(Password that you assigned 
for the aonymous user account.)',
                                        'default'=>'anonymous'
                                );
                                $preferences['themesel'] = array(
                                        'title'=>lang('Template select'),
!                                       'note'=>'(Choose your site\'s theme or 
template.  Note that if you changed the above checkbox you need to save before 
choosing a theme or template.)',
                                        'input'=>'option',
                                        
'options'=>$this->theme->getAvailableThemes(),
--- 155,169 ----
                                $preferences['anonymous-user'] = array(
                                        'title'=>lang('Anonymous user\'s 
username'),
!                                       'note'=>lang('If you haven\'t done so 
already, create a user that will be used for public viewing of the site.  
Recommended name: anonymous.'),
                                        'default'=>'anonymous'
                                );
                                $preferences['anonymous-passwd'] = array(
                                        'title'=>lang('Anonymous user\'s 
password'),
!                                       'note'=>lang('Password that you 
assigned for the aonymous user account.'),
                                        'default'=>'anonymous'
                                );
                                $preferences['themesel'] = array(
                                        'title'=>lang('Template select'),
!                                       'note'=>lang('Choose your site\'s theme 
or template.  Note that if you changed the above checkbox you need to save 
before choosing a theme or template.'),
                                        'input'=>'option',
                                        
'options'=>$this->theme->getAvailableThemes(),
***************
*** 172,176 ****
                                $preferences['sitelanguages'] = array(
                                        'title'=>lang('Languages the site user 
can choose from'),
!                                       'note'=>'(This should be a 
comma-separated list of language-codes.)',
                                        'default'=>'en'
                                );
--- 172,176 ----
                                $preferences['sitelanguages'] = array(
                                        'title'=>lang('Languages the site user 
can choose from'),
!                                       'note'=>lang('This should be a 
comma-separated list of language-codes.'),
                                        'default'=>'en'
                                );
***************
*** 181,185 ****
                                $this->t->set_var(Array('setup_instructions' => 
lang('SiteMgr Setup Instructions'),
                                                        'options' => 
lang('SiteMgr Options'),
!                                                       'lang_save' => 
lang('Save')
                                ));
                                                       
--- 181,189 ----
                                $this->t->set_var(Array('setup_instructions' => 
lang('SiteMgr Setup Instructions'),
                                                        'options' => 
lang('SiteMgr Options'),
!                                                       'lang_save' => 
lang('Save'),
!                                                       'lang_subdir' => 
lang('There are two subdirectories off of your sitemgr directory that you 
should move before you do anything else.  You don\'t <i>have</i> to move either 
of these directories, although you will probably want to.'),
!                                                       'lang_first_directory' 
=> lang('The first directory to think about is sitemgr-link.  If you move this 
to the parent directory of sitemgr (your phpgroupware root directory) then you 
can use setup to install the app and everyone with access to the app will get 
an icon on their navbar that links them directly to the public web site.  If 
you don\'t want this icon, there\'s no reason to ever bother with the 
directory.'),
!                                                       'lang_second_directory' 
=> lang('The second directory is the sitemgr-site directory.  This can be moved 
<i>anywhere</i>.  It can also be named <i>anything</i>.  Wherever it winds up, 
when you point a web browser to it, you will get the generated website.  
Assuming, of course, that you\'ve accurately completed the setup fields below 
and also <b><i>edited the config.inc.php</i></b> file.'),
!                                                       'lang_edit_config_inc}' 
=> lang('The config.inc.php file needs to be edited to point to the 
phpGroupWare directory. Copy the config.inc.php.template file to config.inc.php 
and then edit it.')
                                ));
                                                       

Index: class.Content_UI.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Content_UI.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** class.Content_UI.inc.php    10 Mar 2003 07:01:20 -0000      1.3
--- class.Content_UI.inc.php    3 May 2003 21:08:11 -0000       1.4
***************
*** 26,33 ****
                        $this->modulebo = &$GLOBALS['Common_BO']->modules;
                        $this->viewable = array(
!                               '0' => 'everybody',
!                               '1' => 'phpgw users',
!                               '2' => 'administrators',
!                               '3' => 'anonymous'
                        );
                        $preferenceso = 
CreateObject('sitemgr.sitePreference_SO', true);
--- 26,33 ----
                        $this->modulebo = &$GLOBALS['Common_BO']->modules;
                        $this->viewable = array(
!                               '0' => lang('everybody'),
!                               '1' => lang('phpgw users'),
!                               '2' => lang('administrators'),
!                               '3' => lang('anonymous')
                        );
                        $preferenceso = 
CreateObject('sitemgr.sitePreference_SO', true);
***************
*** 230,235 ****
                                                                
$this->t->set_var(Array(
                                                                        
'blockid' => $id,
!                                                                       
'savebutton' => '<input type="submit" value="Save" name="btnSaveBlock" />',
!                                                                       
'deletebutton' => '<input type="submit" value="Delete" name="btnDeleteBlock" 
/>',
                                                                        
'validationerror' => ($id == $blockid && $this->errormsg) ? 
join('<br>',$this->errormsg) : '',
                                                                ));
--- 230,236 ----
                                                                
$this->t->set_var(Array(
                                                                        
'blockid' => $id,
!                                                                       
'savebutton' => lang('Save'),
!                                                                       
'deletebutton' => lang('Delete'),
!                                                                       
'contentarea' => lang('Contentarea'),
                                                                        
'validationerror' => ($id == $blockid && $this->errormsg) ? 
join('<br>',$this->errormsg) : '',
                                                                ));

Index: class.Modules_UI.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Modules_UI.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** class.Modules_UI.inc.php    4 Mar 2003 17:26:43 -0000       1.2
--- class.Modules_UI.inc.php    3 May 2003 21:08:11 -0000       1.3
***************
*** 51,56 ****
                                $this->t->set_var(array(
                                        'module_manager' => lang('Module 
manager'),
!                                       'help' => 'You can choose the modules 
that can be used on the site. The first list is a sort of master list, that is 
consulted if you do not configure lists specific to contentareas or 
(sub)categories. Then you can choose lists specific to each content area. In 
the category manager these lists can be overriden for each (sub)category.',
                                        'lang_findmodules' => lang('Register 
new modules'),
                                        'cat_name' => ($cat_name ? (' - ' . 
$cat_name) : ''),
                                        'managelink' => ($managelink ? ('<a 
href="' . $managelink . '">&lt; ' . lang('Go to') . ' ' . $goto . ' &gt;</a>') 
: '')
--- 51,58 ----
                                $this->t->set_var(array(
                                        'module_manager' => lang('Module 
manager'),
!                                       'lang_help_module_manager' => lang('You 
can choose the modules that can be used on the site. The first list is a sort 
of master list, that is consulted if you do not configure lists specific to 
contentareas or (sub)categories. Then you can choose lists specific to each 
content area. In the category manager these lists can be overriden for each 
(sub)category.'),
                                        'lang_findmodules' => lang('Register 
new modules'),
+                                       'lang_select_allowed_modules' => 
lang('Select allowed modules'),
+                                       'lang_configure_module_properties' => 
lang('Configure module properties'),
                                        'cat_name' => ($cat_name ? (' - ' . 
$cat_name) : ''),
                                        'managelink' => ($managelink ? ('<a 
href="' . $managelink . '">&lt; ' . lang('Go to') . ' ' . $goto . ' &gt;</a>') 
: '')
***************
*** 167,174 ****
  
                                $this->t->set_var(Array(
!                                       'module_edit' => lang(
!                                               'Edit properties of module %1 
for %2 with scope %3',
                                                $module['module_name'],
!                                               ($inputarea == '__PAGE__' ? 
'the whole page' : ('Contentarea ' . $inputarea)),
                                                ($cat_id ? ('category ' . 
$cat_name) : ' the whole site')
                                        ),
--- 169,175 ----
  
                                $this->t->set_var(Array(
!                                       'module_edit' => lang('Edit properties 
of module %1 for %2 with scope %3',
                                                $module['module_name'],
!                                               ($inputarea == '__PAGE__' ? 
lang('the whole page') : (lang('Contentarea') . $inputarea)),
                                                ($cat_id ? ('category ' . 
$cat_name) : ' the whole site')
                                        ),
***************
*** 176,183 ****
                                        'contentarea' => $inputarea,
                                        'savebutton' => ($editormoduleelements 
? 
!                                               '<input type="submit" 
value="Save" name="btnSaveProperties" />' :
                                                lang('There are no properties 
defined for this module')
                                        ),
!                                       'deletebutton' => $properties === False 
? '' : '<input type="submit" value="Delete" name="btnDeleteProperties" />'
                                        )
                                );
--- 177,184 ----
                                        'contentarea' => $inputarea,
                                        'savebutton' => ($editormoduleelements 
? 
!                                               '<input type="submit" 
value="'.lang('Save').'" name="btnSaveProperties" />' :
                                                lang('There are no properties 
defined for this module')
                                        ),
!                                       'deletebutton' => $properties === False 
? '' : '<input type="submit" value="'.lang('Delete').'" 
name="btnDeleteProperties" />'
                                        )
                                );
***************
*** 222,224 ****
                        return $returnValue;
                }
!       }
\ No newline at end of file
--- 223,225 ----
                        return $returnValue;
                }
!       }

Index: class.SiteContent_UI.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.SiteContent_UI.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.SiteContent_UI.inc.php        17 Jan 2003 03:37:52 -0000      1.1
--- class.SiteContent_UI.inc.php        3 May 2003 21:08:11 -0000       1.2
***************
*** 52,57 ****
                                (
                                        'site_format_manager' => lang('Site 
Format Manager'),
!                                       'lang_reset' => lang('Reset'),
!                                       'lang_save' => lang('Save')
                                ));
  
--- 52,57 ----
                                (
                                        'site_format_manager' => lang('Site 
Format Manager'),
!                                       'lang_save' => lang('Save'),
!                                       'lang_reset' => lang('Reset')
                                ));
  





reply via email to

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