From dfe45342f6739bef9b3dff8e49641bb58998c757 Mon Sep 17 00:00:00 2001 From: tuscanhobbit Date: Sat, 28 Jun 2014 23:14:34 +0200 Subject: Checkboxes were not aligned in connedit, added a table --- view/tpl/abook_edit.tpl | 9 +++++---- view/tpl/field_acheckbox.tpl | 19 +++++++++++++++---- view/tpl/filestorage.tpl | 23 ----------------------- 3 files changed, 20 insertions(+), 31 deletions(-) delete mode 100644 view/tpl/filestorage.tpl (limited to 'view/tpl') diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index b8b01df4c..9b12b5f29 100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -83,13 +83,14 @@
-{{$them}}{{$me}} -
-
+ + + {{foreach $perms as $prm}} {{include file="field_acheckbox.tpl" field=$prm}} {{/foreach}} -
+ +
{{$them}}{{$me}}


diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl index f5dda4cc0..342491ded 100755 --- a/view/tpl/field_acheckbox.tpl +++ b/view/tpl/field_acheckbox.tpl @@ -1,6 +1,17 @@ -
+ + - - {{if $field.5}} {{$inherited}} {{/if}} + + + + + + + + + {{if $field.5}}{{$inherited}} {{/if}} + + {{$field.6}} -
+ + \ No newline at end of file diff --git a/view/tpl/filestorage.tpl b/view/tpl/filestorage.tpl deleted file mode 100644 index 1995b95e1..000000000 --- a/view/tpl/filestorage.tpl +++ /dev/null @@ -1,23 +0,0 @@ -{{if $files}} - -
- {{if $limit}}{{$limitlabel}}{{$limit}}{{/if}} {{if $used}} {{$usedlabel}}{{$used}}{{/if}} -
-
- - {{foreach $files as $key => $items}} - {{foreach $items as $item}} -
-      -      - {{if ! $item.dir}}{{/if}}{{$item.title}}{{if ! $item.dir}}{{/if}} - {{if ! $item.dir}} | {{$item.size}} bytes{{else}}{{$directory}}{{/if}} - -
- {{/foreach}} - {{/foreach}} -
- -
- -{{/if}} -- cgit v1.2.3