From 5d7e756a0db7ba97a0e31685a81a2057965c64c2 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Tue, 23 Apr 2013 08:24:59 -0400 Subject: [PATCH] update addon templates to new template dirs layout --- .../{view/smarty3 => templates}/admin.tpl | 0 altpager/view/admin.tpl | 3 - altpager/view/admin.tpl.old | 3 - .../{view/smarty3 => templates}/admin.tpl | 0 blackout/view/admin.tpl | 11 --- .../smarty3 => templates}/communityhome.tpl | 0 .../smarty3 => templates}/directory_item.tpl | 0 communityhome/view/communityhome.tpl | 70 ------------------- communityhome/view/directory_item.tpl | 10 --- .../forumdirectory_item.tpl | 0 forumdirectory/view/forumdirectory_item.tpl | 42 ----------- .../{view/smarty3 => templates}/admin.tpl | 0 gravatar/view/admin.tpl | 3 - .../{view/smarty3 => templates}/admin.tpl | 0 impressum/view/admin.tpl | 7 -- .../{view/smarty3 => templates}/admin.tpl | 0 libravatar/view/admin.tpl | 2 - mathjax/{view/smarty3 => templates}/admin.tpl | 0 mathjax/view/admin.tpl | 2 - .../{view/smarty3 => templates}/admin.tpl | 0 openstreetmap/view/admin.tpl | 3 - piwik/{view/smarty3 => templates}/admin.tpl | 0 piwik/view/admin.tpl | 5 -- .../{view/smarty3 => templates}/admin.tpl | 0 .../{view/smarty3 => templates}/settings.tpl | 0 remote_permissions/view/admin.tpl | 3 - remote_permissions/view/settings.tpl | 8 --- .../{view/smarty3 => templates}/admin.tpl | 0 statusnet/view/admin.tpl | 17 ----- twitter/{view/smarty3 => templates}/admin.tpl | 0 twitter/view/admin.tpl | 4 -- .../{view/smarty3 => templates}/settings.tpl | 0 uhremotestorage/view/settings.tpl | 9 --- .../{view/smarty3 => templates}/settings.tpl | 0 .../smarty3 => templates}/widget_like.tpl | 0 widgets/view/settings.tpl | 19 ----- widgets/view/widget_like.tpl | 3 - 37 files changed, 224 deletions(-) rename altpager/{view/smarty3 => templates}/admin.tpl (100%) delete mode 100644 altpager/view/admin.tpl delete mode 100755 altpager/view/admin.tpl.old rename blackout/{view/smarty3 => templates}/admin.tpl (100%) delete mode 100644 blackout/view/admin.tpl rename communityhome/{view/smarty3 => templates}/communityhome.tpl (100%) rename communityhome/{view/smarty3 => templates}/directory_item.tpl (100%) delete mode 100755 communityhome/view/communityhome.tpl delete mode 100755 communityhome/view/directory_item.tpl rename forumdirectory/{view/smarty3 => templates}/forumdirectory_item.tpl (100%) delete mode 100755 forumdirectory/view/forumdirectory_item.tpl rename gravatar/{view/smarty3 => templates}/admin.tpl (100%) delete mode 100644 gravatar/view/admin.tpl rename impressum/{view/smarty3 => templates}/admin.tpl (100%) delete mode 100644 impressum/view/admin.tpl rename libravatar/{view/smarty3 => templates}/admin.tpl (100%) delete mode 100644 libravatar/view/admin.tpl rename mathjax/{view/smarty3 => templates}/admin.tpl (100%) delete mode 100644 mathjax/view/admin.tpl rename openstreetmap/{view/smarty3 => templates}/admin.tpl (100%) delete mode 100644 openstreetmap/view/admin.tpl rename piwik/{view/smarty3 => templates}/admin.tpl (100%) delete mode 100644 piwik/view/admin.tpl rename remote_permissions/{view/smarty3 => templates}/admin.tpl (100%) rename remote_permissions/{view/smarty3 => templates}/settings.tpl (100%) delete mode 100644 remote_permissions/view/admin.tpl delete mode 100644 remote_permissions/view/settings.tpl rename statusnet/{view/smarty3 => templates}/admin.tpl (100%) delete mode 100644 statusnet/view/admin.tpl rename twitter/{view/smarty3 => templates}/admin.tpl (100%) delete mode 100644 twitter/view/admin.tpl rename uhremotestorage/{view/smarty3 => templates}/settings.tpl (100%) delete mode 100644 uhremotestorage/view/settings.tpl rename widgets/{view/smarty3 => templates}/settings.tpl (100%) rename widgets/{view/smarty3 => templates}/widget_like.tpl (100%) delete mode 100755 widgets/view/settings.tpl delete mode 100755 widgets/view/widget_like.tpl diff --git a/altpager/view/smarty3/admin.tpl b/altpager/templates/admin.tpl similarity index 100% rename from altpager/view/smarty3/admin.tpl rename to altpager/templates/admin.tpl diff --git a/altpager/view/admin.tpl b/altpager/view/admin.tpl deleted file mode 100644 index 60558808..00000000 --- a/altpager/view/admin.tpl +++ /dev/null @@ -1,3 +0,0 @@ -{{ inc field_radio.tpl with $field=$global }}{{ endinc }} -{{ inc field_radio.tpl with $field=$individual }}{{ endinc }} -
diff --git a/altpager/view/admin.tpl.old b/altpager/view/admin.tpl.old deleted file mode 100755 index 60558808..00000000 --- a/altpager/view/admin.tpl.old +++ /dev/null @@ -1,3 +0,0 @@ -{{ inc field_radio.tpl with $field=$global }}{{ endinc }} -{{ inc field_radio.tpl with $field=$individual }}{{ endinc }} -
diff --git a/blackout/view/smarty3/admin.tpl b/blackout/templates/admin.tpl similarity index 100% rename from blackout/view/smarty3/admin.tpl rename to blackout/templates/admin.tpl diff --git a/blackout/view/admin.tpl b/blackout/view/admin.tpl deleted file mode 100644 index 25922193..00000000 --- a/blackout/view/admin.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{ inc field_input.tpl with $field=$startdate }}{{ endinc }} -{{ inc field_input.tpl with $field=$enddate }}{{ endinc }} -{{ inc field_input.tpl with $field=$rurl }}{{ endinc }} - -
Note: The redirect will be active from the moment you -press the submit button. Users currently logged in will not be -thrown out but can't login again after logging out should the blackout is -still in place.
- -
diff --git a/communityhome/view/smarty3/communityhome.tpl b/communityhome/templates/communityhome.tpl similarity index 100% rename from communityhome/view/smarty3/communityhome.tpl rename to communityhome/templates/communityhome.tpl diff --git a/communityhome/view/smarty3/directory_item.tpl b/communityhome/templates/directory_item.tpl similarity index 100% rename from communityhome/view/smarty3/directory_item.tpl rename to communityhome/templates/directory_item.tpl diff --git a/communityhome/view/communityhome.tpl b/communityhome/view/communityhome.tpl deleted file mode 100755 index 84687809..00000000 --- a/communityhome/view/communityhome.tpl +++ /dev/null @@ -1,70 +0,0 @@ - -{{ if $noOid }} -

