From 39ec0618c7e5c3ee48d9d117c78cfa21101014df Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 21 Nov 2025 13:30:45 +0100 Subject: [PATCH] use table layout --- views/bootstrap/class.ClearCache.php | 30 +++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/views/bootstrap/class.ClearCache.php b/views/bootstrap/class.ClearCache.php index 5b45c5157..577ff62b7 100644 --- a/views/bootstrap/class.ClearCache.php +++ b/views/bootstrap/class.ClearCache.php @@ -9,7 +9,7 @@ * @author Uwe Steinmann * @copyright Copyright (C) 2002-2005 Markus Westphal, * 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli, - * 2010-2012 Uwe Steinmann + * 2010-2025 Uwe Steinmann * @version Release: @package_version@ */ @@ -26,13 +26,17 @@ * @author Markus Westphal, Malcolm Cowe, Uwe Steinmann * @copyright Copyright (C) 2002-2005 Markus Westphal, * 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli, - * 2010-2012 Uwe Steinmann + * 2010-2025 Uwe Steinmann * @version Release: @package_version@ */ class SeedDMS_View_ClearCache extends SeedDMS_Theme_Style { protected function output($name, $title, $space, $c) { - echo '

'.$title.($space !== NULL || $c != NULL ? '
' : '').($space !== NULL ? SeedDMS_Core_File::format_filesize($space) : '').($c !== NULL ? ' in '.$c.' Files' : '').'

'; + echo ''; + echo ''.$title.''; + echo ''.($space !== NULL ? SeedDMS_Core_File::format_filesize($space) : '').''; + echo ''.($c !== NULL ? $c : '').''; + echo ''; } function show() { /* {{{ */ @@ -49,9 +53,11 @@ class SeedDMS_View_ClearCache extends SeedDMS_Theme_Style { ?>
-contentContainerStart('warning'); -?> + + + + +contentContainerEnd(); - $this->infoMsg(SeedDMS_Core_File::format_filesize($totalspace).' in '.$totalc.' Files'); +?> + + +'; +?> + +
CacheSizeFiles
'.SeedDMS_Core_File::format_filesize($totalspace).''.$totalc.'
+formSubmit(" ".getMLText('clear_cache'), '', '', 'danger'); ?>
@@ -102,4 +115,3 @@ class SeedDMS_View_ClearCache extends SeedDMS_Theme_Style { $this->htmlEndPage(); } /* }}} */ } -?>