Plugin Directory

Changeset 441764


Ignore:
Timestamp:
09/21/2011 08:44:30 PM (14 years ago)
Author:
aitosoftware
Message:

Save map ID in a cookie so sign-up will work better.

Location:
pulsemaps/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pulsemaps/trunk/pm-settings-page.php

    r440956 r441764  
    7979        echo '">widget admin page</a>.</strong></p></div>';
    8080    }
     81    echo "<iframe style=\"display: none;\" src=\"$pulsemaps_api/mapOwner/?map=$id\"></iframe>";
    8182?>
    8283<div class="wrap">
  • pulsemaps/trunk/pulsemaps.php

    r440956 r441764  
    156156}
    157157
     158
    158159function pulsemaps_activate_notice() {
     160    global $pulsemaps_api;
     161    $opts = get_option('pulsemaps_options');
     162    $id = $opts['id'];
    159163    if (substr($_SERVER["PHP_SELF"], -11) == 'plugins.php' && !pulsemaps_tracking_active()) {
     164        echo "<iframe style=\"display: none;\" src=\"$pulsemaps_api/mapOwner/?map=$id\"></iframe>";
    160165        echo '<div class="error"><p><strong>Activate PulseMaps visitor tracking on the <a href="';
    161166        echo get_option('siteurl') . '/wp-admin/widgets.php';
Note: See TracChangeset for help on using the changeset viewer.