typo fixed see #3857

skala
Julio Montoya 13 years ago
parent 2a112b3db9
commit 4d6c1cdd75
  1. 8
      main/glossary/index.php

@ -77,9 +77,9 @@ if (isset($_GET['action']) && $_GET['action'] == 'changeview' AND in_array($_GET
$action = isset($_GET['action']) ? $_GET['action'] : null;
if (api_is_allowed_to_edit(null, true)) {
switch ($action) {
case 'addglosary':
switch ($action) {
case 'addglossary':
$form = new FormValidator('glossary','post', api_get_self().'?action='.Security::remove_XSS($_GET['action']));
// settting the form elements
$form->addElement('header', '', get_lang('TermAddNew'));
@ -164,11 +164,11 @@ if (api_is_allowed_to_edit(null, true)) {
GlossaryManager::display_glossary();
break;
case 'moveup':
GlossaryManager::move_glossary('up',$_GET['glossary_id']);
//GlossaryManager::move_glossary('up',$_GET['glossary_id']); //actions not available
GlossaryManager::display_glossary();
break;
case 'movedown':
GlossaryManager::move_glossary('down',$_GET['glossary_id']);
//GlossaryManager::move_glossary('down',$_GET['glossary_id']); //actions not available
GlossaryManager::display_glossary();
break;
case 'import':

Loading…
Cancel
Save