Add html files

This commit is contained in:
2025-05-12 15:45:02 +00:00
parent 82d5804ac4
commit 7ddd15c4fa
1224 changed files with 277606 additions and 0 deletions

View File

@@ -0,0 +1,125 @@
<!--
/*****************************************************************************
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
* Version 1.1 ("License"); You may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://opensource.org/licenses/rpl.php. Software distributed under the
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
* either express or implied.
*
* You may:
* a) Use and distribute this code exactly as you received without payment or
* a royalty or other fee.
* b) Create extensions for this code, provided that you make the extensions
* publicly available and document your modifications clearly.
* c) Charge for a fee for warranty or support or for accepting liability
* obligations for your customers.
*
* You may NOT:
* a) Charge for the use of the original code or extensions, including in
* electronic distribution models, such as ASP (Application Service
* Provider).
* b) Charge for the original source code or your extensions other than a
* nominal fee to cover distribution costs where such distribution
* involves PHYSICAL media.
* c) Modify or delete any pre-existing copyright notices, change notices,
* or License text in the Licensed Software
* d) Assert any patent claims against the Licensor or Contributors, or
* which would in any way restrict the ability of any third party to use the
* Licensed Software.
*
* You must:
* a) Document any modifications you make to this code including the nature of
* the change, the authors of the change, and the date of the change.
* b) Make the source code for any extensions you deploy available via an
* Electronic Distribution Mechanism such as FTP or HTTP download.
* c) Notify the licensor of the availability of source code to your extensions
* and include instructions on how to acquire the source code and updates.
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
* reproduce, perform, modify, sublicense, and distribute your extensions.
*
* The Original Code is: CommuniCore
* Olavo Farias
* 2006-04-7 olavo.farias@gmail.com
*
* The Initial Developer of the Original Code is CommuniCore.
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
* All Rights Reserved.
********************************************************************************/
-->
<!-- BEGIN: main -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<form action="index.php" method="post" name="DetailView" id="form">
<input type="hidden" name="module" value="EcmReminders">
<input type="hidden" name="record" value="{ID}">
<input type="hidden" name="isDuplicate" value=false>
<input type="hidden" name="action">
<input type="hidden" name="return_module">
<input type="hidden" name="return_action">
<input type="hidden" name="return_id" >
<tr>
<td style="padding-bottom: 2px;">
<input title="{APP.LBL_EDIT_BUTTON_TITLE}"
accessKey="{APP.LBL_EDIT_BUTTON_KEY}"
class="button"
onclick="this.form.return_module.value='EcmReminders'; this.form.return_action.value='DetailView'; this.form.return_id.value='{ID}'; this.form.action.value='EditView'"
type="submit"
name="Edit"
value=" {APP.LBL_EDIT_BUTTON_LABEL} ">
<input title="{APP.LBL_DUPLICATE_BUTTON_TITLE}"
accessKey="{APP.LBL_DUPLICATE_BUTTON_KEY}"
class="button"
onclick="this.form.return_module.value='EcmReminders'; this.form.return_action.value='index'; this.form.isDuplicate.value=true; this.form.action.value='EditView'"
type="submit"
name="Duplicate"
value=" {APP.LBL_DUPLICATE_BUTTON_LABEL} ">
<input title="{APP.LBL_DELETE_BUTTON_TITLE}"
accessKey="{APP.LBL_DELETE_BUTTON_KEY}"
class="button"
onclick="this.form.return_module.value='EcmReminders'; this.form.return_action.value='ListView'; this.form.action.value='Delete'; return confirm('{APP.NTC_DELETE_CONFIRMATION}')"
type="submit"
name="Delete"
value=" {APP.LBL_DELETE_BUTTON_LABEL} ">
{FIND_DUPES_MERGE_BUTTON}
</td>
<td align='right'>{ADMIN_EDIT}</td>
</tr>
</table>
</form>
<table width="100%" border="0" cellspacing="{GRIDLINE}" cellpadding="0" class="tabDetailView">
{PAGINATION}
<tr>
<td width="15%" class="tabDetailViewDL"><span sugar='slot1'>{MOD.LBL_NAME}</span sugar='slot'></td>
<td width="35%" class="tabDetailViewDF"><span sugar='slot1b'>{NAME}&nbsp;</span sugar='slot'></td>
<td width="15%" valign="top" class="tabDetailViewDL"><span sugar='slot2'>{APP.LBL_ASSIGNED_TO}</span sugar='slot'></td>
<td width="35%" valign="top" class="tabDetailViewDF"><span sugar='slot2b'>{ASSIGNED_TO}</span sugar='slot'></td>
</tr>
<tr>
<td valign="top" class="tabDetailViewDL"><span sugar='slot3'>{MOD.LBL_PARENT_ID}</span sugar='slot'></td>
<td valign="top" class="tabDetailViewDF"><span sugar='slot3b'>{PARENT_ID}</span sugar='slot'></td>
<td valign="top" class="tabDetailViewDL"><span sugar='slot4'>{MOD.LBL_PARENT_NAME}</span sugar='slot'></td>
<td valign="top" class="tabDetailViewDF"><span sugar='slot4b'>{PARENT_NAME}</span sugar='slot'></td>
</tr>
<tr>
<td valign="top" class="tabDetailViewDL"><span sugar='slot5'>{MOD.LBL_DESCRIPTION}</span sugar='slot'></td>
<td valign="top" class="tabDetailViewDF"><span sugar='slot5b'>{DESCRIPTION}&nbsp;</span sugar='slot'></td>
<td valign="top" class="tabDetailViewDL"><span sugar='slot6'>{MOD.LBL_DATE_START}</span sugar='slot'></td>
<td valign="top" class="tabDetailViewDF"><span sugar='slot6b'>{DATE_START}</span sugar='slot'></td>
</tr>
</table>
<!-- END: main -->
<!-- BEGIN: subpanel -->
<span sugar='slot23'>{SUBPANEL}</span sugar='slot'>
<!-- END: subpanel -->

View File

