$this->setDefaults(array(
'custom_template' => $cust_templ));
} else {
- $output = file_get_contents('templates/CRM/Wci/Page/wciwidget.tpl',FILE_USE_INCLUDE_PATH);
+ $output = file_get_contents('templates/CRM/Wci/Page/WCIWidget.tpl', FILE_USE_INCLUDE_PATH);
$elem = $this->getElement('custom_template');
$elem->setValue($output);
}
}
else {
CRM_Utils_System::setTitle(ts('Create Widget'));
- $output = file_get_contents('templates/CRM/Wci/Page/wciwidget.tpl',FILE_USE_INCLUDE_PATH);
+ $output = file_get_contents('templates/CRM/Wci/Page/WCIWidget.tpl', FILE_USE_INCLUDE_PATH);
$elem = $this->getElement('custom_template');
$elem->setValue($output);
}
if ($data["override"] == '0') {
$template->template_dir[] = getWciWidgetTemplatePath();
- $wcidata = $template->fetch('wciwidget.tpl');
+ $wcidata = $template->fetch('WCIWidget.tpl');
} else {
$wcidata = $template->fetch('string:' . html_entity_decode($data['custom_template']));
}
-{*
- +--------------------------------------------------------------------+
- | CiviCRM Widget Creation Interface (WCI) Version 1.0 |
- +--------------------------------------------------------------------+
- | Copyright Zyxware Technologies (c) 2014 |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM WCI. |
- | |
- | CiviCRM WCI 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. |
- | |
- | CiviCRM WCI 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 along with this program; if not, contact Zyxware |
- | Technologies at info[AT]zyxware[DOT]com. |
- +--------------------------------------------------------------------+
-*}
{literal}
<style>
.crm-wci-widget {