Hi HansI don't think the id of the themes should be depended upon within the applications, the necessary styling information should go into each themes css file right?
Regards Scott HotWax Media http://www.hotwaxmedia.com On 9/09/2009, at 12:13 AM, [email protected] wrote:
Author: hansbak Date: Tue Sep 8 12:13:50 2009 New Revision: 812477 URL: http://svn.apache.org/viewvc?rev=812477&view=rev Log: make the help screens also display properly in the business theme Modified: ofbiz/trunk/applications/content/template/HelpTemplate.ftl Modified: ofbiz/trunk/applications/content/template/HelpTemplate.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/HelpTemplate.ftl?rev=812477&r1=812476&r2=812477&view=diff= = = = = = = = ====================================================================== --- ofbiz/trunk/applications/content/template/HelpTemplate.ftl (original) +++ ofbiz/trunk/applications/content/template/HelpTemplate.ftl Tue Sep 8 12:13:50 2009@@ -21,9 +21,14 @@ specific language governing permissions and limitations under the License. --> - -<#if layoutSettings.VT_NAME[0] == "FLAT_GREY"> -<#-------------------------------------------> +<style> +<#if layoutSettings.VT_NAME[0] == "BIZZNESS_TIME"> +body{background:none;} +.left-border{float:left;width:25%;} +.contentarea{margin: 0 0 0 0.5em;padding:0 0 0 0.5em;} +.leftonly{float:none;min-height:25em;} +</#if> +</style> <#macro para para> <p> <#list para?children as child> @@ -53,7 +58,8 @@ </#list> <br/><br/> </#macro> - +<#if layoutSettings.VT_NAME[0] == "FLAT_GREY"> +<#-------------------------------------------> <div class="contentarea"> <div id="column-container"> <div id="content-main-section"> @@ -61,39 +67,10 @@ </div> </div> </div> - +<#elseif layoutSettings.VT_NAME[0] == "BIZZNESS_TIME"> + <@section inSection=doc.section first="yes"/> <#else><#-- other templates --> <#-----------------------------> -<#macro para para> -<p> - <#list para?children as child> - <#if child?node_type = "text"> - ${child} - <#elseif child?node_type = 'element' && child?node_name = "link"> - <a href="${child["@xl:href"]}">${child}</a> - </#if> - </#list> - <br/> -</p> -</#macro> - -<#macro section inSection first="no"> - <#list inSection.* as subSection> - <#if subSection?node_name = "title"> - <#if first = "yes"> - <h1>${subSection}</h1> - <#else> - <h2>${subSection}</h2> - </#if> - <#elseif subSection?node_name = "para"> - <@para para=subSection/> - <#elseif subSection?node_name = "section"> - <@section inSection=subSection/> - </#if> - </#list> - <br/><br/> -</#macro> - <div class="contentarea"> <div id="column-container"> <div id="content-main-section">
smime.p7s
Description: S/MIME cryptographic signature
