aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-06-17 16:04:18 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-23 21:19:21 +0200
commitc70ff64a61d62cc8d35a62f30596ecc2a3c578a3 (patch)
treeb0a4c804c331da65908b733f764f8a88ba48edbf /tpl
parente8a10f312a5c44314292402bb44e6ee2e71f3d5d (diff)
downloadShaarli-c70ff64a61d62cc8d35a62f30596ecc2a3c578a3.tar.gz
Shaarli-c70ff64a61d62cc8d35a62f30596ecc2a3c578a3.tar.zst
Shaarli-c70ff64a61d62cc8d35a62f30596ecc2a3c578a3.zip
Process bookmark exports through Slim controllers
Diffstat (limited to 'tpl')
-rw-r--r--tpl/default/export.html3
-rw-r--r--tpl/default/tools.html2
-rw-r--r--tpl/vintage/export.html3
-rw-r--r--tpl/vintage/tools.html2
4 files changed, 4 insertions, 6 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>
diff --git a/tpl/vintage/export.html b/tpl/vintage/export.html
index 67c3d05f..feee307c 100644
--- a/tpl/vintage/export.html
+++ b/tpl/vintage/export.html
@@ -5,8 +5,7 @@
5 <div id="pageheader"> 5 <div id="pageheader">
6 {include="page.header"} 6 {include="page.header"}
7 <div id="toolsdiv"> 7 <div id="toolsdiv">
8 <form method="GET"> 8 <form method="POST" action="{$base_path}/admin/export">
9 <input type="hidden" name="do" value="export">
10 Selection:<br> 9 Selection:<br>
11 <input type="radio" name="selection" value="all" checked="true"> All<br> 10 <input type="radio" name="selection" value="all" checked="true"> All<br>
12 <input type="radio" name="selection" value="private"> Private<br> 11 <input type="radio" name="selection" value="private"> Private<br>
diff --git a/tpl/vintage/tools.html b/tpl/vintage/tools.html
index 7b69f43e..67ebd175 100644
--- a/tpl/vintage/tools.html
+++ b/tpl/vintage/tools.html
@@ -15,7 +15,7 @@
15 <br><br> 15 <br><br>
16 <a href="{$base_path}/?do=import"><b>Import</b><span>: Import Netscape html bookmarks (as exported from Firefox, Chrome, Opera, delicious...)</span></a> 16 <a href="{$base_path}/?do=import"><b>Import</b><span>: Import Netscape html bookmarks (as exported from Firefox, Chrome, Opera, delicious...)</span></a>
17 <br><br> 17 <br><br>
18 <a href="{$base_path}/?do=export"><b>Export</b><span>: Export Netscape html bookmarks (which can be imported in Firefox, Chrome, Opera, delicious...)</span></a> 18 <a href="{$base_path}/admin/export"><b>Export</b><span>: Export Netscape html bookmarks (which can be imported in Firefox, Chrome, Opera, delicious...)</span></a>
19 <br><br> 19 <br><br>
20 <a class="smallbutton" 20 <a class="smallbutton"
21 onclick="return alertBookmarklet();" 21 onclick="return alertBookmarklet();"