コード例 #1
0
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-3.0.txt
 */
/**
 * Template file for show a list with bullet
 *
 * @package Yithemes
 * @author  Francesco Licandro <*****@*****.**>
 * @since   1.0.0
 */
$content = str_replace('<ul>', '', $content);
$content = str_replace('</ul>', '', $content);
$code = YIT_Plugin_Common::get_awesome_icons_code_by_value($icon);
$id_link = "list_bullet" . $index;
$animate_data = $animate != '' ? 'data-animate="' . $animate . '"' : '';
$animate_data .= $animation_delay != '' ? ' data-delay="' . $animation_delay . '"' : '';
$animate = $animate != '' ? ' yit_animate ' . $animate : '';
?>

<?php 
if (isset($code) && $code) {
    ?>
    <style>
        ul#<?php 
    echo $id_link;
    ?>
 li:before {
            content: '\<?php