Plugin Directory

Changeset 444871


Ignore:
Timestamp:
09/28/2011 05:06:46 PM (14 years ago)
Author:
technalab
Message:
 
Location:
site-sonar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • site-sonar/tags/0.2/site-sonar.php

    r444419 r444871  
    420420        }
    421421       
    422         ?><script type="text/javascript" >
     422        if($action != 'update')
     423        {
     424?><script type="text/javascript" >
    423425    document.cookie = "SS_uid=<?= $uid ?>;expires=<?= gmdate("D, d M Y H:i:s", time() + 3600 * 24 * 1095)." GMT" ?>";<?
    424426        //Use javascript to fill rest of values.
    425427        if($language == '' && $resolution == '' && $colors == '' && $plugins == '' && $action != 'update')
    426428        {
    427             ?>
     429?>
    428430function ssSetCookie(name, value)
    429431{
     
    483485        </script>
    484486        <?
     487        }
    485488    }
    486489}
  • site-sonar/trunk/site-sonar.php

    r444419 r444871  
    420420        }
    421421       
    422         ?><script type="text/javascript" >
     422        if($action != 'update')
     423        {
     424?><script type="text/javascript" >
    423425    document.cookie = "SS_uid=<?= $uid ?>;expires=<?= gmdate("D, d M Y H:i:s", time() + 3600 * 24 * 1095)." GMT" ?>";<?
    424426        //Use javascript to fill rest of values.
    425427        if($language == '' && $resolution == '' && $colors == '' && $plugins == '' && $action != 'update')
    426428        {
    427             ?>
     429?>
    428430function ssSetCookie(name, value)
    429431{
     
    483485        </script>
    484486        <?
     487        }
    485488    }
    486489}
Note: See TracChangeset for help on using the changeset viewer.