+
+
+
+
+ {$MOD.LBL_ECMPRICEBOOK_INFORMATION}
+
+
+
+ {$MOD.LBL_NAME} {$APP.LBL_REQUIRED_SYMBOL}
+
+
+
+
+
diff --git a/include/CreateView/CreateView.tpl b/include/CreateView/CreateView.tpl
new file mode 100755
index 00000000..0879ac64
--- /dev/null
+++ b/include/CreateView/CreateView.tpl
@@ -0,0 +1,173 @@
+{*
+/*********************************************************************************
+* SugarCRM is a customer relationship management program developed by
+* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+*
+* This program is free software; you can redistribute it and/or modify it under
+* the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+*
+* In accordance with Section 7(b) of the GNU Affero 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".
+********************************************************************************/
+*}
+
+{{include file=$headerTpl}}
+{sugar_include include=$includes}
+
+
+
+{{include file=$footerTpl}}
+
+{{if $useTabs}}
+
+
+{{/if}}
diff --git a/include/CreateView/QuickCreate.tpl b/include/CreateView/QuickCreate.tpl
new file mode 100755
index 00000000..11d8499d
--- /dev/null
+++ b/include/CreateView/QuickCreate.tpl
@@ -0,0 +1,37 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+{{include file="/include/EditView/EditView.tpl"}}
diff --git a/include/CreateView/footer.tpl b/include/CreateView/footer.tpl
new file mode 100755
index 00000000..0e85138a
--- /dev/null
+++ b/include/CreateView/footer.tpl
@@ -0,0 +1,61 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+{{if empty($form.button_location) || $form.button_location == 'bottom'}}
+
+{{if !empty($form) && !empty($form.buttons)}}
+ {{foreach from=$form.buttons key=val item=button}}
+ {{sugar_button module="$module" id="$button" view="$view"}}
+ {{/foreach}}
+{{else}}
+{{sugar_button module="$module" id="SAVE" view="$view"}}
+{{sugar_button module="$module" id="CANCEL" view="$view"}}
+{{/if}}
+{{sugar_button module="$module" id="Audit" view="$view"}}
+
+{{/if}}
+
+{{if $externalJSFile}}
+require_once("'".$externalJSFile."'");
+{{/if}}
+
+{$set_focus_block}
+
+{{if isset($scriptBlocks)}}
+
+{{$scriptBlocks}}
+
+{{/if}}
diff --git a/include/Dashlets/DashletGenericChartConfigure.tpl b/include/Dashlets/DashletGenericChartConfigure.tpl
new file mode 100755
index 00000000..f6c2aa3f
--- /dev/null
+++ b/include/Dashlets/DashletGenericChartConfigure.tpl
@@ -0,0 +1,82 @@
+{*
+
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+
+
+
+*}
+
+
+
\ No newline at end of file
diff --git a/include/Dashlets/DashletGenericChartScript.tpl b/include/Dashlets/DashletGenericChartScript.tpl
new file mode 100755
index 00000000..3ae33f9b
--- /dev/null
+++ b/include/Dashlets/DashletGenericChartScript.tpl
@@ -0,0 +1,44 @@
+{*
+
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+
+
+
+*}
+
+
diff --git a/include/Dashlets/DashletGenericConfigure.tpl b/include/Dashlets/DashletGenericConfigure.tpl
new file mode 100755
index 00000000..af9035bf
--- /dev/null
+++ b/include/Dashlets/DashletGenericConfigure.tpl
@@ -0,0 +1,123 @@
+{*
+
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+
+
+
+*}
+
+
+
\ No newline at end of file
diff --git a/include/Dashlets/DashletGenericDisplay.tpl b/include/Dashlets/DashletGenericDisplay.tpl
new file mode 100755
index 00000000..61776cb1
--- /dev/null
+++ b/include/Dashlets/DashletGenericDisplay.tpl
@@ -0,0 +1,203 @@
+{*
+
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+
+
+
+*}
+
+
+
diff --git a/include/DetailView/DetailView.tpl b/include/DetailView/DetailView.tpl
new file mode 100755
index 00000000..ec644e08
--- /dev/null
+++ b/include/DetailView/DetailView.tpl
@@ -0,0 +1,142 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+{{include file=$headerTpl}}
+{sugar_include include=$includes}
+
+ {{if $useTabs}}
+ {* Generate the Tab headers *}
+ {{counter name="tabCount" start=-1 print=false assign="tabCount"}}
+
+ {{/if}}
+
+{{* Loop through all top level panels first *}}
+{{counter name="panelCount" print=false start=0 assign="panelCount"}}
+{{foreach name=section from=$sectionPanels key=label item=panel}}
+{{assign var='panel_id' value=$panelCount}}
+
+{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"}
+{{* Print out the panel title if one exists*}}
+
+{{* Check to see if the panel variable is an array, if not, we'll attempt an include with type param php *}}
+{{* See function.sugar_include.php *}}
+{{if !is_array($panel)}}
+ {sugar_include type='php' file='{{$panel}}'}
+{{else}}
+
+ {{if !empty($label) && !is_int($label) && $label != 'DEFAULT' && !$useTabs}}
+
{sugar_translate label='{{$label}}' module='{{$module}}'}
+ {{/if}}
+ {{* Print out the table data *}}
+
+
+
+
+ {{foreach name=rowIteration from=$panel key=row item=rowData}}
+
+ {{assign var='columnsInRow' value=$rowData|@count}}
+ {{assign var='columnsUsed' value=0}}
+ {{foreach name=colIteration from=$rowData key=col item=colData}}
+
+ {{if isset($colData.field.customLabel)}}
+ {{$colData.field.customLabel}}
+ {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}}
+ {capture name="label" assign="label"}
+ {{$colData.field.label}}
+ {/capture}
+ {$label|strip_semicolon}:
+ {{elseif isset($colData.field.label)}}
+ {capture name="label" assign="label"}
+ {sugar_translate label='{{$colData.field.label}}' module='{{$module}}'}
+ {/capture}
+ {$label|strip_semicolon}:
+ {{elseif isset($fields[$colData.field.name])}}
+ {capture name="label" assign="label"}
+ {sugar_translate label='{{$fields[$colData.field.name].vname}}' module='{{$module}}'}
+ {/capture}
+ {$label|strip_semicolon}:
+ {{else}}
+
+ {{/if}}
+
+
+ {{if $colData.field.customCode || $colData.field.assign}}
+ {counter name="panelFieldCount"}
+ {{sugar_evalcolumn var=$colData.field colData=$colData}}
+ {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }}
+ {{foreach from=$colData.field.fields item=subField}}
+ {{if $fields[$subField]}}
+ {counter name="panelFieldCount"}
+ {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='DetailView'}}
+ {{else}}
+ {counter name="panelFieldCount"}
+ {{$subField}}
+ {{/if}}
+ {{/foreach}}
+ {{elseif $fields[$colData.field.name]}}
+ {counter name="panelFieldCount"}
+ {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='DetailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}}
+ {{/if}}
+
+ {{/foreach}}
+
+ {{/foreach}}
+
+{{/if}}
+
+{if $panelFieldCount == 0}
+
+
+{/if}
+{{/foreach}}
+
+{{include file=$footerTpl}}
+{{if $useTabs}}
+
+
+{{/if}}
\ No newline at end of file
diff --git a/include/DetailView/footer.tpl b/include/DetailView/footer.tpl
new file mode 100755
index 00000000..07ce6a79
--- /dev/null
+++ b/include/DetailView/footer.tpl
@@ -0,0 +1,37 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+
\ No newline at end of file
diff --git a/include/DetailView/header.tpl b/include/DetailView/header.tpl
new file mode 100755
index 00000000..ff4c246c
--- /dev/null
+++ b/include/DetailView/header.tpl
@@ -0,0 +1,114 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+{{* Add the preForm code if it is defined (used for vcards) *}}
+{{if $preForm}}
+ {{$preForm}}
+{{/if}}
+
+
+
+
+
+ {{/if}}
+ {{if count($form.buttons) > $num_buttons}}
+ {{foreach from=$form.buttons key=val item=button}}
+ {{if is_array($button) && $button.customCode}}
+
+ {{sugar_button module="$module" id="$button" view="EditView"}}
+
+ {{/if}}
+ {{/foreach}}
+ {{/if}}
+{{/if}}
+{{if !isset($closeFormBeforeCustomButtons)}}
+
+
+{{/if}}
+{{if empty($form.hideAudit) || !$form.hideAudit}}
+
+{{sugar_button module="$module" id="Audit" view="EditView"}}
+
+{{/if}}
+{$ADMIN_EDIT}
+ {{if $panelCount == 0}}
+ {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}}
+ {{if $SHOW_VCR_CONTROL}}
+ {$PAGINATION}
+ {{/if}}
+ {{counter name="panelCount" print=false}}
+ {{/if}}
+
+{{* Add $form.links if they are defined *}}
+{{if !empty($form) && isset($form.links)}}
+
+
+ {{foreach from=$form.links item=link}}
+ {{$link}}
+ {{/foreach}}
+
+{{/if}}
+
+
\ No newline at end of file
diff --git a/include/ECM/EcmDropdownEditor/EditView.tpl b/include/ECM/EcmDropdownEditor/EditView.tpl
new file mode 100755
index 00000000..52585457
--- /dev/null
+++ b/include/ECM/EcmDropdownEditor/EditView.tpl
@@ -0,0 +1,51 @@
+
+
+{sugar_translate label='LBL_DROPDOWNEDITOR' module='Home'}
+{foreach from=$DROPDOWNS item=DOM key=NAME}
+
+
+
+
+
+
+
+ {foreach from=$DOM item=VAL key=KEY}
+
+
+
+
+ {assign var="showed" value="0"}
+ {foreach from=$VAL item=I key=L}
+
+
+ {if $NAME=='ecmproducts_unit_dom'}
+
+
+ ( {$LANGUAGES[$L]} )
+ {if $NAME=='ecmproducts_unit_dom' && $showed==0}
+
+ ( Precyzja )
+ {assign var="showed" value="1"}
+ {/if}
+ {else}
+
+
+ ( {$LANGUAGES[$L]} )
+ {/if}
+ {/foreach}
+
+
+ {/foreach}
+
+
+{/foreach}
+
\ No newline at end of file
diff --git a/include/ECM/EcmDropdownEditor/addOption.tpl b/include/ECM/EcmDropdownEditor/addOption.tpl
new file mode 100755
index 00000000..06da3a15
--- /dev/null
+++ b/include/ECM/EcmDropdownEditor/addOption.tpl
@@ -0,0 +1,8 @@
+
+ {foreach from=$LANGUAGES key=ID item=VAL}
+
+
+ ( {$VAL} )
+ {/foreach}
+
+
\ No newline at end of file
diff --git a/include/ECM/EcmDropdownEditor/createOptions.tpl b/include/ECM/EcmDropdownEditor/createOptions.tpl
new file mode 100755
index 00000000..206f17b8
--- /dev/null
+++ b/include/ECM/EcmDropdownEditor/createOptions.tpl
@@ -0,0 +1,4 @@
+{foreach from=$OPTIONS key=ID item=VAL}
+{$VAL}
+{/foreach}
+
diff --git a/include/ECM/EcmSendPdfButton/EcmSendPdfButton.tpl b/include/ECM/EcmSendPdfButton/EcmSendPdfButton.tpl
new file mode 100755
index 00000000..f7389d19
--- /dev/null
+++ b/include/ECM/EcmSendPdfButton/EcmSendPdfButton.tpl
@@ -0,0 +1,21 @@
+
+
+
+
+
+ Wybierz email:
+
+ {foreach from=$EMAILLIST item=email}
+ {$email}
+ {/foreach}
+
+ {if !empty($PDF_OPT)}
+ {$PDF_OPT}
+ {/if}
+ Treść:
+
+
\ No newline at end of file
diff --git a/include/ECM/EcmViews/DetailView/Tabs/DetailView.tpl b/include/ECM/EcmViews/DetailView/Tabs/DetailView.tpl
new file mode 100755
index 00000000..14b0d882
--- /dev/null
+++ b/include/ECM/EcmViews/DetailView/Tabs/DetailView.tpl
@@ -0,0 +1,357 @@
+{*
+
+/*********************************************************************************
+
+ * 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".
+
+ ********************************************************************************/
+
+*}
+
+{{include file="include/ECM/EcmViews/DetailView/Tabs/header.tpl"}}
+
+{sugar_include include=$includes}
+
+
+
+ {{* Render tag for VCR control if SHOW_VCR_CONTROL is true *}}
+
+ {{if $SHOW_VCR_CONTROL}}
+
+
+
+ {{/if}}
+
+
+
+
+
+
+
+{literal}
+
+
+
+{/literal}
+
+
+
+
+
+{{counter name="panelCount" start=-1 print=false assign="panelCount"}}
+{{foreach name=section from=$sectionPanels key=label item=panel}}
+{{counter name="panelCount" print=false}}
+
+ {{assign var='tab_label' value=$label|replace:"LBL_":""|replace:"_TAB":""}}
+
+
+{{/foreach}}
+
+
+
+
+
+{{* Loop through all top level panels first *}}
+
+{{counter name="panelCount" print=false start=0 assign="panelCount"}}
+
+{{foreach name=section from=$sectionPanels key=label item=panel}}
+
+{{assign var='panel_id' value=$panelCount}}
+
+{{assign var='tab_label' value=$label|replace:"LBL_":""|replace:"_TAB":""}}
+
+ 0}}style="display:none"{{/if}} id='panel_{{$tab_label}}'>
+
+{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"}
+
+{{* Print out the panel title if one exists*}}
+
+
+
+{{* Check to see if the panel variable is an array, if not, we'll attempt an include with type param php *}}
+
+{{* See function.sugar_include.php *}}
+
+{{if !is_array($panel)}}
+
+ {sugar_include type='php' file='{{$panel}}'}
+
+{{else}}
+
+
+
+
+
+
+
+ {{* Print out the table data *}}
+
+
+
+ {{* Only show header if it is not default or an int value *}}
+
+ {{if !empty($label) && !is_int($label) && $label != 'DEFAULT'}}
+
+
+
+ {sugar_translate label='{{$label|replace:"_TAB":""}}' module='{{$module}}'}
+
+
+
+ {{/if}}
+
+ {{if $panelCount == 0}}
+
+ {{counter name="panelCount" print=false}}
+
+ {{/if}}
+
+ {{foreach name=rowIteration from=$panel key=row item=rowData}}
+
+
+
+ {{assign var='columnsInRow' value=$rowData|@count}}
+
+ {{assign var='columnsUsed' value=0}}
+
+ {{foreach name=colIteration from=$rowData key=col item=colData}}
+
+
+
+
+
+
+
+ {{if $colData.field.allCols == false}}
+
+
+
+ {{if isset($colData.field.customLabel)}}
+
+ {{$colData.field.customLabel}}
+
+ {{elseif isset($colData.field.label) && strpos($colData.field.label, '$')}}
+
+ {capture name="label" assign="label"}
+
+ {{$colData.field.label}}
+
+ {/capture}
+
+ {$label|strip_semicolon}:
+
+ {{elseif isset($colData.field.label)}}
+
+ {capture name="label" assign="label"}
+
+ {sugar_translate label='{{$colData.field.label}}' module='{{$module}}'}
+
+ {/capture}
+
+ {$label|strip_semicolon}:
+
+ {{elseif isset($fields[$colData.field.name])}}
+
+ {capture name="label" assign="label"}
+
+ {sugar_translate label='{{$fields[$colData.field.name].vname}}' module='{{$module}}'}
+
+ {/capture}
+
+ {$label|strip_semicolon}:
+
+ {{else}}
+
+
+
+ {{/if}}
+
+
+
+ {{/if}}
+
+
+
+ {{if $colData.field.customCode || $colData.field.assign}}
+
+ {counter name="panelFieldCount"}
+
+ {{sugar_evalcolumn var=$colData.field colData=$colData}}
+
+ {{elseif $fields[$colData.field.name] && !empty($colData.field.fields) }}
+
+ {{foreach from=$colData.field.fields item=subField}}
+
+ {{if $fields[$subField]}}
+
+ {counter name="panelFieldCount"}
+
+ {{sugar_field parentFieldArray='fields' tabindex=$tabIndex vardef=$fields[$subField] displayType='detailView'}}
+
+ {{else}}
+
+ {counter name="panelFieldCount"}
+
+ {{$subField}}
+
+ {{/if}}
+
+ {{/foreach}}
+
+ {{elseif $fields[$colData.field.name]}}
+
+ {counter name="panelFieldCount"}
+
+ {{sugar_field parentFieldArray='fields' vardef=$fields[$colData.field.name] displayType='detailView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type}}
+
+ {{/if}}
+
+
+
+
+
+
+
+ {{/foreach}}
+
+
+
+ {{/foreach}}
+
+
+
+
+
+{{/if}}
+
+
+
+
+{{/foreach}}
+
+{{include file="include/ECM/EcmViews/DetailView/Tabs/footer.tpl"}}
+
diff --git a/include/ECM/EcmViews/DetailView/Tabs/footer.tpl b/include/ECM/EcmViews/DetailView/Tabs/footer.tpl
new file mode 100755
index 00000000..4fbd7c19
--- /dev/null
+++ b/include/ECM/EcmViews/DetailView/Tabs/footer.tpl
@@ -0,0 +1,37 @@
+{*
+/*********************************************************************************
+ * 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".
+ ********************************************************************************/
+*}
+
diff --git a/include/ECM/EcmViews/DetailView/Tabs/header.tpl b/include/ECM/EcmViews/DetailView/Tabs/header.tpl
new file mode 100755
index 00000000..f2a26aae
--- /dev/null
+++ b/include/ECM/EcmViews/DetailView/Tabs/header.tpl
@@ -0,0 +1,106 @@
+{*
+/*********************************************************************************
+ * 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".
+ ********************************************************************************/
+*}
+{{* Add the preForm code if it is defined (used for vcards) *}}
+{{if $preForm}}
+ {{$preForm}}
+{{/if}}
+
+
+
+
+
+
+ {{/if}}
+ {{if count($form.buttons) > $num_buttons}}
+ {{foreach from=$form.buttons key=val item=button}}
+ {{if is_array($button) && $button.customCode}}
+
+ {{sugar_button module="$module" id="$button" view="EditView"}}
+
+ {{/if}}
+ {{/foreach}}
+ {{/if}}
+{{/if}}
+{{if !isset($closeFormBeforeCustomButtons)}}
+
+
+{{/if}}
+{{if empty($form.hideAudit) || !$form.hideAudit}}
+
+{{sugar_button module="$module" id="Audit" view="EditView"}}
+
+{{/if}}
+{$ADMIN_EDIT}
+{{* Add $form.links if they are defined *}}
+{{if !empty($form) && isset($form.links)}}
+
+
+ {{foreach from=$form.links item=link}}
+ {{$link}}
+ {{/foreach}}
+
+{{/if}}
+
+
diff --git a/include/ECM/EcmViews/EditView/Tabs/EditView.tpl b/include/ECM/EcmViews/EditView/Tabs/EditView.tpl
new file mode 100755
index 00000000..6abe980f
--- /dev/null
+++ b/include/ECM/EcmViews/EditView/Tabs/EditView.tpl
@@ -0,0 +1,419 @@
+{*
+
+/*********************************************************************************
+
+ * 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".
+
+ ********************************************************************************/
+
+*}
+
+
+
+{literal}
+
+
+
+{/literal}
+
+
+
+{{include file='include/ECM/EcmViews/EditView/Tabs/header.tpl'}}
+
+{sugar_include include=$includes}
+
+
+
+
+
+
+
+{literal}
+
+
+
+{/literal}
+
+
+
+
+
+{{counter name="panelCount" start=-1 print=false assign="panelCount"}}
+{{foreach name=section from=$sectionPanels key=label item=panel}}
+{{counter name="panelCount" print=false}}
+
+ {{assign var='tab_label' value=$label|replace:"LBL_":""|replace:"_TAB":""}}
+
+
+{{/foreach}}
+
+
+
+
+
+{{* Loop through all top level panels first *}}
+
+{{counter name="panelCount" start=-1 print=false assign="panelCount"}}
+
+
+
+{{foreach name=section from=$sectionPanels key=label item=panel}}
+
+{{counter name="panelCount" print=false}}
+
+{{assign var='tab_label' value=$label|replace:"LBL_":""|replace:"_TAB":""}}
+
+
+{{* Print out the table data *}}
+
+
+
+
+{counter name="panelFieldCount" start=0 print=false assign="panelFieldCount"}
+
+{{* Check to see if the panel variable is an array, if not, we'll attempt an include with type param php *}}
+
+{{* See function.sugar_include.php *}}
+
+{{if !is_array($panel)}}
+
+ {sugar_include type='php' file='{{$panel}}'}
+
+{{else}}
+
+
+
+
+
+
+
+{{/if}}
+
+
+
+
+
+
+{{/foreach}}
+
+{{include file='include/ECM/EcmViews/EditView/Tabs/footer.tpl'}}
\ No newline at end of file
diff --git a/include/ECM/EcmViews/EditView/Tabs/footer.tpl b/include/ECM/EcmViews/EditView/Tabs/footer.tpl
new file mode 100755
index 00000000..e086ae8f
--- /dev/null
+++ b/include/ECM/EcmViews/EditView/Tabs/footer.tpl
@@ -0,0 +1,61 @@
+{*
+/*********************************************************************************
+ * 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".
+ ********************************************************************************/
+*}
+{{if empty($form.button_location) || $form.button_location == 'bottom'}}
+
+{{if !empty($form) && !empty($form.buttons)}}
+ {{foreach from=$form.buttons key=val item=button}}
+ {{sugar_button module="$module" id="$button" view="$view"}}
+ {{/foreach}}
+{{else}}
+{{sugar_button module="$module" id="SAVE" view="$view"}}
+{{sugar_button module="$module" id="CANCEL" view="$view"}}
+{{/if}}
+{{sugar_button module="$module" id="Audit" view="$view"}}
+
+{{/if}}
+
+{{if $externalJSFile}}
+require_once("'".$externalJSFile."'");
+{{/if}}
+
+{$set_focus_block}
+
+{{if isset($scriptBlocks)}}
+
+{{$scriptBlocks}}
+
+{{/if}}
diff --git a/include/ECM/EcmViews/EditView/Tabs/header.tpl b/include/ECM/EcmViews/EditView/Tabs/header.tpl
new file mode 100755
index 00000000..569f2f6d
--- /dev/null
+++ b/include/ECM/EcmViews/EditView/Tabs/header.tpl
@@ -0,0 +1,79 @@
+{*
+/*********************************************************************************
+ * 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".
+ ********************************************************************************/
+*}
+
+{{if $externalJSFile}}
+require_once("'".$externalJSFile."'");
+{{/if}}
+
+{$set_focus_block}
+
+{{if isset($scriptBlocks)}}
+
+{{$scriptBlocks}}
+
+{{/if}}
diff --git a/include/EditView/header.tpl b/include/EditView/header.tpl
new file mode 100755
index 00000000..4d0d4460
--- /dev/null
+++ b/include/EditView/header.tpl
@@ -0,0 +1,90 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+
+
+
diff --git a/include/MVC/View/tpls/modulelistmenu.tpl b/include/MVC/View/tpls/modulelistmenu.tpl
new file mode 100755
index 00000000..e757242d
--- /dev/null
+++ b/include/MVC/View/tpls/modulelistmenu.tpl
@@ -0,0 +1,41 @@
+{*
+
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+
+
+
+*}
+[{foreach from=$LAST_VIEWED item=item name=lastViewed}{ldelim}"text":"{$item.item_summary_short}","url": "{sugar_link module=$item.module_name action='DetailView' record=$item.item_id link_only=1}"{rdelim}{if !$smarty.foreach.lastViewed.last},{/if}{foreachelse}{ldelim} "text": "{$APP.NTC_NO_ITEMS_DISPLAY}"{rdelim}{/foreach}]
\ No newline at end of file
diff --git a/include/MySugar/tpls/MySugar.tpl b/include/MySugar/tpls/MySugar.tpl
new file mode 100755
index 00000000..4a153d4c
--- /dev/null
+++ b/include/MySugar/tpls/MySugar.tpl
@@ -0,0 +1,178 @@
+{*
+
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+
+
+
+*}
+{literal}
+
+{/literal}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {foreach from=$divPages key=divPageIndex item=divPageNum}
+
+
+ {/foreach}
+
+
+
+
+
+
+
+
+{literal}
+
+{/literal}
+
+
diff --git a/include/MySugar/tpls/addDashletsDialog.tpl b/include/MySugar/tpls/addDashletsDialog.tpl
new file mode 100755
index 00000000..55ad1ec3
--- /dev/null
+++ b/include/MySugar/tpls/addDashletsDialog.tpl
@@ -0,0 +1,153 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+
+
+{if $moduleName == 'Home'}
+
+{/if}
+
+{if $moduleName == 'Home'}
+
+
{sugar_translate label='LBL_MODULES' module='Home'}
+
+
+ {counter assign=rowCounter start=0 print=false}
+ {foreach from=$modules item=module}
+ {if $rowCounter % 2 == 0}
+
+ {/if}
+ {$module.icon} {$module.title}
+ {if $rowCounter % 2 == 1}
+
+ {/if}
+ {counter}
+ {/foreach}
+
+
+
+{/if}
+
+ {if $charts != false}
+
{sugar_translate label='LBL_BASIC_CHARTS' module='Home'}
+
+ {/if}
+
+
+{if $moduleName == 'Home'}
+
+{/if}
+
+{if $moduleName == 'Home'}
+
+
{sugar_translate label='LBL_WEBSITE_TITLE' module='Home'}
+
+
+
{sugar_translate label='LBL_RSS_TITLE' module='Home'}
+
+
+
+{/if}
+
+
+
\ No newline at end of file
diff --git a/include/MySugar/tpls/chartDashletsSearchResults.tpl b/include/MySugar/tpls/chartDashletsSearchResults.tpl
new file mode 100755
index 00000000..5565bbda
--- /dev/null
+++ b/include/MySugar/tpls/chartDashletsSearchResults.tpl
@@ -0,0 +1,48 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+{$lblSearchResults} - {$searchString} :
+
+{if count($charts)}
+{sugar_translate label='LBL_BASIC_CHARTS' module='Home'}
+
+{/if}
diff --git a/include/MySugar/tpls/dashletsSearchResults.tpl b/include/MySugar/tpls/dashletsSearchResults.tpl
new file mode 100755
index 00000000..4a7504da
--- /dev/null
+++ b/include/MySugar/tpls/dashletsSearchResults.tpl
@@ -0,0 +1,54 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+{$lblSearchResults} - {$searchString} :
+
+{if count($dashlets)}
+{$searchCategoryString}
+
+ {counter assign=rowCounter start=0 print=false}
+ {foreach from=$dashlets item=module}
+ {if $rowCounter % 2 == 0}
+
+ {/if}
+ {$module.icon} {$module.title}
+ {if $rowCounter % 2 == 1}
+
+ {/if}
+ {counter}
+ {/foreach}
+
+{/if}
\ No newline at end of file
diff --git a/include/MySugar/tpls/retrievePage.tpl b/include/MySugar/tpls/retrievePage.tpl
new file mode 100755
index 00000000..0cf9e8a1
--- /dev/null
+++ b/include/MySugar/tpls/retrievePage.tpl
@@ -0,0 +1,91 @@
+{*
+
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+
+
+
+
+
+
+ {if $numCols > 1}
+
+ {if $numCols > 2}
+
+
+
+
+
+
+
+ {/if}
+ {if $numCols > 1}
+
+
+
+
+
+
+ {/if}
+
+ {/if}
+
+ {counter assign=hiddenCounter start=0 print=false}
+ {foreach from=$columns key=colNum item=data}
+
+
+
+ {foreach from=$data.dashlets key=id item=dashlet}
+
+
+ {$dashlet.script}
+ {$dashlet.displayHeader}
+ {$dashlet.display}
+ {$dashlet.displayFooter}
+
+
+ {/foreach}
+
+
+
+ {counter}
+ {/foreach}
+
+
+
+
+
+
diff --git a/include/MySugar/tpls/retrieveReportCharts.tpl b/include/MySugar/tpls/retrieveReportCharts.tpl
new file mode 100755
index 00000000..6aadac9f
--- /dev/null
+++ b/include/MySugar/tpls/retrieveReportCharts.tpl
@@ -0,0 +1,43 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+
+ {foreach from=$reportCharts item=chart}
+
+ {$chart.title}
+
+ {/foreach}
+
\ No newline at end of file
diff --git a/include/Popups/tpls/PopupGeneric.tpl b/include/Popups/tpls/PopupGeneric.tpl
new file mode 100755
index 00000000..17ca296a
--- /dev/null
+++ b/include/Popups/tpls/PopupGeneric.tpl
@@ -0,0 +1,258 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+
+
+
+*}
+{{include file=$headerTpl}}
+{$jsLang}
+{$LIST_HEADER}
+{if $should_process}
+
+ {if $prerow}
+
+ {/if}
+{else}
+ {$APP.LBL_SEARCH_POPULATE_ONLY}
+{/if}
+{{include file=$footerTpl}}
\ No newline at end of file
diff --git a/include/Popups/tpls/footer.tpl b/include/Popups/tpls/footer.tpl
new file mode 100755
index 00000000..2c5c7ea8
--- /dev/null
+++ b/include/Popups/tpls/footer.tpl
@@ -0,0 +1,51 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+{{if $prerow}}
+
+ {{/if}}
+{literal}
+
+{/literal}
\ No newline at end of file
diff --git a/include/Popups/tpls/header.tpl b/include/Popups/tpls/header.tpl
new file mode 100755
index 00000000..6d35a758
--- /dev/null
+++ b/include/Popups/tpls/header.tpl
@@ -0,0 +1,117 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+
+
+
+
+
+
+{{if isset($formData)}}
+{$SEARCH_FORM_HEADER}
+
+{{/if}}
+{{if isset($ADDFORM)}}
+
+{{if isset($popupMeta)}}
+
+
+
+{{/if}}
+
+
+{{/if}}
+{{if $prerow}}
+
+{literal}
+
+{/literal}
diff --git a/include/SearchForm/tpls/header.tpl b/include/SearchForm/tpls/header.tpl
new file mode 100755
index 00000000..a452a2f9
--- /dev/null
+++ b/include/SearchForm/tpls/header.tpl
@@ -0,0 +1,53 @@
+{*
+/*********************************************************************************
+ * SugarCRM is a customer relationship management program developed by
+ * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Affero 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 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, 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 Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero 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".
+ ********************************************************************************/
+*}
+
+
+{$TABS}
+{{if $displayView == saved_views }}
+{literal}
+
+{/literal}
+{{/if}}
+