[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.16.2.3,1.16.2.4
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.16.2.3,1.16.2.4 |
Date: |
Thu, 03 Oct 2002 15:27:12 -0400 |
Update of /cvsroot/phpgroupware/notes/inc
In directory subversions:/tmp/cvs-serv11625
Modified Files:
Tag: eTemplate
class.ui.inc.php
Log Message:
use readonly select-boxes to display owner-name and categorie
Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/notes/inc/class.ui.inc.php,v
retrieving revision 1.16.2.3
retrieving revision 1.16.2.4
diff -C2 -r1.16.2.3 -r1.16.2.4
*** class.ui.inc.php 1 Oct 2002 23:16:43 -0000 1.16.2.3
--- class.ui.inc.php 3 Oct 2002 19:27:09 -0000 1.16.2.4
***************
*** 155,159 ****
$content['header'] = 'Notes - View note for';
$this->tpl->read('notes.view');
! $content['cat'] =
$this->cats->id2name($content['cat']);
$no_button['delete'] =
!$this->bo->check_perms($this->bo->grants[$content['owner']],PHPGW_ACL_DELETE);
$no_button['edit'] =
!$this->bo->check_perms($this->bo->grants[$content['owner']],PHPGW_ACL_EDIT);
--- 155,159 ----
$content['header'] = 'Notes - View note for';
$this->tpl->read('notes.view');
! $no_button['content'] = $no_button['cat_id'] =
$no_button['access'] = True; // make the tpl readonly
$no_button['delete'] =
!$this->bo->check_perms($this->bo->grants[$content['owner']],PHPGW_ACL_DELETE);
$no_button['edit'] =
!$this->bo->check_perms($this->bo->grants[$content['owner']],PHPGW_ACL_EDIT);
***************
*** 175,179 ****
}
$content['user'] =
$GLOBALS['phpgw_info']['user']['fullname'];
- $content['owner'] =
$GLOBALS['phpgw']->accounts->id2name($content['owner_id'] = $content['owner']);
$this->tpl->exec('notes.ui.edit',$content,'',$no_button,array('id' => $id));
--- 175,178 ----
***************
*** 196,201 ****
{
$content =
$this->bo->read_single($values);
- $content['cat'] =
$this->cats->id2name($content['cat']);
- $content['owner'] =
$GLOBALS['phpgw']->accounts->id2name($content['owner_id'] = $content['owner']);
$this->tpl->read('notes.delete');
$this->tpl->exec('notes.ui.delete',$content,'','',array('id' => $values));
--- 195,198 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.16.2.3,1.16.2.4,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: etemplate/doc referenz.html,1.4,1.5
- Next by Date:
[Phpgroupware-cvs] CVS: notes/templates/default delete.xet,1.1.2.2,1.1.2.3 edit.xet,1.1.2.3,1.1.2.4 view.xet,1.1.2.1,1.1.2.2
- Previous by thread:
[Phpgroupware-cvs] CVS: etemplate/doc referenz.html,1.4,1.5
- Next by thread:
[Phpgroupware-cvs] CVS: notes/templates/default delete.xet,1.1.2.2,1.1.2.3 edit.xet,1.1.2.3,1.1.2.4 view.xet,1.1.2.1,1.1.2.2
- Index(es):