diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-12-18 12:40:27 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-12-18 12:40:27 +0100 |
commit | 8147ff76a49206a08999f420206d971de10db12e (patch) | |
tree | dea3412c8e30cfab464557bcbe4c5c3fb08bc33e /plugins/addlink_toolbar | |
parent | 9eba6ff469bdea8f341af06ef23c8bb4bd3a6869 (diff) | |
parent | e3ffc8fdee30be41046b985fe6e7034fb580b0c8 (diff) | |
download | Shaarli-8147ff76a49206a08999f420206d971de10db12e.tar.gz Shaarli-8147ff76a49206a08999f420206d971de10db12e.tar.zst Shaarli-8147ff76a49206a08999f420206d971de10db12e.zip |
merge
Diffstat (limited to 'plugins/addlink_toolbar')
-rw-r--r-- | plugins/addlink_toolbar/addlink_toolbar.css | 4 | ||||
-rw-r--r-- | plugins/addlink_toolbar/addlink_toolbar.php | 10 |
2 files changed, 6 insertions, 8 deletions
diff --git a/plugins/addlink_toolbar/addlink_toolbar.css b/plugins/addlink_toolbar/addlink_toolbar.css deleted file mode 100644 index b6a612f0..00000000 --- a/plugins/addlink_toolbar/addlink_toolbar.css +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | #addlink_toolbar { | ||
2 | display: inline; | ||
3 | margin: 0 0 0 25px; | ||
4 | } \ No newline at end of file | ||
diff --git a/plugins/addlink_toolbar/addlink_toolbar.php b/plugins/addlink_toolbar/addlink_toolbar.php index c96a891e..bf8a198a 100644 --- a/plugins/addlink_toolbar/addlink_toolbar.php +++ b/plugins/addlink_toolbar/addlink_toolbar.php | |||
@@ -16,10 +16,12 @@ function hook_addlink_toolbar_render_header($data) | |||
16 | { | 16 | { |
17 | if ($data['_PAGE_'] == Router::$PAGE_LINKLIST && $data['_LOGGEDIN_'] === true) { | 17 | if ($data['_PAGE_'] == Router::$PAGE_LINKLIST && $data['_LOGGEDIN_'] === true) { |
18 | $form = array( | 18 | $form = array( |
19 | 'method' => 'GET', | 19 | 'attr' => array( |
20 | 'action' => '', | 20 | 'method' => 'GET', |
21 | 'name' => 'addform', | 21 | 'action' => '', |
22 | 'class' => 'addform', | 22 | 'name' => 'addform', |
23 | 'class' => 'addform', | ||
24 | ), | ||
23 | 'inputs' => array( | 25 | 'inputs' => array( |
24 | array( | 26 | array( |
25 | 'type' => 'text', | 27 | 'type' => 'text', |