Commit
commit c824052df0caaa7cef5542458b2618e2d104c549 Author: dankertDate: Mon Dec 6 01:00:00 2021 +0100 New: Show a version from file history; New: Text history. modules/cms/action/file/FileShowAction.class.php | 27 +++- .../cms/action/image/ImagePreviewAction.class.php | 22 ++- .../pageelement/PageelementDiffAction.class.php | 4 +- modules/cms/action/text/TextDiffAction.class.php | 18 +-- modules/cms/action/text/TextValueAction.class.php | 3 +- modules/cms/generator/FileContext.class.php | 3 +- modules/cms/generator/FileHistoryContext.class.php | 49 ++++++ .../cms/generator/FileHistoryGenerator.class.php | 132 ++++++++++++++++ modules/cms/model/File.class.php | 17 +- .../ui/themes/default/html/views/image/history.php | 11 +- .../default/html/views/image/history.tpl.src.xml | 11 +- .../ui/themes/default/html/views/text/history.php | 175 ++++++++++----------- .../default/html/views/text/history.tpl.src.xml | 166 +++++++++---------- .../ui/themes/default/html/views/text/value.php | 43 ++++- .../default/html/views/text/value.tpl.src.xml | 13 +- 15 files changed, 456 insertions(+), 238 deletions(-)