From: dongsheng Date: Thu, 7 May 2009 06:47:20 +0000 (+0000) Subject: "MDL-13766, add extra yui images for yui treeview, this will display folder-style... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c19f8e7dcbad4ed2403668f180da50abea96013f;p=moodle.git "MDL-13766, add extra yui images for yui treeview, this will display folder-style treeview in file picker" --- diff --git a/pix/y/lm.gif b/pix/y/lm.gif new file mode 100644 index 0000000000..b5623002a6 Binary files /dev/null and b/pix/y/lm.gif differ diff --git a/pix/y/lmh.gif b/pix/y/lmh.gif new file mode 100644 index 0000000000..a17fe233c1 Binary files /dev/null and b/pix/y/lmh.gif differ diff --git a/pix/y/ln.gif b/pix/y/ln.gif new file mode 100644 index 0000000000..b7b3e55cd0 Binary files /dev/null and b/pix/y/ln.gif differ diff --git a/pix/y/loading.gif b/pix/y/loading.gif new file mode 100644 index 0000000000..0bbf3bc0c0 Binary files /dev/null and b/pix/y/loading.gif differ diff --git a/pix/y/lp.gif b/pix/y/lp.gif new file mode 100644 index 0000000000..b9f5485670 Binary files /dev/null and b/pix/y/lp.gif differ diff --git a/pix/y/lph.gif b/pix/y/lph.gif new file mode 100644 index 0000000000..f663714f49 Binary files /dev/null and b/pix/y/lph.gif differ diff --git a/pix/y/tm.gif b/pix/y/tm.gif new file mode 100644 index 0000000000..56622cc305 Binary files /dev/null and b/pix/y/tm.gif differ diff --git a/pix/y/tmh.gif b/pix/y/tmh.gif new file mode 100644 index 0000000000..e42349e406 Binary files /dev/null and b/pix/y/tmh.gif differ diff --git a/pix/y/tn.gif b/pix/y/tn.gif new file mode 100644 index 0000000000..4a280397de Binary files /dev/null and b/pix/y/tn.gif differ diff --git a/pix/y/tp.gif b/pix/y/tp.gif new file mode 100644 index 0000000000..906e8c46e4 Binary files /dev/null and b/pix/y/tp.gif differ diff --git a/pix/y/tph.gif b/pix/y/tph.gif new file mode 100644 index 0000000000..8aa7c2504b Binary files /dev/null and b/pix/y/tph.gif differ diff --git a/pix/y/vline.gif b/pix/y/vline.gif new file mode 100644 index 0000000000..1fb0de8bb2 Binary files /dev/null and b/pix/y/vline.gif differ diff --git a/repository/lib.php b/repository/lib.php index e7da2b30d3..353f6b1482 100644 --- a/repository/lib.php +++ b/repository/lib.php @@ -39,8 +39,8 @@ require_once(dirname(dirname(__FILE__)) . '/config.php'); -require_once(dirname(dirname(__FILE__)) . '/lib/filelib.php'); -require_once(dirname(dirname(__FILE__)) . '/lib/formslib.php'); +require_once($CFG->libdir . '/filelib.php'); +require_once($CFG->libdir . '/formslib.php'); // File picker javascript code /** @@ -1793,6 +1793,45 @@ function repository_get_client($context, $id = '', $accepted_filetypes = '*', $ @import "$CFG->httpswwwroot/lib/yui/assets/skins/sam/treeview.css";