phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: sitemgr/modules class.module_administration.inc.


From: Michael Totschnig <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/modules class.module_administration.inc.php,1.1,1.1.2.1 class.module_amazon.inc.php,1.1,1.1.2.1 class.module_appdir.inc.php,1.1,1.1.2.1 class.module_bookmarks.inc.php,1.2.2.1,1.2.2.2 class.module_calendar.inc.php,1.1,1.1.2.1 class.module_currentsection.inc.php,1.1,1.1.2.1 class.module_download.inc.php,1.1.2.1,1.1.2.2 class.module_filecontents.inc.php,1.1.2.1,1.1.2.2 class.module_forum.inc.php,1.1,1.1.2.1 class.module_galerie.inc.php,1.1,1.1.2.1 class.module_google.inc.php,1.1,1.1.2.1 class.module_hello.inc.php,1.1,1.1.2.1 class.module_html.inc.php,1.1,1.1.2.1 class.module_index.inc.php,1.1,1.1.2.1 class.module_lang_block.inc.php,1.1,1.1.2.1 class.module_login.inc.php,1.1,1.1.2.1 class.module_news.inc.php,1.2,1.2.2.1 class.module_redirect.inc.php,1.1,1.1.2.1 class.module_sitetree.inc.php,1.1.2.1,1.1.2.2 class.module_toc.inc.php,1.1,1.1.2.1 class.module_toc_block.inc.php,1.1,1.1.2.1 class.module_xml.inc.php,1.1,1.1.2.1
Date: Sat, 03 May 2003 17:10:43 -0400

Update of /cvsroot/phpgroupware/sitemgr/modules
In directory subversions:/tmp/cvs-serv29506/modules

Modified Files:
      Tag: Version-0_9_16-branch
        class.module_administration.inc.php 
        class.module_amazon.inc.php class.module_appdir.inc.php 
        class.module_bookmarks.inc.php class.module_calendar.inc.php 
        class.module_currentsection.inc.php 
        class.module_download.inc.php 
        class.module_filecontents.inc.php class.module_forum.inc.php 
        class.module_galerie.inc.php class.module_google.inc.php 
        class.module_hello.inc.php class.module_html.inc.php 
        class.module_index.inc.php class.module_lang_block.inc.php 
        class.module_login.inc.php class.module_news.inc.php 
        class.module_redirect.inc.php class.module_sitetree.inc.php 
        class.module_toc.inc.php class.module_toc_block.inc.php 
        class.module_xml.inc.php 
Log Message:
lang update from Reiner Jung

Index: class.module_administration.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/sitemgr/modules/class.module_administration.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_administration.inc.php 4 Mar 2003 17:57:00 -0000       1.1
--- class.module_administration.inc.php 3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 7,12 ****
                $this->arguments = array();
                $this->properties = array();
!               $this->title = "Administration";
!               $this->description = "This module presents a link back to the 
sitemgr's administration menu. It is meant for registered users";
        }
  
--- 7,12 ----
                $this->arguments = array();
                $this->properties = array();
!               $this->title = lang('Administration');
!               $this->description = lang('This module presents a link back to 
the sitemgr\'s administration menu. It is meant for registered users');
        }
  
***************
*** 16,18 ****
        }
  
! }
\ No newline at end of file
--- 16,18 ----
        }
  
! }

Index: class.module_amazon.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_amazon.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_amazon.inc.php 4 Mar 2003 17:57:00 -0000       1.1
--- class.module_amazon.inc.php 3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 23,28 ****
                $this->arguments = array();
                $this->properties = array();
!               $this->title = "Amazon";
!               $this->description = "Use this module for displaying book ads 
for the amazon web site ";
        }
  
--- 23,28 ----
                $this->arguments = array();
                $this->properties = array();
!               $this->title = lang('Amazon');
!               $this->description = lang('Use this module for displaying book 
ads for the amazon web site');
        }
  
***************
*** 47,49 ****
                        "<img src=\"images/amazon/$image\" border=\"0\" 
alt=\"\"><br><br></center>";
        }
! }
\ No newline at end of file
--- 47,49 ----
                        "<img src=\"images/amazon/$image\" border=\"0\" 
alt=\"\"><br><br></center>";
        }
! }

