Permalink
Browse files

Display an "up to date" message when no new updates are available to …

…apply
  • Loading branch information...
1 parent b83b216 commit 276b9d2c3be998c326ce560d554faf801f9da589 @haraldpdl haraldpdl committed Apr 8, 2011
@@ -109,5 +109,16 @@ function feedDataTable(data) {
rowCounter++;
}
+
+ if ( (rowCounter == 0) && (moduleParams['search'] == '') ) {
+ var newRow = $('#' + dataTableName)[0].tBodies[0].insertRow(rowCounter);
+ newRow.id = 'row0';
+
+ $('#row0').hover( function() { $(this).addClass('mouseOver'); }, function() { $(this).removeClass('mouseOver'); }).css('cursor', 'pointer');
+
+ var newCell = newRow.insertCell(0);
+ newCell.colSpan = 3;
+ newCell.innerHTML = '<?php echo HTML::icon('tick.png') . ' '; ?>' + htmlSpecialChars("<?php echo OSCOM::getDef('up_to_date'); ?>");
+ }
}
</script>
@@ -26,6 +26,8 @@
icon_view_announcement = View Announcement
icon_view_contents = View Contents
+up_to_date = This installation is up to date!
+
ms_error_select_version_to_view = Error: Please select an available package version to view.
ms_error_local_update_package_does_not_exist = Error: Cannot download and save the update package. Please verify the osCommerce/OM/Work/CoreUpdate directory permissions and try again.
ms_error_wrong_version_to_update_from = Error: Please verify the package to update from.

0 comments on commit 276b9d2

Please sign in to comment.