Merge branch 'MDL-86800-500' of https://github.com/mihailges/moodle into MOODLE_500_STABLE
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
<table align="center" width="635" class="generaltable" border="0" cellpadding="5" cellspacing="0">
|
||||
<tr>
|
||||
<td class="generalboxcontent">
|
||||
<table cellpadding="9" cellspacing="0" >
|
||||
<table cellpadding="9" cellspacing="0" class="table-reboot">
|
||||
<tr valign="top">
|
||||
<td colspan="2" class="header"><?php print_string('aboutyourhost', 'mnet'); ?></td>
|
||||
</tr>
|
||||
@@ -122,7 +122,7 @@
|
||||
<table align="center" width="635" class="generaltable" border="0" cellpadding="5" cellspacing="0">
|
||||
<tr>
|
||||
<td class="generalboxcontent">
|
||||
<table cellpadding="9" cellspacing="0" >
|
||||
<table cellpadding="9" cellspacing="0" class="table-reboot">
|
||||
<tr valign="top">
|
||||
<td colspan="2" class="header"><?php print_string('expireyourkey', 'mnet'); ?></td>
|
||||
</tr>
|
||||
|
||||
@@ -86,7 +86,7 @@ class tool_capability_renderer extends plugin_renderer_base {
|
||||
}
|
||||
|
||||
$table = new html_table();
|
||||
$table->attributes['class'] = 'comparisontable';
|
||||
$table->attributes['class'] = 'comparisontable table-reboot';
|
||||
$table->head = array(' ');
|
||||
foreach ($roles as $role) {
|
||||
$url = new moodle_url('/admin/roles/define.php', array('action' => 'view', 'roleid' => $role->id));
|
||||
|
||||
@@ -93,7 +93,7 @@ abstract class XMLDBCheckAction extends XMLDBAction {
|
||||
$o = '<table class="generaltable" border="0" cellpadding="5" cellspacing="0" id="notice">';
|
||||
$o.= ' <tr><td class="generalboxcontent">';
|
||||
$o.= ' <p class="centerpara">' . $this->str[$this->introstr] . '</p>';
|
||||
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
|
||||
$o .= ' <table class="table-reboot w-100" cellpadding="20"><tr><td class="text-end">';
|
||||
$o.= ' <div class="singlebutton">';
|
||||
$o.= ' <form action="index.php?action=' . $this->title . '&confirmed=yes&sesskey=' . sesskey() . '" method="post"><fieldset class="invisiblefieldset">';
|
||||
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
|
||||
|
||||
@@ -76,7 +76,7 @@ class delete_field extends XMLDBAction {
|
||||
$o = '<table width="60" class="generaltable" border="0" cellpadding="5" cellspacing="0" id="notice">';
|
||||
$o.= ' <tr><td class="generalboxcontent">';
|
||||
$o.= ' <p class="centerpara">' . $this->str['confirmdeletefield'] . '<br /><br />' . $fieldparam . '</p>';
|
||||
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
|
||||
$o .= ' <table class="table-reboot w-100" cellpadding="20"><tr><td class="text-end">';
|
||||
$o.= ' <div class="singlebutton">';
|
||||
$o.= ' <form action="index.php?action=delete_field&sesskey=' . sesskey() . '&confirmed=yes&postaction=edit_table&field=' . $fieldparam . '&table=' . $tableparam . '&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
|
||||
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
|
||||
|
||||
@@ -76,7 +76,7 @@ class delete_index extends XMLDBAction {
|
||||
$o = '<table width="60" class="generaltable" border="0" cellpadding="5" cellspacing="0" id="notice">';
|
||||
$o.= ' <tr><td class="generalboxcontent">';
|
||||
$o.= ' <p class="centerpara">' . $this->str['confirmdeleteindex'] . '<br /><br />' . $indexparam . '</p>';
|
||||
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
|
||||
$o .= ' <table class="table-reboot w-100" cellpadding="20"><tr><td class="text-end">';
|
||||
$o.= ' <div class="singlebutton">';
|
||||
$o.= ' <form action="index.php?action=delete_index&sesskey=' . sesskey() . '&confirmed=yes&postaction=edit_table&index=' . $indexparam . '&table=' . $tableparam . '&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
|
||||
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
|
||||
|
||||
@@ -76,7 +76,7 @@ class delete_key extends XMLDBAction {
|
||||
$o = '<table width="60" class="generaltable" border="0" cellpadding="5" cellspacing="0" id="notice">';
|
||||
$o.= ' <tr><td class="generalboxcontent">';
|
||||
$o.= ' <p class="centerpara">' . $this->str['confirmdeletekey'] . '<br /><br />' . $keyparam . '</p>';
|
||||
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
|
||||
$o .= ' <table class="table-reboot w-100" cellpadding="20"><tr><td class="text-end">';
|
||||
$o.= ' <div class="singlebutton">';
|
||||
$o.= ' <form action="index.php?action=delete_key&sesskey=' . sesskey() . '&confirmed=yes&postaction=edit_table&key=' . $keyparam . '&table=' . $tableparam . '&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
|
||||
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
|
||||
|
||||
@@ -75,7 +75,7 @@ class delete_table extends XMLDBAction {
|
||||
$o = '<table width="60" class="generaltable" border="0" cellpadding="5" cellspacing="0" id="notice">';
|
||||
$o.= ' <tr><td class="generalboxcontent">';
|
||||
$o.= ' <p class="centerpara">' . $this->str['confirmdeletetable'] . '<br /><br />' . $tableparam . '</p>';
|
||||
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
|
||||
$o .= ' <table class="table-reboot w-100" cellpadding="20"><tr><td class="text-end">';
|
||||
$o.= ' <div class="singlebutton">';
|
||||
$o.= ' <form action="index.php?action=delete_table&sesskey=' . sesskey() . '&confirmed=yes&postaction=edit_xml_file&table=' . $tableparam . '&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '" method="post"><fieldset class="invisiblefieldset">';
|
||||
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
|
||||
|
||||
@@ -74,7 +74,7 @@ class delete_xml_file extends XMLDBAction {
|
||||
$o = '<table width="60" class="generaltable" border="0" cellpadding="5" cellspacing="0" id="notice">';
|
||||
$o.= ' <tr><td class="generalboxcontent">';
|
||||
$o.= ' <p class="centerpara">' . $this->str['confirmdeletexmlfile'] . '<br /><br />' . $dirpath . '/install.php</p>';
|
||||
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
|
||||
$o .= ' <table class="table-reboot w-100" cellpadding="20"><tr><td class="text-end">';
|
||||
$o.= ' <div class="singlebutton">';
|
||||
$o.= ' <form action="index.php?action=delete_xml_file&sesskey=' . sesskey() . '&confirmed=yes&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '&postaction=main_view#lastused" method="post"><fieldset class="invisiblefieldset">';
|
||||
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
|
||||
|
||||
@@ -114,7 +114,7 @@ class edit_field extends XMLDBAction {
|
||||
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() .'" />';
|
||||
$o.= ' <input type="hidden" name ="action" value="edit_field_save" />';
|
||||
$o.= ' <input type="hidden" name ="postaction" value="edit_table" />';
|
||||
$o.= ' <table id="formelements" class="boxaligncenter">';
|
||||
$o .= ' <table id="formelements" class="table-reboot">';
|
||||
// XMLDB field name
|
||||
// If the field has dependencies, we cannot change its name
|
||||
$disabled = '';
|
||||
|
||||
@@ -106,7 +106,7 @@ class edit_index extends XMLDBAction {
|
||||
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() .'" />';
|
||||
$o.= ' <input type="hidden" name ="action" value="edit_index_save" />';
|
||||
$o.= ' <input type="hidden" name ="postaction" value="edit_table" />';
|
||||
$o.= ' <table id="formelements" class="boxaligncenter">';
|
||||
$o .= ' <table id="formelements" class="table-reboot">';
|
||||
// XMLDB index name
|
||||
// If the index has dependencies, we cannot change its name
|
||||
$disabled = '';
|
||||
|
||||
@@ -106,7 +106,7 @@ class edit_key extends XMLDBAction {
|
||||
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() .'" />';
|
||||
$o.= ' <input type="hidden" name ="action" value="edit_key_save" />';
|
||||
$o.= ' <input type="hidden" name ="postaction" value="edit_table" />';
|
||||
$o.= ' <table id="formelements" class="boxaligncenter">';
|
||||
$o .= ' <table id="formelements" class="table-reboot">';
|
||||
// XMLDB key name
|
||||
// If the key has dependencies, we cannot change its name
|
||||
$disabled = '';
|
||||
|
||||
@@ -126,7 +126,7 @@ class edit_table extends XMLDBAction {
|
||||
$o.= ' <input type="hidden" name ="action" value="edit_table_save" />';
|
||||
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() .'" />';
|
||||
$o.= ' <input type="hidden" name ="postaction" value="edit_table" />';
|
||||
$o .= ' <table id="formelements">';
|
||||
$o .= ' <table id="formelements" class="table-reboot">';
|
||||
// If the table is being used, we cannot rename it
|
||||
if ($structure->getTableUses($table->getName())) {
|
||||
$o.= ' <tr valign="top"><td>Name:</td><td><input type="hidden" name ="name" value="' . s($table->getName()) . '" />' . s($table->getName()) .'</td></tr>';
|
||||
@@ -208,7 +208,7 @@ class edit_table extends XMLDBAction {
|
||||
$fields = $table->getFields();
|
||||
if (!empty($fields)) {
|
||||
$o .= '<h3 class="main">' . $this->str['fields'] . '</h3>';
|
||||
$o .= '<table id="listfields" border="0" cellpadding="5" cellspacing="1" class="boxaligncenter flexible">';
|
||||
$o .= '<table id="listfields" border="0" cellpadding="5" cellspacing="1" class="table-reboot flexible">';
|
||||
$row = 0;
|
||||
foreach ($fields as $field) {
|
||||
// Drag element up/down.
|
||||
@@ -259,7 +259,7 @@ class edit_table extends XMLDBAction {
|
||||
$keys = $table->getKeys();
|
||||
if (!empty($keys)) {
|
||||
$o .= '<h3 class="main">' . $this->str['keys'] . '</h3>';
|
||||
$o .= '<table id="listkeys" border="0" cellpadding="5" cellspacing="1" class="boxaligncenter flexible">';
|
||||
$o .= '<table id="listkeys" border="0" cellpadding="5" cellspacing="1" class="table-reboot flexible">';
|
||||
$row = 0;
|
||||
foreach ($keys as $key) {
|
||||
// Drag element up/down.
|
||||
@@ -305,7 +305,7 @@ class edit_table extends XMLDBAction {
|
||||
$indexes = $table->getIndexes();
|
||||
if (!empty($indexes)) {
|
||||
$o .= '<h3 class="main">' . $this->str['indexes'] . '</h3>';
|
||||
$o .= '<table id="listindexes" border="0" cellpadding="5" cellspacing="1" class="boxaligncenter flexible">';
|
||||
$o .= '<table id="listindexes" border="0" cellpadding="5" cellspacing="1" class="table-reboot flexible">';
|
||||
$row = 0;
|
||||
foreach ($indexes as $index) {
|
||||
// Drag element up/down.
|
||||
|
||||
@@ -116,7 +116,7 @@ class edit_xml_file extends XMLDBAction {
|
||||
$o.= ' <input type="hidden" name ="path" value="' . s($structure->getPath()) .'" />';
|
||||
$o.= ' <input type="hidden" name ="version" value="' . s($structure->getVersion()) .'" />';
|
||||
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() .'" />';
|
||||
$o .= ' <table id="formelements">';
|
||||
$o .= ' <table id="formelements" class="table-reboot">';
|
||||
$o.= ' <tr valign="top"><td>Path:</td><td>' . s($structure->getPath()) . '</td></tr>';
|
||||
$o.= ' <tr valign="top"><td>Version:</td><td>' . s($structure->getVersion()) . '</td></tr>';
|
||||
$o .= ' <tr valign="top"><td><label for="comment" accesskey="c">Comment:</label></td><td>
|
||||
@@ -179,7 +179,7 @@ class edit_xml_file extends XMLDBAction {
|
||||
$tables = $structure->getTables();
|
||||
if ($tables) {
|
||||
$o .= '<h3 class="main">' . $this->str['tables'] . '</h3>';
|
||||
$o .= '<table id="listtables" border="0" cellpadding="5" cellspacing="1" class="boxaligncenter flexible">';
|
||||
$o .= '<table id="listtables" border="0" cellpadding="5" cellspacing="1" class="table-reboot flexible">';
|
||||
$row = 0;
|
||||
foreach ($tables as $table) {
|
||||
// Drag element for sortorder.
|
||||
|
||||
@@ -115,7 +115,7 @@ class new_table_from_mysql extends XMLDBAction {
|
||||
$o.= ' <input type="hidden" name ="action" value="new_table_from_mysql" />';
|
||||
$o.= ' <input type="hidden" name ="postaction" value="edit_table" />';
|
||||
$o.= ' <input type="hidden" name ="sesskey" value="' . sesskey() . '" />';
|
||||
$o.= ' <table id="formelements" class="boxaligncenter" cellpadding="5">';
|
||||
$o .= ' <table id="formelements" class="table-reboot" cellpadding="5">';
|
||||
$o.= ' <tr><td><label for="menutable" accesskey="t">' . $this->str['createtable'] .' </label>' . html_writer::select($selecttables, 'table') . '<label for="menuafter" accesskey="a">' . $this->str['aftertable'] . ' </label>' .html_writer::select($aftertables, 'after') . '</td></tr>';
|
||||
$o.= ' <tr><td colspan="2" align="center"><input type="submit" value="' .$this->str['create'] . '" /></td></tr>';
|
||||
$o.= ' <tr><td colspan="2" align="center"><a href="index.php?action=edit_xml_file&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['back'] . ']</a></td></tr>';
|
||||
|
||||
@@ -74,7 +74,7 @@ class revert_changes extends XMLDBAction {
|
||||
$o = '<table width="60" class="generaltable boxaligncenter" border="0" cellpadding="5" cellspacing="0" id="notice">';
|
||||
$o.= ' <tr><td class="generalboxcontent">';
|
||||
$o.= ' <p class="centerpara">' . $this->str['confirmrevertchanges'] . '<br /><br />' . $dirpath . '</p>';
|
||||
$o.= ' <table class="boxaligncenter" cellpadding="20"><tr><td>';
|
||||
$o .= ' <table class="table-reboot w-100" cellpadding="20"><tr><td class="text-end">';
|
||||
$o.= ' <div class="singlebutton">';
|
||||
$o.= ' <form action="index.php?action=revert_changes&sesskey=' . sesskey() . '&confirmed=yes&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '&postaction=main_view#lastused" method="post"><fieldset class="invisiblefieldset">';
|
||||
$o.= ' <input type="submit" value="'. $this->str['yes'] .'" /></fieldset></form></div>';
|
||||
|
||||
@@ -103,7 +103,7 @@ class view_reserved_words extends XMLDBAction {
|
||||
|
||||
// The list of currently wrong field names
|
||||
if ($wronguses) {
|
||||
$o.= ' <table id="formelements" class="boxaligncenter" cellpadding="5">';
|
||||
$o .= ' <table id="formelements" class="boxaligncenter table-reboot" cellpadding="5">';
|
||||
$o.= ' <tr><td align="center"><font color="red">' . $this->str['wrongreservedwords'] . '</font></td></tr>';
|
||||
$o.= ' <tr><td>';
|
||||
$o.= ' <ul><li>' . implode('</li><li>', $wronguses) . '</li></ul>';
|
||||
@@ -112,7 +112,7 @@ class view_reserved_words extends XMLDBAction {
|
||||
}
|
||||
|
||||
// The textarea showing all the reserved words
|
||||
$o.= ' <table id="formelements" class="boxaligncenter" cellpadding="5">';
|
||||
$o .= ' <table id="formelements" class="boxaligncenter table-reboot" cellpadding="5">';
|
||||
$o.= ' <tr><td align="center">' . $this->str['listreservedwords'].'</td></tr>';
|
||||
$o .= ' <tr><td><textarea cols="80" rows="32" class="form-control">';
|
||||
$o.= s(implode(', ', array_keys($reserved_words)));
|
||||
|
||||
@@ -113,12 +113,12 @@ class view_structure_php extends XMLDBAction {
|
||||
$o.='<div>';
|
||||
$o.= ' <input type="hidden" name ="dir" value="' . str_replace($CFG->dirroot, '', $dirpath) . '" />';
|
||||
$o.= ' <input type="hidden" name ="action" value="view_structure_php" />';
|
||||
$o.= ' <table id="formelements" class="boxaligncenter" cellpadding="5">';
|
||||
$o .= ' <table id="formelements" class="table-reboot" cellpadding="5">';
|
||||
$o.= ' <tr><td><label for="menucommand" accesskey="c">' . $this->str['selectaction'] .' </label>' . html_writer::select($popcommands, 'command', $commandparam, false) . ' <label for="menutable" accesskey="t">' . $this->str['selecttable'] . ' </label>' .html_writer::select($poptables, 'table', $tableparam, false) . '</td></tr>';
|
||||
$o.= ' <tr><td colspan="2" align="center"><input type="submit" value="' .$this->str['view'] . '" /></td></tr>';
|
||||
$o.= ' </table>';
|
||||
$o.= '</div></form>';
|
||||
$o.= ' <table id="phpcode" class="boxaligncenter" cellpadding="5">';
|
||||
$o .= ' <table id="phpcode" class="table-reboot" cellpadding="5">';
|
||||
$o .= ' <tr><td><textarea cols="80" rows="32" class="form-control">';
|
||||
// Based on current params, call the needed function
|
||||
switch ($commandparam) {
|
||||
|
||||
@@ -85,7 +85,7 @@ class view_structure_sql extends XMLDBAction {
|
||||
$b .= '</p>';
|
||||
$o = $b;
|
||||
|
||||
$o.= ' <table id="formelements" class="boxaligncenter" cellpadding="5">';
|
||||
$o .= ' <table id="formelements" class="table-reboot" cellpadding="5">';
|
||||
$o .= ' <tr><td><textarea cols="80" rows="32" class="form-control">';
|
||||
// Get an array of statements
|
||||
if ($starr = $DB->get_manager()->generator->getCreateStructureSQL($structure)) {
|
||||
|
||||
@@ -162,13 +162,13 @@ class view_table_php extends XMLDBAction {
|
||||
$o.= ' <input type="hidden" name ="dir" value="' . str_replace($CFG->dirroot, '', $dirpath) . '" />';
|
||||
$o.= ' <input type="hidden" name ="table" value="' . s($tableparam) . '" />';
|
||||
$o.= ' <input type="hidden" name ="action" value="view_table_php" />';
|
||||
$o .= ' <table id="formelements" cellpadding="5">';
|
||||
$o .= ' <table id="formelements" class="table-reboot" cellpadding="5">';
|
||||
$o.= ' <tr><td><label for="menucommand" accesskey="c">' . $this->str['selectaction'] .' </label>' . html_writer::select($popcommands, 'command', $commandparam, false) . ' <label for="menufieldkeyindex" accesskey="f">' . $this->str['selectfieldkeyindex'] . ' </label>' .html_writer::select($popfields, 'fieldkeyindex', $origfieldkeyindexparam, false) . '</td></tr>';
|
||||
$o.= ' <tr><td colspan="2" align="center"><input type="submit" value="' .$this->str['view'] . '" /></td></tr>';
|
||||
$o.= ' </table>';
|
||||
$o.= '</div></form>';
|
||||
|
||||
$o.= ' <table id="phpcode" class="boxaligncenter" cellpadding="5">';
|
||||
$o .= ' <table id="phpcode" class="table-reboot" cellpadding="5">';
|
||||
$o .= ' <tr><td><textarea cols="80" rows="32" class="form-control">';
|
||||
// Check we have selected some field/key/index from the popup
|
||||
if ($fieldkeyindexparam == 'fieldshead' || $fieldkeyindexparam == 'keyshead' || $fieldkeyindexparam == 'indexeshead') {
|
||||
|
||||
@@ -92,7 +92,7 @@ class view_table_sql extends XMLDBAction {
|
||||
$b .= '</p>';
|
||||
$o = $b;
|
||||
|
||||
$o.= ' <table id="formelements" class="boxaligncenter" cellpadding="5">';
|
||||
$o .= ' <table id="formelements" class="table-reboot" cellpadding="5">';
|
||||
$o .= ' <tr><td><textarea cols="80" rows="32" class="form-control">';
|
||||
|
||||
// Get an array of statements
|
||||
|
||||
+1
-1
@@ -169,7 +169,7 @@ class core_badges_renderer extends plugin_renderer_base {
|
||||
$potentialcell->attributes['class'] = 'potential';
|
||||
|
||||
$table = new html_table();
|
||||
$table->attributes['class'] = 'recipienttable boxaligncenter';
|
||||
$table->attributes['class'] = 'recipienttable table-reboot';
|
||||
$table->data = array(new html_table_row(array($existingcell, $actioncell, $potentialcell)));
|
||||
$output .= html_writer::table($table);
|
||||
|
||||
|
||||
@@ -342,7 +342,7 @@ class block_activity_results extends block_base {
|
||||
|
||||
$rank = 0;
|
||||
if (!empty($best)) {
|
||||
$this->content->text .= '<table class="grades"><caption class="pb-0"><h6>';
|
||||
$this->content->text .= '<table class="grades table-reboot"><caption class="pb-0"><h6>';
|
||||
if ($numbest == 1) {
|
||||
$this->content->text .= get_string('bestgroupgrade', 'block_activity_results');
|
||||
} else {
|
||||
@@ -398,7 +398,7 @@ class block_activity_results extends block_base {
|
||||
$rank = 0;
|
||||
if (!empty($worst)) {
|
||||
$worst = array_reverse($worst, true);
|
||||
$this->content->text .= '<table class="grades"><caption class="pb-0"><h6>';
|
||||
$this->content->text .= '<table class="grades table-reboot"><caption class="pb-0"><h6>';
|
||||
if ($numworst == 1) {
|
||||
$this->content->text .= get_string('worstgroupgrade', 'block_activity_results');
|
||||
} else {
|
||||
@@ -533,7 +533,7 @@ class block_activity_results extends block_base {
|
||||
|
||||
$rank = 0;
|
||||
if (!empty($best)) {
|
||||
$this->content->text .= '<table class="grades"><caption class="pb-0"><h6>';
|
||||
$this->content->text .= '<table class="table-reboot grades"><caption class="pb-0"><h6>';
|
||||
if ($numbest == 1) {
|
||||
$this->content->text .= get_string('bestgrade', 'block_activity_results');
|
||||
} else {
|
||||
@@ -600,7 +600,7 @@ class block_activity_results extends block_base {
|
||||
$rank = 0;
|
||||
if (!empty($worst)) {
|
||||
$worst = array_reverse($worst, true);
|
||||
$this->content->text .= '<table class="grades"><caption class="pb-0"><h6>';
|
||||
$this->content->text .= '<table class="table-reboot grades"><caption class="pb-0"><h6>';
|
||||
if ($numbest == 1) {
|
||||
$this->content->text .= get_string('worstgrade', 'block_activity_results');
|
||||
} else {
|
||||
|
||||
@@ -79,7 +79,7 @@ echo $OUTPUT->header();
|
||||
|
||||
|
||||
// Display completion status.
|
||||
echo html_writer::start_tag('table', array('class' => 'generalbox boxaligncenter'));
|
||||
echo html_writer::start_tag('table', ['class' => 'generalbox table-reboot']);
|
||||
echo html_writer::start_tag('tbody');
|
||||
|
||||
// If not display logged in user, show user name.
|
||||
@@ -181,7 +181,12 @@ if (empty($completions)) {
|
||||
|
||||
// Generate markup for criteria statuses.
|
||||
echo html_writer::start_tag('table',
|
||||
array('class' => 'generalbox logtable boxaligncenter', 'id' => 'criteriastatus', 'width' => '100%'));
|
||||
[
|
||||
'class' => 'generalbox logtable table-reboot',
|
||||
'id' => 'criteriastatus',
|
||||
'width' => '100%',
|
||||
]
|
||||
);
|
||||
echo html_writer::start_tag('tbody');
|
||||
echo html_writer::start_tag('tr', array('class' => 'ccheader'));
|
||||
echo html_writer::tag('th', get_string('criteriagroup', 'block_completionstatus'), array('class' => 'c0 header', 'scope' => 'col'));
|
||||
|
||||
@@ -92,7 +92,7 @@ if (!empty($rssrecord->preferredtitle)) {
|
||||
} else {
|
||||
$feedtitle = $rss->get_title();
|
||||
}
|
||||
echo '<table align="center" width="50%" cellspacing="1">'."\n";
|
||||
echo '<table class="table-reboot" align="center" width="50%" cellspacing="1">' . "\n";
|
||||
echo '<tr><td colspan="2"><strong>'. s($feedtitle) .'</strong></td></tr>'."\n";
|
||||
foreach ($rss->get_items() as $item) {
|
||||
echo '<tr><td valign="middle">'."\n";
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<form action="course.php" method="post">
|
||||
<div>
|
||||
<table class="courseoutcomes">
|
||||
<table class="courseoutcomes table-reboot">
|
||||
<tr>
|
||||
<td>
|
||||
<label for="removeoutcomes"><?php print_string('outcomescourse', 'grades'); ?></label>
|
||||
|
||||
@@ -353,7 +353,7 @@ function profiling_print_run($run, $prevreferences = null) {
|
||||
$table = new html_table();
|
||||
$table->align = array('right', 'left');
|
||||
$table->tablealign = 'center';
|
||||
$table->attributes['class'] = 'profilingruntable';
|
||||
$table->attributes['class'] = 'profilingruntable table-reboot';
|
||||
$table->colclasses = array('label', 'value');
|
||||
$table->data = array(
|
||||
array(get_string('runid', 'tool_profiling'), $run->runid),
|
||||
@@ -419,7 +419,7 @@ function profiling_print_rundiff($run1, $run2) {
|
||||
$table = new html_table();
|
||||
$table->align = array('right', 'left', 'left', 'left');
|
||||
$table->tablealign = 'center';
|
||||
$table->attributes['class'] = 'profilingruntable';
|
||||
$table->attributes['class'] = 'profilingruntable table-reboot';
|
||||
$table->colclasses = array('label', 'value1', 'value2');
|
||||
$table->data = array(
|
||||
array(get_string('runid', 'tool_profiling'),
|
||||
|
||||
@@ -78,7 +78,7 @@ class data_field_latlong extends data_field_base {
|
||||
}
|
||||
$str = '<div title="'.s($this->field->description).'">';
|
||||
$str .= '<fieldset><legend><span class="accesshide">'.s($this->field->name).'</span></legend>';
|
||||
$str .= '<table class="d-flex flex-wrap align-items-center"><tr><td align="right">';
|
||||
$str .= '<table class="d-flex flex-wrap align-items-center table-reboot"><tr><td align="right">';
|
||||
$classes = 'mod-data-input form-control-static';
|
||||
$str .= '<label for="field_'.$this->field->id.'_0" class="' . $classes . '">' . get_string('latitude', 'data');
|
||||
if ($this->field->required) {
|
||||
|
||||
@@ -96,7 +96,7 @@ class data_field_url extends data_field_base {
|
||||
$label .= '</label>';
|
||||
|
||||
if ($autolinkable) {
|
||||
$str .= '<table><tr><td align="right">';
|
||||
$str .= '<table class="table-reboot"><tr><td align="right">';
|
||||
$str .= '<span class="mod-data-input">' . get_string('url', 'data') . ':</span>';
|
||||
if (!empty($image)) {
|
||||
$str .= $image;
|
||||
|
||||
+1
-1
@@ -1830,7 +1830,7 @@ function data_print_preference_form($data, $perpage, $search, $sort='', $order='
|
||||
|
||||
echo '<br />';
|
||||
echo '<div class="' . $advancedsearchclass . '" id="data_adv_form">';
|
||||
echo '<table class="boxaligncenter">';
|
||||
echo '<table class="table-reboot">';
|
||||
|
||||
// print ASC or DESC
|
||||
echo '<tr><td colspan="2"> </td></tr>';
|
||||
|
||||
+2
-1
@@ -654,7 +654,8 @@ function folder_print_recent_mod_activity($activity, $courseid, $detail, $modnam
|
||||
$tableoptions = [
|
||||
'border' => '0',
|
||||
'cellpadding' => '3',
|
||||
'cellspacing' => '0'
|
||||
'cellspacing' => '0',
|
||||
'class' => 'table-reboot',
|
||||
];
|
||||
$output = html_writer::start_tag('table', $tableoptions);
|
||||
$output .= html_writer::start_tag('tr');
|
||||
|
||||
+1
-1
@@ -4035,7 +4035,7 @@ function forum_print_recent_mod_activity($activity, $courseid, $detail, $modname
|
||||
'border' => '0',
|
||||
'cellpadding' => '3',
|
||||
'cellspacing' => '0',
|
||||
'class' => 'forum-recent'
|
||||
'class' => 'forum-recent table-reboot',
|
||||
];
|
||||
$output = html_writer::start_tag('table', $tableoptions);
|
||||
$output .= html_writer::start_tag('tr');
|
||||
|
||||
@@ -488,7 +488,7 @@ class report extends \mod_scorm\report {
|
||||
if (!$download) {
|
||||
$table->finish_output();
|
||||
if ($candelete) {
|
||||
echo \html_writer::start_tag('table', array('id' => 'commands'));
|
||||
echo \html_writer::start_tag('table', ['id' => 'commands', 'class' => 'table-reboot']);
|
||||
echo \html_writer::start_tag('tr').\html_writer::start_tag('td');
|
||||
echo $this->generate_delete_selected_button();
|
||||
echo \html_writer::end_tag('td').\html_writer::end_tag('tr').\html_writer::end_tag('table');
|
||||
|
||||
@@ -579,7 +579,7 @@ class report extends \mod_scorm\report {
|
||||
if (!$download) {
|
||||
$table->finish_output();
|
||||
if ($candelete) {
|
||||
echo \html_writer::start_tag('table', array('id' => 'commands'));
|
||||
echo \html_writer::start_tag('table', ['id' => 'commands', 'class' => 'table-reboot']);
|
||||
echo \html_writer::start_tag('tr').\html_writer::start_tag('td');
|
||||
echo $this->generate_delete_selected_button();
|
||||
echo \html_writer::end_tag('td').\html_writer::end_tag('tr').\html_writer::end_tag('table');
|
||||
|
||||
@@ -577,7 +577,7 @@ class report extends \mod_scorm\report {
|
||||
if (!$download) {
|
||||
$table->finish_output();
|
||||
if ($candelete) {
|
||||
echo \html_writer::start_tag('table', array('id' => 'commands'));
|
||||
echo \html_writer::start_tag('table', ['id' => 'commands', 'class' => 'table-reboot']);
|
||||
echo \html_writer::start_tag('tr').\html_writer::start_tag('td');
|
||||
echo $this->generate_delete_selected_button();
|
||||
echo \html_writer::end_tag('td').\html_writer::end_tag('tr').\html_writer::end_tag('table');
|
||||
|
||||
@@ -65,7 +65,7 @@ class workshopallocation_manual_renderer extends mod_workshop_renderer {
|
||||
$reviewers = array_map('fullname', $reviewers);
|
||||
|
||||
$table = new html_table();
|
||||
$table->attributes['class'] = 'allocations';
|
||||
$table->attributes['class'] = 'allocations table-reboot';
|
||||
$table->head = array(get_string('participantreviewedby', 'workshop'),
|
||||
get_string('participant', 'workshop'),
|
||||
get_string('participantrevierof', 'workshop'));
|
||||
|
||||
+1
-1
@@ -107,7 +107,7 @@ if (!$ratings) {
|
||||
$table = new html_table;
|
||||
$table->cellpadding = 3;
|
||||
$table->cellspacing = 3;
|
||||
$table->attributes['class'] = 'generalbox ratingtable';
|
||||
$table->attributes['class'] = 'generalbox ratingtable table-reboot';
|
||||
$table->head = array(
|
||||
'',
|
||||
html_writer::link(new moodle_url($sorturl, array('sort' => 'firstname')), $strname),
|
||||
|
||||
@@ -128,7 +128,7 @@ foreach ($sections as $i => $section) {
|
||||
echo '<div class="content">';
|
||||
|
||||
if ($mode == "outline") {
|
||||
echo "<table>";
|
||||
echo "<table class='table-reboot'>";
|
||||
}
|
||||
|
||||
foreach ($section->activities as $cm) {
|
||||
@@ -149,7 +149,7 @@ foreach ($sections as $i => $section) {
|
||||
echo '<div class="content">';
|
||||
|
||||
if ($mode == "outline") {
|
||||
echo "<table>";
|
||||
echo "<table class='table-reboot'>";
|
||||
}
|
||||
|
||||
foreach ($cm->activities as $subcm) {
|
||||
@@ -166,7 +166,7 @@ foreach ($sections as $i => $section) {
|
||||
echo "</div>"; // Content.
|
||||
echo "</div>"; // Subsection.
|
||||
if ($mode == "outline") {
|
||||
echo "<table>";
|
||||
echo "<table class='table-reboot'>";
|
||||
}
|
||||
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user