Index: class.module_appdir.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_appdir.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_appdir.inc.php 4 Mar 2003 17:57:00 -0000       1.1
--- class.module_appdir.inc.php 3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 10,15 ****
        {
                $this->arguments = array();
!               $this->title = "An application directory";
!               $this->description = "This module demonstrates how handling 
data stored in XML and building an interacvite interface from it";
        }
  
--- 10,15 ----
        {
                $this->arguments = array();
!               $this->title = lang('An application directory');
!               $this->description = lang('This module demonstrates how 
handling data stored in XML and building an interacvite interface from it');
        }
  
***************
*** 45,49 ****
                                $interface[] = $element;
                        }
!                       $element['label'] = 'Delete this application';
                        $element['form'] = $this->build_input_element(
                                array('type' => 'checkbox'),
--- 45,49 ----
                                $interface[] = $element;
                        }
!                       $element['label'] = lang('Delete this application');
                        $element['form'] = $this->build_input_element(
                                array('type' => 'checkbox'),
***************
*** 57,61 ****
                $element['form'] = '<hr>';
                $interface[] = $element;
!               $element['label'] = 'Add a new application';
                $element['form'] = $this->build_input_element(
                        array('type' => 'checkbox'),
--- 57,61 ----
                $element['form'] = '<hr>';
                $interface[] = $element;
!               $element['label'] = lang('Add a new application');
                $element['form'] = $this->build_input_element(
                        array('type' => 'checkbox'),
***************
*** 92,99 ****
                                'app',
                                array(
!                                       'name' => 'New application',
!                                       'maintainer' => 'Maintainer',
                                        'url' => 'http://',
!                                       'description' => 'Description'
                                )
                        );
--- 92,99 ----
                                'app',
                                array(
!                                       'name' => lang('New application'),
!                                       'maintainer' => lang('Maintainer'),
                                        'url' => 'http://',
!                                       'description' => lang('Description')
                                )
                        );
***************
*** 120,122 ****
                return $arguments['directory'];
        }
! }
\ No newline at end of file
--- 120,122 ----
                return $arguments['directory'];
        }
! }

Index: class.module_bookmarks.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_bookmarks.inc.php,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -r1.2.2.1 -r1.2.2.2
*** class.module_bookmarks.inc.php      8 Apr 2003 18:13:04 -0000       1.2.2.1
--- class.module_bookmarks.inc.php      3 May 2003 21:10:40 -0000       1.2.2.2
***************
*** 8,18 ****
        function module_bookmarks()
        {
!               $this->title = "Bookmarks";
!               $this->description = "This module displays bookmarks in a 
javascript based tree";
                $this->cookie = array('expanded');
                $this->arguments = array(
                        'category' => array(
!                               'type' => 'select', 
!                               'label' => 'Choose the categories to display', 
                                'options' => array(),
                                'multiple' => True
--- 8,18 ----
        function module_bookmarks()
        {
!               $this->title = lang('Bookmarks');
!               $this->description = lang('This module displays bookmarks in a 
javascript based tree');
                $this->cookie = array('expanded');
                $this->arguments = array(
                        'category' => array(
!                               'type' => select, 
!                               'label' => lang('Choose the categories to 
display'), 
                                'options' => array(),
                                'multiple' => True
***************
*** 58,60 ****
                return $bo->export($arguments['category'],'xbel',$expandedcats);
        }
! }
\ No newline at end of file
--- 58,60 ----
                return $bo->export($arguments['category'],'xbel',$expandedcats);
        }
! }

Index: class.module_calendar.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_calendar.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_calendar.inc.php       4 Mar 2003 17:57:00 -0000       1.1
--- class.module_calendar.inc.php       3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 17,22 ****
                        )
                );
!         $this->title = "Calendar";
!         $this->description = "This module displays the current month";
                $this->bo = CreateObject('calendar.bocalendar');
     }
--- 17,22 ----
                        )
                );
!         $this->title = lang('Calendar');
!         $this->description = lang('This module displays the current month');
                $this->bo = CreateObject('calendar.bocalendar');
     }
***************
*** 216,218 ****
                return $daily;
        }
! }
\ No newline at end of file
--- 216,218 ----
                return $daily;
        }
! }

Index: class.module_currentsection.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/sitemgr/modules/class.module_currentsection.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_currentsection.inc.php 4 Mar 2003 17:57:00 -0000       1.1
--- class.module_currentsection.inc.php 3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 7,12 ****
                $this->arguments = array();
                $this->properties = array();
