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/spanishutf8/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
define( 'APCAL_MI_LOADED' , 1 ) ;
6
7
// Module Info
8
9
// The name of this module
10
define("_MI_APCAL_NAME","APCal");
11
12
// A brief description of this module
13
define("_MI_APCAL_DESC","M&oacute;dulo Calendario con Planificador");
14
15
// Default Locale
16
define("_MI_APCAL_DEFAULTLOCALE","usa");
17
18
// Names of blocks for this module (Not all module has blocks)
19
define("_MI_APCAL_BNAME_MINICAL","Mini Calendario");
20
define("_MI_APCAL_BNAME_MINICAL_DESC","Mostrar Bloque MiniCalendario");
21
define("_MI_APCAL_BNAME_MINICALEX","MiniCalendarEx");
22
define("_MI_APCAL_BNAME_MINICALEX_DESC","Mini Calendario Extensible con plugin Sistema");
23
define("_MI_APCAL_BNAME_MONTHCAL","Calendario Mensual");
24
define("_MI_APCAL_BNAME_MONTHCAL_DESC","Mostrar en Tama&ntilde;o Completo el Calendario Mensual");
25
define("_MI_APCAL_BNAME_TODAYS","Eventos de hoy");
26
define("_MI_APCAL_BNAME_TODAYS_DESC","Mostrar eventos de hoy");
27
define("_MI_APCAL_BNAME_THEDAYS","Eventos del %s");
28
define("_MI_APCAL_BNAME_THEDAYS_DESC","Mostrar eventos para el d&iacute;a indicado");
29
define("_MI_APCAL_BNAME_COMING","Eventos entrantes");
30
define("_MI_APCAL_BNAME_COMING_DESC","Mostrar Eventos entrantes");
31
define("_MI_APCAL_BNAME_AFTER","Eventos posteriores al %s");
32
define("_MI_APCAL_BNAME_AFTER_DESC","Mostrar eventos posteriores al d&iacute;a indicado");
33
define("_MI_APCAL_BNAME_NEW","Eventos reci&eacute;n publicados");
34
define("_MI_APCAL_BNAME_NEW_DESC","Mostrar Eventos ordenados con el m&aacute;s nuevo en la parte superior");
35
define("_MI_APCAL_BNAME_MAP", 'Mapa de eventos de este mes');
36
define("_MI_APCAL_BNAME_MAP_DESC", '');
37
38
// Names of submenu
39
define("_MI_APCAL_SM_SUBMIT","Enviar");
40
41
//define("_MI_APCAL_ADMENU1","");
42
43
// Title of config items
44
define("_MI_APCAL_USERS_AUTHORITY", "Permisos de los Usuarios");
45
define("_MI_APCAL_GUESTS_AUTHORITY", "Permisos de los Invitados");
46
define("_MI_APCAL_DEFAULT_VIEW", "Vista por Defecto centrada");
47
define("_MI_APCAL_MINICAL_TARGET", "Ver Objetivo desde el MiniCalendario");
48
define("_MI_APCAL_COMING_NUMROWS", "N&uacute;mero de eventos en el Bloque de Eventos entrantes");
49
define("_MI_APCAL_SKINFOLDER", "Nombre de la carpeta personal");
50
define("_MI_APCAL_LOCALE", "Mostrar vacaciones en:");
51
define("_MI_APCAL_SUNDAYCOLOR", "Color  del Domingo");
52
define("_MI_APCAL_WEEKDAYCOLOR", "Color del fin de semana");
53
define("_MI_APCAL_SATURDAYCOLOR", "Color del S&aacute;bado");
54
define("_MI_APCAL_HOLIDAYCOLOR", "Color de las vacaciones");
55
define("_MI_APCAL_TARGETDAYCOLOR", "Color del d&iacute;a seleccionado");
56
define("_MI_APCAL_SUNDAYBGCOLOR", "Color de Fondo del Domingo");
57
define("_MI_APCAL_WEEKDAYBGCOLOR", "Color de Fondo of weekday");
58
define("_MI_APCAL_SATURDAYBGCOLOR", "Color de Fondo del S&aacute;bado");
59
define("_MI_APCAL_HOLIDAYBGCOLOR", "Color de Fondo de las Vacaciones");
60
define("_MI_APCAL_TARGETDAYBGCOLOR", "Color de Fondo del d&iacute;a seleccionado");
61
define("_MI_APCAL_CALHEADCOLOR", "Color de la cabecera del calendario");
62
define("_MI_APCAL_CALHEADBGCOLOR", "Color de Fondo de la cabecera del calendario");
63
define("_MI_APCAL_CALFRAMECSS", "Estilo para el marco del calendario");
64
define("_MI_APCAL_CANOUTPUTICS", "Permisos sobre los archivos ics exportables");
65
define("_MI_APCAL_MAXRRULEEXTRACT", "L&iacute;mite Superior de los eventos exportables por Regla.(CONT)");
66
define("_MI_APCAL_WEEKSTARTFROM", "D&iacute;a inicial de la semana");
67
define("_MI_APCAL_WEEKNUMBERING", "Regla de numeraci&oacute;n para las semanas");
68
define("_MI_APCAL_DAYSTARTFROM", "L&iacute;mite para separar d&iacute;as");
69
define("_MI_APCAL_TIMEZONE_USING", "Zona horaria del servidor");
70
define("_MI_APCAL_USE24HOUR", "Sistema de 24 horas(No significa sistema de 12 horas)");
71
define("_MI_APCAL_NAMEORUNAME" , "Mostrar nombre de la persona que publica" ) ;
72
73
define("_MI_APCAL_GMLAT" , "\"Mapa Google\" latitud por defecto" ) ;
74
define("_MI_APCAL_GMLNG" , "\"Mapa Google\" longitud por defecto" ) ;
75
define("_MI_APCAL_GMZOOM" , "\"Mapa Google\" Nivel de Zoom por defecto" ) ;
76
define("_MI_APCAL_GMHEIGHT" , "Altura (en pixels) del \"Mapa de Google\"" ) ;
77
define("_MI_APCAL_USEURLREWRITE" , "Usar la reescritura de URL" ) ;
78
define("_MI_APCAL_WIDERWEEKEND" , "Ampliar las columnas en la vista mensual para:" ) ;
79
define('_MI_APCAL_GETTHMCOLOR', 'Archivo principal css de la carpeta de tu Tema');
80
define('_MI_APCAL_THMORDEFAULT', 'Colores de:');
81
define('_MI_APCAL_ENABLECALMAP', 'Mostrar el Mapa de Google en la vista del calendario');
82
define('_MI_APCAL_ENABLEEVENTMAP', 'Mostrar el Mapa de Google en la vista del evento');
83
define('_MI_APCAL_ENABLESHARING', 'Habilitar que los Usuarios compartan el calendario en sus P&aacute;ginas web');
84
define('_MI_APCAL_EVENTNAVENABLED', 'Hablitar el Men&uacute; de Navegaci&oacute;n en la vista de Eventos');
85
define('_MI_APCAL_DISPLAYCATTITLE', 'Mostar el nombre de la Categor&iacute;a como Nombre de la p&aacute;gina del m&oacute;dulo');
86
define('_MI_APCAL_ENABLESOCIAL', 'Habilitar enlaces a Redes sociales');
87
define('_MI_APCAL_NBPICS', 'M&aacute;ximo n&uacute;mero de im&aacute;genes permitidas (0 si no quieres ninguna)');
88
define('_MI_APCAL_PICSWIDTH', 'Ancho m&aacute;ximo de las im&aacute;genes para mostrarlas en la vista de eventos');
89
define('_MI_APCAL_PICSHEIGHT', 'Altura m&aacute;xima de las im&aacute;genes para mostrarlas en la vista de eventos');
90
define('_MI_APCAL_SHOWPICMONTHLY', 'Mostrar la imagen Principal en la vista mensual');
91
define('_MI_APCAL_SHOWPICWEEKLY', 'Mostrar la imagen principal en la vista semanal');
92
define('_MI_APCAL_SHOWPICDAILY', 'Mostrar la imagen Principal en la vista diaria');
93
define('_MI_APCAL_SHOWPICLIST', 'Mostrar la imagen principal en la lista de eventos');
94
define('_MI_APCAL_EVENTBGCOLOR', 'Color de Fondo de la fila de eventos');
95
define('_MI_APCAL_EVENTCOLOR', 'Color de la fila de eventos');
96
define('_MI_APCAL_ALLCATSCOLOR', 'Color para la categor&iacute;a por defecto');
97
define('_MI_APCAL_DISPLAYTIMEZONE', 'Mostrar zonas horarias cuando se muestre la hora');
98
99
define('_MI_APCAL_USERS', 'Usuarios');
100
define('_MI_APCAL_COLORS', 'Colores');
101
define('_MI_APCAL_SETTINGS', 'Configuraci&iacute;n General');
102
define('_MI_APCAL_CALSETTINGS', 'Configuraci&oacute;n del Calendario');
103
define('_MI_APCAL_CALDISPLAY', 'Mostrar Calendario');
104
define('_MI_APCAL_EVENTS', 'Eventos');
105
define('_MI_APCAL_PICTURES', 'Im&aacute;genes');
106
define('_MI_APCAL_MAP', 'Mapa Google');
107
define('_MI_APCAL_COMMENTSNOT', 'Comentarios y & Notificaciones');
108
109
// Description of each config items
110
define("_MI_APCAL_EDITBYGUESTDSC", "Permisos de a&ntilde;adir eventos por los Invitados");
111
define("_MI_APCAL_LOCALEDESC", "Nota: Las vacaciones est&aacute;n a&ntilde;adidas para USA, Canada, Canada-fr y France exclusivamente. Para otros pa&iacute;ses, debes crearlas t&uacute; mismo.");
112
define("_MI_APCAL_DESCNAMEORUNAME" , "Selecciona qu&eacute; 'nombre' se muestra" );
113
define("_MI_APCAL_DESCUSEURLREWRITE" , "<b>Para hacerlo funcionar, copia  /modules/apcal/doc/.htaccess a /modules/apcal/.</b><br /><br />Nota: Si no tienes el apache \"mod_rewrite\" instalado en tu Servidor, es posible que no funcione. Por favor, contacta con tu administrador de sistemas para m&aacute;s detalles." ) ;
114
define("_MI_APCAL_WIDERWEEKENDDESC" , "Presiona la Tecla \"Ctrl\" de tu teclado mientras seleccionas m&aacute;s de un d&iacute;a." );
115
define('_MI_APCAL_THMORDEFAULTDESC', 'Tema: A&ntilde;ade a tu archivo css principal las siguientes l&iacute;neas. (Recomendado)<br />Personalizar:  Rellena los siguientes 13 campos.<br />Por Defecto: Usa los colores por defecto.');
116
117
// Options of each config items
118
define("_MI_APCAL_OPT_AUTH_NONE", "No puede a&ntilde;adir");
119
define("_MI_APCAL_OPT_AUTH_WAIT", "Puede a&ntilde;adir, pero los Eventos necesitan ser aprobados");
120
define("_MI_APCAL_OPT_AUTH_POST", "Puede a&ntilde;adir eventos sin aprobaci&oacute;n");
121
define("_MI_APCAL_OPT_AUTH_BYGROUP", "Especificado en los Permisos de Grupo");
122
define("_MI_APCAL_OPT_MINI_PHPSELF", "P&aacute;gina actual");
123
define("_MI_APCAL_OPT_MINI_MONTHLY", "Calendario Mensual");
124
define("_MI_APCAL_OPT_MINI_WEEKLY", "Calendario Semanal");
125
define("_MI_APCAL_OPT_MINI_DAILY", "Calendario Diario");
126
define("_MI_APCAL_OPT_MINI_LIST", "Lista de Eventos");
127
define("_MI_APCAL_OPT_CANOUTPUTICS", "Puede exportar");
128
define("_MI_APCAL_OPT_CANNOTOUTPUTICS", "No puede exportar");
129
define("_MI_APCAL_OPT_STARTFROMSUN", "Domingo");
130
define("_MI_APCAL_OPT_STARTFROMMON", "Lunes");
131
define("_MI_APCAL_OPT_WEEKNOEACHMONTH", "por cada mes");
132
define("_MI_APCAL_OPT_WEEKNOWHOLEYEAR", "Por cada a&ntilde;o");
133
define("_MI_APCAL_OPT_USENAME" , "Nombre Real" ) ;
134
define("_MI_APCAL_OPT_USEUNAME" , "Nombre del login" ) ;
135
define("_MI_APCAL_OPT_TZ_USEXOOPS" , "valor del archivo de configuraci&oacute;n de XOOPS" ) ;
136
define("_MI_APCAL_OPT_TZ_USEWINTER" , "Valor dado por el horario de Invierno del Servidor(recomendado)" ) ;
137
define("_MI_APCAL_OPT_TZ_USESUMMER" , "valor dado por el horario de Verano del Servidor" ) ;
138
define('_MI_APCAL_OPT_THM', 'Tema');
139
define('_MI_APCAL_OPT_CUSTOM', 'Personalizar');
140
define('_MI_APCAL_OPT_DEFAULT', 'Por Defecto');
141
define("_MI_APCAL_OPT_NONE", "Ninguno");
142
define('_MI_APCAL_SUNDAY', 'Domingo');
143
define('_MI_APCAL_MONDAY', 'Lunes');
144
define('_MI_APCAL_TUESDAY', 'Martes');
145
define('_MI_APCAL_WEDNESDAY', 'Mi&eacute;rcoles');
146
define('_MI_APCAL_THURSDAY', 'Jueves');
147
define('_MI_APCAL_FRIDAY', 'Viernes');
148
define('_MI_APCAL_SATURDAY', 'S&aacute;bado');
149
150
// Admin Menus
151
define('_MI_APCAL_INDEX', 'Principal');
152
define("_MI_APCAL_ADMENU0","Admitir Eventos");
153
define("_MI_APCAL_ADMENU1","Administrador de Eventos");
154
define("_MI_APCAL_ADMENU_CAT","Administrador de Categor&iacute;as");
155
define("_MI_APCAL_ADMENU_CAT2GROUP","Permisos de Categor&iacute;as");
156
define("_MI_APCAL_ADMENU2","Permisos Globales");
157
define("_MI_APCAL_ADMENU_TM","administraci&oacute;n de Tablas");
158
define("_MI_APCAL_ADMENU_PLUGINS","Administrador de Plugins");
159
define("_MI_APCAL_ADMENU_ICAL","Importar iCalendar");
160
define('_MI_APCAL_ADMENU_MYTPLSADMIN','Plantillas');
161
define("_MI_APCAL_ADMENU_MYBLOCKSADMIN","Administraci&oacute;n de Bloques & Grupos");
162
163
// Text for notifications
164
define('_MI_APCAL_GLOBAL_NOTIFY', 'Global');
165
define('_MI_APCAL_GLOBAL_NOTIFYDSC', 'Opciones de notificaciones Globales del Calendario.');
166
define('_MI_APCAL_CATEGORY_NOTIFY', 'Categor&iacute;a');
167
define('_MI_APCAL_CATEGORY_NOTIFYDSC', 'Opciones de Notificaci&oacute;n aplicables a la categor&iacute;a actual.');
168
define('_MI_APCAL_EVENT_NOTIFY', 'Evento');
169
define('_MI_APCAL_EVENT_NOTIFYDSC', 'Opciones de Notificaci&oacute;n aplicables al evento actual.');
170
171
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFY', 'Nuevo Evento');
172
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYCAP', 'Notificarme cuando un nuevo evento es creado.');
173
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYDSC', 'Notificarme con la descripci&oacute;n inclu&iacute;da cuando un nuevo evento es creado.');
174
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notificaci&oacute;n : Nuevo evento');
175
176
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFY', 'Nuevo evento en la categor&iacute;a');
177
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYCAP', 'Notificarme cuando un nuevo evento se ha creado en la Categor&iacute;a.');
178
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYDSC', 'Notificarme con la descripci&oacute;n inclu&iacute;da cuando un nuevo evento es creado in la Categor&iacute;a.');
179
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notificaci&oacute;n : Nuevo evento en la Categor&iacute;a {CATEGORY_TITLE}');
180
181
}
182
183
?>
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...