diff --git a/classes/dlg.php b/classes/dlg.php index 7e66c4b5e..32c41ee34 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -52,7 +52,7 @@ class Dlg extends Handler_Protected { print "". __('Generate new URL')." "; - print "". + print "". __('Close this window').""; print ""; @@ -85,7 +85,7 @@ class Dlg extends Handler_Protected { print ""; - print "". + print "". __('Close this window').""; print ""; @@ -150,7 +150,7 @@ class Dlg extends Handler_Protected { print ""; print "". + onclick=\"return CommonDialogs.closeInfoBox()\">". __('Close this window').""; print ""; @@ -179,7 +179,7 @@ class Dlg extends Handler_Protected { print "". __('Generate new URL')." "; - print "". + print "". __('Close this window').""; print ""; @@ -195,7 +195,7 @@ class Dlg extends Handler_Protected { print "". __('Open Preferences')." "; print "". + onclick=\"return CommonDialogs.closeInfoBox()\">". __('Close this window').""; print ""; } diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index 3b949073c..7ae7a04c1 100755 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -745,9 +745,9 @@ class Pref_Feeds extends Handler_Protected { - ".__('Replace')." - ".__('Remove')." "; diff --git a/include/functions.php b/include/functions.php index baed6fb20..dcb2e7518 100755 --- a/include/functions.php +++ b/include/functions.php @@ -2566,3 +2566,15 @@ function arr_qmarks($arr) { return str_repeat('?,', count($arr) - 1) . '?'; } + + function get_scripts_timestamp() { + $files = glob("js/*.js"); + $ts = 0; + + foreach ($files as $file) { + $file_ts = filemtime($file); + if ($file_ts > $ts) $ts = $file_ts; + } + + return $ts; + } \ No newline at end of file diff --git a/index.php b/index.php index 4a85ff236..6035ac186 100644 --- a/index.php +++ b/index.php @@ -91,7 +91,7 @@