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

85
modules/Roles/DetailView.html Executable file
View File

@@ -0,0 +1,85 @@
<!--
/*********************************************************************************
* 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".
********************************************************************************/
/*********************************************************************************
********************************************************************************/
-->
<!-- BEGIN: main -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<form action="index.php" method="post" name="DetailView" id="form">
<input type="hidden" name="module" value="Roles">
<input type="hidden" name="record" value="{ID}">
<input type="hidden" name="isDuplicate" value="0">
<input type="hidden" name="action" value="{ACTION}">
<input type="hidden" name="return_module" value="{RETURN_MODULE}">
<input type="hidden" name="return_action" value="{RETURN_ACTION}">
<input type="hidden" name="return_id" value="{ID}">
<input type="hidden" name="user_id" value="">
<input title="{APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{APP.LBL_EDIT_BUTTON_KEY}" class="button" 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="document.DetailView.isDuplicate.value = 1;" 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="document.DetailView.return_action.value = 'ListView'; document.DetailView.action.value = 'Delete'; return confirm('{APP.NTC_DELETE_CONFIRMATION}')" type="submit" name="Delete" value=" {APP.LBL_DELETE_BUTTON_LABEL} ">
</form>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="{GRIDLINE}" cellpadding="0">
{PAGINATION}
<tr>
<td width="15%" valign="top"><slot>{MOD.LBL_NAME}</slot></td>
<td width="85%" valign="top"><slot>{NAME}&nbsp;</slot></td>
</tr>
<tr>
<td valign="top"><slot>{MOD.LBL_DESCRIPTION}</slot></td>
<td valign="top"><slot>{DESCRIPTION}&nbsp;</slot></td>
</tr>
</table>
</p>
<table class="edit view" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td>
<table border="0" cellpadding="0" cellspacing="{GRIDLINE}" width="100%">
<tbody><tr><th scope="row" colspan="2" align="left"><h4>{TAB_CHOOSER}<br>
</td></tr></tbody></table>
</td></tr></tbody></table>
<!-- END: main -->
<!-- BEGIN: subpanel -->
<slot>{SUBPANEL}</slot>
<!-- END: subpanel -->

106
modules/Roles/EditView.html Executable file
View File

