Proyectos de Subversion Moodle

Rev

Rev 667 | Rev 676 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 667 Rev 669
Línea 2379... Línea 2379...
2379
 
2379
 
2380
 
2380
 
-
 
2381
 
-
 
2382
        return $CFG->wwwroot . '/theme/universe_child/pix/icon-calendar.png';
-
 
2383
    }
-
 
2384
 
-
 
2385
    public function get_image_login()
-
 
2386
    {
-
 
2387
        global $CFG;
-
 
2388
 
-
 
2389
 
-
 
2390
        if (!empty($this->page->theme->settings->navbar_icon_calendar)) {
-
 
2391
            $url = $this->page->theme->setting_file_url('image_login', 'image_login');
-
 
2392
            // Get a URL suitable for moodle_url.
-
 
2393
            $relativebaseurl = preg_replace('|^https?://|i', '//', $CFG->wwwroot);
-
 
2394
            $url = str_replace($relativebaseurl, '', $url);
-
 
2395
            return new moodle_url($url);
-
 
2396
        }
-
 
2397
 
-
 
2398
 
2381
 
2399