Plugin Directory

Changeset 2469505


Ignore:
Timestamp:
02/05/2021 12:50:50 PM (5 years ago)
Author:
frier
Message:

2021-02-05 update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • books-papers/trunk/classes/bridge.php

    r2466462 r2469505  
    756756        global $wpdb;//$a_elem = str_replace('\"',"",str_replace('"',""",$a_elem));
    757757        $a_elem = "<span style='";
     758        if(get_option("bnpp_lstyle_value") != "") { $a_elem .= get_option("bnpp_lstyle_value"); }
    758759        if(get_option("bnpp_custom_char1_name") != "" && !is_null($ar->char1)) { $a_elem .= get_option("bnpp_custom_char1_value"); }
    759760        if(get_option("bnpp_custom_char2_name") != "" && !is_null($ar->char2)) { $a_elem .= get_option("bnpp_custom_char2_value"); }
     
    883884        global $wpdb;
    884885        $c_elem = "<span style='";
     886        if(get_option("bnpp_lstyle_value") != "") { $c_elem .= get_option("bnpp_lstyle_value"); }
    885887        if(get_option("bnpp_custom_char1_name") != "" && !is_null($co->char1)) { $c_elem .= get_option("bnpp_custom_char1_value"); }
    886888        if(get_option("bnpp_custom_char2_name") != "" && !is_null($co->char2)) { $c_elem .= get_option("bnpp_custom_char2_value"); }
     
    9981000        global $wpdb;
    9991001        $b_elem = "<span style='";
     1002        if(get_option("bnpp_lstyle_value") != "") { $b_elem .= get_option("bnpp_lstyle_value"); }
    10001003        if(get_option("bnpp_custom_char1_name") != "" && !is_null($bo->char1)) { $b_elem .= get_option("bnpp_custom_char1_value"); }
    10011004        if(get_option("bnpp_custom_char2_name") != "" && !is_null($bo->char2)) { $b_elem .= get_option("bnpp_custom_char2_value"); }
     
    11291132        global $wpdb;
    11301133        $p_elem = "<span style='";
     1134        if(get_option("bnpp_lstyle_value") != "") { $p_elem .= get_option("bnpp_lstyle_value"); }
    11311135        if(get_option("bnpp_custom_char1_name") != "" && !is_null($pub->char1)) { $p_elem .= get_option("bnpp_custom_char1_value"); }
    11321136        if(get_option("bnpp_custom_char2_name") != "" && !is_null($pub->char2)) { $p_elem .= get_option("bnpp_custom_char2_value"); }
Note: See TracChangeset for help on using the changeset viewer.