Index: moodle/mod/lamslesson/mod_form.php
===================================================================
RCS file: /usr/local/cvsroot/moodle/mod/lamslesson/mod_form.php,v
diff -u -r1.3 -r1.4
--- moodle/mod/lamslesson/mod_form.php 23 Jan 2011 15:24:57 -0000 1.3
+++ moodle/mod/lamslesson/mod_form.php 23 Jan 2011 17:39:06 -0000 1.4
@@ -99,9 +99,11 @@
//-->
-
-
-
+
XXX;
}
Index: moodle/mod/lamslesson/styles.css
===================================================================
RCS file: /usr/local/cvsroot/moodle/mod/lamslesson/styles.css,v
diff -u -r1.3 -r1.4
--- moodle/mod/lamslesson/styles.css 23 Jan 2011 15:24:58 -0000 1.3
+++ moodle/mod/lamslesson/styles.css 23 Jan 2011 17:39:06 -0000 1.4
@@ -4,6 +4,11 @@
.path-mod-lamslesson .progress-header {text-align:center;font-weight: bold;padding-top: 5px; padding-bottom:5px;}
.path-mod-lamslesson .super {position:relative;bottom:0.5em;color:red;font-size:0.8em;}
+/* Button styles */
+#authorbutton a {padding-left: 2.25em;background: url([[pix:i/admin]]) 5% 50% no-repeat;}
+#learnerbutton a {padding-left: 2.25em;background: url([[pix:t/go]]) 8% 50% no-repeat;}
+#monitorbutton a {padding-left: 2.25em;background: url([[pix:a/search]]) 5% 50% no-repeat;}
+
/* Copyright (c) 2006 Yahoo! Inc. All rights reserved.
This file is from:
http://developer.yahoo.com/yui/examples/treeview/assets/css/folders/tree.css
Index: moodle/mod/lamslesson/view.php
===================================================================
RCS file: /usr/local/cvsroot/moodle/mod/lamslesson/view.php,v
diff -u -r1.2 -r1.3
--- moodle/mod/lamslesson/view.php 21 Jan 2011 13:25:46 -0000 1.2
+++ moodle/mod/lamslesson/view.php 23 Jan 2011 17:39:06 -0000 1.3
@@ -59,7 +59,6 @@
$PAGE->set_heading($course->shortname);
$PAGE->set_button(update_module_button($cm->id, $course->id, get_string('modulename', 'lamslesson')));
-
// Main page
$options_html = '';
$canmanage = has_capability('mod/lamslesson:manage', $context);
@@ -93,13 +92,17 @@
if ($canparticipate) {
$learnerurl = lamslesson_get_url($USER->username, $locale['lang'], $locale['country'], $lamslesson->lesson_id, $course->id, $course->fullname, $course->timecreated, LAMSLESSON_PARAM_LEARNER_METHOD);
echo '';
+ echo ' ';
echo $OUTPUT->action_link($learnerurl, get_string('openlesson', 'lamslesson'), new popup_action('click', $learnerurl, '', array('height' => 600, 'width' => 996)));
+ echo '';
echo '
';
}
if ($canmanage) {
$monitorurl = lamslesson_get_url($USER->username, $locale['lang'], $locale['country'], $lamslesson->lesson_id, $course->id, $course->fullname, $course->timecreated, LAMSLESSON_PARAM_MONITOR_METHOD);
echo '';
+ echo ' ';
echo $OUTPUT->action_link($monitorurl, get_string('openmonitor', 'lamslesson'), new popup_action('click', $monitorurl, '', array('height' => 600, 'width' => 996)));
+ echo '';
echo '
';
@@ -142,6 +145,7 @@
echo $OUTPUT->box_end();
}
+
/*
print($progress['activitiesCompleted']);
print($progress['activityCount']);