Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1246426
D267.diff
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
Fri, Nov 21, 10:55 AM
Size
2 KB
Mime Type
text/x-diff
Expires
Sat, Nov 22, 10:55 AM (14 h, 22 m)
Engine
blob
Format
Raw Data
Handle
810194
Attached To
D267: INP-1655 - Improve "additional_title_render_as" parameter support in "combined_header" block
D267.diff
View Options
Index: branches/5.2.x/core/admin_templates/incs/form_blocks.tpl
===================================================================
--- branches/5.2.x/core/admin_templates/incs/form_blocks.tpl
+++ branches/5.2.x/core/admin_templates/incs/form_blocks.tpl
@@ -13,11 +13,18 @@
<inp2:m_if check="m_get" var="m_wid" inverse="1">
<inp2:m_if check="m_GetConfig" name="UseSmallHeader">
<img src="img/spacer.gif" height="8" width="1" alt=""/>
+
+ <inp2:m_if check="m_Param" name="additional_title_render_as">
+ <table cellpadding="0" cellspacing="0" border="0" width="100%">
+ <tr>
+ <inp2:m_RenderElement name="$additional_title_render_as" pass_params="1"/>
+ </tr>
+ </table>
+ </inp2:m_if>
<inp2:m_else/>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
- <!--## <tr<inp2:m_ifnot check="m_ModuleEnabled" module="Proj-Base"> style="background: url(<inp2:adm_SectionInfo section="$section" parent="$parent" info="module_path"/>img/logo_bg.gif) no-repeat top right; height: 55px;"</inp2:m_ifnot>> ##-->
<tr>
- <td valign="top" class="admintitle" align="left" <!--##style="padding-top: 10px; padding-bottom: 10px;"##-->>
+ <td valign="top" class="admintitle" align="left">
<img width="46" height="46" src="<inp2:adm_SectionInfo section='$section' parent='$parent' info='module_path'/>img/icons/icon46_<inp2:adm_SectionInfo section='$section' parent='$parent' info='icon'/>.png" align="absmiddle" title="<inp2:adm_SectionInfo section='$section' parent='$parent' info='label' no_editing='1'/>" alt=""/><inp2:adm_SectionInfo section="$section" parent="$parent" info="label"/>
</td>
<inp2:m_if check="m_Param" name="additional_title_render_as">
@@ -29,7 +36,6 @@
<inp2:m_else/>
<inp2:m_if check="m_Param" name="additional_title_render_as">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
- <!--## <tr<inp2:m_ifnot check="m_ModuleEnabled" module="Proj-Base"> style="background: url(<inp2:adm_SectionInfo section="$section" parent="$parent" info="module_path"/>img/logo_bg.gif) no-repeat top right; height: 55px;"</inp2:m_ifnot>> ##-->
<tr>
<inp2:m_RenderElement name="$additional_title_render_as" pass_params="1"/>
</tr>
Event Timeline
Log In to Comment