Plugin Directory

Changeset 217796


Ignore:
Timestamp:
03/15/2010 05:26:13 PM (16 years ago)
Author:
kaitora
Message:
 
Location:
easy-image-share
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • easy-image-share/trunk/easyimageshare.php

    r217792 r217796  
    2929function easyimagesharefilter($content){
    3030
    31 $imagepageurl = the_permalink();
    3231$simpleimagefind = '|<img.*?src=[\'"](.*?)[\'"].*?>|i';
    3332
     
    3534    $imagelocurl = $foundimage[1];
    3635    $easyshareimagetextcode = 'HTML Code <BR />
    37     <textarea rows="3" cols="60" onClick=select()><A href="'.$imagepageurl.'"><IMG src='.$imagelocurl.'></A></textarea><BR />
     36    <textarea rows="3" cols="60" onClick=select()><A href="'.get_bloginfo('url').'"><IMG src='.$imagelocurl.'></A></textarea><BR />
    3837    BB Code<BR />
    39     <textarea rows="3" cols="60" onClick=select()>[url='.$imagepageurl.'][img]'.$imagelocurl.'[/img][/url]</textarea>
     38    <textarea rows="3" cols="60" onClick=select()>[url='.get_bloginfo('url').'][img]'.$imagelocurl.'[/img][/url]</textarea>
    4039        ';
    4140    $content .= $easyshareimagetextcode ;
  • easy-image-share/trunk/readme.txt

    r217795 r217796  
    55Requires at least: 2.9.2
    66Tested up to: 2.9.2
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88
    99Easy Image Share is a plugin that provides a sharing code for users at the end of a post that contains an image.
     
    2020* Added Javascript to select all of the text on click 
    2121
    22 * Changed the link URL to go to the current page that the user is on when they select the text
     22* Changed the link URL to go to the URL of the blog
    2323
    2424= 1.0 = 
Note: See TracChangeset for help on using the changeset viewer.