]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/ModuleBuilder/tpls/index.tpl
Release 6.4.0
[Github/sugarcrm.git] / modules / ModuleBuilder / tpls / index.tpl
1 {*
2 /*********************************************************************************
3  * SugarCRM Community Edition is a customer relationship management program developed by
4  * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
5  * 
6  * This program is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Affero General Public License version 3 as published by the
8  * Free Software Foundation with the addition of the following permission added
9  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
10  * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
11  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
12  * 
13  * This program is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
16  * details.
17  * 
18  * You should have received a copy of the GNU Affero General Public License along with
19  * this program; if not, see http://www.gnu.org/licenses or write to the Free
20  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21  * 02110-1301 USA.
22  * 
23  * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
24  * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
25  * 
26  * The interactive user interfaces in modified source and object code versions
27  * of this program must display Appropriate Legal Notices, as required under
28  * Section 5 of the GNU Affero General Public License version 3.
29  * 
30  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
31  * these Appropriate Legal Notices must retain the display of the "Powered by
32  * SugarCRM" logo. If the display of the logo is not reasonably feasible for
33  * technical reasons, the Appropriate Legal Notices must display the words
34  * "Powered by SugarCRM".
35  ********************************************************************************/
36
37 *}
38 <iframe id="yui-history-iframe" src="index.php?entryPoint=getImage&imageName=sugar-yui-sprites-grey.png" title="index.php?entryPoint=getImage&imageName=sugar-yui-sprites-grey.png"></iframe>
39 <input id="yui-history-field" type="hidden"> 
40 <div class='ytheme-gray' id='mblayout' style="position:relative; height:0px; overflow:visible;">
41 </div>
42 <div id='mbcenter'>
43 <div id='mbtabs'></div>
44 {$CENTER}
45 </div>
46
47 <div id='mbeast' class="x-layout-inactive-content">
48 {$PROPERTIES}
49 </div>
50 <div id='mbeast2' class="x-layout-inactive-content">
51 </div>
52 <div id='mbhelp' class="x-hidden"></div>
53 <div id='mbwest' class="x-hidden">
54 <div id='package_tree' class="x-hidden"></div>
55 {$TREE}
56 </div>
57 <div id='mbsouth' class="x-hidden">
58 </div>
59 {$tiny}
60 <script>
61 ModuleBuilder.setMode('{$TYPE}');
62 closeMenus();
63 {literal}
64 //document.getElementById('HideHandle').parentNode.style.display = 'none';
65 var MBLoader = new YAHOO.util.YUILoader({
66     require : ["layout", "element", "tabview", "treeview", "history", "cookie", "sugarwidgets"],
67     loadOptional: true,
68     skin: { base: 'blank', defaultSkin: '' },
69         onSuccess: ModuleBuilder.init,
70     allowRollup: true,
71     base: "include/javascript/yui/build/"
72 });
73 MBLoader.addModule({
74     name :"sugarwidgets",
75     type : "js",
76     fullpath: "include/javascript/sugarwidgets/SugarYUIWidgets.js",
77     varName: "YAHOO.SUGAR",
78     requires: ["datatable", "dragdrop", "treeview", "tabview"]
79 });
80 MBLoader.insert();
81 {/literal}
82 </script>
83 <div id="footerHTML" class="y-hidden">
84     <table width="100%" cellpadding="0" cellspacing="0"><tr><td nowrap="nowrap">
85     <input type="button" class="button" value="{$mod.LBL_HOME}" onclick="ModuleBuilder.main('home');">
86     {if $TEST_STUDIO == true}
87     <input type="button" class="button" value="{$mod.LBL_STUDIO}" onclick="ModuleBuilder.main('studio');">
88     {/if}
89     {if $ADMIN == true}
90     <input type="button" class="button" value="{$mod.LBL_MODULEBUILDER}" onclick="ModuleBuilder.main('mb');">
91     {/if}
92     <input type="button" class="button" value="{$mod.LBL_DROPDOWNEDITOR}" onclick="ModuleBuilder.main('dropdowns');">
93     </td><td align="left">
94         <img height="18" width="83" class="img" src="include/images/poweredby_sugarcrm.png" border="0" align="absmiddle"/>
95      </td></tr></table>
96 </div>
97 {include file='modules/ModuleBuilder/tpls/assistantJavascript.tpl'}