[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.32,1.33
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.32,1.33 |
Date: |
Sat, 28 Sep 2002 23:24:47 -0400 |
Update of /cvsroot/phpgroupware/notes/inc
In directory subversions:/tmp/cvs-serv16901/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.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** class.ui.inc.php 28 Sep 2002 15:34:14 -0000 1.32
--- class.ui.inc.php 29 Sep 2002 03:24:45 -0000 1.33
***************
*** 282,296 ****
$data = array
(
! 'appname' =>
lang('notes'),
! 'function_msg' => lang('list
notes'),
! 'lang_none' =>
lang('none'),
! 'cat_list' =>
$this->cats->formatted_xslt_list(array('selected' => $this->cat_id,'globals' =>
True)),
! 'select_action' =>
$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.index'),
! 'filter_list' =>
$this->nextmatchs->xslt_filter(array('filter' => $this->filter,'yours' =>
'yes')),
! 'query' =>
$this->query,
! 'lang_submit' =>
lang('submit'),
! 'table_header' =>
$table_header,
! 'values' =>
$content,
! 'table_add' =>
$table_add
);
--- 282,296 ----
$data = array
(
! 'appname' => lang('notes'),
! 'function_msg' => lang('list notes'),
! 'lang_no_cat' => lang('no category'),
! 'cat_list' =>
$this->cats->formatted_xslt_list(array('selected' => $this->cat_id,'globals' =>
True)),
! 'select_action' =>
$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.index'),
! 'filter_list' =>
$this->nextmatchs->xslt_filter(array('filter' => $this->filter,'yours' =>
'yes')),
! 'query' => $this->query,
! 'lang_submit' => lang('submit'),
! 'table_header' => $table_header,
! 'values' => $content,
! 'table_add' => $table_add
);
***************
*** 350,354 ****
'value_cat' => $note['cat'],
'message' => $message,
! 'lang_none' => lang('none'),
'cat_list' =>
$this->cats->formatted_xslt_list(array('selected' => $note['cat'],'globals' =>
True))
);
--- 350,354 ----
'value_cat' => $note['cat'],
'message' => $message,
! 'lang_no_cat' => lang('no category'),
'cat_list' =>
$this->cats->formatted_xslt_list(array('selected' => $note['cat'],'globals' =>
True))
);
***************
*** 459,480 ****
function view()
{
! global $note_id, $note;
!
$this->display_app_header();
! $this->t->set_file('view','view.tpl');
!
! $this->t->set_var('lang_time',lang('Time created'));
! $this->t->set_var('lang_action',lang('Display note
for'));
! $this->t->set_var('lang_access',lang('Access'));
$note = $this->bo->read_single($note_id);
!
$this->t->set_var('category',$this->cats->id2name($note['category']));
!
$this->t->set_var('new_date',$GLOBALS['phpgw']->common->show_date($note['date']));
! $this->t->set_var('fnote',nl2br($note['content']));
! $this->t->set_var('access',ucfirst($note['access']));
! $this->t->pfp('out','view');
}
}
--- 459,488 ----
function view()
{
! $note_id = get_var('note_id',array('GET'));
$this->display_app_header();
!
$this->tpl->add_file(array('view',$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default')
. SEP . 'app_header'));
$note = $this->bo->read_single($note_id);
! $data = array
! (
! 'appname' =>
lang('notes'),
! 'function_msg' => lang('view note'),
! 'done_action' =>
$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.index'),
! 'lang_content' => lang('content'),
! 'lang_category' => lang('category'),
! 'lang_access' => lang('access'),
! 'lang_time_created' => lang('time created'),
! 'lang_done' => lang('done'),
! 'value_content' =>
nl2br($note['content']),
! 'value_access' =>
lang(ucfirst($note['access'])),
! 'value_cat' =>
$this->cats->id2name($note['cat']),
! 'value_date' =>
$GLOBALS['phpgw']->common->show_date($note['date'])
! );
! $this->tpl->set_var('view_data',$data);
!
! $this->tpl->pparse();
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.32,1.33,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: notes/templates/default view.xsl,NONE,1.1 form.xsl,1.7,1.8
- Next by Date:
[Phpgroupware-cvs] CVS: addressbook/templates/default about.tpl,1.2,NONE
- Previous by thread:
[Phpgroupware-cvs] CVS: notes/templates/default view.xsl,NONE,1.1 form.xsl,1.7,1.8
- Next by thread:
[Phpgroupware-cvs] CVS: addressbook/templates/default about.tpl,1.2,NONE
- Index(es):