phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] sitemgr/modules class.module_html.inc.php, 1.1.2.2.4.


From: skwashd
Subject: [Phpgroupware-cvs] sitemgr/modules class.module_html.inc.php, 1.1.2.2.4.1
Date: Sat, 12 Nov 2005 15:11:00 +0100

Update of sitemgr/modules

Modified Files:
     Branch: skwashd-16-compat
            class.module_html.inc.php lines: +2 -2

Log Message:
.

====================================================
Index: sitemgr/modules/class.module_html.inc.php
diff -u sitemgr/modules/class.module_html.inc.php:1.1 
sitemgr/modules/class.module_html.inc.php:1.1.2.2.4.1
--- sitemgr/modules/class.module_html.inc.php:1.1       Tue Mar  4 17:57:00 2003
+++ sitemgr/modules/class.module_html.inc.php   Sat Nov 12 14:11:58 2005
@@ -4,17 +4,18 @@
        {
                function module_html()
                {
+                       $this->i18n = true;
                        $this->arguments = array(
                                'htmlcontent' => array(
-                                       'type' => 'textarea',
-                                       'label' => 'Enter the page content 
here',
+                                       'type' => 'richtext', //'textarea',
+                                       'label' => lang('Enter the block 
content here'),
                                        'i18n' => True,
-                                       'params' => Array('cols' => 50, 'rows' 
=> 15)
+                                       'params' => array('width' => 650, 
'height' => 250)
                                )
                        );
-                       $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";
+                       $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');
                }


@@ -22,4 +23,4 @@
                {
                        return $properties['striphtml'] ? 
$GLOBALS['phpgw']->strip_html($arguments['htmlcontent']) : 
$arguments['htmlcontent'];
                }
-       }
\ No newline at end of file
+       }






reply via email to

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