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/admin.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_AM_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
define( 'APCAL_AM_LOADED' , 1 ) ;
6
define('APCAL_COPYRIGHT' , '<a href="http://xoops.antiquespromotion.ca" title="Calendar for Xoops" target="_blank">APCal</a> by <a href="http://www.antiquespromotion.ca" title="Antiques Promotion Canada" target="_blank">AP</a>');
7
8
9
// titles
10
define("_AM_ADMISSION"                       , "Akceptowanie wydarze�");
11
define("_AM_MENU_EVENTS"                     , "Zarz�dzanie wydarzeniami");
12
define("_AM_MENU_CATEGORIES"                 , "Zarz�dzanie kategoriami");
13
define("_AM_MENU_CAT2GROUP"                  , "Dost�p do kategorii");
14
define("_AM_ICALENDAR_IMPORT"                , "Import z iCalendar");
15
define("_AM_GROUPPERM"                       , "Uprawnienia");
16
define("_AM_TABLEMAINTAIN"                   , "Table Maintenance (Upgrade)");
17
define("_AM_MYBLOCKSADMIN"                   , "Bloki i grupy");
18
19
// forms
20
define("_AM_BUTTON_EXTRACT"                  , "Extract");
21
define("_AM_BUTTON_ADMIT"                    , "Admit");
22
define("_AM_BUTTON_MOVE"                     , "Przenie�");
23
define("_AM_BUTTON_COPY"                     , "Kopiuj");
24
define("_AM_CONFIRM_DELETE"                  , "Usun�� wiadomo��(ci)?");
25
define("_AM_CONFIRM_MOVE"                    , "Czy chcesz usun�� link do starej kategorii i doda� link do wybranej kategorii?");
26
define("_AM_CONFIRM_COPY"                    , "Doda� link do wybranej kategorii");
27
define("_AM_OPT_PAST"                        , "Przesz�o��");
28
define("_AM_OPT_FUTURE"                      , "Przysz�o��");
29
define("_AM_OPT_PASTANDFUTURE"               , "Przesz�o�� i Przysz�o��");
30
31
// format
32
define("_AM_DTFMT_LIST_ALLDAY"               , 'y-m-d');
33
define("_AM_DTFMT_LIST_NORMAL"               , 'y-m-d<\b\r />H:i');
34
35
// timezones
36
define("_AM_TZOPT_SERVER"                    , "Tak jak na serwerze");
37
define("_AM_TZOPT_GMT"                       , "Jak GMT");
38
define("_AM_TZOPT_USER"                      , "Jak strefa u�ytkownika:");
39
40
// admission
41
define("_AM_LABEL_ADMIT"                     , "Sprawdzone, doda�?");
42
define("_AM_MES_ADMITTED"                    , "Dodano wydarzenie(a)");
43
define("_AM_ADMIT_TH0"                       , "U�ytkownik");
44
define("_AM_ADMIT_TH1"                       , "Pocz�tek");
45
define("_AM_ADMIT_TH2"                       , "Data wyga�ni�cia");
46
define("_AM_ADMIT_TH3"                       , "Tytyu�");
47
define("_AM_ADMIT_TH4"                       , "Regu�a");
48
49
// events manager & importing iCalendar
50
51
define("_AM_LABEL_IMPORTFROMWEB"             , "Importuj dane iCalendar z sieci (URL musi sie zaczyna� od 'http://' lub 'webcal://')");
52
define("_AM_LABEL_UPLOADFROMFILE"            , "Wgraj dane iCalendar (Wybierz plik ze swojego komputera)");
53
define("_AM_LABEL_IO_CHECKEDITEMS"           , "Sprawdzone wydarzenia:");
54
define("_AM_LABEL_IO_OUTPUT"                 , "eksportuj do iCalendar");
55
define("_AM_LABEL_IO_DELETE"                 , "usu�");
56
define("_AM_MES_EVENTLINKTOCAT"              , "wydarzenie(a) zosta�o dodane");
57
define("_AM_MES_EVENTUNLINKED"               , "wydarzenie(a) zosta�o przesuni�te do starej kategorii");
58
define("_AM_FMT_IMPORTED"                    , "wydarzenie(a) zosta�o zainportowane z'%s'");
59
define("_AM_MES_DELETED"                     , "wydarzenie(a) has been deleted");
60
define("_AM_IO_TH0"                          , "U�ytkownik");
61
define("_AM_IO_TH1"                          , "Pocz�tek");
62
define("_AM_IO_TH2"                          , "Data wyga�ni�cia");
63
define("_AM_IO_TH3"                          , "Tytu�");
64
define("_AM_IO_TH4"                          , "Regu�a");
65
define("_AM_IO_TH5"                          , "Dost�p");
66
67
// Group's Permissions
68
define( '_AM_GPERM_G_INSERTABLE'             , "Mo�e dodawa�" ) ;
69
define( '_AM_GPERM_G_SUPERINSERT'            , "Super dodawanie" ) ;
70
define( '_AM_GPERM_G_EDITABLE'               , "Mo�e edytowa�" ) ;
71
define( '_AM_GPERM_G_SUPEREDIT'              , "Super edytowanie" ) ;
72
define( '_AM_GPERM_G_DELETABLE'              , "Mo�e usuwa�" ) ;
73
define( '_AM_GPERM_G_SUPERDELETE'            , "Super usuwanie" ) ;
74
define( '_AM_GPERM_G_TOUCHOTHERS'            , "Mo�e rusza� inne" ) ;
75
define( '_AM_CAT2GROUPDESC'                  , "Wybierz uprawnienia dla ka�dej grupy" ) ;
76
define( '_AM_GROUPPERMDESC'                  , "Wybierz uprawnienia dla ka�dej grupy<br />Je�eli chcesz, ustaw z 'W�adze u�ytkownik�w' na Sprecyzowane w Grupach.<br />Ustawienia grup : Administratora i Go�cia b�d� zignorowane." ) ;
77
78
// Table Maintenance
79
define( '_AM_MB_SUCCESSUPDATETABLE'          , "Modu� pomy�lnie uaktualniony" ) ;
80
define( '_AM_MB_FAILUPDATETABLE'             , "B��d podczas uaktualniania modu�u" ) ;
81
define( '_AM_NOTICE_NOERRORS'                , "Modu� uaktualniony bezb��dnie." ) ;
82
define( '_AM_ALRT_CATTABLENOTEXIST'          , "Kategoria nie istnieje.<br />Czy chcesz j� stworzy� ?" ) ;
83
define( '_AM_ALRT_OLDTABLE'                  , "Struktura wydarze� jest stara.<br />Czy chcesz uaktualni� tabel� ?" ) ;
84
define( '_AM_ALRT_TOOOLDTABLE'               , "Wyst�pi� b��d.<br />Mozliwe �e u�ywasz starej wercji APCal.<br />Uaktualnij do najnowszej wersji." ) ;
85
define( '_AM_FMT_SERVER_TZ_ALL'              , "Strefa czasowa na tym serwerze (zima): %+2.1f<br />Strefa czasowa na tym serwerze (lato): %+2.1f<br />Nazwa strefy na tym serwerze: %s<br />Warto�� w XOOPS'ie : %+2.1f<br />APCal u�ywa: %+2.1f<br />" ) ;
86
define( '_AM_TH_SERVER_TZ_COUNT'             , "Wydarzenia" ) ;
87
define( '_AM_TH_SERVER_TZ_VALUE'             , "Strefa czasowa" ) ;
88
define( '_AM_TH_SERVER_TZ_VALUE_TO'          , "Zmiana (-14.0��14.0)" ) ;
89
define( '_AM_JSALRT_SERVER_TZ'               , "Nie zapomnij zrobi� kopii zapasowej" ) ;
90
define( '_AM_NOTICE_SERVER_TZ'               , "Je�eli tw�j serwer ma ustawiony czas letni i jakie� wydarzenia s� zarejestrowane w APCal 0.6x lub 0.7x, nie klikaj na ten guzik.<br />eg) To jest normalne �e pokazuje obie: -5.0 i -4.0 w EDT(Eastern Daylight Time)" ) ;
91
define( '_AM_MB_SUCCESSTZUPDATE'             , "Wydarzenia i strefy czasowe zosta�y zmodyfikowane." ) ;
92
93
// Categories
94
define( '_AM_CAT_TH_TITLE'                   , 'Tytu�' ) ;
95
define( '_AM_CAT_TH_DESC'                    , 'Opis' ) ;
96
define( '_AM_CAT_TH_PARENT'                  , 'Katalog nadrz�dny' ) ;
97
define( '_AM_CAT_TH_OPTIONS'                 , 'Opcje' ) ;
98
define( '_AM_CAT_TH_LASTMODIFY'              , 'Ostatnio zmodyfikowany' ) ;
99
define( '_AM_CAT_TH_OPERATION'               , 'Operacja' ) ;
100
define( '_AM_CAT_TH_ENABLED'                 , 'W��cz' ) ;
101
define( '_AM_CAT_TH_WEIGHT'                  , 'Wa�no��' ) ;
102
define( '_AM_CAT_TH_SUBMENU'                 , 'Dopisz w SubMenu' ) ;
103
define( '_AM_BTN_UPDATE'                     , 'Uaktualnij' ) ;
104
define( '_AM_MENU_CAT_EDIT'                  , 'Edycja kategorii' ) ;
105
define( '_AM_MENU_CAT_NEW'                   , 'Utw�rz kategori�' ) ;
106
define( '_AM_MB_MAKESUBCAT'                  , 'Podkategoria' ) ;
107
define( '_AM_MB_MAKETOPCAT'                  , 'Utw�rz now� kategori�' ) ;
108
define( '_AM_MB_CAT_INSERTED'                , 'Utworzono now� kategori�' ) ;
109
define( '_AM_MB_CAT_UPDATED'                 , 'Kategoria pomy�lnie uaktualniona' ) ;
110
define( '_AM_FMT_CAT_DELETED'                , '%s Kategorii usuni�to' ) ;
111
define( '_AM_FMT_CAT_BATCHUPDATED'           , '%s Kategorii uaktualniono' ) ;
112
define( '_AM_FMT_CATDELCONFIRM'              , 'Czy na pewno chcesz usun�� t� kategori� %s ?' ) ;
113
114
// Plugins
115
define( '_AM_PI_UPDATED'                     , 'Pluginy uaktualniono' ) ;
116
define( '_AM_PI_TH_TYPE'                     , 'Typ' ) ;
117
define( '_AM_PI_TH_OPTIONS'                  , 'Opcje (zazwyczaj puste)' ) ;
118
define( '_AM_PI_TH_TITLE'                    , 'Tytu�' ) ;
119
define( '_AM_PI_TH_DIRNAME'                  , 'Katalog modu�u' ) ;
120
define( '_AM_PI_TH_FILE'                     , 'Plik pluginu' ) ;
121
define( '_AM_PI_TH_DOTGIF'                   , '.GIF' ) ;
122
define( '_AM_PI_TH_OPERATION'                , 'Operacja' ) ;
123
define( '_AM_PI_ENABLED'                     , 'W��czony' ) ;
124
define( '_AM_PI_DELETE'                      , 'Usu�' ) ;
125
define( '_AM_PI_NEW'                         , 'Nowy' ) ;
126
define( '_AM_PI_VIEWYEARLY'                  , 'Widok roczny' ) ;
127
define( '_AM_PI_VIEWMONTHLY'                 , 'Widok miesi�czny' ) ;
128
define( '_AM_PI_VIEWWEEKLY'                  , 'Widok tygodniowy' ) ;
129
define( '_AM_PI_VIEWDAILY'                   , 'Widok dzienny' ) ;
130
131
132
133
}
134
135
?>
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...