Changeset 511442
- Timestamp:
- 02/27/2012 11:49:09 PM (14 years ago)
- Location:
- ssi-sumilux/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (2 diffs)
-
ssi.php (modified) (4 diffs)
-
templates/options.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ssi-sumilux/trunk/readme.txt
r507062 r511442 5 5 Requires at least: 1.0 6 6 Tested up to: 3.3.1 7 Stable tag: 0.7. 27 Stable tag: 0.7.3 8 8 9 9 This plugin is currently in the experimental stage, we plan to launch it for beta testing in early February, please use with caution. … … 30 30 == Changelog == 31 31 32 =0.7.3= 33 Fixed bug with api keys 34 32 35 =0.7.2= 33 36 Fixed some bugs -
ssi-sumilux/trunk/ssi.php
r507062 r511442 4 4 Plugin URI: http://ssi.sumilux.com 5 5 Description: Plugin for Social Sign-In from <a href="http://demo.sumilux.com/ssi">Sumilux</a> 6 Version: 0.7. 26 Version: 0.7.3 7 7 Author: Serhiy Martynenko 8 8 Author URI: [email protected] … … 14 14 define('SSI_TEMPLATES_DIR', SSI_DIR . 'templates/'); 15 15 define("SSI_PLUGIN_URL",WP_PLUGIN_URL.'/'.basename(dirname(__FILE__))); 16 define("SSI_VERSION", "0.7. 2");16 define("SSI_VERSION", "0.7.3"); 17 17 18 18 … … 225 225 ); 226 226 227 if (!empty($_POST)) { 227 if (empty($_POST) || (isset($_REQUEST["appName"]) && isset($_REQUEST["appSecret"]))) { 228 options($plugoptions, $plugname, $shortname); 229 } else { 228 230 save_options($plugoptions, $plugname, $shortname); 229 } else {230 options($plugoptions, $plugname, $shortname);231 231 } 232 232 … … 363 363 364 364 $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"]) ){ 366 368 367 369 $ssi_recieved['ssi_app_secret'] = $_REQUEST["appSecret"]; 368 $ssi_recieved['ssi_widget_name'] = $_REQUEST[" WIDGETNAME"];370 $ssi_recieved['ssi_widget_name'] = $_REQUEST["appName"]; 369 371 } 370 372 include(SSI_TEMPLATES_DIR."options.php"); -
ssi-sumilux/trunk/templates/options.php
r506263 r511442 1 1 2 <div class="wrap"> 2 3 … … 78 79 </table> 79 80 81 82 80 83 <?php if (!empty($ssi_recieved)){?> 81 84 <i style="color: red">Please, save new options of SSI plugin.</i> 82 85 <?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> 85 88 <div class="submit"> 86 89
Note: See TracChangeset
for help on using the changeset viewer.