Minor - format code.

1.10.x
Julio Montoya 9 years ago
parent 7fdf3c09f0
commit e3750694dc
  1. 5
      main/document/edit_document.php
  2. 1
      main/document/edit_draw.php

@ -159,7 +159,10 @@ if (!empty($group_id)) {
} }
if (!$is_certificate_mode) { if (!$is_certificate_mode) {
$interbreadcrumb[]=array("url"=>"./document.php?curdirpath=".urlencode($currentDirPath).'&'.api_get_cidreq(), "name"=> get_lang('Documents')); $interbreadcrumb[] = array(
"url" => "./document.php?curdirpath=".urlencode($currentDirPath).'&'.api_get_cidreq(),
"name" => get_lang('Documents'),
);
} else { } else {
$interbreadcrumb[]= array('url' => '../gradebook/'.$_SESSION['gradebook_dest'], 'name' => get_lang('Gradebook')); $interbreadcrumb[]= array('url' => '../gradebook/'.$_SESSION['gradebook_dest'], 'name' => get_lang('Gradebook'));
} }

@ -29,7 +29,6 @@ if (empty($document_data)) {
$my_cur_dir_path = Security::remove_XSS($_GET['curdirpath']); $my_cur_dir_path = Security::remove_XSS($_GET['curdirpath']);
} }
$dir= str_replace('\\', '/',$dir);//and urlencode each url $curdirpath (hack clean $curdirpath under Windows - Bug #3261) $dir= str_replace('\\', '/',$dir);//and urlencode each url $curdirpath (hack clean $curdirpath under Windows - Bug #3261)
/* Constants & Variables */ /* Constants & Variables */

Loading…
Cancel
Save