Permalink
Browse files

SG

  • Loading branch information...
root
root committed Oct 21, 2018
1 parent 0714cbd commit ca757700787a0900c820a770f5b7bf151d93c528
Showing with 2 additions and 7 deletions.
  1. +2 −7 nubuilder-forte.php
@@ -38,9 +38,7 @@ function __construct() {
add_action('auth_redirect', 'nu_set_menu');
add_action('init', 'nu_start_session', 1);
add_shortcode( 'nubuilder-forte', 'nubuilder_forte_shortcode' );
}
function activate() {
@@ -104,7 +102,6 @@ function nuResize(){
echo $j;
}
function nubuilder_forte_shortcode($atts){
@@ -114,17 +111,15 @@ function nubuilder_forte_shortcode($atts){
$h = isset($atts['height']) ? intval($atts['height']) : 300 . 'px';
$t = isset($atts['top']) ? intval($atts['top']) : 0 . 'px';
$l = isset($atts['left']) ? intval($atts['left']) : 0 . 'px';
$b = isset($atts['border-width']) ? intval($atts['border-width']) : 0 . 'px';
$b = isset($atts['border-width']) ? intval($atts['border-width']) : 0 . 'px';
$u = isset($atts['username']) ? $atts['username'] : 0;
$p = isset($atts['password']) ? $atts['password'] : 0;
$j = "<iframe id='nubuilder4_iframe' style='top:$t;left:$l;border-style:solid;border-width:$b;border-color:lightgrey;width:$w;height:$h' src='$iframe_url'></iframe>";
return $j;
return $j;
}
?>

0 comments on commit ca75770

Please sign in to comment.