• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Contributions (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

using a mini template, displays the colors inline correctly,

Post a bug fix, a new feature, a theme ...

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

Postby GBS » Fri May 19, 2006 7:38 am

Hi,

just a little fix,,
if you use a mini template, as 'demo28_mini_blune_theme.php', pressing the 'C' colors button, the colors are displayed, but not nicely inline,

Edit the file:
>defaulttemplateschat.html.tpl.php<
search for:
Code: Select all
<div class="<?php echo $prefix; ?>btn"><img src="<?php echo $c->getFileUrlFromTheme('images/bt_color.gif'); ?>" alt="<?php echo _pfc("Color"); ?>" title="<?php echo _pfc("Color"); ?>" id="<?php echo $prefix; ?>bt_color" onclick="pfc.minimize_maximize('<?php echo $prefix; ?>colorlist','inline')" /></div>

and add a '<br>' at the end, like:
Code: Select all
<div class="<?php echo $prefix; ?>btn"><img src="<?php echo $c->getFileUrlFromTheme('images/bt_color.gif'); ?>" alt="<?php echo _pfc("Color"); ?>" title="<?php echo _pfc("Color"); ?>" id="<?php echo $prefix; ?>bt_color" onclick="pfc.minimize_maximize('<?php echo $prefix; ?>colorlist','inline')" /></div><br>

colors are now more inline,,

nb:
The other templates will be also affected,, as the 'chat.html.tpl.php' file is called by each templates,

l8tr,,
GBS
New member
 
Posts: 4
Joined: Fri May 19, 2006 4:12 am
Top

Post a reply
1 post • Page 1 of 1

Return to Contributions (v1.x)

Who is online

Users browsing this forum: No registered users and 13 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub