diff --git a/application/views/admin/templates/importform_view.php b/application/views/admin/templates/importform_view.php index 4cb70415f5f..7a2a899845a 100644 --- a/application/views/admin/templates/importform_view.php +++ b/application/views/admin/templates/importform_view.php @@ -10,19 +10,11 @@
  • - - onclick='alert("eT("zip library not supported by PHP, Import ZIP Disabled", "js") ?>");' - - onclick='if (validatefilename(this.form,"eT('Please select a file to import!', 'js') ?>")) { this.form.submit();}' - - /> + + eT("zip library not supported by PHP, Import ZIP Disabled", "js") ?> + + ")) { this.form.submit();}' /> +
  • diff --git a/application/views/admin/templates/templateeditorbar_view.php b/application/views/admin/templates/templateeditorbar_view.php index c3ef2c5acf9..6716eb82a6c 100644 --- a/application/views/admin/templates/templateeditorbar_view.php +++ b/application/views/admin/templates/templateeditorbar_view.php @@ -65,9 +65,13 @@ function copyprompt(text, defvalue, copydirectory, action) } ?> - ", "_top")'> + + '> <?php $clang->eT("Import template"); ?> - ", "_top")'> + + <?php $clang->eT("zip library not supported by PHP, Import ZIP Disabled"); ?> + + '> <?php $clang->eT("Export Template"); ?> ', 'gT("copy_of_")."$templatename"; ?>', '', 'copy')">