Plugin Directory

Changeset 1854733


Ignore:
Timestamp:
04/08/2018 09:32:47 AM (8 years ago)
Author:
ernestortiz
Message:

Profile Xtra 2.1.6

Location:
profile-xtra/tags
Files:
17 added
1 edited

Legend:

Unmodified
Added
Removed
  • profile-xtra/tags/2.1.5/shortcodes.php

    r1854539 r1854733  
    182182                $description = commonf__cutstringbywords($description,$read_w,$read_end);
    183183            if ($description)
    184                 $html_d = "<div class='profilextra_d'>".commonf__cutstringbywords($description,120)."</div>";
     184                $html_d = "<div class='profilextra_d'>".$description."</div>";
    185185        endif;
    186186
     
    296296            $ret .= $closetags[$k];
    297297        //add a final readmore
     298        if (substr($ret,strlen($ret)-strlen($more),strlen($ret))==$more) $more='';
    298299        if ($ret[strlen($ret)-1]==$more[0])
    299             $ret = trim(substr($ret,0,strlen($ret)-1));
     300           $ret = trim(substr($ret,0,strlen($ret)-1));
    300301        return $ret.$more;
    301302    }
Note: See TracChangeset for help on using the changeset viewer.