From: dongsheng Date: Wed, 23 Jul 2008 12:17:38 +0000 (+0000) Subject: MDL-13766, rewrite ajax client code, encapsulate all javascrpt code in repository... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=99d99cff1b1e27992fe52e8fa28a8fa0d024a58a;p=moodle.git MDL-13766, rewrite ajax client code, encapsulate all javascrpt code in repository class, which is easy to reuse now. --- diff --git a/repository/ajax.php b/repository/ajax.php index e327f5a833..6f9ddf7398 100644 --- a/repository/ajax.php +++ b/repository/ajax.php @@ -12,7 +12,6 @@ require_once('lib.php'); picker. \*******************************************************/ -$itempic = $CFG->pixpath.'/i/item.gif'; $meta = << @@ -22,54 +21,36 @@ $meta = << - - - - - - - - - + + + + + + + + + - - - - + + + + + EOD; echo $meta; ?> @@ -85,308 +66,312 @@ echo $meta; diff --git a/repository/boxnet/repository.class.php b/repository/boxnet/repository.class.php index 03bc50dcb4..7b967ba808 100755 --- a/repository/boxnet/repository.class.php +++ b/repository/boxnet/repository.class.php @@ -114,7 +114,7 @@ class repository_boxnet extends repository{ $str .= '
'; $str .= '