Fix breadcrumb see BT#10896

pull/2487/head
jmontoyaa 9 years ago
parent 9107196079
commit a896b8bcf0
  1. 10
      main/dropbox/dropbox_init.inc.php

@ -352,11 +352,19 @@ if ($view == 'sent' || empty($view)) {
$nameTools = get_lang('AddNewCategory'); $nameTools = get_lang('AddNewCategory');
} }
if ($action == 'add') { if ($action == 'add') {
/*$interbreadcrumb[] = array(
'url' => api_get_path(WEB_CODE_PATH).'dropbox/index.php?view=sent&'.api_get_cidreq(),
'name' => get_lang('SentFiles'),
);*/
$nameTools = get_lang('UploadNewFile');
}
if ($action == 'update') {
$interbreadcrumb[] = array( $interbreadcrumb[] = array(
'url' => api_get_path(WEB_CODE_PATH).'dropbox/index.php?view=sent&'.api_get_cidreq(), 'url' => api_get_path(WEB_CODE_PATH).'dropbox/index.php?view=sent&'.api_get_cidreq(),
'name' => get_lang('SentFiles'), 'name' => get_lang('SentFiles'),
); );
$nameTools = get_lang('UploadNewFile'); $nameTools = get_lang('UpdateFile');
} }
} }

Loading…
Cancel
Save