diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-06-17 16:04:18 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | c70ff64a61d62cc8d35a62f30596ecc2a3c578a3 (patch) | |
tree | b0a4c804c331da65908b733f764f8a88ba48edbf /tpl/default | |
parent | e8a10f312a5c44314292402bb44e6ee2e71f3d5d (diff) | |
download | Shaarli-c70ff64a61d62cc8d35a62f30596ecc2a3c578a3.tar.gz Shaarli-c70ff64a61d62cc8d35a62f30596ecc2a3c578a3.tar.zst Shaarli-c70ff64a61d62cc8d35a62f30596ecc2a3c578a3.zip |
Process bookmark exports through Slim controllers
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/export.html | 3 | ||||
-rw-r--r-- | tpl/default/tools.html | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tpl/default/export.html b/tpl/default/export.html index 91cf78b6..c9c92943 100644 --- a/tpl/default/export.html +++ b/tpl/default/export.html | |||
@@ -6,14 +6,13 @@ | |||
6 | <body> | 6 | <body> |
7 | {include="page.header"} | 7 | {include="page.header"} |
8 | 8 | ||
9 | <form method="GET" action="{$base_path}/?do=export" name="exportform" id="exportform"> | 9 | <form method="POST" action="{$base_path}/admin/export" name="exportform" id="exportform"> |
10 | <div class="pure-g"> | 10 | <div class="pure-g"> |
11 | <div class="pure-u-lg-1-4 pure-u-1-24"></div> | 11 | <div class="pure-u-lg-1-4 pure-u-1-24"></div> |
12 | <div class="pure-u-lg-1-2 pure-u-22-24 page-form page-form-complete"> | 12 | <div class="pure-u-lg-1-2 pure-u-22-24 page-form page-form-complete"> |
13 | <div> | 13 | <div> |
14 | <h2 class="window-title">{"Export Database"|t}</h2> | 14 | <h2 class="window-title">{"Export Database"|t}</h2> |
15 | </div> | 15 | </div> |
16 | <input type="hidden" name="do" value="export"> | ||
17 | <input type="hidden" name="token" value="{$token}"> | 16 | <input type="hidden" name="token" value="{$token}"> |
18 | 17 | ||
19 | <div class="pure-g"> | 18 | <div class="pure-g"> |
diff --git a/tpl/default/tools.html b/tpl/default/tools.html index d07dabd0..fa007460 100644 --- a/tpl/default/tools.html +++ b/tpl/default/tools.html | |||
@@ -39,7 +39,7 @@ | |||
39 | </a> | 39 | </a> |
40 | </div> | 40 | </div> |
41 | <div class="tools-item"> | 41 | <div class="tools-item"> |
42 | <a href="{$base_path}/?do=export" | 42 | <a href="{$base_path}/admin/export" |
43 | title="{'Export Netscape HTML bookmarks (which can be imported in Firefox, Chrome, Opera, delicious...)'|t}"> | 43 | title="{'Export Netscape HTML bookmarks (which can be imported in Firefox, Chrome, Opera, delicious...)'|t}"> |
44 | <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Export database'|t}</span> | 44 | <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Export database'|t}</span> |
45 | </a> | 45 | </a> |