diff --git a/src/js/common.js b/src/js/common.js index 455c762..d9e42b8 100644 --- a/src/js/common.js +++ b/src/js/common.js @@ -37,6 +37,23 @@ function NewWindow(Location, WindowName,X_width,Y_height,Option) { } +/* +* Helper function for form scripting +*/ +function toggleformelement(ElementNameToggle, isEnabled) +{ + var myFormElement = document.getElementById(ElementNameToggle); + if ( isEnabled ) + { + myFormElement.disabled = false; + } + else + { + myFormElement.disabled = true; + } +} + + // helper array to keep track of the timeouts! var runningTimeouts = new Array(); diff --git a/src/js/searchhelpers.js b/src/js/searchhelpers.js index 01f472a..a0fb96f 100644 --- a/src/js/searchhelpers.js +++ b/src/js/searchhelpers.js @@ -58,23 +58,6 @@ function toggleDatefiltervisibility(FormName) } } -/* -* Helper function -*/ -function toggleformelement(ElementNameToggle, isEnabled) -{ - var myFormElement = document.getElementById(ElementNameToggle); - if ( isEnabled ) - { - myFormElement.disabled = false; - } - else - { - myFormElement.disabled = true; - } -} - - /* * Helper function to add a date filter into the search field */ diff --git a/src/lang/en/admin.php b/src/lang/en/admin.php index 4e6daa9..c6ee88c 100644 --- a/src/lang/en/admin.php +++ b/src/lang/en/admin.php @@ -434,8 +434,8 @@ $content['LN_REPORTS_FILTEREDITOR'] = "Filtereditor"; $content['LN_REPORTS_FILTERSTRING_ONLYEDITIF'] = "Only edit raw filterstring if you know what you are doing! Note if you change the filterstring, any changes made in the Filtereditor will be lost!"; $content['LN_REPORTS_ADVANCEDFILTERS'] = "Advanced filters"; $content['LN_REPORTS_ADVANCEDFILTERLIST'] = "List of advanced report filters"; -$content['LN_REPORTS_'] = ""; -$content['LN_REPORTS_'] = ""; +$content['LN_REPORTS_OUTPUTTARGET_DETAILS'] = "Outputtarget Options"; +$content['LN_REPORTS_OUTPUTTARGET_FILE'] = "Output Path and Filename"; $content['LN_REPORTS_'] = ""; $content['LN_REPORTS_'] = ""; $content['LN_REPORTS_'] = ""; diff --git a/src/templates/admin/admin_reports.html b/src/templates/admin/admin_reports.html index 11935f5..0493810 100644 --- a/src/templates/admin/admin_reports.html +++ b/src/templates/admin/admin_reports.html @@ -143,11 +143,40 @@ -
+ + + - +
@@ -209,7 +238,6 @@ - - - - +
{LN_REPORTS_ADDSAVEDREPORT}: '{DisplayName}'
{LN_REPORTS_ADVANCEDFILTERS} @@ -232,8 +260,6 @@
{LN_REPORTS_SOURCEID} @@ -257,14 +283,27 @@
{LN_REPORTS_OUTPUTTARGET} - - +
+ +
+ + + + + +
{LN_REPORTS_OUTPUTTARGET_FILE} + +
+
+ +
@@ -273,6 +312,11 @@
+ + {LN_GEN_ERRORRETURNPREV}