Add TPL files
This commit is contained in:
96
ModuleInstall/PackageManager/tpls/ModuleLoaderListView.tpl
Executable file
96
ModuleInstall/PackageManager/tpls/ModuleLoaderListView.tpl
Executable file
@@ -0,0 +1,96 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
|
||||
*}
|
||||
|
||||
<table id='fileviewtable'>
|
||||
<tr height='20'>
|
||||
{counter start=0 name="colCounter" print=false assign="colCounter"}
|
||||
<th scope='col' width='5' nowrap="nowrap">view/hide</th>
|
||||
{foreach from=$displayColumns key=colHeader item=params}
|
||||
{if $params.show}
|
||||
<th scope='col' width='{$params.width}%' nowrap="nowrap">
|
||||
<span sugar="sugar{$colCounter}"><div style='white-space: nowrap;'width='100%' align='{$params.align|default:'left'}'>
|
||||
{sugar_translate label=$params.label module='Administration'}
|
||||
</div></span sugar='sugar{$colCounter}'>
|
||||
</th>
|
||||
{/if}
|
||||
{counter name="colCounter"}
|
||||
{/foreach}
|
||||
<th scope='col' width='5' nowrap="nowrap">Select</th>
|
||||
</tr>
|
||||
{foreach name=rowIteration from=$data key=package_id item=package}
|
||||
{if $smarty.foreach.rowIteration.iteration is odd}
|
||||
{assign var='_bgColor' value=$bgColor[0]}
|
||||
{assign var='_rowColor' value=$rowColor[0]}
|
||||
{else}
|
||||
{assign var='_bgColor' value=$bgColor[1]}
|
||||
{assign var='_rowColor' value=$rowColor[1]}
|
||||
{/if}
|
||||
|
||||
<tr id='package_tr_{$package_id}' height='20' class='{$_rowColor}S1'>
|
||||
<td scope='row' align='left' valign='top'><a class="listViewTdToolsS1" onclick="PackageManager.toggle_div('{$package_id}')" valign='top'><span id='span_toggle_package_{$package_id}'><img src='{sugar_getimagepath file="advanced_search.gif"}' width='8' height='8' alt='Advanced' border='0'> </span></a></td>
|
||||
{counter start=0 name="colCounter" print=false assign="colCounter"}
|
||||
{foreach from=$displayColumns key=col item=params}
|
||||
<td scope='row' align='{$params.align|default:'left'}' valign='top'><span sugar="sugar{$colCounter}b">
|
||||
{if $params.show}
|
||||
{$package.$col}
|
||||
{/if}
|
||||
</span sugar='sugar{$colCounter}b'>
|
||||
</td>
|
||||
{counter name="colCounter"}
|
||||
{/foreach}
|
||||
<td scope='row' align='left' valign='top'><a class="listViewTdToolsS1" onclick="PackageManager.select_package('{$package_id}')" valign='top'>Select</a></td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><table id='release_table_{$package_id}' style='display:none'>
|
||||
{foreach name=releaseIteration from=$package.releases key=release_id item=release}
|
||||
<tr id='release_tr_{$release_id}' height='20' class='{$_rowColor}S1'>
|
||||
{counter start=0 name="colCounter" print=false assign="colCounter"}
|
||||
{foreach from=$secondaryDisplayColumns key=col item=params}
|
||||
<td scope='row' align='{$params.align|default:'left'}' valign='top'><span sugar="sugar{$colCounter}b">
|
||||
{$release.$col}
|
||||
</span sugar='sugar{$colCounter}b'>
|
||||
</td>
|
||||
{counter name="colCounter"}
|
||||
{/foreach}
|
||||
<td scope='row' align='left' valign='top'><a class="listViewTdToolsS1" onclick="PackageManager.select_release('{$release_id}')" valign='top'>Select</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table></td></tr>
|
||||
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
105
ModuleInstall/PackageManager/tpls/PackageForm.tpl
Executable file
105
ModuleInstall/PackageManager/tpls/PackageForm.tpl
Executable file
@@ -0,0 +1,105 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
{$scripts}
|
||||
{$TREEHEADER}
|
||||
{literal}
|
||||
|
||||
<style type="text/css">
|
||||
#demo { width:100%; }
|
||||
#demo .yui-content {
|
||||
padding:1em; /* pad content container */
|
||||
}
|
||||
.list {list-style:square;width:500px;padding-left:16px;}
|
||||
.list li{padding:2px;font-size:8pt;}
|
||||
|
||||
/* hide the tab content while loading */
|
||||
.tab-content{display:none;}
|
||||
|
||||
pre {
|
||||
font-size:11px;
|
||||
}
|
||||
|
||||
#tabs1 {width:100%;}
|
||||
#tabs1 .yui-ext-tabbody {border:1px solid #999;border-top:none;}
|
||||
#tabs1 .yui-ext-tabitembody {display:none;padding:10px;}
|
||||
|
||||
/* default loading indicator for ajax calls */
|
||||
.loading-indicator {
|
||||
font-size:8pt;
|
||||
background-image:url('../../resources/images/grid/loading.gif');
|
||||
background-repeat: no-repeat;
|
||||
background-position: left;
|
||||
padding-left:20px;
|
||||
}
|
||||
/* height of the rows in the grids */
|
||||
.ygrid-row {
|
||||
height:27px;
|
||||
}
|
||||
.ygrid-col {
|
||||
height:27px !important;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{$INSTALLED_PACKAGES_HOLDER}
|
||||
<br>
|
||||
|
||||
<form action='{$form_action}' method="post" name="installForm">
|
||||
<input type=hidden name="release_id">
|
||||
{$hidden_fields}
|
||||
<div id='server_upload_div'>
|
||||
{$FORM_2_PLACE_HOLDER}
|
||||
{$MODULE_SELECTOR}
|
||||
<div id='search_results_div'></div>
|
||||
</div>
|
||||
</form>
|
||||
<div id='local_upload_div'>
|
||||
{$FORM_1_PLACE_HOLDER}
|
||||
</div>
|
||||
|
||||
{if $module_load == 'true'}
|
||||
<div id='upload_table'>
|
||||
<table width='100%'><tr><td><div id='patch_downloads' class='ygrid-mso' style='height:205px;'></div></td></tr></table>
|
||||
</div>
|
||||
|
||||
{literal}<script>
|
||||
//PackageManager.toggleView('browse');
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
50
ModuleInstall/PackageManager/tpls/PackageManagerLicense.tpl
Executable file
50
ModuleInstall/PackageManager/tpls/PackageManagerLicense.tpl
Executable file
@@ -0,0 +1,50 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<table>
|
||||
<tr>
|
||||
<td>{$MOD.LBL_MODULE_LICENSE}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><textarea id='license' cols='75' rows='8'>{$LICENSE_CONTENTS}</textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='radio' id='radio_license_agreement_accept' name='radio_license_agreement' value='accept'>{$MOD.LBL_ACCEPT} <input type='radio' id='radio_license_agreement_reject' name='radio_license_agreement' value='reject'>{$MOD.LBL_DENY}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr><td><input type='button' id='btnLicense' value='OK' onClick='PackageManager.processLicense("{$FILE}");' class='button'></td>
|
||||
</tr>
|
||||
</table>
|
||||
1084
ModuleInstall/PackageManager/tpls/PackageManagerScripts.tpl
Executable file
1084
ModuleInstall/PackageManager/tpls/PackageManagerScripts.tpl
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user