@@ -0,0 +1,180 @@
<!--
/*****************************************************************************
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
* Version 1.1 ("License"); You may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://opensource.org/licenses/rpl.php. Software distributed under the
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
* either express or implied.
*
* You may:
* a) Use and distribute this code exactly as you received without payment or
* a royalty or other fee.
* b) Create extensions for this code, provided that you make the extensions
* publicly available and document your modifications clearly.
* c) Charge for a fee for warranty or support or for accepting liability
* obligations for your customers.
*
* You may NOT:
* a) Charge for the use of the original code or extensions, including in
* electronic distribution models, such as ASP (Application Service
* Provider).
* b) Charge for the original source code or your extensions other than a
* nominal fee to cover distribution costs where such distribution
* involves PHYSICAL media.
* c) Modify or delete any pre-existing copyright notices, change notices,
* or License text in the Licensed Software
* d) Assert any patent claims against the Licensor or Contributors, or
* which would in any way restrict the ability of any third party to use the
* Licensed Software.
*
* You must:
* a) Document any modifications you make to this code including the nature of
* the change, the authors of the change, and the date of the change.
* b) Make the source code for any extensions you deploy available via an
* Electronic Distribution Mechanism such as FTP or HTTP download.
* c) Notify the licensor of the availability of source code to your extensions
* and include instructions on how to acquire the source code and updates.
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
* reproduce, perform, modify, sublicense, and distribute your extensions.
*
* The Original Code is: CommuniCore
* Olavo Farias
* 2006-04-7 olavo.farias@gmail.com
*
* The Initial Developer of the Original Code is CommuniCore.
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
* All Rights Reserved.
********************************************************************************/
-->
<!-- BEGIN: main -->
<script type="text/javascript" src="include/javascript/popup_parent_helper.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<form name="EditView" method="POST" action="index.php">
<input type="hidden" name="module" value="EcmReminders">
<input type="hidden" name="record" value="{ID}">
<input type="hidden" name="action">
<input type="hidden" name="return_module" value="{RETURN_MODULE}">
<input type="hidden" name="return_id" value="{RETURN_ID}">
<input type="hidden" name="return_action" value="{RETURN_ACTION}">
<input type="hidden" name="contact_id" value="{CONTACT_ID}">
<input type="hidden" name="email_id" value="{EMAIL_ID}">
<input type="hidden" name="account_id" value="{ACCOUNT_ID}">
<input type="hidden" name="case_id" value="{CASE_ID}">
<!--// InboundEmail support //-->
<input type="hidden" name="inbound_email_id" value="{INBOUND_EMAIL_ID}">
<input type="hidden" name="start" value="{START}">
<input type="hidden" name="type" value="{TYPE}">
<td style="padding-bottom: 2px;">
<input title="{APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{APP.LBL_SAVE_BUTTON_KEY}" class="button"
onclick="this.form.action.value='Save';return check_form('EditView');"
type="submit" name="button" value=" {APP.LBL_SAVE_BUTTON_LABEL} " >
<input title="{APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{APP.LBL_CANCEL_BUTTON_KEY}" class="button"
onclick="this.form.action.value='{RETURN_ACTION}'; this.form.module.value='{RETURN_MODULE}'; this.form.record.value='{RETURN_ID}'"
type="submit" name="button" value=" {APP.LBL_CANCEL_BUTTON_LABEL} ">
</td>
<td align="right" nowrap><span class="required">{APP.LBL_REQUIRED_SYMBOL}</span> {APP.NTC_REQUIRED}</td>
<td align='right'>{ADMIN_EDIT}</td>
</tr>
</table>
<p>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabForm">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15%" class="dataLabel"><span sugar='slot1'>{MOD.LBL_NAME} <span class="required">{APP.LBL_REQUIRED_SYMBOL}</span></span sugar='slot'></td>
<td width="35%" class="dataField"><span sugar='slot1b'><input name='name' type="text" tabindex='1' size='35' maxlength='50' value="{NAME}"></span sugar='slot'></td>
<td class="dataLabel" ><span sugar='slot2'>{APP.LBL_ASSIGNED_TO}</span sugar='slot'></td>
<td class="dataField">
<span sugar='slot2b'>
<input class="sqsEnabled" tabindex="2" autocomplete="off" id="assigned_user_name" name='assigned_user_name' type="text" value="{ASSIGNED_USER_NAME}">
<input id='assigned_user_id' name='assigned_user_id' type="hidden" value="{ASSIGNED_USER_ID}" />
<input title="{APP.LBL_SELECT_BUTTON_TITLE}" accessKey="{APP.LBL_SELECT_BUTTON_KEY}" type="button" class="button" value='{APP.LBL_SELECT_BUTTON_LABEL}' name=btn1
onclick='open_popup("Users", 600, 400, "", true, false, {encoded_users_popup_request_data});' /></span sugar='slot'>
</td>
</tr>
<tr>
<!-- BEGIN: pro -->
<td width="15%" class="dataLabel">
<span sugar='slot4'>{APP.LBL_TEAM} <span class="required">{APP.LBL_REQUIRED_SYMBOL}</span></span sugar='slot'>
</td>
<td class="dataField">
<span sugar='slot4b'>
<input class="sqsEnabled" tabindex="3" autocomplete="off" id="team_name" name='team_name' type="text" value="{TEAM_NAME}">
<input id='team_id' name='team_id' type="hidden" value="{TEAM_ID}" />
<input title="{APP.LBL_SELECT_BUTTON_TITLE}" accessKey="{APP.LBL_SELECT_BUTTON_KEY}" type="button" tabindex='4' class="button" value='{APP.LBL_SELECT_BUTTON_LABEL}' name=btn1
onclick='open_popup("Teams", 600, 400, "", true, false, {encoded_team_popup_request_data});' />
</span sugar='slot'>
</td>
<!-- END: pro -->
<!-- BEGIN: open_source -->
<!-- END: open_source -->
</tr>
<tr>
<td valign="top" class="dataLabel"><span sugar='slot3'>{MOD.LBL_PARENT_ID}</span sugar='slot'></td>
<td valign="top" class="dataField">
<span sugar='slot3b'>
<input name='parent_id' title="Parent Id" type="text" tabindex='3' maxlength='36' value="{PARENT_ID}">
</span sugar='slot'>
</td>
<td valign="top" class="dataLabel"><span sugar='slot4'>{MOD.LBL_PARENT_NAME}</span sugar='slot'></td>
<td valign="top" class="dataField">
<span sugar='slot4b'>
<input name='parent_name' title="Parent Name" type="text" tabindex='4' maxlength='255' value="{PARENT_NAME}">
</span sugar='slot'>
</td>
</tr>
<tr>
<td width="15%" class="dataLabel" valign="top"><span sugar='slot5'>{MOD.LBL_DESCRIPTION}</span sugar='slot'></td>
<td width="35%" class="dataField">
<span sugar='slot5b'>
<textarea name='description' title="Description" tabindex='5' cols="30" rows="8">{DESCRIPTION}</textarea>
</span sugar='slot'>
</td>
<td class="dataLabel"><span sugar='slot6'>{MOD.LBL_DATE_START} </span sugar='slot'></td>
<td class="dataField">
<span sugar='slot6b'>
<input name='date_start'
onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');"
id='jscal_fielddate_start'
type="text"
title="Date Start"
tabindex='6'
size='11'
maxlength='10'
value="{DATE_START}">
<img src="themes/{THEME}/images/jscalendar.gif" alt="{APP.LBL_ENTER_DATE}" id="jscal_triggerdate_start" align="absmiddle">
<span class="dateFormat">{USER_DATEFORMAT}</span>
<script>
Calendar.setup ({inputField : 'jscal_fielddate_start', ifFormat : '{CALENDAR_DATEFORMAT}', showsTime : false, button : 'jscal_triggerdate_start', singleClick : true, step : 1});addToValidate('EditView', 'date_start', 'date', false,'date_start' );
</script>
</span sugar='slot'>
</td>
</tr>
</table>
</td>
</tr>
</table>
</p>
<div style="padding-top: 2px">
<input title="{APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{APP.LBL_SAVE_BUTTON_KEY}" class="button" onclick="this.form.action.value='Save';return check_form('EditView');" type="submit" name="button" value=" {APP.LBL_SAVE_BUTTON_LABEL} " >
<input title="{APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value='{RETURN_ACTION}'; this.form.module.value='{RETURN_MODULE}'; this.form.record.value='{RETURN_ID}'" type="submit" name="button" value=" {APP.LBL_CANCEL_BUTTON_LABEL} ">
</div>
</form>
{JAVASCRIPT}
<!-- END: main -->

