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_AM_LOADED' ) ) { |
|
0 ignored issues
–
show
|
|||
4 | |||
5 | |||
6 | |||
7 | |||
8 | |||
9 | // Appended by Xoops Language Checker -GIJOE- in 2005-06-29 17:19:30 |
||
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:06 |
||
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:01 |
||
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:14 |
||
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','Past'); |
||
51 | define('_AM_OPT_FUTURE','Future'); |
||
52 | define('_AM_OPT_PASTANDFUTURE','Past&Future'); |
||
53 | |||
54 | define("_AM_CONFIG","Configura��o do Menu do APCal"); |
||
55 | define("_AM_GENERALCONF","Op�es Gerais do APCal"); |
||
56 | define("_AM_ADMISSION","Admitir eventos"); |
||
57 | define("_AM_MENU_EVENTS","Administrador de Eventos"); |
||
58 | define("_AM_MENU_CATEGORIES","Administrador de Categorias"); |
||
59 | define("_AM_MENU_CAT2GROUP","Permiss�o da Categoria"); |
||
60 | define("_AM_ICALENDAR_IMPORT","Importar iCalendar"); |
||
61 | define("_AM_GROUPPERM","Permiss�es Globais"); |
||
62 | define("_AM_TABLEMAINTAIN","Manuten��o da Tabela (Atualiza��o)"); |
||
63 | define("_AM_MYBLOCKSADMIN","Administrador Block&Group do APCal"); |
||
64 | |||
65 | // forms |
||
66 | define("_AM_BUTTON_EXTRACT","Extrair"); |
||
67 | define("_AM_BUTTON_ADMIT","Admitir"); |
||
68 | define("_AM_BUTTON_MOVE","Mover"); |
||
69 | define("_AM_BUTTON_COPY","Copiar"); |
||
70 | define("_AM_CONFIRM_DELETE","Excluir evento(s) OK?"); |
||
71 | define("_AM_CONFIRM_MOVE","Remover um link para categoria anterior e adicionar um link para a categoria especificada OK?"); |
||
72 | define("_AM_CONFIRM_COPY","Adicionar um link para categoria especificada OK?"); |
||
73 | |||
74 | // format |
||
75 | define("_AM_DTFMT_LIST_ALLDAY",'a-m-d'); |
||
76 | define("_AM_DTFMT_LIST_NORMAL",'a-m-d<\b\r />H:i'); |
||
77 | |||
78 | // admission |
||
79 | define("_AM_LABEL_ADMIT","Os eventos assinalados s�o: esperando admiss�o"); |
||
80 | define("_AM_MES_ADMITTED","Evento(s) foi(foram) admitido(s)"); |
||
81 | define("_AM_ADMIT_TH0","Usu�rio"); |
||
82 | define("_AM_ADMIT_TH1","Hora e data de in�cio"); |
||
83 | define("_AM_ADMIT_TH2","Hora e data de final"); |
||
84 | define("_AM_ADMIT_TH3","T�tulo"); |
||
85 | define("_AM_ADMIT_TH4","Regra"); |
||
86 | |||
87 | // events manager & importing iCalendar |
||
88 | |||
89 | define("_AM_LABEL_IMPORTFROMWEB","Importar da web dados do iCalendar (Input URL que se inicia com 'http://' ou 'webcal://')"); |
||
90 | define("_AM_LABEL_UPLOADFROMFILE","Carregar dados para o iCalendar(Selecione um arquivo de seu computador local)"); |
||
91 | define("_AM_LABEL_IO_CHECKEDITEMS","Os eventos selecionados s�o:"); |
||
92 | define("_AM_LABEL_IO_OUTPUT","para ser(em) exportado(s) ao iCalendar"); |
||
93 | define("_AM_LABEL_IO_DELETE","para ser(em) exclu�do(s)"); |
||
94 | define("_AM_MES_EVENTLINKTOCAT","evento(s) foi(foram) conectado(s) a esta categoria"); |
||
95 | define("_AM_MES_EVENTUNLINKED","evento(s) has been removed a link to the old category"); |
||
96 | // o link do(s) evento(s) ha sido removido para categoria antiga |
||
97 | define("_AM_FMT_IMPORTED","evento(s) foi(foram) importado(s) de '%s'"); |
||
98 | define("_AM_MES_DELETED","evento(s) foi(foram) exclu�do(s)"); |
||
99 | define("_AM_IO_TH0","Usu�rio"); |
||
100 | define("_AM_IO_TH1","Hora e data de in�cio"); |
||
101 | define("_AM_IO_TH2","Hora e data de final"); |
||
102 | define("_AM_IO_TH3","T�tulo"); |
||
103 | define("_AM_IO_TH4","Regra"); |
||
104 | define("_AM_IO_TH5","Admiss�o"); |
||
105 | |||
106 | // Group's Permissions |
||
107 | define( '_AM_GPERM_G_INSERTABLE' , "Pode adicionar" ) ; |
||
108 | define( '_AM_GPERM_G_SUPERINSERT' , "Super adicionar" ) ; |
||
109 | define( '_AM_GPERM_G_EDITABLE' , "Pode editar" ) ; |
||
110 | define( '_AM_GPERM_G_SUPEREDIT' , "Super editar" ) ; |
||
111 | define( '_AM_GPERM_G_DELETABLE' , "Pode excluir" ) ; |
||
112 | define( '_AM_GPERM_G_SUPERDELETE' , "Super excluir" ) ; |
||
113 | define( '_AM_GPERM_G_TOUCHOTHERS' , "Pode tocar outros" ) ; |
||
114 | define( '_AM_CAT2GROUPDESC' , "Assinalar as categorias �s quais voc� autoriza o acesso" ) ; |
||
115 | define( '_AM_GROUPPERMDESC' , "Selecione permiss�es que cada grupo est� autorizado a fazer<br />Se voc� necessita desta caracter�stica, antes selecione 'Atribui�es dos usu�rios' para especificar em permiss�es do Grupo.<br />As op�es dos grupos Administrator e Guest ser�o ignoradas." ) ; |
||
116 | |||
117 | // Table Maintenance |
||
118 | define( '_AM_MB_SUCCESSUPDATETABLE' , "Atualiza��o de tabela feita com sucesso" ) ; |
||
119 | define( '_AM_MB_FAILUPDATETABLE' , "Atualiza��o de tabela falhou" ) ; |
||
120 | define( '_AM_NOTICE_NOERRORS' , "N�o h� erro em tabelas ou registros." ) ; |
||
121 | define( '_AM_ALRT_CATTABLENOTEXIST' , "A tabela de categorias n�o existe.<br />\nVoc� criou a tabela ?" ) ; |
||
122 | define( '_AM_ALRT_OLDTABLE' , "A estrutura da tabela de eventos � antiga.<br />\nVoc� atualizo a tabela ?" ) ; |
||
123 | define( '_AM_ALRT_TOOOLDTABLE' , "Ocorreu um erro na tabela.<br />\nTalvez voc� usou APCal 0.3x ou mais antigo.<br />\nAntes, atualize para 0.4x ou 0.5x." ) ; |
||
124 | define( '_AM_FMT_WRONGSTZ' , "H� %s eventos que est�o registrados com fuso hor�rio errado.<br />Voc� deseja repar�-los?" ) ; |
||
125 | |||
126 | // Categories |
||
127 | define( '_AM_CAT_TH_TITLE' , 'T�tulo' ) ; |
||
128 | define( '_AM_CAT_TH_DESC' , 'Descri��o' ) ; |
||
129 | define( '_AM_CAT_TH_PARENT' , 'Categoria Acima' ) ; |
||
130 | define( '_AM_CAT_TH_OPTIONS' , 'Op�es' ) ; |
||
131 | define( '_AM_CAT_TH_LASTMODIFY' , '�ltima Modifica��o' ) ; |
||
132 | define( '_AM_CAT_TH_OPERATION' , 'Opera��o' ) ; |
||
133 | define( '_AM_CAT_TH_ENABLED' , 'Habilitado' ) ; |
||
134 | define( '_AM_CAT_TH_WEIGHT' , 'Peso' ) ; |
||
135 | define( '_AM_CAT_TH_SUBMENU' , 'registrar em SubMenu' ) ; |
||
136 | define( '_AM_BTN_UPDATE' , 'ATUALIZA��O' ) ; |
||
137 | define( '_AM_MENU_CAT_EDIT' , 'Editando a Categoria' ) ; |
||
138 | define( '_AM_MENU_CAT_NEW' , 'Criar uma nova Categoria' ) ; |
||
139 | define( '_AM_MB_MAKESUBCAT' , 'SubCategoria' ) ; |
||
140 | define( '_AM_MB_MAKETOPCAT' , 'Criar uma categoria principal' ) ; |
||
141 | define( '_AM_MB_CAT_INSERTED' , 'Nova Categoria criada' ) ; |
||
142 | define( '_AM_MB_CAT_UPDATED' , 'Categoria atualizada' ) ; |
||
143 | define( '_AM_FMT_CAT_DELETED' , '%s Categorias exclu�das' ) ; |
||
144 | define( '_AM_FMT_CAT_BATCHUPDATED' , '%s Categorias atualizadas' ) ; |
||
145 | define( '_AM_FMT_CATDELCONFIRM' , 'Voc� deseja excluir a categoria %s ?' ) ; |
||
146 | |||
147 | |||
148 | |||
149 | } |
||
150 | |||
151 | ?> |
||
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.