[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.15,1.16
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.15,1.16 |
Date: |
Tue, 17 Sep 2002 19:10:21 -0400 |
Update of /cvsroot/phpgroupware/notes/inc
In directory subversions:/tmp/cvs-serv15400/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.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** class.ui.inc.php 17 Sep 2002 22:09:41 -0000 1.15
--- class.ui.inc.php 17 Sep 2002 23:10:18 -0000 1.16
***************
*** 103,141 ****
}
! function index($content = '')
{
//echo "<p>notes.ui.list_notes: content[nm][rows] = ";
//_debug_array($content);
! if ($content == '')
{
! $content = array();
}
! elseif (isset($content['nm']['rows']['edit']))
{
! list($id) =
each($content['nm']['rows']['edit']);
return $this->edit($id);
}
! elseif (isset($content['nm']['rows']['delete']))
{
! list($id) =
each($content['nm']['rows']['delete']);
return $this->delete($id);
}
$this->tpl->read('notes.index');
! $filter_list = array(
! 'all' => 'Show all',
! 'public' => 'Only yours',
! 'private' => 'Private'
);
! $content['nm'] = array(
! 'start' => $this->start,
! 'search' => $this->search,
! 'filter' => $this->filter,
! 'cat_id' => $this->cat_id,
! 'get_rows' => 'notes.bo.get_rows',
! 'no_filter2' => True,
! 'options-filter' => $filter_list
);
! $this->tpl->exec('notes.ui.index',$content);
}
--- 103,149 ----
}
! function index($values = 0)
{
//echo "<p>notes.ui.list_notes: content[nm][rows] = ";
//_debug_array($content);
! if (!is_array($values))
{
! $values = array();
}
!
! if ($values['add'])
! {
! return $this->edit();
! }
! elseif (isset($values['nm']['rows']['edit']))
{
! list($id) = each($values['nm']['rows']['edit']);
return $this->edit($id);
}
! elseif (isset($values['nm']['rows']['delete']))
{
! list($id) =
each($values['nm']['rows']['delete']);
return $this->delete($id);
}
$this->tpl->read('notes.index');
! $filter_list = array
! (
! 'all' => 'Show all',
! 'public' => 'Only yours',
! 'private' => 'Private'
);
!
! $values['nm'] = array
! (
! 'start' => $this->start,
! 'search' =>
$this->search,
! 'filter' =>
$this->filter,
! 'cat_id' =>
$this->cat_id,
! 'get_rows' =>
'notes.bo.get_rows',
! 'no_filter2' => True,
! 'options-filter' => $filter_list
);
! $this->tpl->exec('notes.ui.index',$values);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.15,1.16,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: notes/templates/default delete.xul,1.2,1.3 index.xul,1.1,1.2
- Next by Date:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site blockconfig.inc.php,1.2,1.3
- Previous by thread:
[Phpgroupware-cvs] CVS: notes/templates/default delete.xul,1.2,1.3 index.xul,1.1,1.2
- Next by thread:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site blockconfig.inc.php,1.2,1.3
- Index(es):