From 3c91753e80ad70e5d332909ba9e0ad9113564e14 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 12 Mar 2014 10:12:29 +0000 Subject: [PATCH] moving add-icon(s) from header_right to header_row --- infolog/inc/class.infolog_ui.inc.php | 2 +- resources/inc/class.resources_ui.inc.php | 6 +++--- resources/templates/default/show.xet | 11 +---------- timesheet/inc/class.timesheet_ui.inc.php | 11 +---------- timesheet/templates/default/index.xet | 15 +-------------- 5 files changed, 7 insertions(+), 38 deletions(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 05da7fb101..0f340beafd 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -851,7 +851,7 @@ class infolog_ui } } } - $values['nm']['header_right'] = 'infolog.index.header_right'; + $values['nm']['header_row'] = 'infolog.index.header_right'; if ($values['nm']['filter']=='bydate') { foreach (array_keys($values['nm']['col_filter']) as $colfk) diff --git a/resources/inc/class.resources_ui.inc.php b/resources/inc/class.resources_ui.inc.php index fd8ada11e1..efd06141c1 100755 --- a/resources/inc/class.resources_ui.inc.php +++ b/resources/inc/class.resources_ui.inc.php @@ -105,8 +105,8 @@ class resources_ui $content = array(); $content['msg'] = $msg ? $msg : $_GET['msg']; - $content['nm']['header_right'] = 'resources.show.nm_right'; - $content['nm']['get_rows'] = 'resources.resources_bo.get_rows'; + $content['nm']['header_row'] = 'resources.show.nm_right'; + $content['nm']['get_rows'] = 'resources.resources_bo.get_rows'; $content['nm']['no_filter'] = False; $content['nm']['filter_label'] = lang('Category'); $content['nm']['filter2_label'] = 'Display'; @@ -535,7 +535,7 @@ class resources_ui 'long_description' => 'html' ) ); - + $sel_options['accessory_of'] = array(-1 => lang('none')) + (array)$this->bo->link_query('',$search_options); if($res_id) unset($sel_options['accessory_of'][$res_id]); diff --git a/resources/templates/default/show.xet b/resources/templates/default/show.xet index 47cf7eb2eb..da9abee6e5 100644 --- a/resources/templates/default/show.xet +++ b/resources/templates/default/show.xet @@ -2,16 +2,7 @@ \ No newline at end of file