1
ChadK
AddAnonces (myAds) no more SHOUTING TITLES
  • 2004/8/20 14:59

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


Add this to your myAds/addanonces.php file:
Find:
Quote:
global $xoopsConfig, $xoopsUser, $xoopsTheme, $xoopsLogger;
include(XOOPS_ROOT_PATH."/header.php");


ADD THIS AFTER:
Quote:
$title=ucwords(strtolower($title));


RESULTING IN:
Quote:
global $xoopsConfig, $xoopsUser, $xoopsTheme, $xoopsLogger;
include(XOOPS_ROOT_PATH."/header.php");
$title=ucwords(strtolower($title));


This will change titles such as:
Quote:
FOR SALE: ONE USED CAPS LOCK KEY


into:
Quote:
For Sale: One Used Caps Lock Key


Of course, it also changes:
Quote:
For Sale: Something like IBM


Into:
Quote:
For Sale: Something Like Ibm

which could be annoying...

Login

Who's Online

394 user(s) are online (209 user(s) are browsing Support Forums)


Members: 0


Guests: 394


more...

Donat-O-Meter

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

Latest GitHub Commits