Minor - format code.

1.10.x
Julio Montoya 11 years ago
parent 4f70dfd186
commit 1c3a5964a1
  1. 2
      main/admin/calendar.php
  2. 10
      main/exercice/exercise_result.php
  3. 4
      main/exercice/exercise_show.php
  4. 1
      main/social/myfiles.php
  5. 4
      main/template/default/admin/administrator/role_index.tpl
  6. 2
      main/template/default/admin/index.tpl
  7. 2
      main/template/default/admin/questionmanager/role_index.tpl

@ -205,7 +205,7 @@ if (api_is_allowed_to_edit(false,true)) {
if ($_POST['submit_event']) {
$my_id_attach = (int)$_REQUEST['id_attach'];
$my_file_comment = Database::escape_string($_REQUEST['file_comment']);
store_edited_agenda_item($my_id_attach,$my_file_comment);
store_edited_agenda_item($my_id_attach, $my_file_comment);
display_agenda_items();
} else {
$id=(int)$_GET['id'];

@ -68,12 +68,12 @@ if (empty($objExercise)) {
if ($exercise_stat_info['status'] == 'incomplete') {
$objExercise->read($exercise_stat_info['exe_exo_id']);
} else {
header("Location: overview.php?exerciseId=".$exercise_stat_info['exe_exo_id']);
exit;
}
header("Location: overview.php?exerciseId=".$exercise_stat_info['exe_exo_id']);
exit;
}
} else {
api_not_allowed(true);
}
api_not_allowed(true);
}
}
$gradebook = '';

@ -26,7 +26,7 @@ require_once 'answer.class.php';
require_once '../inc/global.inc.php';
$urlMainExercise = api_get_path(WEB_CODE_PATH).'exercice/';
if (empty($origin) ) {
if (empty($origin)) {
$origin = isset($_REQUEST['origin']) ? $_REQUEST['origin'] : null;
}
@ -176,7 +176,7 @@ $(function() {
$('#result_from_ajax').html('<?php echo addslashes(Display::return_message(get_lang('Saved'), 'success'))?>');
$('.question_row').hide();
$('#myform').hide();
$('#correct_again').hide();
$('#correct_again').hide();
}
}
});

@ -9,7 +9,6 @@
*/
$language_file = array('messages','userInfo');
$cidReset=true;
require_once '../inc/global.inc.php';
api_block_anonymous_users();

@ -1,5 +1,5 @@
{% for block_item in blocks %}
<div id="tabs-{{ loop.index }}" class="span6">
<div id="tabs-{{ loop.index }}" class="col-md-6">
<div class="well_border {{ block_item.class }}">
<h4>{{ block_item.icon }} {{ block_item.label }}</h4>
<div style="list-style-type:none">
@ -26,7 +26,7 @@
</div>
{% endfor %}
<div class="span6">
<div class="col-md-6">
<div class="well_border">
<ul>
<li>

@ -30,7 +30,7 @@
});
</script>
<div class="row">
<div class="span12">
<div class="col-md-12">
<div class="well_border">
<h3>{{ 'VersionCheck' | trans }} </h3>
<div class="admin-block-version"></div>

@ -1,4 +1,4 @@
<div class="span6">
<div class="col-md-6">
<div class="well_border">
<h4>{{ 'Questions' | get_lang }}</h4>
<ul>

Loading…
Cancel
Save