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