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

This commit is contained in:
tejagerjovic 2022-01-27 18:36:30 +01:00
parent 9bcb371ad8
commit 0403c0d7a2
4 changed files with 1399 additions and 1418 deletions

View File

@ -4262,36 +4262,17 @@ class SurveyAdminSettings {
function arhivi_survey() {
global $lang;
// Uvoz/izvoz samo ankete - po novem je uvoz pri kreiranju ankete
// Uvoz/izvoz samo ankete
if($_GET['m'] == 'survey'){
echo '<fieldset>';
echo '<legend>'.$lang['srv_survey_archives_ie_title'].'</legend>';
echo '<p class="italic">'.$lang['srv_survey_archives_note_survey'].'</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.'">'.$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\').toggle(); return false;">'.$lang['srv_survey_archives_import_import'].'</a></span>';
echo '<br />';
echo '<form style="display:none" id="restore" action="ajax.php?a=archive_restore" method="post" name="restorefrm" enctype="multipart/form-data" >
<span style="line-height:18px;">'.$lang['srv_arhiv_datoteka_save_txt2'].':
<input type="hidden" name="has_data" value="0" />
<input type="file" name="restore" onchange="document.restorefrm.submit();" /></span>
<br /><span class="italic">'.$lang['srv_arhiv_datoteka_restore_help'].'</span>
</form>';
echo '</p>';*/
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 '</div>';
echo '</fieldset>';
}
// Uvoz/izvoz ankete s podatki - po novem je uvoz pri kreiranju ankete

View File

@ -4141,7 +4141,7 @@ $lang = array (
"srv_survey_archives_tracking_hierarchy_users" => "Spremembe uporabnikov",
"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" => "Shranjevanje in prenos arhivske datoteke za vprašalnik.",
"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_import" => "Uvoz",
"srv_survey_archives_import_text" => "Restavriranje vprašalnika iz arhivske datoteke",

View File

@ -4124,7 +4124,7 @@ $lang = array (
"srv_survey_archives_tracking_hierarchy_users" => "Users changes",
"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" => "Save survey 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_import" => "Import",
"srv_survey_archives_import_text" => "Restore survey from archive file",

File diff suppressed because it is too large Load Diff