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/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="Calendario para Xoops" target="_blank">APCal</a> by <a href="http://www.antiquespromotion.ca" title="Antiques Promotion Canada" target="_blank">AP</a>');
7
8
// Index
9
define('_AM_APCAL_TIMEZONE', 'Zonas horarias');
10
define('_AM_MODULEADMIN_CONFIG', 'Configuraciones');
11
define('_AM_APCAL_NBWAITINGEVENTS', 'Hay %s eventos pendientes de aprobaci&oacute;n.');
12
define('_AM_APCAL_NBEVENTS', 'Hay %s eventos entrantes.');
13
define('_AM_APCAL_NBCATS', 'Hay %s categor&iacute;as.');
14
define('_AM_MODULEADMIN_CONFIG_PHP', 'You must have at least php version %s (your current version is %s)');
15
define('_AM_MODULEADMIN_CONFIG_XOOPS', 'You must have at least xoops version %s (your current version is %s)');
16
define('_AM_PREFS', 'Preferencias');
17
define('_AM_UPDATE', 'Actualizar');
18
define('_AM_BLOCKS', 'Bloques');
19
define('_AM_GOTOMODULE', 'Ir al m&oacute;dulo');
20
21
// titles
22
define("_AM_ADMISSION","Eventos admitidos");
23
define("_AM_MENU_EVENTS","Administraci&oacute;n de Eventos");
24
define("_AM_MENU_CATEGORIES","Administrar Categor&iacute;as");
25
define("_AM_MENU_CAT2GROUP","Permisos de Categor&iacute;as");
26
define("_AM_ICALENDAR_IMPORT","Importar iCalendar");
27
define("_AM_GROUPPERM","Permisos Globales");
28
define("_AM_TABLEMAINTAIN","Mantenimiento de Tablas (Actualizar)");
29
define("_AM_MYBLOCKSADMIN","Administraci&oacute;n de Bloques&Grupos del Calendario");
30
31
// forms
32
define("_AM_BUTTON_EXTRACT","Extraer");
33
define("_AM_BUTTON_ADMIT","Admitir");
34
define("_AM_BUTTON_MOVE","Mover");
35
define("_AM_BUTTON_COPY","Copiar");
36
define("_AM_CONFIRM_DELETE","Eliminar evento(s) OK?");
37
define("_AM_CONFIRM_MOVE","Eliminar un enlace a una categor&iacute;a antigua y a&ntilde;adir un enlace a la catergor&iacute;a especificada OK?");
38
define("_AM_CONFIRM_COPY","A&ntilde;adir un enlace a la categor&iacute;a especificada OK?");
39
define("_AM_OPT_PAST","Pasado");
40
define("_AM_OPT_FUTURE","Futuro");
41
define("_AM_OPT_PASTANDFUTURE","Pasado & Futuro");
42
43
// format
44
define("_AM_DTFMT_LIST_ALLDAY",'y-m-d');
45
define("_AM_DTFMT_LIST_NORMAL",'y-m-d<\b\r />H:i');
46
47
// timezones
48
define("_AM_TZOPT_SERVER","Como Zona horaria del Servidor");
49
define("_AM_TZOPT_GMT","Como GMT");
50
define("_AM_TZOPT_USER","Como Zona horaria del Usuario");
51
52
// admission
53
define("_AM_LABEL_ADMIT","Los eventos marcados son:  pedientes de adminitir");
54
define("_AM_MES_ADMITTED","Evento(s) admitido");
55
define("_AM_ADMIT_TH0","Usuario");
56
define("_AM_ADMIT_TH1","Fecha de inicio");
57
define("_AM_ADMIT_TH2","Fecha de Fin");
58
define("_AM_ADMIT_TH3","Nombre");
59
define("_AM_ADMIT_TH4","Regla");
60
61
// events manager & importing iCalendar
62
define("_AM_LABEL_IMPORTFROMWEB","Importar datos de iCalendar desde la p&aacute;gina web (Introduce la URL desde 'http://' o 'webcal://')");
63
define("_AM_LABEL_UPLOADFROMFILE","Datos de env&iacute;o de iCalendar(Selecciona un archivo desde tu ordenador)");
64
define("_AM_LABEL_IO_CHECKEDITEMS","Los eventos marcados son:");
65
define("_AM_LABEL_IO_OUTPUT","Exportar a iCalendar");
66
define("_AM_LABEL_IO_DELETE","Eliminar");
67
define("_AM_MES_EVENTLINKTOCAT","Evento(s) enlazado a esta categor&iacute;a");
68
define("_AM_MES_EVENTUNLINKED","Enlace del Evento(s) eliminado de la antigua categor&iacute;a");
69
define("_AM_FMT_IMPORTED","Evento(s) importado de '%s'");
70
define("_AM_MES_DELETED","Evento(s) eliminado");
71
define("_AM_IO_TH0","Usuario");
72
define("_AM_IO_TH1","Fecha de Inicio");
73
define("_AM_IO_TH2","Fecha de Fin");
74
define("_AM_IO_TH3","Nombre");
75
define("_AM_IO_TH4","Regla");
76
define("_AM_IO_TH5","Admisi&oacute;n");
77
78
// Group's Permissions
79
define( '_AM_GPERM_G_INSERTABLE' , "Puede a&ntilde;adir" ) ;
80
define( '_AM_GPERM_G_SUPERINSERT' , "Super a&ntilde;adir" ) ;
81
define( '_AM_GPERM_G_EDITABLE' , "Puede editar" ) ;
82
define( '_AM_GPERM_G_SUPEREDIT' , "Super editar" ) ;
83
define( '_AM_GPERM_G_DELETABLE' , "Puede eliminar" ) ;
84
define( '_AM_GPERM_G_SUPERDELETE' , "Super eliminar" ) ;
85
define( '_AM_GPERM_G_TOUCHOTHERS' , "Puede tocar otros" ) ;
86
define( '_AM_CAT2GROUPDESC' , "Marcar categor&iacute;as a las cuales puede acceder" ) ;
87
define( '_AM_GROUPPERMDESC' , "Seleccionar los permisos que cada grupo puede tenero<br />Si necesitas esta funcionalidad,  marca 'Permisos de Usuarios' como 'Permisos de Grupo' con anterioridad.<br />La configuraci&oacute;n de 2 Grupos como Administradores e Invitados ser&aacute; igorada." ) ;
88
89
// Table Maintenance
90
define( '_AM_MB_SUCCESSUPDATETABLE' , "Tabla(s) actualizada correctamente" ) ;
91
define( '_AM_MB_FAILUPDATETABLE' , "La actualizaci&oacute;n de la tabla ha fallado" ) ;
92
define( '_AM_NOTICE_NOERRORS' , "No hay errores ni en la Tabla ni en los datos." ) ;
93
define( '_AM_ALRT_CATTABLENOTEXIST' , "La tabla de categor&iacute;as no existe.<br />\nQuieres crear la Tabla ?" ) ;
94
define( '_AM_ALRT_OLDTABLE' , "La tabla de estructura de Eventos es antigua.<br />\nQuieres actualizarla ?" ) ;
95
define( '_AM_ALRT_TOOOLDTABLE' , "Table error occured.<br />\nPerhaps you used APCal 0.3x or earlier.<br />\nFirst, update into 0.4x or 0.5x." ) ;
96
define( '_AM_FMT_SERVER_TZ_ALL' , "Zona horaria del Servidor (Invierno): %+2.1f<br />Zona horaria del Servidor  (Verano): %+2.1f<br />Nombre de la Zona del Servidor: %s<br />Valor de la configuraci&oacute;n de XOOPS: %+2.1f<br />Valor del APCal usando: %+2.1f<br />" ) ;
97
define( '_AM_FMT_WRONGSTZ', 'Hay %s evento(s) guardados con una zona horaria incorrecta.<br />Quieres repararlos?' );
98
define( '_AM_TH_SERVER_TZ_COUNT' , "Eventos" ) ;
99
define( '_AM_TH_SERVER_TZ_VALUE' , "Zonas horarias" ) ;
100
define( '_AM_TH_SERVER_TZ_VALUE_TO' , "Modificaciones (-14.0??14.0)" ) ;
101
define( '_AM_JSALRT_SERVER_TZ' , "No olvides hace una copia de seguridad de la tablas de eventos antes de esta operaci&oacute;n" ) ;
102
define( '_AM_NOTICE_SERVER_TZ' , "Si tu Servidor tiene Zona horaria de verano y algunos eventos se han registrado en el APCal 0.6x o 0.7x, no presiones este bot&oacute;n.<br />ej)Es l&oacute;gico mostrar ambos -5.0 y -4.0 en EDT" ) ;
103
define( '_AM_MB_SUCCESSTZUPDATE' , "Events are modified with the timezone(s)." ) ;
104
105
// Categories
106
define( '_AM_CAT_TH_TITLE' , 'Nombre' ) ;
107
define( '_AM_CAT_TH_DESC' , 'Descripci&oacute;n' ) ;
108
define( '_AM_CAT_TH_PARENT' , 'Categor&iacute;a Principal' ) ;
109
define( '_AM_CAT_TH_OPTIONS' , 'Opciones' ) ;
110
define( '_AM_CAT_TH_LASTMODIFY' , '&Uacute;ltima modificada' ) ;
111
define( '_AM_CAT_TH_OPERATION' , 'Operaci&oacute;n' ) ;
112
define( '_AM_CAT_TH_ENABLED' , 'Habilitar' ) ;
113
define( '_AM_CAT_TH_WEIGHT' , 'Tama&ntilde;o' ) ;
114
define( '_AM_CAT_TH_SUBMENU' , 'Registrar un  SubMenu' ) ;
115
define( '_AM_BTN_UPDATE' , 'ACTUALIZAR' ) ;
116
define( '_AM_MENU_CAT_EDIT' , 'Editar una Categor&iacute;a' ) ;
117
define( '_AM_MENU_CAT_NEW' , 'Crear una nueva Categor&iacute;a' ) ;
118
define( '_AM_MB_MAKESUBCAT' , 'SubCategor&iacute;a' ) ;
119
define( '_AM_MB_MAKETOPCAT' , 'Crear una categor&iacute;a in a nivel Superior' ) ;
120
define( '_AM_MB_CAT_INSERTED' , 'Nueva categor&iacute;a creada' ) ;
121
define( '_AM_MB_CAT_UPDATED' , 'Categor&iacute;a actualizada' ) ;
122
define( '_AM_FMT_CAT_DELETED' , '%s Categor&iacute;as eliminadas' ) ;
123
define( '_AM_FMT_CAT_BATCHUPDATED' , '%s Categor&iacute;as actualizadas' ) ;
124
define( '_AM_FMT_CATDELCONFIRM' , 'Quieres eliminar la categor&iacute;a %s ?' ) ;
125
define('_AM_APCAL_CANBEMAIN', 'Usar como una categor&iacute;a principal');
126
define('_AM_APCAL_COLOR', 'Color');
127
128
// Plugins
129
define('_AM_PI_UPDATED' , 'Los Plugins se han actualizado' ) ;
130
define('_AM_PI_TH_TYPE' , 'Tipo' ) ;
131
define('_AM_PI_TH_OPTIONS' , 'Opciones (Habitualmente en blanco)' ) ;
132
define('_AM_PI_TH_TITLE' , 'Nombre' ) ;
133
define('_AM_PI_TH_DIRNAME' , 'M&oacute;dulo\'s Nombre del directorio' ) ;
134
define('_AM_PI_TH_FILE' , 'Archvo Plugin' ) ;
135
define('_AM_PI_TH_DOTGIF' , 'Punto GIF' ) ;
136
define('_AM_PI_TH_OPERATION' , 'Operaci&oacute;n' ) ;
137
define('_AM_PI_ENABLED' , 'Habilitado' ) ;
138
define('_AM_PI_DELETE' , 'Eliminado' ) ;
139
define('_AM_PI_NEW' , 'Nuevo' ) ;
140
define('_AM_PI_VIEWYEARLY' , 'Vista Anual' ) ;
141
define('_AM_PI_VIEWMONTHLY' , 'Vista Mensual' ) ;
142
define('_AM_PI_VIEWWEEKLY' , 'Vista Semanal' ) ;
143
define('_AM_PI_VIEWDAILY' , 'Vista Diaria' ) ;
144
145
// Blocks & Groups Admin
146
define('_AM_TITLE', 'Nombre');
147
define('_AM_SIDE', 'Direcci&oacute;n');
148
define('_AM_WEIGHT', 'Tama&ntilde;o');
149
define('_AM_VISIBLEIN', 'Visible en');
150
define('_AM_BCACHETIME', 'Duraci&oacute;n del Cach&eacute;');
151
define('_AM_ACTION', 'Acci&oacute;n');
152
define('_AM_ACTIVERIGHTS', 'Derechos de Administraci&oacute;n del M&oacute;dulo');
153
define('_AM_ACCESSRIGHTS', 'Derechos de acceso al M&oacute;dulo');
154
define('_AM_BADMIN', 'Administraci&oacute;n de Bloques');
155
//define('_MD_AM_ADGS', 'Groups');
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...