Issues (195)

templates/personal.php (3 issues)

Labels
Severity
1
<?php
2
/**
3
 * @copyright Copyright (c) 2017 Matthias Held <[email protected]>
4
 * @author Matthias Held <[email protected]>
5
 * @license GNU AGPL version 3 or any later version
6
 *
7
 * This program is free software: you can redistribute it and/or modify
8
 * it under the terms of the GNU Affero General Public License as
9
 * published by the Free Software Foundation, either version 3 of the
10
 * License, or (at your option) any later version.
11
 *
12
 * This program is distributed in the hope that it will be useful,
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 * GNU Affero General Public License for more details.
16
 *
17
 * You should have received a copy of the GNU Affero General Public License
18
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19
 */
20
style('ransomware_detection', 'style');
0 ignored issues
show
The function style was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

20
/** @scrutinizer ignore-call */ 
21
style('ransomware_detection', 'style');
Loading history...
21
script('ransomware_detection', 'personal');
0 ignored issues
show
The function script was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

21
/** @scrutinizer ignore-call */ 
22
script('ransomware_detection', 'personal');
Loading history...
22
?>
23
<div id="ransomware_detection_color_mode" class="section">
24
    <h2><?php p($l->t('Color Mode')); ?></h2>
0 ignored issues
show
The function p was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

24
    <h2><?php /** @scrutinizer ignore-call */ p($l->t('Color Mode')); ?></h2>
Loading history...
25
    <p class="settings-hint hidden-when-empty">Current color mode for coding sequences.</p>
26
27
    <div class="ransomware_detection_color_scheme">
28
        <h3>
29
            <?php p($l->t('Current color mode')); ?>
30
        </h3>
31
        <select id="color-scheme" name="color-scheme" data-placeholder="<?php p($l->t('Color mode'));?>">
32
            <option value="<?php p($_['color_active']['code']); ?>">
33
				<?php p($_['color_active']['name']); ?>
34
			</option>
35
            <option value="<?php p($_['color']['code']); ?>">
36
				<?php p($_['color']['name']); ?>
37
			</option>
38
        </select>
39
    </div>
40
</div>
41