Skip to Content Skip to Menu

Bootstrapping - icons

  • web2web
  • web2web
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
10 years 9 months ago #238892 by web2web
Bootstrapping - icons was created by web2web
Hi!

I'm trying to add fontawesome icons to CB Registration.
The only problem i found was the INFO icon (see screenshot pls)


The file comprofiler.class.php has this:
Code:
// $ui is not used anymore: function cbFieldTip($ui, $fieldTip, $tipTitle='', $width='', $image='images/mini-icons/icon-16-info.png', $htmltext='', $href='', $style='', $olparams='',$click=false) { $altText = ' alt="' . strip_tags( sprintf( _UE_INFORMATION_FOR_FIELD, htmlspecialchars( $tipTitle ), htmlspecialchars( $fieldTip ) ) ) . '" title=""'; // overlib_mini does not support newlines: if (strpos($fieldTip, "&lt;") === false) { $fieldTip = str_replace("\r\n", "&lt;br /&gt;", $fieldTip); $fieldTip = str_replace("\n", "&lt;br /&gt;", $fieldTip); } else { $fieldTip = str_replace("\r\n", " ", $fieldTip); $fieldTip = str_replace("\n", " ", $fieldTip); } $fieldTip = str_replace(array('"','<','>',"\\"), array("&quot;","&lt;","&gt;","\\\\"), $fieldTip); $tipTitle = str_replace(array('"','<','>',"\\"), array("&quot;","&lt;","&gt;","\\\\"), $tipTitle); $fieldTip = str_replace(array("'","&#039;","&#39;"), "\\'", $fieldTip); $tipTitle = str_replace(array("'","&#039;","&#39;"), "\\'", $tipTitle); return CB45_mosToolTip( $ui, $fieldTip, $tipTitle, $width, $image, $htmltext, $href, $style, $olparams, $click, $altText ); }

I want to insert <i class style="fa fa-info-circle fa-1"></i> instead of <img src.......>

I understand html and css but this is a bit way over my knowledge, if someone can help i would be most appreciatted.

thanks
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum