[Top][All Lists]
[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¬e_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¬e_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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.23,1.24,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.22,1.23
- Next by Date:
[Phpgroupware-cvs] CVS: notes/templates/default form.xsl,1.2,1.3 list.xsl,1.3,1.4
- Previous by thread:
[Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.22,1.23
- Next by thread:
[Phpgroupware-cvs] CVS: notes/templates/default form.xsl,1.2,1.3 list.xsl,1.3,1.4
- Index(es):