chamilo/chamilo-lms

View on GitHub
public/main/session/session_category_add.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "day_start" is not in valid camel caps format
Open

                        <option value="2" <?php if ((!$formSent && 2 == $thisDay) || ($formSent && 2 == $day_start)) {

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >03</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >11</option>

Variable "tool_name" is not in valid camel caps format
Open

Display::display_header($tool_name);

Variable "day_start" is not in valid camel caps format
Open

                        <option value="3" <?php if ((!$formSent && 3 == $thisDay) || ($formSent && 3 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="5" <?php if ((!$formSent && 5 == $thisDay) || ($formSent && 5 == $day_start)) {

Variable "this_section" is not in valid camel caps format
Open

$this_section = SECTION_PLATFORM_ADMIN;

Variable "month_start" is not in valid camel caps format
Open

    $month_start = $_POST['month_start'];

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >05</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >10</option>

Variable "tbl_session" is not in valid camel caps format
Open

$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION);

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >04</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >09</option>

Variable "month_end" is not in valid camel caps format
Open

    $month_end = $_POST['month_end'];

Variable "year_start" is not in valid camel caps format
Open

        $year_start,

Variable "year_end" is not in valid camel caps format
Open

        $year_end,

Variable "day_start" is not in valid camel caps format
Open

                        <option value="6" <?php if ((!$formSent && 6 == $thisDay) || ($formSent && 6 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

    $day_start = $_POST['day_start'];

Variable "day_end" is not in valid camel caps format
Open

        $day_end

Variable "day_start" is not in valid camel caps format
Open

                        <option value="8" <?php if ((!$formSent && 8 == $thisDay) || ($formSent && 8 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="9" <?php if ((!$formSent && 9 == $thisDay) || ($formSent && 9 == $day_start)) {

Variable "year_end" is not in valid camel caps format
Open

    $year_end = $_POST['year_end'];

Variable "tool_name" is not in valid camel caps format
Open

$tool_name = get_lang('Add category');

Variable "tool_name" is not in valid camel caps format
Open

            <legend><?php echo $tool_name; ?></legend>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >07</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >08</option>

Variable "day_start" is not in valid camel caps format
Open

                        <option value="4" <?php if ((!$formSent && 4 == $thisDay) || ($formSent && 4 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="11" <?php if ((!$formSent && 11 == $thisDay) || ($formSent && 11 == $day_start)) {

Variable "year_start" is not in valid camel caps format
Open

    $year_start = $_POST['year_start'];

Variable "day_start" is not in valid camel caps format
Open

        $day_start,

Closing brace indented incorrectly; expected 19 spaces, found 0
Open

} ?>">

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >02</option>

Variable "day_start" is not in valid camel caps format
Open

                        <option value="12" <?php if ((!$formSent && 12 == $thisDay) || ($formSent && 12 == $day_start)) {

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >16</option>

Variable "day_start" is not in valid camel caps format
Open

                        <option value="22" <?php if ((!$formSent && 22 == $thisDay) || ($formSent && 22 == $day_start)) {

Closing brace indented incorrectly; expected 25 spaces, found 0
Open

} ?> >03</option>

Closing brace indented incorrectly; expected 25 spaces, found 0
Open

} ?> >06</option>

Variable "day_start" is not in valid camel caps format
Open

                        <option value="13" <?php if ((!$formSent && 13 == $thisDay) || ($formSent && 13 == $day_start)) {

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >17</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >21</option>

Variable "month_start" is not in valid camel caps format
Open

                          <option value="3" <?php if ((!$formSent && 3 == $thisMonth) || ($formSent && 3 == $month_start)) {

Closing brace indented incorrectly; expected 25 spaces, found 0
Open

} ?> >08</option>

Variable "tbl_user" is not in valid camel caps format
Open

$tbl_user = Database::get_main_table(TABLE_MAIN_USER);

Variable "month_start" is not in valid camel caps format
Open

        $month_start,

Variable "day_start" is not in valid camel caps format
Open

                        <option value="7" <?php if ((!$formSent && 7 == $thisDay) || ($formSent && 7 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="10" <?php if ((!$formSent && 10 == $thisDay) || ($formSent && 10 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="19" <?php if ((!$formSent && 19 == $thisDay) || ($formSent && 19 == $day_start)) {

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >25</option>

Variable "day_end" is not in valid camel caps format
Open

    $day_end = $_POST['day_end'];

Variable "month_end" is not in valid camel caps format
Open

        $month_end,

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >06</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >19</option>

Variable "day_start" is not in valid camel caps format
Open

                        <option value="24" <?php if ((!$formSent && 24 == $thisDay) || ($formSent && 24 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="28" <?php if ((!$formSent && 28 == $thisDay) || ($formSent && 28 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="14" <?php if ((!$formSent && 14 == $thisDay) || ($formSent && 14 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="15" <?php if ((!$formSent && 15 == $thisDay) || ($formSent && 15 == $day_start)) {

Variable "month_start" is not in valid camel caps format
Open

                          <option value="8" <?php if ((!$formSent && 8 == $thisMonth) || ($formSent && 8 == $month_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="21" <?php if ((!$formSent && 21 == $thisDay) || ($formSent && 21 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="26" <?php if ((!$formSent && 26 == $thisDay) || ($formSent && 26 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="29" <?php if ((!$formSent && 29 == $thisDay) || ($formSent && 29 == $day_start)) {

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >13</option>

Variable "day_start" is not in valid camel caps format
Open

                        <option value="31" <?php if ((!$formSent && 31 == $thisDay) || ($formSent && 31 == $day_start)) {

Closing brace indented incorrectly; expected 25 spaces, found 0
Open

} ?> >04</option>

Closing brace indented incorrectly; expected 25 spaces, found 0
Open

} ?> >07</option>

Closing brace indented incorrectly; expected 25 spaces, found 0
Open

} ?> >12</option>

Variable "day_start" is not in valid camel caps format
Open

                        <option value="16" <?php if ((!$formSent && 16 == $thisDay) || ($formSent && 16 == $day_start)) {

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >29</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >26</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >27</option>

Variable "month_start" is not in valid camel caps format
Open

                          <option value="11" <?php if ((!$formSent && 11 == $thisMonth) || ($formSent && 11 == $month_start)) {

Variable "year_start" is not in valid camel caps format
Open

                              <option value="<?php echo $i; ?>" <?php if ((!$formSent && $thisYear == $i) || ($formSent && $year_start == $i)) {

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >15</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >23</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >24</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >28</option>

Variable "month_start" is not in valid camel caps format
Open

                          <option value="4" <?php if ((!$formSent && 4 == $thisMonth) || ($formSent && 4 == $month_start)) {

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >12</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >14</option>

Variable "day_start" is not in valid camel caps format
Open

                        <option value="20" <?php if ((!$formSent && 20 == $thisDay) || ($formSent && 20 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="23" <?php if ((!$formSent && 23 == $thisDay) || ($formSent && 23 == $day_start)) {

Closing brace indented incorrectly; expected 25 spaces, found 0
Open

} ?> >05</option>

Variable "month_start" is not in valid camel caps format
Open

                          <option value="7" <?php if ((!$formSent && 7 == $thisMonth) || ($formSent && 7 == $month_start)) {

Closing brace indented incorrectly; expected 25 spaces, found 0
Open

} ?> >02</option>

Variable "month_start" is not in valid camel caps format
Open

                          <option value="5" <?php if ((!$formSent && 5 == $thisMonth) || ($formSent && 5 == $month_start)) {

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >20</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >22</option>

Variable "month_start" is not in valid camel caps format
Open

                          <option value="6" <?php if ((!$formSent && 6 == $thisMonth) || ($formSent && 6 == $month_start)) {

Closing brace indented incorrectly; expected 25 spaces, found 0
Open

} ?> >10</option>

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >18</option>

Variable "day_start" is not in valid camel caps format
Open

                        <option value="25" <?php if ((!$formSent && 25 == $thisDay) || ($formSent && 25 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="27" <?php if ((!$formSent && 27 == $thisDay) || ($formSent && 27 == $day_start)) {

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >30</option>

Variable "month_start" is not in valid camel caps format
Open

                          <option value="2" <?php if ((!$formSent && 2 == $thisMonth) || ($formSent && 2 == $month_start)) {

Closing brace indented incorrectly; expected 25 spaces, found 0
Open

} ?> >09</option>

Variable "month_start" is not in valid camel caps format
Open

                          <option value="10" <?php if ((!$formSent && 10 == $thisMonth) || ($formSent && 10 == $month_start)) {

Closing brace indented incorrectly; expected 25 spaces, found 0
Open

} ?> >11</option>

Variable "day_start" is not in valid camel caps format
Open

                        <option value="17" <?php if ((!$formSent && 17 == $thisDay) || ($formSent && 17 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="18" <?php if ((!$formSent && 18 == $thisDay) || ($formSent && 18 == $day_start)) {

Variable "day_start" is not in valid camel caps format
Open

                        <option value="30" <?php if ((!$formSent && 30 == $thisDay) || ($formSent && 30 == $day_start)) {

Closing brace indented incorrectly; expected 23 spaces, found 0
Open

} ?> >31</option>

Variable "month_start" is not in valid camel caps format
Open

                          <option value="9" <?php if ((!$formSent && 9 == $thisMonth) || ($formSent && 9 == $month_start)) {

Variable "month_start" is not in valid camel caps format
Open

                          <option value="12" <?php if ((!$formSent && 12 == $thisMonth) || ($formSent && 12 == $month_start)) {

Closing brace indented incorrectly; expected 29 spaces, found 26
Open

                          } ?> ><?php echo $i; ?></option>

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 42 spaces, found 0
Open

} ?> >09</option>

Closing brace indented incorrectly; expected 42 spaces, found 0
Open

} ?> >02</option>

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 42 spaces, found 0
Open

} ?> >04</option>

Closing brace indented incorrectly; expected 42 spaces, found 0
Open

} ?> >05</option>

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >10</option>

Closing brace indented incorrectly; expected 85 spaces, found 0
Open

} ?>">

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 24 spaces, found 4
Open

    echo api_htmlentities($name, ENT_QUOTES);

Closing brace indented incorrectly; expected 42 spaces, found 0
Open

} ?> >03</option>

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >11</option>

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >14</option>

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 45 spaces, found 0
Open

} ?> >11</option>

Closing brace indented incorrectly; expected 42 spaces, found 0
Open

} ?> >06</option>

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >20</option>

Line indented incorrectly; expected 20 spaces, found 24
Open

                        for ($i = $thisYear - 5; $i <= ($thisYear + 5); $i++) {

Closing brace indented incorrectly; expected 42 spaces, found 0
Open

} ?> >07</option>

Closing brace indented incorrectly; expected 42 spaces, found 0
Open

} ?> >08</option>

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 32 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 45 spaces, found 0
Open

} ?> >12</option>

Line indented incorrectly; expected 24 spaces, found 22
Open

                      <?php

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >15</option>

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >17</option>

Line indented incorrectly; expected at least 32 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected 24 spaces, found 22
Open

                      for ($i = $thisYear - 5; $i <= ($thisYear + 5); $i++) {

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >31</option>

Line indented incorrectly; expected at least 32 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 44 spaces, found 0
Open

} ?> >05</option>

Closing brace indented incorrectly; expected 44 spaces, found 0
Open

} ?> >09</option>

Line indented incorrectly; expected at least 32 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 45 spaces, found 26
Open

                          } ?> ><?php echo $i; ?></option>

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >12</option>

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >23</option>

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 44 spaces, found 0
Open

} ?> >03</option>

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >29</option>

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >27</option>

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >28</option>

Line indented incorrectly; expected 24 spaces, found 22
Open

                      <?php

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >21</option>

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >22</option>

Line indented incorrectly; expected at least 32 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected 24 spaces, found 22
Open

                      }

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >26</option>

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >30</option>

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 32 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >24</option>

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >25</option>

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 32 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 44 spaces, found 0
Open

} ?> >06</option>

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >16</option>

Closing brace indented incorrectly; expected 44 spaces, found 0
Open

} ?> >08</option>

Closing brace indented incorrectly; expected 45 spaces, found 0
Open

} ?> >10</option>

Line indented incorrectly; expected 28 spaces, found 26
Open

                          ?>

Line indented incorrectly; expected 0 spaces, found 26
Open

                          } ?> ><?php echo $i; ?></option>

Line indented incorrectly; expected 24 spaces, found 22
Open

                      ?>

Line indented incorrectly; expected 20 spaces, found 24
Open

                        }

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 32 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 44 spaces, found 0
Open

} ?> >04</option>

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >13</option>

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 32 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 32 spaces, found 4
Open

    echo 'selected="selected"';

Line indented incorrectly; expected at least 36 spaces, found 30
Open

                              echo 'selected="selected"';

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >18</option>

Closing brace indented incorrectly; expected 44 spaces, found 0
Open

} ?> >02</option>

Line indented incorrectly; expected at least 28 spaces, found 4
Open

    echo 'selected="selected"';

Closing brace indented incorrectly; expected 43 spaces, found 0
Open

} ?> >19</option>

Closing brace indented incorrectly; expected 44 spaces, found 0
Open

} ?> >07</option>

Line indented incorrectly; expected at least 32 spaces, found 4
Open

    echo 'selected="selected"';

There are no issues that match your filters.

Category
Status