Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 17... Línea 17...
17
{{!
17
{{!
18
    @template core_courseformat/local/content/section/cmlist
18
    @template core_courseformat/local/content/section/cmlist
Línea 19... Línea 19...
19
 
19
 
Línea -... Línea 20...
-
 
20
    Displays the course module list inside a course section.
-
 
21
 
-
 
22
    TODO remove showmovehere, strmovefull, movingstr, cancelcopyurl, movetosectionurl,
20
    Displays the course module list inside a course section.
23
    strmovefull and all associated HTML as part of MDL-83530.
21
 
24
 
22
    Example context (json):
25
    Example context (json):
23
    {
26
    {
24
        "cms": [
27
        "cms": [
Línea 28... Línea 31...
28
                        "cmname": "<a class=\"aalink\" href=\"#\"><span class=\"instancename\">Forum example</span></a>",
31
                        "cmname": "<a class=\"aalink\" href=\"#\"><span class=\"instancename\">Forum example</span></a>",
29
                        "hasname": "true"
32
                        "hasname": "true"
30
                    },
33
                    },
31
                    "id": 3,
34
                    "id": 3,
32
                    "module": "forum",
35
                    "module": "forum",
-
 
36
                    "anchor": "module-3",
33
                    "extraclasses": "newmessages"
37
                    "extraclasses": "newmessages"
34
                }
38
                }
35
            },
39
            },
36
            {
40
            {
37
                "cmitem": {
41
                "cmitem": {
Línea 39... Línea 43...
39
                        "cmname": "<a class=\"aalink\" href=\"#\"><span class=\"instancename\">Assign example</span></a>",
43
                        "cmname": "<a class=\"aalink\" href=\"#\"><span class=\"instancename\">Assign example</span></a>",
40
                        "hasname": "true"
44
                        "hasname": "true"
41
                    },
45
                    },
42
                    "id": 4,
46
                    "id": 4,
43
                    "module": "assign",
47
                    "module": "assign",
-
 
48
                    "anchor": "module-4",
44
                    "extraclasses": ""
49
                    "extraclasses": ""
45
                }
50
                }
46
            }
51
            }
47
        ],
52
        ],
48
        "hascms": true,
53
        "hascms": true,