Dotclear

Changeset 1446 for plugins/iphoneview


Ignore:
Timestamp:
09/10/09 23:48:05 (14 years ago)
Author:
hadrien
Message:

fix methode currentUrl

Location:
plugins/iphoneview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/iphoneview/_define.php

    r1101 r1446  
    2727     /* Description*/    "Display an iPhone view when browsing blog with iPhone or iPod touch", 
    2828     /* Author */        "Hadrien Lanneau (contact at hadrien dot eu)", 
    29      /* Version */       '0.1', 
     29     /* Version */       '0.2', 
    3030     /* Permissions */   'usage,contentadmin' 
    3131); 
  • plugins/iphoneview/_public.php

    r1125 r1446  
    534534          global $core; 
    535535           
    536           return str_replace( 
    537                $core->blog->url . 'iphone/', 
     536          return '<?php echo str_replace( 
     537               $core->blog->url . "iphone/", 
    538538               $core->blog->url, 
    539539               http::getSelfURI() 
    540           ); 
     540          ); ?>'; 
    541541     } 
    542542      
Note: See TracChangeset for help on using the changeset viewer.

Sites map