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/polish/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
// Appended by Xoops Language Checker -GIJOE- in 2006-04-06 04:57:58
7
define('_MI_APCAL_ADMENU_MYTPLSADMIN','Templates');
8
9
define( 'APCAL_MI_LOADED' , 1 ) ;
10
11
// Module Info
12
13
// The name of this module
14
define("_MI_APCAL_NAME"              ,"APCal");
15
16
// A brief description of this module
17
define("_MI_APCAL_DESC"              ,"Kalendarz z harmonogramem");
18
19
// Default Locale
20
define("_MI_APCAL_DEFAULTLOCALE"     ,"Poland");
21
22
// Names of blocks for this module (Not all module has blocks)
23
define("_MI_APCAL_BNAME_MINICAL"            , "MiniCalendarz");
24
define("_MI_APCAL_BNAME_MINICAL_DESC"       , "Wyswietl blok MiniCalendarza");
25
define("_MI_APCAL_BNAME_MINICALEX"          , "MiniCalendarEx");
26
define("_MI_APCAL_BNAME_MINICALEX_DESC"     , "Extensible minicalendar z pluginem systemu");
27
define("_MI_APCAL_BNAME_MONTHCAL"           , "Miesi�czny kalendarz");
28
define("_MI_APCAL_BNAME_MONTHCAL_DESC"      , "Wy�wietl pe�ny widkok Miesi�cznego kalendarza");
29
define("_MI_APCAL_BNAME_TODAYS"             , "Dzisiejsze wydarzenia");
30
define("_MI_APCAL_BNAME_TODAYS_DESC"        , "Wy�wietl wydarzenia na dzi�");
31
define("_MI_APCAL_BNAME_THEDAYS"            , "Wydarzenia w %s");
32
define("_MI_APCAL_BNAME_THEDAYS_DESC"       , "Wy�wietl wydarzenia dla wskazanego dnia");
33
define("_MI_APCAL_BNAME_COMING"             , "Nadchodz�ce wydarzenia");
34
define("_MI_APCAL_BNAME_COMING_DESC"        , "Wy�wietl nadchodz�ce wydarzenia");
35
define("_MI_APCAL_BNAME_AFTER"              , "Wydarzenia po %s");
36
define("_MI_APCAL_BNAME_AFTER_DESC"         , "Wy�wietl wydarzenia po wksazanym dniu");
37
define("_MI_APCAL_BNAME_NEW"                , "Nowe wydarzenia");
38
define("_MI_APCAL_BNAME_NEW_DESC"           , "Nowe wydarzenia b�d� wy�ej ni� starsze");
39
40
// Names of submenu
41
define("_MI_APCAL_SM_SUBMIT"                ,"Dodaj");
42
43
//define("_MI_APCAL_ADMENU1","");
44
45
// Title of config items
46
define("_MI_USERS_AUTHORITY"                , "Prawa u�ytkownik�w");
47
define("_MI_GUESTS_AUTHORITY"               , "Prawa go�ci");
48
define("_MI_DEFAULT_VIEW"                   , "Domy�lny widok na �rodku");
49
define("_MI_MINICAL_TARGET"                 , "Docelowy widok z MiniCalendarza");
50
define("_MI_COMING_NUMROWS"                 , "Liczba wydarze� w bloku Nadchodz�cych Wydarze�");
51
define("_MI_SKINFOLDER"                     , "Nazwa folderu ze sk�rk�");
52
define("_MI_APCAL_LOCALE"                   , "Lokacja (sprawd� pliki w locales/*.php)");
53
define("_MI_SUNDAYCOLOR"                    , "Kolor niedziel");
54
define("_MI_WEEKDAYCOLOR"                   , "Kolor zwyk�ego dnia");
55
define("_MI_SATURDAYCOLOR"                  , "Kolor soboty");
56
define("_MI_HOLIDAYCOLOR"                   , "Kolor wakacji");
57
define("_MI_TARGETDAYCOLOR"                 , "Kolor wybranego dnia");
58
define("_MI_SUNDAYBGCOLOR"                  , "T�o niedzieli");
59
define("_MI_WEEKDAYBGCOLOR"                 , "T�o zwyk�ego dnia");
60
define("_MI_SATURDAYBGCOLOR"                , "T�o soboty");
61
define("_MI_HOLIDAYBGCOLOR"                 , "T�o wakacji");
62
define("_MI_TARGETDAYBGCOLOR"               , "T�o wybranego dnia");
63
define("_MI_CALHEADCOLOR"                   , "Kolor nag��wka");
64
define("_MI_CALHEADBGCOLOR"                 , "T�o nag��wka");
65
define("_MI_CALFRAMECSS"                    , "Styl ramki kalendarza");
66
define("_MI_CANOUTPUTICS"                   , "Permission of outputting ics files");
67
define("_MI_MAXRRULEEXTRACT"                , "Upper limit of events extracted by Rrule.(COUNT)");
68
define("_MI_WEEKSTARTFROM"                  , "Dzie� zaczyn�jcy tydzie�");
69
define("_MI_WEEKNUMBERING"                  , "Numbering rule for weeks");
70
define("_MI_DAYSTARTFROM"                   , "Linia graniczna pomi�dzy dniami");
71
define("_MI_TIMEZONE_USING"                 , "Strefa czasowa serwera");
72
define("_MI_USE24HOUR"                      , "24-godzinny system (Lub 12-godzinny)");
73
define("_MI_NAMEORUNAME"                    , "Wy�wietla� nick autora wydarzenia" ) ;
74
define("_MI_DESCNAMEORUNAME"                , "Wybierz je�eli 'imi�' jest pokazywane" ) ;
75
76
// Description of each config items
77
define("_MI_EDITBYGUESTDSC"                 , "Uprawnienia dodawanie wydarze� przez go�ci");
78
79
// Options of each config items
80
define("_MI_OPT_AUTH_NONE"                  , "nie mo�e dodawa�");
81
define("_MI_OPT_AUTH_WAIT"                  , "mo�e ale musi to zaakceptowa� administrator");
82
define("_MI_OPT_AUTH_POST"                  , "mo�e dodawa� bez akceptacji administratora");
83
define("_MI_OPT_AUTH_BYGROUP"               , "Ustawienia grup");
84
define("_MI_OPT_MINI_PHPSELF"               , "Obecna strona");
85
define("_MI_OPT_MINI_MONTHLY"               , "Miesi�czny kalendarz");
86
define("_MI_OPT_MINI_WEEKLY"                , "Tygodniowy kalendarz");
87
define("_MI_OPT_MINI_DAILY"                 , "Dzienny kalendarz");
88
define("_MI_OPT_MINI_LIST"                  , "Lista wydarze�");
89
define("_MI_OPT_CANOUTPUTICS"               , "mo�e przetworzy�");
90
define("_MI_OPT_CANNOTOUTPUTICS"            , "nie mo�e przetworzy�");
91
define("_MI_OPT_STARTFROMSUN"               , "Niedziela");
92
define("_MI_OPT_STARTFROMMON"               , "Poniedzia�ek");
93
define("_MI_OPT_WEEKNOEACHMONTH"            , "przez ka�dy miesi�c");
94
define("_MI_OPT_WEEKNOWHOLEYEAR"            , "przez ca� rok");
95
define("_MI_OPT_USENAME"                    , "Prawdziwe imi�" ) ;
96
define("_MI_OPT_USEUNAME"                   , "Login" ) ;
97
define("_MI_OPT_TZ_USEXOOPS"                , "Ustawienia Xoopsa" ) ;
98
define("_MI_OPT_TZ_USEWINTER"               , "warto�� z serwera jako czas zimowy (zalecane)" ) ;
99
define("_MI_OPT_TZ_USESUMMER"               , "warto�� z serwera jako czas letni" ) ;
100
101
// Admin Menus
102
define("_MI_APCAL_ADMENU0"                  , "Wydarzenia do akceptacji");
103
define("_MI_APCAL_ADMENU1"                  , "Zarz�dzanie wydarzeniami");
104
define("_MI_APCAL_ADMENU_CAT"               , "Zarz�dzanie kategoriami");
105
define("_MI_APCAL_ADMENU_CAT2GROUP"         , "Uprawnienia dost�pu do kategorii");
106
define("_MI_APCAL_ADMENU2"                  , "Globalne uprawnienia dost�pu");
107
define("_MI_APCAL_ADMENU_TM"                , "Tabela");
108
define("_MI_APCAL_ADMENU_PLUGINS"           , "Zarz�dzanie pluginami");
109
define("_MI_APCAL_ADMENU_ICAL"              , "Import z iCalendar");
110
define("_MI_APCAL_ADMENU_MYBLOCKSADMIN"     , "Bloki i grupy");
111
112
// Text for notifications
113
define('_MI_APCAL_GLOBAL_NOTIFY'            , 'Og�lne');
114
define('_MI_APCAL_GLOBAL_NOTIFYDSC'         , 'Opcje powiadomie�.');
115
define('_MI_APCAL_CATEGORY_NOTIFY'          , 'Kategorie');
116
define('_MI_APCAL_CATEGORY_NOTIFYDSC'       , 'Opcje powiadomie�, kt�re odnosz� si� do aktualnej kategorii.');
117
define('_MI_APCAL_EVENT_NOTIFY'             , 'Wydarzenie');
118
define('_MI_APCAL_EVENT_NOTIFYDSC'          , 'Opcje powiadomie�, kt�re odnosz� si� do aktualnego wydarzenia.');
119
120
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFY'       , 'Nowe wydarzenie');
121
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYCAP'    , 'Powiadom mnie kiedy zostanie utworzone nowe wydarzenie.');
122
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYDSC'    , 'Powiadom mnie kiedy zostanie utworzone nowe wydarzenie (+opis wydarzenia).');
123
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYSBJ'    , '[{X_SITENAME}] {X_MODULE} auto-notify : Nowe wydarzenie');
124
125
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFY'     , 'Nowe wydarzenie w kategorii');
126
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYCAP'  , 'Powiadom mnie kiedy zostanie utworzone nowe wydarzenie w kategorii.');
127
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYDSC'  , 'Powiadom mnie kiedy zostanie utworzone nowe wydarzenie w kategorii (+opis).');
128
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYSBJ'  , '[{X_SITENAME}] {X_MODULE} auto-notify : Nowe wydarzenie w {CATEGORY_TITLE}');
129
130
131
132
}
133
134
?>
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...