From: Banana Date: Sun, 3 Jan 2021 14:18:28 +0000 (+0100) Subject: back link and after successfull save back to detailview X-Git-Tag: 1.0~14 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=df5d156efc4da8ede2ec4250d237e30710db9a53;p=bibliotheca-php.git back link and after successfull save back to detailview --- diff --git a/webclient/view/default/manageentry/manageentry.html b/webclient/view/default/manageentry/manageentry.html index 5cecbd4..8fef73c 100644 --- a/webclient/view/default/manageentry/manageentry.html +++ b/webclient/view/default/manageentry/manageentry.html @@ -5,7 +5,9 @@ if(!empty($TemplateData['editFields'])) { $_entry = $TemplateData['editData']['id']; ?>

Update an entry in:

-

View entry

+

+ View entry +

Add an entry to:

diff --git a/webclient/view/default/manageentry/manageentry.php b/webclient/view/default/manageentry/manageentry.php index 6147250..075a2d9 100644 --- a/webclient/view/default/manageentry/manageentry.php +++ b/webclient/view/default/manageentry/manageentry.php @@ -106,7 +106,7 @@ if(!empty($_collection)) { } elseif (!empty($_fieldsToSave) && isset($_fieldsToSave['title'])) { $do = $ManangeEntry->create($_fieldsToSave, $_owner, $_group, $_rights, $_id); if ($do !== 0) { - $TemplateData['refresh'] = 'index.php?p=manageentry&collection='.$_collection.'&id='.$_id; + $TemplateData['refresh'] = 'index.php?p=entry&collection='.$_collection.'&id='.$_id; } else { $TemplateData['message']['content'] = "Entry could not be updated."; $TemplateData['message']['status'] = "error"; diff --git a/webclient/view/default/tool/tool.html b/webclient/view/default/tool/tool.html index da49a9f..591cf0a 100644 --- a/webclient/view/default/tool/tool.html +++ b/webclient/view/default/tool/tool.html @@ -1,8 +1,8 @@

Using with collection:

-

+

-

+