!               $this->title = "Current Section";
!               $this->description = "This block displays the current section's 
table of contents";
        }
  
--- 7,12 ----
                $this->arguments = array();
                $this->properties = array();
!               $this->title = lang('Current Section');
!               $this->description = lang('This block displays the current 
section\'s table of contents');
        }
  
***************
*** 64,66 ****
                return $content;
        }
! }
\ No newline at end of file
--- 64,66 ----
                return $content;
        }
! }

Index: class.module_download.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_download.inc.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** class.module_download.inc.php       11 Apr 2003 15:30:43 -0000      1.1.2.1
--- class.module_download.inc.php       3 May 2003 21:10:40 -0000       1.1.2.2
***************
*** 8,31 ****
                        'path' => array(
                                'type' => 'textfield', 
!                               'label' => 'The path to the file to be 
downloaded'
                        ),
                        'file' => array(
                                'type' => 'textfield', 
!                               'label' => 'The file to be downloaded'
                        ),
                        'text' => array(
                                'type' => 'textfield',
!                               'label' => 'The text for the link, if empty the 
filename is used'
                        ),
                        'op' => array(
                                'type' => 'select',
!                               'label' => 'Should the file be viewed in the 
browser or downloaded',
!                               'options' => array(1 => 'viewed', 2 => 
'downloaded')
                        )
                );
                $this->post = array('name' => array('type' => 'textfield'));
                $this->session = array('name');
!               $this->title = "File download";
!               $this->description = "This module create a link for downloading 
a file from the VFS";
        }
  
--- 8,31 ----
                        'path' => array(
                                'type' => 'textfield', 
!                               'label' => lang('The path to the file to be 
downloaded')
                        ),
                        'file' => array(
                                'type' => 'textfield', 
!                               'label' => lang('The file to be downloaded')
                        ),
                        'text' => array(
                                'type' => 'textfield',
!                               'label' => lang('The text for the link, if 
empty the filename is used')
                        ),
                        'op' => array(
                                'type' => 'select',
!                               'label' => lang('Should the file be viewed in 
the browser or downloaded'),
!                               'options' => array(1 => lang('viewed'), 2 => 
lang('downloaded'))
                        )
                );
                $this->post = array('name' => array('type' => 'textfield'));
                $this->session = array('name');
!               $this->title = lang('File download');
!               $this->description = lang('This module create a link for 
downloading a file from the VFS');
        }
  
***************
*** 49,51 ****
                        '</a>';
        }
! }
\ No newline at end of file
--- 49,51 ----
                        '</a>';
        }
! }

Index: class.module_filecontents.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/sitemgr/modules/class.module_filecontents.inc.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** class.module_filecontents.inc.php   25 Apr 2003 03:01:20 -0000      1.1.2.1
--- class.module_filecontents.inc.php   3 May 2003 21:10:40 -0000       1.1.2.2
***************
*** 8,16 ****
                        'filepath' => array(
                                'type' => 'textfield', 
!                               'label' => 'The complete path to the file to be 
included'
                        )
                );
!               $this->title = "File contents";
!               $this->description = "This module includes the contents of a 
(world readable) file";
        }
  
--- 8,16 ----
                        'filepath' => array(
                                'type' => 'textfield', 
!                               'label' => lang('The complete path to the file 
to be included')
                        )
                );
!               $this->title = lang('File contents');
!               $this->description = lang('This module includes the contents of 
a (world readable) file');
        }
  
***************
*** 23,27 ****
                else
                {
!                       return "File is not world readable";
                }
        }
--- 23,27 ----
                else
                {
!                       return lang('File is not world readable');
                }
        }
***************
*** 31,35 ****
                if (!(fileperms($data['filepath']) & 00004))
                {
!                       $this->validation_error = "File is not world readable";
                        return false;
                }
--- 31,35 ----
                if (!(fileperms($data['filepath']) & 00004))
                {
!                       $this->validation_error = lang('File is not world 
readable');
                        return false;
                }
***************
*** 39,41 ****
                }
        }
! }
\ No newline at end of file
--- 39,41 ----
                }
        }
! }

