From: Coleman Watts Date: Thu, 6 Feb 2014 18:17:13 +0000 (-0800) Subject: Remove unused template X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5709949a0a309576d3200ce2380035eefa6b2c4a;p=civicrm-core.git Remove unused template --- diff --git a/CRM/UF/Page/Group.php b/CRM/UF/Page/Group.php index 78296ee8cd..12066d2be6 100644 --- a/CRM/UF/Page/Group.php +++ b/CRM/UF/Page/Group.php @@ -226,8 +226,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page { $template = CRM_Core_Smarty::singleton(); $template->assign('gid', $gid); $template->assign('tplFile', 'CRM/Profile/Form/Edit.tpl'); - $profile = trim($template->fetch('CRM/common/commonCSS.tpl')); - $profile .= trim($template->fetch('CRM/Form/default.tpl')); + $profile = trim($template->fetch('CRM/Form/default.tpl')); // not sure how to circumvent our own navigation system to generate the right form url $urlReplaceWith = 'civicrm/profile/create&gid=' . $gid . '&reset=1'; diff --git a/templates/CRM/common/commonCSS.tpl b/templates/CRM/common/commonCSS.tpl deleted file mode 100644 index 8295140681..0000000000 --- a/templates/CRM/common/commonCSS.tpl +++ /dev/null @@ -1,46 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.4 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2013 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{if $config->userSystem->is_drupal eq '1'} - {if $config->customCSSURL} - - {else} - - - - {/if} -{elseif $config->userFramework eq 'Joomla'} - - - {if !$config->userFrameworkFrontend} - - {else} - - {/if} - {if $config->customCSSURL} - - {/if} - -{/if}