mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'wip-MDL-45414-master' of git://github.com/marinaglancy/moodle
This commit is contained in:
commit
fa00be94b1
1 changed files with 4 additions and 2 deletions
|
@ -1513,8 +1513,10 @@ function wiki_print_upload_table($context, $filearea, $fileitemid, $deleteupload
|
||||||
*/
|
*/
|
||||||
function wiki_build_tree($page, $node, &$keys) {
|
function wiki_build_tree($page, $node, &$keys) {
|
||||||
$content = array();
|
$content = array();
|
||||||
static $icon;
|
static $icon = null;
|
||||||
$icon = new pix_icon('f/odt', '');
|
if ($icon === null) {
|
||||||
|
$icon = new pix_icon('f/text-24', '');
|
||||||
|
}
|
||||||
$pages = wiki_get_linked_pages($page->id);
|
$pages = wiki_get_linked_pages($page->id);
|
||||||
foreach ($pages as $p) {
|
foreach ($pages as $p) {
|
||||||
$key = $page->id . ':' . $p->id;
|
$key = $page->id . ':' . $p->id;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue