mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-36749 lib Complete deprecation of old_help_icon
This deprecates the old_help_icon and helpbutton functions. Since they can no longer be used, the renderers are removed altogether.
This commit is contained in:
parent
cce0d9a100
commit
a6d81a73ac
5 changed files with 9 additions and 237 deletions
|
@ -1310,17 +1310,7 @@ class page_wiki_history extends page_wiki {
|
|||
$table->attributes['class'] = 'generaltable mdl-align';
|
||||
$table->rowclasses = $rowclass;
|
||||
|
||||
/*$table = new StdClass();
|
||||
$table->head = array(helpbutton('diff', 'diff', 'wiki', true, false, '', true, ''),
|
||||
get_string('version'),
|
||||
get_string('user'),
|
||||
get_string('modified'),
|
||||
'');
|
||||
$table->data = $contents;
|
||||
$table->class = 'mdl-align';
|
||||
$table->rowclass = $rowclass;*/
|
||||
|
||||
///Print the form
|
||||
// Print the form.
|
||||
echo html_writer::start_tag('form', array('action'=>new moodle_url('/mod/wiki/diff.php'), 'method'=>'get', 'id'=>'diff'));
|
||||
echo html_writer::tag('div', html_writer::empty_tag('input', array('type'=>'hidden', 'name'=>'pageid', 'value'=>$pageid)));
|
||||
echo html_writer::table($table);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue