lams-github

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix an error to get the sectionid variable

New tool adapter's page for Moodle's Assignment

Use 'next' variable to check if an entry have been uploaded and if true lams shows the Next Activity button

    • -1
    • +5
    /temp_moodle_dev/moodle/mod/glossary/view.php
Some little changes, nothing relevant

Some changes to fix some functions in the glossary, as Clone, Import and export.

    • -6
    • +3
    /temp_moodle_dev/moodle/mod/glossary/lib.php
we change to 1 the 'Next' variable if we upload a new entry in the Glossary. We pass that variable to view.php page so there we can display the Next Activity button if next=1.

    • -10
    • +14
    /temp_moodle_dev/moodle/mod/glossary/edit.php
we get the 'Next' variable and if is equal to 1 we desplay the Next Activity button (it means that we have done a comment to one entry so we can continue with the sequence)

hide Moodle's headers and footers if working inide LAMS's sequence. We also pass a variable called Next to the Comments.php page to be able to display LAMS's navigation buttons (if next=1 we tell to comments.php that a comment to one entry has been done).

hide Moodle's headers and footers if working inide LAMS's sequence and display LAMS's navigation buttons while necessary

    • -11
    • +15
    /temp_moodle_dev/moodle/mod/forum/view.php
hide Moodle's headers and footers if working inide LAMS's sequence

    • -1
    • +2
    /temp_moodle_dev/moodle/mod/forum/report.php
New files: to display LAMS's navigation buttons

    • -0
    • +14
    /temp_moodle_dev/moodle/mod/forum/showlamsfinish.php
    • -0
    • +15
    /temp_moodle_dev/moodle/mod/forum/showlamsnext.php
Hide Moodle's headers and footers in LAMS and display LAMS's navigation buttons while necessary

    • -17
    • +43
    /temp_moodle_dev/moodle/mod/forum/post.php
Little change: we hide Moodle's footer if we are in a LAMS sequence

New clone function for LAMS, now we copy all useful tables, not just the forum table. We changed the import and export function for LAMS too to be able to get the information from posts and discussion's tables

    • -9
    • +78
    /temp_moodle_dev/moodle/mod/forum/lib.php
hide Moodle's footer if using LAMS

    • -1
    • +2
    /temp_moodle_dev/moodle/mod/forum/index.php
Changes to hide the Moodle's headers and footers

    • -2
    • +9
    /temp_moodle_dev/moodle/mod/forum/discuss.php
No significant change: we have delented one variable that we won't use

There was a mistake: we used section's 'id' but we have to use section's 'section' number, in the clone function

    • -1
    • +1
    /temp_moodle_dev/moodle/mod/choice/lib.php
just in case there is a change ... sorry

    • -0
    • +2282
    /temp_moodle_dev/moodle/lib/datalib.php
slightly change, nothing important

    • -2
    • +0
    /temp_moodle_dev/moodle/mod/choice/index.php
Some changes to be able to display LAMS's navigation buttons and to hide Moodle navigation headers

New pages to display LAMS's navigation buttons in the upper frame

    • -0
    • +14
    /temp_moodle_dev/moodle/mod/assignment/showlamsfinish.php
    • -0
    • +15
    /temp_moodle_dev/moodle/mod/assignment/showlamsnext.php
New page. We adapt the mod_form to LAMS, so it is not as complex as the original one and have all the fields and buttons that LAMS need to edit the activity.

    • -0
    • +76
    /temp_moodle_dev/moodle/mod/assignment/mod_form_lams.php
changes in some functions to hide Moodle's navigation headers and footers and new fucntions to clone, import, export and return Moodle's outputs to LAMS

New page. We need that to choose the Assignment's type in LAMS before editting the activity.

    • -0
    • +56
    /temp_moodle_dev/moodle/mod/assignment/assignment_types.php
add field is_lams in assignment's table to identifiy assignments done inside LAMS

Changes to analize the isFinished variable so we display the Next Activity button if the activity has been done once.

    • -0
    • +66
    /temp_moodle_dev/moodle/course/lamsbuttons.php
    • -0
    • +44
    /temp_moodle_dev/moodle/course/lamsframes.php
add a parameter so now we can know if one activity has beewn done at list once by the learner so if the learner click the activity to wach it again the Next Activity button will appear automatically so the learner won't have to redo the activity to continue

we changed the name of the Quiz's outputs function so now will work with percentages, not just the mark so we will have less problems with the fractrional marks

Put the Quiz output's function's name at the bottom of the list