Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 140... Línea 140...
140
        $action = new \action_menu_link_secondary(new \moodle_url('#'), null, $fieldname,
140
        $action = new \action_menu_link_secondary(new \moodle_url('#'), null, $fieldname,
141
            ['data-action' => 'createfield', 'data-categoryid' => $category->id, 'data-datatype' => $type,
141
            ['data-action' => 'createfield', 'data-categoryid' => $category->id, 'data-datatype' => $type,
142
                'data-datatypename' => $fieldname]);
142
                'data-datatypename' => $fieldname]);
143
        $menu->add($action);
143
        $menu->add($action);
144
    }
144
    }
145
    $menu->attributes['class'] .= ' float-left mr-1';
145
    $menu->attributes['class'] .= ' float-start me-1';
Línea 146... Línea 146...
146
 
146
 
147
    // Add category information to the template.
147
    // Add category information to the template.
148
    $outputcategories[] = [
148
    $outputcategories[] = [
149
        'id' => $category->id,
149
        'id' => $category->id,