Issues (1210)

Security Analysis    not enabled

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

language/swedish/modinfo.php (2 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3 View Code Duplication
if( defined( 'FOR_XOOPS_LANG_CHECKER' ) || ! defined( 'APCAL_MI_LOADED' ) ) {
0 ignored issues
show
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
4
5
6
7
8
9
10
// Appended by Xoops Language Checker -GIJOE- in 2006-02-15 05:31:21
11
define('_MI_APCAL_ADMENU_MYTPLSADMIN','Templates');
12
13
// Appended by Xoops Language Checker -GIJOE- in 2005-05-06 18:04:00
14
define('_MI_TIMEZONE_USING','Timezone of the server');
15
define('_MI_OPT_TZ_USEXOOPS','value of XOOPS config');
16
define('_MI_OPT_TZ_USEWINTER','value told from the server as winter time (recommended)');
17
define('_MI_OPT_TZ_USESUMMER','value told from the server as summer time');
18
19
// Appended by Xoops Language Checker -GIJOE- in 2005-05-03 05:31:13
20
define('_MI_USE24HOUR','24hours system (No means 12hours system)');
21
define('_MI_APCAL_ADMENU_PLUGINS','Plugins Manager');
22
23
// Appended by Xoops Language Checker -GIJOE- in 2005-04-22 12:02:02
24
define('_MI_APCAL_BNAME_MINICALEX','MiniCalendarEx');
25
define('_MI_APCAL_BNAME_MINICALEX_DESC','Utbyggbar Minikalender med plugin system');
26
27
// Appended by Xoops Language Checker -GIJOE- in 2005-01-08 04:36:50
28
define('_MI_APCAL_DEFAULTLOCALE','');
29
define('_MI_APCAL_LOCALE','Locale (kontrollera filer i locales/*.php)');
30
31
define( 'APCAL_MI_LOADED' , 1 ) ;
32
33
// Module Info
34
35
// The name of this module
36
37
// Appended by Xoops Language Checker -GIJOE- in 2004-06-22 18:39:03
38
define('_MI_APCAL_ADMENU_MYBLOCKSADMIN','Block&Grupp Admin');
39
40
define("_MI_APCAL_NAME","APCal");
41
42
// A brief description of this module
43
define("_MI_APCAL_DESC","Kalender modul med schema");
44
45
// Names of blocks for this module (Not all module has blocks)
46
define("_MI_APCAL_BNAME_MINICAL","Minikalender");
47
define("_MI_APCAL_BNAME_MINICAL_DESC","Visa Minikalender block");
48
define("_MI_APCAL_BNAME_MONTHCAL","M��adskalender");
49
define("_MI_APCAL_BNAME_MONTHCAL_DESC","Visa M��adskalender i full storlek");
50
define("_MI_APCAL_BNAME_TODAYS","Dagens h��delser");
51
define("_MI_APCAL_BNAME_TODAYS_DESC","Visa Dagens h��delser");
52
define("_MI_APCAL_BNAME_THEDAYS","Denna dagens %s");
53
define("_MI_APCAL_BNAME_THEDAYS_DESC","Visa h��delser f�� markerad dag");
54
define("_MI_APCAL_BNAME_COMING","Kommande h��delser");
55
define("_MI_APCAL_BNAME_COMING_DESC","Visa kommande h��delser");
56
define("_MI_APCAL_BNAME_AFTER","H��delser efter %s");
57
define("_MI_APCAL_BNAME_AFTER_DESC","Visa h��delser efter markerad dag");
58
59
// Names of submenu
60
// define("_MI_APCAL_SMNAME1","");
61
62
//define("_MI_APCAL_ADMENU1","");
63
64
// Title of config items
65
define("_MI_USERS_AUTHORITY", "Beh��igheter f�� anv��dare");
66
define("_MI_GUESTS_AUTHORITY", "Beh��igheter f�� g��ter");
67
define("_MI_MINICAL_TARGET", "Sida som visas i center blocket om man klickar p� Minikalendern");
68
define("_MI_COMING_NUMROWS", "Antalet visade h��delser i blocket f�� kommande h��delser");
69
define("_MI_SKINFOLDER", "Namnet p� den katalog som inneh��ler 'skin' filerna");
70
define("_MI_SUNDAYCOLOR", "F��g p� texten f�� S��dag");
71
define("_MI_WEEKDAYCOLOR", "F��g p� texten f�� Veckodagar");
72
define("_MI_SATURDAYCOLOR", "F��g p� texten f�� L��dag");
73
define("_MI_HOLIDAYCOLOR", "F��g p� texten f�� Helgdag");
74
define("_MI_TARGETDAYCOLOR", "F��g p� texten f�� Markerad dag");
75
define("_MI_SUNDAYBGCOLOR", "Bakgrundsf��g f�� S��dagar");
76
define("_MI_WEEKDAYBGCOLOR", "Bakgrundsf��g f�� Veckodagar");
77
define("_MI_SATURDAYBGCOLOR", "Bakgrundsf��g f�� L��dagar");
78
define("_MI_HOLIDAYBGCOLOR", "Bakgrundsf��g f�� Helgdagar");
79
define("_MI_TARGETDAYBGCOLOR", "Bakgrundsf��g p� markerad dag");
80
define("_MI_CALHEADCOLOR", "F��g p� texten i 'headern' p� kalendern");
81
define("_MI_CALHEADBGCOLOR", "Bakgrundsf��g i 'headern' p� kalendern");
82
define("_MI_CALFRAMECSS", "Stil p� ramen runt kalendern");
83
define("_MI_CANOUTPUTICS", "Till��else att mata ut ics filer?");
84
define("_MI_MAXRRULEEXTRACT", "��vre gr��s p� antalet h��delser som f�� extraheras med regel.(ANTAL)");
85
define("_MI_WEEKSTARTFROM", "F��sta dagen i veckan");
86
define("_MI_DAYSTARTFROM", "Gr��s f�� att separera dagar");
87
define("_MI_NAMEORUNAME" , "Vilket namn p� anv��daren skall visas" ) ;
88
define("_MI_DESCNAMEORUNAME" , "V��j vilket 'namn' som visas" ) ;
89
90
// Description of each config items
91
define("_MI_EDITBYGUESTDSC", "Till��else f�� g��ter att l��ga till h��delser");
92
93
// Options of each config items
94
define("_MI_OPT_AUTH_NONE", "kan inte l��ga till");
95
define("_MI_OPT_AUTH_WAIT", "kan l��ga till men kr��er godk��nande");
96
define("_MI_OPT_AUTH_POST", "kan l��ga till utan godk��nande");
97
define("_MI_OPT_AUTH_BYGROUP", "Specificerad i Gruppr��tigheterna");
98
define("_MI_OPT_MINI_PHPSELF", "nuvarande sida");
99
define("_MI_OPT_MINI_MONTHLY", "m��adskalender");
100
define("_MI_OPT_MINI_WEEKLY", "veckokalender");
101
define("_MI_OPT_MINI_DAILY", "dagskalender");
102
define("_MI_OPT_CANOUTPUTICS", "kan mata ut");
103
define("_MI_OPT_CANNOTOUTPUTICS", "kan inte mata ut");
104
define("_MI_OPT_STARTFROMSUN", "S��dag");
105
define("_MI_OPT_STARTFROMMON", "M��dag");
106
define("_MI_OPT_USENAME" , "Anv��darnamn" ) ;
107
define("_MI_OPT_USEUNAME" , "Login Namn" ) ;
108
109
// Admin Menus
110
define("_MI_APCAL_ADMENU0","Godk��na h��delser");
111
define("_MI_APCAL_ADMENU1","iCalendar I/O");
112
define("_MI_APCAL_ADMENU2","Grupp r��tigheter");
113
114
115
// Text for notifications
116
define('_MI_APCAL_GLOBAL_NOTIFY', 'Globala');
117
define('_MI_APCAL_GLOBAL_NOTIFYDSC', 'Globala APCal underr��telse inst��lningar.');
118
define('_MI_APCAL_CATEGORY_NOTIFY', 'Kategori');
119
define('_MI_APCAL_CATEGORY_NOTIFYDSC', 'Underr��telse inst��lningar som g��ler f�� aktuell kategori.');
120
define('_MI_APCAL_EVENT_NOTIFY', 'H��delse');
121
define('_MI_APCAL_EVENT_NOTIFYDSC', 'Underr��telse inst��lningar som g��ler f�� aktuell h��delse.');
122
123
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFY', 'Ny h��delse');
124
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYCAP', 'Underr��ta mig n�� en ny h��delse har skapats.');
125
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYDSC', 'Mottag underr��telse n�� en ny h��delse har skapats.');
126
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} automatiska underr��telser : Ny h��delse');
127
128
129
130
// Appended by Xoops Language Checker -GIJOE- in 2004-01-14 18:31:01
131
define('_MI_APCAL_BNAME_NEW','Nyligen publicerade h��delser');
132
define('_MI_APCAL_BNAME_NEW_DESC','Visa h��delser sorterade med nyaste ��erst');
133
define('_MI_APCAL_SM_SUBMIT','L��g till');
134
define('_MI_DEFAULT_VIEW','Default Vy i center');
135
define('_MI_WEEKNUMBERING','Numrerings regel f�� veckor');
136
define('_MI_OPT_MINI_LIST','H��delse lista');
137
define('_MI_OPT_WEEKNOEACHMONTH','f�� varje m��ad');
138
define('_MI_OPT_WEEKNOWHOLEYEAR','f�� hela ��et');
139
define('_MI_APCAL_ADMENU_CAT','Kategori Administration');
140
define('_MI_APCAL_ADMENU_CAT2GROUP','R��tigheter f�� Kategorier');
141
define('_MI_APCAL_ADMENU_TM','Tabell Underh��l');
142
define('_MI_APCAL_ADMENU_ICAL','Importera iCalendar');
143
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFY','Ny h��delse i denna kategori');
144
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYCAP','Meddela mig n�� en ny h��delse �� skapad i denna kategori.');
145
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYDSC','Mottag underr��telse n�� en ny h��delse �� skapad i denna kategori.');
146
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYSBJ','[{X_SITENAME}] {X_MODULE} auto-notify : Ny h��delse');
147
148
}
149
150
?>
0 ignored issues
show
It is not recommended to use PHP's closing tag ?> in files other than templates.

Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.

A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.

Loading history...
151