From 0a30b12f7d06a334234a96ce46860bfca4dc0f7f Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 25 May 2022 07:02:15 +0000 Subject: move wiki related templates to addon --- view/tpl/wiki.tpl | 475 --------------------------------------- view/tpl/wiki_page_history.tpl | 59 ----- view/tpl/wiki_page_list.tpl | 90 -------- view/tpl/wiki_page_not_found.tpl | 34 --- view/tpl/wikilist.tpl | 101 --------- view/tpl/wikilist_widget.tpl | 8 - 6 files changed, 767 deletions(-) delete mode 100644 view/tpl/wiki.tpl delete mode 100644 view/tpl/wiki_page_history.tpl delete mode 100644 view/tpl/wiki_page_list.tpl delete mode 100644 view/tpl/wiki_page_not_found.tpl delete mode 100644 view/tpl/wikilist.tpl delete mode 100644 view/tpl/wikilist_widget.tpl (limited to 'view/tpl') diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl deleted file mode 100644 index 640678ae8..000000000 --- a/view/tpl/wiki.tpl +++ /dev/null @@ -1,475 +0,0 @@ -
-
-
- [{{$typename}}]  - {{if $showPageControls}} - - {{/if}} - - - -
-

- {{$wikiheaderName}}: - {{$wikiheaderPage}} -

-
-
- -
- -
-
- {{if !$mimeType || $mimeType == 'text/markdown'}} -
- {{else}} -
- -
- {{/if}} -
-
-
- {{$renderedContent}} -
-
-
-
-
- {{if $showPageControls}} - - {{/if}} -
-
-
- -{{$wikiModal}} - - - - diff --git a/view/tpl/wiki_page_history.tpl b/view/tpl/wiki_page_history.tpl deleted file mode 100644 index 9e5ba0f9c..000000000 --- a/view/tpl/wiki_page_history.tpl +++ /dev/null @@ -1,59 +0,0 @@ - - - {{foreach $pageHistory as $commit}} - - {{/foreach}} -
- - - - - -
Date{{$commit.date}} - {{if $permsWrite}} - -

- {{/if}} - -
Name{{$commit.name}} <{{$commit.email}}>
Message{{$commit.title}}
-
diff --git a/view/tpl/wiki_page_list.tpl b/view/tpl/wiki_page_list.tpl deleted file mode 100644 index 4f99587c2..000000000 --- a/view/tpl/wiki_page_list.tpl +++ /dev/null @@ -1,90 +0,0 @@ -{{if ! $refresh}} -
-{{/if}} -

{{$header}}

- -{{if ! $refresh}} -
-{{/if}} - -{{if $canadd}} - -{{/if}} diff --git a/view/tpl/wiki_page_not_found.tpl b/view/tpl/wiki_page_not_found.tpl deleted file mode 100644 index 8fdee4596..000000000 --- a/view/tpl/wiki_page_not_found.tpl +++ /dev/null @@ -1,34 +0,0 @@ -

Page does not exist

-


- {{if $canadd}} -
- - {{include file="field_input.tpl" field=$pageName}} - {{if $typelock}} - - {{else}} - - - {{/if}} - -
- - -{{/if}} diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl deleted file mode 100644 index bc8461dac..000000000 --- a/view/tpl/wikilist.tpl +++ /dev/null @@ -1,101 +0,0 @@ -
-
- {{if $owner}} - - {{/if}} -

{{$header}}

-
- {{if $owner}} -
-
- {{include file="field_input.tpl" field=$wikiName}} - {{include file="field_select.tpl" field=$mimeType}} - {{include file="field_checkbox.tpl" field=$typelock}} - {{include file="field_checkbox.tpl" field=$notify}} -
-
- - -
-
-
-
-
- {{/if}} -
- - - - - - {{if $owner}} - - {{/if}} - - {{if $owner}} - - {{/if}} - - {{foreach $wikis as $wiki}} - - - - {{if $owner}} - - {{/if}} - - - {{if $owner}} - - {{/if}} - - {{if $owner}} - - - - {{/if}} - {{/foreach}} -
{{$name}}{{$type}}
{{$wiki.title}}{{if $wiki.typelock}}{{$wiki.mimeType}}{{else}}{{$unlocked}}{{/if}}
-
-
-{{$acl}} - diff --git a/view/tpl/wikilist_widget.tpl b/view/tpl/wikilist_widget.tpl deleted file mode 100644 index 9853f9850..000000000 --- a/view/tpl/wikilist_widget.tpl +++ /dev/null @@ -1,8 +0,0 @@ -
-

{{$header}}

- -
-- cgit v1.2.3