2 /*********************************************************************************
3 * SugarCRM Community Edition is a customer relationship management program developed by
4 * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
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.
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
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
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.
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.
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 ********************************************************************************/
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;">
43 <div id='mbtabs'></div>
47 <div id='mbeast' class="x-layout-inactive-content">
50 <div id='mbeast2' class="x-layout-inactive-content">
52 <div id='mbhelp' class="x-hidden"></div>
53 <div id='mbwest' class="x-hidden">
54 <div id='package_tree' class="x-hidden"></div>
57 <div id='mbsouth' class="x-hidden">
61 ModuleBuilder.setMode('{$TYPE}');
64 //document.getElementById('HideHandle').parentNode.style.display = 'none';
65 var MBLoader = new YAHOO.util.YUILoader({
66 require : ["layout", "element", "tabview", "treeview", "history", "cookie", "sugarwidgets"],
68 skin: { base: 'blank', defaultSkin: '' },
69 onSuccess: ModuleBuilder.init,
71 base: "include/javascript/yui/build/"
76 fullpath: "include/javascript/sugarwidgets/SugarYUIWidgets.js",
77 varName: "YAHOO.SUGAR",
78 requires: ["datatable", "dragdrop", "treeview", "tabview"]
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');">
90 <input type="button" class="button" value="{$mod.LBL_MODULEBUILDER}" onclick="ModuleBuilder.main('mb');">
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"/>
97 {include file='modules/ModuleBuilder/tpls/assistantJavascript.tpl'}