Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Thu, Nov 20, 1:28 PM

in-portal

Index: branches/unlabeled/unlabeled-1.2.2/kernel/admin_templates/tools/system_tools.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/kernel/admin_templates/tools/system_tools.tpl (revision 6230)
+++ branches/unlabeled/unlabeled-1.2.2/kernel/admin_templates/tools/system_tools.tpl (revision 6231)
@@ -1,48 +1,29 @@
<inp2:m_RequireLogin permissions="in-portal:service.view" system="1"/>
<inp2:m_include t="incs/header" nobody="yes"/>
<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
<inp2:m_ParseBlock name="section_header" icon="icon46_modules" title="!la_title_SystemTools!"/>
<inp2:m_ParseBlock name="blue_bar" prefix="adm" title_preset="system_tools" module="in-portal" icon="icon46_modules"/>
-<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder" id="config_table">
- <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
- <inp2:m_inc param="tab_index" by="1"/>
- <td class="text" style="width: 300px">
- <inp2:m_phrase label="la_Service_ResetModRwCache"/>:
- </td>
- <td valign="top" width="100"><input class="button" type="submit" name="events[adm][OnResetModRwCache]" value="Go"></td>
- <td class="error">&nbsp;</td>
- </tr>
-
- <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
- <inp2:m_inc param="tab_index" by="1"/>
- <td class="text" style="width: 300px">
- <inp2:m_phrase label="la_Service_ResetCMSMenuCache"/>:
- </td>
- <td valign="top" width="100"><input class="button" type="submit" name="events[adm][OnResetCMSMenuCache]" value="Go"></td>
- <td class="error">&nbsp;</td>
- </tr>
-
+<inp2:m_DefineElement name="service_elem">
<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
<inp2:m_inc param="tab_index" by="1"/>
- <td class="text" style="width: 300px">
- <inp2:m_phrase label="la_Service_ResetSections"/>:
+ <td class="text" style="width: 300px;">
+ <inp2:m_phrase label="$title"/>:
</td>
- <td valign="top" width="100"><input class="button" type="submit" name="events[adm][OnResetSections]" value="Go"></td>
- <td class="error">&nbsp;</td>
- </tr>
-
- <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
- <inp2:m_inc param="tab_index" by="1"/>
- <td class="text" style="width: 300px">
- <inp2:m_phrase label="la_Service_ConfigCache"/>:
+ <td valign="top" width="100">
+ <input class="button" type="submit" name="events[adm][<inp2:m_param name="event_name"/>]" value="Go">
</td>
- <td valign="top" width="100"><input class="button" type="submit" name="events[adm][OnResetConfigsCache]" value="Go"></td>
- <td class="error">&nbsp;</td>
+ <td class="error">&nbsp;</td>
</tr>
+</inp2:m_DefineElement>
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder" id="config_table">
+ <inp2:m_RenderElement name="service_elem" title="la_Service_ResetModRwCache" event_name="OnResetModRwCache"/>
+ <inp2:m_RenderElement name="service_elem" title="la_Service_ResetCMSMenuCache" event_name="OnResetCMSMenuCache"/>
+ <inp2:m_RenderElement name="service_elem" title="la_Service_ResetSections" event_name="OnResetSections"/>
+ <inp2:m_RenderElement name="service_elem" title="la_Service_ConfigCache" event_name="OnResetConfigsCache"/>
</table>
<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/kernel/admin_templates/tools/system_tools.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.2
\ No newline at end of property
+1.2.2.1
\ No newline at end of property

Event Timeline