Index: class.module_forum.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_forum.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_forum.inc.php  4 Mar 2003 17:57:00 -0000       1.1
--- class.module_forum.inc.php  3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 11,29 ****
                        'startlevel' => array(
                                'type' => 'select',
!                               'label' => 'With which view should the module 
be displayed in the beginning?',
                                'options' => array(
!                                       1 => 'Overview of all available 
categories',
!                                       2 => 'Overview of one specific 
category',
!                                       3 => 'Summary of one forum',
                                ),
                        ),
                        'startcat_id' => array(
                                'type' => 'select',
!                               'label' => 'Select a category',
                                'options' => Array(),
                        ),
                        'startforum_id' => array(
                                'type' => 'select',
!                               'label' => 'Select a forum',
                                'options' => Array(),
                        ),
--- 11,29 ----
                        'startlevel' => array(
                                'type' => 'select',
!                               'label' => lang('With which view should the 
module be displayed in the beginning?'),
                                'options' => array(
!                                       1 => lang('Overview of all available 
categories'),
!                                       2 => lang('Overview of one specific 
category'),
!                                       3 => lang('Summary of one forum'),
                                ),
                        ),
                        'startcat_id' => array(
                                'type' => 'select',
!                               'label' => lang('Select a category'),
                                'options' => Array(),
                        ),
                        'startforum_id' => array(
                                'type' => 'select',
!                               'label' => lang('Select a forum'),
                                'options' => Array(),
                        ),
***************
*** 31,36 ****
                $this->get = 
array('level','cat_id','forum_id','msg','pos','view');
                $this->session = array('level','cat_id','forum_id','view');
!               $this->title = "Discussions";
!               $this->description = "This module displays the phpgw forums on 
the web site";
                $this->bo = CreateObject('forum.boforum',1);
        }
--- 31,36 ----
                $this->get = 
array('level','cat_id','forum_id','msg','pos','view');
                $this->session = array('level','cat_id','forum_id','view');
!               $this->title = lang('Discussions');
!               $this->description = lang('This module displays the phpgw 
forums on the web site');
                $this->bo = CreateObject('forum.boforum',1);
        }
***************
*** 425,427 ****
        }
  
! }
\ No newline at end of file
--- 425,427 ----
        }
  
! }

Index: class.module_galerie.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_galerie.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_galerie.inc.php        4 Mar 2003 17:57:00 -0000       1.1
--- class.module_galerie.inc.php        3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 8,24 ****
                        'imagedirurl' => array(
                                'type' => 'textfield', 
!                               'label' => 'URL pointing to the directory where 
the images are found (no trailing slash)'
                        ),
                        'imagedirpath' => array(
                                'type' => 'textfield', 
!                               'label' => 'Filesystem path of the directory 
where the images are found (no trailing slash)'
                        ),
                        'imagename' => array(
                                'type' => 'textfield', 
!                               'label' => 'the images\' common name'
                        ),
                        'imagetype' => array(
                                'type' => 'select', 
!                               'label' => 'image type', 
                                'options' => array(
                                        'jpeg' => 'jpeg',
--- 8,24 ----
                        'imagedirurl' => array(
                                'type' => 'textfield', 
!                               'label' => lang('URL pointing to the directory 
where the images are found (no trailing slash)')
                        ),
                        'imagedirpath' => array(
                                'type' => 'textfield', 
!                               'label' => lang('Filesystem path of the 
directory where the images are found (no trailing slash)')
                        ),
                        'imagename' => array(
                                'type' => 'textfield', 
!                               'label' => lang('the images\' common name')
                        ),
                        'imagetype' => array(
                                'type' => 'select', 
!                               'label' => lang('image type'), 
                                'options' => array(
                                        'jpeg' => 'jpeg',
***************
*** 28,32 ****
                        ),
                );
!               $this->title = "Galerie";
                $this->post = array(
                        'prev' => array(
--- 28,32 ----
                        ),
                );
!               $this->title = lang('Galerie');
                $this->post = array(
                        'prev' => array(
***************
*** 40,44 ****
                );
                $this->session = array('filenumber');
!               $this->description = "A simple picture galery";
        }
  
--- 40,44 ----
                );
                $this->session = array('filenumber');
!               $this->description = lang('A simple picture galery');
        }
  
***************
*** 128,130 ****
                return $content;
        }
! }
\ No newline at end of file
--- 128,130 ----
                return $content;
        }
