Example #1
0
<?php

// Require config
require_once 'config.php';
$icon_list = sf_get_icons_list();
$animatons_list = sf_get_animations_list();
?>

<!-- Swift Framework Shortcode Panel -->

<!-- OPEN html -->
<html xmlns="http://www.w3.org/1999/xhtml">

<!-- OPEN head -->
<head>

    <!-- Title & Meta -->
    <title><?php 
wp_title('|', true, 'right');
?>
</title>
    <meta http-equiv="Content-Type"
          content="<?php 
bloginfo('html_type');
?>
; charset=<?php 
echo get_option('blog_charset');
?>
"/>

    <!-- LOAD scripts -->
Example #2
0
function spb_animations_list()
{
    if (function_exists('sf_get_animations_list')) {
        return sf_get_animations_list(true);
    } else {
        $array = array(__("None", 'swift-framework-plugin') => "none", __("Bounce", 'swift-framework-plugin') => "bounce", __("Flash", 'swift-framework-plugin') => "flash", __("Pulse", 'swift-framework-plugin') => "pulse", __("Rubberband", 'swift-framework-plugin') => "rubberBand", __("Shake", 'swift-framework-plugin') => "shake", __("Swing", 'swift-framework-plugin') => "swing", __("TaDa", 'swift-framework-plugin') => "tada", __("Wobble", 'swift-framework-plugin') => "wobble", __("Bounce In", 'swift-framework-plugin') => "bounceIn", __("Bounce In Down", 'swift-framework-plugin') => "bounceInDown", __("Bounce In Left", 'swift-framework-plugin') => "bounceInLeft", __("Bounce In Right", 'swift-framework-plugin') => "bounceInRight", __("Bounce In Up", 'swift-framework-plugin') => "bounceInUp", __("Fade In", 'swift-framework-plugin') => "fadeIn", __("Fade In Down", 'swift-framework-plugin') => "fadeInDown", __("Fade In Down Big", 'swift-framework-plugin') => "fadeInDownBig", __("Fade In Left", 'swift-framework-plugin') => "fadeInLeft", __("Fade In Left Big", 'swift-framework-plugin') => "fadeInLeftBig", __("Fade In Right", 'swift-framework-plugin') => "fadeInRight", __("Fade In Right Big", 'swift-framework-plugin') => "fadeInRightBig", __("Fade In Up", 'swift-framework-plugin') => "fadeInUp", __("Fade In Up Big", 'swift-framework-plugin') => "fadeInUpBig", __("Flip", 'swift-framework-plugin') => "flip", __("Flip In X", 'swift-framework-plugin') => "flipInX", __("Flip In Y", 'swift-framework-plugin') => "flipInY", __("Lightspeed In", 'swift-framework-plugin') => "lightSpeedIn", __("Rotate In", 'swift-framework-plugin') => "rotateIn", __("Rotate In Down Left", 'swift-framework-plugin') => "rotateInDownLeft", __("Rotate In Down Right", 'swift-framework-plugin') => "rotateInDownRight", __("Rotate In Up Left", 'swift-framework-plugin') => "rotateInUpLeft", __("Rotate In Up Right", 'swift-framework-plugin') => "rotateInUpRight", __("Roll In", 'swift-framework-plugin') => "rollIn", __("Zoom In", 'swift-framework-plugin') => "zoomIn", __("Zoom In Down", 'swift-framework-plugin') => "zoomInDown", __("Zoom In Left", 'swift-framework-plugin') => "zoomInLeft", __("Zoom In Right", 'swift-framework-plugin') => "zoomInRight", __("Zoom In Up", 'swift-framework-plugin') => "zoomInUp", __("Slide In Down", 'swift-framework-plugin') => "slideInDown", __("Slide In Left", 'swift-framework-plugin') => "slideInLeft", __("Slide In Right", 'swift-framework-plugin') => "slideInRight", __("Slide In Up", 'swift-framework-plugin') => "slideInUp");
        return $array;
    }
}