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','%1$s %2$s') ; |
||
18 | define('_APCAL_FMT_YMD','%3$s %2$s %1$s') ; |
||
19 | define('_APCAL_FMT_YMDN','%4$s %2$s %3$s, %1$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','Week %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','AÑO %s') ; |
||
29 | define('_APCAL_FMT_WEEKNO','SEMANA %s') ; |
||
30 | |||
31 | define('_APCAL_ICON_LIST','Vista por Lista') ; |
||
32 | define('_APCAL_ICON_DAILY','Vista Diaria') ; |
||
33 | define('_APCAL_ICON_WEEKLY','Vista Semanal') ; |
||
34 | define('_APCAL_ICON_MONTHLY','Vista Mensual') ; |
||
35 | define('_APCAL_ICON_YEARLY','Vista Anual') ; |
||
36 | |||
37 | define('_APCAL_MB_SHOWALLCAT','Todas las Categorías') ; |
||
38 | |||
39 | define('_APCAL_MB_LINKTODAY','Hoy') ; |
||
40 | define('_APCAL_MB_NOSUBJECT','(Sin Asunto)') ; |
||
41 | |||
42 | define('_APCAL_MB_PREV_DATE','Ayer') ; |
||
43 | define('_APCAL_MB_NEXT_DATE','Mañana') ; |
||
44 | define('_APCAL_MB_PREV_WEEK','Semana Pasada') ; |
||
45 | define('_APCAL_MB_NEXT_WEEK','Próxima Semana') ; |
||
46 | define('_APCAL_MB_PREV_MONTH','Mes Pasado') ; |
||
47 | define('_APCAL_MB_NEXT_MONTH','Próximo mes') ; |
||
48 | define('_APCAL_MB_PREV_YEAR','Año Pasado') ; |
||
49 | define('_APCAL_MB_NEXT_YEAR','Próximo Año') ; |
||
50 | |||
51 | define('_APCAL_MB_NOEVENT','Sin Eventos') ; |
||
52 | define('_APCAL_MB_ADDEVENT','Añadir un Evento') ; |
||
53 | define('_APCAL_MB_CONTINUING','(continuando)') ; |
||
54 | define('_APCAL_MB_RESTEVENT_PRE','') ; |
||
55 | define('_APCAL_MB_RESTEVENT_SUF','más artículo') ; |
||
56 | define('_APCAL_MB_TIMESEPARATOR','--') ; |
||
57 | |||
58 | define('_APCAL_MB_ALLDAY_EVENT','Evento de todo el día') ; |
||
59 | define('_APCAL_MB_LONG_EVENT','Mostrar como una Barra') ; |
||
60 | define('_APCAL_MB_LONG_SPECIALDAY','Aniversario etc.') ; |
||
61 | |||
62 | define('_APCAL_MB_PUBLIC','Público') ; |
||
63 | define('_APCAL_MB_PRIVATE','Privado') ; |
||
64 | define('_APCAL_MB_PRIVATETARGET',' como %s') ; |
||
65 | |||
66 | define('_APCAL_MB_LINK_TO_RRULE1ST','Saltar al Primer Evento ') ; |
||
67 | define('_APCAL_MB_RRULE1ST','Este es el Primer Evento') ; |
||
68 | |||
69 | define('_APCAL_MB_EVENT_NOTREGISTER','No Registrado') ; |
||
70 | define('_APCAL_MB_EVENT_ADMITTED','Admitido') ; |
||
71 | define('_APCAL_MB_EVENT_NEEDADMIT','Esperando Admisión') ; |
||
72 | |||
73 | define('_APCAL_MB_TITLE_EVENTINFO','Planificación') ; |
||
74 | define('_APCAL_MB_SUBTITLE_EVENTDETAIL','Ver Detalles') ; |
||
75 | define('_APCAL_MB_SUBTITLE_EVENTEDIT','Editar Vista') ; |
||
76 | |||
77 | define('_APCAL_MB_HOUR_SUF',':') ; |
||
78 | define('_APCAL_MB_MINUTE_SUF','') ; |
||
79 | |||
80 | define('_APCAL_MB_ORDER_ASC','Ascendente') ; |
||
81 | define('_APCAL_MB_ORDER_DESC','Descendente') ; |
||
82 | define('_APCAL_MB_SORTBY','Ordenar por:') ; |
||
83 | define('_APCAL_MB_CURSORTEDBY','Eventos actuales ordenados por:') ; |
||
84 | |||
85 | define("_APCAL_MB_LABEL_CHECKEDITEMS","Los Eventos chequeados son:"); |
||
86 | define("_APCAL_MB_LABEL_OUTPUTICS","Exportar a iCalendar"); |
||
87 | |||
88 | define("_APCAL_MB_ICALSELECTPLATFORM","Selecciona Plataforma"); |
||
89 | |||
90 | define('_APCAL_TH_SUMMARY','Nombre del Evento') ; |
||
91 | define('_APCAL_TH_TIMEZONE','Zona horaria') ; |
||
92 | define('_APCAL_TH_STARTDATETIME','Fecha de Inicio') ; |
||
93 | define('_APCAL_TH_ENDDATETIME','Fecha de finalización') ; |
||
94 | define('_APCAL_TH_ALLDAYOPTIONS','Evento de todo el día') ; |
||
95 | define('_APCAL_TH_LOCATION','Dirección') ; |
||
96 | define('_APCAL_TH_CONTACT','Contacto') ; |
||
97 | define('_APCAL_TH_CATEGORIES','Categorías') ; |
||
98 | define('_APCAL_TH_SUBMITTER','Creado por') ; |
||
99 | define('_APCAL_TH_CLASS','Clase') ; |
||
100 | define('_APCAL_TH_DESCRIPTION','Descripción') ; |
||
101 | define('_APCAL_TH_RRULE','Reglas de Repetición') ; |
||
102 | define('_APCAL_TH_ADMISSIONSTATUS','Estado') ; |
||
103 | define('_APCAL_TH_LASTMODIFIED','Última modificación') ; |
||
104 | |||
105 | define('_APCAL_NTC_MONTHLYBYMONTHDAY','(Número de Entrada)') ; |
||
106 | define('_APCAL_NTC_EXTRACTLIMIT','** Sólo %s eventos se extraen si el Máx.') ; |
||
107 | define('_APCAL_NTC_NUMBEROFNEEDADMIT','(%s artículos necesarios para ser admitidos)') ; |
||
108 | |||
109 | define('_APCAL_OPT_PRIVATEMYSELF','Sólo para mi') ; |
||
110 | define('_APCAL_OPT_PRIVATEGROUP','Grupo %s') ; |
||
111 | define('_APCAL_OPT_PRIVATEINVALID','(grupo inválido)') ; |
||
112 | |||
113 | define('_APCAL_MB_OP_AFTER','Después') ; |
||
114 | define('_APCAL_MB_OP_BEFORE','Antes') ; |
||
115 | define('_APCAL_MB_OP_ON','Sobre') ; |
||
116 | define('_APCAL_MB_OP_ALL','Todo') ; |
||
117 | |||
118 | define('_APCAL_CNFM_SAVEAS_YN','Estas´seguro de guardarlo como otro evento ?') ; |
||
119 | define('_APCAL_CNFM_DELETE_YN','Estás seguro de eliminar este evento ?') ; |
||
120 | |||
121 | define('_APCAL_ERR_INVALID_EVENT_ID','Error: EventID no encontrado') ; |
||
122 | define('_APCAL_ERR_NOPERM_TO_SHOW',"Error: No tienes permisos para ver esto") ; |
||
123 | define('_APCAL_ERR_NOPERM_TO_OUTPUTICS',"Error: No tienes permisos para exportar a iCalendar") ; |
||
124 | define('_APCAL_ERR_LACKINDISPITEM','El campo %s está vacío.<br />Presiona el botón de Volver de tu navegador!') ; |
||
125 | |||
126 | define('_APCAL_BTN_JUMP','Ir') ; |
||
127 | define('_APCAL_BTN_NEWINSERTED','Aceptar') ; |
||
128 | define('_APCAL_BTN_SUBMITCHANGES',' Modifícalo! ') ; |
||
129 | define('_APCAL_BTN_SAVEAS','Guardar como') ; |
||
130 | define('_APCAL_BTN_DELETE','Eliminarlo') ; |
||
131 | define('_APCAL_BTN_DELETE_ONE','Eliminar sólo uno') ; |
||
132 | define('_APCAL_BTN_EDITEVENT','Editarlo') ; |
||
133 | define('_APCAL_BTN_RESET','Reiniciar Formulario') ; |
||
134 | define('_APCAL_BTN_OUTPUTICS_WIN','iCalendar(Win)') ; |
||
135 | define('_APCAL_BTN_OUTPUTICS_MAC','iCalendar(Mac)') ; |
||
136 | define('_APCAL_BTN_PRINT','Imprimir') ; |
||
137 | define("_APCAL_BTN_IMPORT","Importar!"); |
||
138 | define("_APCAL_BTN_UPLOAD","Subir!"); |
||
139 | define("_APCAL_BTN_EXPORT","Exportar!"); |
||
140 | define("_APCAL_BTN_EXTRACT","Extraer"); |
||
141 | define("_APCAL_BTN_ADMIT","Admitir"); |
||
142 | define("_APCAL_BTN_MOVE","Mover"); |
||
143 | define("_APCAL_BTN_COPY","Copiar"); |
||
144 | |||
145 | define('_APCAL_RR_EVERYDAY','Cada día') ; |
||
146 | define('_APCAL_RR_EVERYWEEK','Cada Semana') ; |
||
147 | define('_APCAL_RR_EVERYMONTH','Cada mes') ; |
||
148 | define('_APCAL_RR_EVERYYEAR','Cada año') ; |
||
149 | define('_APCAL_RR_FREQDAILY','Diariamente') ; |
||
150 | define('_APCAL_RR_FREQWEEKLY','Semanalmente') ; |
||
151 | define('_APCAL_RR_FREQMONTHLY','Mensualmente') ; |
||
152 | define('_APCAL_RR_FREQYEARLY','Anualmente') ; |
||
153 | define('_APCAL_RR_FREQDAILY_PRE','Cada') ; |
||
154 | define('_APCAL_RR_FREQWEEKLY_PRE','Cada') ; |
||
155 | define('_APCAL_RR_FREQMONTHLY_PRE','Cada') ; |
||
156 | define('_APCAL_RR_FREQYEARLY_PRE','Cada') ; |
||
157 | define('_APCAL_RR_FREQDAILY_SUF','Día(s)') ; |
||
158 | define('_APCAL_RR_FREQWEEKLY_SUF','Semana(s)') ; |
||
159 | define('_APCAL_RR_FREQMONTHLY_SUF','Mes(es)') ; |
||
160 | define('_APCAL_RR_FREQYEARLY_SUF','Año(s)') ; |
||
161 | define('_APCAL_RR_PERDAY','cada %s días') ; |
||
162 | define('_APCAL_RR_PERWEEK','Cada %s semanas') ; |
||
163 | define('_APCAL_RR_PERMONTH','Cada %s meses') ; |
||
164 | define('_APCAL_RR_PERYEAR','Cada %s años') ; |
||
165 | define('_APCAL_RR_COUNT','<br />%s veces') ; |
||
166 | define('_APCAL_RR_UNTIL','<br />hasta %s') ; |
||
167 | define('_APCAL_RR_R_NORRULE','Repetir No') ; |
||
168 | define('_APCAL_RR_R_YESRRULE','Repetir Sí') ; |
||
169 | define('_APCAL_RR_OR','o') ; |
||
170 | define('_APCAL_RR_S_NOTSELECTED','-no seleccionado-') ; |
||
171 | define('_APCAL_RR_S_SAMEASBDATE','Igual que la fecha de inicio') ; |
||
172 | define('_APCAL_RR_R_NOCOUNTUNTIL','Sin condiciones finales') ; |
||
173 | define('_APCAL_RR_R_USECOUNT_PRE','repeticiones') ; |
||
174 | define('_APCAL_RR_R_USECOUNT_SUF','veces') ; |
||
175 | define('_APCAL_RR_R_USEUNTIL','hasta') ; |
||
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.