[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] admin/inc class.ui_custom.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] admin/inc class.ui_custom.inc.php |
Date: |
Thu, 14 Sep 2006 18:52:16 +0000 |
CVSROOT: /sources/phpgroupware
Module name: admin
Changes by: Sigurd Nes <sigurdne> 06/09/14 18:52:16
Modified files:
inc : class.ui_custom.inc.php
Log message:
link
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/admin/inc/class.ui_custom.inc.php?cvsroot=phpgroupware&r1=1.2&r2=1.3
Patches:
Index: class.ui_custom.inc.php
===================================================================
RCS file: /sources/phpgroupware/admin/inc/class.ui_custom.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- class.ui_custom.inc.php 3 Apr 2006 19:19:00 -0000 1.2
+++ class.ui_custom.inc.php 14 Sep 2006 18:52:16 -0000 1.3
@@ -10,7 +10,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage admin
- * @version $Id: class.ui_custom.inc.php,v 1.2 2006/04/03 19:19:00
sigurdne Exp $
+ * @version $Id: class.ui_custom.inc.php,v 1.3 2006/09/14 18:52:16
sigurdne Exp $
*/
/**
@@ -104,10 +104,10 @@
'input_text'
=> $entry['input_text'],
'sorting'
=> $entry['attrib_sort'],
'search'
=> $entry['search'],
- 'link_up'
=>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.ui_custom.list_attribute&resort=up&appname='
. $appname . '&location=' . $location . '&id=' . $entry['id'] . '&allrows=' .
$this->allrows),
- 'link_down'
=>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.ui_custom.list_attribute&resort=down&appname='
. $appname . '&location=' . $location . '&id=' . $entry['id'] . '&allrows=' .
$this->allrows),
- 'link_edit'
=>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.ui_custom.edit_attrib&appname='
. $appname . '&location=' . $location . '&id=' . $entry['id']),
- 'link_delete'
=>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.ui_custom.delete&appname='
. $appname . '&location=' . $location . '&attrib_id=' . $entry['id']),
+ 'link_up'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.ui_custom.list_attribute', 'resort'=>'up', 'appname'=>
$appname, 'location'=> $location, 'id'=> $entry['id'], 'allrows'=>
$this->allrows)),
+ 'link_down'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.ui_custom.list_attribute', 'resort'=>'down', 'appname'=>
$appname, 'location'=> $location, 'id'=> $entry['id'], 'allrows'=>
$this->allrows)),
+ 'link_edit'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.ui_custom.edit_attrib', 'appname'=> $appname, 'location'=>
$location, 'id'=> $entry['id'])),
+ 'link_delete'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.ui_custom.delete', 'appname'=> $appname, 'location'=>
$location, 'attrib_id'=> $entry['id'])),
'lang_up_text'
=> lang('shift up'),
'lang_down_text'
=> lang('shift down'),
'lang_edit_text'
=> lang('edit the attrib'),
@@ -137,9 +137,9 @@
'var' => 'column_name',
'order' => $this->order,
'extra' => array('menuaction' =>
$this->currentapp.'.ui_custom.list_attribute',
-
'appname'
=>$appname,
-
'location'
=>$location,
-
'allrows'=>$this->allrows)
+
'appname' => $appname,
+
'location' => $location,
+
'allrows' => $this->allrows)
)),
'sort_sorting' =>
$this->nextmatchs->show_sort_order(array
(
@@ -147,9 +147,9 @@
'var' => 'attrib_sort',
'order' => $this->order,
'extra' => array('menuaction' =>
$this->currentapp.'.ui_custom.list_attribute',
-
'appname'
=>$appname,
-
'location'
=>$location,
-
'allrows'=>$this->allrows)
+
'appname' => $appname,
+
'location' => $location,
+
'allrows' => $this->allrows)
)),
'lang_name' => lang('Name'),
);
@@ -158,7 +158,7 @@
(
'lang_add' =>
lang('add'),
'lang_add_attribtext' => lang('add an
attrib'),
- 'add_action' =>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.ui_custom.edit_attrib&appname='.$appname
. '&location=' . $location),
+ 'add_action' =>
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.ui_custom.edit_attrib', 'appname'=> $appname, 'location'=>
$location)),
'lang_done' => lang('done'),
'lang_done_attribtext' => lang('Return to
admin'),
'done_action' =>
$GLOBALS['phpgw']->link('/admin/index.php'),
@@ -176,11 +176,11 @@
$link_data = array
(
'menuaction' =>
$this->currentapp.'.ui_custom.list_attribute',
- 'sort'
=>$this->sort,
- 'order'
=>$this->order,
- 'query'
=>$this->query,
- 'appname'
=>$appname,
- 'location'
=>$location
+ 'sort' => $this->sort,
+ 'order' => $this->order,
+ 'query' => $this->query,
+ 'appname' => $appname,
+ 'location' => $location
);
$data = array
@@ -345,11 +345,11 @@
'value_choice' =>
$values['choice'],
'lang_delete_value' =>
lang('Delete value'),
'lang_value' =>
lang('value'),
- 'lang_delete_choice_statustext'=> lang('Delete
this value from the list of multiple choice'),
+ 'lang_delete_choice_statustext' =>
lang('Delete this value from the list of multiple choice'),
'msgbox_data' =>
$GLOBALS['phpgw']->common->msgbox($msgbox_data),
'form_action' =>
$GLOBALS['phpgw']->link('/index.php',$link_data),
- 'done_action' =>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.ui_custom.list_attribute&appname='.$appname
. '&location='.$location),
+ 'done_action' =>
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.ui_custom.list_attribute', 'appname'=> $appname,
'location'=>$location)),
'lang_id' =>
lang('Attribute ID'),
'lang_entity_type' =>
lang('Entity type'),
'lang_no_entity_type' =>
lang('No entity type'),
@@ -404,11 +404,11 @@
'lang_list_statustext' =>
lang('check to show this attribute in entity list'),
'value_search' =>
$values['search'],
'lang_include_search' =>
lang('Include in search'),
- 'lang_include_search_statustext'=> lang('check
to show this attribute in location list'),
+ 'lang_include_search_statustext' =>
lang('check to show this attribute in location list'),
'value_history' =>
$values['history'],
'lang_history' => lang('history'),
- 'lang_history_statustext'=> lang('Enable
history for this attribute'),
+ 'lang_history_statustext' =>
lang('Enable history for this attribute'),
);
//_debug_array($values);
@@ -447,10 +447,10 @@
'descr'
=> $entry['descr'],
'sorting'
=> $entry['sorting'],
'active'
=> $entry['active']?'X':'',
- 'link_up'
=>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.ui_custom.list_custom_function&resort=up&appname='
. $appname . '&location=' . $location . '&id=' . $entry['id'] . '&allrows=' .
$this->allrows),
- 'link_down'
=>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.ui_custom.list_custom_function&resort=down&appname='
. $appname . '&location=' . $location . '&id=' . $entry['id'] . '&allrows=' .
$this->allrows),
- 'link_edit'
=>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.ui_custom.edit_custom_function&appname='
. $appname . '&location=' . $location . '&id=' . $entry['id']),
- 'link_delete'
=>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.ui_custom.delete&appname='
. $appname . '&location=' . $location . '&custom_function_id=' . $entry['id']),
+ 'link_up'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.ui_custom.list_custom_function', 'resort'=> 'up',
'appname'=> $appname, 'location'=> $location, 'id'=> $entry['id'], 'allrows'=>
$this->allrows)),
+ 'link_down'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.ui_custom.list_custom_function', 'resort'=> 'up',
'appname'=> $appname, 'location'=> $location, 'id'=> $entry['id'], 'allrows'=>
$this->allrows)),
+ 'link_edit'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.ui_custom.edit_custom_function', 'appname'=> $appname,
'location'=> $location, 'id'=> $entry['id'])),
+ 'link_delete'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.ui_custom.delete', 'appname'=> $appname, 'location'=>
$location, 'custom_function_id'=> $entry['id'])),
'lang_up_text'
=> lang('shift up'),
'lang_down_text'
=> lang('shift down'),
'lang_edit_text'
=> lang('edit the custom_function'),
@@ -478,9 +478,9 @@
'var' => 'column_name',
'order' => $this->order,
'extra' => array('menuaction' =>
$this->currentapp.'.ui_custom.list_custom_function',
-
'appname'
=>$appname,
-
'location'
=>$location,
-
'allrows'=>$this->allrows)
+
'appname' => $appname,
+
'location' => $location,
+
'allrows' => $this->allrows)
)),
'sort_sorting' =>
$this->nextmatchs->show_sort_order(array
(
@@ -488,9 +488,9 @@
'var' => 'custom_function_sort',
'order' => $this->order,
'extra' => array('menuaction' =>
$this->currentapp.'.ui_custom.list_custom_function',
-
'appname'
=>$appname,
-
'location'
=>$location,
-
'allrows'=>$this->allrows)
+
'appname' => $appname,
+
'location' => $location,
+
'allrows' => $this->allrows)
)),
'lang_name' => lang('Name'),
);
@@ -499,7 +499,7 @@
(
'lang_add' => lang('add'),
'lang_add_custom_functiontext' => lang('add a
custom_function'),
- 'add_action' =>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.ui_custom.edit_custom_function&appname='.$appname
. '&location=' . $location),
+ 'add_action' =>
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.ui_custom.edit_custom_function', 'appname'=> $appname,
'location'=> $location)),
'lang_done' => lang('done'),
'lang_done_custom_functiontext' => lang('Return
to admin'),
'done_action' =>
$GLOBALS['phpgw']->link('/admin/index.php'),
@@ -517,11 +517,11 @@
$link_data = array
(
'menuaction' =>
$this->currentapp.'.ui_custom.list_custom_function',
- 'sort'
=>$this->sort,
- 'order'
=>$this->order,
- 'query'
=>$this->query,
- 'appname'
=>$appname,
- 'location'
=>$location
+ 'sort' => $this->sort,
+ 'order' => $this->order,
+ 'query' => $this->query,
+ 'appname' => $appname,
+ 'location' => $location
);
$data = array
@@ -642,7 +642,7 @@
'msgbox_data' =>
$GLOBALS['phpgw']->common->msgbox($msgbox_data),
'form_action' =>
$GLOBALS['phpgw']->link('/index.php',$link_data),
- 'done_action' =>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.ui_custom.list_custom_function&appname='.$appname
. '&location='.$location),
+ 'done_action' =>
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->currentapp.'.ui_custom.list_custom_function', 'appname'=> $appname,
'location'=> $location)),
'lang_id'
=> lang('Custom function ID'),
'lang_entity_type' =>
lang('Entity type'),
'lang_no_entity_type' => lang('No
entity type'),
@@ -651,7 +651,7 @@
'value_id'
=> $id,
'lang_descr' =>
lang('descr'),
- 'lang_descr_custom_functiontext'=> lang('Enter
a descr for the custom function'),
+ 'lang_descr_custom_functiontext' =>
lang('Enter a descr for the custom function'),
'value_descr' =>
$values['descr'],
'lang_done_custom_functiontext' =>
lang('Back to the list'),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] admin/inc class.ui_custom.inc.php,
Sigurd Nes <=