View File

@@ -0,0 +1,98 @@
<!--
/*****************************************************************************
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
* Version 1.1 ("License"); You may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://opensource.org/licenses/rpl.php. Software distributed under the
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
* either express or implied.
*
* You may:
* a) Use and distribute this code exactly as you received without payment or
* a royalty or other fee.
* b) Create extensions for this code, provided that you make the extensions
* publicly available and document your modifications clearly.
* c) Charge for a fee for warranty or support or for accepting liability
* obligations for your customers.
*
* You may NOT:
* a) Charge for the use of the original code or extensions, including in
* electronic distribution models, such as ASP (Application Service
* Provider).
* b) Charge for the original source code or your extensions other than a
* nominal fee to cover distribution costs where such distribution
* involves PHYSICAL media.
* c) Modify or delete any pre-existing copyright notices, change notices,
* or License text in the Licensed Software
* d) Assert any patent claims against the Licensor or Contributors, or
* which would in any way restrict the ability of any third party to use the
* Licensed Software.
*
* You must:
* a) Document any modifications you make to this code including the nature of
* the change, the authors of the change, and the date of the change.
* b) Make the source code for any extensions you deploy available via an
* Electronic Distribution Mechanism such as FTP or HTTP download.
* c) Notify the licensor of the availability of source code to your extensions
* and include instructions on how to acquire the source code and updates.
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
* reproduce, perform, modify, sublicense, and distribute your extensions.
*
* The Original Code is: CommuniCore
* Olavo Farias
* 2006-04-7 olavo.farias@gmail.com
*
* The Initial Developer of the Original Code is CommuniCore.
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
* All Rights Reserved.
********************************************************************************/
-->
<!-- BEGIN: main -->
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="listView">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" class="listViewThS1" NOWRAP>{CHECKALL}</td>
<td scope="col" width="32%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_SUBJECT}{arrow_start}{name_arrow}{arrow_end}</a></slot></td>
<!-- BEGIN: pro_nav -->
<td scope="col" width="9%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}teams.name" class="listViewThLinkS1">{APP.LBL_LIST_TEAM}{arrow_start}{teams_name_arrow}{arrow_end}</a></slot></td>
<!-- END: pro_nav -->
<!-- BEGIN: open_source -->
<!-- END: open_source -->
<td scope="col" width="9%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}users.user_name" class="listViewThLinkS1">{APP.LBL_LIST_ASSIGNED_USER}{arrow_start}{users_user_name_arrow}{arrow_end}</a></slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20"
onmouseover="setPointer(this, '{ECMREMINDER.NAME}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmouseout="setPointer(this, '{ECMREMINDER.NAME}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmousedown="setPointer(this, '{ECMREMINDER.NAME}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" valign='top'>{PREROW}</td>
<td scope='row' valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<slot>
<{TAG.MAIN} href="{URL_PREFIX}index.php?action=DetailView&module=EcmReminders&record={ECMREMINDER.ID}&offset={ECMREMINDER.OFFSET}&stamp={ECMREMINDER.STAMP}" class="listViewTdLinkS1">{ECMREMINDER.NAME}</{TAG.MAIN}>
</slot>
</td>
<!-- BEGIN: pro -->
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{ECMREMINDER.TEAM_NAME}</slot></td>
<!-- END: pro -->
<!-- BEGIN: open_source -->
<!-- END: open_source -->
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{ECMREMINDER.ASSIGNED_USER_NAME}</slot></td>
</tr>
<tr><td colspan="20" class="listViewHRS1"></td></tr>
<!-- END: row -->
{PAGINATION}
</table>
<!-- END: main -->

View File

@@ -0,0 +1,116 @@
admin <!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU 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 General Public License for more
* details.
*
* You should have received a copy of the GNU 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 General Public License version 3.
*
* In accordance with Section 7(b) of the GNU 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".
********************************************************************************/
/*********************************************************************************
* {APP.LBL_CURRENCY_SYM}Header: /cvsroot/sugarcrm/sugarcrm/modules/Activities/OpenListView.html,v 1.1 2004/07/02 07:32:20 sugarclint Exp {APP.LBL_CURRENCY_SYM}
********************************************************************************/
-->
<!-- BEGIN: open_activity -->
<script type="text/javascript" src="include/JSON.js"></script>
<script type="text/javascript" src="include/jsolait/init.js"></script>
<script type="text/javascript">{JSON_CONFIG_JAVASCRIPT}</script>
<script type="text/javascript" src="include/javascript/jsclass_base.js"></script>
<script type="text/javascript" src="include/javascript/jsclass_async.js"></script>
<script>
//var global_request_registry = new Object();
function ResponseObj()
{
}
ResponseObj.prototype.response = function (result) {
if ( result.status == 'success')
{
if ( result.accept_status == 'decline')
{
//alert("The invitation has been declined");
var elem = document.getElementById('accept'+result.record);
elem.innerHTML= "Declined";
} else if ( result.accept_status == 'tentative') {
//alert("The invitation has been tentatively accepted");
var elem = document.getElementById('accept'+result.record);
elem.innerHTML= "Tentative";
} else {
//alert("The invitation has been accepted");
var elem = document.getElementById('accept'+result.record);
elem.innerHTML= "Accepted";
}
}
else
{
alert("There was an internal error: ");
}
}
function setAcceptStatus(module,id,status)
{
query = {"module":module,"record":id,"accept_status":status};
//rpcClient.call_method('query',request);
req_id = global_rpcClient.call_method('set_accept_status',query);
var res = new ResponseObj();
global_request_registry[req_id] = [ res,'response'];
}
</script>
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="listView">
<tr height="20" class="listViewThS1">
<td width="2%" class="listViewThS1"><img src="include/images/blank.gif" widht="1" height="1" alt=""></td>
<td scope="col" width="1%" class="listViewThS1">{MOD.LBL_LIST_CLOSE}</td>
<td scope="col" width="34%" class="listViewThS1">{MOD.LBL_LIST_SUBJECT}</td>
<td scope="col" width="10%" class="listViewThS1">{MOD.LBL_LIST_DATE}</td>
<td scope="col" width="10%" class="listViewThS1">{MOD.LBL_LIST_STATUS}</td>
</tr>
<!-- BEGIN: row -->
<tr height="20" onmouseover="setPointer(this, '{ACTIVITY.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');" onmouseout="setPointer(this, '{ACTIVITY.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');" onmousedown="setPointer(this, '{ACTIVITY.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td nowrap valign=TOP bgcolor="{BG_COLOR}" class={ROW_COLOR}S1 >{ACTIVITY_MODULE_PNG}</td>
<td nowrap valign=TOP bgcolor="{BG_COLOR}" align='center' class={ROW_COLOR}S1 >{ACTIVITY.SET_COMPLETE}</td>
<td scope='row' valign=TOP bgcolor="{BG_COLOR}" class={ROW_COLOR}S1 ><{ACTIVITY.TAG} title="{ACTIVITY.TITLE}" href="{URL_PREFIX}index.php?action=DetailView&module={ACTIVITY.MODULE}&record={ACTIVITY.ID}{RETURN_URL}" class="listViewTdLinkS1">{ACTIVITY.NAME}</{TAG.MAIN}></td>
<td nowrap valign=TOP bgcolor="{BG_COLOR}" class={ROW_COLOR}S1 >{ACTIVITY.TIME}</td>
<td nowrap valign=TOP bgcolor="{BG_COLOR}" class={ROW_COLOR}S1 >{ACTIVITY.STATUS}</td>
</tr>
<tr><td colspan="20" class="listViewHRS1"></td></tr>
<!-- END: row -->
</table>
<!-- END: open_activity -->

122
modules/EcmReminders/Popup.html Executable file
View File

@@ -0,0 +1,122 @@
<!--
/*****************************************************************************
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
* Version 1.1 ("License"); You may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://opensource.org/licenses/rpl.php. Software distributed under the
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
* either express or implied.
*
* You may:
* a) Use and distribute this code exactly as you received without payment or
* a royalty or other fee.
* b) Create extensions for this code, provided that you make the extensions
* publicly available and document your modifications clearly.
* c) Charge for a fee for warranty or support or for accepting liability
* obligations for your customers.
*
* You may NOT:
* a) Charge for the use of the original code or extensions, including in
* electronic distribution models, such as ASP (Application Service
* Provider).
* b) Charge for the original source code or your extensions other than a
* nominal fee to cover distribution costs where such distribution
* involves PHYSICAL media.
* c) Modify or delete any pre-existing copyright notices, change notices,
* or License text in the Licensed Software
* d) Assert any patent claims against the Licensor or Contributors, or
* which would in any way restrict the ability of any third party to use the
* Licensed Software.
*
* You must:
* a) Document any modifications you make to this code including the nature of
* the change, the authors of the change, and the date of the change.
* b) Make the source code for any extensions you deploy available via an
* Electronic Distribution Mechanism such as FTP or HTTP download.
* c) Notify the licensor of the availability of source code to your extensions
* and include instructions on how to acquire the source code and updates.
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
* reproduce, perform, modify, sublicense, and distribute your extensions.
*
* The Original Code is: CommuniCore
* Olavo Farias
* 2006-04-7 olavo.farias@gmail.com
*
* The Initial Developer of the Original Code is CommuniCore.
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
* All Rights Reserved.
********************************************************************************/
-->
<!-- BEGIN: main -->
<!-- BEGIN: SearchHeader -->
{SET_RETURN_JS}
<script type="text/javascript">
function toggleDisplay(id){
if(this.document.getElementById( id).style.display=='none'){
this.document.getElementById( id).style.display='inline'
if(this.document.getElementById(id+"link") != undefined){
this.document.getElementById(id+"link").style.display='none';
}
}else{
this.document.getElementById( id).style.display='none'
if(this.document.getElementById(id+"link") != undefined){
this.document.getElementById(id+"link").style.display='inline';
}
}
}
</script>
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="tabForm">
<tr>
<td>
<div id='divsearchform' style='display:inline'>
<form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="dataLabel" nowrap="nowrap" width="40%">{MOD.LBL_NAME}&nbsp;&nbsp;<input type="text" size="20" name="name" class="dataField" value="{NAME}" /></td>
<td width="10%" align="right">
<input type="hidden" name="action" value="Popup" />
<input type="hidden" name="query" value="true"/>
<input type="hidden" name="module" value="{MODULE_NAME}" />
<input type="hidden" name="parent_id" value="{parent_id}" />
<input type="hidden" name="parent_name" value="{parent_name}" />
<input type="submit" name="button" class="button"
title="{APP.LBL_SEARCH_BUTTON_TITLE}"
accesskey="{APP.LBL_SEARCH_BUTTON_KEY}"
value="{APP.LBL_SEARCH_BUTTON_LABEL}" />
</td>
</tr>
</table>
</form>
</div>
</td>
</tr>
</table>
<!-- END: SearchHeader -->
<!-- BEGIN: SearchHeaderEnd -->
<!-- END: SearchHeaderEnd -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listView">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" width="65%" class="listViewThS1"><a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_NAME}{arrow_start}{name_arrow}{arrow_end}</a></td>
<td scope="col" width="35%" class="listViewThS1"><a href="{ORDER_BY}assigned_user_name" class="listViewThLinkS1">{MOD.LBL_LIST_ASSIGNED_USER_ID}{arrow_start}{assigned_user_name_arrow}{arrow_end}</a></td>
</tr>
<!-- BEGIN: row -->
<tr height="20"
onmouseover="setPointer(this, '{ecmreminders.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmouseout ="setPointer(this, '{ecmreminders.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmousedown="setPointer(this, '{ecmreminders.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td scope='row' class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}"><a href="#" onclick="set_return('{.ID}', '{ecmreminders.NAME}'); window.close();" class="listViewTdLinkS1">{ecmreminders.NAME}</a></td>
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">{ecmreminders.ASSIGNED_USER_NAME}</td>
</tr>
<tr>
<td colspan="20" class="listViewHRS1"></td>
</tr>
<!-- END: row -->
</table>
<!-- END: main -->

View File

@@ -0,0 +1,131 @@
<!--
/*****************************************************************************
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
* Version 1.1 ("License"); You may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://opensource.org/licenses/rpl.php. Software distributed under the
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
* either express or implied.
*
* You may:
* a) Use and distribute this code exactly as you received without payment or
* a royalty or other fee.
* b) Create extensions for this code, provided that you make the extensions
* publicly available and document your modifications clearly.
* c) Charge for a fee for warranty or support or for accepting liability
* obligations for your customers.
*
* You may NOT:
* a) Charge for the use of the original code or extensions, including in
* electronic distribution models, such as ASP (Application Service
* Provider).
* b) Charge for the original source code or your extensions other than a
* nominal fee to cover distribution costs where such distribution
* involves PHYSICAL media.
* c) Modify or delete any pre-existing copyright notices, change notices,
* or License text in the Licensed Software
* d) Assert any patent claims against the Licensor or Contributors, or
* which would in any way restrict the ability of any third party to use the
* Licensed Software.
*
* You must:
* a) Document any modifications you make to this code including the nature of
* the change, the authors of the change, and the date of the change.
* b) Make the source code for any extensions you deploy available via an
* Electronic Distribution Mechanism such as FTP or HTTP download.
* c) Notify the licensor of the availability of source code to your extensions
* and include instructions on how to acquire the source code and updates.
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
* reproduce, perform, modify, sublicense, and distribute your extensions.
*
* The Original Code is: CommuniCore
* Olavo Farias
* 2006-04-7 olavo.farias@gmail.com
*
* The Initial Developer of the Original Code is CommuniCore.
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
* All Rights Reserved.
********************************************************************************/
-->
<!-- BEGIN: main -->
<!-- BEGIN: SearchHeader -->
<script type="text/javascript" src="include/JSON.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<script type="text/javascript" src="include/javascript/popup_helper.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="tabForm">
<tr>
<td>
<form action="index.php" method="post" name="popup_query_form" id="the_form">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="dataLabel" nowrap="nowrap">{MOD.LBL_NAME}&nbsp;&nbsp;<input type="text" name="name" size="20" class="dataField" value="{NAME}" /></td>
<td width="20%" align="right">
<input type="hidden" name="module" value="{MODULE_NAME}" />
<input type="hidden" name="action" value="Popup" />
<input type="hidden" name="query" value="true" />
<input type="hidden" name="request_data" value="{request_data}" />
<input type="hidden" name="record_id" value="" />
<input type="submit" name="button" class="button"
title="{APP.LBL_SEARCH_BUTTON_TITLE}"
accessKey="{APP.LBL_SEARCH_BUTTON_KEY}"
value="{APP.LBL_SEARCH_BUTTON_LABEL}" />
<input type="hidden" name="mode" value="{MULTI_SELECT}" />
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
/* initialize the popup request from the parent */
if(window.document.forms['popup_query_form'].request_data.value == "")
{
window.document.forms['popup_query_form'].request_data.value
= JSON.stringify(window.opener.get_popup_request_data());
}
-->
</script>
<!-- END: SearchHeader -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listView">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20" class="listViewThS1">
<td scope="col" width="5%" class="listViewThS1" NOWRAP>{CHECKALL}</td>
<td scope="col" scope="col" width="35%" class="listViewThS1" NOWRAP>
<slot>
<a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_NAME}{arrow_start}{name_arrow}{arrow_end}</a>
</slot>
</td>
</tr>
<!-- BEGIN: row -->
<tr height="20"
onmouseover="setPointer(this, '{ECMREMINDER.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmouseout="setPointer(this, '{ECMREMINDER.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmousedown="setPointer(this, '{ECMREMINDER.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" valign='top'>{PREROW}</td>
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<slot>
<{TAG.MAIN} href="#"
onclick="send_back('EcmReminder','{ECMREMINDER.ID}');"
class="listViewTdLinkS1">{ECMREMINDER.NAME}</{TAG.MAIN}>
</slot>
</td>
</tr>
<tr>
<td colspan="20" class="listViewHRS1"></td>
</tr>
<!-- END: row -->
</table>
{ASSOCIATED_JAVASCRIPT_DATA}
<!-- END: main -->

View File

@@ -0,0 +1,112 @@
<!-- BEGIN: main -->
<link rel="stylesheet" type="text/css" media="all" href="themes/Sugar5/css/style.css">
<link rel="stylesheet" type="text/css" href="themes/Sugar5/css/yui.css" />
<link rel="stylesheet" type="text/css" href="themes/Sugar5/css/deprecated.css" />
<link rel="stylesheet" type="text/css" media="all" href="themes/Sugar5/calendar-win2k-cold-1.css?s=5.0.0e&c=">
<link href="themes/Sugar5/colors.sugar.css?s=5.0.0e&c=" rel="stylesheet" type="text/css" title="sugar" />
<script type="text/javascript" src="jscalendar/calendar.js?s=5.0.0e&c="></script>
<script type="text/javascript" src="jscalendar/lang/calendar-en.js?s=5.0.0e&c="></script>
<script type="text/javascript" src="jscalendar/calendar-setup_3.js?s=5.0.0e&c="></script>
<script type="text/javascript" src="modules/EcmReminders/helper.js"></script>
<form name="ReminderWindow" action="index.php?module=EcmReminders&action=ReminderWindow" method="POST">
<input type="hidden" name="module" value="EcmReminders" />
<input type="hidden" name="action" id="action" />
<input type="hidden" name="backtoindex" id="backtoindex" value="0" />
<div style="height:10px;width:300px;background:#ffffff;display:none;position:absolute; top:0; right:0;" id="desc">
<table bgcolor="#cccccc" class="olBgClass" border="0" cellpadding="1" cellspacing="1" width="300">
<tbody>
<tr>
<td>
<table class="olCgClass" border="0" cellpadding="2" cellspacing="0" width="100%">
<tbody>
<tr>
<td class="olCgClass" width="100%">
<div id="desc-title" class="olCapFontClass"></div>
</td>
<td align="right">
<a href="javascript:hidedescription();" title="Click to Close" onClick="javascript:hidedescription();" class="olCloseFontClass"><img src="themes/Sugar/images/close_inline.gif" border="0"></a>
</td>
</tr>
</tbody>
</table>
<table class="olFgClass" border="0" cellpadding="2" cellspacing="0" width="100%">
<tbody>
<tr>
<td class="olFgClass" valign="top" background="#ffffff">
<div id="desc-desc" class="olFontClass"><br></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<table width="618" border="0" align="center" cellpadding="0" cellspacing="0" class="h3Row">
<tr>
<td nowrap><h3>{MOD.LBL_REMINDER_LIST}</h3></td>
</tr>
</table>
<div style="overflow:auto;height:340px;width:648px;">
<table width="502" border="0" cellspacing="0" cellpadding="0" class="listView" align="center">
<tr>
<td scope="col" width="30" class="listViewThS1" NOWRAP><input type="checkbox" name="selectall" id="selectall" value="1" onclick="selectallitems();" /></td>
<td scope="col" width="20" class="listViewThS1" NOWRAP>&nbsp;</td>
<td scope="col" width="127" class="listViewThS1" nowrap="nowrap">{MOD.LBL_LIST_NAME}&nbsp;</td>
<td scope="col" width="120" class="listViewThS1" nowrap="nowrap">{MOD.LBL_LIST_REMINDER_DATE}&nbsp;</td>
<td scope="col" width="122" class="listViewThS1" nowrap="nowrap">{MOD.LBL_LIST_EVENT_DATE}&nbsp;</td>
<td scope="col" width="30" class="listViewThS1" NOWRAP>{MOD.LBL_LIST_STATUS}</td>
<td scope="col" width="30" class="listViewThS1" NOWRAP>&nbsp;</td>
<td scope="col" width="30" class="listViewThS1" NOWRAP>&nbsp;</td>
</tr>
{LIST}
</table>
</div>
<br />
<div id="close" style="display:block; ">
<input type="submit" class="button" name="button" value="{MOD.LBL_CLOSE_SELECTED_BUTTON_LABEL}" onclick="document.getElementById('action').value='CloseSelected';" />
</div>
<br>
<ul class="tablist">
<li id="li_postponeBy" class="active"><a class="current" id="a_postponeBy" href="javascript:showdiv('postponeBy');">{MOD.LBL_POSTPONE_BY}</a></li>
<li id="li_postponeTo"><a id="a_postponeTo" href="javascript:showdiv('postponeTo');">{MOD.LBL_POSTPONE_TO}</a></li>
</ul>
<br>
<div id="postponeBy" style="display:block;">
<select name='rsec' id='rsec'>
<OPTION value='300'>5 {MOD.LBL_POSTPONEBY_DROPDOWN_MIN}</OPTION>
<OPTION value='600'>10 {MOD.LBL_POSTPONEBY_DROPDOWN_MIN}</OPTION>
<OPTION value='900'>15 {MOD.LBL_POSTPONEBY_DROPDOWN_MIN}</OPTION>
<OPTION value='1800'>30 {MOD.LBL_POSTPONEBY_DROPDOWN_MIN}</OPTION>
<OPTION value='3600'>1 {MOD.LBL_POSTPONEBY_DROPDOWN_HOUR}</OPTION>
<OPTION value='7200'>2 {MOD.LBL_POSTPONEBY_DROPDOWN_HOURS}</OPTION>
<OPTION value='14400'>4 {MOD.LBL_POSTPONEBY_DROPDOWN_HOURS}</OPTION>
<OPTION value='28800'>8 {MOD.LBL_POSTPONEBY_DROPDOWN_HOURS}</OPTION>
<OPTION value='43200'>12 {MOD.LBL_POSTPONEBY_DROPDOWN_HOURS}</OPTION>
<OPTION value='86400'>1 {MOD.LBL_POSTPONEBY_DROPDOWN_DAY}</OPTION>
<OPTION value='172800'>2 {MOD.LBL_POSTPONEBY_DROPDOWN_DAYS}</OPTION>
<OPTION value='259200'>3 {MOD.LBL_POSTPONEBY_DROPDOWN_DAYS}</OPTION>
<OPTION value='345600'>4 {MOD.LBL_POSTPONEBY_DROPDOWN_DAYS}</OPTION>
<OPTION value='604800'>1 {MOD.LBL_POSTPONEBY_DROPDOWN_WEEK}</OPTION>
<OPTION value='1209600'>2 {MOD.LBL_POSTPONEBY_DROPDOWN_WEEKS}</OPTION>
</select>
<input type="submit" name="button" value="{MOD.LBL_UPDATE_BUTTON_LABEL}" class="button" onclick="document.getElementById('action').value='PostponeBy';" />
</div>
<div id="postponeTo" style="display:none;">
{MOD.LBL_DATE}: <input name="date" id="date" size="11" maxlength="10" type="text" value="{DATE_START}" /> <img src="themes/default/images/jscalendar.gif" alt="%d.%m.%Y" id="date_trigger" align="absmiddle">
<script type="text/javascript">
Calendar.setup ({
inputField : "date", ifFormat : "%d.%m.%Y", showsTime : false, button : "date_trigger", singleClick : true, step : 1
});
</script>&nbsp;&nbsp;{MOD.LBL_TIME}:
{HOUR}
{MINUTE}
<input type="submit" name="button" value="{MOD.LBL_UPDATE_BUTTON_LABEL}" class="button" onclick="document.getElementById('action').value='PostponeTo';" />
</div>
</form>
{JAVASCRIPT}
<!-- END: main -->

View File

@@ -0,0 +1,106 @@
<!-- BEGIN: main -->
<link rel="stylesheet" type="text/css" media="all" href="themes/Sugar/calendar-win2k-cold-1.css?s=5.0.0e&c=">
<link href="themes/Sugar/colors.sugar.css?s=5.0.0e&c=" rel="stylesheet" type="text/css" title="sugar" />
<script type="text/javascript" src="jscalendar/calendar.js?s=5.0.0e&c="></script>
<script type="text/javascript" src="jscalendar/lang/calendar-en.js?s=5.0.0e&c="></script>
<script type="text/javascript" src="jscalendar/calendar-setup_3.js?s=5.0.0e&c="></script>
<script type="text/javascript" src="modules/EcmReminders/helper.js"></script>
<form name="ReminderWindow" action="index.php?module=EcmReminders&action=index" method="POST">
<input type="hidden" name="module" value="EcmReminders" />
<input type="hidden" name="action" id="action" />
<input type="hidden" name="backtoindex" id="backtoindex" value="1" />
<div style="height:10px;width:300px;background:#ffffff;display:none;position:absolute; top:0; right:0;" id="desc">
<table bgcolor="#cccccc" class="olBgClass" border="0" cellpadding="1" cellspacing="1" width="300">
<tbody>
<tr>
<td>
<table class="olCgClass" border="0" cellpadding="2" cellspacing="0" width="100%">
<tbody>
<tr>
<td class="olCgClass" width="100%">
<div id="desc-title" class="olCapFontClass"></div>
</td>
<td align="right">
<a href="javascript:hidedescription();" title="Click to Close" onClick="javascript:hidedescription();" class="olCloseFontClass"><img src="themes/Sugar/images/close_inline.gif" border="0"></a>
</td>
</tr>
</tbody>
</table>
<table class="olFgClass" border="0" cellpadding="2" cellspacing="0" width="100%">
<tbody>
<tr>
<td class="olFgClass" valign="top" background="#ffffff">
<div id="desc-desc" class="olFontClass"><br></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listView" align="left">
<tr>
<td scope="col" width="30" class="listViewThS1" NOWRAP><input type="checkbox" name="selectall" id="selectall" value="1" onclick="selectallitems();" /></td>
<td scope="col" width="20" class="listViewThS1" NOWRAP>&nbsp;</td>
<td scope="col" width="127" class="listViewThS1" nowrap="nowrap">{MOD.LBL_LIST_NAME}&nbsp;</td>
<td scope="col" width="120" class="listViewThS1" nowrap="nowrap">{MOD.LBL_LIST_REMINDER_DATE}&nbsp;</td>
<td scope="col" width="122" class="listViewThS1" nowrap="nowrap">{MOD.LBL_LIST_EVENT_DATE}&nbsp;</td>
<td scope="col" width="30" class="listViewThS1" NOWRAP>{MOD.LBL_LIST_STATUS}</td>
<td scope="col" width="30" class="listViewThS1" NOWRAP>&nbsp;</td>
<td scope="col" width="30" class="listViewThS1" NOWRAP>&nbsp;</td>
</tr>
{LIST}
</table>
<p><br />
<br />
</p>
<p>&nbsp; </p>
<div id="close" style="display:block; ">
<input type="submit" class="button" name="button" value="{MOD.LBL_CLOSE_SELECTED_BUTTON_LABEL}" onclick="document.getElementById('action').value='CloseSelected';" />
</div>
<br>
<ul class="tablist">
<li id="li_postponeBy" class="active"><a class="current" id="a_postponeBy" href="javascript:showdiv('postponeBy');">{MOD.LBL_POSTPONE_BY}</a></li>
<li id="li_postponeTo"><a id="a_postponeTo" href="javascript:showdiv('postponeTo');">{MOD.LBL_POSTPONE_TO}</a></li>
</ul>
<br>
<div id="postponeBy" style="display:block;">
<select name='rsec' id='rsec'>
<OPTION value='300'>5 {MOD.LBL_POSTPONEBY_DROPDOWN_MIN}</OPTION>
<OPTION value='600'>10 {MOD.LBL_POSTPONEBY_DROPDOWN_MIN}</OPTION>
<OPTION value='900'>15 {MOD.LBL_POSTPONEBY_DROPDOWN_MIN}</OPTION>
<OPTION value='1800'>30 {MOD.LBL_POSTPONEBY_DROPDOWN_MIN}</OPTION>
<OPTION value='3600'>1 {MOD.LBL_POSTPONEBY_DROPDOWN_HOUR}</OPTION>
<OPTION value='7200'>2 {MOD.LBL_POSTPONEBY_DROPDOWN_HOURS}</OPTION>
<OPTION value='14400'>4 {MOD.LBL_POSTPONEBY_DROPDOWN_HOURS}</OPTION>
<OPTION value='28800'>8 {MOD.LBL_POSTPONEBY_DROPDOWN_HOURS}</OPTION>
<OPTION value='43200'>12 {MOD.LBL_POSTPONEBY_DROPDOWN_HOURS}</OPTION>
<OPTION value='86400'>1 {MOD.LBL_POSTPONEBY_DROPDOWN_DAY}</OPTION>
<OPTION value='172800'>2 {MOD.LBL_POSTPONEBY_DROPDOWN_DAYS}</OPTION>
<OPTION value='259200'>3 {MOD.LBL_POSTPONEBY_DROPDOWN_DAYS}</OPTION>
<OPTION value='345600'>4 {MOD.LBL_POSTPONEBY_DROPDOWN_DAYS}</OPTION>
<OPTION value='604800'>1 {MOD.LBL_POSTPONEBY_DROPDOWN_WEEK}</OPTION>
<OPTION value='1209600'>2 {MOD.LBL_POSTPONEBY_DROPDOWN_WEEKS}</OPTION>
</select>
<input type="submit" name="button" value="{MOD.LBL_UPDATE_BUTTON_LABEL}" class="button" onclick="document.getElementById('action').value='PostponeBy';" />
</div>
<div id="postponeTo" style="display:none;">
{MOD.LBL_DATE}: <input name="date" id="date" size="11" maxlength="10" type="text" value="{DATE_START}" /> <img src="themes/default/images/jscalendar.gif" alt="%d.%m.%Y" id="date_trigger" align="absmiddle">
<script type="text/javascript">
Calendar.setup ({
inputField : "date", ifFormat : "%d.%m.%Y", showsTime : false, button : "date_trigger", singleClick : true, step : 1
});
</script>&nbsp;&nbsp;{MOD.LBL_TIME}:
{HOUR}
{MINUTE}
<input type="submit" name="button" value="{MOD.LBL_UPDATE_BUTTON_LABEL}" class="button" onclick="document.getElementById('action').value='PostponeTo';" />
</div>
</form>
{JAVASCRIPT}
<!-- END: main -->

View File

@@ -0,0 +1,110 @@
<!--
/*****************************************************************************
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
* Version 1.1 ("License"); You may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://opensource.org/licenses/rpl.php. Software distributed under the
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
* either express or implied.
*
* You may:
* a) Use and distribute this code exactly as you received without payment or
* a royalty or other fee.
* b) Create extensions for this code, provided that you make the extensions
* publicly available and document your modifications clearly.
* c) Charge for a fee for warranty or support or for accepting liability
* obligations for your customers.
*
* You may NOT:
* a) Charge for the use of the original code or extensions, including in
* electronic distribution models, such as ASP (Application Service
* Provider).
* b) Charge for the original source code or your extensions other than a
* nominal fee to cover distribution costs where such distribution
* involves PHYSICAL media.
* c) Modify or delete any pre-existing copyright notices, change notices,
* or License text in the Licensed Software
* d) Assert any patent claims against the Licensor or Contributors, or
* which would in any way restrict the ability of any third party to use the
* Licensed Software.
*
* You must:
* a) Document any modifications you make to this code including the nature of
* the change, the authors of the change, and the date of the change.
* b) Make the source code for any extensions you deploy available via an
* Electronic Distribution Mechanism such as FTP or HTTP download.
* c) Notify the licensor of the availability of source code to your extensions
* and include instructions on how to acquire the source code and updates.
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
* reproduce, perform, modify, sublicense, and distribute your extensions.
*
* The Original Code is: CommuniCore
* Olavo Farias
* 2006-04-7 olavo.farias@gmail.com
*
* The Initial Developer of the Original Code is CommuniCore.
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
* All Rights Reserved.
********************************************************************************/
-->
<!-- BEGIN: main -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="border-top: 0px none; margin-bottom: 4px" class="tabForm">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="dataLabel" noWrap>
<span sugar='slot1'>{MOD.LBL_NAME}</span sugar='slot'>
</td>
<td valign="top" class="dataField">
<span sugar='slot1b'>
<input type=text size="20" name="name_basic" class=dataField value="{NAME}" />
</span sugar='slot'>
</td>
<td class="dataLabel">{APP.LBL_CURRENT_USER_FILTER}&nbsp;&nbsp;
<input name='current_user_only_basic' onchange='this.form.submit();' onchange='this.form.submit();' class="checkbox" type="checkbox" {CURRENT_USER_ONLY}>
</td>
</tr>
<td width="15%" class="dataLabel" valign="top"><span sugar='slot2'>{MOD.LBL_DESCRIPTION}</span sugar='slot'></td>
<td width="85%" class="dataField">
<span sugar='slot2b'>
<textarea name='description_basic' title="Description" tabindex='2' cols="30" rows="8">{DESCRIPTION}</textarea>
</span sugar='slot'>
</td>
</tr>
<tr>
</table>
</td>
</tr>
</table>
<!-- END: main -->
<!-- BEGIN: advanced -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-top: 0px none; margin-bottom: 4px" class="tabForm">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="20%" class="dataLabel"><span sugar='slot1'>{MOD.LBL_NAME}</span sugar='slot'></td>
<td width="25%" class="dataField"><span sugar='slot1b'><input name='name' type="text" tabindex='1' size='25' maxlength='50' value="{NAME}"></span sugar='slot'></td>
<td class="dataLabel"><span sugar='slot2'>{APP.LBL_ASSIGNED_TO}</span sugar='slot'></td>
<td class="dataField"><span sugar='slot2b'><select tabindex='1' style="width: 150px" size='3' name='assigned_user_id[]' multiple="multiple">{USER_FILTER}</select></span sugar='slot'></td>
<tr>
<td width="15%" class="dataLabel" valign="top"><span sugar='slot`3`'>{MOD.LBL_DESCRIPTION}</span sugar='slot'></td>
<td width="85%" class="dataField">
<span sugar='slot`3`b'>
<textarea name='description' title="Description" tabindex='`3`' cols="30" rows="8">{DESCRIPTION}</textarea>
</span sugar='slot'>
</td>
</tr>
<tr>
</tr>
</table>
</td>
</tr>
</table>
<!-- END: advanced -->

View File

@@ -0,0 +1,89 @@
<!--
/*****************************************************************************
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
* Version 1.1 ("License"); You may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://opensource.org/licenses/rpl.php. Software distributed under the
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
* either express or implied.
*
* You may:
* a) Use and distribute this code exactly as you received without payment or
* a royalty or other fee.
* b) Create extensions for this code, provided that you make the extensions
* publicly available and document your modifications clearly.
* c) Charge for a fee for warranty or support or for accepting liability
* obligations for your customers.
*
* You may NOT:
* a) Charge for the use of the original code or extensions, including in
* electronic distribution models, such as ASP (Application Service
* Provider).
* b) Charge for the original source code or your extensions other than a
* nominal fee to cover distribution costs where such distribution
* involves PHYSICAL media.
* c) Modify or delete any pre-existing copyright notices, change notices,
* or License text in the Licensed Software
* d) Assert any patent claims against the Licensor or Contributors, or
* which would in any way restrict the ability of any third party to use the
* Licensed Software.
*
* You must:
* a) Document any modifications you make to this code including the nature of
* the change, the authors of the change, and the date of the change.
* b) Make the source code for any extensions you deploy available via an
* Electronic Distribution Mechanism such as FTP or HTTP download.
* c) Notify the licensor of the availability of source code to your extensions
* and include instructions on how to acquire the source code and updates.
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
* reproduce, perform, modify, sublicense, and distribute your extensions.
*
* The Original Code is: CommuniCore
* Olavo Farias
* 2006-04-7 olavo.farias@gmail.com
*
* The Initial Developer of the Original Code is CommuniCore.
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
* All Rights Reserved.
********************************************************************************/
-->
<!-- BEGIN: main -->
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="listView">
<tr height="20" >
<td scope="col" width="5%" class="listViewThS1"><slot>{MOD.LBL_LIST_NUMBER}</slot></td>
<td scope="col" width="50%" class="listViewThS1"><slot>{MOD.LBL_LIST_SUBJECT}</slot></td>
<td scope="col" width="15%" class="listViewThS1"><slot>{MOD.LBL_LIST_STATUS}</slot></td>
<td scope="col" width="5%" class="listViewThS1"><slot>&nbsp;</slot></td>
<td scope="col" width="50%" class="listViewThS1"><slot>{MOD.LBL_LIST_NAME}</slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20" onmouseover="setPointer(this, '{ECMREMINDERS.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmouseout="setPointer(this, '{ECMREMINDERS.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmousedown="setPointer(this, '{ECMREMINDERS.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td scope='row' valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" ><slot>{ECMREMINDERS.NUMBER}</slot></td>
<td valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" ><slot>
<a href="{URL_PREFIX}index.php?action=DetailView&module=EcmReminders&record={ECMREMINDERS.ID}" class="listViewTdLinkS1">{ECMREMINDERS.NAME}</a></slot>
</td>
<td valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" ><slot>{ECMREMINDERS.STATUS}</slot></td>
<td nowrap align="center" valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" >
<slot>
<a class="listViewTdToolsS1" href="{URL_PREFIX}index.php?action=EditView&module=EcmReminders&record={ECMREMINDERS.ID}{RETURN_URL}">{EDIT_INLINE_PNG}</a>&nbsp;
<a class="listViewTdToolsS1" href="{URL_PREFIX}index.php?action=EditView&module=EcmReminders&record={ECMREMINDERS.ID}{RETURN_URL}">{APP.LNK_EDIT}</a>
</slot>
</td>
<td scope='row' valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" ><slot>{ECMREMINDERS.NAME}</slot></td>
<td valign=TOP bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1" >
<slot>
<a href="{URL_PREFIX}index.php?action=DetailView&module=EcmReminders&record={ECMREMINDERS.ID}" class="listViewTdLinkS1">{ECMREMINDERS.NAME}</a>
</slot>
</td>
</tr>
<tr>
<td colspan="20" class="listViewHRS1"></td>
</tr>
<!-- END: row -->
</table>
<!-- END: main -->