--- /dev/null
+<?php
+require_once('../config.php');
+require_once('lib.php');
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <meta content="text/html; charset=UTF-8" http-equiv="content-type">
+ <title>File Picker</title>
+ <link href="style.css" rel="stylesheet" type="text/css">
+</head>
+<body class="frame">
+ <div id='nav'>
+ <a href="###">Root</a> > <a href="###"> Folder 1</a> > <a href="###"> Sub-folder 1_1</a>
+ </div>
+<table border="0">
+<tbody>
+ <tr>
+ <td class="content" colspan="4"><img src="<?php echo $CFG->pixpath.'/f/folder.gif';?>" alt="folder"/> ..</td>
+ </tr>
+
+ <tr>
+ <td class="content"><input type="radio" name="file" value="" /></td>
+ <td class="content">basket_readme.avi</td>
+ <td class="content">8 Kb</td>
+ <td class="content">22/05/2008 4:45PM</td>
+ </tr>
+
+ <tr>
+ <td class="content"><input type="radio" name="file" value="" /></td>
+ <td class="content">readme.doc</td>
+ <td class="content">2 Kb</td>
+ <td class="content">22/05/2008 4:45PM</td>
+ </tr>
+
+ <tr>
+ <td class="content"><input type="radio" name="file" value="" /></td>
+ <td class="content">moodle_readme.txt</td>
+ <td class="content">2 Kb</td>
+ <td class="content">22/05/2008 4:45PM</td>
+ </tr>
+</tbody>
+</table>
+</body>
+</html>
--- /dev/null
+<?php
+require_once('../config.php');
+require_once('lib.php');
+
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+<meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
+<title>File Picker</title>
+<link href="style.css" rel="stylesheet" type="text/css"/>
+</head>
+<body>
+ <table border="0" cellspacing="10" cellpadding="10">
+ <tbody>
+ <tr>
+ <td>
+ <h3>Repository</h3>
+ <ul id='repolist'>
+ <li><a href="###" class="link">Local Server</a></li>
+ <li><a href="###">Remote Moodle</a></li>
+ <li class='line'>------------------------------</li>
+ <li><a href="?repo=boxnet">Box.net</a></li>
+ <li><a href="###">Briefcase</a></li>
+ <li><a href="###">Door</a></li>
+ <li><a href="###">Flickr</a></li>
+ <li><a href="###">Google Docs</a></li>
+ <li><a href="###">Mahara</a></li>
+ <li><a href="###">Merlot</a></li>
+ <li><a href="###">Myspace</a></li>
+ <li><a href="###">Oki</a></li>
+ <li><a href="###">Skydrive</a></li>
+ <li><a href="###">Youtube</a></li>
+ <li class='line'>------------------------------</li>
+ </ul>
+ </td>
+ <td>
+ <table>
+ <tr>
+ <td class="header">
+ <img src="<?php echo $CFG->pixpath.'/moodlelogo.gif';?>" alt="Manage Google Docs" />
+ </td>
+ <td class="header">
+ <input type="text" name="Search" value="search terms..." size="40" class="right"/>
+ </td>
+ </tr>
+ </table>
+ <iframe src="ibrowse.php" width="100%" height='250px' class="frame"></iframe>
+ <div class="right">
+ <input type="submit" value="Select" name="select" />
+
+ <input type="submit" value="Cancel" name="cancel"/>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</body>
+</html>
--- /dev/null
+body {
+ font: normal 12px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+ color: #4f6b72;
+ background: #E6EAE9;
+}
+
+body.frame {
+ background: #FFFFFF;
+}
+iframe{border:0}
+
+a {
+ color: #c75f3e;
+ text-decoration: none
+}
+
+img {
+ border: 0;
+}
+
+td.header {
+ border-right: 0px ;
+ border-bottom: 0px ;
+ border-top: 0px ;
+ border-left: 0px ;
+ vertical-align: top;
+}
+
+caption {
+ padding: 0 0 5px 0;
+ width: 700px;
+ font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+ text-align: right;
+}
+
+
+td {
+ border-right: 1px solid #C1DAD7;
+ border-bottom: 1px solid #C1DAD7;
+ border-top: 1px solid #C1DAD7;
+ border-left: 1px solid #C1DAD7;
+ background: #fff;
+ padding: 6px 6px 6px 12px;
+ color: #4f6b72;
+ vertical-align: top;
+ text-align: left;
+}
+
+td.content {
+ vertical-align: middle;
+ border-right: 0px ;
+ border-bottom: 0px ;
+ border-top: 0px ;
+ border-left: 0px ;
+}
+
+tr {
+ vertical-align: top;
+}
+
+div.right {
+ text-align:right;
+}
+
+input.right {
+ text-align:right;
+}
+
+div.left {
+ text-align:left;
+}
+
+div.center {
+ text-align:center;
+}
+
+td.second {
+ background: #F5FAFA;
+ color: #797268;
+ white-space: nowrap;
+}
+
+#repolist{
+ list-style:none;
+ padding:0;
+ line-height: 1.5em;
+}
+#repolist li{
+ background: url(images/arrow.png) no-repeat 0 0;
+ padding:0 0 0 16px;
+}
+#repolist .line{
+ background-image: none;
+ padding:0;
+}
+#nav{
+ margin-top: 2em;
+ padding-left: 1em;
+}