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/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
6
7
8
9
// Appended by Xoops Language Checker -GIJOE- in 2005-06-29 17:19:32
10
define('_AM_PI_TH_OPTIONS','Options (usually blank)');
11
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>');
12
13
// Appended by Xoops Language Checker -GIJOE- in 2005-05-24 19:05:05
14
define('_AM_TZOPT_SERVER','As server timezone');
15
define('_AM_TZOPT_GMT','As GMT');
16
define('_AM_TZOPT_USER','As user\'s timezone');
17
18
// Appended by Xoops Language Checker -GIJOE- in 2005-05-06 18:04:00
19
define('_AM_FMT_SERVER_TZ_ALL','Timezone of the server (winter): %+2.1f<br />Timezone of the server (summer): %+2.1f<br />Zonename of the server: %s<br />The value of XOOPS config: %+2.1f<br />The value of APCal using: %+2.1f<br />');
20
21
// Appended by Xoops Language Checker -GIJOE- in 2005-05-03 05:31:13
22
define('_AM_FMT_SERVER_TZ_SYSTEM','Timezone in winter: %+2.1f');
23
define('_AM_TH_SERVER_TZ_COUNT','Events');
24
define('_AM_TH_SERVER_TZ_VALUE','Timezone');
25
define('_AM_TH_SERVER_TZ_VALUE_TO','Changes (-14.0��14.0)');
26
define('_AM_JSALRT_SERVER_TZ','Don\'t forget backing-up events table before this operation');
27
define('_AM_NOTICE_SERVER_TZ','If your server set the timezone area with summer time (=Day Light Saving) and some events were registerd in APCal 0.6x or 0.7x, dont\'t push this button.<br />eg) It is natural to display both -5.0 and -4.0 in EDT');
28
define('_AM_MB_SUCCESSTZUPDATE','Events are modified with the timezone(s).');
29
define('_AM_PI_UPDATED','Plugins are updated');
30
define('_AM_PI_TH_TYPE','Type');
31
define('_AM_PI_TH_TITLE','Title');
32
define('_AM_PI_TH_DIRNAME','Module\'s dirname');
33
define('_AM_PI_TH_FILE','Plugin file');
34
define('_AM_PI_TH_DOTGIF','Dot GIF');
35
define('_AM_PI_TH_OPERATION','Operation');
36
define('_AM_PI_ENABLED','Enabled');
37
define('_AM_PI_DELETE','Delete');
38
define('_AM_PI_NEW','New');
39
define('_AM_PI_VIEWYEARLY','Yearly View');
40
define('_AM_PI_VIEWMONTHLY','Monthly View');
41
define('_AM_PI_VIEWWEEKLY','Weekly View');
42
define('_AM_PI_VIEWDAILY','Daily View');
43
44
define( 'APCAL_AM_LOADED' , 1 ) ;
45
46
47
// titles
48
49
// Appended by Xoops Language Checker -GIJOE- in 2004-06-22 18:39:03
50
define('_AM_OPT_PAST','F�rr');
51
define('_AM_OPT_FUTURE','Framtida');
52
define('_AM_OPT_PASTANDFUTURE','F�rr&Framtida');
53
54
define("_AM_CONFIG","Konfigureringsmeny f�r APCal");
55
define("_AM_GENERALCONF","Generella inst�llningar f�r APCal");
56
define("_AM_ADMISSION","Godk�nna h�ndelser");
57
define("_AM_ICALENDAR_IO","iCalendar I/O");
58
define("_AM_ICALENDAR_IMPORT","Importera iCalendar");
59
define("_AM_ICALENDAR_EXPORT","Exportera iCalendar");
60
define("_AM_GROUPPERM","Gruppr�ttigheter");
61
define("_AM_MYBLOCKSADMIN","APCal's Block&Grupp administration");
62
63
// forms
64
define("_AM_BUTTON_EXTRACT","Packa upp");
65
define("_AM_BUTTON_ADMIT","Godk�nn");
66
define("_AM_CONFIRM_DELETE","OK att radera?");
67
68
// format
69
define("_AM_DTFMT_LIST_ALLDAY",'y-m-d');
70
define("_AM_DTFMT_LIST_NORMAL",'y-m-d<\b\r />H:i');
71
72
// admission
73
define("_AM_LABEL_ADMIT","Markerade h�ndelser kommer: att godk�nnas ");
74
define("_AM_MES_ADMITTED","H�ndelse(r) har godk�nnts");
75
define("_AM_ADMIT_TH0","Anv�ndare");
76
define("_AM_ADMIT_TH1","Start Datum&Tid");
77
define("_AM_ADMIT_TH2","Slut Datum&Tid");
78
define("_AM_ADMIT_TH3","Titel");
79
define("_AM_ADMIT_TH4","Regel");
80
81
// iCalendar I/O
82
83
define("_AM_LABEL_IMPORTFROMWEB","Importera iCalendar data fr�n web (Angiven URL skall starta p� 'http://' eller 'webcal://')");
84
define("_AM_LABEL_UPLOADFROMFILE","Ladda upp iCalendar data (V�lj en fil p� Er lokala dator)");
85
define("_AM_BUTTON_IMPORT","Import!");
86
define("_AM_BUTTON_UPLOAD","Ladda upp!");
87
define("_AM_LABEL_IO_CHECKEDITEMS","Markerade h�ndelser kommer:");
88
define("_AM_LABEL_IO_OUTPUT","att bli exporterade till iCalendar");
89
define("_AM_LABEL_IO_SELECTPLATFORM","V�lj plattform");
90
define("_AM_LABEL_IO_DELETE","att bli raderade ");
91
define("_AM_MES_DELETED","H�ndelse(r) har raderats");
92
define("_AM_IO_TH0","Anv�ndare");
93
define("_AM_IO_TH1","Start Datum&Tid");
94
define("_AM_IO_TH2","Slut Datum&Tid");
95
define("_AM_IO_TH3","Titel");
96
define("_AM_IO_TH4","Regel");
97
define("_AM_IO_TH5","Godk�nda");
98
99
// Group's Permissions
100
define( '_AM_GPERM_G_INSERTABLE' , "L�gga Till" ) ;
101
define( '_AM_GPERM_G_SUPERINSERT' , "Super L�gga Till" ) ;
102
define( '_AM_GPERM_G_EDITABLE' , "Editera" ) ;
103
define( '_AM_GPERM_G_SUPEREDIT' , "Super Editera" ) ;
104
define( '_AM_GPERM_G_DELETABLE' , "Radera" ) ;
105
define( '_AM_GPERM_G_SUPERDELETE' , "Super Radera" ) ;
106
define( '_AM_GPERM_G_TOUCHOTHERS' , "Kan n� andra" ) ;
107
define( '_AM_GROUPPERMDESC' , "Markera vad respektive grupp har r�ttighet att urf�ra.<br />Om denna funktion anv�nds, markera 'Beh�righeter f�r anv�ndare' till 'Specificerad i Gruppr�ttigheterna' f�rst i 'Inst�llningar'.<br />Inst�llningarna f�r grupperna 'Administrator' och 'Guest' kommer att ignoreras." ) ;
108
109
110
111
112
// Appended by Xoops Language Checker -GIJOE- in 2004-01-14 18:31:01
113
define('_AM_MENU_EVENTS','H�ndelse Administration');
114
define('_AM_MENU_CATEGORIES','Kategori Administration');
115
define('_AM_MENU_CAT2GROUP','R�ttigheter f�r Kategorier');
116
define('_AM_TABLEMAINTAIN','Tabell Underh�ll (Uppgradera)');
117
define('_AM_BUTTON_MOVE','Flytta');
118
define('_AM_BUTTON_COPY','Kopiera');
119
define('_AM_CONFIRM_MOVE','Ta bort l�nk till den gamla kategorin och l�gg till en l�nk till den specificerade kategorin?');
120
define('_AM_CONFIRM_COPY','L�gg till en l�nk till specificerad l�nk?');
121
define('_AM_BUTTON_EXPORT','Exportera!');
122
define('_AM_MES_EVENTLINKTOCAT','h�ndelse(r) har l�nkats till denna kategori');
123
define('_AM_MES_EVENTUNLINKED','l�nk till h�ndelse(r) har tagits bort fr�n denna kategori');
124
define('_AM_FMT_IMPORTED','h�ndelse(r) har importerats fr�n \'%s\'');
125
define('_AM_CAT2GROUPDESC','Markera de kategorier som respektive grupp har tillg�ng till');
126
define('_AM_MB_SUCCESSUPDATETABLE','Uppdatering av tabell(er) lyckades');
127
define('_AM_MB_FAILUPDATETABLE','Uppdatering av tabell(er) misslyckades');
128
define('_AM_NOTICE_NOERRORS','Det finns inga fel p� tabeller eller records.');
129
define('_AM_ALRT_CATTABLENOTEXIST','Kategori tabellen finns inte.<br />
130
Vill Ni skapa tabellen?');
131
define('_AM_ALRT_OLDTABLE','Tabellstrukturen �r gammal.<br />
132
Vill Ni uppgradera tabellerna?');
133
define('_AM_ALRT_TOOOLDTABLE','Det upptr�dde ett tabell fel.<br />
134
Ni kanske anv�nde APCal 0.3x eller tidigare.<br />
135
Uppgradera f�rst till 0.4x eller 0.5x.');
136
define('_AM_FMT_WRONGSTZ','Det finns %s h�ndelse(r) som har fel tidszon registrerad.<br />Vill Ni reparera dem?');
137
define('_AM_CAT_TH_TITLE','Titel');
138
define('_AM_CAT_TH_DESC','Beskrivning');
139
define('_AM_CAT_TH_PARENT','Huvud Kategori');
140
define('_AM_CAT_TH_OPTIONS','Optioner');
141
define('_AM_CAT_TH_LASTMODIFY','Senast �ndrad');
142
define('_AM_CAT_TH_OPERATION','Aktivitet');
143
define('_AM_CAT_TH_ENABLED','Aktiv');
144
define('_AM_CAT_TH_WEIGHT','Vikt');
145
define('_AM_CAT_TH_SUBMENU','Visa i Undermeny');
146
define('_AM_BTN_UPDATE','Uppdatera');
147
define('_AM_MENU_CAT_EDIT','Editera en Kategori');
148
define('_AM_MENU_CAT_NEW','Skapa en ny Kategori');
149
define('_AM_MB_MAKESUBCAT','UnderKategori');
150
define('_AM_MB_MAKETOPCAT','Skapa en kategori i �versta niv�n');
151
define('_AM_MB_CAT_INSERTED','Ny kategori skapad');
152
define('_AM_MB_CAT_UPDATED','Kategori uppdaterad');
153
define('_AM_FMT_CAT_DELETED','%s Kategorier raderade');
154
define('_AM_FMT_CAT_BATCHUPDATED','%s Kategori(er) uppdaterad');
155
define('_AM_FMT_CATDELCONFIRM','Vill Ni radera kategori %s ?');
156
157
}
158
159
?>
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...