! }

Index: class.module_google.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_google.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_google.inc.php 4 Mar 2003 17:57:00 -0000       1.1
--- class.module_google.inc.php 3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 7,12 ****
                $this->arguments = array();
                $this->properties = array();
!               $this->title = "Google";
!               $this->description = "Interface to Google website";
        }
  
--- 7,12 ----
                $this->arguments = array();
                $this->properties = array();
!               $this->title = lang('Google');
!               $this->description = lang('Interface to Google website');
        }
  
***************
*** 22,24 ****
                return $content;
        }
! }
\ No newline at end of file
--- 22,24 ----
                return $content;
        }
! }

Index: class.module_hello.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_hello.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_hello.inc.php  4 Mar 2003 17:57:00 -0000       1.1
--- class.module_hello.inc.php  3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 8,18 ****
                        'name' => array(
                                'type' => 'textfield', 
!                               'label' => 'The person to say hello to'
                        )
                );
                $this->post = array('name' => array('type' => 'textfield'));
                $this->session = array('name');
!               $this->title = "Hello world";
!               $this->description = "This is a simple sample module";
        }
  
--- 8,18 ----
                        'name' => array(
                                'type' => 'textfield', 
!                               'label' => lang('The person to say hello to')
                        )
                );
                $this->post = array('name' => array('type' => 'textfield'));
                $this->session = array('name');
!               $this->title = lang('Hello world');
!               $this->description = lang('This is a simple sample module');
        }
  
***************
*** 30,36 ****
                {
                        $data['name'] = strtolower($data['name']);
!                       $this->validation_error = "Name has been translated to 
lower case";
                }
                return true;
        }
! }
\ No newline at end of file
--- 30,36 ----
                {
                        $data['name'] = strtolower($data['name']);
!                       $this->validation_error = lang('Name has been 
translated to lower case');
                }
                return true;
        }
! }

Index: class.module_html.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_html.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_html.inc.php   4 Mar 2003 17:57:00 -0000       1.1
--- class.module_html.inc.php   3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 8,19 ****
                                'htmlcontent' => array(
                                        'type' => 'textarea', 
!                                       'label' => 'Enter the page content 
here', 
                                        'i18n' => True,
                                        'params' => Array('cols' => 50, 'rows' 
=> 15)
                                )
                        );
!                       $this->properties = array('striphtml' => array('type' 
=> 'checkbox', 'label' => 'Strip HTML from block content?'));
!                       $this->title = "HTML module";
!                       $this->description = "This module is a simple HTML 
editor";
                }
  
--- 8,19 ----
                                'htmlcontent' => array(
                                        'type' => 'textarea', 
!                                       'label' => lang('Enter the page content 
here'), 
                                        'i18n' => True,
                                        'params' => Array('cols' => 50, 'rows' 
=> 15)
                                )
                        );
!                       $this->properties = array('striphtml' => array('type' 
=> 'checkbox', 'label' => lang('Strip HTML from block content?')));
!                       $this->title = lang('HTML module');
!                       $this->description = lang('This module is a simple HTML 
editor');
                }
  
***************
*** 23,25 ****
                        return $properties['striphtml'] ? 
$GLOBALS['phpgw']->strip_html($arguments['htmlcontent']) : 
$arguments['htmlcontent'];
                }
!       }
\ No newline at end of file
--- 23,25 ----
                        return $properties['striphtml'] ? 
$GLOBALS['phpgw']->strip_html($arguments['htmlcontent']) : 
$arguments['htmlcontent'];
                }
!       }

Index: class.module_index.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_index.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_index.inc.php  4 Mar 2003 17:57:00 -0000       1.1
--- class.module_index.inc.php  3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 7,11 ****
                        $this->arguments = array();
                        $this->title = "Site Index";
!                       $this->description = "This module provides the site 
index, it is automatically used by the index GET parameter";
                }
  
--- 7,11 ----
                        $this->arguments = array();
                        $this->title = "Site Index";
!                       $this->description = lang('This module provides the 
site index, it is automatically used by the index GET parameter');
                }
  

Index: class.module_lang_block.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/sitemgr/modules/class.module_lang_block.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_lang_block.inc.php     4 Mar 2003 17:57:00 -0000       1.1
--- class.module_lang_block.inc.php     3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 7,12 ****
                        $this->arguments = array();
                        $this->properties = array();
