@@ -689,14 +689,14 @@ discard block |
||
689 | 689 | $PMF_LANG['ad_entry_visibility'] = 'Zveřejnit?'; |
690 | 690 | |
691 | 691 | // added v2.0.0 - 2006-01-02 by Lars |
692 | -$PMF_LANG['ad_user_error_password'] = "Prosím zadejte heslo. "; |
|
693 | -$PMF_LANG['ad_user_error_passwordsDontMatch'] = "Hesla nesouhlasí. "; |
|
694 | -$PMF_LANG['ad_user_error_loginInvalid'] = "Uživatelské jméno není platné."; |
|
695 | -$PMF_LANG['ad_user_error_noEmail'] = "Zadejte platnou emailovou adresu. "; |
|
696 | -$PMF_LANG['ad_user_error_noRealName'] = "Zadejte Vaše reálné jméno. "; |
|
697 | -$PMF_LANG['ad_user_error_delete'] = "Uživatelský účet nelze smazat. "; |
|
698 | -$PMF_LANG['ad_user_error_noId'] = "ID nespecifikováno. "; |
|
699 | -$PMF_LANG['ad_user_error_protectedAccount'] = "Uživatelský účet je chráněn. "; |
|
692 | +$PMF_LANG['ad_user_error_password'] = "Prosím zadejte heslo. "; |
|
693 | +$PMF_LANG['ad_user_error_passwordsDontMatch'] = "Hesla nesouhlasí. "; |
|
694 | +$PMF_LANG['ad_user_error_loginInvalid'] = "Uživatelské jméno není platné."; |
|
695 | +$PMF_LANG['ad_user_error_noEmail'] = "Zadejte platnou emailovou adresu. "; |
|
696 | +$PMF_LANG['ad_user_error_noRealName'] = "Zadejte Vaše reálné jméno. "; |
|
697 | +$PMF_LANG['ad_user_error_delete'] = "Uživatelský účet nelze smazat. "; |
|
698 | +$PMF_LANG['ad_user_error_noId'] = "ID nespecifikováno. "; |
|
699 | +$PMF_LANG['ad_user_error_protectedAccount'] = "Uživatelský účet je chráněn. "; |
|
700 | 700 | $PMF_LANG['ad_user_deleteUser'] = "Smazat uživatele"; |
701 | 701 | $PMF_LANG['ad_user_status'] = "Status:"; |
702 | 702 | $PMF_LANG['ad_user_lastModified'] = "poslední změny:"; |
@@ -1034,7 +1034,7 @@ discard block |
||
1034 | 1034 | $PMF_LANG['msgSecureSwitch'] = "Přepnout do zabezpečeného módu přihlášení!"; |
1035 | 1035 | |
1036 | 1036 | // added 2.6.0-alpha - 2009-10-03 by Anatoliy Belsky |
1037 | -$PMF_LANG['msgTransToolNoteFileSaving'] = 'Prosím mějte na paměti, že veškeré změny nebudou zapsány dokud nekliknete na tlačítko uložit'; |
|
1037 | +$PMF_LANG['msgTransToolNoteFileSaving'] = 'Prosím mějte na paměti, že veškeré změny nebudou zapsány dokud nekliknete na tlačítko uložit'; |
|
1038 | 1038 | $PMF_LANG['msgTransToolPageBufferRecorded'] = 'Stránka %d nahrána úspěšně do bufferu'; |
1039 | 1039 | $PMF_LANG['msgTransToolErrorRecordingPageBuffer'] = 'Chyba při nahrávání stránky %d do bufferu'; |
1040 | 1040 | $PMF_LANG['msgTransToolRecordingPageBuffer'] = 'Nahrávám stránku %d do bufferu'; |
@@ -1046,9 +1046,9 @@ discard block |
||
1046 | 1046 | $PMF_LANG['msgAttachmentInvalid'] = 'Příloha je špatná, prosím informujte admina'; |
1047 | 1047 | |
1048 | 1048 | // added 2.6.0-alpha - 2009-11-02 by max |
1049 | -$LANG_CONF['search.numberSearchTerms'] = array(0 => 'input', 1 => 'Počet zobrazených výsledků vyhledávání'); |
|
1049 | +$LANG_CONF['search.numberSearchTerms'] = array(0 => 'input', 1 => 'Počet zobrazených výsledků vyhledávání'); |
|
1050 | 1050 | $LANG_CONF['records.orderingPopularFaqs'] = array(0 => "select", 1 => "Řazení TOP dotazů"); |
1051 | -$PMF_LANG['list_all_users'] = 'Ukázat všechny uživatele'; |
|
1051 | +$PMF_LANG['list_all_users'] = 'Ukázat všechny uživatele'; |
|
1052 | 1052 | |
1053 | 1053 | $PMF_LANG['records.orderingPopularFaqs.visits'] = "ukázat nejvíce navštěvované záznamy"; |
1054 | 1054 | $PMF_LANG['records.orderingPopularFaqs.voting'] = "ukázat záznamy s nejvíce hlasováními"; |
@@ -858,12 +858,12 @@ discard block |
||
858 | 858 | |
859 | 859 | //new language |
860 | 860 | |
861 | -$PMF_LANG["msglang"]="Elegir Idioma"; |
|
861 | +$PMF_LANG["msglang"] = "Elegir Idioma"; |
|
862 | 862 | $PMF_LANG['msgchatbot'] = "Chat"; |
863 | 863 | $PMF_LANG["msglang_op1"] = 'Portugués'; |
864 | 864 | $PMF_LANG["msglang_op2"] = 'Inglés'; |
865 | 865 | $PMF_LANG["msglang_op3"] = 'español'; |
866 | -$PMF_LANG['main_title'] ='Centro de Ayuda'; |
|
866 | +$PMF_LANG['main_title'] = 'Centro de Ayuda'; |
|
867 | 867 | $PMF_LANG['msgSearch_btn'] = 'Buscar'; |
868 | 868 | $PMF_LANG['main_tut_pdf'] = 'Tutoriales .PDF'; |
869 | 869 | $PMF_LANG['main_tut_video'] = 'Tutoriales en vídeo'; |
@@ -874,31 +874,31 @@ discard block |
||
874 | 874 | $PMF_LANG['tut_no_pdf'] = 'No hay tutoriales .pdf disponibles'; |
875 | 875 | $PMF_LANG['msgcontactar'] = 'Contacto'; |
876 | 876 | $PMF_LANG['title2'] = 'Encontrar respuestas y ayuda rápida'; |
877 | -$PMF_LANG['transfer'] ='Transferencia'; |
|
877 | +$PMF_LANG['transfer'] = 'Transferencia'; |
|
878 | 878 | $PMF_LANG["no_cats_pdf"] = "No hay categorías con tutoriales .pdf"; |
879 | 879 | $PMF_LANG["no_cats_video"] = "No hay categorías con tutoriales video"; |
880 | -$PMF_LANG['contactar_header'] ='1.:Para un análisis rápido de la situación de que deseas reportar a escoger una de las siguientes categorías:'; |
|
880 | +$PMF_LANG['contactar_header'] = '1.:Para un análisis rápido de la situación de que deseas reportar a escoger una de las siguientes categorías:'; |
|
881 | 881 | $PMF_LANG['sol_util'] = 'Esta solución era útil a ti?'; |
882 | 882 | $PMF_LANG["per_rel"] = 'Preguntas relacionadas:'; |
883 | 883 | $PMF_LANG['sol_util2'] = 'Estas soluciones han sido útiles por sí mismo?'; |
884 | 884 | $PMF_LANG['btn_s'] = 'Sí'; |
885 | 885 | $PMF_LANG['btn_n'] = 'No'; |
886 | -$PMF_LANG['aval1'] ='Gracias por utilizar nuestro centro de ayuda.'; |
|
886 | +$PMF_LANG['aval1'] = 'Gracias por utilizar nuestro centro de ayuda.'; |
|
887 | 887 | $PMF_LANG['aval2'] = 'Danos tu opinión. Ayúdanos a mejorar.'; |
888 | 888 | $PMF_LANG['aval3'] = 'Evaluar la solución obtenida.'; |
889 | -$PMF_LANG["r_c_fechar"] ='Cerca'; |
|
889 | +$PMF_LANG["r_c_fechar"] = 'Cerca'; |
|
890 | 890 | $PMF_LANG['opn'] = 'gracias por tu opinión'; |
891 | 891 | $PMF_LANG['cont'] = 'Póngase en contacto con nosotros. Rellene el siguiente formulario'; |
892 | 892 | $PMF_LANG['msgContacto'] = 'Para un análisis rápido de la situación quiere reportar, rellene y envíenos el siguiente formulario'; |
893 | 893 | $PMF_LANG['msgcategorias'] = 'Categoría Seleccionada:'; |
894 | 894 | $PMF_LANG['msgcont_assunto'] = 'sujeto:'; |
895 | -$PMF_LANG['cont2'] ='Formulario presentado correctamente.\nGracias por utilizar nuestro centro de ayuda.'; |
|
895 | +$PMF_LANG['cont2'] = 'Formulario presentado correctamente.\nGracias por utilizar nuestro centro de ayuda.'; |
|
896 | 896 | $PMF_LANG['ad_menu_admin_pdf'] = 'Administración Tutoriales .pdf'; |
897 | 897 | $PMF_LANG['ad_menu_admin_video'] = 'Administración Tutoriales video'; |
898 | 898 | $PMF_LANG['ad_menu_admin_resp_cond'] = 'Administración do Sistema de Respuesta Conducido'; |
899 | 899 | $PMF_LANG['ad_menu_stat_resp_cond'] = 'Estadística do Sistema de Respostas Conducidas'; |
900 | 900 | $PMF_LANG['no_cat'] = 'No se han encontrado categorías'; |
901 | -$PMF_LANG['add_cat'] ='añadir una categoría'; |
|
901 | +$PMF_LANG['add_cat'] = 'añadir una categoría'; |
|
902 | 902 | $PMF_LANG['tut'] = 'Tutorial'; |
903 | 903 | $PMF_LANG['tuts'] = 'Tutoriales'; |
904 | 904 | $PMF_LANG['s_tut'] = 'No hay Tutoriales'; |
@@ -906,30 +906,30 @@ discard block |
||
906 | 906 | $PMF_LANG['tuts2'] = 'Temas'; |
907 | 907 | $PMF_LANG['s_tut2'] = 'No hay Temas'; |
908 | 908 | $PMF_LANG['no_tut_c'] = 'La categoría'; |
909 | -$PMF_LANG['no_tut_c2'] ='no contiene tutoriales asociados.'; |
|
910 | -$PMF_LANG['no_tut_c3'] ='no contiene temas asociados.'; |
|
911 | -$PMF_LANG['menu_ant'] ='Volver al menú anterior'; |
|
912 | -$PMF_LANG['add_tut'] ='Añadir tutorial .PDF'; |
|
909 | +$PMF_LANG['no_tut_c2'] = 'no contiene tutoriales asociados.'; |
|
910 | +$PMF_LANG['no_tut_c3'] = 'no contiene temas asociados.'; |
|
911 | +$PMF_LANG['menu_ant'] = 'Volver al menú anterior'; |
|
912 | +$PMF_LANG['add_tut'] = 'Añadir tutorial .PDF'; |
|
913 | 913 | $PMF_LANG['add_tut_v'] = 'Añadir tutorial video'; |
914 | 914 | $PMF_LANG['add_tema'] = 'Añadir tema'; |
915 | -$PMF_LANG['ins_pdf'] ='Entrando Tutoriales .pdf'; |
|
916 | -$PMF_LANG['tit_tut'] ='Título Tutorial'; |
|
917 | -$PMF_LANG['cat']='Categoría'; |
|
918 | -$PMF_LANG['lg']='Idioma'; |
|
919 | -$PMF_LANG['desc']='Descripción'; |
|
920 | -$PMF_LANG['sel_tut']='Seleccione tutorial'; |
|
915 | +$PMF_LANG['ins_pdf'] = 'Entrando Tutoriales .pdf'; |
|
916 | +$PMF_LANG['tit_tut'] = 'Título Tutorial'; |
|
917 | +$PMF_LANG['cat'] = 'Categoría'; |
|
918 | +$PMF_LANG['lg'] = 'Idioma'; |
|
919 | +$PMF_LANG['desc'] = 'Descripción'; |
|
920 | +$PMF_LANG['sel_tut'] = 'Seleccione tutorial'; |
|
921 | 921 | $PMF_LANG['search_tut'] = 'búsqueda'; |
922 | -$PMF_LANG['ins_tut_suc'] ='Tutorial insertado con éxito.'; |
|
922 | +$PMF_LANG['ins_tut_suc'] = 'Tutorial insertado con éxito.'; |
|
923 | 923 | $PMF_LANG['edit_pdf'] = 'Edición tutoriales .pdf'; |
924 | 924 | $PMF_LANG['cat_tut'] = 'Seleccione la categoría'; |
925 | -$PMF_LANG['msg_edit_tut'] ='Nota: Si desea cambiar el idioma de tutorial, no se olvide de cambiar a la categoría respectiva de la lengua elegida.'; |
|
925 | +$PMF_LANG['msg_edit_tut'] = 'Nota: Si desea cambiar el idioma de tutorial, no se olvide de cambiar a la categoría respectiva de la lengua elegida.'; |
|
926 | 926 | $PMF_LANG['ins_tut_fail'] = 'Error al insertar tutorial'; |
927 | -$PMF_LANG['edit_tut_fail'] ='Fracaso en la edición tutorial.'; |
|
928 | -$PMF_LANG['edit_tut_suc'] ='Información Tutorial actualizado correctamente.'; |
|
927 | +$PMF_LANG['edit_tut_fail'] = 'Fracaso en la edición tutorial.'; |
|
928 | +$PMF_LANG['edit_tut_suc'] = 'Información Tutorial actualizado correctamente.'; |
|
929 | 929 | $PMF_LANG['ad_cat_suc'] = 'Categoría insertado con éxito'; |
930 | 930 | $PMF_LANG['confirm_del_pdf'] = 'Está seguro que desea eliminar el tutorial?'; |
931 | -$PMF_LANG['del_tut_fail'] ='No se pudo eliminar tutorial.'; |
|
932 | -$PMF_LANG['del_tut_suc'] ='Tutorial eliminado correctamente.'; |
|
931 | +$PMF_LANG['del_tut_fail'] = 'No se pudo eliminar tutorial.'; |
|
932 | +$PMF_LANG['del_tut_suc'] = 'Tutorial eliminado correctamente.'; |
|
933 | 933 | $PMF_LANG['lk_video'] = 'Link de vídeo'; |
934 | 934 | $PMF_LANG['ins_video'] = 'Entrando Tutoriales Video'; |
935 | 935 | $PMF_LANG['edit_video'] = 'Edición tutoriales video'; |
@@ -939,11 +939,11 @@ discard block |
||
939 | 939 | $PMF_LANG['sem_perguntas'] = 'No hay preguntas'; |
940 | 940 | $PMF_LANG['edit_tem'] = 'Edición de temas do sistema de respuesta conducida'; |
941 | 941 | $PMF_LANG['tit_tem'] = 'Título del tema:'; |
942 | -$PMF_LANG['del_per_fail'] ='Error al eliminar la pregunta.'; |
|
943 | -$PMF_LANG['del_tem_fail'] ='Error al eliminar lo tema.'; |
|
944 | -$PMF_LANG['del_tem_suc'] ='Tema eliminado correctamente.'; |
|
945 | -$PMF_LANG['del_tem_per_suc'] ='Tema y preguntas eliminados con éxito.'; |
|
946 | -$PMF_LANG['confirm_del_t_p'] ='ADVERTENCIA: Cuando se elimina el tema también eliminará las preguntas relacionadas con ella!\n\nSeguro que quieres eliminar el tema?'; |
|
942 | +$PMF_LANG['del_per_fail'] = 'Error al eliminar la pregunta.'; |
|
943 | +$PMF_LANG['del_tem_fail'] = 'Error al eliminar lo tema.'; |
|
944 | +$PMF_LANG['del_tem_suc'] = 'Tema eliminado correctamente.'; |
|
945 | +$PMF_LANG['del_tem_per_suc'] = 'Tema y preguntas eliminados con éxito.'; |
|
946 | +$PMF_LANG['confirm_del_t_p'] = 'ADVERTENCIA: Cuando se elimina el tema también eliminará las preguntas relacionadas con ella!\n\nSeguro que quieres eliminar el tema?'; |
|
947 | 947 | $PMF_LANG['confirm_del_t'] = 'Está seguro que desea eliminar el tema?'; |
948 | 948 | $PMF_LANG['edit_tem_fail'] = 'Error al actualizar la información del tema.'; |
949 | 949 | $PMF_LANG['edit_tem_suc'] = 'Información Tema actualizado correctamente.'; |
@@ -959,30 +959,30 @@ discard block |
||
959 | 959 | $PMF_LANG['del_per_suc'] = 'Pregunta eliminado correctamente.'; |
960 | 960 | $PMF_LANG['confirm_del_p'] = 'Está seguro que desea eliminar la pregunta'; |
961 | 961 | $PMF_LANG['edit_p_r_c'] = 'edición de preguntas do sistema de respuesta conducida'; |
962 | -$PMF_LANG['sel_tem'] ='Seleccione el tema'; |
|
962 | +$PMF_LANG['sel_tem'] = 'Seleccione el tema'; |
|
963 | 963 | $PMF_LANG['edit_per_fail'] = 'No se pudo editar la pregunta.'; |
964 | 964 | $PMF_LANG['edit_per_suc'] = 'Información de la pregunta actualizada correctamente.'; |
965 | 965 | $PMF_LANG["no_per_rel"] = 'Esta pregunta no contiene preguntas relacionadas'; |
966 | -$PMF_LANG['msgcontactar2'] ='Contáctenos'; |
|
966 | +$PMF_LANG['msgcontactar2'] = 'Contáctenos'; |
|
967 | 967 | $PMF_LANG['kw'] = 'palabras clave'; |
968 | 968 | $PMF_LANG['lab_kws'] = 'Nota: Escriba cada palabra clave separadas por comas y sin espacios.'; |
969 | 969 | $PMF_LANG['ins_per_double_fail'] = 'ERROR: No se puede insertar preguntas duplicadas.'; |
970 | -$PMF_LANG['msg_art_recente']='Últimos artículos'; |
|
971 | -$PMF_LANG['msg_art_populares']='Artículos más populares'; |
|
972 | -$PMF_LANG['msg_quest_freq']='Preguntas más frecuentes'; |
|
973 | -$PMF_LANG['msg_outros']='Otro'; |
|
974 | -$PMF_LANG['msg_artigo1']= 'Artículo 1'; |
|
975 | -$PMF_LANG['msg_artigo2']='Artículo 2'; |
|
976 | -$PMF_LANG['msg_artigo3']='Artículo 3'; |
|
977 | -$PMF_LANG['msg_questao1']='Pregunta 1'; |
|
978 | -$PMF_LANG['msg_questao2']='Pregunta 2'; |
|
979 | -$PMF_LANG['msg_questao3']='Pregunta 3'; |
|
970 | +$PMF_LANG['msg_art_recente'] = 'Últimos artículos'; |
|
971 | +$PMF_LANG['msg_art_populares'] = 'Artículos más populares'; |
|
972 | +$PMF_LANG['msg_quest_freq'] = 'Preguntas más frecuentes'; |
|
973 | +$PMF_LANG['msg_outros'] = 'Otro'; |
|
974 | +$PMF_LANG['msg_artigo1'] = 'Artículo 1'; |
|
975 | +$PMF_LANG['msg_artigo2'] = 'Artículo 2'; |
|
976 | +$PMF_LANG['msg_artigo3'] = 'Artículo 3'; |
|
977 | +$PMF_LANG['msg_questao1'] = 'Pregunta 1'; |
|
978 | +$PMF_LANG['msg_questao2'] = 'Pregunta 2'; |
|
979 | +$PMF_LANG['msg_questao3'] = 'Pregunta 3'; |
|
980 | 980 | $PMF_LANG['ad_menu_config_logo'] = 'Configurar logo'; |
981 | 981 | $PMF_LANG['ad_menu_config_bg'] = 'Configurar background y la sombra de los menús principales'; |
982 | 982 | $PMF_LANG['logo_atual'] = 'Logo actual'; |
983 | 983 | $PMF_LANG['edit_bx_fail'] = 'Fallo edición de la sombra de los menús principales.'; |
984 | 984 | $PMF_LANG['edit_bx_suc'] = 'Éxito de editar la sombra de los menús principales.'; |
985 | -$PMF_LANG['bg_atual'] ='Background actual'; |
|
985 | +$PMF_LANG['bg_atual'] = 'Background actual'; |
|
986 | 986 | $PMF_LANG['msg_bg'] = 'NOTE: El fondo se define como imagen'; |
987 | 987 | $PMF_LANG['sel_logo'] = 'Seleccionar logo'; |
988 | 988 | $PMF_LANG['edit_logo_fail'] = 'Logo edición Error.'; |
@@ -19,16 +19,16 @@ |
||
19 | 19 | |
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | $protocol = 'http'; |
22 | - if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON'){ |
|
22 | + if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
|
23 | 23 | $protocol = 'https'; |
24 | 24 | } |
25 | - header('Location: ' . $protocol . '://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME'])); |
|
25 | + header('Location: '.$protocol.'://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME'])); |
|
26 | 26 | exit(); |
27 | 27 | } |
28 | 28 | |
29 | 29 | // Check user permissions |
30 | 30 | if ((-1 === $user->getUserId() && !$faqConfig->get('records.allowQuestionsForGuests'))) { |
31 | - header('Location:' . $faqSystem->getSystemUri($faqConfig) . '?action=login'); |
|
31 | + header('Location:'.$faqSystem->getSystemUri($faqConfig).'?action=login'); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | $captcha = new PMF_Captcha($faqConfig); |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | // |
27 | 27 | // Bootstrapping |
28 | 28 | // |
29 | -require PMF_ROOT_DIR . '/inc/Bootstrap.php'; |
|
29 | +require PMF_ROOT_DIR.'/inc/Bootstrap.php'; |
|
30 | 30 | |
31 | 31 | // |
32 | 32 | // get language (default: english) |
@@ -68,14 +68,14 @@ discard block |
||
68 | 68 | $rss->startElement('rss'); |
69 | 69 | $rss->writeAttribute('version', '2.0'); |
70 | 70 | $rss->startElement('channel'); |
71 | -$rss->writeElement('title', $faqConfig->get('main.titleFAQ') . ' - ' . $PMF_LANG['msgNews']); |
|
71 | +$rss->writeElement('title', $faqConfig->get('main.titleFAQ').' - '.$PMF_LANG['msgNews']); |
|
72 | 72 | $rss->writeElement('description', html_entity_decode($faqConfig->get('main.metaDescription'))); |
73 | 73 | $rss->writeElement('link', $faqConfig->get('main.referenceURL')); |
74 | 74 | |
75 | 75 | if ($num > 0) { |
76 | 76 | foreach ($rssData as $item) { |
77 | 77 | // Get the url |
78 | - $link = '/index.php?action=news&newsid=' . $item['id'] . '&newslang=' . $item['lang']; |
|
78 | + $link = '/index.php?action=news&newsid='.$item['id'].'&newslang='.$item['lang']; |
|
79 | 79 | if (PMF_RSS_USE_SEO) { |
80 | 80 | if (isset($item['header'])) { |
81 | 81 | $oLink = new PMF_Link($link, $faqConfig); |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | // |
25 | 25 | // Bootstrapping |
26 | 26 | // |
27 | -require PMF_ROOT_DIR . '/inc/Bootstrap.php'; |
|
27 | +require PMF_ROOT_DIR.'/inc/Bootstrap.php'; |
|
28 | 28 | |
29 | 29 | // |
30 | 30 | // get language (default: english) |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | |
39 | 39 | if (isset($LANGCODE) && PMF_Language::isASupportedLanguage($LANGCODE)) { |
40 | 40 | // Overwrite English strings with the ones we have in the current language |
41 | - require_once PMF_ROOT_DIR . '/lang/language_' . $LANGCODE . '.php'; |
|
41 | + require_once PMF_ROOT_DIR.'/lang/language_'.$LANGCODE.'.php'; |
|
42 | 42 | } else { |
43 | 43 | $LANGCODE = 'en'; |
44 | 44 | } |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | $rss->startElement('rss'); |
108 | 108 | $rss->writeAttribute('version', '2.0'); |
109 | 109 | $rss->startElement('channel'); |
110 | -$rss->writeElement('title', $faqConfig->get('main.titleFAQ') . ' - ' . $PMF_LANG['msgLatestArticles']); |
|
110 | +$rss->writeElement('title', $faqConfig->get('main.titleFAQ').' - '.$PMF_LANG['msgLatestArticles']); |
|
111 | 111 | $rss->writeElement('description', html_entity_decode($faqConfig->get('main.metaDescription'))); |
112 | 112 | $rss->writeElement('link', $faqConfig->get('main.referenceURL')); |
113 | 113 | |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | $rss->writeCdata($content); |
135 | 135 | $rss->endElement(); |
136 | 136 | |
137 | - $rss->writeElement('link', $faqConfig->get('main.referenceURL') . $link); |
|
137 | + $rss->writeElement('link', $faqConfig->get('main.referenceURL').$link); |
|
138 | 138 | $rss->writeElement('pubDate', PMF_Date::createRFC822Date($item['datum'], true)); |
139 | 139 | $rss->endElement(); |
140 | 140 | } |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | // |
27 | 27 | // Bootstrapping |
28 | 28 | // |
29 | -require PMF_ROOT_DIR . '/inc/Bootstrap.php'; |
|
29 | +require PMF_ROOT_DIR.'/inc/Bootstrap.php'; |
|
30 | 30 | |
31 | 31 | // |
32 | 32 | // get language (default: english) |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | $rss->startElement('rss'); |
110 | 110 | $rss->writeAttribute('version', '2.0'); |
111 | 111 | $rss->startElement('channel'); |
112 | -$rss->writeElement('title', $faqConfig->get('main.titleFAQ') . ' - ' . $PMF_LANG['msgTopTen']); |
|
112 | +$rss->writeElement('title', $faqConfig->get('main.titleFAQ').' - '.$PMF_LANG['msgTopTen']); |
|
113 | 113 | $rss->writeElement('description', html_entity_decode($faqConfig->get('main.metaDescription'))); |
114 | 114 | $rss->writeElement('link', $faqConfig->get('main.referenceURL')); |
115 | 115 | |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | } |
129 | 129 | |
130 | 130 | $rss->startElement('item'); |
131 | - $rss->writeElement('title', PMF_Utils::makeShorterText(html_entity_decode($item['thema'], ENT_COMPAT, 'UTF-8'), 8) . |
|
131 | + $rss->writeElement('title', PMF_Utils::makeShorterText(html_entity_decode($item['thema'], ENT_COMPAT, 'UTF-8'), 8). |
|
132 | 132 | " (".$item['visits']." ".$PMF_LANG['msgViews'].")"); |
133 | 133 | |
134 | 134 | $rss->startElement('description'); |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | // |
27 | 27 | // Bootstrapping |
28 | 28 | // |
29 | -require PMF_ROOT_DIR . '/inc/Bootstrap.php'; |
|
29 | +require PMF_ROOT_DIR.'/inc/Bootstrap.php'; |
|
30 | 30 | |
31 | 31 | // |
32 | 32 | // get language (default: english) |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | $rss->startElement('rss'); |
66 | 66 | $rss->writeAttribute('version', '2.0'); |
67 | 67 | $rss->startElement('channel'); |
68 | -$rss->writeElement('title', $faqConfig->get('main.titleFAQ') . ' - ' . $PMF_LANG['msgOpenQuestions']); |
|
68 | +$rss->writeElement('title', $faqConfig->get('main.titleFAQ').' - '.$PMF_LANG['msgOpenQuestions']); |
|
69 | 69 | $rss->writeElement('description', html_entity_decode($faqConfig->get('main.metaDescription'))); |
70 | 70 | $rss->writeElement('link', $faqConfig->get('main.referenceURL')); |
71 | 71 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | $counter++; |
77 | 77 | |
78 | 78 | $rss->startElement('item'); |
79 | - $rss->writeElement('title', PMF_Utils::makeShorterText(html_entity_decode($item['question'], ENT_COMPAT, 'UTF-8'), 8) . |
|
79 | + $rss->writeElement('title', PMF_Utils::makeShorterText(html_entity_decode($item['question'], ENT_COMPAT, 'UTF-8'), 8). |
|
80 | 80 | " (".$item['username'].")"); |
81 | 81 | |
82 | 82 | $rss->startElement('description'); |
@@ -19,10 +19,10 @@ discard block |
||
19 | 19 | |
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | $protocol = 'http'; |
22 | - if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON'){ |
|
22 | + if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
|
23 | 23 | $protocol = 'https'; |
24 | 24 | } |
25 | - header('Location: ' . $protocol . '://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME'])); |
|
25 | + header('Location: '.$protocol.'://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME'])); |
|
26 | 26 | exit(); |
27 | 27 | } |
28 | 28 | |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | $attachment->rawOut(); |
70 | 70 | exit(0); |
71 | 71 | } catch (Exception $e) { |
72 | - $attachmentErrors[] = $PMF_LANG['msgAttachmentInvalid'] . ' (' . $e->getMessage() . ')'; |
|
72 | + $attachmentErrors[] = $PMF_LANG['msgAttachmentInvalid'].' ('.$e->getMessage().')'; |
|
73 | 73 | } |
74 | 74 | } else { |
75 | 75 | $attachmentErrors[] = $PMF_LANG['err_NotAuth']; |
@@ -21,10 +21,10 @@ discard block |
||
21 | 21 | |
22 | 22 | if (!defined('IS_VALID_PHPMYFAQ')) { |
23 | 23 | $protocol = 'http'; |
24 | - if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON'){ |
|
24 | + if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
|
25 | 25 | $protocol = 'https'; |
26 | 26 | } |
27 | - header('Location: ' . $protocol . '://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME'])); |
|
27 | + header('Location: '.$protocol.'://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME'])); |
|
28 | 28 | exit(); |
29 | 29 | } |
30 | 30 | |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | $tpl->merge('writeContent', 'index'); |
68 | 68 | } else { |
69 | 69 | // Redirect to login |
70 | - RedirectResponse::create($faqConfig->get('main.referenceURL') . '/') |
|
70 | + RedirectResponse::create($faqConfig->get('main.referenceURL').'/') |
|
71 | 71 | ->send(); |
72 | 72 | exit; |
73 | 73 | } |
74 | 74 | \ No newline at end of file |