Plugin Directory

Changeset 1507337


Ignore:
Timestamp:
10/03/2016 09:48:10 AM (10 years ago)
Author:
scor2k
Message:

tagging version 0.1.2

Location:
nxtbridge
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • nxtbridge/tags/0.1.2/nxtbridge.php

    r1504268 r1507337  
    44  Plugin Name: NXTBridge
    55  Plugin URI: http://nxter.org/nxtbridge
    6   Version: 0.1.1
     6  Version: 0.1.2
    77  Author: scor2k
    88  Description: Show Nxt asset information on your Wordpress sites.
     
    1313
    1414$api = '//api.nxtex.info:8080/v1';
     15//$api = '//nxtbridge-srv.corp.comindware.com:8080/v1';
    1516
    1617/*****************************************************************************************************/
     
    6061      $a[$i] .= sprintf("xhr_%s.onreadystatechange = function() { ", $i);
    6162      $a[$i] .= sprintf("if ( xhr_%s.readyState != 4 ) return;", $i);
    62       $a[$i] .= sprintf("if ( xhr_%s.status != 200 ) { asset_%s.innerHTML = 'Something goes wrong.'; } else { var data = xhr_%s.responseText; var page = JSON.parse(data); asset_%s.innerHTML = page.data;} ", $i, $i, $i, $i);
     63      $a[$i] .= sprintf("if ( xhr_%s.status != 200 ) { asset_%s.innerHTML = 'Error while load info about asset ID= %s '; } else { var data = xhr_%s.responseText; var page = JSON.parse(data); asset_%s.innerHTML = page.data;} ", $i, $i, $asset_id, $i, $i);
    6364      $a[$i] .= sprintf("} // end onreadystatechange");
    6465      $a[$i] .= sprintf("</script>");
  • nxtbridge/tags/0.1.2/readme.txt

    r1504268 r1507337  
    1414== Description ==
    1515
    16 The plugin gets data from the Nxt Asset Exchange (https://nxt.org, http://nxter.org/assets). Add an asset’s ID to the NxtBridge shortcode and the asset’s meta data will be shown in posts or pages.
     16The plugin gets data from the Nxt Asset Exchange ( https://nxt.org, http://nxter.org/assets ). Add an asset’s ID to the NxtBridge shortcode and the asset’s meta data will be shown in posts or pages.
    1717
    1818
     
    2929
    3030Just insert simple shortcode to your page with the asset ID you want to show. [NXTBridgeAsset id=17290457900272383726] for example.
     31
     32You can customise output by changing styles for the next classes: nxtbridge-asset-name, nxtbridge-asset-init-quantity, nxtbridge-asset-quantity, nxtbridge-asset-decimals, nxtbridge-asset-accountRS, nxtbridge-asset-id, nxtbridge-asset-ask, nxtbridge-asset-bid, nxtbridge-asset-description.
    3133
    3234== About this project ==
     
    6567== Changelog ==
    6668
     69= 0.1.2 =
     70* Add ask and bid info
     71
    6772= 0.1.1 =
    6873* Bug Fix
  • nxtbridge/trunk/nxtbridge.php

    r1504268 r1507337  
    44  Plugin Name: NXTBridge
    55  Plugin URI: http://nxter.org/nxtbridge
    6   Version: 0.1.1
     6  Version: 0.1.2
    77  Author: scor2k
    88  Description: Show Nxt asset information on your Wordpress sites.
     
    1313
    1414$api = '//api.nxtex.info:8080/v1';
     15//$api = '//nxtbridge-srv.corp.comindware.com:8080/v1';
    1516
    1617/*****************************************************************************************************/
     
    6061      $a[$i] .= sprintf("xhr_%s.onreadystatechange = function() { ", $i);
    6162      $a[$i] .= sprintf("if ( xhr_%s.readyState != 4 ) return;", $i);
    62       $a[$i] .= sprintf("if ( xhr_%s.status != 200 ) { asset_%s.innerHTML = 'Something goes wrong.'; } else { var data = xhr_%s.responseText; var page = JSON.parse(data); asset_%s.innerHTML = page.data;} ", $i, $i, $i, $i);
     63      $a[$i] .= sprintf("if ( xhr_%s.status != 200 ) { asset_%s.innerHTML = 'Error while load info about asset ID= %s '; } else { var data = xhr_%s.responseText; var page = JSON.parse(data); asset_%s.innerHTML = page.data;} ", $i, $i, $asset_id, $i, $i);
    6364      $a[$i] .= sprintf("} // end onreadystatechange");
    6465      $a[$i] .= sprintf("</script>");
  • nxtbridge/trunk/readme.txt

    r1504268 r1507337  
    1414== Description ==
    1515
    16 The plugin gets data from the Nxt Asset Exchange (https://nxt.org, http://nxter.org/assets). Add an asset’s ID to the NxtBridge shortcode and the asset’s meta data will be shown in posts or pages.
     16The plugin gets data from the Nxt Asset Exchange ( https://nxt.org, http://nxter.org/assets ). Add an asset’s ID to the NxtBridge shortcode and the asset’s meta data will be shown in posts or pages.
    1717
    1818
     
    2929
    3030Just insert simple shortcode to your page with the asset ID you want to show. [NXTBridgeAsset id=17290457900272383726] for example.
     31
     32You can customise output by changing styles for the next classes: nxtbridge-asset-name, nxtbridge-asset-init-quantity, nxtbridge-asset-quantity, nxtbridge-asset-decimals, nxtbridge-asset-accountRS, nxtbridge-asset-id, nxtbridge-asset-ask, nxtbridge-asset-bid, nxtbridge-asset-description.
    3133
    3234== About this project ==
     
    6567== Changelog ==
    6668
     69= 0.1.2 =
     70* Add ask and bid info
     71
    6772= 0.1.1 =
    6873* Bug Fix
Note: See TracChangeset for help on using the changeset viewer.