From 19f1d26224a54eca638e5efc5eaa4a751333f42d Mon Sep 17 00:00:00 2001 From: dongsheng Date: Thu, 21 Aug 2008 02:46:22 +0000 Subject: [PATCH] "MDL-13766, beautify source code" --- repository/lib.php | 993 +++++++++++++++++++++++---------------------- 1 file changed, 497 insertions(+), 496 deletions(-) diff --git a/repository/lib.php b/repository/lib.php index 08fbbd90f5..e445d0c3c1 100644 --- a/repository/lib.php +++ b/repository/lib.php @@ -550,317 +550,317 @@ function get_repository_client($context){ $strupload = get_string('upload', 'repository'); $struploading = get_string('uploading', 'repository'); $css = << - #list-$suffix{line-height: 1.5em} - #list-$suffix a{ padding: 3px } - #list-$suffix li a:hover{ background: gray; color:white; } - #repo-list-$suffix .repo-name{} - #repo-list-$suffix li{margin-bottom: 1em} - #paging-$suffix{margin:10px 5px; clear:both} - #paging-$suffix a{padding: 4px; border: 1px solid gray} - #panel-$suffix{padding:0;margin:0; text-align:left;} - p.upload{text-align:right;margin: 5px} - p.upload a{font-size: 14px;background: #ccc;color:black;padding: 3px} - p.upload a:hover {background: grey;color:white} - .file_name{color:green;} - .file_date{color:blue} - .file_size{color:gray} - .grid{width:80px; float:left;text-align:center;} - .grid img{display:block} - .grid div{width: 80px; height: 36px; overflow: hidden} - .repo-opt{font-size: 10px;} - - + + EOD; $js = << - - - - - - - - - - - + + + + + + + + + + +