[Redizajn 1KA] - Urejanje --> Arhiv --> Izvozi --> Vprašalnik in podatki - v1

This commit is contained in:
tejagerjovic 2022-01-27 18:44:43 +01:00
parent 0403c0d7a2
commit 8122bbf586
3 changed files with 12 additions and 30 deletions

View File

@ -4270,41 +4270,23 @@ class SurveyAdminSettings {
echo '<p>'.$lang['srv_survey_archives_note_survey'].'</p>';
echo '<div class="button_holder intext">';
echo '<button class="medium blue" onClick="window.location.href=\'ajax.php?a=archive_download&anketa='.$this->anketa.'\';" >'.$lang['srv_survey_archives_export_save'].'</button>';
echo '<button class="medium blue" onClick="window.location.href=\'ajax.php?a=archive_download&anketa='.$this->anketa.'\';" >'.$lang['srv_survey_archives_export'].'</button>';
echo '</div>';
echo '</fieldset>';
}
// Uvoz/izvoz ankete s podatki - po novem je uvoz pri kreiranju ankete
// Uvoz/izvoz ankete s podatki
else{
echo '<fieldset>';
echo '<legend>'.$lang['srv_survey_archives_ie_data_title'].'</legend>';
echo '<p class="italic">'.$lang['srv_survey_archives_note_survey_data'].'</p>';
// Izvoz
echo '<p>';
echo '<span class="bold">'.$lang['srv_survey_archives_export'].'</span>';
echo '<br />'.$lang['srv_survey_archives_export_text'];
echo '<span class="buttonwrapper floatLeft" style="margin-top:3px;" title="'.$lang['srv_survey_archives_export_save'].'"><a class="ovalbutton ovalbutton_orange" href="ajax.php?a=archive_download&anketa='.$this->anketa.'&data=true">'.$lang['srv_survey_archives_export_save'].'</a></span>';
echo '</p>';
echo '<br /><br />';
// Uvoz
/*echo '<p style="margin-bottom:20px;">';
echo '<span class="bold">'.$lang['srv_survey_archives_import'].'</span>';
echo '<br />'.$lang['srv_survey_archives_import_text'];
echo '<br /><span class="buttonwrapper floatLeft" style="margin-top:3px;" title="'.$lang['srv_survey_archives_import_import'].'"><a class="ovalbutton ovalbutton_orange" href="#" onclick="$(\'#restore_data\').toggle(); return false;">'.$lang['srv_survey_archives_import_import'].'</a></span>';
echo '<br />';
echo '<form style="display:none" id="restore_data" action="ajax.php?a=archive_restore" method="post" name="restoredatafrm" enctype="multipart/form-data" >
<span style="line-height:18px;">'.$lang['srv_arhiv_datoteka_save_txt2'].':
<input type="hidden" name="has_data" value="1" />
<input type="file" name="restore_data" onchange="document.restoredatafrm.submit();" /></span>
<br /><span class="italic">'.$lang['srv_arhiv_datoteka_restore_help'].'</span>
</form>';
echo '</p>';*/
echo '<p>'.$lang['srv_survey_archives_note_survey_data'].'</p>';
echo '<div class="button_holder intext">';
echo '<button class="medium blue" onClick="window.location.href=\'ajax.php?a=archive_download&anketa='.$this->anketa.'&data=true\';" >'.$lang['srv_survey_archives_export'].'</button>';
echo '</div>';
echo '</fieldset>';
}
}

View File

@ -4142,7 +4142,7 @@ $lang = array (
"srv_survey_archives_tracking_last_changes" => "Zadnjih 25 sprememb (za vpogled v vse spremembe prenesite <a href=\"ajax.php?a=user_tracking&d=download\">Excel datoteko</a>)",
"srv_survey_archives_note" => "Shrani arhivsko datoteko vprašalnika in podatkov na svoj računalnik.",
"srv_survey_archives_note_survey" => "S klikom na gumb 'Izvoz' prenesete in shranite arhivsko datoteko za vprašalnik. Datoteka s končnico .1ka se bo shranila na vaš računalnik v privzeto mapo za prenose.",
"srv_survey_archives_note_survey_data" => "Shranjevanje in prenos arhivske datoteke za vprašalnik in podatke.",
"srv_survey_archives_note_survey_data" => "S klikom na gumb 'Izvoz' prenesete in shranite arhivsko datoteko za vprašalnik in podatke. Datoteka s končnico .1ka se bo shranila na vaš računalnik v privzeto mapo za prenose.",
"srv_survey_archives_import" => "Uvoz",
"srv_survey_archives_import_text" => "Restavriranje vprašalnika iz arhivske datoteke",
"srv_survey_archives_import_import" => "Restavriraj",

View File

@ -4125,7 +4125,7 @@ $lang = array (
"srv_survey_archives_tracking_last_changes" => "Last 25 changes (to view all changes <a href=\"ajax.php?a=user_tracking&d=download\">download Excel</a>)",
"srv_survey_archives_note" => "Save survey and data archive file to your computer.",
"srv_survey_archives_note_survey" => "Click on the 'Export' button to download and save the archive file for the questionnaire. The file with the extension .1ka will be saved on your computer in the default downloads folder.",
"srv_survey_archives_note_survey_data" => "Save survey and data archive file to your computer.",
"srv_survey_archives_note_survey_data" => "Click on the 'Export' button to download and save the archive file for the questionnaire and the data. The file with the extension .1ka will be saved on your computer in the default downloads folder.",
"srv_survey_archives_import" => "Import",
"srv_survey_archives_import_text" => "Restore survey from archive file",
"srv_survey_archives_import_import" => "Restore",