-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added two new features to facetoface #3
base: master
Are you sure you want to change the base?
Conversation
…ession starts. (2)Disable New Enrollment xx days before a session starts.
I have updated the code, as you commented. Please check and let me know. |
@@ -561,13 +561,11 @@ function facetoface_update_calendar_entries($session, $facetoface = null){ | |||
*/ | |||
function facetoface_update_attendees($session) { | |||
global $USER, $DB; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-add line deleted here
Few more comments, once those are fixed I'll test it out :-) |
…Database calls that is made in the renderer
I have pushed a new update as according to your input. (Except for the calling of DB in renderer). |
$table = new xmldb_table('facetoface'); | ||
$field = new xmldb_field('disablewithindays', XMLDB_TYPE_INTEGER, '3', null, XMLDB_NOTNULL, null, '0', 'approvalreqd'); | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove extra new line
@@ -34,7 +34,8 @@ | |||
<FIELD NAME="shortname" TYPE="char" LENGTH="32" NOTNULL="false" SEQUENCE="false" PREVIOUS="timemodified" NEXT="showoncalendar"/> | |||
<FIELD NAME="showoncalendar" TYPE="int" LENGTH="1" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" PREVIOUS="shortname" NEXT="approvalreqd"/> | |||
<FIELD NAME="approvalreqd" TYPE="int" LENGTH="1" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" PREVIOUS="showoncalendar" NEXT="usercalentry"/> | |||
<FIELD NAME="usercalentry" TYPE="int" LENGTH="1" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" PREVIOUS="approvalreqd"/> | |||
<FIELD NAME="usercalentry" TYPE="int" LENGTH="1" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" PREVIOUS="approvalreqd" NEXT="disablewithindays"/> | |||
<FIELD NAME="disablewithindays" TYPE="int" LENGTH="3" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" PREVIOUS="usercalentry"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix indenting of this line
Hopefully my comments about the Database calls is helpful. If you have any questions let me know. Thanks, |
…pace, extra lines, and indentation. The css 100% width on styles.php is not working, and I am still working on the database calls mentioned in the last comment
…session_dates function
I have updated the code as instructed. And I have removed a couple of database calls from renderer.php and lib.php. Please refer to todays commit. |
The issue with 100% width on styles.css has been fixed as well. |
Hello,
I have added two new features:
Thank you.