00162: Move formatting of $PageLogoFmt into template

Summary: Move formatting of $PageLogoFmt into template
Created: 2004-11-15 22:30
Status: Closed - fixed for 2.0.beta1
Category: Feature
From: Simon
Assigned:
Priority: 5
Version: 2.26
OS: WinXP SP2/Apach2.0.52/PHP4.3.9

Description: In the Template the variable

  $PageLogoFmt

contains both content and formatting. To make the template for customisable could the formatting be extracted from the variable and added to the template. Viz

Template now <!--PageHeaderFmt-->

  $PageLogoFmt
  <div id='wikihead'>

Template now generates <!--PageHeaderFmt-->

  <div id='wikilogo'><a href='[(approve links)
  edit
  diff]'><img 
  src='/gfx/ks1969logosml.gif' alt='Khandallah School Year of `69 Reunion' border='0' /></a></div>
  <div id='wikihead'>

Template proposed <!--PageHeaderFmt-->

  <div id='wikilogo'>
  $PageLogoFmt
  </div>
  <div id='wikihead'>

thankyou


$PageLogoFmt has been eliminated by pmwiki-2.0.beta1, any logo formatting now takes place entirely in the template (except a logo image itself can be specified by $PageLogoUrl). --Pm