diff --git a/addressbook/inc/class.uiaddressbook.inc.php b/addressbook/inc/class.uiaddressbook.inc.php
index e9fd3dd48d..3baaf7abe2 100644
--- a/addressbook/inc/class.uiaddressbook.inc.php
+++ b/addressbook/inc/class.uiaddressbook.inc.php
@@ -34,7 +34,7 @@
var $template;
var $public_functions = array(
- 'get_list' => True,
+ 'index' => True,
'view' => True,
'add' => True,
'add_email' => True,
@@ -93,7 +93,7 @@
_debug_array($data);
}
- /* Called only by get_list(), just prior to page footer. */
+ /* Called only by index(), just prior to page footer. */
function save_sessiondata()
{
$data = array(
@@ -258,7 +258,7 @@
/*
Former index.php
*/
- function get_list()
+ function index()
{
$GLOBALS['phpgw']->common->phpgw_header();
echo parse_navbar();
@@ -294,7 +294,7 @@
$cols .= '
' . "\n";
$cols .= ' ';
$cols .= $GLOBALS['phpgw']->nextmatchs->show_sort_order($this->sort,
- $column[0],$this->order,'/index.php',$showcol,'&menuaction=addressbook.uiaddressbook.get_list');
+ $column[0],$this->order,'/index.php',$showcol,'&menuaction=addressbook.uiaddressbook.index');
$cols .= "\n | ";
$cols .= "\n";
@@ -340,7 +340,7 @@
$cols .= ' ' . "\n";
$cols .= ' ';
$cols .= $GLOBALS['phpgw']->nextmatchs->show_sort_order($this->sort,
- $column[0],$this->order,"/index.php",$showcol,'&menuaction=addressbook.uiaddressbook.get_list&cat_id='.$this->cat_id);
+ $column[0],$this->order,"/index.php",$showcol,'&menuaction=addressbook.uiaddressbook.index&cat_id='.$this->cat_id);
$cols .= "\n | ";
$cols .= "\n";
}
@@ -431,7 +431,7 @@
$GLOBALS['filter'] = $this->filter;
$search_filter = $GLOBALS['phpgw']->nextmatchs->show_tpl('/index.php',
- $this->start, $total_records,'&menuaction=addressbook.uiaddressbook.get_list&fcat_id='.$this->cat_id,'75%',
+ $this->start, $total_records,'&menuaction=addressbook.uiaddressbook.index&fcat_id='.$this->cat_id,'75%',
$GLOBALS['phpgw_info']['theme']['th_bg'],1,1,1,1,$this->cat_id);
$query = $filter = '';
@@ -448,7 +448,7 @@
$this->template->set_var('lang_showing',$lang_showing);
$this->template->set_var('search_filter',$search_filter);
$this->template->set_var('cats',lang('Category'));
- $this->template->set_var('cats_url',$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.get_list'));
+ $this->template->set_var('cats_url',$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.index'));
/* $this->template->set_var('cats_link',$this->cat_option($this->cat_id)); */
$this->template->set_var('lang_cats',lang('Select'));
$this->template->set_var('lang_addressbook',lang('Address book'));
@@ -640,7 +640,7 @@
$this->template->set_var('lang_ok',lang('ok'));
$this->template->set_var('lang_clear',lang('clear'));
$this->template->set_var('lang_cancel',lang('cancel'));
- $this->template->set_var('cancel_url',$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.get_list'));
+ $this->template->set_var('cancel_url',$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.index'));
$this->template->parse('out','add');
$this->template->pparse('out','add');
}
@@ -650,7 +650,7 @@
if ($GLOBALS['HTTP_POST_VARS']['submit'])
{
$_fields = $this->get_form();
- /* _debug_array($fields);exit; */
+ /* _debug_array($_fields);exit; */
$check = $this->bo->read_entry(array('id' => $_fields['ab_id'], 'fields' => array('owner' => 'owner','tid' => 'tid')));
if (($this->contacts->grants[$check[0]['owner']] & PHPGW_ACL_EDIT) && $check[0]['owner'] != $GLOBALS['phpgw_info']['user']['account_id'])
@@ -680,7 +680,7 @@
if ( !$this->contacts->check_perms($this->contacts->grants[$check[0]['owner']],PHPGW_ACL_EDIT) &&
($check[0]['owner'] != $GLOBALS['phpgw_info']['user']['account_id']) )
{
- Header('Location: ' . $GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.get_list'));
+ Header('Location: ' . $GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.index'));
$GLOBALS['phpgw']->common->phpgw_exit();
}
@@ -706,7 +706,7 @@
$this->template->set_var('lang_cancel',lang('cancel'));
$this->template->set_var('lang_submit',lang('submit'));
$this->template->set_var('cancel_link','