init
This commit is contained in:
64
themes/ModernAqua/js/style.js
Normal file
64
themes/ModernAqua/js/style.js
Normal file
@@ -0,0 +1,64 @@
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
|
||||
YAHOO.util.Event.onDOMReady(function(){
|
||||
var module = (tmp = document.location.search.match(/module=([a-zA-Z0-9_]*)/)) ? tmp[1] : '';
|
||||
var action = (tmp = document.location.search.match(/action=([a-zA-Z0-9_]*)/)) ? tmp[1] : 'index';
|
||||
if (module=='') module = typeof(module_sugar_grp1)!='undefined' ? module_sugar_grp1 : 'Home';
|
||||
document.body.id = module;
|
||||
document.body.className += (document.body.className) ? ' '+action : action;
|
||||
});
|
||||
YAHOO.util.Event.onAvailable('sitemapLinkSpan',function(){
|
||||
document.getElementById('sitemapLinkSpan').onclick=function(){
|
||||
ajaxStatus.showStatus(SUGAR.language.get('app_strings','LBL_LOADING_PAGE'));
|
||||
var smMarkup='';
|
||||
var callback = {
|
||||
success:function(r){
|
||||
ajaxStatus.hideStatus();
|
||||
document.getElementById('sm_holder').innerHTML=r.responseText;
|
||||
with(document.getElementById('sitemap').style){
|
||||
display="block";position="absolute";
|
||||
right=0;
|
||||
top=80;
|
||||
}
|
||||
document.getElementById('sitemapClose').onclick=function(){
|
||||
document.getElementById('sitemap').style.display="none";
|
||||
}
|
||||
}
|
||||
}
|
||||
postData='module=Home&action=sitemap&GetSiteMap=now&sugar_body_only=true';
|
||||
YAHOO.util.Connect.asyncRequest('POST','index.php',callback,postData);
|
||||
}
|
||||
});
|
||||
38
themes/ModernAqua/layout_utils.php
Normal file
38
themes/ModernAqua/layout_utils.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
|
||||
// Only for backwards compatibility with older modules; purposely blank
|
||||
$GLOBALS['log']->deprecated('calling layout_utils.php is deprecated');
|
||||
47
themes/ModernAqua/themedef.php
Normal file
47
themes/ModernAqua/themedef.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
|
||||
$themedef = array(
|
||||
'name' => "Modern Aqua",
|
||||
'description' => "MacOSX-like theme by CogniTom",
|
||||
'version' => array(
|
||||
'regex_matches' => array(
|
||||
'6\.0\.*',
|
||||
'6\.1\.*',
|
||||
),
|
||||
),
|
||||
);
|
||||
42
themes/ModernAqua/tpls/_companyLogo.tpl
Normal file
42
themes/ModernAqua/tpls/_companyLogo.tpl
Normal file
@@ -0,0 +1,42 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div id="companyLogo">
|
||||
<a href="index.php?module=Home&action=index" border="0">
|
||||
<img src="{$COMPANY_LOGO_URL}" width="{$COMPANY_LOGO_WIDTH}" height="{$COMPANY_LOGO_HEIGHT}"
|
||||
alt="Company Logo" border="0"/>
|
||||
</a>
|
||||
</div>
|
||||
55
themes/ModernAqua/tpls/_globalLinks.tpl
Normal file
55
themes/ModernAqua/tpls/_globalLinks.tpl
Normal file
@@ -0,0 +1,55 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div id="globalLinks">
|
||||
<ul>
|
||||
{foreach from=$GCLS item=GCL name=gcl}
|
||||
<li>
|
||||
<a href="{$GCL.URL}">{$GCL.LABEL}</a>
|
||||
{foreach from=$GCL.SUBMENU item=GCL_SUBMENU name=gcl_submenu}
|
||||
{if $smarty.foreach.gcl_submenu.first}
|
||||
<img src='{sugar_getimagepath file="menuarrow.gif"}' alt='' /><br />
|
||||
<ul class="cssmenu">
|
||||
{/if}
|
||||
<li><a href="{$GCL_SUBMENU.URL}">{$GCL_SUBMENU.LABEL}</a></li>
|
||||
{if $smarty.foreach.gcl_submenu.last}
|
||||
</ul>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
58
themes/ModernAqua/tpls/_head.tpl
Normal file
58
themes/ModernAqua/tpls/_head.tpl
Normal file
@@ -0,0 +1,58 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<link rel="SHORTCUT ICON" href="{$FAVICON_URL}">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$APP.LBL_CHARSET}">
|
||||
<title>{$APP.LBL_BROWSER_TITLE}</title>
|
||||
{$SUGAR_CSS}
|
||||
{$SUGAR_JS}
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
SUGAR.themes.theme_name = '{/literal}{$THEME}{literal}';
|
||||
SUGAR.themes.theme_ie6compat = {/literal}{$THEME_IE6COMPAT}{literal};
|
||||
SUGAR.themes.hide_image = '{/literal}{sugar_getimagepath file="hide.gif"}{literal}';
|
||||
SUGAR.themes.show_image = '{/literal}{sugar_getimagepath file="show.gif"}{literal}';
|
||||
SUGAR.themes.allThemes = eval({/literal}{$allThemes}{literal});
|
||||
if ( YAHOO.env.ua )
|
||||
UA = YAHOO.env.ua;
|
||||
-->
|
||||
</script>
|
||||
{/literal}
|
||||
</head>
|
||||
50
themes/ModernAqua/tpls/_headerLastViewed.tpl
Normal file
50
themes/ModernAqua/tpls/_headerLastViewed.tpl
Normal 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div id="lastView" class="headerList">
|
||||
<span>{$APP.LBL_LAST_VIEWED}</span>
|
||||
<ul>
|
||||
{foreach from=$recentRecords item=item name=lastViewed}
|
||||
<li><a title="{$item.item_summary} [{$APP.LBL_ALT_HOT_KEY}{$smarty.foreach.lastViewed.iteration}]"
|
||||
accessKey="{$smarty.foreach.lastViewed.iteration}"
|
||||
href="{sugar_link module=$item.module_name action='DetailView' record=$item.item_id link_only=1}">
|
||||
{$item.image} <span>{$item.item_summary_short}</span>
|
||||
</a></li>
|
||||
{foreachelse}
|
||||
{$APP.NTC_NO_ITEMS_DISPLAY}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
47
themes/ModernAqua/tpls/_headerModuleList.tpl
Normal file
47
themes/ModernAqua/tpls/_headerModuleList.tpl
Normal file
@@ -0,0 +1,47 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div id="moduleList">
|
||||
<span>Modules</span>
|
||||
<ul>
|
||||
{foreach from=$moduleTopMenu item=module key=name name=moduleList}
|
||||
<li class="{if $name == $MODULE_TAB}currentTab{else}notCurrentTab{/if}">{capture name=icon_style assign=icon_style}{assign var="file" value="`$name`.png"}background-image:url({sugar_getimagepath file=$file}){/capture}{sugar_link id="moduleTab_$name" module=$name style=$icon_style}</li>
|
||||
{/foreach}
|
||||
{foreach from=$moduleExtraMenu item=module key=name name=moduleList}
|
||||
<li class="notCurrentTab">{capture name=icon_style assign=icon_style}{assign var="file" value="`$name`.png"}background-image:url({sugar_getimagepath file=$file}){/capture}{sugar_link id="moduleTab_$name" module=$name data=$module style=$icon_style}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
51
themes/ModernAqua/tpls/_headerSearch.tpl
Normal file
51
themes/ModernAqua/tpls/_headerSearch.tpl
Normal file
@@ -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 $AUTHENTICATED}
|
||||
<div id="search">
|
||||
<form name='UnifiedSearch' onsubmit='return SUGAR.unifiedSearchAdvanced.checkUsaAdvanced()'>
|
||||
<input type="hidden" name="action" value="UnifiedSearch">
|
||||
<input type="hidden" name="module" value="Home">
|
||||
<input type="hidden" name="search_form" value="false">
|
||||
<input type="hidden" name="advanced" value="false">
|
||||
<img id="unified_search_advanced_img" src="{sugar_getimagepath file='searchMore.gif'}" border="0" alt="{$APP.LBL_SEARCH}">
|
||||
<input type="text" name="query_string" id="query_string" size="20" value="{$SEARCH}">
|
||||
<input type="submit" class="button" value="{$APP.LBL_SEARCH}">
|
||||
</form><br />
|
||||
<div id="unified_search_advanced_div"> </div>
|
||||
</div>
|
||||
<span id='sm_holder'></span>
|
||||
{/if}
|
||||
46
themes/ModernAqua/tpls/_headerShortcuts.tpl
Normal file
46
themes/ModernAqua/tpls/_headerShortcuts.tpl
Normal file
@@ -0,0 +1,46 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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 count($SHORTCUT_MENU) > 0 && $MODULE_TAB != 'Home'}
|
||||
<div id="shortcuts" class="headerList">
|
||||
<span>{$APP.LBL_LINK_ACTIONS}</span>
|
||||
<ul>
|
||||
{foreach from=$SHORTCUT_MENU item=item}
|
||||
<li><a href="{$item.URL}">{$item.IMAGE} <span>{$item.LABEL}</span></a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
47
themes/ModernAqua/tpls/_welcome.tpl
Normal file
47
themes/ModernAqua/tpls/_welcome.tpl
Normal file
@@ -0,0 +1,47 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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 $AUTHENTICATED}
|
||||
<div id="sitemapLink">
|
||||
<span id="sitemapLinkSpan">
|
||||
{$APP.LBL_SITEMAP}
|
||||
<img src="{sugar_getimagepath file='MoreDetail.png'}">
|
||||
</span>
|
||||
</div>
|
||||
<div id="welcome">
|
||||
{$APP.NTC_WELCOME}, <strong><a href='index.php?module=Users&action=EditView&record={$CURRENT_USER_ID}'>{$CURRENT_USER}</a></strong> [ <a href='{$LOGOUT_LINK}' class='utilsLink'>{$LOGOUT_LABEL}</a> ]
|
||||
</div>
|
||||
{/if}
|
||||
53
themes/ModernAqua/tpls/footer.tpl
Normal file
53
themes/ModernAqua/tpls/footer.tpl
Normal file
@@ -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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<!--end body panes-->
|
||||
</td></tr></table>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<div id="statistics">
|
||||
{$STATISTICS}
|
||||
</div>
|
||||
<div id="copyright">
|
||||
{$COPYRIGHT}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
63
themes/ModernAqua/tpls/header.tpl
Normal file
63
themes/ModernAqua/tpls/header.tpl
Normal file
@@ -0,0 +1,63 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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="_head.tpl" theme_template=true}
|
||||
<body onMouseOut="closeMenus();">
|
||||
|
||||
<div id="header">
|
||||
{include file="_companyLogo.tpl" theme_template=true}
|
||||
{include file="_headerModuleList.tpl" theme_template=true}
|
||||
{if $AUTHENTICATED}
|
||||
{include file="_headerShortcuts.tpl" theme_template=true}
|
||||
{include file="_headerLastViewed.tpl" theme_template=true}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div id="aqua_bar_top">
|
||||
{include file="_welcome.tpl" theme_template=true}
|
||||
</div>
|
||||
|
||||
<div id="aqua_bar_bottom">
|
||||
{include file="_headerSearch.tpl" theme_template=true}
|
||||
{include file="_globalLinks.tpl" theme_template=true}
|
||||
</div>
|
||||
|
||||
<div id="aqua_toolbar">
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
<div id="content" {if !$AUTHENTICATED}class="noLeftColumn" {/if}>
|
||||
<table style="width:100%"><tr><td>
|
||||
49
themes/Sugar5/js/MyMenu.js
Normal file
49
themes/Sugar5/js/MyMenu.js
Normal file
@@ -0,0 +1,49 @@
|
||||
// JavaScript MyMenu DK
|
||||
|
||||
|
||||
var myTabSelected = Object();
|
||||
myTabSelected.timer = null;
|
||||
myTabSelected.objectId = null;
|
||||
|
||||
function myMenuTabMouseOver(tabDiv,tabId,h) {
|
||||
showMyTabListMenu(tabDiv,tabId,h);
|
||||
}
|
||||
|
||||
function myMenuTabMouseOut(tabDiv,tabId) {
|
||||
myTabSelected.timer = setTimeout(hideMyTabListMenu,200);
|
||||
}
|
||||
|
||||
function myMenuTabDivMouseOver() {
|
||||
if(myTabSelected.timer) { clearTimeout(myTabSelected.timer); }
|
||||
}
|
||||
|
||||
function myMenuTabDivMouseOut() {
|
||||
myTabSelected.timer = setTimeout(hideMyTabListMenu,100);
|
||||
}
|
||||
|
||||
|
||||
function showMyTabListMenu(tabDiv,tabId,h) {
|
||||
h=22;
|
||||
if(myTabSelected.timer) { clearTimeout(myTabSelected.timer); myTabSelected.timer = null; hideMyTabListMenu(); }
|
||||
var pn = tabDiv;
|
||||
var xy = YAHOO.util.Dom.getXY(pn);
|
||||
|
||||
var menu = document.getElementById(tabId);
|
||||
if(typeof(xy) != "undefined") {
|
||||
menu.style.position = "absolute";
|
||||
menu.style.left = (xy[0]-1)+'px';
|
||||
menu.style.top = (xy[1]+h)+'px';
|
||||
document.getElementById(tabId).style.left = 50;
|
||||
}
|
||||
|
||||
menu.style.display = '';
|
||||
myTabSelected.objectId = tabId;
|
||||
}
|
||||
|
||||
function hideMyTabListMenu() {
|
||||
if(myTabSelected.objectId) {
|
||||
var menu = document.getElementById(myTabSelected.objectId);
|
||||
menu.style.display = 'none';
|
||||
myTabSelected.objectId = null;
|
||||
}
|
||||
}
|
||||
40
themes/Sugar5/js/style.js
Normal file
40
themes/Sugar5/js/style.js
Normal file
@@ -0,0 +1,40 @@
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
YAHOO.util.Event.onAvailable('sitemapLinkSpan',function()
|
||||
{document.getElementById('sitemapLinkSpan').onclick=function()
|
||||
{ajaxStatus.showStatus(SUGAR.language.get('app_strings','LBL_LOADING_PAGE'));var smMarkup='';var callback={success:function(r){ajaxStatus.hideStatus();document.getElementById('sm_holder').innerHTML=r.responseText;with(document.getElementById('sitemap').style){display="block";position="absolute";right=0;top=80;}
|
||||
document.getElementById('sitemapClose').onclick=function()
|
||||
{document.getElementById('sitemap').style.display="none";}}}
|
||||
postData='module=Home&action=sitemap&GetSiteMap=now&sugar_body_only=true';YAHOO.util.Connect.asyncRequest('POST','index.php',callback,postData);}});
|
||||
39
themes/Sugar5/layout_utils.php
Normal file
39
themes/Sugar5/layout_utils.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
// Only for backwards compatibility with older modules; purposely blank
|
||||
$GLOBALS['log']->deprecated('calling layout_utils.php is deprecated');
|
||||
46
themes/Sugar5/themedef.php
Normal file
46
themes/Sugar5/themedef.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
$themedef = array(
|
||||
'name' => "Classic",
|
||||
'description' => "Default theme from Sugar 5",
|
||||
'version' => array(
|
||||
'regex_matches' => array('6\.*.*'),
|
||||
),
|
||||
'group_tabs' => true,
|
||||
);
|
||||
43
themes/Sugar5/tpls/_companyLogo.tpl
Normal file
43
themes/Sugar5/tpls/_companyLogo.tpl
Normal file
@@ -0,0 +1,43 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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".
|
||||
********************************************************************************/
|
||||
|
||||
*}
|
||||
<div id="companyLogo">
|
||||
<a href="index.php?module=Home&action=index" border="0">
|
||||
<img src="{$COMPANY_LOGO_URL}" width="{$COMPANY_LOGO_WIDTH}" height="{$COMPANY_LOGO_HEIGHT}"
|
||||
alt="{sugar_translate label='LBL_COMPANY_LOGO'}" border="0"/>
|
||||
</a>
|
||||
</div>
|
||||
57
themes/Sugar5/tpls/_globalLinks.tpl
Normal file
57
themes/Sugar5/tpls/_globalLinks.tpl
Normal file
@@ -0,0 +1,57 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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".
|
||||
********************************************************************************/
|
||||
|
||||
*}
|
||||
<div id="globalLinks">
|
||||
<ul>
|
||||
{foreach from=$GCLS item=GCL name=gcl key=gcl_key}
|
||||
<li>
|
||||
{if !$smarty.foreach.gcl.first}<span>|</span>{/if}
|
||||
<a id="{$gcl_key}_link" href="{$GCL.URL}"{if !empty($GCL.ONCLICK)} onclick="{$GCL.ONCLICK}"{/if}>{$GCL.LABEL}</a>
|
||||
{foreach from=$GCL.SUBMENU item=GCL_SUBMENU name=gcl_submenu key=gcl_submenu_key}
|
||||
{if $smarty.foreach.gcl_submenu.first}
|
||||
|
||||
<ul class="cssmenu">
|
||||
{/if}
|
||||
<li><a id="{$gcl_submenu_key}_link" href="{$GCL_SUBMENU.URL}"{if !empty($GCL_SUBMENU.ONCLICK)} onclick="{$GCL_SUBMENU.ONCLICK}"{/if}>{$GCL_SUBMENU.LABEL}</a></li>
|
||||
{if $smarty.foreach.gcl_submenu.last}
|
||||
</ul>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
79
themes/Sugar5/tpls/_head.tpl
Normal file
79
themes/Sugar5/tpls/_head.tpl
Normal file
@@ -0,0 +1,79 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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".
|
||||
********************************************************************************/
|
||||
|
||||
*}
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html {$langHeader}>
|
||||
<head>
|
||||
<link rel="SHORTCUT ICON" href="{$FAVICON_URL}">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$APP.LBL_CHARSET}">
|
||||
<title>{$SYSTEM_NAME}</title>
|
||||
{$SUGAR_CSS}
|
||||
{$SUGAR_JS}
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
SUGAR.themes.theme_name = '{/literal}{$THEME}{literal}';
|
||||
SUGAR.themes.theme_ie6compat = {/literal}{$THEME_IE6COMPAT}{literal};
|
||||
SUGAR.themes.hide_image = '{/literal}{sugar_getimagepath file="hide.gif"}{literal}';
|
||||
SUGAR.themes.show_image = '{/literal}{sugar_getimagepath file="show.gif"}{literal}';
|
||||
SUGAR.themes.loading_image = '{/literal}{sugar_getimagepath file="img_loading.gif"}{literal}';
|
||||
SUGAR.themes.allThemes = eval({/literal}{$allThemes}{literal});
|
||||
if ( YAHOO.env.ua )
|
||||
UA = YAHOO.env.ua;
|
||||
-->
|
||||
</script>
|
||||
<!-- add jQuery -->
|
||||
<link rel="stylesheet" type="text/css" href="include/jQuery/jquery.appendGrid-master/jquery.appendGrid-1.5.1.min.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="include/jQuery/jquery-ui/themes/base/jquery-ui.css"/>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="include/jQuery/jquery-mask/jquery.mask.js"></script>
|
||||
<script type="text/javascript" src="include/jQuery/jquery-ui/ui/jquery-ui.js"></script>
|
||||
<script type="text/javascript" src="include/jQuery/jquery.appendGrid-master/jquery.appendGrid-1.5.1.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="include/jQuery/jquery.blockUI.js"></script>
|
||||
<!-- end jQuery -->
|
||||
<script type="text/javascript" src="include/JSON.js"></script>
|
||||
<!-- add JSON.js -->
|
||||
<!-- dropdowneditor script-->
|
||||
<script type="text/javascript" src="include/ECM/EcmDropdownEditor/EcmDropdownEditor.js"></script>
|
||||
<!-- number functions-->
|
||||
<script type="text/javascript" src="include/ECM/EcmNumberFunctions.js"></script>
|
||||
{/literal}
|
||||
<script type="text/javascript" src='{sugar_getjspath file="cache/include/javascript/sugar_field_grp.js"}'></script>
|
||||
</head>
|
||||
<a name="top"></a>
|
||||
54
themes/Sugar5/tpls/_headerLastViewed.tpl
Normal file
54
themes/Sugar5/tpls/_headerLastViewed.tpl
Normal file
@@ -0,0 +1,54 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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".
|
||||
********************************************************************************/
|
||||
|
||||
*}
|
||||
<div id="lastView" class="headerList">
|
||||
<b style="white-space:nowrap;">{$APP.LBL_LAST_VIEWED}: </b>
|
||||
<span>
|
||||
{foreach from=$recentRecords item=item name=lastViewed}
|
||||
<span>
|
||||
|
||||
<a title="{$item.item_summary} [{$APP.LBL_ALT_HOT_KEY}{$smarty.foreach.lastViewed.iteration}]"
|
||||
accessKey="{$smarty.foreach.lastViewed.iteration}"
|
||||
href="{sugar_link module=$item.module_name action='DetailView' record=$item.item_id link_only=1}">
|
||||
{$item.image} <span>{$item.item_summary_short}</span>
|
||||
</a>
|
||||
</span>
|
||||
{foreachelse}
|
||||
{$APP.NTC_NO_ITEMS_DISPLAY}
|
||||
{/foreach}
|
||||
</span>
|
||||
</div>
|
||||
183
themes/Sugar5/tpls/_headerModuleList.cp.tpl
Normal file
183
themes/Sugar5/tpls/_headerModuleList.cp.tpl
Normal file
@@ -0,0 +1,183 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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 $USE_GROUP_TABS}
|
||||
<div id="moduleList">
|
||||
<ul>
|
||||
<li class="noBorder"> </li>
|
||||
{assign var="groupSelected" value=false}
|
||||
{foreach from=$groupTabs item=modules key=group name=groupList}
|
||||
{capture name=extraparams assign=extraparams}parentTab={$group}{/capture}
|
||||
{if ( ( $smarty.request.parentTab == $group || (!$smarty.request.parentTab && in_array($MODULE_TAB,$modules.modules)) ) && !$groupSelected ) || ($smarty.foreach.groupList.index == 0 && $defaultFirst)}
|
||||
<li class="noBorder">
|
||||
<span class="currentTabLeft"> </span><span class="currentTab">
|
||||
<a href="#" id="grouptab_{$smarty.foreach.groupList.index}">{$group}</a>
|
||||
</span><span class="currentTabRight"> </span>
|
||||
{assign var="groupSelected" value=true}
|
||||
{else}
|
||||
<li>
|
||||
<span class="notCurrentTabLeft"> </span><span class="notCurrentTab">
|
||||
<a href="#" id="grouptab_{$smarty.foreach.groupList.index}">{$group}</a>
|
||||
</span><span class="notCurrentTabRight"> </span>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div id="subModuleList">
|
||||
{assign var="groupSelected" value=false}
|
||||
{foreach from=$groupTabs item=modules key=group name=moduleList}
|
||||
{capture name=extraparams assign=extraparams}parentTab={$group}{/capture}
|
||||
<span id="moduleLink_{$smarty.foreach.moduleList.index}" {if ( ( $smarty.request.parentTab == $group || (!$smarty.request.parentTab && in_array($MODULE_TAB,$modules.modules)) ) && !$groupSelected ) || ($smarty.foreach.moduleList.index == 0 && $defaultFirst)}class="selected" {assign var="groupSelected" value=true}{/if}>
|
||||
<ul>
|
||||
{foreach from=$modules.modules item=module key=modulekey}
|
||||
<li>
|
||||
{capture name=moduleTabId assign=moduleTabId}moduleTab_{$smarty.foreach.moduleList.index}_{$module}{/capture}
|
||||
{sugar_link id=$moduleTabId module=$modulekey data=$module extraparams=$extraparams}
|
||||
</li>
|
||||
{/foreach}
|
||||
{if !empty($modules.extra)}
|
||||
<li class="subTabMore">
|
||||
<a>>></a>
|
||||
<ul class="cssmenu">
|
||||
{foreach from=$modules.extra item=submodulename key=submodule}
|
||||
<li>
|
||||
<a href="{sugar_link module=$submodule link_only=1 extraparams=$extraparams}">{$submodulename}
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</span>
|
||||
{/foreach}
|
||||
</div>
|
||||
{elseif $USE_MZ_TABS}
|
||||
{$MMenuDivs}
|
||||
<link rel="stylesheet" type="text/css" href="themes/Sugar5/css/MyMenu.css" />
|
||||
{literal}
|
||||
<script type="text/JavaScript" src="themes/Sugar5/js/MyMenu.js"></script>
|
||||
<script language="javascript">
|
||||
function showGroup(id) {
|
||||
{/literal}
|
||||
{foreach from=$groupTabs item=modules key=group name=groupList}
|
||||
document.getElementById('grouptab_{$group}').parentNode.setAttribute("class", "notCurrentTab");
|
||||
document.getElementById('spanright_grouptab_{$group}').setAttribute("class", "notCurrentTabLeft");
|
||||
document.getElementById('spanleft_grouptab_{$group}').setAttribute("class", "notCurrentTabRight");
|
||||
document.getElementById('{$group}').style.display="none";
|
||||
{/foreach}
|
||||
{literal}
|
||||
document.getElementById(id).style.display="inline";
|
||||
document.getElementById('grouptab_'+id).parentNode.setAttribute("class", "currentTab");
|
||||
document.getElementById('spanleft_grouptab_'+id).setAttribute("class", "currentTabLeft");
|
||||
document.getElementById('spanright_grouptab_'+id).setAttribute("class", "currentTabRight");
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
<div id="moduleList">
|
||||
<ul>
|
||||
<li class="noBorder"> </li>
|
||||
{assign var="groupSelected" value=false}
|
||||
{foreach from=$groupTabs item=modules key=group name=groupList}
|
||||
{capture name=extraparams assign=extraparams}parentTab={$group}{/capture}
|
||||
{if ( ( $smarty.request.parentTab == $group || (!$smarty.request.parentTab) ) && !$groupSelected ) || ($smarty.foreach.groupList.index == 0 && $defaultFirst)}
|
||||
<li class="noBorder">
|
||||
<span id="spanleft_grouptab_{$group}" class="currentTabLeft"> </span><span class="currentTab" onclick="showGroup('{$group}')">
|
||||
<a href="#" id="grouptab_{$group}">{$group}</a>
|
||||
</span><span id="spanright_grouptab_{$group}"class="currentTabRight"> </span>
|
||||
{assign var="groupSelected" value=true}
|
||||
{else}
|
||||
<li>
|
||||
<span id="spanleft_grouptab_{$group}" class="notCurrentTabLeft"> </span><span class="notCurrentTab" onclick="showGroup('{$group}')">
|
||||
<a href="#" id="grouptab_{$group}">{$group}</a>
|
||||
</span><span id="spanright_grouptab_{$group}" class="notCurrentTabRight"> </span>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div id="subModuleList">
|
||||
{assign var="groupSelected" value=false}
|
||||
{foreach from=$groupTabs item=modules key=group name=moduleList}
|
||||
{capture name=extraparams assign=extraparams}parentTab={$group}{/capture}
|
||||
<span id="{$group}" {if ( ( $smarty.request.parentTab == $group || (!$smarty.request.parentTab && in_array($MODULE_TAB,$modules.group)) ) && !$groupSelected ) || ($smarty.foreach.moduleList.index == 0 && $defaultFirst)}style="display:inline;"{/if}>
|
||||
<ul>
|
||||
{foreach from=$modules.modules item=module key=modulekey}
|
||||
<li onmouseover="myMenuTabMouseOver('moduleTab_{$smarty.foreach.moduleList.index}_{$module}','{$modulekey}_submenu','');" onmouseout="myMenuTabMouseOut('moduleTab_{$smarty.foreach.moduleList.index}_{$module}','{$modulekey}_submenu');">
|
||||
{capture name=moduleTabId assign=moduleTabId}moduleTab_{$smarty.foreach.moduleList.index}_{$module}{/capture}
|
||||
{sugar_link id=$moduleTabId module=$modulekey data=$module extraparams=$extraparams}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</span>
|
||||
{/foreach}
|
||||
</div>
|
||||
{else}
|
||||
<div id="moduleList">
|
||||
<ul>
|
||||
<li class="noBorder"> </li>
|
||||
{foreach from=$moduleTopMenu item=module key=name name=moduleList}
|
||||
{if $name == $MODULE_TAB}
|
||||
<li class="noBorder">
|
||||
<span class="currentTabLeft"> </span><span class="currentTab">{sugar_link id="moduleTab_$name" module=$name}</span><span class="currentTabRight"> </span>
|
||||
{else}
|
||||
<li>
|
||||
<span class="notCurrentTabLeft"> </span><span class="notCurrentTab">{sugar_link id="moduleTab_$name" module=$name data=$module}</span><span class="notCurrentTabRight"> </span>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
{if count($moduleExtraMenu) > 0}
|
||||
<li id="moduleTabExtraMenu">
|
||||
<a href="#">>></a><br />
|
||||
<ul class="cssmenu">
|
||||
{foreach from=$moduleExtraMenu item=module key=name name=moduleList}
|
||||
<li>{sugar_link id="moduleTab_$name" module=$name data=$module}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $AUTHENTICATED}
|
||||
{include file="_headerLastViewed.tpl" theme_template=true}
|
||||
{include file="_headerShortcuts.tpl" theme_template=true}
|
||||
{/if}
|
||||
201
themes/Sugar5/tpls/_headerModuleList.tpl
Normal file
201
themes/Sugar5/tpls/_headerModuleList.tpl
Normal file
@@ -0,0 +1,201 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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 $USE_GROUP_TABS}
|
||||
<div id="moduleList">
|
||||
<ul>
|
||||
<li class="noBorder"> </li>
|
||||
{assign var="groupSelected" value=false}
|
||||
{foreach from=$groupTabs item=modules key=group name=groupList}
|
||||
{capture name=extraparams assign=extraparams}parentTab={$group}{/capture}
|
||||
{if ( ( $smarty.request.parentTab == $group || (!$smarty.request.parentTab) ) && !$groupSelected ) || ($smarty.foreach.groupList.index == 0 && $defaultFirst)}
|
||||
<li class="noBorder">
|
||||
<span class="currentTabLeft"> </span><span class="currentTab">
|
||||
<a href="#" id="grouptab_{$smarty.foreach.groupList.index}">{$group}</a>
|
||||
</span><span class="currentTabRight"> </span>
|
||||
{assign var="groupSelected" value=true}
|
||||
{else}
|
||||
<li>
|
||||
<span class="notCurrentTabLeft"> </span><span class="notCurrentTab">
|
||||
<a href="#" id="grouptab_{$smarty.foreach.groupList.index}">{$group}</a>
|
||||
</span><span class="notCurrentTabRight"> </span>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div id="subModuleList">
|
||||
{assign var="groupSelected" value=false}
|
||||
{foreach from=$groupTabs item=modules key=group name=moduleList}
|
||||
{capture name=extraparams assign=extraparams}parentTab={$group}{/capture}
|
||||
<span id="moduleLink_{$smarty.foreach.moduleList.index}"
|
||||
{if ( ( $smarty.request.parentTab == $group || (!$smarty.request.parentTab && in_array($MODULE_TAB,$modules.group)) ) && !$groupSelected ) || ($smarty.foreach.moduleList.index == 0 && $defaultFirst)}class="selected"
|
||||
{assign var="groupSelected" value=true}{/if}>
|
||||
<ul>
|
||||
{foreach from=$modules.modules item=module key=modulekey}
|
||||
<li>
|
||||
{capture name=moduleTabId assign=moduleTabId}moduleTab_{$smarty.foreach.moduleList.index}_{$module}{/capture}
|
||||
{sugar_link id=$moduleTabId module=$modulekey data=$module extraparams=$extraparams}
|
||||
</li>
|
||||
{/foreach}
|
||||
{if !empty($modules.extra)}
|
||||
<li class="subTabMore">
|
||||
<a>>></a>
|
||||
<ul class="cssmenu">
|
||||
{foreach from=$modules.extra item=submodulename key=submodule}
|
||||
<li>
|
||||
<a href="{sugar_link module=$submodule link_only=1 extraparams=$extraparams}">{$submodulename}
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</span>
|
||||
{/foreach}
|
||||
</div>
|
||||
{elseif $USE_MZ_TABS}
|
||||
{$MMenuDivs}
|
||||
<link rel="stylesheet" type="text/css" href="themes/Sugar5/css/MyMenu.css" />
|
||||
{literal}
|
||||
<script type="text/JavaScript" src="themes/Sugar5/js/MyMenu.js"></script>
|
||||
<script language="javascript">
|
||||
function showGroup(id) {
|
||||
{/literal}
|
||||
{foreach from=$groupTabs item=modules key=group name=groupList}
|
||||
document.getElementById('grouptab_{$group}').parentNode.setAttribute("class", "notCurrentTab");
|
||||
document.getElementById('spanright_grouptab_{$group}').setAttribute("class", "notCurrentTabLeft");
|
||||
document.getElementById('spanleft_grouptab_{$group}').setAttribute("class", "notCurrentTabRight");
|
||||
document.getElementById('{$group}').style.display="none";
|
||||
{/foreach}
|
||||
{literal}
|
||||
document.getElementById(id).style.display = "inline";
|
||||
document.getElementById('grouptab_' + id).parentNode.setAttribute("class", "currentTab");
|
||||
document.getElementById('spanleft_grouptab_' + id).setAttribute("class", "currentTabLeft");
|
||||
document.getElementById('spanright_grouptab_' + id).setAttribute("class", "currentTabRight");
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
<div id="moduleList">
|
||||
<ul>
|
||||
<li class="noBorder"> </li>
|
||||
{assign var="groupSelected" value=false}
|
||||
{foreach from=$groupTabs item=modules key=group name=groupList}
|
||||
{capture name=extraparams assign=extraparams}parentTab={$group}{/capture}
|
||||
{if ( ( $smarty.request.parentTab == $group || (!$smarty.request.parentTab) ) && !$groupSelected ) || ($smarty.foreach.groupList.index == 0 && $defaultFirst)}
|
||||
<li class="noBorder">
|
||||
<span id="spanleft_grouptab_{$group}" class="currentTabLeft"> </span><span class="currentTab"
|
||||
onclick="showGroup('{$group}')">
|
||||
<a href="#" id="grouptab_{$group}">{$group}</a>
|
||||
</span><span id="spanright_grouptab_{$group}" class="currentTabRight"> </span>
|
||||
{assign var="groupSelected" value=true}
|
||||
{else}
|
||||
<li>
|
||||
<span id="spanleft_grouptab_{$group}" class="notCurrentTabLeft"> </span><span class="notCurrentTab"
|
||||
onclick="showGroup('{$group}')">
|
||||
<a href="#" id="grouptab_{$group}">{$group}</a>
|
||||
</span><span id="spanright_grouptab_{$group}" class="notCurrentTabRight"> </span>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div id="subModuleList">
|
||||
{assign var="groupSelected" value=false}
|
||||
{foreach from=$groupTabs item=modules key=group name=moduleList}
|
||||
{capture name=extraparams assign=extraparams}parentTab={$group}{/capture}
|
||||
<span id="{$group}"
|
||||
{if ( ( $smarty.request.parentTab == $group || (!$smarty.request.parentTab && in_array($MODULE_TAB,$modules.group)) ) && !$groupSelected ) || ($smarty.foreach.moduleList.index == 0 && $defaultFirst)}style="display:inline;"
|
||||
{/if}>
|
||||
<ul>
|
||||
{foreach from=$modules.modules item=module key=modulekey}
|
||||
<li onmouseover="myMenuTabMouseOver('moduleTab_{$smarty.foreach.moduleList.index}_{$module}','{$modulekey}_submenu','');"
|
||||
onmouseout="myMenuTabMouseOut('moduleTab_{$smarty.foreach.moduleList.index}_{$module}','{$modulekey}_submenu');">
|
||||
{capture name=moduleTabId assign=moduleTabId}moduleTab_{$smarty.foreach.moduleList.index}_{$module}{/capture}
|
||||
{sugar_link id=$moduleTabId module=$modulekey data=$module extraparams=$extraparams}
|
||||
</li>
|
||||
{/foreach}
|
||||
{if $group=='Produkcja'}
|
||||
<li>
|
||||
<a href="index.php?module=EcmReports&action=index&reportName=productsBySales&parentTab=Produkcja">Planowanie produkcji</a>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</span>
|
||||
{/foreach}
|
||||
</div>
|
||||
{else}
|
||||
<div id="moduleList">
|
||||
<ul>
|
||||
<li class="noBorder"> </li>
|
||||
{foreach from=$moduleTopMenu item=module key=name name=moduleList}
|
||||
{if $name == $MODULE_TAB}
|
||||
<li class="noBorder">
|
||||
<span class="currentTabLeft"> </span><span
|
||||
class="currentTab">{sugar_link id="moduleTab_$name" module=$name}</span><span
|
||||
class="currentTabRight"> </span>
|
||||
{else}
|
||||
<li>
|
||||
<span class="notCurrentTabLeft"> </span><span
|
||||
class="notCurrentTab">{sugar_link id="moduleTab_$name" module=$name data=$module}</span><span
|
||||
class="notCurrentTabRight"> </span>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
{if count($moduleExtraMenu) > 0}
|
||||
<li id="moduleTabExtraMenu">
|
||||
<a href="#">>></a><br />
|
||||
<ul class="cssmenu">
|
||||
{foreach from=$moduleExtraMenu item=module key=name name=moduleList}
|
||||
<li>{sugar_link id="moduleTab_$name" module=$name data=$module}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $AUTHENTICATED}
|
||||
{if $smarty.request.parentTab=='Produkcja' && $smarty.request.module=='EcmReports' && $smarty.request.action=='index'}
|
||||
{else}
|
||||
{include file="_headerShortcuts.tpl" theme_template=true}
|
||||
{/if}
|
||||
{/if}
|
||||
58
themes/Sugar5/tpls/_headerSearch.tpl
Normal file
58
themes/Sugar5/tpls/_headerSearch.tpl
Normal file
@@ -0,0 +1,58 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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 $AUTHENTICATED}
|
||||
<div id="search">
|
||||
<form name='UnifiedSearch' action='index.php' onsubmit='return SUGAR.unifiedSearchAdvanced.checkUsaAdvanced()'>
|
||||
<input type="hidden" name="action" value="UnifiedSearch">
|
||||
<input type="hidden" name="module" value="Home">
|
||||
<input type="hidden" name="search_form" value="false">
|
||||
<input type="hidden" name="advanced" value="false">
|
||||
|
||||
<input type="text" name="query_string" id="query_string" size="20" value="{$SEARCH}">
|
||||
<input type="submit" class="button" value="{$APP.LBL_SEARCH}">
|
||||
</form><br />
|
||||
<div id="unified_search_advanced_div"> </div>
|
||||
</div>
|
||||
<div id="sitemapLink">
|
||||
<span id="sitemapLinkSpan">
|
||||
{$APP.LBL_SITEMAP}
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<span id='sm_holder'></span>
|
||||
{/if}
|
||||
54
themes/Sugar5/tpls/_headerShortcuts.tpl
Normal file
54
themes/Sugar5/tpls/_headerShortcuts.tpl
Normal file
@@ -0,0 +1,54 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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".
|
||||
********************************************************************************/
|
||||
|
||||
*}
|
||||
{* FG - Bug 41467 - Let Home module have Shortcuts *}
|
||||
{if count($SHORTCUT_MENU) > 0}
|
||||
<div id="shortcuts" class="headerList">
|
||||
<b style="white-space:nowrap;">{$APP.LBL_LINK_ACTIONS}: </b>
|
||||
<span>
|
||||
{foreach from=$SHORTCUT_MENU item=item}
|
||||
<span style="white-space:nowrap;">
|
||||
{if $item.URL == "-"}
|
||||
<a></a><span> </span>
|
||||
{else}
|
||||
<a href="{$item.URL}">{$item.IMAGE} <span>{$item.LABEL}</span></a>
|
||||
{/if}
|
||||
</span>
|
||||
{/foreach}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
42
themes/Sugar5/tpls/_welcome.tpl
Normal file
42
themes/Sugar5/tpls/_welcome.tpl
Normal file
@@ -0,0 +1,42 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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 $AUTHENTICATED}
|
||||
<div id="welcome">
|
||||
{$APP.NTC_WELCOME}, <strong><a id="welcome_link" href='index.php?module=Users&action=EditView&record={$CURRENT_USER_ID}'>{$CURRENT_USER}</a></strong> [ <a id="logout_link" href='{$LOGOUT_LINK}' class='utilsLink'>{$LOGOUT_LABEL}</a> ]
|
||||
</div>
|
||||
{/if}
|
||||
112
themes/Sugar5/tpls/footer.tpl
Normal file
112
themes/Sugar5/tpls/footer.tpl
Normal file
@@ -0,0 +1,112 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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".
|
||||
********************************************************************************/
|
||||
|
||||
*}
|
||||
<!--end body panes-->
|
||||
</td></tr></table>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div id="bottomLinks">
|
||||
{if $AUTHENTICATED}
|
||||
{$BOTTOMLINKS}
|
||||
{/if}
|
||||
</div>
|
||||
<div id="footer">
|
||||
{$STATISTICS}
|
||||
<div id="copyright">
|
||||
{$COPYRIGHT}
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
{literal}
|
||||
if(SUGAR.util.isTouchScreen()) {
|
||||
setTimeout(resizeHeader,10000);
|
||||
}
|
||||
|
||||
//qe_init function sets listeners to click event on elements of 'quickEdit' class
|
||||
if(typeof(DCMenu) !='undefined'){
|
||||
DCMenu.qe_refresh = false;
|
||||
DCMenu.qe_handle;
|
||||
}
|
||||
function qe_init(){
|
||||
|
||||
//do not process if YUI is undefined
|
||||
if(typeof(YUI)=='undefined' || typeof(DCMenu) == 'undefined'){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
//remove all existing listeners. This will prevent adding multiple listeners per element and firing multiple events per click
|
||||
if(typeof(DCMenu.qe_handle) !='undefined'){
|
||||
DCMenu.qe_handle.detach();
|
||||
}
|
||||
|
||||
//set listeners on click event, and define function to call
|
||||
YUI().use('node', function(Y) {
|
||||
var qe = Y.all('.quickEdit');
|
||||
var refreshDashletID;
|
||||
var refreshListID;
|
||||
|
||||
//store event listener handle for future use, and define function to call on click event
|
||||
DCMenu.qe_handle = qe.on('click', function(e) {
|
||||
//function will flash message, and retrieve data from element to pass on to DC.miniEditView function
|
||||
ajaxStatus.flashStatus(SUGAR.language.get('app_strings', 'LBL_LOADING'),800);
|
||||
e.preventDefault();
|
||||
if(typeof(e.currentTarget.getAttribute('data-dashlet-id'))!='undefined'){
|
||||
refreshDashletID = e.currentTarget.getAttribute('data-dashlet-id');
|
||||
}
|
||||
if(typeof(e.currentTarget.getAttribute('data-list'))!='undefined'){
|
||||
refreshListID = e.currentTarget.getAttribute('data-list');
|
||||
}
|
||||
DCMenu.miniEditView(e.currentTarget.getAttribute('data-module'), e.currentTarget.getAttribute('data-record'),refreshListID,refreshDashletID);
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
qe_init();
|
||||
|
||||
|
||||
SUGAR_callsInProgress++;
|
||||
SUGAR._ajax_hist_loaded = true;
|
||||
if(SUGAR.ajaxUI)
|
||||
YAHOO.util.Event.onContentReady('ajaxUI-history-field', SUGAR.ajaxUI.firstLoad);
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
75
themes/Sugar5/tpls/header.tpl
Normal file
75
themes/Sugar5/tpls/header.tpl
Normal file
@@ -0,0 +1,75 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2011 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="_head.tpl" theme_template=true}
|
||||
<body onMouseOut="closeMenus();">
|
||||
{$SUGAR_DCJS}
|
||||
<div id="header">
|
||||
{include file="_companyLogo.tpl" theme_template=true}
|
||||
{include file="_globalLinks.tpl" theme_template=true}
|
||||
{include file="_welcome.tpl" theme_template=true}
|
||||
<div class="clear"></div>
|
||||
{include file="_headerSearch.tpl" theme_template=true}
|
||||
<div class="clear"></div>
|
||||
{if !$AUTHENTICATED}
|
||||
<br /><br />
|
||||
{/if}
|
||||
<div id="ajaxHeader">
|
||||
{include file="_headerModuleList.tpl" theme_template=true}
|
||||
</div>
|
||||
{include file="_headerLastViewed.tpl" theme_template=true}
|
||||
<div class="clear"></div>
|
||||
<div class="line"></div>
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
<iframe id='ajaxUI-history-iframe' src='index.php?entryPoint=getImage&imageName=blank.png' title='empty' style='display:none'></iframe>
|
||||
<input id='ajaxUI-history-field' type='hidden'>
|
||||
<script type='text/javascript'>
|
||||
if (SUGAR.ajaxUI && !SUGAR.ajaxUI.hist_loaded)
|
||||
{
|
||||
YAHOO.util.History.register('ajaxUILoc', "", SUGAR.ajaxUI.go);
|
||||
{/literal}{if $smarty.request.module != "ModuleBuilder"}{* Module builder will init YUI history on its own *}
|
||||
YAHOO.util.History.initialize("ajaxUI-history-field", "ajaxUI-history-iframe");
|
||||
{/if}{literal}
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<div id="main">
|
||||
<div id="content" {if !$AUTHENTICATED}class="noLeftColumn" {/if}>
|
||||
<table style="width:100%"><tr><td>
|
||||
37
themes/default/js/style.js
Normal file
37
themes/default/js/style.js
Normal file
@@ -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".
|
||||
********************************************************************************/
|
||||
YAHOO.util.Event.onDOMReady(function()
|
||||
{if(location.href.indexOf('print=true')>-1)
|
||||
setTimeout("window.print();",1000);});
|
||||
Reference in New Issue
Block a user