Minor language variable fix and useless get_lang() removals- refs #4776

skala
Yannick Warnier 13 years ago
parent c56e45bc06
commit 084a95d883
  1. 1
      main/admin/access_url_check_user_session.php
  2. 2
      main/course_description/ajax_controller.class.php
  3. 2
      main/inc/lib/ajax_controller.class.php
  4. 10
      main/survey/question.php

@ -115,7 +115,6 @@ foreach($session_list as $session_item) {
} }
$html .= '</table>'; $html .= '</table>';
} else { } else {
//$html .= get_lang('');
} }
} }
echo $html; echo $html;

@ -132,7 +132,7 @@ class AjaxController extends \Controller
function forbidden() function forbidden()
{ {
$this->response(false, get_lang('YourAreNotAuthorized')); $this->response(false, get_lang('YouAreNotAuthorized'));
} }
public function unknown() public function unknown()

@ -17,7 +17,7 @@ class AjaxController extends \Controller
function forbidden() function forbidden()
{ {
$this->response(false, get_lang('YourAreNotAuthorized')); $this->response(false, get_lang('YouAreNotAuthorized'));
} }
public function unknown() public function unknown()

@ -133,11 +133,11 @@ if (empty($_POST['save_question']) && in_array($_GET['type'], $possible_types))
} }
if ($_GET['type'] == 'personality') { if ($_GET['type'] == 'personality') {
$form_content['answers'][0] = 1; //get_lang('1'); $form_content['answers'][0] = 1;
$form_content['answers'][1] = 2; //get_lang('2'); $form_content['answers'][1] = 2;
$form_content['answers'][2] = 3; //get_lang('3'); $form_content['answers'][2] = 3;
$form_content['answers'][3] = 4; //get_lang('4'); $form_content['answers'][3] = 4;
$form_content['answers'][4] = 5; //get_lang('5'); $form_content['answers'][4] = 5;
$form_content['values'][0] = 0; $form_content['values'][0] = 0;
$form_content['values'][1] = 0; $form_content['values'][1] = 0;

Loading…
Cancel
Save