@@ -0,0 +1,106 @@
<!--
/*********************************************************************************
* 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".
********************************************************************************/
/*********************************************************************************
********************************************************************************/
-->
<!-- BEGIN: main -->
{ERROR_STRING}
<form name="EditView" method="POST" action="index.php">
<input type="hidden" name="module" value="Roles">
<input type="hidden" name="record" value="{ID}">
<input type="hidden" name="action">
<input type="hidden" name="display_tabs_def">
<input type="hidden" name="hide_tabs_def">
<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}">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><input title="{APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{APP.LBL_SAVE_BUTTON_KEY}" class="button primary" onclick="set_chooser(); 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="edit view">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25%" scope="row"><slot>{MOD.LBL_NAME} <span class="required">{APP.LBL_REQUIRED_SYMBOL}</span></slot></td>
<td width="35%" ><slot><input name='name' {DISABLED} tabindex='1' size='25' maxlength='25' type="text" value="{NAME}"></slot></td>
<td width="25%" scope="row"><slot>&nbsp;</slot></td>
<td width="35%"><slot>&nbsp;</slot></td>
</tr>
<tr>
<td scope="row"><slot>&nbsp;</slot></td>
<td><slot>&nbsp;</slot></td>
<td scope="row"><slot>&nbsp;</slot></td>
<td><slot>&nbsp;</slot></td>
</tr>
<tr>
<td valign="top" scope="row"><slot>{MOD.LBL_DESCRIPTION}</slot></td>
<td colspan="4"><slot><textarea name='description' tabindex='3' cols="80" rows="8">{DESCRIPTION}</textarea></slot></td>
</tr>
<tr>
<td scope="row"><slot>&nbsp;</slot></td>
<td><slot>&nbsp;</slot></td>
<td scope="row"><slot>&nbsp;</slot></td>
<td><slot>&nbsp;</slot></td>
</tr>
</table>
</td>
</tr>
</table></p>
<table class="edit view" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><th scope="row" colspan="2" align="left"><h4>{TAB_CHOOSER}
</td></tr></tbody>
</table>
</td>
</tr></tbody>
</table></p>
</form>
{JAVASCRIPT}
<!-- END: main -->

View File

@@ -0,0 +1,62 @@
<!--
/*********************************************************************************
* 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".
********************************************************************************/
/*********************************************************************************
********************************************************************************/
-->
<!-- BEGIN: main -->
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="list view">
<tr height="20" >
<td scope="col" width="25%" >{MOD.LBL_LIST_NAME}</td>
<td scope="col" width="15%" >{MOD.LBL_LIST_USER_NAME}</td>
<td scope="col" width="25%" >{MOD.LBL_LIST_TITLE}</td>
<td colspan="2" scope="col" width="35%" >{MOD.LBL_LIST_DEPARTMENT}</td>
</tr>
<!-- BEGIN: row -->
<tr height="20" class="{ROW_COLOR}S1">
<td scope="row" valign=TOP><a href="{URL_PREFIX}index.php?action=DetailView&module=Users&record={USER.ID}" >{USER.FIRST_NAME} {USER.LAST_NAME}</a></td>
<td scope="row" valign=TOP><a href="{URL_PREFIX}index.php?action=DetailView&module=Users&record={USER.ID}" >{USER.USER_NAME}</a></td>
<td scope="row" valign=TOP><a href="{URL_PREFIX}index.php?action=DetailView&module=Users&record={USER.ID}" >{USER.TITLE}</a></td>
<td scope="row" valign=TOP><a href="{URL_PREFIX}index.php?action=DetailView&module=Users&record={USER.ID}" >{USER.DEPARTMENT}</a></td>
<td nowrap align="right" valign=TOP><a class="listViewTdToolsS1" href="{URL_PREFIX}index.php?action=EditView&module=Users&record={USER.ID}{RETURN_URL}">{EDIT_INLINE_PNG}</a>&nbsp;<a class="listViewTdToolsS1" href="{URL_PREFIX}index.php?action=EditView&module=Users&record={USER.ID}{RETURN_URL}">{APP.LNK_EDIT}</a> &nbsp; <a class="listViewTdToolsS1" href="{URL_PREFIX}index.php?action=DeleteUserRelationship&module=Roles&record={ROLE_RECORD}&user_id={USER.ID}{RETURN_URL}">{REMOVE_INLINE_PNG}</a>&nbsp;<a class="listViewTdToolsS1" href="{URL_PREFIX}index.php?action=DeleteUserRelationship&module=Roles&record={ROLE_RECORD}&user_id={USER.ID}{RETURN_URL}">{APP.LNK_REMOVE}</a></td>
</tr>
<!-- END: row -->
</table>
<!-- END: main -->

View File

@@ -0,0 +1,79 @@
<!--
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Enterprise Subscription
* Agreement ("License") which can be viewed at
* http://www.sugarcrm.com/crm/products/sugar-enterprise-eula.html
* By installing or using this file, You have unconditionally agreed to the
* terms and conditions of the License, and You may not use this file except in
* compliance with the License. Under the terms of the license, You shall not,
* among other things: 1) sublicense, resell, rent, lease, redistribute, assign
* or otherwise transfer Your rights to the Software, and 2) use the Software
* for timesharing or service bureau purposes such as hosting the Software for
* commercial gain and/or for the benefit of a third party. Use of the Software
* may be subject to applicable fees and any use of the Software without first
* paying applicable fees is strictly prohibited. You do not have the right to
* remove SugarCRM copyrights from the source code or user interface.
*
* All copies of the Covered Code must include on each user interface screen:
* (i) the "Powered by SugarCRM" logo and
* (ii) the SugarCRM copyright notice
* in the same form as they appear in the distribution. See full license for
* requirements.
*
* Your Warranty, Limitations of liability and Indemnity are expressly stated
* in the License. Please refer to the License for the specific language
* governing these rights and limitations under the License. Portions created
* by SugarCRM are Copyright (C) 2004-2008 SugarCRM, Inc.; All Rights Reserved.
********************************************************************************/
/*********************************************************************************
********************************************************************************/
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<h1>Roles</h1>
<p>Use this page to view and set access permissions for the selected module.
You can set permissions at the module-level or at a field-level. The page displays the role's module-level permissions. To view field level permissions, select the module from the left panel. The page refreshes to display module level permissions in the top panel and field-level permissions in the bottom panel.
<p>Set module-level permissions as follows:
<ul>
<li>In the Access column, click <span class="helpButton">Not Set</span> and select <span class="helpButton">Enabled</span> to allow access, or <span class="helpButton">Disabled</span> to hide the module.
<li>In the Access Type column, select of the following:
<ul>
<li><span class="helpButton">Not Set</span>: to ensure that the role does not affect a particular setting.
<li><span class="helpButton">Normal</span>: to grant permissions to view and manage records depending on team membership.
<li><span class="helpButton">Admin</span>: to grant permissions to view and administer all records in the module regardless of team membership.
<li><span class="helpButton">Developer</span>: to grant developer privileges for the specified module. This allows the user access to the administration and developer tools, namely Studio, Workflow Management, and Dropdown Editor. However, the user needs the appropriate team membership to view and manage records.
<li><span class="helpButton">Admin & Developer</span>: to grant developer privileges for the specified module. This allows the user access to the administration and developer tools, namely Studio, Workflow Management, and Dropdown Editor. The user does not need team membership to view and manage records.
</ul>
<li>In the Delete column, click <span class="helpButton">Not Set</span> and select one of the following:
<ul>
<li>Select <span class="helpButton">All</span> to allow any user to delete records.
<li>Select <span class="helpButton">Owner</span> to allow only record owners to delete records.
<li>Select <span class="helpButton">None</span> to prevent all users from deleting records.
</ul>
Similarly, set permissions to edit records, export records, and import records. Set permissions for ListView in the List column. Set permissions for the DetailView in the View column.
<p>To set field-level permissions, click <span class="helpButton">Not Set</span> for the desired field and select one of the following:
<ul>
<li><span class="helpButton">Read/Write</span>: Allows all users to view and edit records.
<li><span class="helpButton">Read/Owner Write</span>: Allows all users to view the records; only the record owner can edit the record.
<li><span class="helpButton">Read Only</span>:Allows all users to only view the record.
<li><span class="helpButton">Owner Read/Owner Write</span>: Allows only the record owner to read and edit the record.
<li><span class="helpButton">>None</span>: Hides the field from all users.
</ul>
A field with a plus sign (+) indicates a field group. For example, Billing Street includes the City, State, Postalcode, and Country. The permissions that you set for such a field applies to the whole group.
<p>Click <span class="helpButton">Save</span> to save your changes.

