1
eniatipak
Logos choice
  • 2009/6/4 11:46

  • eniatipak

  • Just popping in

  • Posts: 11

  • Since: 2009/5/20


hi

There are 4 XOOPS logos in /images folder :
1 • images/logo.gif
2 • images/logo.png
3 • images/powredby.gif
4 • images/s_poweredby.gif


It's used like this :


1 - logo.gif

> Files : system_imagemanager.html + system_imagemanager2.html
le="color: #000000"><?php <table id="header" cellspacing="0"> <tr> <td><a href="<{$xoops_url}>/" title=""><img src="<{$xoops_url}>/images/logo.gif" width="150" height="80" alt="" /></a></td> <td> </td> </tr> <tr> <td id="headerbar" colspan="2"> </td> </tr> </table>


> File : system/templates/system_siteclosed.html
le="color: #000000"><?php <table cellspacing="0"> <tr id="header"> <td style="width: 150px; background-color: #2F5376; vertical-align: middle; text-align:center;"><a href="<{$xoops_url}>/" title=""><img src="<{$xoops_imageurl}>logo.gif" width="150" alt="" /></a></td> <td style="width: 100%; background-color: #2F5376; vertical-align: middle; text-align:center;">&nbsp;</td> </tr> <tr> <td style="height: 8px; border-bottom: 1px solid silver; background-color: #dddddd;" colspan="2">&nbsp;</td> </tr> </table>



2 - logo.png

> File : backend.php
le="color: #000000"><?php $tpl->assign('image_url', XOOPS_URL . '/images/logo.png'); $dimention = getimagesize(XOOPS_ROOT_PATH . '/images/logo.png');



3 - powredby.gif

> File : not used !


4 - s_powredby.gif

> File : modules/system/admin/version/xoops_version.php
le="color: #000000"><?php $modversion['image'] = "s_poweredby.gif";


> File : modules/system/xoops_version.php
le="color: #000000"><?php $modversion['blocks'][6]['options'] = "320|190|s_poweredby.gif|1";



... if possible, core developpers should symplify it ? And what do you think about an option into System Preferences : user would be able to choice his own logo ?

2
culex
Re: Logos choice
  • 2009/6/16 17:09

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


good idea. But also you can make your own now, just upload and overwrite the originals
Programming is like sex:
One mistake and you have to support it for the rest of your life.