Browse Source

repository created

bernardo 5 years ago
commit
719e61934a
5 changed files with 57 additions and 0 deletions
  1. 27 0
      db/access.php
  2. BIN
      icon.gif
  3. 9 0
      lang/en_utf8/mod_gradeImporter.php
  4. 10 0
      lang/pt-br_utf8/mod_gradeImporter.php
  5. 11 0
      version.php

+ 27 - 0
db/access.php

@@ -0,0 +1,27 @@
+<?php
+    $capabilities = array(
+        'mod/certificate:addinstance' => array(
+            'riskbitmask' => RISK_XSS,
+            'captype' => 'write',
+            'contextlevel' => CONTEXT_COURSE,
+            'archetypes' => array(
+                'editingteacher' => CAP_ALLOW,
+                'manager' => CAP_ALLOW
+            ),
+            'clonepermissionsfrom' => 'moodle/course:manageactivies'
+        ),
+        'mod/MODULENAME:view' => array(
+            'captype' => 'read',
+            'contextlevel' => CONTEXT_MODULE,
+            'archetypes' => array(
+                'guest' => CAP_ALLOW,
+                'student' => CAP_ALLOW,
+                'teacher' => CAP_ALLOW,
+                'editingteacher' => CAP_ALLOW,
+                'manager' => CAP_ALLOW
+            )
+        )
+);
+
+
+ ?>

BIN
icon.gif


+ 9 - 0
lang/en_utf8/mod_gradeImporter.php

@@ -0,0 +1,9 @@
+<?php
+$string['gradeImporter'] = 'Grade Importer';
+
+$string['modulename'] = 'Grade Importer';
+$string['modulenameplural'] = 'Grade Importers';
+
+$string['gradeImporterintro'] = 'This module facilitates...';
+$string['gradeImportername'] = 'Grade Importer Name';
+?>

+ 10 - 0
lang/pt-br_utf8/mod_gradeImporter.php

@@ -0,0 +1,10 @@
+<?php
+$string['gradeImporter'] = 'Importador de notas';
+
+$string['modulename'] = 'Importador de notas';
+$string['modulenameplural'] = 'Importadores de notas';
+
+$string['gradeImporterintro'] = 'Esse módulo facilita a
+            disponibilização de notas de atividades para os alunos';
+$string['gradeImportername'] = 'Importador de Notas';
+?>

+ 11 - 0
version.php

@@ -0,0 +1,11 @@
+<?php
+
+defined('MOODLE_INTERNAL') || die();
+
+$plugin->version = 20190820;
+$plugin->requires = 2014021100;
+$plugin->release = 'v1.0';
+$plugin->component = 'mod_gradeImporter';
+$plugin->maturity = MATURITY_STABLE;
+$plugin->release = 'TODO';
+?>