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
<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
<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
$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
$modversion['image'] = "s_poweredby.gif";


> File : modules/system/xoops_version.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.

Login

Who's Online

105 user(s) are online (71 user(s) are browsing Support Forums)


Members: 0


Guests: 105


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits