Plugin Directory

Changeset 511442


Ignore:
Timestamp:
02/27/2012 11:49:09 PM (14 years ago)
Author:
smartfin
Message:

0.7.3

Location:
ssi-sumilux/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ssi-sumilux/trunk/readme.txt

    r507062 r511442  
    55Requires at least: 1.0
    66Tested up to: 3.3.1
    7 Stable tag: 0.7.2
     7Stable tag: 0.7.3
    88
    99This plugin is currently in the experimental stage, we plan to launch it for beta testing in early February, please use with caution.
     
    3030== Changelog ==
    3131
     32=0.7.3=
     33Fixed bug with api keys
     34
    3235=0.7.2=
    3336Fixed some bugs
  • ssi-sumilux/trunk/ssi.php

    r507062 r511442  
    44Plugin URI: http://ssi.sumilux.com
    55Description: Plugin for Social Sign-In from   <a href="http://demo.sumilux.com/ssi">Sumilux</a>
    6 Version: 0.7.2
     6Version: 0.7.3
    77Author: Serhiy Martynenko
    88Author URI: [email protected]
     
    1414define('SSI_TEMPLATES_DIR', SSI_DIR . 'templates/');
    1515define("SSI_PLUGIN_URL",WP_PLUGIN_URL.'/'.basename(dirname(__FILE__)));
    16 define("SSI_VERSION", "0.7.2");
     16define("SSI_VERSION", "0.7.3");
    1717
    1818
     
    225225    );
    226226
    227     if (!empty($_POST)) {
     227    if (empty($_POST) || (isset($_REQUEST["appName"]) && isset($_REQUEST["appSecret"]))) {
     228        options($plugoptions, $plugname, $shortname);
     229     } else {
    228230        save_options($plugoptions, $plugname, $shortname);
    229     } else {
    230         options($plugoptions, $plugname, $shortname);
    231231    }
    232232
     
    363363
    364364    $returnURL = "http://".$_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    365     if (isset($_REQUEST["WIDGETNAME"]) && isset($_REQUEST["appSecret"]) ){
     365
     366
     367    if (isset($_REQUEST["appName"]) && isset($_REQUEST["appSecret"]) ){
    366368       
    367369        $ssi_recieved['ssi_app_secret'] = $_REQUEST["appSecret"];
    368         $ssi_recieved['ssi_widget_name'] = $_REQUEST["WIDGETNAME"];
     370        $ssi_recieved['ssi_widget_name'] = $_REQUEST["appName"];
    369371    }
    370372    include(SSI_TEMPLATES_DIR."options.php");
  • ssi-sumilux/trunk/templates/options.php

    r506263 r511442  
     1
    12<div class="wrap">
    23
     
    7879        </table>
    7980
     81
     82
    8083        <?php if (!empty($ssi_recieved)){?>
    8184        <i style="color: red">Please, save new options of SSI plugin.</i>
    8285        <?php }?>
    83         <h3><a
    84         href='javascript:window.open("http://ssi.sumilux.com/ssi/index.php/easycreate?returnurl=<?php echo $returnURL;?>", "SSI keys", "width=420,height=430,top=150, left=200, resizable=yes,scrollbars=yes,status=no, location=no")'>Get your own keys.</a></h3>
     86        <h3><a href="http://ssi.sumilux.com/ssi/index.php/easycreate?returnurl=<?php echo $returnURL;?>" id="api-key"
     87        <?php echo"";/*href='javascript:window.open("http://ssi.sumilux.com/ssi/index.php/easycreate?returnurl=<?php echo $returnURL;?>", "SSI keys", "width=420,height=430,top=150, left=200, resizable=yes,scrollbars=yes,status=no, location=no")'*/?>>Get your own keys.</a></h3>
    8588        <div class="submit">
    8689
Note: See TracChangeset for help on using the changeset viewer.