Browse Source

Finished new version

Igor 3 years ago
parent
commit
c75610f5fa
7 changed files with 17 additions and 2 deletions
  1. 11 0
      db/upgrade.php
  2. 1 0
      lang/en/iassign.php
  3. 1 0
      lang/es/iassign.php
  4. 1 0
      lang/fr/iassign.php
  5. 1 0
      lang/pt_br/iassign.php
  6. 1 1
      locallib.php
  7. 1 1
      version.php

+ 11 - 0
db/upgrade.php

@@ -476,6 +476,17 @@ function xmldb_iassign_upgrade ($oldversion) {
 
     } // if ($oldversion < 2020122900)
 
+    if ($oldversion < 2021020700) { 
+
+      // Update SAW iVProg to inform reevalute is enabled:
+      $updateentry = new stdClass();
+      $updateentry->id = 57;
+      $updateentry->reevaluate = 1;
+      $updateentry->timemodified = time();
+      $DB->update_record("iassign_ilm", $updateentry); // insert new iLM
+    }
+    
+
   // log event -----------------------------------------------------
   if (class_exists('plugin_manager'))
     $pluginman = plugin_manager::instance();

+ 1 - 0
lang/en/iassign.php

@@ -184,6 +184,7 @@ $string['empty_comment']                  = 'Empty comment or repeated!';
 $string['empty_file']                     = 'Empty file';
 $string['empty_legend']                   = '(activity was not sent)';
 $string['enable']                         = 'Enable';
+$string['enable_disable_columns']         = 'Enable / Disable column view';
 $string['er_file_not_selected_to_delete'] = 'ERROR: in selecting files to be removed!';
 $string['er_file_not_selected_to_export'] = 'ERROR: in the selection of the files to be exported!';
 $string['er_file_not_selected_to_import'] = 'ERROR: in selecting compacted file (zip) to be imported!';

+ 1 - 0
lang/es/iassign.php

@@ -181,6 +181,7 @@ $string['empty_comment']                  = 'Comentario vacio!';
 $string['empty_file']                     = 'Fichero vacío';
 $string['empty_legend']                   = '(tarea no fue enviada)';
 $string['enable']                         = 'Habilitado';
+$string['enable_disable_columns']         = 'Enable / Disable column view';
 $string['er_file_not_selected_to_delete'] = 'ERROR: en la selección de archivos para ser eliminado!';
 $string['er_file_not_selected_to_export'] = 'ERRO: en la selección de los archivos a exportar!';
 $string['er_file_not_selected_to_import'] = 'ERROR: en la selección de archivo compactado (zip) para ser importado!';

+ 1 - 0
lang/fr/iassign.php

@@ -181,6 +181,7 @@ $string['empty_comment']                  = 'Message vide!';
 $string['empty_file']                     = 'Ficher vide';
 $string['empty_legend']                   = '(la solution n\'a pas été envoyée)';
 $string['enable']                         = 'Activer';
+$string['enable_disable_columns']         = 'Enable / Disable column view';
 $string['er_file_not_selected_to_delete'] = 'ERREUR : en sélectionnant les fichiers à supprimer!';
 $string['er_file_not_selected_to_export'] = 'ERREUR : dans la sélection des fichiers à exporter!';
 $string['er_file_not_selected_to_import'] = 'ERREUR : lors de la sélection du fichier compacté (zip) à importer!';

+ 1 - 0
lang/pt_br/iassign.php

@@ -184,6 +184,7 @@ $string['empty_comment']                  = 'Comentário vazio ou repetido!';
 $string['empty_file']                     = 'Arquivo vazio';
 $string['empty_legend']                   = '(atividade não foi enviada)';
 $string['enable']                         = 'Habilitado';
+$string['enable_disable_columns']         = 'Habilitar/Desabilitar visualização em colunas';
 $string['er_file_not_selected_to_delete'] = 'ERRO: selecione os arquivos para excluir!';
 $string['er_file_not_selected_to_export'] = 'ERRO: selecione os arquivos para exportar!';
 $string['er_file_not_selected_to_import'] = 'ERRO: selecione o arquivo compactado (zip) para importar!';

+ 1 - 1
locallib.php

@@ -5345,7 +5345,7 @@ class activity {
     }
     </script>';
     
-    $output .= '<span style="float: right"> <i id="columnsbutton" onclick="toggleColumns()" class="fa fa-columns" style="font-size: 1.5rem;" aria-hidden="true" role="button"></i></span>';
+    $output .= '<span tabindex="0" data-toggle="tooltip" title="'.get_string('enable_disable_columns', 'iassign').'" style="float: right"> <i id="columnsbutton" onclick="toggleColumns()" class="fa fa-columns" style="font-size: 1.5rem;" aria-hidden="true" role="button"></i></span>';
 
     return $output;
   }

+ 1 - 1
version.php

@@ -90,7 +90,7 @@ defined('MOODLE_INTERNAL') || die();
 // v 1.0 2012/10/16
 $plugin->component = 'mod_iassign';  // Full name of the plugin (used for diagnostics)
 $plugin->release = '2.8.01 (Build: 2020080300)'; // Human-readable version name
-$plugin->version = 2020102933;       // The current module version (Date: YYYYMMDDXX)
+$plugin->version = 2021020700;       // The current module version (Date: YYYYMMDDXX)
 $plugin->requires = 2014021100;      // Requires this Moodle version since 3.0.0)
 $plugin->maturity = MATURITY_STABLE; // How stable the plugin is: MATURITY_ALPHA, MATURITY_BETA, MATURITY_RC, MATURITY_STABLE (Moodle 2.0 and above)
 $plugin->cron = 60;