From fb372877f6ec2d01d097c3dbb3a00c4cb19f32fc Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Sat, 20 Jan 2018 09:45:22 -0500 Subject: [PATCH] Rename template and doc Rename admin/plugins.tpl to admin/addons.tpl and update references. Rename doc/de/Plugins.md to Addons.md --- doc/de/{Plugins.md => Addons.md} | 0 mod/admin.php | 4 ++-- view/templates/admin/{plugins.tpl => addons.tpl} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename doc/de/{Plugins.md => Addons.md} (100%) rename view/templates/admin/{plugins.tpl => addons.tpl} (100%) diff --git a/doc/de/Plugins.md b/doc/de/Addons.md similarity index 100% rename from doc/de/Plugins.md rename to doc/de/Addons.md diff --git a/mod/admin.php b/mod/admin.php index 0b53dc93d8..4544917010 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -1855,7 +1855,7 @@ function admin_page_addons(App $a) } } - $t = get_markup_template('admin/plugins.tpl'); + $t = get_markup_template('admin/addons.tpl'); return replace_macros($t, [ '$title' => t('Administration'), '$page' => t('Addons'), @@ -2108,7 +2108,7 @@ function admin_page_themes(App $a) $addons[] = [$th['name'], (($th['allowed']) ? "on" : "off"), Theme::getInfo($th['name'])]; } - $t = get_markup_template('admin/plugins.tpl'); + $t = get_markup_template('admin/addons.tpl'); return replace_macros($t, [ '$title' => t('Administration'), '$page' => t('Themes'), diff --git a/view/templates/admin/plugins.tpl b/view/templates/admin/addons.tpl similarity index 100% rename from view/templates/admin/plugins.tpl rename to view/templates/admin/addons.tpl