Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1068217
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
Thu, Jul 17, 3:36 AM
Size
3 KB
Mime Type
text/x-diff
Expires
Sat, Jul 19, 3:36 AM (10 h, 19 m)
Engine
blob
Format
Raw Data
Handle
691276
Attached To
rINP In-Portal
in-portal
View Options
Index: trunk/kernel/admin_templates/config_email/config_email_list.tpl
===================================================================
--- trunk/kernel/admin_templates/config_email/config_email_list.tpl (nonexistent)
+++ trunk/kernel/admin_templates/config_email/config_email_list.tpl (revision 2992)
@@ -0,0 +1,66 @@
+<inp2:m_set nobody="yes"/>
+<inp2:m_include t="incs/header"/>
+
+<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
+<inp2:m_ParseBlock name="section_header" icon="icon46_settings_email" title="!la_title_emailevents!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="emailevents.module" title_preset="email_settings_list" icon="icon46_settings_email"/>
+
+<!-- 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()
+ {
+ set_hidden_field('events[emailevents.module]','OnSelectUser');
+ OpenUserSelector('&dosubmit=1','kernel_form','emailevents.module_PopupSelectedUser');
+ }
+
+ var a_toolbar = new ToolBar();
+
+ a_toolbar.AddButton( new ToolBarButton('usertogroup', '<inp2:m_phrase label="la_ToolTip_SelectUser"/>', edit
+ ) );
+
+
+ //a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('approve', '<inp2:m_phrase label="la_ToolTip_Enable"/>', function() {
+ submit_event('emailevents.module','OnMassApprove');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('decline', '<inp2:m_phrase label="la_ToolTip_Disable"/>', function() {
+ submit_event('emailevents.module','OnMassDecline');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('frontend_mail', '<inp2:m_phrase label="la_ToolTip_Email_FrontOnly"/>', function() {
+ submit_event('emailevents.module','OnFrontOnly');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_ParseBlock name="grid" PrefixSpecial="emailevents.module" IdField="EventId" grid="EmailSettings" header_block="grid_column_title" data_block="grid_data_td" search="on" has_filters="has_filters"/>
+<script type="text/javascript">
+ Grids['emailevents.module'].SetDependantToolbarButtons( new Array('frontend_mail','usertogroup','approve','decline') );
+</script>
+
+<input type="hidden" name="emailevents.module_PopupSelectedUser" value="">
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: trunk/kernel/admin_templates/config_email/config_email_list.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Event Timeline
Log In to Comment