Pārlūkot izejas kodu

Minor - Set template title - refs BT#12835

Angel Fernando Quiroz Campos 7 gadi atpakaļ
vecāks
revīzija
cee24a39bc
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. 1 3
      main/social/myfiles.php

+ 1 - 3
main/social/myfiles.php

@@ -98,9 +98,7 @@ if (api_get_setting('allow_social_tool') == 'true') {
     ];
     ];
 }
 }
 
 
-$interbreadcrumb[] = ['url' => '#', 'name' => get_lang('MyFiles')];
-
-$tpl = new Template();
+$tpl = new Template(get_lang('MyFiles'));
 SocialManager::setSocialUserBlock($tpl, api_get_user_id(), 'myfiles');
 SocialManager::setSocialUserBlock($tpl, api_get_user_id(), 'myfiles');
 $editor = new \Chamilo\CoreBundle\Component\Editor\Editor();
 $editor = new \Chamilo\CoreBundle\Component\Editor\Editor();
 $template = $tpl->get_template($editor->getEditorStandAloneTemplate());
 $template = $tpl->get_template($editor->getEditorStandAloneTemplate());