Removed duplicated get_lang for the notebook DT#5496

skala
Arthur Portugal 15 years ago
parent 1ce8e45ba6
commit c354130aa1
  1. 4
      main/notebook/index.php

@ -36,12 +36,12 @@ event_access_tool(TOOL_NOTEBOOK);
// tool name // tool name
if ( isset($_GET['action']) && $_GET['action'] == 'addnote') if ( isset($_GET['action']) && $_GET['action'] == 'addnote')
{ {
$tool = get_lang('NoteAddNew'); $tool = 'NoteAddNew';
$interbreadcrumb[] = array ("url"=>"index.php", "name"=> get_lang('Notebook')); $interbreadcrumb[] = array ("url"=>"index.php", "name"=> get_lang('Notebook'));
} }
if ( isset($_GET['action']) && $_GET['action'] == 'editnote') if ( isset($_GET['action']) && $_GET['action'] == 'editnote')
{ {
$tool = get_lang('ModifyNote'); $tool = 'ModifyNote';
$interbreadcrumb[] = array ("url"=>"index.php", "name"=> get_lang('Notebook')); $interbreadcrumb[] = array ("url"=>"index.php", "name"=> get_lang('Notebook'));
} }

Loading…
Cancel
Save