View Single Post
  #32  
Old 12-16-2014, 03:04 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 137,030
Kyttias is on a distinguished road
Default

NPC text - Should be fine.
Item descriptions - Should be fine.
Item names - Where you want an apostrophe to appear, use ' instead:
Creator's Bracelet = Creator's Bracelet
Shop names - I thought of a fix! Where you want an apostrophe to appear, use *** instead. In view/shopview.php, change public function browse to:
PHP Code:
public function browse(){
    
$document $this->document;    
    
$str_shopname str_replace("***""'"$this->lang->welcome);                
    
$document->setTitle($str_shopname);
        
$shop $this->getField("shop");
        
$shop->display();

Mai***s Shop = Mai's Shop
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.

Last edited by Kyttias; 12-16-2014 at 03:30 PM.
Reply With Quote