$login_title

-{{ else }} - -{{ endif }} -$login_form - - -{{ if $lastusers_title }} -

$lastusers_title

-
-{{ for $lastusers_items as $i }} - $i -{{ endfor }} -
-{{ endif }} - - -{{ if $activeusers_title }} -

$activeusers_title

-
-{{ for $activeusers_items as $i }} - $i -{{ endfor }} -
-{{ endif }} - -{{ if $photos_title }} -

$photos_title

-
-{{ for $photos_items as $i }} - $i -{{ endfor }} -
-{{ endif }} - - -{{ if $like_title }} -

$like_title

- -{{ endif }} diff --git a/communityhome/view/directory_item.tpl b/communityhome/view/directory_item.tpl deleted file mode 100755 index f32f5a4f..00000000 --- a/communityhome/view/directory_item.tpl +++ /dev/null @@ -1,10 +0,0 @@ - -
-
-
- - $alt_text - -
-
-
diff --git a/forumdirectory/view/smarty3/forumdirectory_item.tpl b/forumdirectory/templates/forumdirectory_item.tpl similarity index 100% rename from forumdirectory/view/smarty3/forumdirectory_item.tpl rename to forumdirectory/templates/forumdirectory_item.tpl diff --git a/forumdirectory/view/forumdirectory_item.tpl b/forumdirectory/view/forumdirectory_item.tpl deleted file mode 100755 index e1bbffec..00000000 --- a/forumdirectory/view/forumdirectory_item.tpl +++ /dev/null @@ -1,42 +0,0 @@ - -
-
-
- - $alt_text - -
-
-
-
$name
-
$page_type
- {{ if $pdesc }}
$profile.pdesc
{{ endif }} -
-
- {{ if $location }} -
$location
-
- {{ if $profile.address }}
$profile.address
{{ endif }} - - $profile.locality{{ if $profile.locality }}, {{ endif }} - $profile.region - $profile.postal-code - - {{ if $profile.country-name }}$profile.country-name{{ endif }} -
-
- {{ endif }} - - {{ if $gender }}
$gender
$profile.gender
{{ endif }} -
-
- {{ if $marital }}
$marital
$profile.marital
{{ endif }} - - {{ if $homepage }}
$homepage
$profile.homepage
{{ endif }} -
-
-
- {{ if $about }}
$about
$profile.about
{{ endif }} -
-
-
diff --git a/gravatar/view/smarty3/admin.tpl b/gravatar/templates/admin.tpl similarity index 100% rename from gravatar/view/smarty3/admin.tpl rename to gravatar/templates/admin.tpl diff --git a/gravatar/view/admin.tpl b/gravatar/view/admin.tpl deleted file mode 100644 index 83144e43..00000000 --- a/gravatar/view/admin.tpl +++ /dev/null @@ -1,3 +0,0 @@ -{{ inc field_select.tpl with $field=$default_avatar}}{{ endinc }} -{{ inc field_select.tpl with $field=$rating }}{{ endinc }} -
diff --git a/impressum/view/smarty3/admin.tpl b/impressum/templates/admin.tpl similarity index 100% rename from impressum/view/smarty3/admin.tpl rename to impressum/templates/admin.tpl diff --git a/impressum/view/admin.tpl b/impressum/view/admin.tpl deleted file mode 100644 index 901df73f..00000000 --- a/impressum/view/admin.tpl +++ /dev/null @@ -1,7 +0,0 @@ -{{ inc field_input.tpl with $field=$owner }}{{ endinc }} -{{ inc field_input.tpl with $field=$ownerprofile }}{{ endinc }} -{{ inc field_textarea.tpl with $field=$postal }}{{ endinc }} -{{ inc field_textarea.tpl with $field=$notes }}{{ endinc }} -{{ inc field_input.tpl with $field=$email }}{{ endinc }} -{{ inc field_textarea.tpl with $field=$footer_text }}{{ endinc }} -
diff --git a/libravatar/view/smarty3/admin.tpl b/libravatar/templates/admin.tpl similarity index 100% rename from libravatar/view/smarty3/admin.tpl rename to libravatar/templates/admin.tpl diff --git a/libravatar/view/admin.tpl b/libravatar/view/admin.tpl deleted file mode 100644 index 814f4a44..00000000 --- a/libravatar/view/admin.tpl +++ /dev/null @@ -1,2 +0,0 @@ -{{ inc field_select.tpl with $field=$default_avatar}}{{ endinc }} -
diff --git a/mathjax/view/smarty3/admin.tpl b/mathjax/templates/admin.tpl similarity index 100% rename from mathjax/view/smarty3/admin.tpl rename to mathjax/templates/admin.tpl diff --git a/mathjax/view/admin.tpl b/mathjax/view/admin.tpl deleted file mode 100644 index 1c723cdd..00000000 --- a/mathjax/view/admin.tpl +++ /dev/null @@ -1,2 +0,0 @@ -{{ inc field_input.tpl with $field=$baseurl }}{{endinc }} -
diff --git a/openstreetmap/view/smarty3/admin.tpl b/openstreetmap/templates/admin.tpl similarity index 100% rename from openstreetmap/view/smarty3/admin.tpl rename to openstreetmap/templates/admin.tpl diff --git a/openstreetmap/view/admin.tpl b/openstreetmap/view/admin.tpl deleted file mode 100644 index 75db9cd7..00000000 --- a/openstreetmap/view/admin.tpl +++ /dev/null @@ -1,3 +0,0 @@ -{{ inc field_input.tpl with $field=$tmsserver }}{{ endinc }} -{{ inc field_input.tpl with $field=$zoom }}{{ endinc }} -
diff --git a/piwik/view/smarty3/admin.tpl b/piwik/templates/admin.tpl similarity index 100% rename from piwik/view/smarty3/admin.tpl rename to piwik/templates/admin.tpl diff --git a/piwik/view/admin.tpl b/piwik/view/admin.tpl deleted file mode 100644 index e57758a9..00000000 --- a/piwik/view/admin.tpl +++ /dev/null @@ -1,5 +0,0 @@ -{{ inc field_input.tpl with $field=$baseurl }}{{ endinc }} -{{ inc field_input.tpl with $field=$siteid }}{{ endinc }} -{{ inc field_checkbox.tpl with $field=$optout }}{{ endinc }} -{{ inc field_checkbox.tpl with $field=$async }}{{ endinc }} -
diff --git a/remote_permissions/view/smarty3/admin.tpl b/remote_permissions/templates/admin.tpl similarity index 100% rename from remote_permissions/view/smarty3/admin.tpl rename to remote_permissions/templates/admin.tpl diff --git a/remote_permissions/view/smarty3/settings.tpl b/remote_permissions/templates/settings.tpl similarity index 100% rename from remote_permissions/view/smarty3/settings.tpl rename to remote_permissions/templates/settings.tpl diff --git a/remote_permissions/view/admin.tpl b/remote_permissions/view/admin.tpl deleted file mode 100644 index 60558808..00000000 --- a/remote_permissions/view/admin.tpl +++ /dev/null @@ -1,3 +0,0 @@ -{{ inc field_radio.tpl with $field=$global }}{{ endinc }} -{{ inc field_radio.tpl with $field=$individual }}{{ endinc }} -
diff --git a/remote_permissions/view/settings.tpl b/remote_permissions/view/settings.tpl deleted file mode 100644 index 9fd98957..00000000 --- a/remote_permissions/view/settings.tpl +++ /dev/null @@ -1,8 +0,0 @@ -
-

