This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include
, or for example
via PHP's auto-loading mechanism.
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_CNST_LOADED' ) ) { |
|
0 ignored issues
–
show
|
|||
4 | |||
5 | define( 'APCAL_CNST_LOADED' , 1 ) ; |
||
6 | |||
7 | // the language file for jscalendar "DHTML Date/Time Selector" |
||
8 | define('_APCAL_JS_CALENDAR','calendar-en.js') ; |
||
9 | |||
10 | // format for jscalendar. see common/jscalendar/doc/html/reference.html |
||
11 | define('_APCAL_JSFMT_YMDN','%e %B %Y %A') ; |
||
12 | |||
13 | // format for date() see http://jp.php.net/date |
||
14 | define('_APCAL_DTFMT_MINUTE','i') ; |
||
15 | |||
16 | // definition of orders Y:year M:month W:week D:day N:dayname O:operand |
||
17 | define('_APCAL_FMT_MD' , '%2$s %1$s') ; |
||
18 | define('_APCAL_FMT_YMD' , '%3$s %2$s %1$s') ; |
||
19 | define('_APCAL_FMT_YMDN' , '%3$s %2$s %1$s %4$s') ; |
||
20 | define('_APCAL_FMT_YMDO' , '%4$s%3$s%2$s%1$s') ; |
||
21 | define('_APCAL_FMT_YMW' , '%3$s %2$s %1$s') ; |
||
22 | define('_APCAL_FMT_YW' , 'Tydzie�%2$s %1$s') ; |
||
23 | define('_APCAL_FMT_DHI' , '%1$s %2$s:%3$s') ; |
||
24 | define('_APCAL_FMT_HI' , '%1$s:%2$s') ; |
||
25 | |||
26 | // formats for sprintf() |
||
27 | define('_APCAL_FMT_YEAR_MONTH' , '%2$s %1$s') ; |
||
28 | define('_APCAL_FMT_YEAR' , 'Rok %s') ; |
||
29 | define('_APCAL_FMT_WEEKNO' , 'Tydzie� %s') ; |
||
30 | |||
31 | define('_APCAL_ICON_LIST' , 'Lista') ; |
||
32 | define('_APCAL_ICON_DAILY' , 'Widok dzienny') ; |
||
33 | define('_APCAL_ICON_WEEKLY' , 'Widok tygodniowy') ; |
||
34 | define('_APCAL_ICON_MONTHLY' , 'Widok miesi�czny') ; |
||
35 | define('_APCAL_ICON_YEARLY' , 'Widok roczny') ; |
||
36 | |||
37 | define('_APCAL_MB_SHOWALLCAT' , 'Wszystkie kategorie') ; |
||
38 | |||
39 | define('_APCAL_MB_LINKTODAY' , 'Dzisiaj') ; |
||
40 | define('_APCAL_MB_NOSUBJECT' , '(Bez tematu)') ; |
||
41 | |||
42 | define('_APCAL_MB_PREV_DATE' , 'Wczoraj') ; |
||
43 | define('_APCAL_MB_NEXT_DATE' , 'Jutro') ; |
||
44 | define('_APCAL_MB_PREV_WEEK' , 'Poprzedni tydzie�') ; |
||
45 | define('_APCAL_MB_NEXT_WEEK' , 'Nast�pny tydzie�') ; |
||
46 | define('_APCAL_MB_PREV_MONTH' , 'Poprzedni miesi�c') ; |
||
47 | define('_APCAL_MB_NEXT_MONTH' , 'Nast�pny miesi�c') ; |
||
48 | define('_APCAL_MB_PREV_YEAR' , 'Poprzedni rok') ; |
||
49 | define('_APCAL_MB_NEXT_YEAR' , 'Nast�pny rok') ; |
||
50 | |||
51 | define('_APCAL_MB_NOEVENT' , 'Nie ma �adnych wydarze�') ; |
||
52 | define('_APCAL_MB_ADDEVENT' , 'Dodaj wydarzenie') ; |
||
53 | define('_APCAL_MB_CONTINUING' , '(kuntynuuj)') ; |
||
54 | define('_APCAL_MB_RESTEVENT_PRE' , 'wi�cej') ; |
||
55 | define('_APCAL_MB_RESTEVENT_SUF' , 'item(s)') ; |
||
56 | define('_APCAL_MB_TIMESEPARATOR' , '--') ; |
||
57 | |||
58 | define('_APCAL_MB_ALLDAY_EVENT' , 'Wydarzenie ca�odniowe') ; |
||
59 | define('_APCAL_MB_LONG_EVENT' , 'Poka� jako belka') ; |
||
60 | define('_APCAL_MB_LONG_SPECIALDAY', 'Rocznica, jubileusz itp.') ; |
||
61 | |||
62 | define('_APCAL_MB_PUBLIC' , 'Publiczne') ; |
||
63 | define('_APCAL_MB_PRIVATE' , 'Prywatne') ; |
||
64 | define('_APCAL_MB_PRIVATETARGET' , 'pomi�dzy %s') ; |
||
65 | |||
66 | define('_APCAL_MB_LINK_TO_RRULE1ST' , 'Poka� pierwsze wydarzenie ') ; |
||
67 | define('_APCAL_MB_RRULE1ST' , 'To jest pierwsze wydarzenie') ; |
||
68 | |||
69 | define('_APCAL_MB_EVENT_NOTREGISTER' , 'Nie dodane') ; |
||
70 | define('_APCAL_MB_EVENT_ADMITTED' , 'Zaakceptowane') ; |
||
71 | define('_APCAL_MB_EVENT_NEEDADMIT' , 'Czeka na zaakceptowanie') ; |
||
72 | |||
73 | define('_APCAL_MB_TITLE_EVENTINFO' , 'Planowanie') ; |
||
74 | define('_APCAL_MB_SUBTITLE_EVENTDETAIL', 'Szczeg�y') ; |
||
75 | define('_APCAL_MB_SUBTITLE_EVENTEDIT' , 'Widok edycji') ; |
||
76 | |||
77 | define('_APCAL_MB_HOUR_SUF' , ':') ; |
||
78 | define('_APCAL_MB_MINUTE_SUF' , '') ; |
||
79 | |||
80 | define('_APCAL_MB_ORDER_ASC' , 'Rosn�co') ; |
||
81 | define('_APCAL_MB_ORDER_DESC' , 'Malej�co') ; |
||
82 | define('_APCAL_MB_SORTBY' , 'Sortuj wg:') ; |
||
83 | define('_APCAL_MB_CURSORTEDBY' , 'Wydarzenia s� posortowane wg:') ; |
||
84 | |||
85 | define("_APCAL_MB_LABEL_CHECKEDITEMS" , "Sprawdzone wydarzenia:"); |
||
86 | define("_APCAL_MB_LABEL_OUTPUTICS" , "wyeksportuj do iCalendar"); |
||
87 | |||
88 | define("_APCAL_MB_ICALSELECTPLATFORM" , "Wybierz platform� "); |
||
89 | |||
90 | define('_APCAL_TH_SUMMARY' , 'Temat') ; |
||
91 | define('_APCAL_TH_TIMEZONE' , 'Strefa czasowa') ; |
||
92 | define('_APCAL_TH_STARTDATETIME' , 'Pocz�tek') ; |
||
93 | define('_APCAL_TH_ENDDATETIME' , 'Koniec') ; |
||
94 | define('_APCAL_TH_ALLDAYOPTIONS' , 'Ca�odniowe opcje') ; |
||
95 | define('_APCAL_TH_LOCATION' , 'Miejsca') ; |
||
96 | define('_APCAL_TH_CONTACT' , 'Kontakt') ; |
||
97 | define('_APCAL_TH_CATEGORIES' , 'Kategorie') ; |
||
98 | define('_APCAL_TH_SUBMITTER' , 'Autor') ; |
||
99 | define('_APCAL_TH_CLASS' , 'Typ') ; |
||
100 | define('_APCAL_TH_DESCRIPTION' , 'Opis wydarzenia') ; |
||
101 | define('_APCAL_TH_RRULE' , 'Powt�rzenie wydarzenia') ; |
||
102 | define('_APCAL_TH_ADMISSIONSTATUS' , 'Status') ; |
||
103 | define('_APCAL_TH_LASTMODIFIED' , 'Ostatnia modyfikacja') ; |
||
104 | |||
105 | define('_APCAL_NTC_MONTHLYBYMONTHDAY' , '(Numer wej�ciowy)') ; |
||
106 | define('_APCAL_NTC_EXTRACTLIMIT' , '** Tylko %s wydarze� b�dzie wyci�ganych') ; |
||
107 | define('_APCAL_NTC_NUMBEROFNEEDADMIT' , '(%s rzeczy potrzebuje akceptacji administratora') ; |
||
108 | |||
109 | define('_APCAL_OPT_PRIVATEMYSELF' , 'tylko siebie') ; |
||
110 | define('_APCAL_OPT_PRIVATEGROUP' , 'grupa %s') ; |
||
111 | define('_APCAL_OPT_PRIVATEINVALID' , '(b��dna grupa)') ; |
||
112 | |||
113 | define('_APCAL_MB_OP_AFTER' , 'Potem') ; |
||
114 | define('_APCAL_MB_OP_BEFORE' , 'Przed') ; |
||
115 | define('_APCAL_MB_OP_ON' , 'Aktualne') ; |
||
116 | define('_APCAL_MB_OP_ALL' , 'Wszystkie') ; |
||
117 | |||
118 | define('_APCAL_CNFM_SAVEAS_YN' , 'Czy chcesz zapisa� to jako inny wpis?') ; |
||
119 | define('_APCAL_CNFM_DELETE_YN' , 'Czy chcesz usun�� ten wpis ?') ; |
||
120 | |||
121 | define('_APCAL_ERR_INVALID_EVENT_ID' , 'B��d: nie znaleziono wydarzenia') ; |
||
122 | define('_APCAL_ERR_NOPERM_TO_SHOW' , "B��d: nie masz uprawnie� do przegl�dania tej strony") ; |
||
123 | define('_APCAL_ERR_NOPERM_TO_OUTPUTICS', "B��d: nie masz uprawnie� do zmieniania opcji iCalendar") ; |
||
124 | define('_APCAL_ERR_LACKINDISPITEM' , '%s jest puste.<br />kliknij "wstecz" w swojej przegl�darce!') ; |
||
125 | |||
126 | define('_APCAL_BTN_JUMP' , ' Id�') ; |
||
127 | define('_APCAL_BTN_NEWINSERTED' , ' Dodaj') ; |
||
128 | define('_APCAL_BTN_SUBMITCHANGES' , ' Zmie� to! ') ; |
||
129 | define('_APCAL_BTN_SAVEAS' , ' Zapisz jako') ; |
||
130 | define('_APCAL_BTN_DELETE' , ' Usu�') ; |
||
131 | define('_APCAL_BTN_DELETE_ONE' , ' Usu� tylko jedno') ; |
||
132 | define('_APCAL_BTN_EDITEVENT' , ' Edytuj') ; |
||
133 | define('_APCAL_BTN_RESET' , ' Resetuj') ; |
||
134 | define('_APCAL_BTN_OUTPUTICS_WIN' , ' iCalendar(Win)') ; |
||
135 | define('_APCAL_BTN_OUTPUTICS_MAC' , ' iCalendar(Mac)') ; |
||
136 | define('_APCAL_BTN_PRINT' , ' Drukuj') ; |
||
137 | define("_APCAL_BTN_IMPORT" , " Importuj!"); |
||
138 | define("_APCAL_BTN_UPLOAD" , " Uploaduj!"); |
||
139 | define("_APCAL_BTN_EXPORT" , " Exportuj!"); |
||
140 | define("_APCAL_BTN_EXTRACT" , " Wypakuj"); |
||
141 | define("_APCAL_BTN_ADMIT" , " Akceptuj"); |
||
142 | define("_APCAL_BTN_MOVE" , " Przenie�"); |
||
143 | define("_APCAL_BTN_COPY" , " Kopiuj"); |
||
144 | |||
145 | define('_APCAL_RR_EVERYDAY' , 'Codziennie') ; |
||
146 | define('_APCAL_RR_EVERYWEEK' , 'Co tydzie�') ; |
||
147 | define('_APCAL_RR_EVERYMONTH' , 'Co miesi�c') ; |
||
148 | define('_APCAL_RR_EVERYYEAR' , 'Co rok') ; |
||
149 | define('_APCAL_RR_FREQDAILY' , 'Dziennie') ; |
||
150 | define('_APCAL_RR_FREQWEEKLY' , 'Tygodniowo') ; |
||
151 | define('_APCAL_RR_FREQMONTHLY' , 'Miesi�cznie') ; |
||
152 | define('_APCAL_RR_FREQYEARLY' , 'Rocznie') ; |
||
153 | define('_APCAL_RR_FREQDAILY_PRE' , 'Ka�dy') ; |
||
154 | define('_APCAL_RR_FREQWEEKLY_PRE' , 'Ka�dy') ; |
||
155 | define('_APCAL_RR_FREQMONTHLY_PRE' , 'Ka�dy') ; |
||
156 | define('_APCAL_RR_FREQYEARLY_PRE' , 'Ka�dy') ; |
||
157 | define('_APCAL_RR_FREQDAILY_SUF' , 'dzie�/dni') ; |
||
158 | define('_APCAL_RR_FREQWEEKLY_SUF' , 'tygodni') ; |
||
159 | define('_APCAL_RR_FREQMONTHLY_SUF' , 'miesi�cy)') ; |
||
160 | define('_APCAL_RR_FREQYEARLY_SUF' , 'lat') ; |
||
161 | define('_APCAL_RR_PERDAY' , 'ka�de %s dni') ; |
||
162 | define('_APCAL_RR_PERWEEK' , 'ka�de %s tygodni') ; |
||
163 | define('_APCAL_RR_PERMONTH' , 'ka�de %s miesi�cy') ; |
||
164 | define('_APCAL_RR_PERYEAR' , 'ka�de %s lat') ; |
||
165 | define('_APCAL_RR_COUNT' , '<br />%s razy') ; |
||
166 | define('_APCAL_RR_UNTIL' , '<br />dop�ki %s') ; |
||
167 | define('_APCAL_RR_R_NORRULE' , 'Nie zdarza si� ponownie') ; |
||
168 | define('_APCAL_RR_R_YESRRULE' , 'Kiedy nast�pi powt�rzenie') ; |
||
169 | define('_APCAL_RR_OR' , 'lub') ; |
||
170 | define('_APCAL_RR_S_NOTSELECTED' , '-nie wybrano-') ; |
||
171 | define('_APCAL_RR_S_SAMEASBDATE' , 'Taka sama jak data pocz�tku') ; |
||
172 | define('_APCAL_RR_R_NOCOUNTUNTIL' , '�adne ko�cz�ce si� warunki') ; |
||
173 | define('_APCAL_RR_R_USECOUNT_PRE' , 'powt�rze�') ; |
||
174 | define('_APCAL_RR_R_USECOUNT_SUF' , 'razy') ; |
||
175 | define('_APCAL_RR_R_USEUNTIL' , 'dop�ki') ; |
||
176 | |||
177 | |||
178 | } |
||
179 | |||
180 | ?> |
||
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. ![]() |
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.