Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1069893
in-portal
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jul 20, 9:06 AM
Size
29 KB
Mime Type
text/x-diff
Expires
Tue, Jul 22, 9:06 AM (2 h, 22 m)
Engine
blob
Format
Raw Data
Handle
692781
Attached To
rINP In-Portal
in-portal
View Options
Index: branches/RC/kernel/admin_templates/users/user_edit_group.tpl
===================================================================
--- branches/RC/kernel/admin_templates/users/user_edit_group.tpl (revision 11143)
+++ branches/RC/kernel/admin_templates/users/user_edit_group.tpl (nonexistent)
@@ -1,42 +0,0 @@
-<inp2:m_RequireLogin permissions="in-portal:user_list.view" system="1"/>
-
-<inp2:m_include t="incs/header" nobody="yes"/>
-<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
-
-<inp2:m_RenderElement name="section_header" prefix="u" icon="icon46_users" module="in-portal" title="la_title_Users"/>
-
-<inp2:m_RenderElement name="blue_bar" prefix="u" title_preset="user_edit_group" module="in-portal" icon="icon46_users"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('u-ug', '<inp2:u-ug_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('u-ug', 'OnCancel');
- }
- ) );
-
- a_toolbar.Render();
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:u_SaveWarning name="grid_save_warning"/>
-<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
- <inp2:m_RenderElement name="subsection" title="la_section_General"/>
- <inp2:m_RenderElement name="inp_label" prefix="u-ug" field="GroupName" title="la_fld_GroupName"/>
- <inp2:m_RenderElement name="inp_label" prefix="u-ug" field="PrimaryGroup" title="la_prompt_PrimaryGroup"/> <!-- OLD PHRASE, la_fld_PrimaryGroup -->
- <inp2:m_RenderElement name="inp_edit_date_time" prefix="u-ug" field="MembershipExpires" title="la_prompt_MembershipExpires"/> <!-- OLD PHRASE, la_fld_MembershipExpires -->
-
-</table>
-
-<inp2:m_include t="incs/footer"/>
Property changes on: branches/RC/kernel/admin_templates/users/user_edit_group.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1.2.2
\ No newline at end of property
Index: branches/RC/kernel/admin_templates/users/users_edit_custom.tpl
===================================================================
--- branches/RC/kernel/admin_templates/users/users_edit_custom.tpl (revision 11143)
+++ branches/RC/kernel/admin_templates/users/users_edit_custom.tpl (nonexistent)
@@ -1,62 +0,0 @@
-<inp2:m_include t="incs/header"/>
-
-<inp2:m_RenderElement name="combined_header" section="in-portal:user_list" prefix="u" module="in-portal" title_preset="user_edit_custom" tab_preset="Default"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('u','<inp2:u_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('u','OnCancelEdit');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
- a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
- go_to_id('u', '<inp2:u_PrevId/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
- go_to_id('u', '<inp2:u_NextId/>');
- }
- ) );
-
- function edit(){ }
-
- a_toolbar.Render();
-
- <inp2:m_if check="u_IsSingle">
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep1');
- <inp2:m_else/>
- <inp2:m_if check="u_IsLast" >
- a_toolbar.DisableButton('next');
- </inp2:m_if>
- <inp2:m_if check="u_IsFirst" >
- a_toolbar.DisableButton('prev');
- </inp2:m_if>
- </inp2:m_if>
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:m_include t="incs/custom_blocks"/>
-<inp2:m_if check="u_DisplayOriginal" display_original="1">
- <inp2:m_RenderElement name="grid" PrefixSpecial="cf" IdField="CustomFieldId" SourcePrefix="u" value_field="Value" per_page="-1" grid="SeparateTabOriginal" header_block="grid_column_title_no_sorting" no_init="no_init" original_title="la_section_OriginalValues" display_original="1"/>
-<inp2:m_else/>
- <inp2:m_RenderElement name="grid" PrefixSpecial="cf" IdField="CustomFieldId" SourcePrefix="u" value_field="Value" per_page="-1" grid="SeparateTab" header_block="grid_column_title_no_sorting" no_init="no_init"/>
-</inp2:m_if>
-
-
-<inp2:m_include t="incs/footer"/>
Property changes on: branches/RC/kernel/admin_templates/users/users_edit_custom.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3.2.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/kernel/admin_templates/users/users_list.tpl
===================================================================
--- branches/RC/kernel/admin_templates/users/users_list.tpl (revision 11143)
+++ branches/RC/kernel/admin_templates/users/users_list.tpl (nonexistent)
@@ -1,83 +0,0 @@
-<inp2:m_include t="incs/header"/>
-
-<inp2:m_RenderElement name="combined_header" section="in-portal:user_list" prefix="u" module="in-portal" title_preset="users_list"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- //do not rename - this function is used in default grid for double click!
- function edit()
- {
- std_edit_item('u', 'users/users_edit');
- }
-
- var a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('in-portal:new_user', '<inp2:m_phrase label="la_ToolTip_NewUser" escape="1"/>',
- function() {
- std_precreate_item('u', 'users/users_edit')
- } ) );
-
- a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>::<inp2:m_phrase label="la_ShortToolTip_Edit" escape="1"/>', edit) );
- a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
- function() {
- std_delete_items('u')
- } ) );
-
- a_toolbar.AddButton (
- new ToolBarButton(
- 'in-portal:primary_user_group',
- '<inp2:m_phrase label="la_ToolTip_PrimaryGroup" escape="1"/>::<inp2:m_phrase label="la_ShortToolTip_SetPrimary" escape="1"/>',
- function() {
- openSelector('u', '<inp2:m_Link t="users/group_selector" pass="m,u"/>', 'PrimaryGroupId', '800x600', 'OnSaveSelected');
- }
- )
- );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
-
- a_toolbar.AddButton( new ToolBarButton('approve', '<inp2:m_phrase label="la_ToolTip_Approve" escape="1"/>', function() {
- submit_event('u', 'OnMassApprove');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarButton('decline', '<inp2:m_phrase label="la_ToolTip_Decline" escape="1"/>', function() {
- submit_event('u', 'OnMassDecline');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep2') );
-
-
- a_toolbar.AddButton( new ToolBarButton('in-portal:e-mail', '<inp2:m_phrase label="la_ToolTip_SendMail" escape="1"/>', function() {
- openSelector('emailmessages', '<inp2:m_Link template="emails/mass_mail"/>', 'UserEmail', null, 'OnPrepareMassRecipients');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarButton('export', '<inp2:m_phrase label="la_ToolTip_Export" escape="1"/>', function() {
- std_csv_export('u', 'Default', 'export/export_progress');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep3') );
-
- a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
- show_viewmenu(a_toolbar,'view');
- }
- ) );
-
- a_toolbar.Render();
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:m_RenderElement name="grid" PrefixSpecial="u" IdField="PortalUserId" grid="Default" menu_filters="yes"/>
-<script type="text/javascript">
- Grids['u'].SetDependantToolbarButtons( new Array('edit','delete', 'primary_user_group', 'approve', 'decline', 'e-mail') );
-</script>
-<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/RC/kernel/admin_templates/users/users_list.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4.2.7
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/kernel/admin_templates/users/users_edit.tpl
===================================================================
--- branches/RC/kernel/admin_templates/users/users_edit.tpl (revision 11143)
+++ branches/RC/kernel/admin_templates/users/users_edit.tpl (nonexistent)
@@ -1,90 +0,0 @@
-<inp2:m_include t="incs/header"/>
-
-<inp2:m_RenderElement name="combined_header" section="in-portal:user_list" prefix="u" module="in-portal" title_preset="users_edit" tab_preset="Default"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('u','<inp2:u_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('u','OnCancelEdit');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
- a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
- go_to_id('u', '<inp2:u_PrevId/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
- go_to_id('u', '<inp2:u_NextId/>');
- }
- ) );
-
- a_toolbar.Render();
-
- <inp2:m_if check="u_IsSingle" >
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep1');
- <inp2:m_else/>
- <inp2:m_if check="u_IsLast" >
- a_toolbar.DisableButton('next');
- </inp2:m_if>
- <inp2:m_if check="u_IsFirst" >
- a_toolbar.DisableButton('prev');
- </inp2:m_if>
- </inp2:m_if>
-
- addLoadEvent(
- function() {
- // fixes Firefox 2.0+ bug will password autocomplete
- document.getElementById('<inp2:u_InputName field="Password"/>').value = '';
- }
- );
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:u_SaveWarning name="grid_save_warning"/>
-<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
- <inp2:m_RenderElement name="subsection" title="la_section_General"/>
- <inp2:m_RenderElement name="inp_id_label" prefix="u" field="PortalUserId" title="!la_fld_Id!"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Login" title="la_fld_Username"/>
- <inp2:m_RenderElement name="inp_edit_password" prefix="u" field="Password" title="la_fld_Password"/>
- <inp2:m_RenderElement name="inp_edit_password" prefix="u" field="VerifyPassword" title="la_prompt_PasswordRepeat"/> <!-- OLD PHRASE, la_fld_VerifyPassword -->
- <inp2:m_RenderElement name="subsection" title="la_prompt_PersonalInfo"/> <!-- OLD PHRASE, la_section_PersonalInformation -->
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="FirstName" title="la_fld_FirstName"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="LastName" title="la_fld_LastName"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Company" title="la_fld_Company"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Email" title="la_fld_Email"/>
- <inp2:m_RenderElement name="inp_edit_date" prefix="u" field="dob" title="la_prompt_birthday"/> <!-- OLD PHRASE, la_fld_BirthDate -->
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Phone" title="la_fld_Phone"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Fax" title="la_fld_Fax"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Street" title="la_fld_AddressLine1"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Street2" title="la_fld_AddressLine2"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="City" title="la_fld_City"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="State" title="la_fld_State"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Zip" title="la_fld_Zip"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Country" title="la_fld_Country"/>
- <inp2:m_RenderElement name="subsection" title="la_section_Properties"/>
- <inp2:m_RenderElement name="inp_edit_radio" prefix="u" field="Status" title="la_fld_Status"/>
- <inp2:m_RenderElement name="inp_edit_date_time" prefix="u" field="CreatedOn" title="la_fld_CreatedOn"/>
-
- <!-- custom fields: begin -->
- <inp2:m_include t="incs/custom_blocks"/>
- <inp2:cf.general_PrintList render_as="cv_row_block" SourcePrefix="u" value_field="Value" per_page="-1" grid="Default" original_title="la_section_OriginalValues" display_original="1"/>
- <!-- custom fields: end -->
-</table>
-
-<inp2:m_include t="incs/footer"/>
Property changes on: branches/RC/kernel/admin_templates/users/users_edit.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3.2.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/kernel/admin_templates/users/user_edit_images.tpl
===================================================================
--- branches/RC/kernel/admin_templates/users/user_edit_images.tpl (revision 11143)
+++ branches/RC/kernel/admin_templates/users/user_edit_images.tpl (nonexistent)
@@ -1,103 +0,0 @@
-<inp2:m_include t="incs/header"/>
-
-<inp2:m_RenderElement name="combined_header" section="in-portal:user_list" prefix="u" module="in-portal" title_preset="user_edit_images" tab_preset="Default"/>
-
-<inp2:m_include t="incs/image_blocks"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
-
- function edit()
- {
- std_edit_temp_item('u-img', 'users/image_edit');
- }
-
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('u','<inp2:u_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('u','OnCancelEdit');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
- a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
- go_to_id('u', '<inp2:u_PrevId/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
- go_to_id('u', '<inp2:u_NextId/>');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep2') );
-
-
- a_toolbar.AddButton( new ToolBarButton('new_image', '<inp2:m_phrase label="la_ToolTip_New_Images" escape="1"/>',
- function() {
- std_new_item('u-img', 'users/image_edit')
- } ) );
-
- a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
- a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
- function() {
- std_delete_items('u-img')
- } ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep3') );
-
- a_toolbar.AddButton( new ToolBarButton('move_up', '<inp2:m_phrase label="la_ToolTip_MoveUp" escape="1"/>', function() {
- submit_event('u-img','OnMassMoveUp');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarButton('move_down', '<inp2:m_phrase label="la_ToolTip_MoveDown" escape="1"/>', function() {
- submit_event('u-img','OnMassMoveDown');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarButton('primary_image', '<inp2:m_phrase label="la_ToolTip_SetPrimary" escape="1"/>', function() {
- submit_event('u-img','OnSetPrimary');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep4') );
-
- a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
- show_viewmenu(a_toolbar,'view');
- }
- ) );
-
- a_toolbar.Render();
-
- <inp2:m_if check="u_IsSingle" >
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep1');
- <inp2:m_else/>
- <inp2:m_if check="u_IsLast" >
- a_toolbar.DisableButton('next');
- </inp2:m_if>
- <inp2:m_if check="u_IsFirst" >
- a_toolbar.DisableButton('prev');
- </inp2:m_if>
- </inp2:m_if>
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:m_RenderElement name="grid" PrefixSpecial="u-img" IdField="ImageId" grid="Default" menu_filters="yes"/>
-<script type="text/javascript">
- Grids['u-img'].SetDependantToolbarButtons( new Array('edit','delete','move_up','move_down','primary_image') );
-</script>
-
-<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/RC/kernel/admin_templates/users/user_edit_images.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1.2.3
\ No newline at end of property
Index: branches/RC/kernel/admin_templates/users/users_edit_groups.tpl
===================================================================
--- branches/RC/kernel/admin_templates/users/users_edit_groups.tpl (revision 11143)
+++ branches/RC/kernel/admin_templates/users/users_edit_groups.tpl (nonexistent)
@@ -1,104 +0,0 @@
-<inp2:m_include t="incs/header"/>
-
-<inp2:m_RenderElement name="combined_header" section="in-portal:user_list" prefix="u" module="in-portal" title_preset="user_edit_groups" tab_preset="Default"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- //do not rename - this function is used in default grid for double click!
- function edit()
- {
- std_edit_temp_item('u-ug', 'users/user_edit_group');
- }
-
- a_toolbar = new ToolBar();
-
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('u','<inp2:u_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- cancel_edit('u','OnCancelEdit','<inp2:u_SaveEvent/>','<inp2:m_Phrase label="la_FormCancelConfirmation" escape="1"/>');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
- a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
- go_to_id('u', '<inp2:u_PrevId/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
- go_to_id('u', '<inp2:u_NextId/>');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep2') );
-
- a_toolbar.AddButton( new ToolBarButton('in-portal:usertogroup', '<inp2:m_phrase label="la_ToolTip_AddToGroup" escape="1"/>::<inp2:m_phrase label="la_ToolTip_Add" escape="1"/>',
- function() {
- openSelector('u-ug', '<inp2:m_Link t="users/group_selector" pass="m,u"/>', 'GroupId', '800x600');
- } ) );
-
- a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
- a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
- function() {
- std_delete_items('u-ug');
- } ) );
-
- a_toolbar.AddButton( new ToolBarButton('in-portal:primary_group', '<inp2:m_phrase label="la_ToolTip_SetPrimary" escape="1"/>',
- function() {
- submit_event('u-ug','OnSetPrimary');
- } ) );
-
-
- a_toolbar.AddButton( new ToolBarSeparator('sep3') );
-
- a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
- show_viewmenu(a_toolbar,'view');
- }
- ) );
-
- a_toolbar.Render();
-
- <inp2:m_if check="u_IsSingle" >
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep2');
- <inp2:m_else/>
- <inp2:m_if check="u_IsLast" >
- a_toolbar.DisableButton('next');
- </inp2:m_if>
- <inp2:m_if check="u_IsFirst" >
- a_toolbar.DisableButton('prev');
- </inp2:m_if>
- </inp2:m_if>
- </script>
-
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:m_DefineElement name="grid_membership_platform_td">
- <inp2:m_if check="Field" name="$field" db="db">
- <inp2:Field field="$field" first_chars="$first_chars" nl2br="$nl2br" grid="$grid" no_special="$no_special" format="$format"/>
- <inp2:m_else/>
- <inp2:m_phrase name="la_NeverExpires"/>
- </inp2:m_if>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="grid_membership_td" td_style="">
- <td valign="top" class="text" style="<inp2:m_param name="td_style"/>">
- <inp2:m_RenderElement name="grid_membership_platform_td" pass_params="1"/>
- </td>
-</inp2:m_DefineElement>
-
-<inp2:m_RenderElement name="grid" PrefixSpecial="u-ug" IdField="GroupId" grid="Default"/>
-<script type="text/javascript">
- Grids['u-ug'].SetDependantToolbarButtons( new Array('delete', 'primary_group') );
-</script>
-<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/RC/kernel/admin_templates/users/users_edit_groups.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3.2.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/kernel/admin_templates/users/user_edit_items.tpl
===================================================================
--- branches/RC/kernel/admin_templates/users/user_edit_items.tpl (revision 11143)
+++ branches/RC/kernel/admin_templates/users/user_edit_items.tpl (nonexistent)
@@ -1,167 +0,0 @@
-<inp2:m_include t="incs/header"/>
-
-<inp2:m_RenderElement name="combined_header" section="in-portal:user_list" prefix="u" module="in-portal" title_preset="user_edit_items" tab_preset="Default"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <link rel="stylesheet" rev="stylesheet" href="incs/nlsmenu.css" type="text/css" />
- <script type="text/javascript" src="js/nlsmenu.js"></script>
- <script type="text/javascript" src="js/nlsmenueffect_1_2_1.js"></script>
-
- <script type="text/javascript" src="js/ajax.js"></script>
- <script type="text/javascript" src="js/catalog.js"></script>
- <script type="text/javascript">
- var menuMgr = new NlsMenuManager("mgr");
- menuMgr.timeout = 500;
- menuMgr.flowOverFormElement = true;
-
- Request.progressText = '<inp2:m_phrase name="la_title_Loading" escape="1"/>';
-
- Catalog.prototype.AfterInit = function () {
- this.switchTab(); // refresh current item tab
- }
-
- /*Catalog.prototype.refreshTab = function($prefix, $div_id, $force) {
- // query tab content only in case if not queried or category don't match
-
- var $cat_id = get_hidden_field('m_cat_id');
- var $tab_cat_id = document.getElementById($div_id).getAttribute('category_id');
- if ($cat_id != $tab_cat_id || $force) {
- var $url = this.URLMask.replace('#TEMPLATE_NAME#', this.queryTabRegistry('prefix', $prefix, 'module_path') + '/user_item_tab');
-
- this.BusyRequest[$prefix] = false;
-
- Request.makeRequest($url, this.BusyRequest[$prefix], $div_id, this.successCallback, this.errorCallback, $div_id, this);
- }
- }*/
-
- var $Catalog = new Catalog('<inp2:m_Link template="#TEMPLATE_NAME#" pass_through="ts" ts="user" pass="m,u" no_amp="1"/>', 'useritems_', 0);
-
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('u','<inp2:u_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('u','OnCancelEdit');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
- a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
- go_to_id('u', '<inp2:u_PrevId/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
- go_to_id('u', '<inp2:u_NextId/>');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep2') );
-
- a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
-
- a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
- function() {
- var $template = $Catalog.queryTabRegistry('prefix', $Catalog.ActivePrefix, 'view_template');
- $form_name = $Catalog.queryTabRegistry('prefix', $Catalog.ActivePrefix, 'tab_id') + '_form';
- set_hidden_field('remove_specials[' + $Catalog.ActivePrefix + '.user]', 1);
- std_delete_items($Catalog.ActivePrefix, $template, 1);
- } ) );
-
-
- a_toolbar.AddButton( new ToolBarSeparator('sep3') );
-
- a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
- show_viewmenu(a_toolbar,'view');
- }
- ) );
-
- function edit() {
- $form_name = $Catalog.queryTabRegistry('prefix', $Catalog.ActivePrefix, 'tab_id') + '_form';
- var $kf = document.getElementById($form_name);
- var $prev_action = $kf.action;
- $kf.action = '<inp2:m_t pass="all" no_pass_through="1"/>';
-
- set_hidden_field('remove_specials[' + $Catalog.ActivePrefix + ']', 1);
- std_edit_item($Catalog.ActivePrefix, $Catalog.queryTabRegistry('prefix', $Catalog.ActivePrefix, 'edit_template'));
-
- $kf.action = $prev_action;
- }
-
- a_toolbar.Render();
-
- <inp2:m_if check="u_IsSingle">
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep1');
- <inp2:m_else/>
- <inp2:m_if check="u_IsLast">
- a_toolbar.DisableButton('next');
- </inp2:m_if>
- <inp2:m_if check="u_IsFirst">
- a_toolbar.DisableButton('prev');
- </inp2:m_if>
- </inp2:m_if>
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-<inp2:m_RenderElement name="kernel_form_end"/>
-
-<inp2:u_SaveWarning name="grid_save_warning"/>
-<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
- <inp2:m_RenderElement name="subsection" title="la_section_General"/>
- <inp2:m_RenderElement name="inp_id_label" prefix="u" field="PortalUserId" title="!la_fld_Id!"/>
- <inp2:m_RenderElement name="inp_label" prefix="u" field="Login" title="la_fld_Username"/>
- <inp2:m_RenderElement name="subsection" title="la_section_Items"/>
-</table>
-<br />
-
-<!-- item tabs: begin -->
-<table cellpadding="0" cellspacing="0">
- <tr>
- <inp2:m_DefineElement name="item_tab" title="">
- <td nowrap="nowrap" width="140">
- <table id="<inp2:m_param name="prefix"/>.user_tab" cellpadding="0" cellspacing="0" width="100%" class="catalog-tab-unselected" onclick="$Catalog.switchTab('<inp2:m_param name="prefix"/>.user');">
- <tr>
- <td class="catalog-tab-left">
- <img src="img/spacer.gif" height="22" width="9" />
- </td>
- <td class="catalog-tab-middle" width="100%" valign="middle" nowrap="nowrap">
- <inp2:m_Phrase name="$title"/> <span class="cats_stats">(<span id="<inp2:m_param name="prefix"/>.user_item_count">?</span>)</span>
- </td>
- <td class="catalog-tab-right">
- <img src="img/spacer.gif" height="22" width="9" />
- </td>
- <td style="background-color: #FFFFFF;">
- <img src="img/spacer.gif" height="1" width="5" />
- </td>
- </tr>
- </table>
-
- </td>
- </inp2:m_DefineElement>
-
- <inp2:m_ModuleInclude template="user_item_tab" tab_init="2" title_property="ViewMenuPhrase" skip_prefixes="m,adm,cms"/>
- </tr>
-</table>
-<!-- item tabs: end -->
-
-<inp2:m_set ts="user"/>
-<inp2:m_ModuleInclude template="user_item_tab" tab_init="1" skip_prefixes="m,adm,cms"/>
-<script type="text/javascript">
-
-addLoadEvent(
- function() {
- $Catalog.Init();
- }
-);
-
-</script>
-<inp2:m_include t="incs/footer" noform="yes"/>
\ No newline at end of file
Property changes on: branches/RC/kernel/admin_templates/users/user_edit_items.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1.2.4
\ No newline at end of property
Event Timeline
Log In to Comment