$remote_perms_title

-
- - -
-
- diff --git a/statusnet/view/smarty3/admin.tpl b/statusnet/templates/admin.tpl similarity index 100% rename from statusnet/view/smarty3/admin.tpl rename to statusnet/templates/admin.tpl diff --git a/statusnet/view/admin.tpl b/statusnet/view/admin.tpl deleted file mode 100644 index 686a4c79..00000000 --- a/statusnet/view/admin.tpl +++ /dev/null @@ -1,17 +0,0 @@ -{{ for $sites as $s }} - {{ inc field_input.tpl with $field=$s.sitename }}{{ endinc }} - {{ inc field_input.tpl with $field=$s.apiurl }}{{ endinc }} - {{ inc field_input.tpl with $field=$s.secret }}{{ endinc }} - {{ inc field_input.tpl with $field=$s.key }}{{ endinc }} - {{ inc field_input.tpl with $field=$s.applicationname }}{{ endinc }} - {{ if $s.delete }} - {{ inc field_checkbox.tpl with $field=$s.delete }}{{ endinc }} -
- {{ else }} -

Fill this form to add a new site

- {{ endif }} - -{{ endfor }} - - -
diff --git a/twitter/view/smarty3/admin.tpl b/twitter/templates/admin.tpl similarity index 100% rename from twitter/view/smarty3/admin.tpl rename to twitter/templates/admin.tpl diff --git a/twitter/view/admin.tpl b/twitter/view/admin.tpl deleted file mode 100644 index b89f51b6..00000000 --- a/twitter/view/admin.tpl +++ /dev/null @@ -1,4 +0,0 @@ -{{ inc field_input.tpl with $field=$consumerkey }}{{ endinc }} -{{ inc field_input.tpl with $field=$consumersecret }}{{ endinc }} -{{ inc field_input.tpl with $field=$applicationname }}{{ endinc }} -
diff --git a/uhremotestorage/view/smarty3/settings.tpl b/uhremotestorage/templates/settings.tpl similarity index 100% rename from uhremotestorage/view/smarty3/settings.tpl rename to uhremotestorage/templates/settings.tpl diff --git a/uhremotestorage/view/settings.tpl b/uhremotestorage/view/settings.tpl deleted file mode 100644 index 22d7d608..00000000 --- a/uhremotestorage/view/settings.tpl +++ /dev/null @@ -1,9 +0,0 @@ -
-

