Add TPL files

This commit is contained in:
2025-05-12 15:46:37 +00:00
parent 4a4ed02e8a
commit b4d54ba40b
894 changed files with 120580 additions and 0 deletions

View File

@@ -0,0 +1,74 @@
{*
/**
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program 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 General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
*/
*}
<div id='jotpad_{$id}' ondblclick='JotPad.edit(this, "{$id}")' style='overflow: auto; width: 100%; height: {$h}px; border: 1px #ddd solid'>
{php}
session_start();
if($_SESSION['salesy']==1){
{/php}
<h2>{$sales_year_title}</h2><br>
{php}
include_once('include/ECM/open_flash_chart/ofc-library/open_flash_chart_object.php');
open_flash_chart_object(900,500,'modules/EcmCharts/Dashlets/MyChartsCustomDashlet/salesYearChart.php',false,'include/ECM/open_flash_chart/');
}
if($_SESSION['sales']==1){
{/php}
<h2>{$sales_title}</h2><br>
{php}
include_once('include/ECM/open_flash_chart/ofc-library/open_flash_chart_object.php');
open_flash_chart_object(900,500,'modules/EcmCharts/Dashlets/MyChartsCustomDashlet/salesYearChart.php',false,'include/ECM/open_flash_chart/');
}
if($_SESSION['stocksd']=='1'){
{/php}
<h2>{$stocks_title}</h2><br>
{php}
include_once('include/ECM/open_flash_chart/ofc-library/open_flash_chart_object.php');
open_flash_chart_object(900,500,'modules/EcmCharts/Dashlets/MyChartsCustomDashlet/stocksChart.php',false,'include/ECM/open_flash_chart/');
}
/*
*/
{/php}
</div>

View File

@@ -0,0 +1,128 @@
{*
/**
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program 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 General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
*/
*}
<div style='width: 100%'>
<form name='configure_{$id}' action="index.php" method="post" onSubmit='return SUGAR.dashlets.postForm("configure_{$id}", SUGAR.mySugar.uncoverPage);'>
<input type='hidden' name='id' value='{$id}'>
<input type='hidden' name='module' value='Home'>
<input type='hidden' name='action' value='ConfigureDashlet'>
<input type='hidden' name='to_pdf' value='true'>
<input type='hidden' name='configure' value='true'>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="tabForm" align="center">
<tr>
<td valign='top' nowrap class='dataLabel'>Title</td>
<td colspan="4" valign='top' class='dataField'>
<input class="text" name="title" size='20' value='{$title}'> </td>
</tr>
<tr>
<td valign='top' nowrap class='dataLabel'>Period</td>
<td valign='top' class='dataField'>{$date}</td>
<td valign='top' class='dataField'>&nbsp;</td>
<td valign='top' class='dataField'>&nbsp;</td>
</tr>
<tr>
<td width="20%" valign='top' nowrap class='dataLabel'>&nbsp;</td>
<td width="20%" valign='top' class='dataField'>Show</td>
<td width="20%" valign='top' class='dataField'>Title</td>
<td width="20%" valign='top' class='dataField'>Order</td>
</tr>
<tr>
<td valign='top' nowrap class='dataLabel'>Sales</td>
<td valign='top' class='dataField'>{$sales}</td>
<td valign='top' class='dataField'>{$sales_title}</td>
<td valign='top' class='dataField'>{$sales_no}</td>
</tr>
<tr>
<td valign='top' nowrap class='dataLabel'>Sales in year</td>
<td valign='top' class='dataField'>{$sales_year}</td>
<td valign='top' class='dataField'>{$sales_year_title}</td>
<td valign='top' class='dataField'>{$sales_year_no}</td>
</tr>
<tr>
<td valign='top' nowrap class='dataLabel'>Order fulfillment</td>
<td valign='top' class='dataField'>{$percent}</td>
<td valign='top' class='dataField'>{$percent_title}</td>
<td valign='top' class='dataField'>{$percent_no}</td>
</tr>
<tr>
<td valign='top' nowrap class='dataLabel'>Quotes</td>
<td valign='top' class='dataField'>{$quotes}</td>
<td valign='top' class='dataField'>{$quotes_title}</td>
<td valign='top' class='dataField'>{$quotes_no}</td>
</tr>
<tr>
<td valign='top' nowrap class='dataLabel'>Orders</td>
<td valign='top' class='dataField'>{$orders}</td>
<td valign='top' class='dataField'>{$orders_title}</td>
<td valign='top' class='dataField'>{$orders_no}</td>
</tr>
<tr>
<td valign='top' nowrap class='dataLabel'>Stocks</td>
<td valign='top' class='dataField'>{$stocks}</td>
<td valign='top' class='dataField'>{$stocks_title}</td>
<td valign='top' class='dataField'>{$stocks_no}</td>
</tr>
<tr>
<td valign='top' nowrap class='dataLabel'>Products</td>
<td valign='top' class='dataField'>{$products}</td>
<td valign='top' class='dataField'>{$products_title}</td>
<td valign='top' class='dataField'>{$products_no}</td>
</tr>
<tr>
<td valign='top' nowrap class='dataLabel'>New products</td>
<td valign='top' class='dataField'>{$new_products}</td>
<td valign='top' class='dataField'>{$new_products_title}</td>
<td valign='top' class='dataField'>{$new_products_no}</td>
</tr>
<tr>
<td valign='top' nowrap class='dataLabel'>Payments</td>
<td valign='top' class='dataField'>{$payments}</td>
<td valign='top' class='dataField'>{$payments_title}</td>
<td valign='top' class='dataField'>{$payments_no}</td>
</tr>
<tr>
<td align="right" colspan="5">
<input type='submit' class='button' value='{$saveLbl}'> </td>
</tr>
</table>
</form>
</div>