Changeset 1128
- Timestamp:
- 05/30/07 11:58:59 (2 years ago)
- Files:
-
- devel/mod/file/lib.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/file/lib.php
r1123 r1128 14 14 $page_owner = $profile_id; 15 15 16 $metatags .= "<style type=\"text/css\">";17 $metatags .= str_replace("{{url}}", $CFG->wwwroot, file_get_contents(dirname(__FILE__). "/file-icons.css"));18 $metatags .= "</style>";19 20 21 16 if (isloggedin()) { 22 17 if (defined("context") && context == "files" && $page_owner == $_SESSION['userid']) { … … 51 46 global $CFG; 52 47 global $function; 48 global $metatags; 49 50 // Styles for file icons 51 $metatags .= "<style type=\"text/css\">"; 52 $metatags .= str_replace("{{url}}", $CFG->wwwroot, file_get_contents(dirname(__FILE__). "/file-icons.css")); 53 $metatags .= "</style>"; 54 53 55 // Functions to perform upon initialisation 54 56 $function['files:init'][] = $CFG->dirroot . "mod/file/lib/files_init.php";
