Changeset 1717151
- Timestamp:
- 08/21/2017 05:02:24 PM (9 years ago)
- Location:
- wpsid-shortcode
- Files:
-
- 1 added
- 6 edited
-
assets/screenshot-4.jpg (modified) (previous)
-
assets/screenshot-5.jpg (added)
-
trunk/classes/class-opensid.php (modified) (1 diff)
-
trunk/init.php (modified) (1 diff)
-
trunk/opensid.php (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/shortcodes/shortcode-layanan_mandiri_widget.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wpsid-shortcode/trunk/classes/class-opensid.php
r1716832 r1717151 2 2 defined( 'ABSPATH' ) || die( 'No direct script access allowed!' ); 3 3 abstract class OpenSID { 4 const version = '1.0.9 ';4 const version = '1.0.9.1'; 5 5 public static $model_opensid; 6 6 public static $controller; -
wpsid-shortcode/trunk/init.php
r1677978 r1717151 2 2 defined( 'ABSPATH' ) || die( 'No direct script access allowed!' ); 3 3 define( 'OPENSID_OPTION_KEY', 'wpsid_config' ); 4 if(strpos($_SERVER['HTTP_HOST'], '.demo.siini.com') !== false || strpos($_SERVER['HTTP_HOST'], '.devhost') !== false) 5 define( 'OPENSID_DEMO_SITE', true ); 6 else define( 'OPENSID_DEMO_SITE', false ); 4 7 define( 'OPENSID_ABSPATH', dirname( OPENSID__FILE__ ) . '/' ); 5 8 define( 'OPENSID_DIR_URL', plugin_dir_url( OPENSID__FILE__ ) ); -
wpsid-shortcode/trunk/opensid.php
r1716832 r1717151 9 9 * Author: Simasta 10 10 * Author URI: http://simasta.siini.com 11 * Version: 1.0.9 11 * Version: 1.0.9.1 12 12 * Text Domain: wpsid-shortcode 13 13 * Domain Path: /locale/ -
wpsid-shortcode/trunk/readme.txt
r1716832 r1717151 5 5 Requires at least: 4.3 6 6 Tested up to: 4.8.1 7 Stable tag: 1.0.9 7 Stable tag: 1.0.9.1 8 8 License: GPLv2 or later 9 9 … … 12 12 == Description == 13 13 14 WPSID Shortcode integrate OpenSID and SID into Wrodpress with shortcodes. You can display statistics data from OpenSID and SID into wordpress. Visit [** demo site**](http://wpsid-shortcode.plugin.demo.siini.com/) for detail.14 WPSID Shortcode integrate OpenSID and SID into Wrodpress with shortcodes. You can display statistics data from OpenSID and SID into wordpress. Visit [**http://wpsid-shortcode.plugin.demo.siini.com**](http://wpsid-shortcode.plugin.demo.siini.com/) for detail. 15 15 16 16 If you find this useful, [**please consider donating**](http://www.siini.com/wordpress/plugins/wpsid-shortcode/) whatever sum you choose, **even just 10 cents**. … … 40 40 1. Activate plugin at "Plugins" administration page. 41 41 1. Verify configuration on admin panel. 42 1. Place shortcodes build in opensid plugin to your post, page, or widget, or use `echo do_shortcode("[name_shortcode]")` code .42 1. Place shortcodes build in opensid plugin to your post, page, or widget, or use `echo do_shortcode("[name_shortcode]")` code ini php files. 43 43 44 44 = The Shortcodes = … … 76 76 3. Example directory structure 77 77 4. Admin page 78 5. Layanan Mandiri 78 79 79 80 80 81 == Changelog == 82 83 = 1.0.9.1 = 84 *Release Date - 2017/08/20* 85 86 * Hot fix 81 87 82 88 = 1.0.9 = -
wpsid-shortcode/trunk/shortcodes/shortcode-layanan_mandiri_widget.php
r1716832 r1717151 32 32 </div> 33 33 <div class="box-body"> 34 <?php echo (isset($_ SESSION['mandiri']) && $_SESSION['mandiri'] == -1) ? '<span style="color: red !important"><strong>NIK atau PIN salah!</strong></span><br>' : '';?>34 <?php echo (isset($_POST['mandiri']) && isset($_SESSION['mandiri']) && $_SESSION['mandiri'] == -1) ? '<span style="color: red !important"><strong>NIK atau PIN salah!</strong></span><br>' : '';?> 35 35 <h4>Masukan NIK dan PIN</h4> 36 36 <form action="<?php echo $data['mandiri_page']?>" method="post"> 37 <input name="nik" type="text" placeholder="NIK" style="margin-left:0px" value=" 5201142005716996" required="">38 <input name="pin" type="password" placeholder="PIN" style="margin-left:0px" value=" 123456" required="">37 <input name="nik" type="text" placeholder="NIK" style="margin-left:0px" value="<?php echo (OPENSID_DEMO_SITE) ? '5201142005716996' : '';?>" required=""> 38 <input name="pin" type="password" placeholder="PIN" style="margin-left:0px" value="<?php echo (OPENSID_DEMO_SITE) ? '123456' : '';?>" required=""> 39 39 <button type="submit" name="mandiri" value="login" id="submit" style="margin-left:0px">Masuk</button> 40 40 </form>
Note: See TracChangeset
for help on using the changeset viewer.