Version History:
22.06.2008 - Inital Release
*/
// --------------------------------
// Some Configuration Details
// --------------------------------
$jQueryExists = 0; // set this to 1 if your template is alread using jQuery or to 0 if you aren't using it. If you are not sure try "0" - if nothing is working any more try "1" :)
$outputType = "image"; // Do you want an "image" or "text" where you put your SOLO_IT_CLICK Tag ?
$outputText = "Solo IT"; // if you've choosen "text" put the text here you want to be displayed
$outputImage = "includes/lights.gif"; // if you've choosen "image" put here the path to your image (or keep the one that comes along)
$photoID = "viewedphoto"; // ID of your image-tag where the photo is shown. Should be 99% "photo" - just change it if you are sure!
// --------------------------------
// Some Configuration Details - END
// --------------------------------
// Same info as non admin addons
$addon_name = "Solo It (a.k.a. Lights Out!)";
$addon_version = "1.0";
$addon_description = "This addon allows you to solo out your images. Everything else than the photo get's blended out.
new tags:
<SOLO_IT>
<SOLO_IT_CLICK>
Put the SoloIT Tag into your HEAD Section
Put the SoloITClick anywhere into your code where you want the the SoloIT - Link to appear. Instead of using this tag you put "id='soloIT'" to any elemtent in your Image Template. This element will get clickable and solo your image.
";
if(preg_match("", $tpl)) {
// Default value
$outPut = '";
$tpl = ereg_replace("",$outPut,$tpl);
}
if(preg_match("", $tpl)) {
$outPut = "";
if ($jQueryExists != 1 ) $outPut = "";
$outPut .= "
";
$tpl = ereg_replace("",$outPut,$tpl);
}
?>