phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.23,1.24


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.23,1.24
Date: Mon, 23 Sep 2002 13:03:01 -0400

Update of /cvsroot/phpgroupware/notes/inc
In directory subversions:/tmp/cvs-serv29301/inc

Modified Files:
        class.ui.inc.php 
Log Message:
update

Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/notes/inc/class.ui.inc.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** class.ui.inc.php    23 Sep 2002 03:39:55 -0000      1.23
--- class.ui.inc.php    23 Sep 2002 17:02:59 -0000      1.24
***************
*** 493,508 ****
                        }
  
!                       $data[] = array
                        (
                                'form_action'   => 
$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.edit&note_id=' . 
$note_id),
                                'done_action'   => 
$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.index'),
                                'lang_content'  => lang('content'),
!                               'lang_access'   => lang('privat'),
                                'lang_save'             => lang('save'),
                                'lang_done'             => lang('done'),
                                'value_content' => 
$GLOBALS['phpgw']->strip_html($note['content']),
!                               'value_acces'   => $note['access'],
                                'message'               => $message
                        );
  
                        $this->tpl->set_var('form_data',$data);
--- 493,515 ----
                        }
  
!                       $data = array
                        (
                                'form_action'   => 
$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.edit&note_id=' . 
$note_id),
                                'done_action'   => 
$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.index'),
                                'lang_content'  => lang('content'),
!                               'lang_access'   => lang('private'),
                                'lang_save'             => lang('save'),
                                'lang_done'             => lang('done'),
                                'value_content' => 
$GLOBALS['phpgw']->strip_html($note['content']),
!                               'value_access'  => $note['access'],
                                'message'               => $message
                        );
+ 
+                       if ($data['value_access'] == 'public')
+                       {
+                               unset($data['value_access']);
+                       }
+ 
+                       //_debug_array($data);
  
                        $this->tpl->set_var('form_data',$data);





reply via email to

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