添加到 trunk

+YUCHENG HU+



git-svn-id: https://svn.code.sf.net/p/hawebs/svn@119 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
This commit is contained in:
YuCheng Hu
2010-06-11 02:10:15 +00:00
parent e9ad2daad3
commit 8b3caaa31d
67 changed files with 3030 additions and 0 deletions
+232
View File
@@ -0,0 +1,232 @@
/*
Copyright 2005 Rolando Gonzalez ([email protected])
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
table.chat // don't set width or height
thead.chat
tfoot.chat
tbody.chat
tr.chathea
tr.chatfoot
tr.chatbody
td.chathead
td.chathead1
td.chathead2
td.chatfoot
td.chatfoot1
td.chatfoot2
td.chatbody
td.chatbody1 // don't set width or height
td.chatbody2
td.chatbox // don't set width or height or overflow
td.chaticon
td.chattopic
td.chathide
td.chatclose
div.cumsg
div.csmsg
span.cunick
*/
*{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
}
table.chat,table.pchat{
empty-cells:show;
}
table.chat{
position:absolute;
}
thead.chat{
cursor:move;
}
td.chathead,td.chathead2,td.pchathead,td.pchathead2{
width:5px;
height:38px;
padding:0px 5px 0px 0px;
}
td.chathead1,td.pchathead1{
background-image:url(images/box_T.gif);
width:100%;
}
td.chathead,td.pchathead{
background-image:url(images/box_TL.gif);
}
td.chathead2,td.pchathead2{
background-image:url(images/box_TR.gif);
}
td.chaticon{
background-image:url(images/2tbarPrivateChat.gif);
}
td.chattopic{
background-image:url(images/2tbarPublicChat.gif);
background-repeat:no-repeat;
background-position:center left;
padding:0px 10px 0px 30px;
width:100%;
}
td.chattopic1{
padding:0px 10px 0px 5px;
width:100%;
text-align:left;
}
span.chatTopicNick{ font-weight:900; }
td.chathide,td.chatclose{
cursor:pointer;
}
td.chathide{
background-image:url(images/btn_hide.gif);
}
td.chatclose{
background-image:url(images/btn_close.gif);
}
td.chaticon,td.chathide,td.chatclose{
height:36px;
width:36px;
padding:31px 31px 5px 0px;
background-repeat:no-repeat;
background-position:center center;
}
td.chatbody,td.chatbody2,td.pchatbody,td.pchatbody2{
width:5px;
padding:0px 5px 0px 0px;
}
td.chatbody,td.pchatbody{
background-image:url(images/box_ML.gif);
}
td.chatbody1,td.pchatbody1{
background-image:url(images/box_M.gif);
padding:5px 5px 5px 5px;
vertical-align:top;
}
td.chatbody2,td.pchatbody2{
background-image:url(images/box_MR.gif);
}
td.chatfoot,td.chatfoot2,td.pchatfoot,td.pchatfoot2{
width:5px;
height:60px;
padding:60px 5px 0px 0px;
}
td.chatfoot1,td.pchatfoot1{
background-image:url(images/bx_B.gif);
}
td.chatfoot,td.pchatfoot{
background-image:url(images/box_BL.gif);
}
td.chatfoot2,td.pchatfoot2{
background-image:url(images/box_BR.gif);
}
div.chatbox{
background-color: #FFFFFF;
border: 1px solid #938F86;
color:#000000;
vertical-align:top;
}
/* UList */
span.cunick{
color:green;
}
div.cumsg,div.csmsg{
color:#0000ff;
margin:2px 2px 4px 2px;
}
div.csmsg{
color:#FF0000;
}
a.chat{
background-image:url(../images/user_icon.gif);
background-position:center left;
background-repeat:no-repeat;
color:#000000;
text-decoration:none;
display:block;
width:100px;
height:20px;
background-color:#FFFFFF;
padding:10px 5px 5px 30px;
vertical-align:middle;
}
a.chat:hover{
background-color:#DFD9CD;
}
span{
padding:0px;
margin:0px;
}
/* input */
form.cinput{
display:inline;
}
input.cinput{
background-color: #FFFFFF;
border: 1px solid #938F86;
width: 100%;
height:20px;
font-size:12px;
padding:2px 2px 2px 2px;
font-weight:bold;
color:#333333;
}
table.cinput{
width:100%;
}
tr.cinput{
}
td.cinput{
width:100%;
}
td.ckeyb{
width:32px;
height:29px;
padding:29px 32px 5px 5px;
background-repeat:no-repeat;
background-position:center center;
}
td.csubmit{
cursor:pointer;
background-image:url(images/btn_send.gif);
width:63px;
height:32px;
padding:32px 63px 5px 5px;
background-repeat:no-repeat;
background-position:center center;
}
span.sysb{font-weight:900;}
.chatuserlist{
font-size:14px;
text-align:left;
color:white;
background-color:#898475;
}
@@ -0,0 +1,28 @@
<?php
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Public License Version 1.1.2
* ("License"); You may not use this file except in compliance with the
* License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
* The Original Code is: SugarCRM Open Source
* The Initial Developer of the Original Code is SugarCRM, Inc.
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.;
* All Rights Reserved.
* Contributor(s): ______________________________________.
********************************************************************************/
/*********************************************************************************
* $Header$
* Description: Contains a variety of utility functions used to display UI
* components such as form headers and footers. Intended to be modified on a per
* theme basis.
********************************************************************************/
global $app_strings;
?>
<!--end body panes-->
</td></tr>
<tr><td colspan="2" align="center">
</td></tr></table>
</body>
</html>
@@ -0,0 +1,100 @@
<?php
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Public License Version 1.1.2
* ("License"); You may not use this file except in compliance with the
* License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
* The Original Code is: SugarCRM Open Source
* The Initial Developer of the Original Code is SugarCRM, Inc.
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.;
* All Rights Reserved.
* Contributor(s): ______________________________________.
********************************************************************************/
/*********************************************************************************
* $Header$
* Description: Contains a variety of utility functions used to display UI
* components such as form headers and footers. Intended to be modified on a per
* theme basis.
********************************************************************************/
require_once('Smarty_setup.php');
require_once("data/Tracker.php");
require_once("include/utils/utils.php");
require_once("include/calculator/Calc.php");
global $currentModule,$default_charset;
global $app_strings;
global $app_list_strings;
global $moduleList;
global $theme;
$theme_path="themes/".$theme."/";
$image_path=$theme_path."images/";
$smarty = new vtigerCRM_Smarty;
$header_array = getHeaderArray();
$smarty->assign("HEADERS",$header_array);
$smarty->assign("THEME",$theme);
$smarty->assign("IMAGEPATH",$image_path);
$qc_modules = getQuickCreateModules();
$smarty->assign("QCMODULE", $qc_modules);
$smarty->assign("APP", $app_strings);
$cnt = count($qc_modules);
$smarty->assign("CNT", $cnt);
$smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']);
$smarty->assign("MODULE_NAME", $currentModule);
$smarty->assign("DATE", getDisplayDate(date("Y-m-d H:i")));
$smarty->assign("CURRENT_USER", $current_user->user_name);
$smarty->assign("CURRENT_USER_ID", $current_user->id);
$smarty->assign("MODULELISTS",$app_list_strings['moduleList']);
$smarty->assign("CATEGORY",getParentTab());
$smarty->assign("CALC",get_calc($image_path));
$smarty->assign("QUICKACCESS",getAllParenttabmoduleslist());
$smarty->assign("ANNOUNCEMENT",get_announcements());
$smarty->assign("USE_ASTERISK", get_use_asterisk($current_user->id));
if (is_admin($current_user)) $smarty->assign("ADMIN_LINK", "<a href='index.php?module=Settings&action=index'>".$app_strings['LBL_SETTINGS']."</a>");
$module_path="modules/".$currentModule."/";
require_once('include/Menu.php');
//Assign the entered global search string to a variable and display it again
if($_REQUEST['query_string'] != '')
$smarty->assign("QUERY_STRING",htmlspecialchars($_REQUEST['query_string'],ENT_QUOTES,$default_charset));//BUGFIX " Cross-Site-Scripting "
else
$smarty->assign("QUERY_STRING","$app_strings[LBL_SEARCH_STRING]");
global $module_menu;
require_once('data/Tracker.php');
$tracFocus=new Tracker();
$list = $tracFocus->get_recently_viewed($current_user->id);
$smarty->assign("TRACINFO",$list);
// Gather the custom link information to display
include_once('vtlib/Vtiger/Link.php');
$hdrcustomlink_params = Array('MODULE'=>$currentModule);
$COMMONHDRLINKS = Vtiger_Link::getAllByType(Vtiger_Link::IGNORE_MODULE, Array('HEADERLINK','HEADERSCRIPT', 'HEADERCSS'), $hdrcustomlink_params);
$smarty->assign('HEADERLINKS', $COMMONHDRLINKS['HEADERLINK']);
$smarty->assign('HEADERSCRIPTS', $COMMONHDRLINKS['HEADERSCRIPT']);
$smarty->assign('HEADERCSS', $COMMONHDRLINKS['HEADERCSS']);
// END
$gmail_bookmarklet = '<a href=\'javascript:(function()%7Bvar%20doc=top.document;var%20bodyElement=document.body;'.
'doc.vtigerURL%20=%22'.$site_URL.'/%22;var%20scriptElement=document.createElement(%22script%22);'.
'scriptElement.type=%22text/javascript%22;scriptElement.src=doc.vtigerURL+%22modules/Emails/GmailBookmarkletTrigger.js%22;'.
'bodyElement.appendChild(scriptElement);%7D)();\'>'.
$app_strings['LBL_GMAIL'].' '.$app_strings['LBL_BOOKMARKLET'].'</a>';
$smarty->assign("GMAIL_BOOKMARKLET", $gmail_bookmarklet);
$smarty->display("Header.tpl");
?>
Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 695 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1015 B

Some files were not shown because too many files have changed in this diff Show More