!                       $this->title = "Choose language";
!                       $this->description = "This module lets users choose 
language";
                }
        
--- 7,12 ----
                        $this->arguments = array();
                        $this->properties = array();
!                       $this->title = lang('Choose language');
!                       $this->description = lang('This module lets users 
choose language');
                }
        
***************
*** 36,38 ****
                        }
                }
!       }
\ No newline at end of file
--- 36,38 ----
                        }
                }
!       }

Index: class.module_login.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_login.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_login.inc.php  4 Mar 2003 17:57:00 -0000       1.1
--- class.module_login.inc.php  3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 8,17 ****
                        'registration' => array(
                                'type' => 'checkbox',
!                               'label' => 'Display link to autoregistration 
below login form?'
                        )
                );
                $this->properties = array();
!               $this->title = "Login";
!               $this->description = "This module displays a login form";
        }
  
--- 8,17 ----
                        'registration' => array(
                                'type' => 'checkbox',
!                               'label' => lang('Display link to 
autoregistration below login form?')
                        )
                );
                $this->properties = array();
!               $this->title = lang('Login');
!               $this->description = lang('This module displays a login form');
        }
  
***************
*** 35,37 ****
                return $content;
        }
! }
\ No newline at end of file
--- 35,37 ----
                return $content;
        }
! }

Index: class.module_news.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_news.inc.php,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -r1.2 -r1.2.2.1
*** class.module_news.inc.php   7 Mar 2003 05:39:03 -0000       1.2
--- class.module_news.inc.php   3 May 2003 21:10:40 -0000       1.2.2.1
***************
*** 30,37 ****
                {
                        //specification of options is postponed into the 
get_user_interface function
!                       $this->arguments = array('category' => array('type' => 
'select', 'label' => 'Choose a category', 'options' => array()));
                        $this->properties = array();
!                       $this->title = "News module";
!                       $this->description = "This module is just a first trial 
of hooking news_admin into sitmgr's new architecture.";
                }
  
--- 30,37 ----
                {
                        //specification of options is postponed into the 
get_user_interface function
!                       $this->arguments = array('category' => array('type' => 
'select', 'label' => lang('Choose a category'), 'options' => array()));
                        $this->properties = array();
!                       $this->title = lang('News module');
!                       $this->description = ('This module is just a first 
trial of hooking news_admin into sitmgr\'s new architecture.');
                }
  
***************
*** 42,46 ****
                        $cat = 
createobject('phpgwapi.categories','','news_admin');
                        $cats = $cat->return_array('mains',0,False);
!                       $cat_ids = array(0 => 'Mains');
                        while (list(,$category) = @each($cats))
                        {
--- 42,46 ----
                        $cat = 
createobject('phpgwapi.categories','','news_admin');
                        $cats = $cat->return_array('mains',0,False);
!                       $cat_ids = array(0 => lang('Mains'));
                        while (list(,$category) = @each($cats))
                        {
***************
*** 68,70 ****
                        return $bonews->get_NewsList($arguments['category'], 
false);
                }
!       }
\ No newline at end of file
--- 68,70 ----
                        return $bonews->get_NewsList($arguments['category'], 
false);
                }
!       }

Index: class.module_redirect.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_redirect.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_redirect.inc.php       4 Mar 2003 17:57:00 -0000       1.1
--- class.module_redirect.inc.php       3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 8,16 ****
                        'URL' => array(
                                'type' => 'textfield', 
!                               'label' => 'The URL to redirect to'
                        )
                );
!               $this->title = "Redirection";
!               $this->description = "This module lets you define pages that 
redirect to another URL, if you use it, there should be no other block defined 
for the page";
        }
  
--- 8,16 ----
                        'URL' => array(
                                'type' => 'textfield', 
!                               'label' => lang('The URL to redirect to')
                        )
                );
!               $this->title = lang('Redirection');
!               $this->description = lang('This module lets you define pages 
that redirect to another URL, if you use it, there should be no other block 
defined for the page');
        }
  
***************
*** 20,22 ****
                exit;
        }
! }
\ No newline at end of file
--- 20,22 ----
                exit;
        }
! }