View File

@@ -0,0 +1,61 @@
<!--
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Enterprise Subscription
* Agreement ("License") which can be viewed at
* http://www.sugarcrm.com/crm/products/sugar-enterprise-eula.html
* By installing or using this file, You have unconditionally agreed to the
* terms and conditions of the License, and You may not use this file except in
* compliance with the License. Under the terms of the license, You shall not,
* among other things: 1) sublicense, resell, rent, lease, redistribute, assign
* or otherwise transfer Your rights to the Software, and 2) use the Software
* for timesharing or service bureau purposes such as hosting the Software for
* commercial gain and/or for the benefit of a third party. Use of the Software
* may be subject to applicable fees and any use of the Software without first
* paying applicable fees is strictly prohibited. You do not have the right to
* remove SugarCRM copyrights from the source code or user interface.
*
* All copies of the Covered Code must include on each user interface screen:
* (i) the "Powered by SugarCRM" logo and
* (ii) the SugarCRM copyright notice
* in the same form as they appear in the distribution. See full license for
* requirements.
*
* Your Warranty, Limitations of liability and Indemnity are expressly stated
* in the License. Please refer to the License for the specific language
* governing these rights and limitations under the License. Portions created
* by SugarCRM are Copyright (C) 2004-2008 SugarCRM, Inc.; All Rights Reserved.
********************************************************************************/
/*********************************************************************************
********************************************************************************/
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<h1>Role</h1>
<p>Use this page to create roles and grant them access to Sugar modules.</p>
<p>To create a role, enter the following information and click <span class="helpButton">Save</span>:
<ul>
<li><span class="helpButton">Name</span>: Enter a name for the role.</li>
<li><span class="helpButton">Description</span>: Enter a brief description of the role.</li>
</ul>
<p>A list of current permissions for existing modules display on the page. Specify access to one or more modules. By default, access is enabled for all modules.
<ul>
<li>To deny access to a module, click Not Set corresponding to the module in the Access column, and from the drop-down list, select <span class="helpButton">Disabled</span>.
<li>To specify end-user privileges or administrator privileges, click <span class="helpButton">Not Set</span> in the Access Type column and select <span class="helpButton">Normal</span> or <span class="helpButton">Admin</span> respectively.
<li>To allow a specific privilege for a module, such as editing or deleting records, click <span class="helpButton">Not Set</span>in the appropriate Action column, such as List for ListView or View for DetailView, corresponding to the module and select one of the following:
<ul>
<li>All. Allows all users of the specified Access type to delete a record in the module.
<li>Owner. Allows only the record owner to delete the record.
<li>None. Prevents all users of the specified Access type from deleting records in the module.
</ul>
<p>To create the role, click <span class="helpButton">Save</span>; click <span class="helpButton">Cancel</span> to exit the page without saving your changes.</p>
<p>To duplicate the set of permissions, on the Detail page, click Duplicate, and enter a name for the new role.