From 0b0e0f8f43fc199e0b45a15cc2bc1bd228b58ba9 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 17 Nov 2016 14:17:26 +0100 Subject: wiki list fixes --- include/widgets.php | 6 ++- view/theme/redbasic/css/style.css | 14 +++++-- view/tpl/wikilist.tpl | 88 ++++++++++++++++++--------------------- 3 files changed, 54 insertions(+), 54 deletions(-) diff --git a/include/widgets.php b/include/widgets.php index e74f2c58b..3dc555b46 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -965,8 +965,9 @@ function widget_wiki_list($arr) { '$edit' => t('Edit'), '$download' => t('Download'), '$view' => t('View'), - '$addnew' => t('Add new wiki'), - '$wikiName' => array('wikiName', t('Enter the name of your new wiki:'), '', ''), + '$addnew' => t('Create new wiki'), + '$create' => t('Create'), + '$wikiName' => array('wikiName', t('Wiki name'), '', ''), '$lockstate' => $x['lockstate'], '$acl' => $x['acl'], '$allow_cid' => $x['allow_cid'], @@ -974,6 +975,7 @@ function widget_wiki_list($arr) { '$deny_cid' => $x['deny_cid'], '$deny_gid' => $x['deny_gid'], '$bang' => $x['bang'], + '$notify' => t('Send notification') )); } return ''; diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index a7ce3af38..f71fe8ea8 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2025,11 +2025,17 @@ dl.bb-dl > dd > li { } .embed-photo-selected-photo { - border-color: blue; - border-style: solid; - border-width: 5px; + border-color: blue; + border-style: solid; + border-width: 5px; } #wiki-preview img { - max-width: 100%; + max-width: 100%; +} + +.sub-menu { + margin-top: 10px; + padding-left: 15px; + border-left: 3px solid #ccc; } diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl index d3fca8ab7..d3c6b867f 100644 --- a/view/tpl/wikilist.tpl +++ b/view/tpl/wikilist.tpl @@ -1,57 +1,49 @@
-

{{$header}}

- + {{if $owner}} + + {{/if}}
- +{{$acl}} -- cgit v1.2.3