$title

-

$desc

- {{ inc field_input.tpl with $field=$url }}{{ endinc }} - {{ inc field_input.tpl with $field=$auth }}{{ endinc }} - {{ inc field_select.tpl with $field=$api }}{{ endinc }} -
- -
diff --git a/widgets/view/smarty3/settings.tpl b/widgets/templates/settings.tpl similarity index 100% rename from widgets/view/smarty3/settings.tpl rename to widgets/templates/settings.tpl diff --git a/widgets/view/smarty3/widget_like.tpl b/widgets/templates/widget_like.tpl similarity index 100% rename from widgets/view/smarty3/widget_like.tpl rename to widgets/templates/widget_like.tpl diff --git a/widgets/view/settings.tpl b/widgets/view/settings.tpl deleted file mode 100755 index 9d0f21d2..00000000 --- a/widgets/view/settings.tpl +++ /dev/null @@ -1,19 +0,0 @@ -
-

$title

-
- - $key -
- -
- -
- -

$widgets_h

- - -
diff --git a/widgets/view/widget_like.tpl b/widgets/view/widget_like.tpl deleted file mode 100755 index 3c26d1da..00000000 --- a/widgets/view/widget_like.tpl +++ /dev/null @@ -1,3 +0,0 @@ - -$like like -$dislike dislike