From 0779e3ae53161843110610eba27380bfab0b2dd0 Mon Sep 17 00:00:00 2001 From: marijus Date: Sat, 3 Jan 2015 13:42:05 +0100 Subject: provide some info for buttons --- mod/filestorage.php | 4 +++- view/tpl/attach_edit.tpl | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/mod/filestorage.php b/mod/filestorage.php index 6b731e440..0a25617f0 100644 --- a/mod/filestorage.php +++ b/mod/filestorage.php @@ -147,7 +147,9 @@ function filestorage_content(&$a) { '$isadir' => $is_a_dir, '$cpdesc' => t('Copy/paste this code to attach file to a post'), '$cpldesc' => t('Copy/paste this URL to link file from a web page'), - '$submit' => t('Submit') + '$submit' => t('Submit'), + '$attach_btn_title' => t('Attach this file to a new post'), + '$link_btn_title' => t('Show URL to this file'), )); echo $o; diff --git a/view/tpl/attach_edit.tpl b/view/tpl/attach_edit.tpl index 82f2a7628..0147d35ba 100644 --- a/view/tpl/attach_edit.tpl +++ b/view/tpl/attach_edit.tpl @@ -6,11 +6,11 @@
{{if !$isadir}} - + {{/if}} -
-- cgit v1.2.3