Index: class.module_sitetree.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_sitetree.inc.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** class.module_sitetree.inc.php       11 Apr 2003 15:30:43 -0000      1.1.2.1
--- class.module_sitetree.inc.php       3 May 2003 21:10:40 -0000       1.1.2.2
***************
*** 8,13 ****
                $this->properties = array();
                $this->cookie = array('menutree');
!               $this->title = "Site Tree Menu";
!               $this->description = "This block displays a javascript based 
tree menu";
                $this->expandedcats;
        }
--- 8,13 ----
                $this->properties = array();
                $this->cookie = array('menutree');
!               $this->title = lang('Site Tree Menu');
!               $this->description = lang('This block displays a javascript 
based tree menu');
                $this->expandedcats;
        }
***************
*** 135,137 ****
                return $content;
        }
! }
\ No newline at end of file
--- 135,137 ----
                return $content;
        }
! }

Index: class.module_toc.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_toc.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_toc.inc.php    4 Mar 2003 17:57:00 -0000       1.1
--- class.module_toc.inc.php    3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 5,11 ****
                function module_toc()
                {
!                       $this->arguments = array('category_id' => array('type' 
=> 'textfield', 'label' => 'The category to display, 0 for complete table of 
contents'));
!                       $this->title = "Table of contents";
!                       $this->description = "This module provides a complete 
table of contents, it is automatically used by the toc and category_id GET 
parameters";
                }
  
--- 5,11 ----
                function module_toc()
                {
!                       $this->arguments = array('category_id' => array('type' 
=> 'textfield', 'label' => lang('The category to display, 0 for complete table 
of contents')));
!                       $this->title = lang('Table of contents');
!                       $this->description = lang('This module provides a 
complete table of contents, it is automatically used by the toc and category_id 
GET parameters');
                }
  

Index: class.module_toc_block.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_toc_block.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_toc_block.inc.php      4 Mar 2003 17:57:00 -0000       1.1
--- class.module_toc_block.inc.php      3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 6,11 ****
        {
                $this->arguments = array();
!               $this->title = "Table of contents";
!               $this->description = "This module provides a condensed table of 
contents, meant for side areas";
        }
  
--- 6,11 ----
        {
                $this->arguments = array();
!               $this->title = lang('Table of contents');
!               $this->description = lang('This module provides a condensed 
table of contents, meant for side areas');
        }
  

Index: class.module_xml.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/modules/class.module_xml.inc.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** class.module_xml.inc.php    4 Mar 2003 17:57:00 -0000       1.1
--- class.module_xml.inc.php    3 May 2003 21:10:40 -0000       1.1.2.1
***************
*** 9,15 ****
        {
                $this->arguments = array(
!                       'dirpath' => array('type' => 'textfield', 'label' => 
'Filesystem path of the directory where XML files are stored'),
!                       'filename' => array('type' => 'textfield', 'label' => 
'the XML files\' common name'),
!                       'xsltfile' => array('type' => 'textfield', 'label' => 
'Full path of the XSLT file that should be applied to the XML files')
                );
                $this->post = array(
--- 9,15 ----
        {
                $this->arguments = array(
!                       'dirpath' => array('type' => 'textfield', 'label' => 
lang('Filesystem path of the directory where XML files are stored')),
!                       'filename' => array('type' => 'textfield', 'label' => 
lang('the XML files\' common name')),
!                       'xsltfile' => array('type' => 'textfield', 'label' => 
lang('Full path of the XSLT file that should be applied to the XML files'))
                );
                $this->post = array(
***************
*** 24,29 ****
                );
                $this->session = array('filenumber');
!               $this->title = "XML browser";
!               $this->description = "This module permits browsing through XML 
files stored in a directory, and transformed by XSLT";
        }
  
--- 24,29 ----
                );
                $this->session = array('filenumber');
!               $this->title = lang('XML browser');
!               $this->description = lang('This module permits browsing through 
XML files stored in a directory, and transformed by XSLT');
        }
  
***************
*** 78,80 ****
                return implode('',@file($arguments['dirpath'] . SEP . 
$arguments['filename'] . $arguments['filenumber'] . '.xml'));
        }
! }
\ No newline at end of file
--- 78,80 ----
                return implode('',@file($arguments['dirpath'] . SEP . 
$arguments['filename'] . $arguments['filenumber'] . '.xml'));
        }
! }





reply via email to

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