diff --git a/admin/survey/SurveyAdmin.php b/admin/survey/SurveyAdmin.php index 5bf35d840..908aa9c39 100644 --- a/admin/survey/SurveyAdmin.php +++ b/admin/survey/SurveyAdmin.php @@ -3019,7 +3019,9 @@ class SurveyAdmin $_GET['m'] = M_EXPORT_SPSS; } - echo '
Podatke v Excel (xls) izvozite s klikom na ukaz \"Izvoz v Excel\".
V Excel verzije 2003 ali starejše je možen izvoz največ 256-ih stolpcev (spremenljivk). Morebitni nadaljnji stolpci se ne bodo izvozili. Ta omejitev je odpravljena v verziji 2007.
", "srv_izvoz_Excel_xls_note_2" => "Opozorilo! Pri izvozu v Excel (Microsoft Excel verzija 2007 in novejše) se odprti odgovori ne izpišejo v celoti. Rešitev takšne težave in vseh težav z Excelom si lahko pogledate v pomoči Težave pri izvozu v Excel.
", "srv_izvoz_Excel_note" => "Podatke v CSV (comma separated values) izvozite s klikom na ukaz \"Izvoz v CSV\".
V Excel verzije 2003 ali starejše je možen izvoz največ 256-ih stolpcev (spremenljivk). Morebitni nadaljnji stolpci se ne bodo izvozili. Ta omejitev je odpravljena v verziji 2007.
", "srv_izvoz_Excel_note_2" => "Opozorilo! Pri izvozu v Excel (Microsoft Excel verzija 2007 in novejše) se odprti odgovori ne izpišejo v celoti. Rešitev takšne težave in vseh težav z Excelom si lahko pogledate v pomoči Težave pri izvozu v Excel.
", "srv_izvoz_Excel_settings" => "Nastavitve", - "srv_izvoz_SPSS_note" => "Podatke vaše ankete izvozite v SPSS/PASW v petih kratkih korakih:
Podatke lahko izvozite tudi v tekstovno ASCII datoteko
", - "srv_izvoz_SPSS_complex_note" => "Pri izvozu zelo kompleksne ankete z zankami vam v primeru kakršnih koli težav priporočamo najprej izvoz v Excel, in nato uvoz v SPSS.
", - "srv_izvoz_SPSS_faq" => "V primeru kakršnihkoli zapletov (npr. pri kompleksnih anketah z zankami, stare verzije SPSS) priporočamo izvoz v Excel, in nato uvoz v SPSS. Posebej priporočamo pri kombiniranih tabelah. Več o izvozih v SPSS si lahko preberete v FAQ. V primeru težav kontaktirajte Pomoč uporabnikom.
", - "srv_izvoz_SAV_note" => "Podatke v SPSS (SAV) izvozite s klikom na ukaz \"Izvoz v SPSS (SAV)\".
Pozor: Izvoz ne omogoča izvoza label vrednosti odgovorov.
Funkcionalnost je še v razvoju, zato so možne težave pri izvozu.
Priporočamo uporabo (starega) izvoza v SPSS, ki generira dve ločeni datoteki - datoteko s sintakso (.SPS) in datoteko s podatki (.TXT).
Pozor: Izvoz ne omogoča izvoza label vrednosti odgovorov.
Funkcionalnost je še v razvoju, zato so možne težave pri izvozu.
Priporočamo uporabo (starega) izvoza v SPSS, ki generira dve ločeni datoteki - datoteko s sintakso (.SPS) in datoteko s podatki (.TXT).",
"s_sortby_A" => "Sortiraj po ",
"s_sortby_B" => "času",
"s_sortby_C" => " / ",
diff --git a/lang/2.php b/lang/2.php
index 4de179873..60469934d 100644
--- a/lang/2.php
+++ b/lang/2.php
@@ -1562,16 +1562,31 @@ $lang = array (
"srv_lnk_txt" => "Text file",
"srv_lnk_data_view" => "Preview",
"srv_lnk_data_edit" => "Editing",
+ "srv_izvoz_step1" => "Step 1:",
+ "srv_izvoz_step2" => "Step 2:",
+ "srv_izvoz_step3" => "Step 3:",
+ "srv_izvoz_step4" => "Step 4:",
+ "srv_izvoz_step5" => "Step 5:",
"srv_izvoz_Excel_xls_note" => "
Export data to Excel (xls) by clicking on the \"Export to Excel\" option.
Excel versions 2003 and older support export of maximum of 256 columns. Any subsequent columns will not be exported. This limitation is resolved in version 2007.
", "srv_izvoz_Excel_xls_note_2" => "Warning! While exporting into Excel (Microsoft Excel 2007 or newer), open answers are not exported in their entirety. This can be resolved by following the instructions outlined in this manual.
", "srv_izvoz_Excel_note" => "Export data to CSV (comma separated values) by clicking on the \"Export to CSV\" option.
Excel versions 2003 and older support export of maximum of 256 columns. Any subsequent columns will not be exported. This limitation is resolved in version 2007.
", "srv_izvoz_Excel_note_2" => "Warning! While exporting into Excel (Microsoft Excel 2007 or newer), open answers are not exported in their entirety. This can be resolved by following the instructions outlined in this manual.
", "srv_izvoz_Excel_settings" => "Settings", - "srv_izvoz_SPSS_note" => "Data can be exported to SPSS/PASW by following five short steps:
Data can be exported in text ASCII file
", - "srv_izvoz_SPSS_complex_note" => "If you encounter any problems while exporting complex surveys with loops, we suggest you first export data to Excel and then import it into SPSS.
", - "srv_izvoz_SPSS_faq" => "In case of complications (e.g. complex surveys with loops, old SPSS versions) we suggest export to Excel and then import into SPSS. Specifically recommended for multiple tables. You can find more information about SPSS exports in MANUAL. In case of any problems please contact Help center.
", - "srv_izvoz_SAV_note" => "Export data in SPSS (SAV) by clicking the command \"Export to SPSS (SAV)\".
If you encounter any problems, use the (old) export in SPSS, which generates two separate files - file syntax (.SPS) and data file (.txt).
", + "srv_izvoz_SPSS_note" => "Data can be exported to SPSS/PASW by following five short steps:", + "srv_izvoz_step1_SPSS" => "Click on the button below and save the file (.txt format) into the selected folder:", + "srv_izvoz_step1_SPSS_file" => "TXT data file", + "srv_izvoz_step2a_SPSS" => "Next, save the syntax file (.sps format) into the same folder:", + "srv_izvoz_step2b_SPSS" => "Open the syntax file in the SPSS/PASW syntax editor.", + "srv_izvoz_step2_SPSS_file" => "SPS syntax file", + "srv_izvoz_step3a_SPSS" => "In the opened syntax file, find the line beginning with DATA LIST (»example: DATA LIST FILE=\"C:\anketa_podatki.txt\"«).", + "srv_izvoz_step3b_SPSS" => "To link syntax and data, replace »C:« with location of the data file (example: if we exported data into the 'Downloads' folder within 'My Documents', the line will be: DATA LIST FILE=\"C:\My Documents\Downloads\anketa_podatki.txt\").", + "srv_izvoz_step3c_SPSS" => "The exact location of the data file can be find by clicking the right mouse button on the data file; in the menu that appears select 'Properties' - 'Location' and replace »C:« with this location.", + "srv_izvoz_step4_SPSS" => "Run the syntax file by selecting Run menu in the syntax editor and then Run All. This will create an SPSS/PASW data file that can be saved in native SPSS format (.sav).", + "srv_izvoz_step5_SPSS" => "After export we can define missing values. In SPSS/PASW we open the Variable View, find the column Missing and select 'Range plus one optional discrete missing value; Low: -99; High: -1.' Default missing values in 1KA are:If you encounter any problems, use the (old) export in SPSS, which generates two separate files - file syntax (.SPS) and data file (.txt).", "s_sortby_A" => "Sort by ", "s_sortby_B" => "date", "s_sortby_C" => " / ", diff --git a/public/css/admin_new.css b/public/css/admin_new.css index ea530c54e..27bd40597 100644 --- a/public/css/admin_new.css +++ b/public/css/admin_new.css @@ -10949,6 +10949,20 @@ div.izvoz_nad_tabelo { justify-content: flex-end; } +div.export_indent { + margin: 4px 0 16px 16px; +} +div.button_holder { + margin: 16px 0 0 0; +} + +li.no_bullet { + list-style-type: none; +} +li.top16 { + margin-top: 16px; +} + /* Branching ikone, radio, checkboxi... */ diff --git a/resources/sass/admin_new/pages/my_surveys/import_export.scss b/resources/sass/admin_new/pages/my_surveys/import_export.scss new file mode 100644 index 000000000..a26991bda --- /dev/null +++ b/resources/sass/admin_new/pages/my_surveys/import_export.scss @@ -0,0 +1,20 @@ +div { + + &.export_indent{ + margin: 4px 0 16px 16px; + } + + &.button_holder { + margin: 16px 0 0 0; + } +} + +li{ + &.no_bullet { + list-style-type: none; + } + + &.top16 { + margin-top: 16px; + } +} \ No newline at end of file diff --git a/resources/sass/admin_new/pages/my_surveys/my_surveys.scss b/resources/sass/admin_new/pages/my_surveys/my_surveys.scss index a2392ebc9..a3608e376 100644 --- a/resources/sass/admin_new/pages/my_surveys/my_surveys.scss +++ b/resources/sass/admin_new/pages/my_surveys/my_surveys.scss @@ -1,4 +1,6 @@ @import "top_buttons"; @import "top_filters"; @import "survey_list"; + @import "archives"; +@import "import_export";