--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/content_timeline.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?php
-/*
-Plugin Name: Content timeline
-Plugin URI: http://www.shindiristudio.com/timelinewp/
-Description: Content timeline description
-Author: br0
-Version: 2.02
-Author URI: http://www.shindiristudio.com/
-*/
-
-if (!class_exists("contentTimelineAdmin")) {
- require_once dirname( __FILE__ ) . '/content_timeline_class.php';
- $ctimeline = new ContentTimelineAdmin (__FILE__);
-}
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/content_timeline_class.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,365 +0,0 @@
-<?php
-class ContentTimelineAdmin {
-
- var $main, $path, $name, $url;
-
- function __construct($file) {
- $this->main = $file;
- $this->init();
- return $this;
- }
-
- function init() {
- $this->path = dirname( __FILE__ );
- $this->name = basename( $this->path );
- $this->url = plugins_url( "/{$this->name}/" );
- if( is_admin() ) {
-
- register_activation_hook( $this->main , array(&$this, 'activate') );
-
- add_action('admin_menu', array(&$this, 'admin_menu'));
-
- // Ajax calls
- add_theme_support( 'post-thumbnails' );
- add_action('wp_ajax_ctimeline_save', array(&$this, 'ajax_save'));
- add_action('wp_ajax_ctimeline_preview', array(&$this, 'ajax_preview'));
- add_action('wp_ajax_ctimeline_post_search', array(&$this, 'ajax_post_search'));
- add_action('wp_ajax_ctimeline_post_get', array(&$this, 'ajax_post_get'));
- add_action('wp_ajax_ctimeline_post_category_get', array(&$this, 'ajax_post_category_get'));
- add_action('wp_ajax_ctimeline_frontend_get', array(&$this, 'ajax_frontend_get'));
- add_action('wp_ajax_nopriv_ctimeline_frontend_get', array(&$this, 'ajax_frontend_get'));
-
- }
- else {
- add_action('wp', array(&$this, 'frontend_includes'));
- add_shortcode('content_timeline', array(&$this, 'shortcode') );
- }
- }
-
- function activate() {
- global $wpdb;
-
- $table_name = $wpdb->base_prefix . 'ctimelines';
-
- if ($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name) {
- $royal_sliders_sql = "CREATE TABLE " . $table_name ." (
- id mediumint(9) NOT NULL AUTO_INCREMENT,
- name tinytext NOT NULL COLLATE utf8_general_ci,
- settings text NOT NULL COLLATE utf8_general_ci,
- items text NOT NULL COLLATE utf8_general_ci,
- PRIMARY KEY (id)
- );";
-
- require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
- dbDelta($royal_sliders_sql);
- }
-
- }
-
- function admin_menu() {
- $ctmenu = add_menu_page( 'Content Timeline', 'Content Timeline', 'manage_options', 'contenttimeline', array(&$this, 'admin_page'));
- $submenu = add_submenu_page( 'contenttimeline', 'Content Timeline', 'Add New', 'manage_options', 'contenttimeline_edit', array(&$this, 'admin_edit_page'));
-
- add_action('load-'.$ctmenu, array(&$this, 'admin_menu_scripts'));
- add_action('load-'.$submenu, array(&$this, 'admin_menu_scripts'));
- add_action('load-'.$ctmenu, array(&$this, 'admin_menu_styles'));
- add_action('load-'.$submenu, array(&$this, 'admin_menu_styles'));
- }
-
- function admin_menu_scripts() {
- wp_enqueue_script('post');
- wp_enqueue_script('farbtastic');
- wp_enqueue_script('thickbox');
- wp_enqueue_script('ctimeline-admin-js', $this->url . 'js/ctimeline_admin.js' );
- wp_enqueue_script('jQuery-easing', $this->url . 'js/frontend/jquery.easing.1.3.js' );
- wp_enqueue_script('jQuery-timeline', $this->url . 'js/frontend/jquery.timeline.js' );
-
- wp_enqueue_script('jQuery-ui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js' );
- wp_enqueue_script('jQuery-mousew', $this->url . 'js/frontend/jquery.mousewheel.min.js' );
- wp_enqueue_script('jQuery-customScroll', $this->url . 'js/frontend/jquery.mCustomScrollbar.min.js' );
- }
-
- function admin_menu_styles() {
- wp_enqueue_style('farbtastic');
- wp_enqueue_style('thickbox');
- wp_enqueue_style( 'ctimeline-admin-css', $this->url . 'css/ctimeline_admin.css' );
- wp_enqueue_style( 'ctimeline-thick-css', $this->url . 'css/thickbox.css' );
- wp_enqueue_style( 'timeline-css', $this->url . 'css/frontend/timeline.css' );
- wp_enqueue_style( 'customScroll-css', $this->url . 'css/frontend/jquery.mCustomScrollbar.css' );
- }
-
- function ajax_save() {
- $id = false;
- $settings = '';
- $items = '';
- foreach( $_POST as $key => $value) {
- if ($key != 'action') {
- if ($key == 'timeline_id'){
- if ($value != '') {
- $id = (int)$value;
- }
- }
- else if ($key == 'timeline_title'){
- $name = stripslashes($value);
- }
- else if(strpos($key,'sort') === 0){
- $items .= $key . '::' . stripslashes($value) . '||';
- }
- else {
- $settings .= $key . '::' . stripslashes($value) . '||';
- }
- }
- }
- if ($items != '') $items = substr($items,0,-2);
- if ($settings != '') $settings = substr($settings,0,-2);
- global $wpdb;
- $table_name = $wpdb->base_prefix . 'ctimelines';
- if($id) {
- $wpdb->update(
- $table_name,
- array(
- 'name'=>$name,
- 'settings'=>$settings,
- 'items'=>$items),
- array( 'id' => $id ),
- array(
- '%s',
- '%s',
- '%s'),
- array('%d')
- );
- }
- else {
- $wpdb->insert(
- $table_name,
- array(
- 'name'=>$name,
- 'settings'=>$settings,
- 'items'=>$items),
- array(
- '%s',
- '%s',
- '%s')
-
- );
- $id = $wpdb->insert_id;
- }
-
-
- echo $id;
- die();
- }
-
- function ajax_preview() {
- $tid = false;
- $tsettings = '';
- $titems = '';
- foreach( $_POST as $key => $value) {
- if ($key != 'action') {
- if ($key == 'timeline_id'){
- if ($value != '') {
- $tid = (int)$value;
- }
- }
- else if ($key == 'timeline_title'){
- $tname = $value;
- }
- else if(strpos($key,'sort') === 0){
- $titems .= $key . '::' . $value . '||';
- }
- else {
- $tsettings .= $key . '::' . $value . '||';
- }
- }
- }
- if ($titems != '') $titems = substr($titems,0,-2);
- if ($tsettings != '') $tsettings = substr($tsettings,0,-2);
-
- include_once($this->path . '/pages/content_timeline_preview.php');
-
- die();
- }
-
- function ajax_post_search(){
- if(isset($_POST['query']) && !empty($_POST['query'])){
- $searchVal = strtolower($_POST['query']);
- }
- else {
- $searchVal = '';
- }
-
- $query_args = array( 'posts_per_page' => -1, 'post_type' => 'any');
- $query = new WP_Query( $query_args );
-
- foreach ( $query->posts as $match) {
- if($searchVal != ''){
- if(strpos(strtolower($match->post_name), $searchVal) !== false){
- $thumbn = wp_get_attachment_image_src( get_post_thumbnail_id($match->ID) , 'full');
- echo '<li><a href="'.$match->ID.'"><img style="margin-right:5px;" src="'.$this->url.'timthumb/timthumb.php?src='.$thumbn[0].'&w=150&h=150" width="32" height="32" alt="" /><span class="timelinePostCompleteName">'.$match->post_title .'</span><span class="clear"></span></a></li>';
- }
- }
- }
- die();
- }
-
- function ajax_post_get($post_id = false){
- $id = (int) $_POST['post_id'];
- if ($post_id) $id = $post_id;
- $post = get_post($id);
-
- echo $post->post_title . '||';
- echo substr($post->post_date, 8, 2) . '/' . substr($post->post_date, 5, 2) . '/' . substr($post->post_date, 0, 4) . '||';
- $post_categories = get_the_category( $id );
-
- echo $post_categories[0]->name . '||';
- $excerpt = $post->post_excerpt;
- if ($excerpt == '' && $post->post_content != '') {
- echo substr($post->post_content,0,100) . '...';
- }
-
- echo $excerpt . '||';
- if ( has_post_thumbnail($id)) {
- echo wp_get_attachment_url( get_post_thumbnail_id($id , 'full'));
- }
- echo '||' . $post->post_content;
-
- if(!$post_id) {
- die();
- }
-
- }
-
- function ajax_post_category_get() {
- $cat_name = $_POST['cat_name'];
- $term = get_term_by('name', $cat_name, 'category');
- $cat_id = $term->term_id;
-
- $the_query = new WP_Query( array( 'cat' => $cat_id, 'post_type' => 'any', 'posts_per_page'=>-1, 'order' => 'ASC'));
- $start = true;
- while ( $the_query->have_posts() ) : $the_query->the_post();
- if ($the_query->post->post_type != 'page') {
- if (!$start) {
- echo '||';
- }
- $start = false;
- $this->ajax_post_get($the_query->post->ID);
- }
- endwhile;
-
- die();
- }
-
- function ajax_frontend_get(){
- $timelineId = $_GET['timeline'];
- $id = $_GET['id'];
-
-
- global $wpdb;
- if($timelineId) {
- $timeline = $wpdb->get_results('SELECT * FROM ' . $wpdb->base_prefix . 'ctimelines WHERE id='.$timelineId);
- $timeline = $timeline[0];
-
- $cats = "[";
- $catArray = array();
- $ccNumbers = array();
- $catNumber = 0;
-
- foreach(explode('||',$timeline->settings) as $val) {
- $expl = explode('::',$val);
- if(substr($expl[0], 0, 8) == 'cat-name') {
- if($cats != "[") $cats .= ",";
- $cc = get_cat_name(intval(substr($expl[0], 9)));
- $cats .= "'".$cc."'";
- array_push ($catArray,$cc);
- array_push ($ccNumbers, 0);
- $catNumber++;
- }
- else {
- $settings[$expl[0]] = $expl[1];
- }
-
- }
- $cats .= "]";
-
-
- if ($timeline->items != '') {
- $explode = explode('||',$timeline->items);
- $open_content_height = intval($settings['item-height']) - intval($settings['item-open-image-height']) - 2*intval($settings['item-open-content-padding']) -intval($settings['item-open-image-border-width']) - 6;
-
- foreach ($explode as $it) {
- $ex2 = explode('::', $it);
- $key = substr($ex2[0],0,strpos($ex2[0],'-'));
- $subkey = substr($ex2[0],strpos($ex2[0],'-')+1);
- $itemsArray[$key][$subkey] = $ex2[1];
- }
-
- $arr = $itemsArray[$id];
-
-
- $frontHtml ='';
-
- if ($arr['item-open-image'] != '') {
- $frontHtml .= '
- <a class="timeline_rollover_bottom con_borderImage" href="'.(($arr['item-open-prettyPhoto'] != '')? $arr['item-open-prettyPhoto'] : $arr['item-open-image']).'" rel="prettyPhoto[timeline]">
- <img src="'. $this->url . 'timthumb/timthumb.php?src=' . $arr['item-open-image'] . '&w='.$settings['item-open-width'].'&h='.$settings['item-open-image-height'].'" alt=""/></a>
- <div class="timeline_open_content'.(!$arr['desable-scroll'] ? ' scrollable-content' : '').'" style="height: '. $open_content_height.'px">';
-
- }
- else {
- $frontHtml .= '
- <div class="timeline_open_content'.(!$arr['desable-scroll'] ? ' scrollable-content' : '').'" style="height: '. (intval($settings['item-height']) - 2*intval($settings['item-open-content-padding'])).'px">';
- }
-
- if ($arr['item-open-title'] != '') {
- $frontHtml .= '
- <h2>'.$arr['item-open-title'].'</h2>';
- }
- $frontHtml .= '
- ' . $arr['item-open-content'].'
- </div>';
-
- echo do_shortcode($frontHtml);
- }
-
- die();
- }
- }
-
-
-
- function admin_page() {
- include_once($this->path . '/pages/content_timeline_index.php');
- }
-
- function admin_edit_page() {
- include_once($this->path . '/pages/content_timeline_edit.php');
- }
-
- function shortcode($atts) {
- extract(shortcode_atts(array(
- 'id' => ''
- ), $atts));
-
- include_once($this->path . '/pages/content_timeline_frontend.php');
- $frontHtml = preg_replace('/\s+/', ' ',$frontHtml);
-
- return do_shortcode($frontHtml);
- }
-
- function frontend_includes() {
- wp_enqueue_script('jquery');
- wp_enqueue_script('jQuery-easing', $this->url . 'js/frontend/jquery.easing.1.3.js' );
- wp_enqueue_script('jQuery-timeline', $this->url . 'js/frontend/jquery.timeline.js' );
- wp_enqueue_script('jQuery-mousew', $this->url . 'js/frontend/jquery.mousewheel.min.js' );
- wp_enqueue_script('jQuery-customScroll', $this->url . 'js/frontend/jquery.mCustomScrollbar.min.js' );
- wp_enqueue_script('jQuery-ui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js' );
- wp_enqueue_script('rollover', $this->url . 'js/frontend/rollover.js' );
- wp_enqueue_script('jquery-prettyPhoto', $this->url . 'js/frontend/jquery.prettyPhoto.js' );
-
- wp_enqueue_style( 'timeline-css', $this->url . 'css/frontend/timeline.css' );
- wp_enqueue_style( 'customScroll-css', $this->url . 'css/frontend/jquery.mCustomScrollbar.css' );
- wp_enqueue_style( 'prettyPhoto-css', $this->url . 'css/frontend/prettyPhoto.css' );
-
- }
-}
-?>
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/ctimeline_admin.css Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,285 +0,0 @@
-.misc-pub-section.timeline-pub-section {
- padding-left:0;
- padding-right:0;
-}
-
-#save-loader {
- padding:5px;
- display:none;
-}
-
-table.fields-group {
- width:100%;
- padding:0 0 5px 0;
- margin:0;
-}
-table.fields-group td {
- padding:2px 0;
- width:129px;
-}
-table.fields-group label {
-}
-
-table.fields-group select {
- width:130px;
-}
-
-table.fields-group input[type="checkbox"] {
- margin-left:3px;
-}
-
-.timeline-help {
- font-size:14px;
- font-weight:bold;
- cursor:pointer;
- display:block;
- float:left;
- position:relative;
- padding:0px 5px 0px 0;
-}
-
-.timeline-tooltip {
- float:none;
- position:absolute;
- bottom:20px;
- left:-10px;
- background:#fff;
- width:200px;
- font-weight:normal;
- font-size:10px;
- border-radius:4px;
- background:#404040;
- opacity:0.9;
- filter:alpha(opacity=90);
- color:#fff;
- text-shadow:none;
- padding:5px;
- display:none;
- font-family:sans-serif;
- line-height:15px;
-}
-
-.timeline-help:hover .timeline-tooltip {
- display:block;
-}
-
-
-.timeline-pub-section h3 {
- margin-bottom:10px;
-}
-
-.cw-color-picker-holder {
- position:relative;
-}
-.cw-color-picker {
- display:none;
- background:#fafafa;
- position:absolute;
- top:0;
- left:0;
- z-index:100;
- border:1px solid #dddddd;
-}
-.cw-image-upload {
- display:block;
- width:258px;
- height:50px;
- border:1px solid #dddddd;
-}
-
-.cat-display {
- display:none;
-}
-
-.sortableItem {
- position:relative;
- display:block;
- border:#dfdfdf 1px solid;
- text-shadow:#fff 0 1px 0;
- -moz-box-shadow:0 1px 0 #fff;
- -webkit-box-shadow:0 1px 0 #fff;
- box-shadow:0 1px 0 #fff;
- border-radius:3px;
-}
-.tsort-header {
- font-family:Georgia,"Times New Roman", "Bitstream Charter", Times, serif;
- font-size:16px;
- cursor:move;
- display:block;
- padding:10px;
- background-color:#f1f1f1;
- background-image:-ms-linear-gradient(top,#f9f9f9,#ececec);
- background-image:-moz-linear-gradient(top,#f9f9f9,#ececec);
- background-image:-o-linear-gradient(top,#f9f9f9,#ececec);
- background-image:-webkit-gradient(linear,left top,left bottom,from(#f9f9f9),to(#ececec));
- background-image:-webkit-linear-gradient(top,#f9f9f9,#ececec);
- background-image:linear-gradient(top,#f9f9f9,#ececec);
- border-bottom:#dfdfdf 1px solid;
- border-radius:3px 3px 0 0;
-}
-.tsort-plus {
- position:absolute;
- display:block;
- padding:7px 5px;
- top:5px;
- right:7px;
- font-size:22px;
- font-weight:bold;
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- cursor:pointer;
- color:#999999;
-}
-.tsort-content {
- background: #f6f6f6;
- display:none;
-}
-.tsort-plus:hover {
- color:#333333;
-}
-
-.tsort-item, .tsort-itemopen, .tsort-dataid {
- padding:10px;
- border-bottom:#dfdfdf 1px solid;
-}
-
-.tsort-itemopen {
- border-bottom:0;
- border-radius:0 0 3px 3px;
- }
-
-.tsort-placeholder {
- border-radius:3px;
- border:#cfcfcf 1px dashed;
- height:40px;
-}
-
-.tsort-image {
- position:relative;
- overflow:hidden;
- height:50px;
- width:294px;
- background-color:#f1f1f1;
- background-image:-ms-linear-gradient(top,#f9f9f9,#ececec);
- background-image:-moz-linear-gradient(top,#f9f9f9,#ececec);
- background-image:-o-linear-gradient(top,#f9f9f9,#ececec);
- background-image:-webkit-gradient(linear,left top,left bottom,from(#f9f9f9),to(#ececec));
- background-image:-webkit-linear-gradient(top,#f9f9f9,#ececec);
- background-image:linear-gradient(top,#f9f9f9,#ececec);
- border:#dfdfdf 1px solid;
- border-radius:3px 3px 3px 3px;
- float:left;
- margin-right:5px;
- }
- .tsort-image img {
- border-right:#dfdfdf 1px solid;
- }
-a.tsort-change {
- position:absolute;
- left:252px;
- font-size:12px;
- top: 7px;
- text-decoration:none;
- padding:10px 0px;
- display:block;
- width:50px;
- text-align:center;
- -webkit-transform: rotate(90deg);
- -moz-transform: rotate(90deg);
- -o-transform: rotate(90deg);
- writing-mode: tb-rl;
- color:#999999;
- font-weight:bold;
-}
-
-a.tsort-change:hover {
- color:#666666;
-}
-.tsort-image:hover a.tsort-remove {
- display:block;
-}
-a.tsort-remove {
- position:absolute;
- left:0;
- top:0;
- opacity:0.5;
- filter:alpha(opacity=50);
- display:none;
- padding:3px 7px;
- font-size:12px;
- background:#000;
- color:#fff;
- text-decoration:none;
- text-shadow:none;
-}
-
-a.tsort-remove:hover {
- color:#fff;
- opacity:1.0;
- filter:alpha(opacity=100);
-
-}
-
-input.tsort-title {
- float:left;
- font-size:22px;
- margin-top:18px;
- width:294px;
-}
-textarea.tsort-contarea {
- margin-top:5px;
- width:100%;
- height:100px;
- resize:vertical;
-}
-
-#TBct_timelineSubmitLoader {
- margin:14px 0px;
- display:none;
-}
-
-#timelineFromPostHolder {
- position:relative;
-}
-#timelineFromPostLoader {
- position:absolute;
- right:10px;
- top:0;
- display:none;
-}
-
-#timelineFromPostComplete {
- overflow-x:hidden;
- overflow-y:scroll;
- height:170px;
-}
-
-#timelineFromPostComplete li{
- margin:0;
-}
-
-#timelineFromPostComplete li a{
- display:block;
- padding:5px;
- border-bottom:1px solid gray;
- text-decoration:none;
-}
-
-#timelineFromPostComplete li a.active {
- background:#21759B;
- color:#ffffff;
-}
-
-#timelineFromPostComplete li img {
- float:left;
-}
-
-#timelineFromPostComplete li a span.timelinePostCompleteName {
- display:block;
- padding:8px;
-}
-
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/bebas/bebasneue-webfont.eot has changed
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/bebas/bebasneue-webfont.svg Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,238 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
-<svg xmlns="http://www.w3.org/2000/svg">
-<metadata></metadata>
-<defs>
-<font id="BebasNeueRegular" horiz-adv-x="811" >
-<font-face units-per-em="2048" ascent="1638" descent="-410" />
-<missing-glyph horiz-adv-x="317" />
-<glyph horiz-adv-x="0" />
-<glyph horiz-adv-x="2048" />
-<glyph unicode=" " horiz-adv-x="317" />
-<glyph unicode="	" horiz-adv-x="317" />
-<glyph unicode=" " horiz-adv-x="317" />
-<glyph unicode="!" horiz-adv-x="389" d="M82 836v598h225v-598l-28 -519h-168zM86 0v217h217v-217h-217z" />
-<glyph unicode=""" horiz-adv-x="665" d="M82 1434h217l-33 -422h-153zM367 1434h217l-33 -422h-154z" />
-<glyph unicode="#" horiz-adv-x="839" d="M31 410l16 159h100l39 375h-102l16 160h103l35 330h184l-35 -330h133l35 330h184l-34 -330h104l-16 -160h-105l-39 -375h105l-17 -159h-104l-43 -410h-184l43 410h-134l-43 -410h-184l43 410h-100zM332 569h133l39 375h-133z" />
-<glyph unicode="$" d="M70 365v98h213v-113q0 -139 116 -139q117 0 117 139q0 60 -24.5 111t-63 89.5t-85.5 76.5t-94 80.5t-85.5 91t-63 118t-24.5 152.5q0 297 237 350v107h185v-107q119 -25 180 -114t61 -236v-45h-213v59q0 142 -112 142q-113 0 -113 -142q0 -60 24.5 -111t63 -89.5 t85.5 -76.5t94 -80t85.5 -90.5t63 -118t24.5 -152.5q0 -147 -62 -237.5t-181 -115.5v-104h-185v104q-120 25 -181.5 115t-61.5 238z" />
-<glyph unicode="%" horiz-adv-x="1284" d="M70 743v471q0 111 56 170.5t161 59.5t161 -59.5t56 -170.5v-471q0 -111 -56 -170t-161 -59t-161 59t-56 170zM213 733q0 -90 74 -90q73 0 73 90v492q0 90 -73 90q-74 0 -74 -90v-492zM287 0l565 1434h133l-565 -1434h-133zM780 219v471q0 111 56 170.5t161 59.5 t161 -59.5t56 -170.5v-471q0 -111 -56 -170t-161 -59t-161 59t-56 170zM924 209q0 -90 73 -90q74 0 74 90v491q0 91 -74 91q-73 0 -73 -91v-491z" />
-<glyph unicode="&" horiz-adv-x="847" d="M84 311v146q0 232 156 301q-156 66 -156 295v26q0 173 84.5 264t251.5 91h258v-205h-254q-56 0 -85.5 -32.5t-29.5 -106.5v-89q0 -82 34 -116.5t101 -34.5h99v160h225v-160h59v-205h-59v-471q0 -116 25 -174h-230q-16 46 -20 113q-60 -129 -209 -129q-124 0 -187 84 t-63 243zM309 330q0 -142 117 -142q111 0 117 125v332h-86q-78 0 -113 -42t-35 -140v-133z" />
-<glyph unicode="'" horiz-adv-x="368" d="M76 1434h217l-33 -422h-154z" />
-<glyph unicode="(" horiz-adv-x="514" d="M96 313v807q0 171 73 242.5t243 71.5h69v-185h-55q-56 0 -80 -27.5t-24 -101.5v-807q0 -74 24 -101.5t80 -27.5h55v-184h-69q-170 0 -243 71t-73 242z" />
-<glyph unicode=")" horiz-adv-x="514" d="M33 0v184h55q56 0 80.5 27.5t24.5 101.5v807q0 74 -24.5 101.5t-80.5 27.5h-55v185h69q170 0 243 -71.5t73 -242.5v-807q0 -171 -73 -242t-243 -71h-69z" />
-<glyph unicode="*" d="M4 1075l57 174l306 -153l-54 338h185l-54 -338l306 153l57 -174l-336 -57l240 -240l-148 -108l-157 303l-158 -303l-148 108l240 240z" />
-<glyph unicode="+" d="M51 637v160h275v276h159v-276h275v-160h-275v-281h-159v281h-275z" />
-<glyph unicode="," horiz-adv-x="380" d="M82 0v217h217v-194l-98 -228h-92l59 205h-86z" />
-<glyph unicode="-" horiz-adv-x="552" d="M72 614v205h409v-205h-409z" />
-<glyph unicode="." horiz-adv-x="380" d="M82 0v217h217v-217h-217z" />
-<glyph unicode="/" horiz-adv-x="780" d="M10 0l565 1434h195l-565 -1434h-195z" />
-<glyph unicode="0" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="1" d="M221 1094v159q50 0 89 10.5t63 25t43.5 41t29.5 48t23 56.5h152v-1434h-226v1094h-174z" />
-<glyph unicode="2" d="M82 0v176q0 85 24.5 160.5t64 132t87 110t95 106.5t87 109t64 129.5t24.5 157.5q0 92 -29 128t-87 36q-117 0 -117 -141v-154h-213v140q0 173 86 266.5t250 93.5t250 -93.5t86 -266.5q0 -95 -27 -183t-69.5 -155t-93 -128t-99.5 -113.5t-88 -101.5t-59 -101t-11 -103h426 v-205h-651z" />
-<glyph unicode="3" d="M70 344v119h213v-133q0 -142 116 -142q58 0 87.5 36t29.5 126v113q0 98 -34.5 140t-112.5 42h-76v205h88q67 0 101 34.5t34 116.5v80q0 92 -29.5 128t-87.5 36q-116 0 -116 -141v-92h-213v78q0 173 86 266.5t250 93.5t249.5 -93.5t85.5 -266.5v-37q0 -230 -157 -295 q157 -68 157 -301v-113q0 -173 -85.5 -266.5t-249.5 -93.5t-250 93.5t-86 266.5z" />
-<glyph unicode="4" d="M29 260v205l409 969h246v-969h107v-205h-107v-260h-225v260h-430zM236 465h223v530z" />
-<glyph unicode="5" d="M72 344v119h213v-133q0 -140 116 -140q117 0 117 140v315q0 141 -117 141q-116 0 -116 -141v-43h-213l41 832h594v-205h-392l-18 -342q63 104 197 104q124 0 186.5 -83.5t62.5 -243.5v-320q0 -173 -85.5 -266.5t-249.5 -93.5t-250 93.5t-86 266.5z" />
-<glyph unicode="6" d="M68 344v733q0 373 344 373q164 0 250 -93.5t86 -266.5v-37h-213v51q0 141 -117 141q-64 0 -94.5 -39t-30.5 -137v-262q60 127 209 127q124 0 187 -84t63 -244v-262q0 -172 -88.5 -266t-253.5 -94t-253.5 94t-88.5 266zM293 330q0 -140 117 -140q116 0 116 140v258 q0 141 -116 141q-117 0 -117 -141v-258z" />
-<glyph unicode="7" d="M68 1229v205h675v-197l-331 -1237h-226l330 1229h-448z" />
-<glyph unicode="8" d="M53 344v113q0 220 140 299q-140 76 -140 288v46q0 172 91.5 266t261.5 94t261 -94t91 -266v-46q0 -210 -140 -288q140 -79 140 -299v-113q0 -172 -91 -266t-261 -94t-261.5 94t-91.5 266zM279 350q0 -89 33.5 -125.5t93.5 -36.5q59 0 92 36t34 126v133q0 162 -126 162 q-127 0 -127 -162v-133zM279 1001q0 -151 127 -151q126 0 126 151v80q0 91 -33 127.5t-93 36.5t-93.5 -37t-33.5 -127v-80z" />
-<glyph unicode="9" d="M59 827v263q0 172 88.5 266t253.5 94t253.5 -94t88.5 -266v-734q0 -372 -344 -372q-164 0 -250 93.5t-86 266.5v37h213v-51q0 -142 117 -142q63 0 94 39.5t31 137.5v262q-60 -127 -209 -127q-124 0 -187 84t-63 243zM285 846q0 -141 116 -141q117 0 117 141v258 q0 139 -117 139q-116 0 -116 -139v-258z" />
-<glyph unicode=":" horiz-adv-x="380" d="M82 0v217h217v-217h-217zM82 780v217h217v-217h-217z" />
-<glyph unicode=";" horiz-adv-x="380" d="M82 0v217h217v-194l-98 -228h-92l59 205h-86zM82 780v217h217v-217h-217z" />
-<glyph unicode="<" d="M61 637v160l668 245v-161l-459 -164l459 -164v-162z" />
-<glyph unicode="=" d="M72 471v160h667v-160h-667zM72 803v160h667v-160h-667z" />
-<glyph unicode=">" d="M82 391v162l459 164l-459 164v161l668 -245v-160z" />
-<glyph unicode="?" horiz-adv-x="737" d="M41 948v142q0 173 84.5 266.5t247.5 93.5t247.5 -93.5t84.5 -266.5q0 -76 -14.5 -141.5t-38.5 -113.5t-52 -91t-56.5 -82t-52.5 -77.5t-38.5 -86.5t-14.5 -101q0 -44 8 -80h-200q-13 41 -13 89q0 86 25.5 157t61.5 123.5t72 106.5t61.5 133.5t25.5 177.5q0 74 -28 107.5 t-84 33.5q-113 0 -113 -141v-156h-213zM236 0v217h217v-217h-217z" />
-<glyph unicode="@" horiz-adv-x="1411" d="M49 594q0 153 29.5 290t91 253t150 200t213 131.5t272.5 47.5q126 0 224.5 -31t162.5 -85t105.5 -131.5t59 -164.5t17.5 -191q0 -145 -26.5 -261t-68 -187.5t-96 -119t-106 -66.5t-102.5 -19q-169 0 -180 135q-63 -129 -199 -123q-106 3 -152.5 84t-31.5 232l22 207 q15 151 79 229t171 74q126 -3 168 -127l12 119h197l-62 -592q-6 -52 41 -52q41 0 73.5 42.5t51.5 111.5t29 148t10 161q0 201 -100.5 316.5t-306.5 115.5q-270 0 -412.5 -200.5t-142.5 -556.5q0 -254 119 -394.5t358 -140.5q123 0 223 30t201 109l-17 -196 q-96 -64 -196.5 -89.5t-222.5 -25.5q-169 0 -296.5 52t-206 148t-117 225.5t-38.5 291.5zM610 598q-14 -132 88 -135q48 -2 78 29.5t37 99.5l21 194q6 57 -19.5 86t-69.5 29q-49 2 -79 -29t-37 -100z" />
-<glyph unicode="A" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM297 455h217l-108 725z" />
-<glyph unicode="B" horiz-adv-x="831" d="M82 0v1434h340q173 0 253.5 -81t80.5 -249v-51q0 -220 -146 -289q168 -65 168 -307v-117q0 -166 -87 -253t-255 -87h-354zM307 205h129q59 0 88 32t29 109v125q0 98 -33.5 136t-111.5 38h-101v-440zM307 850h88q67 0 101 34.5t34 116.5v80q0 77 -27 112.5t-87 35.5h-109 v-379z" />
-<glyph unicode="C" horiz-adv-x="790" d="M63 344v746q0 173 86 266.5t250 93.5t250 -93.5t86 -266.5v-140h-213v154q0 141 -116 141q-117 0 -117 -141v-774q0 -140 117 -140q116 0 116 140v205h213v-191q0 -173 -86 -266.5t-250 -93.5t-250 93.5t-86 266.5z" />
-<glyph unicode="D" horiz-adv-x="835" d="M82 0v1434h356q167 0 251.5 -91t84.5 -264v-725q0 -173 -84.5 -263.5t-251.5 -90.5h-356zM307 205h127q56 0 85.5 32.5t29.5 106.5v746q0 74 -29.5 106.5t-85.5 32.5h-127v-1024z" />
-<glyph unicode="E" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614z" />
-<glyph unicode="F" horiz-adv-x="704" d="M82 0v1434h596v-205h-371v-432h291v-205h-291v-592h-225z" />
-<glyph unicode="G" horiz-adv-x="798" d="M63 344v746q0 173 86 266.5t250 93.5t250 -93.5t86 -266.5v-140h-213v154q0 141 -116 141q-117 0 -117 -141v-774q0 -140 117 -140q116 0 116 140v264h-102v205h315v-455q0 -173 -86 -266.5t-250 -93.5t-250 93.5t-86 266.5z" />
-<glyph unicode="H" horiz-adv-x="874" d="M82 0v1434h225v-615h256v615h230v-1434h-230v614h-256v-614h-225z" />
-<glyph unicode="I" horiz-adv-x="389" d="M82 0v1434h225v-1434h-225z" />
-<glyph unicode="J" horiz-adv-x="524" d="M20 0v205q25 -2 78 -2q61 0 95 30t34 107v1094h226v-1078q0 -360 -324 -360q-72 0 -109 4z" />
-<glyph unicode="K" horiz-adv-x="847" d="M82 0v1434h225v-625l295 625h225l-313 -639l313 -795h-231l-219 571l-70 -131v-440h-225z" />
-<glyph unicode="L" horiz-adv-x="694" d="M82 0v1434h225v-1229h371v-205h-596z" />
-<glyph unicode="M" horiz-adv-x="1107" d="M80 0v1434h313l166 -1018l154 1018h313v-1434h-213v1028l-156 -1028h-213l-168 1014v-1014h-196z" />
-<glyph unicode="N" horiz-adv-x="874" d="M80 0v1434h282l232 -859v859h201v-1434h-232l-280 1038v-1038h-203z" />
-<glyph unicode="O" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="P" horiz-adv-x="772" d="M82 0v1434h332q167 0 251.5 -91t84.5 -264v-186q0 -173 -84.5 -263.5t-251.5 -90.5h-107v-539h-225zM307 743h107q56 0 83 31t27 105v215q0 74 -27 104.5t-83 30.5h-107v-486z" />
-<glyph unicode="Q" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -122 -43 -201q7 -19 20 -24.5t43 -5.5h20v-201h-30q-145 0 -195 98q-73 -26 -157 -26q-165 0 -254 94t-89 266zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="R" horiz-adv-x="823" d="M82 0v1434h340q173 0 253.5 -81t80.5 -249v-113q0 -221 -148 -291q81 -34 115.5 -110t34.5 -195v-221q0 -119 24 -174h-229q-8 25 -11 37.5t-6.5 48t-3.5 90.5v225q0 99 -35 141t-112 42h-78v-584h-225zM307 788h88q67 0 101 34.5t34 117.5v141q0 77 -27 112.5t-87 35.5 h-109v-441z" />
-<glyph unicode="S" horiz-adv-x="765" d="M47 344v88h213v-102q0 -140 117 -140t117 140q0 60 -24.5 113t-63 95.5t-85.5 85t-94.5 89t-86 98.5t-63 124t-24.5 155q0 173 84.5 266.5t247.5 93.5t247.5 -93.5t84.5 -266.5v-46h-213v60q0 141 -113 141q-56 0 -84 -33.5t-28 -107.5q0 -60 24.5 -113t63 -95.5 t85.5 -85t94 -89t85.5 -98.5t63 -124t24.5 -155q0 -173 -86 -266.5t-250 -93.5t-250 93.5t-86 266.5z" />
-<glyph unicode="T" horiz-adv-x="729" d="M16 1229v205h697v-205h-236v-1229h-225v1229h-236z" />
-<glyph unicode="U" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -140 117 -140q116 0 116 140v1106h213v-1092q0 -173 -85.5 -266.5t-249.5 -93.5t-250 93.5t-86 266.5z" />
-<glyph unicode="V" horiz-adv-x="823" d="M23 1434h227l172 -1170l172 1170h207l-221 -1434h-336z" />
-<glyph unicode="W" horiz-adv-x="1153" d="M31 1434h219l121 -1131l108 1131h217l113 -1139l117 1139h196l-159 -1434h-299l-82 764l-82 -764h-310z" />
-<glyph unicode="X" horiz-adv-x="880" d="M31 0l252 737l-236 697h234l170 -529l174 529h209l-236 -697l252 -737h-238l-184 567l-186 -567h-211z" />
-<glyph unicode="Y" d="M8 1434h236l172 -654l172 654h215l-285 -959v-475h-225v475z" />
-<glyph unicode="Z" horiz-adv-x="757" d="M47 0v201l428 1028h-407v205h639v-201l-428 -1028h428v-205h-660z" />
-<glyph unicode="[" horiz-adv-x="514" d="M96 0v1434h373v-185h-147v-1065h147v-184h-373z" />
-<glyph unicode="\" horiz-adv-x="780" d="M10 1434h195l565 -1434h-195z" />
-<glyph unicode="]" horiz-adv-x="514" d="M45 0v184h148v1065h-148v185h373v-1434h-373z" />
-<glyph unicode="^" d="M41 799l285 635h159l285 -635h-180l-184 430l-185 -430h-180z" />
-<glyph unicode="_" horiz-adv-x="1024" d="M0 -20h1024v-164h-1024v164z" />
-<glyph unicode="`" horiz-adv-x="512" d="M90 1737h232l139 -228h-162z" />
-<glyph unicode="a" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM297 455h217l-108 725z" />
-<glyph unicode="b" horiz-adv-x="831" d="M82 0v1434h340q173 0 253.5 -81t80.5 -249v-51q0 -220 -146 -289q168 -65 168 -307v-117q0 -166 -87 -253t-255 -87h-354zM307 205h129q59 0 88 32t29 109v125q0 98 -33.5 136t-111.5 38h-101v-440zM307 850h88q67 0 101 34.5t34 116.5v80q0 77 -27 112.5t-87 35.5h-109 v-379z" />
-<glyph unicode="c" horiz-adv-x="790" d="M63 344v746q0 173 86 266.5t250 93.5t250 -93.5t86 -266.5v-140h-213v154q0 141 -116 141q-117 0 -117 -141v-774q0 -140 117 -140q116 0 116 140v205h213v-191q0 -173 -86 -266.5t-250 -93.5t-250 93.5t-86 266.5z" />
-<glyph unicode="d" horiz-adv-x="835" d="M82 0v1434h356q167 0 251.5 -91t84.5 -264v-725q0 -173 -84.5 -263.5t-251.5 -90.5h-356zM307 205h127q56 0 85.5 32.5t29.5 106.5v746q0 74 -29.5 106.5t-85.5 32.5h-127v-1024z" />
-<glyph unicode="e" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614z" />
-<glyph unicode="f" horiz-adv-x="704" d="M82 0v1434h596v-205h-371v-432h291v-205h-291v-592h-225z" />
-<glyph unicode="g" horiz-adv-x="798" d="M63 344v746q0 173 86 266.5t250 93.5t250 -93.5t86 -266.5v-140h-213v154q0 141 -116 141q-117 0 -117 -141v-774q0 -140 117 -140q116 0 116 140v264h-102v205h315v-455q0 -173 -86 -266.5t-250 -93.5t-250 93.5t-86 266.5z" />
-<glyph unicode="h" horiz-adv-x="874" d="M82 0v1434h225v-615h256v615h230v-1434h-230v614h-256v-614h-225z" />
-<glyph unicode="i" horiz-adv-x="389" d="M82 0v1434h225v-1434h-225z" />
-<glyph unicode="j" horiz-adv-x="524" d="M20 0v205q25 -2 78 -2q61 0 95 30t34 107v1094h226v-1078q0 -360 -324 -360q-72 0 -109 4z" />
-<glyph unicode="k" horiz-adv-x="847" d="M82 0v1434h225v-625l295 625h225l-313 -639l313 -795h-231l-219 571l-70 -131v-440h-225z" />
-<glyph unicode="l" horiz-adv-x="694" d="M82 0v1434h225v-1229h371v-205h-596z" />
-<glyph unicode="m" horiz-adv-x="1107" d="M80 0v1434h313l166 -1018l154 1018h313v-1434h-213v1028l-156 -1028h-213l-168 1014v-1014h-196z" />
-<glyph unicode="n" horiz-adv-x="874" d="M80 0v1434h282l232 -859v859h201v-1434h-232l-280 1038v-1038h-203z" />
-<glyph unicode="o" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="p" horiz-adv-x="772" d="M82 0v1434h332q167 0 251.5 -91t84.5 -264v-186q0 -173 -84.5 -263.5t-251.5 -90.5h-107v-539h-225zM307 743h107q56 0 83 31t27 105v215q0 74 -27 104.5t-83 30.5h-107v-486z" />
-<glyph unicode="q" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -122 -43 -201q7 -19 20 -24.5t43 -5.5h20v-201h-30q-145 0 -195 98q-73 -26 -157 -26q-165 0 -254 94t-89 266zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="r" horiz-adv-x="823" d="M82 0v1434h340q173 0 253.5 -81t80.5 -249v-113q0 -221 -148 -291q81 -34 115.5 -110t34.5 -195v-221q0 -119 24 -174h-229q-8 25 -11 37.5t-6.5 48t-3.5 90.5v225q0 99 -35 141t-112 42h-78v-584h-225zM307 788h88q67 0 101 34.5t34 117.5v141q0 77 -27 112.5t-87 35.5 h-109v-441z" />
-<glyph unicode="s" horiz-adv-x="765" d="M47 344v88h213v-102q0 -140 117 -140t117 140q0 60 -24.5 113t-63 95.5t-85.5 85t-94.5 89t-86 98.5t-63 124t-24.5 155q0 173 84.5 266.5t247.5 93.5t247.5 -93.5t84.5 -266.5v-46h-213v60q0 141 -113 141q-56 0 -84 -33.5t-28 -107.5q0 -60 24.5 -113t63 -95.5 t85.5 -85t94 -89t85.5 -98.5t63 -124t24.5 -155q0 -173 -86 -266.5t-250 -93.5t-250 93.5t-86 266.5z" />
-<glyph unicode="t" horiz-adv-x="729" d="M16 1229v205h697v-205h-236v-1229h-225v1229h-236z" />
-<glyph unicode="u" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -140 117 -140q116 0 116 140v1106h213v-1092q0 -173 -85.5 -266.5t-249.5 -93.5t-250 93.5t-86 266.5z" />
-<glyph unicode="v" horiz-adv-x="823" d="M23 1434h227l172 -1170l172 1170h207l-221 -1434h-336z" />
-<glyph unicode="w" horiz-adv-x="1153" d="M31 1434h219l121 -1131l108 1131h217l113 -1139l117 1139h196l-159 -1434h-299l-82 764l-82 -764h-310z" />
-<glyph unicode="x" horiz-adv-x="880" d="M31 0l252 737l-236 697h234l170 -529l174 529h209l-236 -697l252 -737h-238l-184 567l-186 -567h-211z" />
-<glyph unicode="y" d="M8 1434h236l172 -654l172 654h215l-285 -959v-475h-225v475z" />
-<glyph unicode="z" horiz-adv-x="757" d="M47 0v201l428 1028h-407v205h639v-201l-428 -1028h428v-205h-660z" />
-<glyph unicode="{" horiz-adv-x="526" d="M23 625v184q63 0 85 25.5t27 97.5l17 274q7 113 67.5 170.5t159.5 57.5h115v-185h-33q-55 0 -80 -31t-29 -114l-10 -205q-8 -150 -133 -182q125 -32 133 -182l10 -205q4 -83 29 -114.5t80 -31.5h33v-184h-115q-99 0 -159.5 57t-67.5 170l-17 275q-5 72 -27 97.5t-85 25.5 z" />
-<glyph unicode="|" horiz-adv-x="1024" d="M430 -133v1700h184v-1700h-184z" />
-<glyph unicode="}" horiz-adv-x="526" d="M33 0v184h33q55 0 79.5 31.5t28.5 114.5l10 205q8 150 133 182q-125 32 -133 182l-10 205q-4 83 -28.5 114t-79.5 31h-33v185h114q99 0 160 -57.5t68 -170.5l16 -274q5 -72 27.5 -97.5t85.5 -25.5v-184q-63 0 -85.5 -25.5t-27.5 -97.5l-16 -275q-7 -113 -68 -170 t-160 -57h-114z" />
-<glyph unicode="~" d="M16 680q70 104 126 144t118 40q37 0 80.5 -19.5t75.5 -43t70.5 -43t66.5 -19.5q34 0 59.5 23.5t75.5 93.5l107 -111q-69 -102 -124.5 -139t-119.5 -37q-37 0 -80.5 19.5t-75.5 43t-70.5 43t-66.5 19.5q-34 0 -60.5 -23.5t-74.5 -92.5z" />
-<glyph unicode="¡" horiz-adv-x="389" d="M82 0v598l29 518h168l28 -518v-598h-225zM86 1217v217h217v-217h-217z" />
-<glyph unicode="¢" d="M74 426v582q0 145 60.5 234.5t178.5 115.5v106h185v-104q247 -50 247 -352v-99h-213v113q0 141 -116 141q-117 0 -117 -141v-610q0 -140 117 -140q116 0 116 140v163h213v-149q0 -149 -62.5 -239t-184.5 -113v-105h-185v107q-118 25 -178.5 114t-60.5 236z" />
-<glyph unicode="£" d="M61 0v197q82 0 137 63t58 170h-166v174h137q-14 39 -42.5 99t-49 104.5t-37 120t-16.5 162.5q0 173 84.5 266.5t247.5 93.5t247 -93.5t84 -266.5v-142h-213v156q0 74 -28 107.5t-84 33.5q-113 0 -113 -141q0 -88 16.5 -164.5t37 -122.5t46 -106t37.5 -107h248v-174h-233 q-14 -144 -115 -225h387v-205h-670z" />
-<glyph unicode="¥" d="M14 1434h236l166 -633l166 633h215l-262 -879h170v-113h-187v-92h187v-112h-187v-238h-225v238h-187v112h187v92h-187v113h168z" />
-<glyph unicode="¦" horiz-adv-x="1024" d="M430 -133v727h184v-727h-184zM430 840v727h184v-727h-184z" />
-<glyph unicode="§" d="M72 643q0 80 36 145.5t105 104.5q-66 43 -103.5 105.5t-37.5 160.5q0 128 86 209.5t245 81.5q160 0 246 -76t86 -203v-73h-213v43q0 56 -29.5 89.5t-82.5 33.5q-54 0 -83.5 -30t-29.5 -85q0 -34 24.5 -60.5t63 -46t85.5 -40t94 -48.5t85.5 -64.5t63 -96.5t24.5 -136 q0 -79 -37 -145.5t-106 -105.5q143 -88 143 -265q0 -128 -86 -209.5t-245 -81.5q-160 0 -246 76t-86 203v102h213v-71q0 -56 29.5 -89.5t82.5 -33.5q54 0 83.5 30t29.5 85q0 34 -24.5 60.5t-63 46t-85.5 39.5t-94 48t-85.5 64.5t-63 96.5t-24.5 136zM287 651q0 -56 32 -91.5 t93 -65.5q50 7 80 51.5t30 103.5q0 55 -32.5 90.5t-94.5 65.5q-50 -7 -79 -51t-29 -103z" />
-<glyph unicode="¨" horiz-adv-x="512" d="M2 1509v197h197v-197h-197zM313 1509v197h197v-197h-197z" />
-<glyph unicode="©" horiz-adv-x="1507" d="M41 717q0 157 54.5 294t149.5 233t227 151t282 55t282 -55t226.5 -151.5t149 -233t54.5 -293.5t-54.5 -293.5t-149 -233t-226.5 -151.5t-282 -55t-282 55t-227 151t-149.5 233t-54.5 294zM188 717q0 -168 73.5 -303.5t203 -211t289.5 -75.5t289 75.5t202.5 211 t73.5 303.5t-73.5 303.5t-202.5 211t-289 75.5t-289.5 -75.5t-203 -211t-73.5 -303.5zM514 516v397q0 124 58 189t173 65t173.5 -65t58.5 -189v-73h-148v86q0 98 -79 98q-80 0 -80 -98v-418q0 -96 80 -96q79 0 79 96v123h148v-115q0 -121 -59 -185.5t-173 -64.5t-172.5 64.5 t-58.5 185.5z" />
-<glyph unicode="ª" horiz-adv-x="569" d="M61 446v142h435v-142h-435zM61 879v8q0 137 75.5 194t215.5 62v94q0 76 -57 76q-35 0 -52.5 -20t-17.5 -68v-47h-135v39q0 109 53.5 168t157.5 59q195 0 195 -227v-535h-121l-8 98q-35 -108 -146 -108q-160 0 -160 207zM205 891q0 -88 74 -88q68 0 73 74v159 q-147 -7 -147 -127v-18z" />
-<glyph unicode="«" horiz-adv-x="727" d="M33 719l127 526h202l-124 -526l124 -559h-202zM365 719l127 526h202l-125 -526l125 -559h-202z" />
-<glyph unicode="¬" d="M51 637v160h709v-441h-160v281h-549z" />
-<glyph unicode="­" horiz-adv-x="552" d="M72 614v205h409v-205h-409z" />
-<glyph unicode="®" horiz-adv-x="1507" d="M41 717q0 157 54.5 294t149.5 233t227 151t282 55t282 -55t226.5 -151.5t149 -233t54.5 -293.5t-54.5 -293.5t-149 -233t-226.5 -151.5t-282 -55t-282 55t-227 151t-149.5 233t-54.5 294zM188 717q0 -168 73.5 -303.5t203 -211t289.5 -75.5t289 75.5t202.5 211 t73.5 303.5t-73.5 303.5t-202.5 211t-289 75.5t-289.5 -75.5t-203 -211t-73.5 -303.5zM528 279v876h238q119 0 175 -56.5t56 -172.5v-19q0 -155 -106 -202q57 -24 81.5 -76.5t24.5 -134.5v-95q0 -76 19 -120h-160q-14 38 -14 122v95q0 69 -25 98t-80 29h-53v-344h-156z M684 766h64q46 0 70 23.5t24 80.5v37q0 54 -20 79.5t-64 25.5h-74v-246z" />
-<glyph unicode="¯" horiz-adv-x="512" d="M20 1518v159h472v-159h-472z" />
-<glyph unicode="°" horiz-adv-x="466" d="M31 1247q0 85 58.5 144t143.5 59t144 -59t59 -144t-59 -144t-144 -59t-143.5 59t-58.5 144zM133 1247q0 -41 29.5 -70.5t70.5 -29.5t71 29.5t30 70.5t-30 71t-71 30t-70.5 -30t-29.5 -71z" />
-<glyph unicode="±" d="M72 356v160h254v164h-254v160h254v233h159v-233h254v-160h-254v-164h254v-160h-667z" />
-<glyph unicode="²" horiz-adv-x="573" d="M86 719v110q0 54 15.5 101.5t40.5 84t55 71t60.5 68.5t55.5 70.5t40.5 84t15.5 100.5q0 57 -19 79.5t-55 22.5q-74 0 -74 -90v-96h-135v88q0 110 54 168.5t159 58.5t159 -58.5t54 -168.5q0 -83 -32 -157t-76 -126t-87.5 -98.5t-69.5 -93t-18 -90.5h271v-129h-414z" />
-<glyph unicode="³" horiz-adv-x="573" d="M74 938v74h135v-84q0 -90 74 -90q36 0 54.5 23t18.5 81v70q0 63 -21.5 88.5t-70.5 25.5h-49v129h55q86 0 86 99v51q0 58 -18.5 81t-54.5 23q-74 0 -74 -90v-57h-135v47q0 111 54 170t159 59t159 -59t54 -170v-23q0 -144 -101 -186q101 -43 101 -190v-72q0 -111 -54 -170 t-159 -59t-159 59t-54 170z" />
-<glyph unicode="´" horiz-adv-x="512" d="M55 1509l140 228h221l-209 -228h-152z" />
-<glyph unicode="¶" d="M29 893v186q0 173 84.5 264t251.5 91h364v-1567h-164v1403h-110v-1403h-164l4 676q-126 0 -196 96t-70 254z" />
-<glyph unicode="·" horiz-adv-x="380" d="M82 608v217h217v-217h-217z" />
-<glyph unicode="¸" horiz-adv-x="512" d="M53 -162h152v-16q0 -41 45 -41q51 0 51 49q0 29 -18 41t-56 12h-20v146h98v-109q78 0 115 -22t37 -74q0 -40 -14.5 -66t-44.5 -38.5t-63.5 -16.5t-84.5 -4q-94 0 -145.5 26.5t-51.5 92.5v20z" />
-<glyph unicode="¹" horiz-adv-x="409" d="M51 1413v100q40 0 67.5 8.5t45.5 27.5t26.5 34.5t20.5 44.5h94v-909h-143v694h-111z" />
-<glyph unicode="º" horiz-adv-x="573" d="M70 446v142h434v-142h-434zM70 899v318q0 108 56 167.5t161 59.5t161 -59.5t56 -167.5v-318q0 -108 -56 -167.5t-161 -59.5t-161 59.5t-56 167.5zM213 891q0 -48 18.5 -68t55.5 -20q73 0 73 88v334q0 88 -73 88q-37 0 -55.5 -20t-18.5 -68v-334z" />
-<glyph unicode="»" horiz-adv-x="727" d="M33 160l125 559l-125 526h203l126 -526l-126 -559h-203zM365 160l124 559l-124 526h202l127 -526l-127 -559h-202z" />
-<glyph unicode="¼" horiz-adv-x="1284" d="M133 1219v100q40 0 67.5 8.5t45.5 27.5t26.5 34.5t20.5 44.5h94v-910h-143v695h-111zM328 0l565 1434h133l-565 -1434h-133zM760 164v131l260 614h156v-614h67v-131h-67v-164h-142v164h-274zM889 295h145v336z" />
-<glyph unicode="½" horiz-adv-x="1284" d="M133 1219v100q40 0 67.5 8.5t45.5 27.5t26.5 34.5t20.5 44.5h94v-910h-143v695h-111zM266 0l565 1434h134l-566 -1434h-133zM797 0v111q0 62 21 117t52 93t68 80.5t68 80t52 92t21 116.5q0 57 -18.5 80t-54.5 23q-74 0 -74 -91v-96h-135v88q0 110 54 169t159 59t159 -59 t54 -169q0 -83 -32 -157t-76 -126t-87.5 -98.5t-69.5 -93t-18 -90.5h270v-129h-413z" />
-<glyph unicode="¾" horiz-adv-x="1284" d="M74 743v74h135v-84q0 -90 74 -90q36 0 54.5 23.5t18.5 81.5v69q0 63 -22 89t-70 26h-49v129h55q86 0 86 98v51q0 58 -18.5 81.5t-54.5 23.5q-74 0 -74 -90v-58h-135v47q0 111 54 170.5t159 59.5t159 -59.5t54 -170.5v-22q0 -144 -101 -186q101 -43 101 -191v-72 q0 -111 -54 -170t-159 -59t-159 59t-54 170zM348 0l565 1434h134l-566 -1434h-133zM760 164v131l260 614h156v-614h67v-131h-67v-164h-142v164h-274zM889 295h145v336z" />
-<glyph unicode="¿" horiz-adv-x="737" d="M33 344q0 103 27.5 188.5t66.5 142.5t78 109.5t66.5 116.5t27.5 135q0 44 -8 80h201q12 -38 12 -88q0 -86 -25.5 -157t-61.5 -123.5t-72 -106.5t-61.5 -133.5t-25.5 -177.5q0 -142 113 -142q112 0 112 142v155h213v-141q0 -173 -84 -266.5t-247 -93.5t-247.5 93.5 t-84.5 266.5zM285 1217v217h217v-217h-217z" />
-<glyph unicode="À" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM170 1737h231l140 -228h-162zM297 455h217l-108 725z" />
-<glyph unicode="Á" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM297 455h217l-108 725zM297 1509l139 228h221l-208 -228h-152z" />
-<glyph unicode="Â" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM133 1509l182 228h203l182 -228h-192l-92 113l-90 -113h-193zM297 455h217l-108 725z" />
-<glyph unicode="Ã" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM139 1577q52 139 174 139q46 0 102 -25.5t83 -25.5q31 0 51 11.5t37 47.5l108 -75q-52 -140 -174 -140q-46 0 -101.5 26t-82.5 26q-31 0 -50.5 -12t-37.5 -48zM297 455h217l-108 725z" />
-<glyph unicode="Ä" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM162 1509v197h196v-197h-196zM297 455h217l-108 725zM473 1509v197h197v-197h-197z" />
-<glyph unicode="Å" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM252 1667q0 69 47.5 116.5t116.5 47.5t116.5 -47.5t47.5 -116.5t-47.5 -116.5t-116.5 -47.5t-116.5 47.5t-47.5 116.5zM297 455h217l-108 725zM354 1667q0 -26 18 -43.5t44 -17.5t43.5 17.5t17.5 43.5 t-17.5 44t-43.5 18t-44 -18t-18 -44z" />
-<glyph unicode="Æ" horiz-adv-x="1187" d="M8 0l383 1434h739v-205h-389v-400h310v-204h-310v-420h389v-205h-614v260h-227l-66 -260h-215zM340 455h176v690z" />
-<glyph unicode="Ç" horiz-adv-x="790" d="M63 344v746q0 173 86 266.5t250 93.5t250 -93.5t86 -266.5v-140h-213v154q0 141 -116 141q-117 0 -117 -141v-774q0 -140 117 -140q116 0 116 140v205h213v-191q0 -161 -74.5 -253.5t-216.5 -104.5v-66q78 0 115 -22t37 -74q0 -40 -14.5 -66t-44.5 -38.5t-63.5 -16.5 t-84.5 -4q-93 0 -144.5 26.5t-51.5 92.5v20h151v-16q0 -41 45 -41q51 0 51 49q0 29 -17.5 41t-55.5 12h-21v105q-139 13 -211 105t-72 251z" />
-<glyph unicode="È" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM139 1737h232l139 -228h-162z" />
-<glyph unicode="É" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM268 1509l140 228h221l-209 -228h-152z" />
-<glyph unicode="Ê" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM102 1509l183 228h202l183 -228h-193l-92 113l-90 -113h-193z" />
-<glyph unicode="Ë" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM133 1509v197h197v-197h-197zM444 1509v197h197v-197h-197z" />
-<glyph unicode="Ì" horiz-adv-x="389" d="M-51 1737h231l139 -228h-161zM82 0v1434h225v-1434h-225z" />
-<glyph unicode="Í" horiz-adv-x="389" d="M76 1509l139 228h221l-209 -228h-151zM82 0v1434h225v-1434h-225z" />
-<glyph unicode="Î" horiz-adv-x="389" d="M-88 1509l182 228h203l182 -228h-192l-92 113l-91 -113h-192zM82 0v1434h225v-1434h-225z" />
-<glyph unicode="Ï" horiz-adv-x="389" d="M-59 1509v197h196v-197h-196zM82 0v1434h225v-1434h-225zM252 1509v197h197v-197h-197z" />
-<glyph unicode="Ð" horiz-adv-x="835" d="M8 625v184h74v625h356q167 0 251.5 -91t84.5 -264v-725q0 -173 -84.5 -263.5t-251.5 -90.5h-356v625h-74zM307 205h127q56 0 85.5 32.5t29.5 106.5v746q0 74 -29.5 106.5t-85.5 32.5h-127v-420h139v-184h-139v-420z" />
-<glyph unicode="Ñ" horiz-adv-x="874" d="M80 0v1434h282l232 -859v859h201v-1434h-232l-280 1038v-1038h-203zM160 1577q52 139 174 139q46 0 101.5 -25.5t82.5 -25.5q31 0 51 11.5t37 47.5l109 -75q-53 -140 -174 -140q-46 0 -102 26t-83 26q-31 0 -50.5 -12t-37.5 -48z" />
-<glyph unicode="Ò" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM158 1737h231l139 -228h-161zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="Ó" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM287 1509l139 228h221l-209 -228h-151zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="Ô" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM121 1509l182 228h203l182 -228h-192l-93 113l-90 -113h-192zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="Õ" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM129 1577q52 139 174 139q46 0 101.5 -25.5t82.5 -25.5q31 0 51 11.5t37 47.5l109 -75q-52 -140 -174 -140q-46 0 -101.5 26t-82.5 26q-31 0 -50.5 -12 t-37.5 -48zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="Ö" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM152 1509v197h196v-197h-196zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774zM463 1509v197h196v-197h-196z" />
-<glyph unicode="×" d="M78 500l217 217l-215 215l108 108l218 -215l217 217l108 -108l-217 -217l217 -217l-108 -109l-217 217l-220 -217z" />
-<glyph unicode="Ø" d="M63 344v746q0 172 89 266t254 94q124 0 204 -53l41 112l76 -26l-53 -146q74 -89 74 -247v-746q0 -172 -88.5 -266t-253.5 -94q-128 0 -205 51l-41 -111l-76 27l51 143q-72 93 -72 250zM289 514l229 633q-14 98 -112 98q-117 0 -117 -141v-590zM291 287q17 -99 115 -99 q116 0 116 142v590z" />
-<glyph unicode="Ù" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -140 117 -140q116 0 116 140v1106h213v-1092q0 -173 -85.5 -266.5t-249.5 -93.5t-250 93.5t-86 266.5zM162 1737h231l139 -228h-161z" />
-<glyph unicode="Ú" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -140 117 -140q116 0 116 140v1106h213v-1092q0 -173 -85.5 -266.5t-249.5 -93.5t-250 93.5t-86 266.5zM291 1509l139 228h221l-209 -228h-151z" />
-<glyph unicode="Û" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -140 117 -140q116 0 116 140v1106h213v-1092q0 -173 -85.5 -266.5t-249.5 -93.5t-250 93.5t-86 266.5zM127 1509l182 228h203l182 -228h-192l-92 113l-91 -113h-192z" />
-<glyph unicode="Ü" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -140 117 -140q116 0 116 140v1106h213v-1092q0 -173 -85.5 -266.5t-249.5 -93.5t-250 93.5t-86 266.5zM158 1509v197h196v-197h-196zM469 1509v197h197v-197h-197z" />
-<glyph unicode="Ý" d="M8 1434h236l172 -654l172 654h215l-285 -959v-475h-225v475zM295 1509l139 228h221l-209 -228h-151z" />
-<glyph unicode="Þ" horiz-adv-x="772" d="M82 0v1434h225v-164h107q167 0 251.5 -91t84.5 -264v-186q0 -173 -84.5 -263.5t-251.5 -90.5h-107v-375h-225zM307 580h107q56 0 83 30.5t27 104.5v215q0 74 -27 104.5t-83 30.5h-107v-485z" />
-<glyph unicode="ß" horiz-adv-x="1531" d="M47 344v88h213v-102q0 -140 117 -140t117 140q0 60 -24.5 113t-63 95.5t-85.5 85t-94.5 89t-86 98.5t-63 124t-24.5 155q0 173 84.5 266.5t247.5 93.5t247.5 -93.5t84.5 -266.5v-46h-213v60q0 141 -113 141q-56 0 -84 -33.5t-28 -107.5q0 -60 24.5 -113t63 -95.5 t85.5 -85t94 -89t85.5 -98.5t63 -124t24.5 -155q0 -173 -86 -266.5t-250 -93.5t-250 93.5t-86 266.5zM813 344v88h213v-102q0 -140 117 -140t117 140q0 60 -24.5 113t-63 95.5t-85.5 85t-94.5 89t-86 98.5t-63 124t-24.5 155q0 173 84.5 266.5t247.5 93.5t247.5 -93.5 t84.5 -266.5v-46h-213v60q0 141 -113 141t-113 -141q0 -60 24.5 -113t63 -95.5t85.5 -85t94.5 -89t86 -98.5t63 -124t24.5 -155q0 -173 -86 -266.5t-250 -93.5t-250 93.5t-86 266.5z" />
-<glyph unicode="à" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM170 1737h231l140 -228h-162zM297 455h217l-108 725z" />
-<glyph unicode="á" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM297 455h217l-108 725zM297 1509l139 228h221l-208 -228h-152z" />
-<glyph unicode="â" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM133 1509l182 228h203l182 -228h-192l-92 113l-90 -113h-193zM297 455h217l-108 725z" />
-<glyph unicode="ã" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM139 1577q52 139 174 139q46 0 102 -25.5t83 -25.5q31 0 51 11.5t37 47.5l108 -75q-52 -140 -174 -140q-46 0 -101.5 26t-82.5 26q-31 0 -50.5 -12t-37.5 -48zM297 455h217l-108 725z" />
-<glyph unicode="ä" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM162 1509v197h196v-197h-196zM297 455h217l-108 725zM473 1509v197h197v-197h-197z" />
-<glyph unicode="å" horiz-adv-x="833" d="M23 0l229 1434h330l229 -1434h-227l-39 260h-277l-39 -260h-206zM252 1667q0 69 47.5 116.5t116.5 47.5t116.5 -47.5t47.5 -116.5t-47.5 -116.5t-116.5 -47.5t-116.5 47.5t-47.5 116.5zM297 455h217l-108 725zM354 1667q0 -26 18 -43.5t44 -17.5t43.5 17.5t17.5 43.5 t-17.5 44t-43.5 18t-44 -18t-18 -44z" />
-<glyph unicode="æ" horiz-adv-x="1187" d="M8 0l383 1434h739v-205h-389v-400h310v-204h-310v-420h389v-205h-614v260h-227l-66 -260h-215zM340 455h176v690z" />
-<glyph unicode="ç" horiz-adv-x="790" d="M63 344v746q0 173 86 266.5t250 93.5t250 -93.5t86 -266.5v-140h-213v154q0 141 -116 141q-117 0 -117 -141v-774q0 -140 117 -140q116 0 116 140v205h213v-191q0 -161 -74.5 -253.5t-216.5 -104.5v-66q78 0 115 -22t37 -74q0 -40 -14.5 -66t-44.5 -38.5t-63.5 -16.5 t-84.5 -4q-93 0 -144.5 26.5t-51.5 92.5v20h151v-16q0 -41 45 -41q51 0 51 49q0 29 -17.5 41t-55.5 12h-21v105q-139 13 -211 105t-72 251z" />
-<glyph unicode="è" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM139 1737h232l139 -228h-162z" />
-<glyph unicode="é" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM268 1509l140 228h221l-209 -228h-152z" />
-<glyph unicode="ê" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM102 1509l183 228h202l183 -228h-193l-92 113l-90 -113h-193z" />
-<glyph unicode="ë" horiz-adv-x="753" d="M82 0v1434h614v-205h-389v-400h309v-204h-309v-420h389v-205h-614zM133 1509v197h197v-197h-197zM444 1509v197h197v-197h-197z" />
-<glyph unicode="ì" horiz-adv-x="389" d="M-51 1737h231l139 -228h-161zM82 0v1434h225v-1434h-225z" />
-<glyph unicode="í" horiz-adv-x="389" d="M76 1509l139 228h221l-209 -228h-151zM82 0v1434h225v-1434h-225z" />
-<glyph unicode="î" horiz-adv-x="389" d="M-88 1509l182 228h203l182 -228h-192l-92 113l-91 -113h-192zM82 0v1434h225v-1434h-225z" />
-<glyph unicode="ï" horiz-adv-x="389" d="M-59 1509v197h196v-197h-196zM82 0v1434h225v-1434h-225zM252 1509v197h197v-197h-197z" />
-<glyph unicode="ð" horiz-adv-x="835" d="M8 625v184h74v625h356q167 0 251.5 -91t84.5 -264v-725q0 -173 -84.5 -263.5t-251.5 -90.5h-356v625h-74zM307 205h127q56 0 85.5 32.5t29.5 106.5v746q0 74 -29.5 106.5t-85.5 32.5h-127v-420h139v-184h-139v-420z" />
-<glyph unicode="ñ" horiz-adv-x="874" d="M80 0v1434h282l232 -859v859h201v-1434h-232l-280 1038v-1038h-203zM160 1577q52 139 174 139q46 0 101.5 -25.5t82.5 -25.5q31 0 51 11.5t37 47.5l109 -75q-53 -140 -174 -140q-46 0 -102 26t-83 26q-31 0 -50.5 -12t-37.5 -48z" />
-<glyph unicode="ò" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM158 1737h231l139 -228h-161zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="ó" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM287 1509l139 228h221l-209 -228h-151zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="ô" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM121 1509l182 228h203l182 -228h-192l-93 113l-90 -113h-192zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="õ" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM129 1577q52 139 174 139q46 0 101.5 -25.5t82.5 -25.5q31 0 51 11.5t37 47.5l109 -75q-52 -140 -174 -140q-46 0 -101.5 26t-82.5 26q-31 0 -50.5 -12 t-37.5 -48zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774z" />
-<glyph unicode="ö" d="M63 344v746q0 172 89 266t254 94t253.5 -94t88.5 -266v-746q0 -172 -88.5 -266t-253.5 -94t-254 94t-89 266zM152 1509v197h196v-197h-196zM289 330q0 -142 117 -142q116 0 116 142v774q0 141 -116 141q-117 0 -117 -141v-774zM463 1509v197h196v-197h-196z" />
-<glyph unicode="÷" d="M51 637v160h709v-160h-709zM297 295v217h217v-217h-217zM297 920v217h217v-217h-217z" />
-<glyph unicode="ø" d="M63 344v746q0 172 89 266t254 94q124 0 204 -53l41 112l76 -26l-53 -146q74 -89 74 -247v-746q0 -172 -88.5 -266t-253.5 -94q-128 0 -205 51l-41 -111l-76 27l51 143q-72 93 -72 250zM289 514l229 633q-14 98 -112 98q-117 0 -117 -141v-590zM291 287q17 -99 115 -99 q116 0 116 142v590z" />
-<glyph unicode="ù" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -140 117 -140q116 0 116 140v1106h213v-1092q0 -173 -85.5 -266.5t-249.5 -93.5t-250 93.5t-86 266.5zM162 1737h231l139 -228h-161z" />
-<glyph unicode="ú" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -140 117 -140q116 0 116 140v1106h213v-1092q0 -173 -85.5 -266.5t-249.5 -93.5t-250 93.5t-86 266.5zM291 1509l139 228h221l-209 -228h-151z" />
-<glyph unicode="û" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -140 117 -140q116 0 116 140v1106h213v-1092q0 -173 -85.5 -266.5t-249.5 -93.5t-250 93.5t-86 266.5zM127 1509l182 228h203l182 -228h-192l-92 113l-91 -113h-192z" />
-<glyph unicode="ü" horiz-adv-x="815" d="M72 342v1092h225v-1106q0 -140 117 -140q116 0 116 140v1106h213v-1092q0 -173 -85.5 -266.5t-249.5 -93.5t-250 93.5t-86 266.5zM158 1509v197h196v-197h-196zM469 1509v197h197v-197h-197z" />
-<glyph unicode="ý" d="M8 1434h236l172 -654l172 654h215l-285 -959v-475h-225v475zM295 1509l139 228h221l-209 -228h-151z" />
-<glyph unicode="þ" horiz-adv-x="772" d="M82 0v1434h225v-164h107q167 0 251.5 -91t84.5 -264v-186q0 -173 -84.5 -263.5t-251.5 -90.5h-107v-375h-225zM307 580h107q56 0 83 30.5t27 104.5v215q0 74 -27 104.5t-83 30.5h-107v-485z" />
-<glyph unicode="ÿ" d="M8 1434h236l172 -654l172 654h215l-285 -959v-475h-225v475zM160 1509v197h196v-197h-196zM471 1509v197h197v-197h-197z" />
-<glyph unicode="Œ" horiz-adv-x="1200" d="M61 354v725q0 173 84.5 264t251.5 91h746v-205h-389v-400h309v-204h-309v-420h389v-205h-746q-167 0 -251.5 90.5t-84.5 263.5zM287 344q0 -74 29 -106.5t85 -32.5h127v1024h-127q-56 0 -85 -32.5t-29 -106.5v-746z" />
-<glyph unicode="œ" horiz-adv-x="1200" d="M61 354v725q0 173 84.5 264t251.5 91h746v-205h-389v-400h309v-204h-309v-420h389v-205h-746q-167 0 -251.5 90.5t-84.5 263.5zM287 344q0 -74 29 -106.5t85 -32.5h127v1024h-127q-56 0 -85 -32.5t-29 -106.5v-746z" />
-<glyph unicode="Ÿ" d="M8 1434h236l172 -654l172 654h215l-285 -959v-475h-225v475zM160 1509v197h196v-197h-196zM471 1509v197h197v-197h-197z" />
-<glyph unicode="ˆ" horiz-adv-x="512" d="M-27 1509l183 228h202l183 -228h-193l-92 113l-90 -113h-193z" />
-<glyph unicode="˜" horiz-adv-x="512" d="M-20 1577q52 139 174 139q46 0 101.5 -25.5t82.5 -25.5q31 0 51 11.5t37 47.5l109 -75q-53 -140 -175 -140q-46 0 -101.5 26t-82.5 26q-31 0 -50.5 -12t-37.5 -48z" />
-<glyph unicode=" " horiz-adv-x="915" />
-<glyph unicode=" " horiz-adv-x="1831" />
-<glyph unicode=" " horiz-adv-x="915" />
-<glyph unicode=" " horiz-adv-x="1831" />
-<glyph unicode=" " horiz-adv-x="610" />
-<glyph unicode=" " horiz-adv-x="457" />
-<glyph unicode=" " horiz-adv-x="305" />
-<glyph unicode=" " horiz-adv-x="305" />
-<glyph unicode=" " horiz-adv-x="228" />
-<glyph unicode=" " horiz-adv-x="366" />
-<glyph unicode=" " horiz-adv-x="101" />
-<glyph unicode="‐" horiz-adv-x="552" d="M72 614v205h409v-205h-409z" />
-<glyph unicode="‑" horiz-adv-x="552" d="M72 614v205h409v-205h-409z" />
-<glyph unicode="‒" horiz-adv-x="552" d="M72 614v205h409v-205h-409z" />
-<glyph unicode="–" horiz-adv-x="1024" d="M0 625v184h1024v-184h-1024z" />
-<glyph unicode="—" horiz-adv-x="2048" d="M0 625v184h2048v-184h-2048z" />
-<glyph unicode="‘" horiz-adv-x="380" d="M82 1012v194l98 228h92l-59 -205h86v-217h-217z" />
-<glyph unicode="’" horiz-adv-x="380" d="M82 1217v217h217v-195l-98 -227h-92l59 205h-86z" />
-<glyph unicode="‚" horiz-adv-x="380" d="M82 0v217h217v-194l-98 -228h-92l59 205h-86z" />
-<glyph unicode="“" horiz-adv-x="679" d="M82 1012v194l98 228h92l-59 -205h86v-217h-217zM381 1012v194l98 228h92l-59 -205h86v-217h-217z" />
-<glyph unicode="”" horiz-adv-x="679" d="M82 1217v217h217v-195l-98 -227h-92l59 205h-86zM381 1217v217h217v-195l-98 -227h-92l59 205h-86z" />
-<glyph unicode="„" horiz-adv-x="679" d="M82 0v217h217v-194l-98 -228h-92l59 205h-86zM381 0v217h217v-194l-98 -228h-92l59 205h-86z" />
-<glyph unicode="•" d="M121 717q0 118 83 201t202 83q118 0 201 -82.5t83 -201.5t-83 -202t-201 -83t-201.5 83t-83.5 202z" />
-<glyph unicode="…" horiz-adv-x="978" d="M82 0v217h217v-217h-217zM381 0v217h217v-217h-217zM680 0v217h217v-217h-217z" />
-<glyph unicode=" " horiz-adv-x="366" />
-<glyph unicode="‹" horiz-adv-x="401" d="M33 719l123 545h213l-121 -545l121 -578h-213z" />
-<glyph unicode="›" horiz-adv-x="401" d="M33 141l121 578l-121 545h213l123 -545l-123 -578h-213z" />
-<glyph unicode=" " horiz-adv-x="457" />
-<glyph unicode="€" d="M39 553v113h57v112h-57v113h57v199q0 174 83 267t247 93t247 -93t83 -267v-105h-213v119q0 75 -27.5 108t-83.5 33q-55 0 -82.5 -33t-27.5 -108v-213h315v-113h-315v-112h315v-113h-315v-223q0 -75 27 -107.5t83 -32.5t83.5 33t27.5 107v129h213v-115q0 -174 -83 -267 t-247 -93t-247 93t-83 267v209h-57z" />
-<glyph unicode="™" horiz-adv-x="1200" d="M20 1303v131h443v-131h-150v-598h-143v598h-150zM549 705v729h199l106 -512l96 512h199v-729h-135v518l-96 -518h-136l-108 514v-514h-125z" />
-<glyph unicode="" horiz-adv-x="1433" d="M0 0v1434h1434v-1434h-1434z" />
-</font>
-</defs></svg>
\ No newline at end of file
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/bebas/bebasneue-webfont.ttf has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/bebas/bebasneue-webfont.woff has changed
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/ie8fix.css Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-.timelineLight .item .read_more,
-.timelineLight .item_open .t_close,
-.timeline .item_open .t_close {
-
- /* transparent background */
- filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#44000000', endColorstr='#44000000');
-}
-
-.timelineLight .t_node_desc,
-.timeline .t_node_desc
- {
-
- /* IE transparent background */
- filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#cc1a86ac', endColorstr='#cc1a86ac');
-}
-
-.timelineLight .item {
-
- /* Shadow */
- zoom: 1;
- filter: progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=2, Direction=0),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=90),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=2, Direction=180),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=270);
-}
-.timelineLight .item_open {
-
- /* Shadow */
- zoom: 1;
- filter: progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=0),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=90),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=180),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=270);
-}
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/jquery.mCustomScrollbar.css Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,296 +0,0 @@
-/* basic scrollbar styling */
-/* vertical scrollbar */
-.mCSB_container{
- width:auto;
- margin-right:30px;
- overflow:hidden;
-}
-.mCSB_container.mCS_no_scrollbar{
- margin-right:0;
-}
-.mCustomScrollBox .mCSB_scrollTools{
- width:16px;
- height:100%;
- top:0;
- right:0;
-}
-.mCSB_scrollTools .mCSB_draggerContainer{
- height:100%;
- -webkit-box-sizing:border-box;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
-}
-.mCSB_scrollTools .mCSB_buttonUp+.mCSB_draggerContainer{
- padding-bottom:40px;
-}
-.mCSB_scrollTools .mCSB_draggerRail{
- width:2px;
- height:100%;
- margin:0 auto;
- -webkit-border-radius:10px;
- -moz-border-radius:10px;
- border-radius:10px;
-}
-.mCSB_scrollTools .mCSB_dragger{
- width:100%;
- height:30px;
-}
-.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
- width:4px;
- height:100%;
- margin:0 auto;
- -webkit-border-radius:10px;
- -moz-border-radius:10px;
- border-radius:10px;
- text-align:center;
-}
-.mCSB_scrollTools .mCSB_buttonUp,
-.mCSB_scrollTools .mCSB_buttonDown{
- height:20px;
- overflow:hidden;
- margin:0 auto;
- cursor:pointer;
-}
-.mCSB_scrollTools .mCSB_buttonDown{
- bottom:0;
- margin-top:-40px;
-}
-/* horizontal scrollbar */
-.mCSB_horizontal .mCSB_container{
- height:auto;
- margin-right:0;
- margin-bottom:30px;
- overflow:hidden;
-}
-.mCSB_horizontal .mCSB_container.mCS_no_scrollbar{
- margin-bottom:0;
-}
-.mCSB_horizontal.mCustomScrollBox .mCSB_scrollTools{
- width:100%;
- height:16px;
- top:auto;
- right:auto;
- bottom:0;
- left:0;
- overflow:hidden;
-}
-.mCSB_horizontal .mCSB_scrollTools .mCSB_draggerContainer{
- height:100%;
- width:auto;
- -webkit-box-sizing:border-box;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- overflow:hidden;
-}
-.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonLeft+.mCSB_draggerContainer{
- padding-bottom:0;
- padding-right:20px;
-}
-.mCSB_horizontal .mCSB_scrollTools .mCSB_draggerRail{
- width:100%;
- height:2px;
- margin:7px 0;
- -webkit-border-radius:10px;
- -moz-border-radius:10px;
- border-radius:10px;
-}
-.mCSB_horizontal .mCSB_scrollTools .mCSB_dragger{
- width:30px;
- height:100%;
-}
-.mCSB_horizontal .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
- width:100%;
- height:4px;
- margin:6px auto;
- -webkit-border-radius:10px;
- -moz-border-radius:10px;
- border-radius:10px;
-}
-.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonLeft,
-.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonRight{
- width:20px;
- height:100%;
- overflow:hidden;
- margin:0 auto;
- cursor:pointer;
- float:left;
-}
-.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonRight{
- right:0;
- bottom:auto;
- margin-left:-40px;
- margin-top:-16px;
- float:right;
-}
-
-/* default scrollbar colors and backgrounds */
-.mCustomScrollBox .mCSB_scrollTools{
- opacity:0.75;
-}
-.mCustomScrollBox:hover .mCSB_scrollTools{
- opacity:1;
-}
-.mCSB_scrollTools .mCSB_draggerRail{
- background:#000; /* rgba fallback */
- background:rgba(0,0,0,0.4);
- filter:"alpha(opacity=40)"; -ms-filter:"alpha(opacity=40)"; /* old ie */
-}
-.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
- background:#fff; /* rgba fallback */
- background:rgba(255,255,255,0.75);
- filter:"alpha(opacity=75)"; -ms-filter:"alpha(opacity=75)"; /* old ie */
-}
-.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
- background:rgba(255,255,255,0.85);
- filter:"alpha(opacity=85)"; -ms-filter:"alpha(opacity=85)"; /* old ie */
-}
-.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
-.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
- background:rgba(255,255,255,0.9);
- filter:"alpha(opacity=90)"; -ms-filter:"alpha(opacity=90)"; /* old ie */
-}
-.mCSB_scrollTools .mCSB_buttonUp,
-.mCSB_scrollTools .mCSB_buttonDown,
-.mCSB_scrollTools .mCSB_buttonLeft,
-.mCSB_scrollTools .mCSB_buttonRight{
- background-image:url(../mCSB_buttons.png);
- background-repeat:no-repeat;
- opacity:0.4;
- filter:"alpha(opacity=40)"; -ms-filter:"alpha(opacity=40)"; /* old ie */
-}
-.mCSB_scrollTools .mCSB_buttonUp{
- background-position:0 0;
-}
-.mCSB_scrollTools .mCSB_buttonDown{
- background-position:0 -20px;
-}
-.mCSB_scrollTools .mCSB_buttonLeft{
- background-position:0 -40px;
-}
-.mCSB_scrollTools .mCSB_buttonRight{
- background-position:0 -56px;
-}
-.mCSB_scrollTools .mCSB_buttonUp:hover,
-.mCSB_scrollTools .mCSB_buttonDown:hover,
-.mCSB_scrollTools .mCSB_buttonLeft:hover,
-.mCSB_scrollTools .mCSB_buttonRight:hover{
- opacity:0.75;
- filter:"alpha(opacity=75)"; -ms-filter:"alpha(opacity=75)"; /* old ie */
-}
-.mCSB_scrollTools .mCSB_buttonUp:active,
-.mCSB_scrollTools .mCSB_buttonDown:active,
-.mCSB_scrollTools .mCSB_buttonLeft:active,
-.mCSB_scrollTools .mCSB_buttonRight:active{
- opacity:0.9;
- filter:"alpha(opacity=90)"; -ms-filter:"alpha(opacity=90)"; /* old ie */
-}
-
-/* custom styling */
-/* content_1 scrollbar */
-.content_1 .mCustomScrollBox .mCSB_scrollTools{
- padding:5px 0;
- -webkit-box-sizing:border-box;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
-}
-/* content_2 scrollbar */
-.content_2 .mCSB_scrollTools .mCSB_draggerRail{
- width:6px;
- box-shadow:1px 1px 1px rgba(255,255,255,0.1);
-}
-.content_2 .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
- background:rgba(255,255,255,0.4);
- filter:"alpha(opacity=40)"; -ms-filter:"alpha(opacity=40)"; /* old ie */
-}
-.content_2 .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
- background:rgba(255,255,255,0.5);
- filter:"alpha(opacity=50)"; -ms-filter:"alpha(opacity=50)"; /* old ie */
-}
-.content_2 .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
-.content_2 .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
- background:rgba(255,255,255,0.6);
- filter:"alpha(opacity=60)"; -ms-filter:"alpha(opacity=60)"; /* old ie */
-}
-/* content_3 scrollbar */
-.content_3 .mCustomScrollBox .mCSB_scrollTools{
- padding:10px 0;
- -webkit-box-sizing:border-box;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
-}
-.content_3 .mCSB_scrollTools .mCSB_draggerRail{
- width:0;
- border-right:1px dashed #09C;
-}
-.content_3 .mCSB_scrollTools .mCSB_dragger{
- height:11px;
-}
-.content_3 .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
- width:11px;
- -webkit-border-radius:11px;
- -moz-border-radius:11px;
- border-radius:11px;
- background:#09C;
-}
-/* content_4 scrollbar */
-.content_4 .mCustomScrollBox .mCSB_scrollTools{
- padding:20px 0;
- -webkit-box-sizing:border-box;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
-}
-.content_4 .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
- width:8px;
- -webkit-border-radius:2px;
- -moz-border-radius:2px;
- border-radius:2px;
- background:#d0b9a0;
- -webkit-box-shadow:1px 1px 5px rgba(0,0,0,0.5);
- -moz-box-shadow:1px 1px 5px rgba(0,0,0,0.5);
- box-shadow:1px 1px 5px rgba(0,0,0,0.5);
-}
-.content_4 .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,
-.content_4 .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
- background:#dfcdb9;
-}
-.content_4 .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
-.content_4 .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
- -webkit-box-shadow:0 0 3px rgba(0,0,0,0.5);
- -moz-box-shadow:0 0 3px rgba(0,0,0,0.5);
- box-shadow:0 0 3px rgba(0,0,0,0.5);
-}
-/* content_5 scrollbar */
-.content_5 .mCustomScrollBox .mCSB_scrollTools{
- padding:0 5px;
- -webkit-box-sizing:border-box;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
-}
-.content_5 .mCSB_scrollTools .mCSB_draggerRail{
- background:#000; /* rgba fallback */
- background:rgba(0,0,0,0.2);
-}
-.content_5 .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
- height:2px;
- margin:7px auto;
- background:#000; /* rgba fallback */
- background:rgba(0,0,0,0.75);
-}
-.content_5 .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
- background:rgba(0,0,0,0.85);
-}
-.content_5 .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
- background:rgba(0,0,0,0.9);
-}
-.content_5 .mCSB_scrollTools .mCSB_buttonLeft{
- background-position:-100px -40px;
-}
-.content_5 .mCSB_scrollTools .mCSB_buttonRight{
- background-position:-100px -56px;
-}
-/* content_8 scrollbar */
-.content_8 .mCSB_scrollTools .mCSB_draggerRail{
- width:0px;
- border-left:1px solid rgba(0,0,0,0.8);
- border-right:1px solid rgba(255,255,255,0.2);
-}
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/prettyPhoto.css Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,170 +0,0 @@
-div.pp_default .pp_top,div.pp_default .pp_top .pp_middle,div.pp_default .pp_top .pp_left,div.pp_default .pp_top .pp_right,div.pp_default .pp_bottom,div.pp_default .pp_bottom .pp_left,div.pp_default .pp_bottom .pp_middle,div.pp_default .pp_bottom .pp_right{height:13px}
-div.pp_default .pp_top .pp_left{background:url(../../images/prettyPhoto/default/sprite.png) -78px -93px no-repeat}
-div.pp_default .pp_top .pp_middle{background:url(../../images/prettyPhoto/default/sprite_x.png) top left repeat-x}
-div.pp_default .pp_top .pp_right{background:url(../../images/prettyPhoto/default/sprite.png) -112px -93px no-repeat}
-div.pp_default .pp_content .ppt{color:#f8f8f8}
-div.pp_default .pp_content_container .pp_left{background:url(../../images/prettyPhoto/default/sprite_y.png) -7px 0 repeat-y;padding-left:13px}
-div.pp_default .pp_content_container .pp_right{background:url(../../images/prettyPhoto/default/sprite_y.png) top right repeat-y;padding-right:13px}
-div.pp_default .pp_next:hover{background:url(../../images/prettyPhoto/default/sprite_next.png) center right no-repeat;cursor:pointer}
-div.pp_default .pp_previous:hover{background:url(../../images/prettyPhoto/default/sprite_prev.png) center left no-repeat;cursor:pointer}
-div.pp_default .pp_expand{background:url(../../images/prettyPhoto/default/sprite.png) 0 -29px no-repeat;cursor:pointer;width:28px;height:28px}
-div.pp_default .pp_expand:hover{background:url(../../images/prettyPhoto/default/sprite.png) 0 -56px no-repeat;cursor:pointer}
-div.pp_default .pp_contract{background:url(../../images/prettyPhoto/default/sprite.png) 0 -84px no-repeat;cursor:pointer;width:28px;height:28px}
-div.pp_default .pp_contract:hover{background:url(../../images/prettyPhoto/default/sprite.png) 0 -113px no-repeat;cursor:pointer}
-div.pp_default .pp_close{width:30px;height:30px;background:url(../../images/prettyPhoto/default/sprite.png) 2px 1px no-repeat;cursor:pointer}
-div.pp_default .pp_gallery ul li a{background:url(../../images/prettyPhoto/default/default_thumb.png) center center #f8f8f8;border:1px solid #aaa}
-div.pp_default .pp_social{margin-top:7px}
-div.pp_default .pp_gallery a.pp_arrow_previous,div.pp_default .pp_gallery a.pp_arrow_next{position:static;left:auto}
-div.pp_default .pp_nav .pp_play,div.pp_default .pp_nav .pp_pause{background:url(../../images/prettyPhoto/default/sprite.png) -51px 1px no-repeat;height:30px;width:30px}
-div.pp_default .pp_nav .pp_pause{background-position:-51px -29px}
-div.pp_default a.pp_arrow_previous,div.pp_default a.pp_arrow_next{background:url(../../images/prettyPhoto/default/sprite.png) -31px -3px no-repeat;height:20px;width:20px;margin:4px 0 0}
-div.pp_default a.pp_arrow_next{left:52px;background-position:-82px -3px}
-div.pp_default .pp_content_container .pp_details{margin-top:5px}
-div.pp_default .pp_nav{clear:none;height:30px;width:110px;position:relative}
-div.pp_default .pp_nav .currentTextHolder{font-family:Georgia;font-style:italic;color:#999;font-size:11px;left:75px;line-height:25px;position:absolute;top:2px;margin:0;padding:0 0 0 10px}
-div.pp_default .pp_close:hover,div.pp_default .pp_nav .pp_play:hover,div.pp_default .pp_nav .pp_pause:hover,div.pp_default .pp_arrow_next:hover,div.pp_default .pp_arrow_previous:hover{opacity:0.7}
-div.pp_default .pp_description{font-size:11px;font-weight:700;line-height:14px;margin:5px 50px 5px 0}
-div.pp_default .pp_bottom .pp_left{background:url(../../images/prettyPhoto/default/sprite.png) -78px -127px no-repeat}
-div.pp_default .pp_bottom .pp_middle{background:url(../../images/prettyPhoto/default/sprite_x.png) bottom left repeat-x}
-div.pp_default .pp_bottom .pp_right{background:url(../../images/prettyPhoto/default/sprite.png) -112px -127px no-repeat}
-div.pp_default .pp_loaderIcon{background:url(../../images/prettyPhoto/default/loader.gif) center center no-repeat}
-div.light_rounded .pp_top .pp_left{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -88px -53px no-repeat}
-div.light_rounded .pp_top .pp_right{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -110px -53px no-repeat}
-div.light_rounded .pp_next:hover{background:url(../../images/prettyPhoto/light_rounded/btnNext.png) center right no-repeat;cursor:pointer}
-div.light_rounded .pp_previous:hover{background:url(../../images/prettyPhoto/light_rounded/btnPrevious.png) center left no-repeat;cursor:pointer}
-div.light_rounded .pp_expand{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -31px -26px no-repeat;cursor:pointer}
-div.light_rounded .pp_expand:hover{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -31px -47px no-repeat;cursor:pointer}
-div.light_rounded .pp_contract{background:url(../../images/prettyPhoto/light_rounded/sprite.png) 0 -26px no-repeat;cursor:pointer}
-div.light_rounded .pp_contract:hover{background:url(../../images/prettyPhoto/light_rounded/sprite.png) 0 -47px no-repeat;cursor:pointer}
-div.light_rounded .pp_close{width:75px;height:22px;background:url(../../images/prettyPhoto/light_rounded/sprite.png) -1px -1px no-repeat;cursor:pointer}
-div.light_rounded .pp_nav .pp_play{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
-div.light_rounded .pp_nav .pp_pause{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
-div.light_rounded .pp_arrow_previous{background:url(../../images/prettyPhoto/light_rounded/sprite.png) 0 -71px no-repeat}
-div.light_rounded .pp_arrow_next{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -22px -71px no-repeat}
-div.light_rounded .pp_bottom .pp_left{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -88px -80px no-repeat}
-div.light_rounded .pp_bottom .pp_right{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -110px -80px no-repeat}
-div.dark_rounded .pp_top .pp_left{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -88px -53px no-repeat}
-div.dark_rounded .pp_top .pp_right{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -110px -53px no-repeat}
-div.dark_rounded .pp_content_container .pp_left{background:url(../../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat-y}
-div.dark_rounded .pp_content_container .pp_right{background:url(../../images/prettyPhoto/dark_rounded/contentPattern.png) top right repeat-y}
-div.dark_rounded .pp_next:hover{background:url(../../images/prettyPhoto/dark_rounded/btnNext.png) center right no-repeat;cursor:pointer}
-div.dark_rounded .pp_previous:hover{background:url(../../images/prettyPhoto/dark_rounded/btnPrevious.png) center left no-repeat;cursor:pointer}
-div.dark_rounded .pp_expand{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -31px -26px no-repeat;cursor:pointer}
-div.dark_rounded .pp_expand:hover{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -31px -47px no-repeat;cursor:pointer}
-div.dark_rounded .pp_contract{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) 0 -26px no-repeat;cursor:pointer}
-div.dark_rounded .pp_contract:hover{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) 0 -47px no-repeat;cursor:pointer}
-div.dark_rounded .pp_close{width:75px;height:22px;background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -1px -1px no-repeat;cursor:pointer}
-div.dark_rounded .pp_description{margin-right:85px;color:#fff}
-div.dark_rounded .pp_nav .pp_play{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
-div.dark_rounded .pp_nav .pp_pause{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
-div.dark_rounded .pp_arrow_previous{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) 0 -71px no-repeat}
-div.dark_rounded .pp_arrow_next{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -22px -71px no-repeat}
-div.dark_rounded .pp_bottom .pp_left{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -88px -80px no-repeat}
-div.dark_rounded .pp_bottom .pp_right{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -110px -80px no-repeat}
-div.dark_rounded .pp_loaderIcon{background:url(../../images/prettyPhoto/dark_rounded/loader.gif) center center no-repeat}
-div.dark_square .pp_left,div.dark_square .pp_middle,div.dark_square .pp_right,div.dark_square .pp_content{background:#000}
-div.dark_square .pp_description{color:#fff;margin:0 85px 0 0}
-div.dark_square .pp_loaderIcon{background:url(../../images/prettyPhoto/dark_square/loader.gif) center center no-repeat}
-div.dark_square .pp_expand{background:url(../../images/prettyPhoto/dark_square/sprite.png) -31px -26px no-repeat;cursor:pointer}
-div.dark_square .pp_expand:hover{background:url(../../images/prettyPhoto/dark_square/sprite.png) -31px -47px no-repeat;cursor:pointer}
-div.dark_square .pp_contract{background:url(../../images/prettyPhoto/dark_square/sprite.png) 0 -26px no-repeat;cursor:pointer}
-div.dark_square .pp_contract:hover{background:url(../../images/prettyPhoto/dark_square/sprite.png) 0 -47px no-repeat;cursor:pointer}
-div.dark_square .pp_close{width:75px;height:22px;background:url(../../images/prettyPhoto/dark_square/sprite.png) -1px -1px no-repeat;cursor:pointer}
-div.dark_square .pp_nav{clear:none}
-div.dark_square .pp_nav .pp_play{background:url(../../images/prettyPhoto/dark_square/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
-div.dark_square .pp_nav .pp_pause{background:url(../../images/prettyPhoto/dark_square/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
-div.dark_square .pp_arrow_previous{background:url(../../images/prettyPhoto/dark_square/sprite.png) 0 -71px no-repeat}
-div.dark_square .pp_arrow_next{background:url(../../images/prettyPhoto/dark_square/sprite.png) -22px -71px no-repeat}
-div.dark_square .pp_next:hover{background:url(../../images/prettyPhoto/dark_square/btnNext.png) center right no-repeat;cursor:pointer}
-div.dark_square .pp_previous:hover{background:url(../../images/prettyPhoto/dark_square/btnPrevious.png) center left no-repeat;cursor:pointer}
-div.light_square .pp_expand{background:url(../../images/prettyPhoto/light_square/sprite.png) -31px -26px no-repeat;cursor:pointer}
-div.light_square .pp_expand:hover{background:url(../../images/prettyPhoto/light_square/sprite.png) -31px -47px no-repeat;cursor:pointer}
-div.light_square .pp_contract{background:url(../../images/prettyPhoto/light_square/sprite.png) 0 -26px no-repeat;cursor:pointer}
-div.light_square .pp_contract:hover{background:url(../../images/prettyPhoto/light_square/sprite.png) 0 -47px no-repeat;cursor:pointer}
-div.light_square .pp_close{width:75px;height:22px;background:url(../../images/prettyPhoto/light_square/sprite.png) -1px -1px no-repeat;cursor:pointer}
-div.light_square .pp_nav .pp_play{background:url(../../images/prettyPhoto/light_square/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
-div.light_square .pp_nav .pp_pause{background:url(../../images/prettyPhoto/light_square/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
-div.light_square .pp_arrow_previous{background:url(../../images/prettyPhoto/light_square/sprite.png) 0 -71px no-repeat}
-div.light_square .pp_arrow_next{background:url(../../images/prettyPhoto/light_square/sprite.png) -22px -71px no-repeat}
-div.light_square .pp_next:hover{background:url(../../images/prettyPhoto/light_square/btnNext.png) center right no-repeat;cursor:pointer}
-div.light_square .pp_previous:hover{background:url(../../images/prettyPhoto/light_square/btnPrevious.png) center left no-repeat;cursor:pointer}
-div.facebook .pp_top .pp_left{background:url(../../images/prettyPhoto/facebook/sprite.png) -88px -53px no-repeat}
-div.facebook .pp_top .pp_middle{background:url(../../images/prettyPhoto/facebook/contentPatternTop.png) top left repeat-x}
-div.facebook .pp_top .pp_right{background:url(../../images/prettyPhoto/facebook/sprite.png) -110px -53px no-repeat}
-div.facebook .pp_content_container .pp_left{background:url(../../images/prettyPhoto/facebook/contentPatternLeft.png) top left repeat-y}
-div.facebook .pp_content_container .pp_right{background:url(../../images/prettyPhoto/facebook/contentPatternRight.png) top right repeat-y}
-div.facebook .pp_expand{background:url(../../images/prettyPhoto/facebook/sprite.png) -31px -26px no-repeat;cursor:pointer}
-div.facebook .pp_expand:hover{background:url(../../images/prettyPhoto/facebook/sprite.png) -31px -47px no-repeat;cursor:pointer}
-div.facebook .pp_contract{background:url(../../images/prettyPhoto/facebook/sprite.png) 0 -26px no-repeat;cursor:pointer}
-div.facebook .pp_contract:hover{background:url(../../images/prettyPhoto/facebook/sprite.png) 0 -47px no-repeat;cursor:pointer}
-div.facebook .pp_close{width:22px;height:22px;background:url(../../images/prettyPhoto/facebook/sprite.png) -1px -1px no-repeat;cursor:pointer}
-div.facebook .pp_description{margin:0 37px 0 0}
-div.facebook .pp_loaderIcon{background:url(../../images/prettyPhoto/facebook/loader.gif) center center no-repeat}
-div.facebook .pp_arrow_previous{background:url(../../images/prettyPhoto/facebook/sprite.png) 0 -71px no-repeat;height:22px;margin-top:0;width:22px}
-div.facebook .pp_arrow_previous.disabled{background-position:0 -96px;cursor:default}
-div.facebook .pp_arrow_next{background:url(../../images/prettyPhoto/facebook/sprite.png) -32px -71px no-repeat;height:22px;margin-top:0;width:22px}
-div.facebook .pp_arrow_next.disabled{background-position:-32px -96px;cursor:default}
-div.facebook .pp_nav{margin-top:0}
-div.facebook .pp_nav p{font-size:15px;padding:0 3px 0 4px}
-div.facebook .pp_nav .pp_play{background:url(../../images/prettyPhoto/facebook/sprite.png) -1px -123px no-repeat;height:22px;width:22px}
-div.facebook .pp_nav .pp_pause{background:url(../../images/prettyPhoto/facebook/sprite.png) -32px -123px no-repeat;height:22px;width:22px}
-div.facebook .pp_next:hover{background:url(../../images/prettyPhoto/facebook/btnNext.png) center right no-repeat;cursor:pointer}
-div.facebook .pp_previous:hover{background:url(../../images/prettyPhoto/facebook/btnPrevious.png) center left no-repeat;cursor:pointer}
-div.facebook .pp_bottom .pp_left{background:url(../../images/prettyPhoto/facebook/sprite.png) -88px -80px no-repeat}
-div.facebook .pp_bottom .pp_middle{background:url(../../images/prettyPhoto/facebook/contentPatternBottom.png) top left repeat-x}
-div.facebook .pp_bottom .pp_right{background:url(../../images/prettyPhoto/facebook/sprite.png) -110px -80px no-repeat}
-div.pp_pic_holder a:focus{outline:none}
-div.pp_overlay{background:#000;display:none;left:0;position:absolute;top:0;width:100%;z-index:9500}
-div.pp_pic_holder{display:none;position:absolute;width:100px;z-index:10000}
-.pp_content{height:40px;min-width:40px}
-* html .pp_content{width:40px}
-.pp_content_container{position:relative;text-align:left;width:100%}
-.pp_content_container .pp_left{padding-left:20px}
-.pp_content_container .pp_right{padding-right:20px}
-.pp_content_container .pp_details{float:left;margin:10px 0 2px}
-.pp_description{display:none;margin:0}
-.pp_social{float:left;margin:0}
-.pp_social .facebook{float:left;margin-left:5px;width:55px;overflow:hidden}
-.pp_social .twitter{float:left}
-.pp_nav{clear:right;float:left;margin:3px 10px 0 0}
-.pp_nav p{float:left;white-space:nowrap;margin:2px 4px}
-.pp_nav .pp_play,.pp_nav .pp_pause{float:left;margin-right:4px;text-indent:-10000px}
-a.pp_arrow_previous,a.pp_arrow_next{display:block;float:left;height:15px;margin-top:3px;overflow:hidden;text-indent:-10000px;width:14px}
-.pp_hoverContainer{position:absolute;top:0;width:100%;z-index:2000}
-.pp_gallery{display:none;left:50%;margin-top:-50px;position:absolute;z-index:10000}
-.pp_gallery div{float:left;overflow:hidden;position:relative}
-.pp_gallery ul{float:left;height:35px;position:relative;white-space:nowrap;margin:0 0 0 5px;padding:0}
-.pp_gallery ul a{border:1px rgba(0,0,0,0.5) solid;display:block;float:left;height:33px;overflow:hidden}
-.pp_gallery ul a img{border:0}
-.pp_gallery li{display:block;float:left;margin:0 5px 0 0;padding:0}
-.pp_gallery li.default a{background:url(../../images/prettyPhoto/facebook/default_thumbnail.gif) 0 0 no-repeat;display:block;height:33px;width:50px}
-.pp_gallery .pp_arrow_previous,.pp_gallery .pp_arrow_next{margin-top:7px!important}
-a.pp_next{background:url(../../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;display:block;float:right;height:100%;text-indent:-10000px;width:49%}
-a.pp_previous{background:url(../../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;display:block;float:left;height:100%;text-indent:-10000px;width:49%}
-a.pp_expand,a.pp_contract{cursor:pointer;display:none;height:20px;position:absolute;right:30px;text-indent:-10000px;top:10px;width:20px;z-index:20000}
-a.pp_close{position:absolute;right:0;top:0;display:block;line-height:22px;text-indent:-10000px}
-.pp_loaderIcon{display:block;height:24px;left:50%;position:absolute;top:50%;width:24px;margin:-12px 0 0 -12px}
-#pp_full_res{line-height:1!important}
-#pp_full_res .pp_inline{text-align:left}
-#pp_full_res .pp_inline p{margin:0 0 15px}
-div.ppt{color:#fff;display:none;font-size:17px;z-index:9999;margin:0 0 5px 15px}
-div.pp_default .pp_content,div.light_rounded .pp_content{background-color:#fff}
-div.pp_default #pp_full_res .pp_inline,div.light_rounded .pp_content .ppt,div.light_rounded #pp_full_res .pp_inline,div.light_square .pp_content .ppt,div.light_square #pp_full_res .pp_inline,div.facebook .pp_content .ppt,div.facebook #pp_full_res .pp_inline{color:#000}
-div.pp_default .pp_gallery ul li a:hover,div.pp_default .pp_gallery ul li.selected a,.pp_gallery ul a:hover,.pp_gallery li.selected a{border-color:#fff}
-div.pp_default .pp_details,div.light_rounded .pp_details,div.dark_rounded .pp_details,div.dark_square .pp_details,div.light_square .pp_details,div.facebook .pp_details{position:relative}
-div.light_rounded .pp_top .pp_middle,div.light_rounded .pp_content_container .pp_left,div.light_rounded .pp_content_container .pp_right,div.light_rounded .pp_bottom .pp_middle,div.light_square .pp_left,div.light_square .pp_middle,div.light_square .pp_right,div.light_square .pp_content,div.facebook .pp_content{background:#fff}
-div.light_rounded .pp_description,div.light_square .pp_description{margin-right:85px}
-div.light_rounded .pp_gallery a.pp_arrow_previous,div.light_rounded .pp_gallery a.pp_arrow_next,div.dark_rounded .pp_gallery a.pp_arrow_previous,div.dark_rounded .pp_gallery a.pp_arrow_next,div.dark_square .pp_gallery a.pp_arrow_previous,div.dark_square .pp_gallery a.pp_arrow_next,div.light_square .pp_gallery a.pp_arrow_previous,div.light_square .pp_gallery a.pp_arrow_next{margin-top:12px!important}
-div.light_rounded .pp_arrow_previous.disabled,div.dark_rounded .pp_arrow_previous.disabled,div.dark_square .pp_arrow_previous.disabled,div.light_square .pp_arrow_previous.disabled{background-position:0 -87px;cursor:default}
-div.light_rounded .pp_arrow_next.disabled,div.dark_rounded .pp_arrow_next.disabled,div.dark_square .pp_arrow_next.disabled,div.light_square .pp_arrow_next.disabled{background-position:-22px -87px;cursor:default}
-div.light_rounded .pp_loaderIcon,div.light_square .pp_loaderIcon{background:url(../../images/prettyPhoto/light_rounded/loader.gif) center center no-repeat}
-div.dark_rounded .pp_top .pp_middle,div.dark_rounded .pp_content,div.dark_rounded .pp_bottom .pp_middle{background:url(../../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat}
-div.dark_rounded .currentTextHolder,div.dark_square .currentTextHolder{color:#c4c4c4}
-div.dark_rounded #pp_full_res .pp_inline,div.dark_square #pp_full_res .pp_inline{color:#fff}
-.pp_top,.pp_bottom{height:20px;position:relative}
-* html .pp_top,* html .pp_bottom{padding:0 20px}
-.pp_top .pp_left,.pp_bottom .pp_left{height:20px;left:0;position:absolute;width:20px}
-.pp_top .pp_middle,.pp_bottom .pp_middle{height:20px;left:20px;position:absolute;right:20px}
-* html .pp_top .pp_middle,* html .pp_bottom .pp_middle{left:0;position:static}
-.pp_top .pp_right,.pp_bottom .pp_right{height:20px;left:auto;position:absolute;right:0;top:0;width:20px}
-.pp_fade,.pp_gallery li.default a img{display:none}
\ No newline at end of file
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/ptsans/pts55f-webfont.eot has changed
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/ptsans/pts55f-webfont.svg Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,242 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
-<svg xmlns="http://www.w3.org/2000/svg">
-<metadata></metadata>
-<defs>
-<font id="PTSansRegular" horiz-adv-x="1116" >
-<font-face units-per-em="2048" ascent="1536" descent="-512" />
-<missing-glyph horiz-adv-x="546" />
-<glyph unicode="fi" horiz-adv-x="1105" d="M45 881v143h160v57q0 193 95 280t280 87q234 0 362 -80l-55 -131q-107 68 -293 68q-141 0 -188 -71q-37 -57 -37 -210h577v-1024h-164v881h-413v-881h-164v881h-160z" />
-<glyph unicode="fl" horiz-adv-x="1193" d="M45 881v143h160v57q0 193 83 285t277 92q125 0 232.5 -14t136.5 -23v-1169q0 -133 94 -133q68 0 129 22l17 -129q-40 -20 -105 -28.5t-86 -8.5q-92 0 -152.5 52.5t-60.5 177.5v1093q-88 17 -179.5 17t-131 -19.5t-59.5 -57.5q-31 -57 -31 -214h211v-143h-211v-881h-164 v881h-160z" />
-<glyph horiz-adv-x="0" />
-<glyph horiz-adv-x="2048" />
-<glyph unicode="
" horiz-adv-x="546" />
-<glyph unicode=" " horiz-adv-x="546" />
-<glyph unicode="	" horiz-adv-x="546" />
-<glyph unicode=" " horiz-adv-x="546" />
-<glyph unicode="!" horiz-adv-x="624" d="M225 95q0 54 32 86t86 32t87 -31.5t33 -86t-33 -87.5t-87 -33t-86 33t-32 87zM260 723v711h170v-711l-35 -361h-100z" />
-<glyph unicode=""" horiz-adv-x="686" d="M184 1038v396h160l-63 -396h-97zM424 1038v396h160l-63 -396h-97z" />
-<glyph unicode="#" d="M57 461l29 131h162l63 268h-151l28 131h154l78 324h141l-78 -324h215l78 324h142l-78 -324h157l-32 -131h-156l-64 -268h150l-33 -131h-147l-80 -342h-141l79 342h-215l-79 -342h-142l80 342h-160zM389 592h215l64 268h-215z" />
-<glyph unicode="$" d="M156 41l55 149q104 -63 285 -67v553q-61 31 -122 65.5t-108 82.5q-104 106 -104 261.5t83 250t251 116.5v186h139v-180q173 -7 291 -59l-49 -144q-101 49 -242 56v-506q169 -88 230 -148q122 -118 122 -278t-89 -263.5t-263 -131.5v-189h-139v180q-227 4 -340 66z M332 1097q0 -81 56 -136.5t140 -100.5v449q-109 -12 -152.5 -71.5t-43.5 -140.5zM602 127q94 14 154.5 73t60.5 165q0 130 -131 213q-39 24 -84 47v-498z" />
-<glyph unicode="%" horiz-adv-x="1583" d="M143 1108q0 94 24.5 159.5t66.5 108.5q80 82 227 82q224 0 292 -186q25 -66 25 -162q0 -269 -191 -330q-59 -18 -126 -18q-225 0 -294 186q-24 66 -24 160zM252 55l1053 1405l100 -78l-1051 -1407zM295 1110q0 -229 166 -229q125 0 154 117q11 44 11 112q0 184 -96 218 q-31 11 -69 11q-78 0 -122 -48t-44 -181zM874 348q0 94 24.5 159.5t66.5 108.5q80 82 227 82q224 0 292 -186q25 -66 25 -162q0 -269 -191 -330q-59 -18 -126 -18q-225 0 -294 186q-24 66 -24 160zM1026 350q0 -229 166 -229q125 0 154 117q11 44 11 112q0 184 -96 218 q-31 11 -69 11q-78 0 -122 -48t-44 -181z" />
-<glyph unicode="&" horiz-adv-x="1667" d="M242 383q0 225 218 411q62 54 130 95q-49 74 -85 147.5t-36 141t16.5 114.5t52.5 84q78 82 228 82q156 0 234 -78q65 -65 65 -158q0 -198 -277 -360q62 -110 141 -209q157 -195 232 -270q83 91 160 315l127 -59q-36 -106 -142 -277q-28 -47 -53 -77q128 -122 256 -195 l-102 -115q-109 53 -248 191q-191 -191 -448 -191q-201 0 -331 106q-138 113 -138 302zM406 387q0 -125 99 -197q97 -71 230 -71q144 0 269 93q36 27 59 56q-152 152 -323 402q-44 65 -74 114q-124 -93 -173 -158q-87 -116 -87 -239zM629 1195q0 -106 92 -241 q192 123 192 228q0 66 -31.5 106.5t-107.5 40.5t-110.5 -37t-34.5 -97z" />
-<glyph unicode="'" horiz-adv-x="446" d="M184 1038v396h160l-63 -396h-97z" />
-<glyph unicode="(" horiz-adv-x="573" d="M123 497q0 114 18.5 238.5t59.5 250.5q90 277 270 472l98 -72q-282 -358 -282 -888q0 -361 153 -672q54 -111 129 -201l-104 -76q-259 270 -323 708q-19 126 -19 240z" />
-<glyph unicode=")" horiz-adv-x="573" d="M4 -379q283 359 283 889q0 350 -154 672q-53 110 -129 200l105 76q259 -270 323 -707q19 -126 19 -240t-18.5 -239t-59.5 -250q-91 -278 -271 -473z" />
-<glyph unicode="*" horiz-adv-x="718" d="M82 1133v114h102l127 -24l-92 90l-53 94l100 57l51 -86l37 -114l43 116l49 82l99 -53l-53 -88l-95 -98l140 24h98v-114h-94l-131 24l94 -98l47 -80l-96 -57l-54 86l-47 125l-39 -119l-51 -86l-102 57l55 86l86 86l-119 -24h-102z" />
-<glyph unicode="+" horiz-adv-x="1034" d="M82 618v148h360v369h148v-369h360v-148h-360v-368h-148v368h-360z" />
-<glyph unicode="," horiz-adv-x="399" d="M86 -225q74 29 109.5 89t35.5 122q-18 -6 -46.5 -6t-56.5 27.5t-28 78.5t33 82t90 31t97 -45t40 -125t-20.5 -135.5t-53.5 -95.5q-61 -76 -149 -103z" />
-<glyph unicode="-" horiz-adv-x="737" d="M121 514v152h495v-152h-495z" />
-<glyph unicode="." horiz-adv-x="438" d="M100 95q0 54 32 86t86 32t87 -31.5t33 -86t-33 -87.5t-87 -33t-86 33t-32 87z" />
-<glyph unicode="/" horiz-adv-x="724" d="M-76 -229l748 1687l129 -57l-748 -1688z" />
-<glyph unicode="0" d="M88 717q0 369 120 555t358.5 186t350 -183t111.5 -555t-120 -558.5t-351 -186.5q-469 0 -469 742zM258 717q0 -424 165 -554q56 -44 134 -44q156 0 228.5 144.5t72.5 453.5q0 436 -160 555q-57 43 -141 43q-154 0 -226.5 -145.5t-72.5 -452.5z" />
-<glyph unicode="1" d="M143 1110l451 348h74v-1306h280v-152h-727v152h287v991l20 121l-82 -97l-225 -161z" />
-<glyph unicode="2" d="M127 0v59q463 483 583 840q33 96 33 189t-57 160t-186 67t-267 -105l-67 117q155 131 381 131q172 0 270 -98q96 -96 96 -252q0 -280 -288 -674q-80 -110 -160 -209l-100 -88v-8l131 23h446v-152h-815z" />
-<glyph unicode="3" d="M180 27l43 145q108 -53 256 -53q145 0 232 81q92 86 92 222.5t-85 206t-235 69.5h-151v60l295 454l94 91l-133 -21h-406v152h731v-60l-325 -489l-72 -60v-4l70 15q168 -4 272 -110q109 -111 109 -290q0 -213 -145 -340q-136 -121 -347 -121q-168 0 -295 52z" />
-<glyph unicode="4" d="M41 440v68l680 948h110v-872h242v-144h-242v-440h-159v440h-631zM227 567l144 17h301v446l20 168h-6l-72 -139l-288 -391z" />
-<glyph unicode="5" d="M158 16l43 140q97 -37 236.5 -37t232 82t92.5 234.5t-91 226t-251 73.5l-172 -10v709h639v-152h-486v-408l88 5q203 -2 320 -113t117 -317q0 -223 -144 -353q-136 -121 -350 -121q-161 0 -274 41z" />
-<glyph unicode="6" d="M123 461q0 223 52 394t144.5 298t218.5 206t273 99l35 -131q-221 -39 -374 -219q-143 -169 -177 -403q33 55 110.5 101t190.5 46q193 0 302.5 -110.5t109.5 -307t-115.5 -328t-321 -131.5t-327 131.5t-121.5 354.5zM283 461q0 -225 163 -313q54 -29 120 -29t114.5 22.5 t83.5 61.5q74 82 74 213q0 293 -277 293q-100 0 -173 -49.5t-101 -110.5q-4 -29 -4 -47v-41z" />
-<glyph unicode="7" d="M125 1282v152h856v-56l-590 -1378h-166l514 1200l90 100l-120 -18h-584z" />
-<glyph unicode="8" d="M139 326.5q0 144.5 67.5 240t211.5 172.5q-117 71 -162 128q-84 106 -84 233q0 162 108 258q111 100 289 100q171 0 274 -92q101 -90 101 -220t-53 -219t-176 -175q191 -112 241 -252q21 -56 21 -135.5t-28.5 -152.5t-84.5 -125q-119 -112 -317 -112q-188 0 -302 107 q-106 100 -106 244.5zM299 376.5q0 -63.5 16.5 -108.5t48.5 -78q72 -71 193 -71q107 0 181 61q79 64 79 182q0 153 -180 260q-51 31 -107 60q-125 -70 -178 -156t-53 -149.5zM332 1096q0 -49 22.5 -93.5t60.5 -78.5q67 -61 189 -121q92 72 136 141.5t44 163.5t-64.5 150.5 t-137 56.5t-115.5 -18.5t-74 -47t-46 -66.5t-15 -87z" />
-<glyph unicode="9" d="M106 998q0 99 29 183.5t84 146.5q117 130 329 130t328.5 -135t116.5 -373.5t-52 -411.5t-144 -292q-178 -231 -492 -271l-37 131q235 36 378 199q138 157 171 393q-55 -66 -121.5 -91t-163 -25t-171 27.5t-132 80.5t-90.5 131t-33 177zM276 1014q0 -143 77 -216 t189.5 -73t184.5 33t102 86q5 34 5 99t-17.5 133.5t-52.5 122.5q-75 116 -211.5 116t-206.5 -79t-70 -222z" />
-<glyph unicode=":" horiz-adv-x="448" d="M186 95q0 54 32 86t86 32t87 -31.5t33 -86t-33 -87.5t-87 -33t-86 33t-32 87zM186 921q0 54 32 85.5t86 31.5t87 -31.5t33 -85.5t-33 -87t-87 -33t-86 33t-32 87z" />
-<glyph unicode=";" horiz-adv-x="524" d="M168 -225q74 29 109.5 89t35.5 122q-18 -6 -46.5 -6t-56.5 27.5t-28 78.5t33 82t90 31t97 -45t40 -125t-20.5 -135.5t-53.5 -95.5q-61 -76 -149 -103zM197 921q0 54 31.5 85.5t85.5 31.5t87 -31.5t33 -85.5t-32.5 -87t-87 -33t-86 33t-31.5 87z" />
-<glyph unicode="<" horiz-adv-x="1034" d="M86 625v59l774 473l78 -127l-485 -297l-187 -78l185 -65l497 -295l-78 -123z" />
-<glyph unicode="=" horiz-adv-x="1034" d="M82 449v147h868v-147h-868zM82 788v148h868v-148h-868z" />
-<glyph unicode=">" horiz-adv-x="1034" d="M86 1032l78 125l784 -452v-60l-774 -473l-78 125l486 297l186 78l-184 65z" />
-<glyph unicode="?" horiz-adv-x="892" d="M76 1356q78 47 164 74.5t194.5 27.5t177 -25.5t114.5 -70.5q91 -89 91 -238q0 -155 -97 -286q-42 -56 -90 -105t-90 -103q-98 -128 -98 -268h-135q-2 10 -2 22v24q0 189 171 372q105 112 138 182t33 152t-54 141.5t-190.5 59.5t-271.5 -86zM266 95q0 54 32 86t86 32 t87 -31.5t33 -86t-33 -87.5t-87 -33t-86 33t-32 87z" />
-<glyph unicode="@" horiz-adv-x="2179" d="M178 485q0 221 77 401.5t208 307.5t305 195.5t363.5 68.5t347 -54t273.5 -156q249 -217 249 -580q0 -131 -45 -251t-122 -210t-179.5 -144.5t-202.5 -54.5t-151.5 37t-51.5 137q0 38 8 86h-8q-106 -172 -257 -236q-54 -24 -108 -24t-99.5 21.5t-78.5 62.5q-71 90 -71 223 t43 260t115.5 225.5t170 159t189.5 60.5t137 -22.5t88 -55.5l70 64h70l-105 -588q-20 -106 -20 -163.5t17 -81t73.5 -23.5t125 36.5t121.5 103.5q121 153 121 378q0 308 -203 482q-196 169 -522 169q-166 0 -312 -61.5t-253.5 -170t-170 -260t-62.5 -331.5t56 -323.5 t160 -242.5q213 -200 574 -200q159 0 273 57l41 -131q-156 -66 -342 -66t-353.5 57.5t-291 170t-195.5 279.5t-72 388zM795 344q0 -80 32.5 -136t118.5 -56q117 0 254 202q39 58 70 117l61 334q-35 41 -69.5 56.5t-101 15.5t-136.5 -48.5t-120 -124.5q-109 -167 -109 -360z " />
-<glyph unicode="A" horiz-adv-x="1198" d="M16 0l543 1456h78l545 -1456h-178l-148 397h-528l-144 -397h-168zM383 545h422l-160 436l-51 217h-2l-51 -221z" />
-<glyph unicode="B" horiz-adv-x="1196" d="M174 10v1411q184 29 329.5 29t228.5 -13.5t150 -50.5q156 -87 156 -280q0 -113 -65 -204q-72 -100 -205 -134v-8q212 -35 286 -207q27 -61 27 -158.5t-46 -178.5t-121 -132q-146 -100 -367 -100h-82q-190 0 -291 26zM344 145q49 -14 167 -14t179.5 15.5t108.5 49.5 q102 72 102 199q0 152 -121 215q-93 49 -258 49h-178v-514zM344 803h107q101 0 165 8q170 55 222 169q20 42 20 100.5t-25.5 102.5t-68.5 70.5t-98.5 38t-157 11.5t-164.5 -13v-487z" />
-<glyph unicode="C" horiz-adv-x="1169" d="M115 717q0 373 197 570q171 171 425 171q217 0 334 -49l-41 -149q-98 47 -280 47q-190 0 -312 -131q-143 -154 -143 -459q0 -285 139 -443q129 -147 340 -147q170 0 277 66l41 -134q-109 -84 -357 -84q-272 0 -438 179q-182 196 -182 563z" />
-<glyph unicode="D" horiz-adv-x="1339" d="M174 -2v1436q104 16 383 16q332 0 506 -202q162 -188 162 -521q0 -318 -158 -517q-180 -228 -530 -228q-101 0 -174.5 4t-120.5 6t-68 6zM344 141q40 -8 190 -8t247.5 49t155.5 132q107 153 107 413q0 381 -248 519q-94 52 -235 52h-59q-88 0 -158 -10v-1147z" />
-<glyph unicode="E" horiz-adv-x="1097" d="M174 0v1434h780v-152h-610v-469h559v-151h-559v-510h621v-152h-791z" />
-<glyph unicode="F" horiz-adv-x="1058" d="M174 0v1434h780v-152h-610v-489h569v-152h-569v-641h-170z" />
-<glyph unicode="G" horiz-adv-x="1253" d="M115 717q0 371 207 570q177 171 436 171q219 0 338 -49l-43 -149q-98 47 -281 47q-315 0 -434 -311q-43 -113 -43 -272t35 -269.5t97 -182.5q124 -145 343 -145q131 0 223 51v400l-336 40v97h482v-631q-101 -77 -286 -102q-56 -7 -110 -7q-285 0 -450 179 q-178 194 -178 563z" />
-<glyph unicode="H" horiz-adv-x="1376" d="M174 0v1434h170v-625h688v625h170v-1434h-170v657h-688v-657h-170z" />
-<glyph unicode="I" horiz-adv-x="595" d="M213 0v1434h170v-1434h-170z" />
-<glyph unicode="J" horiz-adv-x="595" d="M-70 12l33 146q57 -27 134 -27t104.5 60.5t27.5 164.5v1078h170v-1119q0 -335 -293 -335q-116 0 -176 32z" />
-<glyph unicode="K" horiz-adv-x="1249" d="M174 0v1434h170v-668l92 29l482 639h196l-479 -617l-86 -67l104 -82l525 -668h-215l-523 664h-96v-664h-170z" />
-<glyph unicode="L" horiz-adv-x="1058" d="M174 0v1434h170v-1282h678v-152h-848z" />
-<glyph unicode="M" horiz-adv-x="1619" d="M174 0v1434h127l449 -734l67 -159h4l64 164l428 729h133v-1434h-170v963l20 215h-10l-78 -197l-372 -647h-52l-395 649l-74 195h-10l29 -213v-965h-160z" />
-<glyph unicode="N" horiz-adv-x="1378" d="M174 0v1456h90l686 -956l107 -197h10l-23 197v934h160v-1457h-90l-682 961l-110 207h-9l21 -207v-938h-160z" />
-<glyph unicode="O" horiz-adv-x="1400" d="M115 721.5q0 353.5 151.5 545t431.5 191.5q294 0 446 -204q142 -189 142 -542t-152.5 -545t-435.5 -192q-287 0 -441 204q-142 189 -142 542.5zM295 740.5q0 -277.5 101.5 -445.5t296.5 -168t304 144.5t109 445.5q0 399 -224 541q-77 49 -184 49q-188 0 -295.5 -144.5 t-107.5 -422z" />
-<glyph unicode="P" horiz-adv-x="1144" d="M174 0v1419q134 31 287 31t250.5 -18.5t177.5 -67.5q180 -110 180 -354q0 -245 -172 -368q-78 -56 -178.5 -80.5t-158.5 -24.5h-117q-59 0 -99 8v-545h-170zM344 696q20 -8 85 -8h75q385 0 385 322q0 154 -116 230q-96 63 -239 63t-190 -13v-594z" />
-<glyph unicode="Q" horiz-adv-x="1400" d="M115 721.5q0 353.5 151.5 545t431.5 191.5q294 0 446 -204q142 -189 142 -542t-152.5 -545t-435.5 -192q-287 0 -441 204q-142 189 -142 542.5zM295 740.5q0 -277.5 101.5 -445.5t296.5 -168t304 144.5t109 445.5q0 399 -224 541q-77 49 -184 49q-188 0 -295.5 -144.5 t-107.5 -422zM434 -100q68 14 132.5 14t149.5 -21.5t173 -47t180 -47t188.5 -21.5t184.5 20v-147q-88 -25 -190.5 -25t-200 21.5t-188.5 47t-175 47t-146.5 21.5t-107.5 -12v150z" />
-<glyph unicode="R" horiz-adv-x="1218" d="M174 0v1419q173 31 316 31t228 -20.5t150 -67.5q142 -104 142 -307q0 -168 -92.5 -272.5t-233.5 -139.5l98 -76l357 -567h-199l-395 618l-201 31v-649h-170zM344 762h160q141 0 233 69.5t92 217.5q0 111 -75.5 182.5t-210.5 71.5h-90q-64 0 -109 -13v-528z" />
-<glyph unicode="S" horiz-adv-x="1087" d="M94 51l58 154q47 -27 139 -52.5t183.5 -25.5t150.5 13.5t102 43t68.5 75t25.5 119t-51 127.5t-128 96t-167 79t-167 89q-179 121 -179 325q0 168 116.5 266t332.5 98q252 0 387 -65l-52 -150q-47 23 -138 43.5t-216 20.5t-192.5 -60.5t-67.5 -141.5t51 -134t128 -95 t167 -83t167 -95.5t128 -130t51 -178t-32.5 -176.5t-96.5 -127q-132 -111 -358 -111q-258 0 -410 76z" />
-<glyph unicode="T" horiz-adv-x="1136" d="M37 1282v152h1063v-152h-447v-1282h-170v1282h-446z" />
-<glyph unicode="U" horiz-adv-x="1335" d="M174 444v990h170v-910q0 -309 194 -370q64 -21 150 -21q166 0 237.5 91t71.5 300v910h164v-957q0 -376 -280 -467q-88 -28 -195 -28q-512 0 -512 462z" />
-<glyph unicode="V" horiz-adv-x="1163" d="M-4 1434h186l365 -985l49 -218h2l53 222l346 981h170l-542 -1457h-76z" />
-<glyph unicode="W" horiz-adv-x="1695" d="M16 1434h181l258 -961l32 -237h2l35 241l295 957h82l297 -961l35 -237h2l37 241l241 957h166l-399 -1457h-94l-291 961l-37 217h-10l-37 -219l-291 -959h-94z" />
-<glyph unicode="X" horiz-adv-x="1265" d="M53 0l477 729l-436 705h205l291 -486l51 -117l49 117l307 486h189l-451 -691l471 -743h-198l-324 514l-55 123l-54 -123l-331 -514h-191z" />
-<glyph unicode="Y" horiz-adv-x="1142" d="M16 1434h199l336 -627l35 -125h2l37 129l321 623h182l-469 -863v-571h-170v569z" />
-<glyph unicode="Z" d="M78 0v154l723 1046l86 82h-809v152h962v-154l-727 -1053l-86 -75h813v-152h-962z" />
-<glyph unicode="[" horiz-adv-x="622" d="M174 -471v1905h371v-144h-211v-1618h211v-143h-371z" />
-<glyph unicode="\" horiz-adv-x="778" d="M-76 1401l137 57l756 -1685l-135 -60z" />
-<glyph unicode="]" horiz-adv-x="622" d="M78 -328h213v1618h-213v144h373v-1905h-373v143z" />
-<glyph unicode="^" horiz-adv-x="1024" d="M98 891l381 565h60l346 -565h-168l-164 276l-47 142l-64 -144l-188 -274h-156z" />
-<glyph unicode="_" horiz-adv-x="835" d="M0 -276h836v-144h-836v144z" />
-<glyph unicode="`" horiz-adv-x="573" d="M123 1432v43h194l134 -306h-93z" />
-<glyph unicode="a" horiz-adv-x="1015" d="M80 274q0 248 300 298q93 16 164 16h98q28 0 56 -4q6 61 7 110q0 113 -45.5 158t-163.5 45q-114 0 -237 -42q-38 -13 -66 -30l-52 123q153 92 398 92q193 0 269 -103q56 -76 56 -212l-12 -461q0 -171 29 -268h-121l-43 143h-10q-64 -103 -203 -141q-51 -14 -117 -14 q-133 0 -219 78q-88 81 -88 212zM250 291q0 -72 51 -118t119.5 -46t114 15.5t77.5 39.5q63 45 86 107v170q-58 4 -116 4q-332 0 -332 -172z" />
-<glyph unicode="b" horiz-adv-x="1105" d="M158 59v1375h164v-510h8q100 125 288 125q388 0 388 -521q0 -268 -131.5 -407t-368.5 -139q-115 0 -208 24.5t-140 52.5zM322 170q76 -45 211.5 -45t219 98.5t83.5 306.5q0 263 -138 346q-48 29 -118 29q-200 0 -258 -219v-516z" />
-<glyph unicode="c" horiz-adv-x="923" d="M100 512q0 260 115 398.5t330 138.5q175 0 291 -60l-48 -141q-99 57 -227 57q-291 0 -291 -393q0 -270 161 -360q58 -33 144 -33q134 0 228 74l53 -125q-126 -93 -321 -93q-435 0 -435 537z" />
-<glyph unicode="d" horiz-adv-x="1101" d="M100 501.5q0 268.5 124 404.5t341 136q119 0 215 -34v426h164v-1082q0 -104 2 -189t19 -167h-111l-41 145h-8q-41 -72 -119 -119t-182 -47q-205 0 -304.5 129t-99.5 397.5zM270 508q0 -389 260 -389q207 0 250 219v508q-68 53 -209 53t-221 -93t-80 -298z" />
-<glyph unicode="e" horiz-adv-x="1040" d="M100 518.5q0 255.5 117 393t334 137.5q169 0 264 -74q125 -98 125 -330q0 -68 -12 -149h-658q0 -279 178 -352q62 -25 142 -25t149.5 24.5t104.5 57.5l61 -119q-61 -49 -154.5 -78t-204 -29t-196.5 38t-141 109q-109 141 -109 396.5zM272 625h508q0 156 -59 218t-174 62 t-187.5 -63.5t-87.5 -216.5z" />
-<glyph unicode="f" horiz-adv-x="653" d="M45 881v143h160v57q0 194 65 278q69 87 228 87q128 0 221 -39l-37 -137q-78 33 -149.5 33t-101.5 -16.5t-43 -48.5q-19 -47 -19 -185v-29h272v-143h-272v-881h-164v881h-160z" />
-<glyph unicode="g" horiz-adv-x="1099" d="M100 503q0 267 125 403t369 136q189 0 348 -61v-1028q0 -199 -105.5 -293t-312.5 -94q-204 0 -325 55l43 139q47 -18 104 -34.5t146.5 -16.5t143.5 15.5t87 51.5q57 62 57 226v98h-8q-85 -123 -281 -123t-293.5 129.5t-97.5 396.5zM270 510q0 -389 260 -389q104 0 164 52 t84 163v524q-82 39 -215 39t-213 -94t-80 -295z" />
-<glyph unicode="h" horiz-adv-x="1120" d="M158 0v1434h164v-525h8q118 140 313 140q180 0 255 -89q81 -95 81 -342v-618h-164v584q0 171 -43 240q-49 81 -160.5 81t-189.5 -62.5t-100 -160.5v-682h-164z" />
-<glyph unicode="i" horiz-adv-x="548" d="M158 1335q0 47 31.5 81t80.5 34t84 -34t35 -81t-35 -77.5t-84 -30.5t-80.5 30.5t-31.5 77.5zM193 0v1024h163v-1024h-163z" />
-<glyph unicode="j" horiz-adv-x="546" d="M18 -291q108 0 144 72q28 57 28 225v1018h164v-1079q0 -190 -65.5 -284.5t-208.5 -94.5q-28 0 -62 4v139zM156 1335q0 47 31.5 81t80.5 34t84 -34t35 -81t-35 -77.5t-84 -30.5t-80.5 30.5t-31.5 77.5z" />
-<glyph unicode="k" horiz-adv-x="980" d="M158 0v1434h164v-873l84 29l317 434h190l-313 -412l-84 -67l102 -82l343 -463h-203l-342 461h-94v-461h-164z" />
-<glyph unicode="l" horiz-adv-x="598" d="M176 205v1229h164v-1182q0 -133 94 -133q66 0 127 22l19 -129q-33 -16 -91.5 -26.5t-101.5 -10.5q-92 0 -151.5 52.5t-59.5 177.5z" />
-<glyph unicode="m" horiz-adv-x="1662" d="M158 0v1024h114l31 -125h8q55 66 128 108t180.5 42t170 -38t97.5 -132q47 80 130 125t178 45t154.5 -19.5t98.5 -69.5q74 -93 74 -346v-614h-164v616q0 158 -36 218q-43 71 -159 71q-191 0 -241 -221v-684h-164v580q0 172 -28 228t-65.5 76.5t-115.5 20.5t-140.5 -57 t-86.5 -143v-705h-164z" />
-<glyph unicode="n" horiz-adv-x="1120" d="M158 0v1024h114l31 -125h8q49 66 132 108t182.5 42t163 -19.5t105.5 -69.5q85 -100 85 -342v-618h-164v584q0 160 -46 240.5t-162 80.5t-186.5 -58.5t-98.5 -146.5v-700h-164z" />
-<glyph unicode="o" horiz-adv-x="1097" d="M100 512q0 260 116 398.5t333 138.5q226 0 340 -147q108 -139 108 -394.5t-115.5 -394t-332.5 -138.5q-336 0 -422 317q-27 99 -27 220zM270 512q0 -269 150 -360q53 -33 129 -33h3q275 0 275 390q0 276 -149 365q-53 31 -129 31h-3q-276 0 -276 -393z" />
-<glyph unicode="p" horiz-adv-x="1107" d="M158 -410v1434h112l31 -123h8q97 148 297.5 148t301 -121t100.5 -396q0 -255 -130 -407q-128 -150 -348 -150q-113 0 -208 41v-426h-164zM322 178q75 -59 212 -59t220.5 105.5t83.5 310.5q0 370 -267 370q-202 0 -249 -219v-508z" />
-<glyph unicode="q" horiz-adv-x="1099" d="M100 508q0 264 127 399t371 135q109 0 204 -20.5t140 -42.5v-1389h-164v512h-8q-85 -127 -279 -127q-391 0 -391 533zM270 510q0 -391 260 -391q104 0 164 53t84 164v524q-76 39 -213 39t-216 -95t-79 -294z" />
-<glyph unicode="r" horiz-adv-x="696" d="M158 0v1024h114l31 -125h8q39 70 93.5 107.5t126 37.5t145.5 -20l-35 -158q-61 20 -133 20q-1 0 -1 1q-71 0 -122 -48t-63 -122v-717h-164z" />
-<glyph unicode="s" horiz-adv-x="862" d="M80 51l49 139q47 -27 123 -49t159 -22q197 0 197 160q0 61 -36.5 96t-91 58.5t-119 45t-119.5 55.5q-127 78 -127 227q0 288 317 288q179 0 316 -66l-39 -135q-116 57 -231 57t-157 -30.5t-42 -95t36.5 -94.5t91 -53.5t119 -46t118.5 -59.5q128 -88 128 -241 q0 -214 -200 -286q-66 -24 -170 -24q-187 0 -322 76z" />
-<glyph unicode="t" horiz-adv-x="694" d="M23 881v143h159v203l164 47v-250h279v-143h-279v-568q0 -106 26.5 -150t96 -44t166.5 41l37 -125q-122 -60 -254.5 -60t-184 71t-51.5 237v598h-159z" />
-<glyph unicode="u" horiz-adv-x="1103" d="M141 406v618h164v-584q0 -166 41 -240q46 -81 160 -81q148 0 234 136q26 40 42 85v684h164v-733q0 -187 23 -291h-113l-41 162h-10q-110 -187 -330 -187q-174 0 -249 89q-85 100 -85 342z" />
-<glyph unicode="v" horiz-adv-x="987" d="M18 1024h189l246 -600l57 -195h2l51 199l230 596h176l-437 -1047h-69z" />
-<glyph unicode="w" horiz-adv-x="1505" d="M16 1024h179l202 -596l35 -199h2l49 203l219 592h119l236 -598l51 -197h4l39 201l182 594h156l-344 -1047h-80l-268 676l-39 168h-6l-41 -170l-258 -674h-80z" />
-<glyph unicode="x" horiz-adv-x="1054" d="M57 0l369 524l-344 500h201l194 -283l58 -116l59 116l199 283h184l-346 -492l366 -532h-194l-217 311l-62 123l-63 -123l-221 -311h-183z" />
-<glyph unicode="y" horiz-adv-x="954" d="M25 1024h188l246 -664l57 -196h10l45 198l199 662h166l-303 -920q-35 -100 -69 -194t-74 -168q-89 -162 -211 -162q-74 0 -121 21l28 141q27 -10 52 -10q57 0 110 60.5t88 207.5z" />
-<glyph unicode="z" horiz-adv-x="915" d="M86 0v143l473 652l86 86h-559v143h729v-143l-477 -658l-84 -80h561v-143h-729z" />
-<glyph unicode="{" horiz-adv-x="708" d="M117 410v143q164 0 164 172v496q0 96 48 155.5t146 59.5h174v-144h-102q-55 0 -81 -27.5t-26 -93.5v-485q0 -90 -43 -137t-100 -57v-13q55 -8 99 -62.5t44 -140.5v-483q0 -63 24.5 -92t84.5 -29h100v-143h-174q-92 0 -143 54.5t-51 158.5v487q0 104 -43 142.5t-121 38.5z " />
-<glyph unicode="|" horiz-adv-x="487" d="M174 -266v1700h139v-1700h-139z" />
-<glyph unicode="}" horiz-adv-x="708" d="M113 -328h102q55 0 81 28t26 93v486q0 90 42 137t99 57v12q-55 8 -98 62.5t-43 140.5v483q0 63 -25 92t-82 29h-102v144h176q90 0 141 -54.5t51 -158.5v-488q0 -104 43 -142t121 -38v-143q-164 0 -164 -172v-496q0 -96 -48 -155.5t-146 -59.5h-174v143z" />
-<glyph unicode="~" horiz-adv-x="1034" d="M63 739q157 121 291 121q83 0 201 -56q45 -22 88 -39t90 -17q84 0 168 73l70 -125q-141 -96 -254 -96q-80 0 -190 56q-42 22 -84 39.5t-91 17.5q-100 0 -219 -97z" />
-<glyph unicode="¡" horiz-adv-x="622" d="M152 929q0 54 31.5 86t85.5 32t87 -32t33 -86t-32.5 -87t-87 -33t-86 33t-31.5 87zM190 301l35 361h101l34 -361v-711h-170v711z" />
-<glyph unicode="¢" d="M178 512q0 236 97.5 372t277.5 158v187h145v-182q128 -7 228 -58l-47 -139q-93 45 -195 53v-784q121 7 207 74l53 -125q-97 -69 -246 -86v-187h-145v185q-375 37 -375 532zM348 512q0 -232 119 -334q43 -37 106 -51v772q-225 -43 -225 -387z" />
-<glyph unicode="£" d="M86 0v147q120 0 188 85q58 75 58 184.5t-47 224.5h-199v143h135q-57 121 -57 267q0 201 114.5 304t313.5 103q230 0 369 -65l-54 -146q-123 60 -317 60q-123 0 -189.5 -66.5t-66.5 -187.5t69 -269h330v-143h-268q37 -109 37 -211q0 -61 -18.5 -125.5t-55.5 -105.5 l-80 -68v-8l127 29h524v-152h-913z" />
-<glyph unicode="¤" d="M43 293l158 160l69 45q-63 86 -63 201t63 219l-69 43l-158 159l100 101l160 -158l43 -72q86 68 209 68t213 -68l45 72l160 158l100 -101l-158 -159l-71 -46q66 -88 65.5 -209.5t-65.5 -209.5l71 -43l158 -160l-100 -98l-160 157l-43 68q-88 -63 -214 -63.5t-210 63.5 l-43 -68l-160 -157zM348 707q0 -92 58.5 -153.5t150.5 -61.5t151.5 61t59.5 154q0 92 -59.5 154.5t-151.5 62.5t-150.5 -62.5t-58.5 -154.5z" />
-<glyph unicode="¥" d="M4 1434h199l336 -627l34 -125h2l37 129l322 623h182l-416 -762h193v-123h-248v-129h248v-123h-248v-297h-170v297h-248v123h248v129h-248v123h193z" />
-<glyph unicode="¦" horiz-adv-x="487" d="M174 -266v688h139v-688h-139zM174 745v689h139v-689h-139z" />
-<glyph unicode="§" horiz-adv-x="1017" d="M117 723q0 128 116 231l84 29q-53 33 -88.5 83t-35.5 149.5t84.5 171t216.5 71.5q204 0 340 -63l-39 -138q-124 58 -237 58q-202 0 -202 -121q0 -53 40 -83t101.5 -52.5t131 -45t131.5 -57.5q141 -82 141 -245q0 -130 -115 -230l-92 -28q131 -79 131 -220 q0 -122 -93 -192q-88 -66 -216.5 -66t-202 19.5t-131.5 48.5l41 133q116 -57 230 -57t161.5 27.5t47.5 87t-40 90t-101.5 53t-131.5 45t-131 58.5q-141 83 -141 243zM281 738.5q0 -62.5 26.5 -95.5t68.5 -56.5t96 -40t110 -36.5q59 24 94 64t48 70t13 72t-26.5 74.5 t-70.5 56t-99.5 41t-110.5 38.5q-59 -27 -104 -76t-45 -111.5z" />
-<glyph unicode="¨" horiz-adv-x="841" d="M123 1339q0 45 27.5 74t72.5 29t73 -29t28 -74t-28 -73.5t-73 -28.5t-72.5 28.5t-27.5 73.5zM516 1339q0 45 27.5 74t73.5 29t74 -29t28 -74t-27.5 -73.5t-74 -28.5t-74 28.5t-27.5 73.5z" />
-<glyph unicode="©" horiz-adv-x="1650" d="M104 594q0 330 214 530q202 191 507 191q306 0 509 -191q212 -199 212 -530t-212 -530q-203 -191 -509 -191q-330 0 -524 191q-197 193 -197 530zM248 594q0 -276 168 -434q161 -152 409 -152q249 0 410 152q168 158 168 434q0 275 -168 434q-160 152 -410 152 q-249 0 -409 -152q-168 -159 -168 -434zM481 597q0 183 93.5 284.5t246.5 101.5q97 0 173 -33q24 -10 55 -22l-54 -125q-76 39 -158.5 39t-137 -53.5t-54.5 -183.5q0 -257 211 -261q96 0 164 37l43 -121q-96 -55 -252 -55t-243 104.5t-87 287.5z" />
-<glyph unicode="ª" horiz-adv-x="790" d="M98 951q0 77 31 120t83 69q101 52 275 52l56 -2q2 12 2 24v21q0 55 -24.5 77.5t-94.5 22.5q-161 0 -256 -51l-31 102q121 64 322 64q127 0 174 -53.5t47 -153.5l-6 -287q0 -116 16 -178h-112l-27 94h-8q-79 -102 -199 -102t-184 52t-64 129zM242 972q0 -38 29.5 -62.5 t82.5 -24.5q139 0 189 112v86q-23 2 -43 2h-43q-156 0 -198 -53q-17 -22 -17 -60z" />
-<glyph unicode="«" horiz-adv-x="978" d="M80 530l328 471l110 -88l-201 -297l-98 -84l98 -73l213 -291l-110 -90zM455 530l323 467l109 -86l-199 -295l-98 -84l98 -73l211 -289l-106 -88z" />
-<glyph unicode="¬" horiz-adv-x="1034" d="M84 655v148h868v-393h-147v245h-721z" />
-<glyph unicode="­" horiz-adv-x="737" d="M121 514v152h495v-152h-495z" />
-<glyph unicode="®" horiz-adv-x="1433" d="M174 924q0 254 161 402q152 140 382 140q235 0 385 -140q158 -147 158 -402t-161 -402q-154 -141 -382 -141q-233 0 -385 141q-158 146 -158 402zM303 924q0 -204 122 -317q113 -105 292 -105q185 0 295 103q118 111 118 319q0 204 -122 316q-115 106 -291 106 q-185 0 -297 -106q-117 -111 -117 -316zM506 659v531q66 20 178.5 20t174 -35.5t61.5 -112.5t-42 -112t-104 -39l57 -28l152 -224h-125l-147 213l-99 31v-244h-106zM612 965h70q59 0 92 18t33 64q0 71 -119 71q-59 0 -76 -8v-145z" />
-<glyph unicode="¯" horiz-adv-x="851" d="M123 1190v127h606v-127h-606z" />
-<glyph unicode="°" horiz-adv-x="870" d="M174 1166q0 66 22.5 119.5t61.5 91.5q83 81 205 81q126 0 205 -77q84 -82 84 -212q0 -131 -84 -211q-80 -77 -205 -77t-205 77q-84 80 -84 208zM303 1169q0 -78 48 -121.5t112 -43.5q63 0 111.5 44t48.5 121q0 78 -48.5 122t-111.5 44t-111.5 -44t-48.5 -122z" />
-<glyph unicode="±" horiz-adv-x="1034" d="M82 365v147h868v-147h-868zM82 864v148h360v368h148v-368h360v-148h-360v-248h-148v248h-360z" />
-<glyph unicode="²" horiz-adv-x="806" d="M98 778v68q259 215 366 401q46 80 46 145.5t-41 97.5t-120 32t-179 -64l-45 117q112 78 254.5 78t208 -63.5t65.5 -176.5q0 -167 -163 -354q-50 -56 -105 -113l-94 -65v-4l117 30h286v-129h-596z" />
-<glyph unicode="³" horiz-adv-x="808" d="M137 803l31 123q85 -39 180.5 -39t148 39t52.5 109q0 153 -199 153h-112v47l198 237l70 56l-100 -13h-267v123h525v-67l-211 -252l-52 -37v-4l48 6q113 -2 178 -67.5t65 -183.5t-91 -193.5t-243 -75.5q-114 0 -221 39z" />
-<glyph unicode="´" horiz-adv-x="548" d="M123 1169l121 306h182v-43l-207 -263h-96z" />
-<glyph unicode="¶" horiz-adv-x="1011" d="M76 1036q0 161 92 274q100 124 258 124h92v-1700h-139v901q-129 0 -216 123t-87 278zM698 -266v1700h140v-1700h-140z" />
-<glyph unicode="·" horiz-adv-x="546" d="M155 607q0 54 32 86t86 32t87 -31.5t33 -86t-33 -87.5t-87 -33t-86 33t-32 87z" />
-<glyph unicode="¸" horiz-adv-x="587" d="M123 -418l14 101q29 -5 62 -6t56.5 2.5t36.5 13.5q21 16 21 47q2 59 -176 76l99 184h116l-49 -88q86 -16 124 -53t38 -111t-67.5 -124t-182.5 -50q-44 0 -92 8z" />
-<glyph unicode="¹" horiz-adv-x="806" d="M109 1444l315 209h84v-750h194v-125h-555v125h218v520l14 74l-55 -57l-160 -97z" />
-<glyph unicode="º" horiz-adv-x="815" d="M90 1108q0 94 24.5 159.5t66.5 108.5q80 82 227 82q224 0 292 -186q25 -66 25 -162q0 -269 -191 -330q-59 -18 -126 -18q-225 0 -294 186q-24 66 -24 160zM242 1110q0 -229 166 -229q125 0 154 117q11 44 11 112q0 184 -96 218q-31 11 -69 11q-78 0 -122 -48t-44 -181z " />
-<glyph unicode="»" horiz-adv-x="978" d="M80 909l106 88l340 -448l-327 -467l-107 86l197 295l100 84l-100 74zM449 911l108 90l342 -452l-328 -471l-110 88l201 297l98 84l-98 74z" />
-<glyph unicode="¼" horiz-adv-x="1714" d="M109 1239l315 209h86v-875h-143v646l14 73l-57 -57l-160 -96zM330 49l997 1411l106 -71l-997 -1414zM907 197v76l463 618h92v-573h170v-121h-170v-197h-137v197h-418zM1061 307l102 11h162v262l12 100h-4l-45 -94l-160 -215z" />
-<glyph unicode="½" horiz-adv-x="1740" d="M109 1239l315 209h86v-875h-143v646l14 73l-57 -57l-160 -96zM330 49l997 1411l106 -71l-997 -1414zM1063 0v68q259 215 366 401q46 80 46 145.5t-41 97.5t-120 32t-179 -64l-45 117q112 78 254.5 78t208 -63.5t65.5 -176.5q0 -167 -163 -354q-50 -56 -105 -113l-94 -65 v-4l117 30h286v-129h-596z" />
-<glyph unicode="¾" horiz-adv-x="1794" d="M155 598l31 123q85 -39 180.5 -39t148 39t52.5 109q0 153 -199 153h-112v47l198 237l70 56l-100 -13h-267v123h525v-67l-211 -252l-52 -37v-4l48 6q113 -2 178 -67.5t65 -183.5t-91 -193.5t-243 -75.5q-114 0 -221 39zM410 49l997 1411l106 -71l-997 -1414zM987 197v76 l463 618h92v-573h170v-121h-170v-197h-137v197h-418zM1141 307l102 11h162v262l12 100h-4l-45 -94l-160 -215z" />
-<glyph unicode="¿" horiz-adv-x="892" d="M76 -100q0 155 97 286q42 56 90 105t90 103q98 128 98 268h135q2 -10 2 -22v-24q0 -189 -171 -372q-105 -112 -138 -182t-33 -152t54 -141.5t190.5 -59.5t271.5 86l55 -127q-78 -47 -164 -74.5t-194.5 -27.5t-177 25.5t-114.5 70.5q-91 89 -91 238zM391 931q0 54 32 86 t86 32t87 -32t33 -86t-33 -87t-87 -33t-86 33t-32 87z" />
-<glyph unicode="À" horiz-adv-x="1198" d="M16 0l543 1456h78l545 -1456h-178l-148 397h-528l-144 -397h-168zM277 1739v43h233l242 -242h-152zM383 545h422l-160 436l-51 217h-2l-51 -221z" />
-<glyph unicode="Á" horiz-adv-x="1198" d="M16 0l543 1456h78l545 -1456h-178l-148 397h-528l-144 -397h-168zM383 545h422l-160 436l-51 217h-2l-51 -221zM436 1540l242 242h233v-43l-334 -199h-141z" />
-<glyph unicode="Â" horiz-adv-x="1198" d="M16 0l543 1456h78l545 -1456h-178l-148 397h-528l-144 -397h-168zM270 1530v45l272 207h123l260 -209v-43h-166l-123 100l-34 72l-39 -70l-131 -102h-162zM383 545h422l-160 436l-51 217h-2l-51 -221z" />
-<glyph unicode="Ã" horiz-adv-x="1198" d="M16 0l543 1456h78l545 -1456h-178l-148 397h-528l-144 -397h-168zM277 1608q107 112 221 112q63 0 122 -24q108 -43 158 -43t99 43l51 -88q-97 -90 -196 -90q-59 0 -118 24q-109 43 -157 43q-70 0 -131 -61zM383 545h422l-160 436l-51 217h-2l-51 -221z" />
-<glyph unicode="Ä" horiz-adv-x="1198" d="M16 0l543 1456h78l545 -1456h-178l-148 397h-528l-144 -397h-168zM295 1627q0 42 30.5 68.5t78.5 26.5t78 -26.5t30 -68.5t-29.5 -68.5t-78 -26.5t-79 26.5t-30.5 68.5zM383 545h422l-160 436l-51 217h-2l-51 -221zM688 1627q0 42 29.5 68.5t78 26.5t79 -26.5t30.5 -68.5 t-30.5 -68.5t-78.5 -26.5t-78 26.5t-30 68.5z" />
-<glyph unicode="Å" horiz-adv-x="1198" d="M16 0l525 1407q-156 24 -156 171q0 71 51 120t158 49q223 0 223 -174q0 -66 -41 -110t-121 -56l527 -1407h-178l-148 397h-528l-144 -397h-168zM383 545h422l-160 436l-51 217h-2l-51 -221zM510 1575q0 -37 21.5 -60.5t67.5 -23.5t69.5 22.5t23.5 60.5t-22.5 61.5 t-68.5 23.5t-68.5 -23.5t-22.5 -60.5z" />
-<glyph unicode="Æ" horiz-adv-x="1732" d="M-45 0l850 1434h784v-152h-610v-469h559v-151h-559v-510h620v-152h-790v406h-438l-230 -406h-186zM459 549h350v680h-8l-70 -211z" />
-<glyph unicode="Ç" horiz-adv-x="1169" d="M115 717q0 373 197 570q171 171 425 171q217 0 334 -49l-41 -149q-98 47 -280 47q-190 0 -312 -131q-143 -154 -143 -459q0 -285 139 -443q129 -147 340 -147q170 0 277 66l41 -134q-91 -71 -301 -82l-35 -65q86 -16 124 -53t38 -109t-66 -124t-184 -52q-43 0 -93 8 l19 80q12 -2 22 -2h21q115 0 126 54q3 14 3 26q0 57 -176 76l86 164q-251 17 -400 194q-161 193 -161 543z" />
-<glyph unicode="È" horiz-adv-x="1097" d="M174 0v1434h780v-152h-610v-469h559v-151h-559v-510h621v-152h-791zM193 1739v43h233l242 -242h-152z" />
-<glyph unicode="É" horiz-adv-x="1097" d="M174 0v1434h780v-152h-610v-469h559v-151h-559v-510h621v-152h-791zM434 1540l242 242h233v-43l-334 -199h-141z" />
-<glyph unicode="Ê" horiz-adv-x="1097" d="M174 0v1434h780v-152h-610v-469h559v-151h-559v-510h621v-152h-791zM223 1530v45l272 207h123l260 -209v-43h-166l-123 100l-34 72l-39 -70l-131 -102h-162z" />
-<glyph unicode="Ë" horiz-adv-x="1097" d="M174 0v1434h780v-152h-610v-469h559v-151h-559v-510h621v-152h-791zM246 1627q0 42 30.5 68.5t78.5 26.5t78 -26.5t30 -68.5t-29.5 -68.5t-78 -26.5t-79 26.5t-30.5 68.5zM639 1627q0 42 29.5 68.5t78 26.5t79 -26.5t30.5 -68.5t-30.5 -68.5t-78.5 -26.5t-78 26.5 t-30 68.5z" />
-<glyph unicode="Ì" horiz-adv-x="595" d="M-76 1739v43h233l242 -242h-152zM213 0v1434h170v-1434h-170z" />
-<glyph unicode="Í" horiz-adv-x="595" d="M127 1540l242 242h233v-43l-334 -199h-141zM213 0v1434h170v-1434h-170z" />
-<glyph unicode="Î" horiz-adv-x="595" d="M-31 1530v45l272 207h123l260 -209v-43h-166l-123 100l-34 72l-39 -70l-131 -102h-162zM213 0v1434h170v-1434h-170z" />
-<glyph unicode="Ï" horiz-adv-x="595" d="M-4 1627q0 42 30.5 68.5t78.5 26.5t78 -26.5t30 -68.5t-29.5 -68.5t-78 -26.5t-79 26.5t-30.5 68.5zM213 0v1434h170v-1434h-170zM389 1627q0 42 29.5 68.5t78 26.5t79 -26.5t30.5 -68.5t-30.5 -68.5t-78.5 -26.5t-78 26.5t-30 68.5z" />
-<glyph unicode="Ð" horiz-adv-x="1347" d="M-2 680v123h184v631q104 16 383 16q332 0 506 -202q162 -188 162 -521q0 -318 -158 -517q-180 -228 -530 -228q-100 0 -174 4t-121 6t-68 6v682h-184zM352 141q40 -8 190 -8t247.5 49t156.5 132q107 153 107 413q0 380 -249 519q-94 52 -235 52h-59q-83 0 -158 -10v-485 h301v-123h-301v-539z" />
-<glyph unicode="Ñ" horiz-adv-x="1378" d="M174 0v1456h90l686 -956l107 -197h10l-23 197v934h160v-1457h-90l-682 961l-110 207h-9l21 -207v-938h-160zM367 1608q107 112 221 112q63 0 122 -24q108 -43 158 -43t99 43l51 -88q-97 -90 -196 -90q-59 0 -118 24q-109 43 -157 43q-70 0 -131 -61z" />
-<glyph unicode="Ò" horiz-adv-x="1400" d="M115 721.5q0 353.5 151.5 545t431.5 191.5q294 0 446 -204q142 -189 142 -542t-152.5 -545t-435.5 -192q-287 0 -441 204q-142 189 -142 542.5zM295 740.5q0 -277.5 101.5 -445.5t296.5 -168t304 144.5t109 445.5q0 399 -224 541q-77 49 -184 49q-188 0 -295.5 -144.5 t-107.5 -422zM365 1739v43h233l242 -242h-152z" />
-<glyph unicode="Ó" horiz-adv-x="1400" d="M115 721.5q0 353.5 151.5 545t431.5 191.5q294 0 446 -204q142 -189 142 -542t-152.5 -545t-435.5 -192q-287 0 -441 204q-142 189 -142 542.5zM295 740.5q0 -277.5 101.5 -445.5t296.5 -168t304 144.5t109 445.5q0 399 -224 541q-77 49 -184 49q-188 0 -295.5 -144.5 t-107.5 -422zM608 1540l242 242h233v-43l-334 -199h-141z" />
-<glyph unicode="Ô" horiz-adv-x="1400" d="M115 721.5q0 353.5 151.5 545t431.5 191.5q294 0 446 -204q142 -189 142 -542t-152.5 -545t-435.5 -192q-287 0 -441 204q-142 189 -142 542.5zM295 740.5q0 -277.5 101.5 -445.5t296.5 -168t304 144.5t109 445.5q0 399 -224 541q-77 49 -184 49q-188 0 -295.5 -144.5 t-107.5 -422zM367 1530v45l272 207h123l260 -209v-43h-166l-123 100l-34 72l-39 -70l-131 -102h-162z" />
-<glyph unicode="Õ" horiz-adv-x="1400" d="M115 721.5q0 353.5 151.5 545t431.5 191.5q294 0 446 -204q142 -189 142 -542t-152.5 -545t-435.5 -192q-287 0 -441 204q-142 189 -142 542.5zM295 740.5q0 -277.5 101.5 -445.5t296.5 -168t304 144.5t109 445.5q0 399 -224 541q-77 49 -184 49q-188 0 -295.5 -144.5 t-107.5 -422zM373 1608q107 112 221 112q63 0 122 -24q108 -43 158 -43t99 43l51 -88q-97 -90 -196 -90q-59 0 -118 24q-109 43 -157 43q-70 0 -131 -61z" />
-<glyph unicode="Ö" horiz-adv-x="1400" d="M115 721.5q0 353.5 151.5 545t431.5 191.5q294 0 446 -204q142 -189 142 -542t-152.5 -545t-435.5 -192q-287 0 -441 204q-142 189 -142 542.5zM295 740.5q0 -277.5 101.5 -445.5t296.5 -168t304 144.5t109 445.5q0 399 -224 541q-77 49 -184 49q-188 0 -295.5 -144.5 t-107.5 -422zM389 1627q0 42 30.5 68.5t78.5 26.5t78 -26.5t30 -68.5t-29.5 -68.5t-78 -26.5t-79 26.5t-30.5 68.5zM782 1627q0 42 29.5 68.5t78 26.5t79 -26.5t30.5 -68.5t-30.5 -68.5t-78.5 -26.5t-78 26.5t-30 68.5z" />
-<glyph unicode="×" horiz-adv-x="1034" d="M152 430l262 264l-258 256l104 109l258 -260l260 260l105 -109l-258 -258l258 -260l-105 -106l-260 262l-260 -262z" />
-<glyph unicode="Ø" horiz-adv-x="1400" d="M115 725q0 350 151.5 541.5t431.5 191.5q226 0 367 -121l86 123l106 -71l-104 -148q133 -192 133 -537t-152.5 -537t-435.5 -192q-219 0 -358 115l-80 -115l-106 74l96 137q-135 189 -135 539zM295 717q0 -215 72 -367l594 842q-102 115 -276.5 115t-282 -144.5 t-107.5 -445.5zM442 233q98 -106 256 -106q190 0 299 144.5t109 445.5q0 206 -70 358z" />
-<glyph unicode="Ù" horiz-adv-x="1335" d="M174 444v990h170v-910q0 -309 194 -370q64 -21 150 -21q166 0 237.5 91t71.5 300v910h164v-957q0 -376 -280 -467q-88 -28 -195 -28q-512 0 -512 462zM359 1739v43h233l242 -242h-152z" />
-<glyph unicode="Ú" horiz-adv-x="1335" d="M174 444v990h170v-910q0 -309 194 -370q64 -21 150 -21q166 0 237.5 91t71.5 300v910h164v-957q0 -376 -280 -467q-88 -28 -195 -28q-512 0 -512 462zM557 1540l242 242h233v-43l-334 -199h-141z" />
-<glyph unicode="Û" horiz-adv-x="1335" d="M174 444v990h170v-910q0 -309 194 -370q64 -21 150 -21q166 0 237.5 91t71.5 300v910h164v-957q0 -376 -280 -467q-88 -28 -195 -28q-512 0 -512 462zM344 1530v45l272 207h123l260 -209v-43h-166l-123 100l-34 72l-39 -70l-131 -102h-162z" />
-<glyph unicode="Ü" horiz-adv-x="1335" d="M174 444v990h170v-910q0 -309 194 -370q64 -21 150 -21q166 0 237.5 91t71.5 300v910h164v-957q0 -376 -280 -467q-88 -28 -195 -28q-512 0 -512 462zM365 1627q0 42 30.5 68.5t78.5 26.5t78 -26.5t30 -68.5t-29.5 -68.5t-78 -26.5t-79 26.5t-30.5 68.5zM758 1627 q0 42 29.5 68.5t78 26.5t79 -26.5t30.5 -68.5t-30.5 -68.5t-78.5 -26.5t-78 26.5t-30 68.5z" />
-<glyph unicode="Ý" horiz-adv-x="1142" d="M16 1434h199l336 -627l35 -125h2l37 129l321 623h182l-469 -863v-571h-170v569zM485 1540l242 242h233v-43l-334 -199h-141z" />
-<glyph unicode="Þ" horiz-adv-x="1144" d="M174 0v1638h170v-358q86 6 178 6t189.5 -18.5t177.5 -67.5q180 -110 180 -354q0 -243 -172 -368q-78 -56 -178.5 -80.5t-158.5 -24.5h-117q-59 0 -99 8v-381h-170zM344 532q20 -8 85 -8h75q265 0 351 160q34 64 34 155t-32 147t-84 90q-96 63 -241.5 63t-187.5 -13v-594z " />
-<glyph unicode="ß" horiz-adv-x="1212" d="M45 881v143h160v47q0 199 97 287t269 88q170 0 274 -83q105 -84 105 -216q0 -78 -39 -125t-85 -84t-85 -72t-39 -83t31 -74.5t78 -47t100.5 -42t100.5 -56.5q108 -80 108 -237q0 -139 -95 -240q-104 -111 -273 -111t-258 58l47 137q25 -12 43 -22.5t40 -16.5 q42 -12 99 -12t97 15.5t71 41.5q65 56 65 130t-30.5 110.5t-76.5 61t-100.5 44t-100.5 48.5q-107 69 -107 200q0 80 37.5 128t86 86t85 73t36.5 79t-19 72.5t-50 49.5q-64 45 -130 45t-106.5 -14.5t-66.5 -47.5q-45 -59 -45 -221v-1020h-164v881h-160z" />
-<glyph unicode="à" horiz-adv-x="1015" d="M80 274q0 248 300 298q93 16 164 16h98q28 0 56 -4q6 61 7 110q0 113 -45.5 158t-163.5 45q-114 0 -237 -42q-38 -13 -66 -30l-52 123q153 92 398 92q193 0 269 -103q56 -76 56 -212l-12 -461q0 -171 29 -268h-121l-43 143h-10q-64 -103 -203 -141q-51 -14 -117 -14 q-133 0 -219 78q-88 81 -88 212zM250 291q0 -72 51 -118t119.5 -46t114 15.5t77.5 39.5q63 45 86 107v170q-58 4 -116 4q-332 0 -332 -172zM297 1432v43h194l134 -306h-93z" />
-<glyph unicode="á" horiz-adv-x="1015" d="M80 274q0 248 300 298q93 16 164 16h98q28 0 56 -4q6 61 7 110q0 113 -45.5 158t-163.5 45q-114 0 -237 -42q-38 -13 -66 -30l-52 123q153 92 398 92q193 0 269 -103q56 -76 56 -212l-12 -461q0 -171 29 -268h-121l-43 143h-10q-64 -103 -203 -141q-51 -14 -117 -14 q-133 0 -219 78q-88 81 -88 212zM250 291q0 -72 51 -118t119.5 -46t114 15.5t77.5 39.5q63 45 86 107v170q-58 4 -116 4q-332 0 -332 -172zM367 1169l121 306h182v-43l-207 -263h-96z" />
-<glyph unicode="â" horiz-adv-x="1015" d="M80 274q0 248 300 298q93 16 164 16h98q28 0 56 -4q6 61 7 110q0 113 -45.5 158t-163.5 45q-114 0 -237 -42q-38 -13 -66 -30l-52 123q153 92 398 92q193 0 269 -103q56 -76 56 -212l-12 -461q0 -171 29 -268h-121l-43 143h-10q-64 -103 -203 -141q-51 -14 -117 -14 q-133 0 -219 78q-88 81 -88 212zM238 1126l252 373h65l228 -373h-148l-80 136l-43 118l-45 -118l-92 -136h-137zM250 291q0 -72 51 -118t119.5 -46t114 15.5t77.5 39.5q63 45 86 107v170q-58 4 -116 4q-332 0 -332 -172z" />
-<glyph unicode="ã" horiz-adv-x="1015" d="M80 274q0 248 300 298q93 16 164 16h98q28 0 56 -4q6 61 7 110q0 113 -45.5 158t-163.5 45q-114 0 -237 -42q-38 -13 -66 -30l-52 123q153 92 398 92q193 0 269 -103q56 -76 56 -212l-12 -461q0 -171 29 -268h-121l-43 143h-10q-64 -103 -203 -141q-51 -14 -117 -14 q-133 0 -219 78q-88 81 -88 212zM223 1343q103 119 199 119q48 0 98.5 -28.5t76 -41t62.5 -12.5t86 50l49 -89q-92 -102 -178 -102q-44 0 -94.5 27.5t-78.5 41t-56 13.5q-53 0 -117 -64zM250 291q0 -72 51 -118t119.5 -46t114 15.5t77.5 39.5q63 45 86 107v170q-58 4 -116 4 q-332 0 -332 -172z" />
-<glyph unicode="ä" horiz-adv-x="1015" d="M80 274q0 248 300 298q93 16 164 16h98q28 0 56 -4q6 61 7 110q0 113 -45.5 158t-163.5 45q-114 0 -237 -42q-38 -13 -66 -30l-52 123q153 92 398 92q193 0 269 -103q56 -76 56 -212l-12 -461q0 -171 29 -268h-121l-43 143h-10q-64 -103 -203 -141q-51 -14 -117 -14 q-133 0 -219 78q-88 81 -88 212zM215 1339q0 45 27.5 74t72.5 29t73 -29t28 -74t-28 -73.5t-73 -28.5t-72.5 28.5t-27.5 73.5zM250 291q0 -72 51 -118t119.5 -46t114 15.5t77.5 39.5q63 45 86 107v170q-58 4 -116 4q-332 0 -332 -172zM608 1339q0 45 27.5 74t73.5 29t74 -29 t28 -74t-27.5 -73.5t-74 -28.5t-74 28.5t-27.5 73.5z" />
-<glyph unicode="å" horiz-adv-x="1015" d="M80 274q0 248 300 298q93 16 164 16h98q28 0 56 -4q6 61 7 110q0 113 -45.5 158t-163.5 45q-114 0 -237 -42q-38 -13 -66 -30l-52 123q153 92 398 92q193 0 269 -103q56 -76 56 -212l-12 -461q0 -171 29 -268h-121l-43 143h-10q-64 -103 -203 -141q-51 -14 -117 -14 q-133 0 -219 78q-88 81 -88 212zM250 291q0 -72 51 -118t119.5 -46t114 15.5t77.5 39.5q63 45 86 107v170q-58 4 -116 4q-332 0 -332 -172zM311 1316q0 87 54 137t142.5 50t145.5 -45t57 -133t-57 -140t-143 -52t-142.5 48t-56.5 135zM421 1320q0 -44 27 -66.5t62 -22.5 q90 0 90 86q0 45 -28 66.5t-62 21.5q-35 0 -62 -20.5t-27 -64.5z" />
-<glyph unicode="æ" horiz-adv-x="1630" d="M80 274q0 248 300 298q93 16 164 16h98q28 0 56 -4q7 108 7 110q0 113 -45.5 159t-163.5 44q-114 0 -237 -42q-38 -13 -66 -30l-52 123q153 92 383 92t293 -133q53 74 143.5 108t170.5 34t149.5 -15.5t124.5 -59.5q125 -100 125 -333q0 -43 -10 -145h-662 q0 -178 75 -277.5t255 -99.5q72 0 140.5 25.5t105.5 56.5l61 -119q-61 -49 -154.5 -78t-208 -29t-216 51.5t-150.5 145.5h-14q-137 -188 -365 -188q-133 0 -219 78q-88 81 -88 212zM250 291q0 -72 51 -118t119.5 -46t114 15.5t77.5 39.5q63 45 86 107v170q-58 4 -116 4 q-332 0 -332 -172zM862 625h508v24q0 139 -62.5 197.5t-174 58.5t-185.5 -63.5t-86 -216.5z" />
-<glyph unicode="ç" horiz-adv-x="923" d="M100 520q0 252 115 390.5t330 138.5q175 0 291 -60l-48 -141q-99 57 -227 57q-291 0 -291 -393q0 -272 161 -360q58 -31 144 -31q136 0 228 72l53 -125q-100 -72 -248 -88l-37 -68q86 -16 124 -53t38 -109t-65.5 -124t-184.5 -52q-42 0 -92 8l19 80q12 -2 22 -2h21 q113 0 125 54q4 14 4 26q0 57 -176 76l86 161q-201 11 -302 159q-90 132 -90 384z" />
-<glyph unicode="è" horiz-adv-x="1040" d="M100 518.5q0 255.5 117 393t334 137.5q169 0 264 -74q125 -98 125 -330q0 -68 -12 -149h-658q0 -279 178 -352q62 -25 142 -25t149.5 24.5t104.5 57.5l61 -119q-61 -49 -154.5 -78t-204 -29t-196.5 38t-141 109q-109 141 -109 396.5zM272 625h508q0 156 -59 218t-174 62 t-187.5 -63.5t-87.5 -216.5zM348 1432v43h194l134 -306h-93z" />
-<glyph unicode="é" horiz-adv-x="1040" d="M100 518.5q0 255.5 117 393t334 137.5q169 0 264 -74q125 -98 125 -330q0 -68 -12 -149h-658q0 -279 178 -352q62 -25 142 -25t149.5 24.5t104.5 57.5l61 -119q-61 -49 -154.5 -78t-204 -29t-196.5 38t-141 109q-109 141 -109 396.5zM272 625h508q0 156 -59 218t-174 62 t-187.5 -63.5t-87.5 -216.5zM475 1169l121 306h182v-43l-207 -263h-96z" />
-<glyph unicode="ê" horiz-adv-x="1040" d="M100 518.5q0 255.5 117 393t334 137.5q169 0 264 -74q125 -98 125 -330q0 -68 -12 -149h-658q0 -279 178 -352q62 -25 142 -25t149.5 24.5t104.5 57.5l61 -119q-61 -49 -154.5 -78t-204 -29t-196.5 38t-141 109q-109 141 -109 396.5zM250 1126l252 373h65l228 -373h-148 l-80 136l-43 118l-45 -118l-92 -136h-137zM272 625h508q0 156 -59 218t-174 62t-187.5 -63.5t-87.5 -216.5z" />
-<glyph unicode="ë" horiz-adv-x="1040" d="M100 518.5q0 255.5 117 393t334 137.5q169 0 264 -74q125 -98 125 -330q0 -68 -12 -149h-658q0 -279 178 -352q62 -25 142 -25t149.5 24.5t104.5 57.5l61 -119q-61 -49 -154.5 -78t-204 -29t-196.5 38t-141 109q-109 141 -109 396.5zM244 1339q0 45 27.5 74t72.5 29 t73 -29t28 -74t-28 -73.5t-73 -28.5t-72.5 28.5t-27.5 73.5zM272 625h508q0 156 -59 218t-174 62t-187.5 -63.5t-87.5 -216.5zM637 1339q0 45 27.5 74t73.5 29t74 -29t28 -74t-27.5 -73.5t-74 -28.5t-74 28.5t-27.5 73.5z" />
-<glyph unicode="ì" horiz-adv-x="548" d="M25 1432v43h194l134 -306h-93zM193 0v1024h163v-1024h-163z" />
-<glyph unicode="í" horiz-adv-x="548" d="M193 0v1024h163v-1024h-163zM195 1169l121 306h182v-43l-207 -263h-96z" />
-<glyph unicode="î" horiz-adv-x="548" d="M-4 1126l252 373h65l228 -373h-148l-80 136l-43 118l-45 -118l-92 -136h-137zM193 0v1024h163v-1024h-163z" />
-<glyph unicode="ï" horiz-adv-x="548" d="M-24 1339q0 45 27.5 74t72.5 29t73 -29t28 -74t-28 -73.5t-73 -28.5t-72.5 28.5t-27.5 73.5zM193 0v1024h163v-1024h-163zM369 1339q0 45 27.5 74t73.5 29t74 -29t28 -74t-27.5 -73.5t-74 -28.5t-74 28.5t-27.5 73.5z" />
-<glyph unicode="ð" horiz-adv-x="1148" d="M115 514q0 226 117 372q128 158 341 158q92 0 163 -28.5t100 -65.5q-45 148 -174 264l-156 -84l-55 91l116 63q-78 47 -155 66l71 110q135 -51 213 -106l140 76l53 -93l-103 -55q250 -240 250 -678q0 -313 -136 -480q-120 -149 -322 -149q-238 0 -357 160 q-106 143 -106 379zM283 503q0 -91 22.5 -165t62.5 -123q78 -96 218 -96q201 0 266 258q22 90 22 163.5t-1 99.5l-2 52q-2 52 -11 88q-30 54 -112 90q-70 29 -154 29t-142.5 -29.5t-96.5 -82t-55 -123t-17 -161.5z" />
-<glyph unicode="ñ" horiz-adv-x="1120" d="M158 0v1024h114l31 -125h8q49 66 132 108t182.5 42t163 -19.5t105.5 -69.5q85 -100 85 -342v-618h-164v584q0 160 -46 240.5t-162 80.5t-186.5 -58.5t-98.5 -146.5v-700h-164zM275 1343q103 119 199 119q48 0 98.5 -28.5t76 -41t62.5 -12.5t86 50l49 -89 q-92 -102 -178 -102q-44 0 -94.5 27.5t-78.5 41t-56 13.5q-53 0 -117 -64z" />
-<glyph unicode="ò" horiz-adv-x="1097" d="M100 512q0 260 116 398.5t333 138.5q226 0 340 -147q108 -139 108 -394.5t-115.5 -394t-332.5 -138.5q-336 0 -422 317q-27 99 -27 220zM270 512q0 -269 150 -360q53 -33 129 -33q279 -2 278 393q0 273 -149 362q-53 31 -129 31q-279 2 -279 -393zM322 1432v43h194 l134 -306h-93z" />
-<glyph unicode="ó" horiz-adv-x="1097" d="M100 512q0 260 116 398.5t333 138.5q226 0 340 -147q108 -139 108 -394.5t-115.5 -394t-332.5 -138.5q-336 0 -422 317q-27 99 -27 220zM270 512q0 -269 150 -360q53 -33 129 -33q279 -2 278 393q0 273 -149 362q-53 31 -129 31q-279 2 -279 -393zM465 1169l121 306h182 v-43l-207 -263h-96z" />
-<glyph unicode="ô" horiz-adv-x="1097" d="M100 512q0 260 116 398.5t333 138.5q226 0 340 -147q108 -139 108 -394.5t-115.5 -394t-332.5 -138.5q-336 0 -422 317q-27 99 -27 220zM270 512q0 -269 150 -360q53 -33 129 -33q279 -2 278 393q0 273 -149 362q-53 31 -129 31q-279 2 -279 -393zM277 1126l252 373h65 l228 -373h-148l-80 136l-43 118l-45 -118l-92 -136h-137z" />
-<glyph unicode="õ" horiz-adv-x="1097" d="M100 512q0 260 116 398.5t333 138.5q226 0 340 -147q108 -139 108 -394.5t-115.5 -394t-332.5 -138.5q-336 0 -422 317q-27 99 -27 220zM264 1343q103 119 199 119q48 0 98.5 -28.5t76 -41t62.5 -12.5t86 50l49 -89q-92 -102 -178 -102q-44 0 -94.5 27.5t-78.5 41 t-56 13.5q-53 0 -117 -64zM270 512q0 -269 150 -360q53 -33 129 -33q279 -2 278 393q0 273 -149 362q-53 31 -129 31q-279 2 -279 -393z" />
-<glyph unicode="ö" horiz-adv-x="1097" d="M100 512q0 260 116 398.5t333 138.5q226 0 340 -147q108 -139 108 -394.5t-115.5 -394t-332.5 -138.5q-336 0 -422 317q-27 99 -27 220zM254 1339q0 45 27.5 74t72.5 29t73 -29t28 -74t-28 -73.5t-73 -28.5t-72.5 28.5t-27.5 73.5zM270 512q0 -269 150 -360 q53 -33 129 -33q279 -2 278 393q0 273 -149 362q-53 31 -129 31q-279 2 -279 -393zM647 1339q0 45 27.5 74t73.5 29t74 -29t28 -74t-27.5 -73.5t-74 -28.5t-74 28.5t-27.5 73.5z" />
-<glyph unicode="÷" horiz-adv-x="1034" d="M82 618v148h868v-148h-868zM397 308q0 54 32 86t86 32t87 -32t33 -86t-33 -87t-87 -33t-86 33t-32 87zM397 1076q0 54 32 86t86 32t87 -32t33 -86t-33 -87t-87 -33t-86 33t-32 87z" />
-<glyph unicode="ø" horiz-adv-x="1097" d="M100 527q0 245 116 383.5t333 138.5q150 0 250 -66l53 72l102 -76l-59 -86q102 -135 102 -388t-115.5 -391.5t-332.5 -138.5q-160 0 -262 72l-56 -76l-106 78l68 94q-93 139 -93 384zM270 512q0 -126 37 -223l404 561q-68 55 -162 55q-279 2 -279 -393zM377 180 q75 -61 172 -61q278 -2 278 393q0 143 -43 236z" />
-<glyph unicode="ù" horiz-adv-x="1103" d="M141 406v618h164v-584q0 -166 41 -240q46 -81 160 -81q148 0 234 136q26 40 42 85v684h164v-733q0 -187 23 -291h-113l-41 162h-10q-110 -187 -330 -187q-174 0 -249 89q-85 100 -85 342zM303 1432v43h194l134 -306h-93z" />
-<glyph unicode="ú" horiz-adv-x="1103" d="M141 406v618h164v-584q0 -166 41 -240q46 -81 160 -81q148 0 234 136q26 40 42 85v684h164v-733q0 -187 23 -291h-113l-41 162h-10q-110 -187 -330 -187q-174 0 -249 89q-85 100 -85 342zM463 1169l121 306h182v-43l-207 -263h-96z" />
-<glyph unicode="û" horiz-adv-x="1103" d="M141 406v618h164v-584q0 -166 41 -240q46 -81 160 -81q148 0 234 136q26 40 42 85v684h164v-733q0 -187 23 -291h-113l-41 162h-10q-110 -187 -330 -187q-174 0 -249 89q-85 100 -85 342zM281 1126l252 373h65l228 -373h-148l-80 136l-43 118l-45 -118l-92 -136h-137z " />
-<glyph unicode="ü" horiz-adv-x="1103" d="M141 406v618h164v-584q0 -166 41 -240q46 -81 160 -81q148 0 234 136q26 40 42 85v684h164v-733q0 -187 23 -291h-113l-41 162h-10q-110 -187 -330 -187q-174 0 -249 89q-85 100 -85 342zM256 1339q0 45 27.5 74t72.5 29t73 -29t28 -74t-28 -73.5t-73 -28.5t-72.5 28.5 t-27.5 73.5zM649 1339q0 45 27.5 74t73.5 29t74 -29t28 -74t-27.5 -73.5t-74 -28.5t-74 28.5t-27.5 73.5z" />
-<glyph unicode="ý" horiz-adv-x="954" d="M25 1024h188l246 -664l57 -196h10l45 198l199 662h166l-303 -920q-35 -100 -69 -194t-74 -168q-89 -162 -211 -162q-74 0 -121 21l28 141q27 -10 52 -10q57 0 110 60.5t88 207.5zM447 1169l121 306h182v-43l-207 -263h-96z" />
-<glyph unicode="þ" horiz-adv-x="1107" d="M158 -410v1844h164v-512h8q88 127 282.5 127t295 -121t100.5 -396q0 -255 -130 -407q-128 -150 -348 -150q-113 0 -208 41v-426h-164zM322 176q73 -57 211 -57t221.5 105.5t83.5 310.5q0 370 -267 370q-201 2 -249 -219v-510z" />
-<glyph unicode="ÿ" horiz-adv-x="954" d="M25 1024h188l246 -664l57 -196h10l45 198l199 662h166l-303 -920q-35 -100 -69 -194t-74 -168q-89 -162 -211 -162q-74 0 -121 21l28 141q27 -10 52 -10q57 0 110 60.5t88 207.5zM182 1339q0 45 27.5 74t72.5 29t73 -29t28 -74t-28 -73.5t-73 -28.5t-72.5 28.5 t-27.5 73.5zM575 1339q0 45 27.5 74t73.5 29t74 -29t28 -74t-27.5 -73.5t-74 -28.5t-74 28.5t-27.5 73.5z" />
-<glyph unicode="Œ" horiz-adv-x="1908" d="M115 721.5q0 353.5 151.5 545t431.5 191.5q131 0 287 -24h780v-152h-610v-469h559v-151h-559v-510h621v-152h-791q-127 -25 -282 -25t-264 53.5t-182 150.5q-142 189 -142 542.5zM295 717q0 -405 229 -542q80 -48 165 -48t147.5 4t148.5 31v1104q-102 41 -288.5 41 t-294 -144.5t-107.5 -445.5z" />
-<glyph unicode="œ" horiz-adv-x="1757" d="M100 512q0 260 116 398.5t333 138.5q129 0 218 -53.5t142 -135.5q53 86 144.5 137.5t188 51.5t166 -15.5t124.5 -58.5t90 -122t35 -184t-10 -173h-662q0 -286 179 -354q63 -25 144 -25t149.5 25.5t103.5 58.5l61 -119q-61 -49 -154.5 -78t-209 -29t-208 51.5 t-145.5 139.5q-114 -191 -356 -191q-336 0 -422 317q-27 99 -27 220zM270 512q0 -272 150 -362q53 -31 129 -31q276 -2 276 393q0 274 -147 362q-53 31 -129 31q-279 2 -279 -393zM989 625h508v18q0 264 -235 264q-111 0 -184.5 -64.5t-88.5 -217.5z" />
-<glyph unicode="Ÿ" horiz-adv-x="1142" d="M16 1434h199l336 -627l35 -125h2l37 129l321 623h182l-469 -863v-571h-170v569zM273 1627q0 42 30.5 68.5t78.5 26.5t78 -26.5t30 -68.5t-29.5 -68.5t-78 -26.5t-79 26.5t-30.5 68.5zM666 1627q0 42 29.5 68.5t78 26.5t79 -26.5t30.5 -68.5t-30.5 -68.5t-78.5 -26.5 t-78 26.5t-30 68.5z" />
-<glyph unicode="ˆ" horiz-adv-x="790" d="M123 1126l252 373h65l228 -373h-148l-80 136l-43 118l-45 -118l-92 -136h-137z" />
-<glyph unicode="˜" horiz-adv-x="817" d="M123 1343q103 119 199 119q48 0 98.5 -28.5t76 -41t62.5 -12.5t86 50l49 -89q-92 -102 -178 -102q-44 0 -94.5 27.5t-78.5 41t-56 13.5q-53 0 -117 -64z" />
-<glyph unicode=" " horiz-adv-x="891" />
-<glyph unicode=" " horiz-adv-x="1782" />
-<glyph unicode=" " horiz-adv-x="891" />
-<glyph unicode=" " horiz-adv-x="1782" />
-<glyph unicode=" " horiz-adv-x="594" />
-<glyph unicode=" " horiz-adv-x="445" />
-<glyph unicode=" " horiz-adv-x="297" />
-<glyph unicode=" " horiz-adv-x="297" />
-<glyph unicode=" " horiz-adv-x="222" />
-<glyph unicode=" " horiz-adv-x="356" />
-<glyph unicode=" " horiz-adv-x="99" />
-<glyph unicode="‐" horiz-adv-x="737" d="M121 514v152h495v-152h-495z" />
-<glyph unicode="‑" horiz-adv-x="737" d="M121 514v152h495v-152h-495z" />
-<glyph unicode="‒" horiz-adv-x="737" d="M121 514v152h495v-152h-495z" />
-<glyph unicode="–" horiz-adv-x="1351" d="M242 514v152h868v-152h-868z" />
-<glyph unicode="—" horiz-adv-x="1679" d="M242 514v152h1196v-152h-1196z" />
-<glyph unicode="‘" horiz-adv-x="397" d="M82 1311q0 70 19.5 118t46.5 81q50 61 110 83l51 -71q-100 -51 -100 -156q8 2 35.5 2t50 -28.5t22.5 -72.5t-30.5 -72t-81.5 -28t-87 37t-36 107z" />
-<glyph unicode="’" horiz-adv-x="397" d="M82 1351q0 46 29.5 72.5t81.5 26.5t88 -36t36 -105.5t-19 -118.5t-47 -83q-51 -62 -112 -83l-51 70q100 53 100 157q-8 -2 -34.5 -2t-49 28t-22.5 74z" />
-<glyph unicode="‚" horiz-adv-x="397" d="M82 104q0 46 29.5 72.5t81.5 26.5t88 -36t36 -105.5t-19 -118.5t-47 -83q-51 -62 -112 -83l-51 70q100 53 100 157q-8 -2 -34.5 -2t-49 28t-22.5 74z" />
-<glyph unicode="“" horiz-adv-x="696" d="M82 1311q0 70 19.5 118t46.5 81q50 61 110 83l51 -71q-100 -51 -100 -156q8 2 35.5 2t50 -28.5t22.5 -72.5t-30.5 -72t-81.5 -28t-87 37t-36 107zM381 1311q0 70 19.5 118t46.5 81q50 61 110 83l51 -71q-100 -51 -100 -156q8 2 35.5 2t50 -28.5t22.5 -72.5t-30.5 -72 t-81.5 -28t-87 37t-36 107z" />
-<glyph unicode="”" horiz-adv-x="696" d="M82 1351q0 46 29.5 72.5t81.5 26.5t88 -36t36 -105.5t-19 -118.5t-47 -83q-51 -62 -112 -83l-51 70q100 53 100 157q-8 -2 -34.5 -2t-49 28t-22.5 74zM381 1351q0 46 29.5 72.5t81.5 26.5t88 -36t36 -105.5t-19 -118.5t-47 -83q-51 -62 -112 -83l-51 70q100 53 100 157 q-8 -2 -34.5 -2t-49 28t-22.5 74z" />
-<glyph unicode="„" horiz-adv-x="696" d="M82 104q0 46 29.5 72.5t81.5 26.5t88 -36t36 -105.5t-19 -118.5t-47 -83q-51 -62 -112 -83l-51 70q100 53 100 157q-8 -2 -34.5 -2t-49 28t-22.5 74zM381 104q0 46 29.5 72.5t81.5 26.5t88 -36t36 -105.5t-19 -118.5t-47 -83q-51 -62 -112 -83l-51 70q100 53 100 157 q-8 -2 -34.5 -2t-49 28t-22.5 74z" />
-<glyph unicode="•" horiz-adv-x="925" d="M178 634q0 66 22.5 118.5t60.5 90.5q79 79 202 79q189 0 262 -165q23 -52 23 -120q0 -127 -84 -209q-77 -76 -201 -76t-202 76q-83 81 -83 206z" />
-<glyph unicode="…" horiz-adv-x="1554" d="M145 95q0 54 32 86t86 32t87 -31.5t33 -86t-33 -87.5t-87 -33t-86 33t-32 87zM666 95q0 54 31.5 86t85.5 32t87 -31.5t33 -86t-32.5 -87.5t-87 -33t-86 33t-31.5 87zM1186 95q0 54 31.5 86t86 32t87 -31.5t32.5 -86t-32.5 -87.5t-86.5 -33t-86 33t-32 87z" />
-<glyph unicode=" " horiz-adv-x="356" />
-<glyph unicode="‹" horiz-adv-x="608" d="M80 530l328 471l108 -88l-199 -297l-98 -84l98 -73l211 -291l-108 -90z" />
-<glyph unicode="›" horiz-adv-x="608" d="M80 911l108 90l340 -452l-327 -471l-109 88l199 297l98 84l-98 74z" />
-<glyph unicode=" " horiz-adv-x="445" />
-<glyph unicode="€" d="M20 514l37 135h111v107q0 18 2 39h-150l37 135h127q43 266 204 404q144 124 366 124q194 0 311 -49l-45 -145q-96 47 -264 47q-321 0 -398 -381h578l-35 -135h-557q-2 -18 -2 -38v-39v-36q0 -16 2 -33h516l-35 -135h-467q69 -391 426 -391q151 0 260 65l41 -129 q-109 -84 -335 -84q-491 0 -570 539h-160z" />
-<glyph unicode="™" horiz-adv-x="1812" d="M78 1294v140h717v-140h-279v-598h-160v598h-278zM877 696v738h159l215 -344l58 -119h2l61 123l199 340h162v-738h-156v342l20 211h-8l-80 -174l-178 -287h-67l-183 285l-73 176h-9l27 -209v-344h-149z" />
-<glyph unicode="" horiz-adv-x="1024" d="M0 0v1024h1024v-1024h-1024z" />
-</font>
-</defs></svg>
\ No newline at end of file
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/ptsans/pts55f-webfont.ttf has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/ptsans/pts55f-webfont.woff has changed
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/frontend/timeline.css Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,544 +0,0 @@
-
-@font-face {
- font-family: 'BebasNeueRegular';
- src: url('bebas/bebasneue-webfont.eot');
- src: url('bebas/bebasneue-webfont.eot?#iefix') format('embedded-opentype'),
- url('bebas/bebasneue-webfont.woff') format('woff'),
- url('bebas/bebasneue-webfont.ttf') format('truetype'),
- url('bebas/bebasneue-webfont.svg#BebasNeueRegular') format('svg');
- font-weight: normal;
- font-style: normal;
-
-}
-
-/* --- IMAGE --- */
-
-.timeline a.timeline_rollover_bottom,
-.timeline a.timeline_rollover_right,
-.timeline a.timeline_rollover_top,
-.timeline a.timeline_rollover_left
-{
- margin:0;
- display:block;
- position:relative;
- overflow:hidden;
-}
-
-.timeline a.timeline_rollover_bottom img,
-.timeline a.timeline_rollover_right img,
-.timeline a.timeline_rollover_top img,
-.timeline a.timeline_rollover_left img {
- display:block;
-}
-.timeline .image_roll_zoom {
- display:inline-block;
- width:100%;
- height:100%;
- position:absolute;
- background:url(../images/zoomIn.png) no-repeat center center;
-}
-.timeline .image_roll_glass {
- display:none;
- width:100%;
- height:100%;
- position:absolute;
- top:0;
- left:0;
- background:url('../images/glass.png') repeat;
-}
-
-
-.timeline,
-#content .timeline {
- height:0;
- overflow:hidden;
- position:relative;
-}
-.timelineLoader {
- width:100%;
- text-align:center;
- padding:150px 0;
-}
-
-
-/* fixed line holder */
-.timeline .timeline_line,
-#content .timeline .timeline_line {
- margin-top:10px;
- margin-bottom:10px;
- width:100%;
-}
-
-/* full (including months that are not shown) line holder */
-.timeline .t_line_holder,
-#content .timeline .t_line_holder {
- height:80px;
- background:url('../images/timeline/light/line.jpg') repeat-x 0px 39px;
-}
-
-.timeline.darkLine .t_line_holder,
-#content .timeline.darkLine .t_line_holder {
- background:url('../images/timeline/dark/line.jpg') repeat-x 0px 39px;
-}
-
-/* 2 months are stored in one view */
-.timeline .t_line_view,
-#content .timeline .t_line_view {
- height:20px;
- width:100%;
-}
-
-/* holder for year number */
-.timeline h3.t_line_year,
-#content .timeline h3.t_line_year {
- font-family: 'BebasNeueRegular';
- font-weight:normal;
- font-size:22px;
- margin:0;
- color:#545454;
-}
-
-/* holder for 1 month (constist of nodes and month caption) - we use borders to separate months thats why it has width 2px less then 50% */
-.timeline .t_line_m,
-#content .timeline .t_line_m {
- margin-top:35px;
- height:10px;
- border-left:1px solid #545454;
- border-right:1px solid #545454;
- width:448px;
-}
-
-/* month on the right side - has left set at 459 so border would overlap border from first element (to evade duplicated borders) */
-.timeline .t_line_m.right,
-#content .timeline .t_line_m.right {
- left:449px;
- width:449px;
-}
-
-/* month caption */
-.timeline h4.t_line_month,
-#content .timeline h4.t_line_month {
- font-family: 'BebasNeueRegular';
- font-weight:normal;
- font-size:20px;
- margin:-30px 0 0;
- color:#545454;
-}
-
-/* used in responsive layout when only one month is shown (it is span containing year) */
-.t_line_month_year,
-#content .t_line_month_year {
- display:none;
-}
-
-/* node on the timeline */
-.timeline a.t_line_node,
-#content .timeline a.t_line_node {
- text-decoration:none;
- padding:38px 0 4px;
- height:10px;
- font-size:12px;
- top:-25px;
- background:url('../images/timeline/light/dot.png') no-repeat center 24px;
- color:#141817;
-}
-.timeline.darkLine a.t_line_node,
-#content .timeline.darkLine a.t_line_node {
- background:url('../images/timeline/dark/dot.png') no-repeat center 24px;
-}
-
-.timeline a.t_line_node:hover,
-#content .timeline a.t_line_node:hover {
- background:url('../images/timeline/light/dot-rollover.png') no-repeat center 24px;
-}
-
-.timeline.darkLine a.t_line_node:hover,
-#content .timeline.darkLine a.t_line_node:hover {
- background:url('../images/timeline/dark/dot-rollover.png') no-repeat center 24px;
-}
-.timeline a.t_line_node.active,
-#content .timeline a.t_line_node.active {
- background:url('../images/timeline/light/dot-selected.png') no-repeat center 24px;
-}
-
-.timeline.darkLine a.t_line_node.active,
-#content .timeline.darkLine a.t_line_node.active {
- background:url('../images/timeline/dark/dot-selected.png') no-repeat center 24px;
-}
-
-/* node description */
-.timeline .t_node_desc,
-#content .timeline .t_node_desc {
- background: rgb(26,134,172);
- opacity:0.9;
- filter:alpha(opacity=90);
- top:0;
- color:#fff;
- padding:1px 5px;
-}
-
-/* descriptions on right side go from right to left */
-.timeline .t_node_desc.pos_right,
-#content .timeline .t_node_desc.pos_right {
- right:0;
-}
-
-/* line arrow left */
-.timeline #t_line_left,
-#content .timeline #t_line_left {
- cursor:pointer;
- left:-30px;
- top:30px;
- width:14px;
- height:19px;
- background:url('../images/timeline/light/arrow.png') no-repeat left top;
-}
-.timeline.darkLine #t_line_left,
-#content .timeline.darkLine #t_line_left {
- background:url('../images/timeline/dark/arrow.png') no-repeat left bottom;
-}
-.timeline #t_line_left:hover,
-#content .timeline #t_line_left:hover {
- background:url('../images/timeline/light/arrow.png') no-repeat left bottom;
-}
-.timeline.darkLine #t_line_left:hover,
-#content .timeline.darkLine #t_line_left:hover {
- background:url('../images/timeline/dark/arrow.png') no-repeat left top;
-}
-
-/* line arrow right */
-.timeline #t_line_right,
-#content .timeline #t_line_right {
- cursor:pointer;
- right:-30px;
- top:30px;
- width:14px;
- height:19px;
- background:url('../images/timeline/light/arrow.png') no-repeat right top;
-}
-.timeline.darkLine #t_line_right,
-#content .timeline.darkLine #t_line_right {
- background:url('../images/timeline/dark/arrow.png') no-repeat right bottom;
-}
-.timeline #t_line_right:hover,
-#content .timeline #t_line_right:hover {
- background:url('../images/timeline/light/arrow.png') no-repeat right bottom;
-}
-.timeline.darkLine #t_line_right:hover,
-#content .timeline.darkLine #t_line_right:hover {
- background:url('../images/timeline/dark/arrow.png') no-repeat right top;
-}
-
-/* items container */
-.timeline .timeline_items,
-#content .timeline .timeline_items {
- padding:10px 0;
-}
-
-/* single item (margines set from javascript) */
-.timeline .item,
-#content .timeline .item {
- height:380px;
- text-align:center;
- background:url('../images/timeline/light/background-white.jpg') repeat;
- color:#545454;
- -moz-box-shadow: -3px 1px 6px rgba(0,0,0,0.4);
- -webkit-box-shadow: -3px 1px 6px rgba(0,0,0,0.4);
- box-shadow: -3px 1px 6px rgba(0,0,0,0.4);
- width:200px;
-}
-.timeline .item.item_node_hover,
-#content .timeline .item.item_node_hover {
- -moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.9);
- -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.9);
- box-shadow: 0px 0px 10px rgba(0,0,0,0.9);
-}
-/* ----- content - non-plugin elements ----- */
-.timeline .item img,
-#content .timeline .item img {
- margin:0;
- padding:0;
- border:0;
-}
-
-.timeline .con_borderImage,
-#content .timeline .con_borderImage {
- border:0;
- border-bottom:5px solid #1a86ac;
-}
-
-.timeline .item span,
-#content .timeline .item span{
- display:block;
- margin:0px 20px 10px;
-}
-.timeline .item .read_more,
-#content .timeline .item .read_more {
- position:absolute;
- bottom:15px;
- right:0px;
- padding:2px 8px 2px 10px;
- font-family: 'BebasNeueRegular' !important;
- font-weight:normal !important;
- font-size:20px !important;
- line-height:20px !important;
- color:#ffffff !important;
- background: rgba(0,0,0,0.35);
- cursor:pointer;
-}
-.timeline .item .read_more:hover,
-#content .timeline .item .read_more:hover {
- background:rgb(26,134,172);
-}
-/* ----------------------------------------- */
-
-/* item details (margines set from javascript) */
-.timeline .item_open,
-#content .timeline .item_open {
- height:380px;
- background:url('../images/timeline/light/background.jpg') repeat;
- position:relative;
- color:#545454;
- z-index:2;
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.4);
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.4);
- box-shadow: 0px 0px 6px rgba(0,0,0,0.4);
- width:490px;
-
-}
-
-/* item details content wrapper (used for animation - shuld have same width as .item_open) */
-.timeline .item_open_cwrapper,
-#content .timeline .item_open_cwrapper {
- width:490px;
- height:100%;
-}
-
-.timeline .item_open_content,
-#content .timeline .item_open_content {
- width:100%;
- height:100%;
- position:relative;
-}
-
-.timeline .item_open_content .ajaxloader,
-#content .timeline .item_open_content .ajaxloader {
- position:absolute;
- top:50%;
- left:50%;
- margin:-10px 0 0 -100px;
-
-}
-
-
-
-/* ----- content - non-plugin elements ----- */
-.timeline .timeline_open_content,
-#content .timeline .timeline_open_content {
- padding:15px 10px 15px 15px ;
-}
-
-.timeline .item_open h2,
-#content .timeline .item_open h2 {
- margin-top:10px;
- padding-top:0;
- font-size:28px;
-}
-.timeline .item_open .t_close,
-#content .timeline .item_open .t_close {
- position:absolute;
- top:10px;
- right:10px;
- padding:2px 8px 2px 10px;
- font-family: 'BebasNeueRegular' !important;
- font-weight:normal !important;
- font-size:20px !important;
- line-height:20px !important;
- color:#ffffff !important;
- background: rgba(0,0,0,0.25);
- cursor:pointer;
- z-index:3;
-}
-.timeline .item_open .t_close:hover,
-#content .timeline .item_open .t_close:hover {
- background:rgb(26,134,172);
-}
-/* ----------------------------------------- */
-
-/* left/right controles */
-.timeline .t_controles,
-#content .timeline .t_controles {
- margin:10px auto;
- text-align:center;
-}
-.timeline .t_left,
-.timeline .t_right,
-#content .timeline .t_left,
-#content .timeline .t_right {
- display:inline-block;
- height:50px;
- width:29px;
- margin:10px;
- cursor:pointer;
-}
-.timeline .t_left,
-.timeline .t_left:hover:active,
-#content .timeline .t_left,
-#content .timeline .t_left:hover:active {
- background: url('../images/timeline/light/big-arrow.png') no-repeat left top;
-}
-.timeline .t_left:hover,
-#content .timeline .t_left:hover {
- background: url('../images/timeline/light/big-arrow.png') no-repeat left bottom;
-}
-.timeline.darkNav .t_left,
-.timeline.darkNav .t_left:hover:active,
-#content .timeline.darkNav .t_left,
-#content .timeline.darkNav .t_left:hover:active {
- background: url('../images/timeline/dark/big-arrow.png') no-repeat left bottom;
-}
-.timeline.darkNav .t_left:hover,
-#content .timeline.darkNav .t_left:hover {
- background: url('../images/timeline/dark/big-arrow.png') no-repeat left top;
-}
-
-.timeline .t_right,
-.timeline .t_right:hover:active,
-#content .timeline .t_right,
-#content .timeline .t_right:hover:active{
- background: url('../images/timeline/light/big-arrow.png') no-repeat right top;
-}
-
-.timeline .t_right:hover,
-#content .timeline .t_right:hover {
- background: url('../images/timeline/light/big-arrow.png') no-repeat right bottom;
-}
-
-.timeline.darkNav .t_right,
-.timeline.darkNav .t_right:hover:active,
-#content .timeline.darkNav .t_right,
-#content .timeline.darkNav .t_right:hover:active{
- background: url('../images/timeline/dark/big-arrow.png') no-repeat right bottom;
-}
-
-.timeline.darkNav .t_right:hover,
-#content .timeline.darkNav .t_right:hover {
- background: url('../images/timeline/dark/big-arrow.png') no-repeat right top;
-}
-
-/* -----------------------------------------------------------------------*/
-/* ------------------------------ RESPONSIVE -----------------------------*/
-/* -----------------------------------------------------------------------*/
-
-
-
-/* --- 768px --- */
-@media screen and (max-width:980px) {
-
- .timeline .timeline_line,
- #content .timeline .timeline_line {
- width:680px !important;
- }
-
- .timeline .t_line_view,
- #content .timeline .t_line_view {
- width:680px !important;
- }
-
- .timeline .t_line_m,
- #content .timeline .t_line_m {
- width: 338px !important;
- }
- .timeline .t_line_m.right,
- #content .timeline .t_line_m.right {
- left: 339px !important;
- width: 339px !important;
- }
-}
-
-
-/* --- 610px --- */
-@media screen and (max-width:768px) {
-
- .timeline .timeline_line,
- #content .timeline .timeline_line {
- width:530px !important;
- }
-
- .timeline .t_line_view,
- #content .timeline .t_line_view {
- width:1060px !important;
- }
-
- .timeline .t_line_m,
- #content .timeline .t_line_m {
- width: 528px !important;
- }
- .timeline .t_line_m.right,
- #content .timeline .t_line_m.right {
- left: 530px !important;
- width: 528px !important;
- }
- .timeline .t_line_year,
- #content .timeline .t_line_year {
- opacity:0 !important;
- filter:alpha(opacity=0) !important;
- }
- .timeline .t_line_month_year,
- #content .timeline .t_line_month_year {
- display:inline !important;
- }
-
- .timeline .t_line_node span,
- #content .timeline .t_line_node span {
-
- }
- .timeline .t_node_desc,
- #content .timeline .t_node_desc {
- font-size:8px !important;
- }
- .timeline .t_node_desc.pos_right,
- #content .timeline .t_node_desc.pos_right {
- right:auto !important;
- left:0 !important;
- }
-}
-
-
-/* --- 300px --- */
-@media screen and (max-width:610px) {
- .timeline .timeline_line,
- #content .timeline .timeline_line {
- width:220px !important;
- }
-
- .timeline .t_line_view,
- #content .timeline .t_line_view {
- width:440px !important;
- }
-
- .timeline .t_line_m,
- #content .timeline .t_line_m {
- width: 218px !important;
- }
- .timeline .t_line_m.right,
- #content .timeline .t_line_m.right {
- left: 220px !important;
- width: 218px !important;
- }
-
- .timeline .item_open,
- #content .timeline .item_open {
- width:260px !important;
- }
- .timeline .item_open img,
- #content .timeline .item_open img {
- max-width:260px !important;
- }
- .timeline .item_open_cwrapper,
- #content .timeline .item_open_cwrapper {
- width:260px !important;
- }
-}
-
-
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/glass.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/dark/arrow.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/dark/background-blue.jpg has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/dark/background-gray.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/dark/big-arrow.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/dark/dot-rollover.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/dark/dot-selected.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/dark/dot.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/dark/line.jpg has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/light/arrow.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/light/background-white.jpg has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/light/background.jpg has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/light/bar.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/light/big-arrow.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/light/dot-rollover.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/light/dot-selected.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/light/dot.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/timeline/light/line.jpg has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/images/zoomIn.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/loadingAnimation.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/macFFBgHack.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/tb-close.png has changed
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/css/thickbox.css Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,163 +0,0 @@
-
-/* ----------------------------------------------------------------------------------------------------------------*/
-/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
-/* ----------------------------------------------------------------------------------------------------------------*/
-#TBct_window {
- font: 12px "Lucida Grande", Verdana, Arial, sans-serif;
- color: #333333;
-}
-
-#TBct_secondLine {
- font: 10px "Lucida Grande", Verdana, Arial, sans-serif;
- color:#666666;
-}
-
-#TBct_window a:link {color: #666666;}
-#TBct_window a:visited {color: #666666;}
-#TBct_window a:hover {color: #000;}
-#TBct_window a:active {color: #666666;}
-#TBct_window a:focus{color: #666666;}
-
-/* ----------------------------------------------------------------------------------------------------------------*/
-/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
-/* ----------------------------------------------------------------------------------------------------------------*/
-#TBct_overlay {
- position: fixed;
- z-index:100;
- top: 0px;
- left: 0px;
- height:100%;
- width:100%;
-}
-
-.TBct_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
-.TBct_overlayBG {
- background-color:#000;
- -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
- filter:alpha(opacity=75);
- -moz-opacity: 0.75;
- opacity: 0.75;
-}
-
-* html #TBct_overlay { /* ie6 hack */
- position: absolute;
- height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
-}
-
-#TBct_window {
- position: fixed;
- background: #ffffff;
- z-index: 102;
- color:#000000;
- visibility: hidden;
- text-align:left;
- top:50%;
- left:50%;
- border: 1px solid #555;
- -moz-box-shadow: rgba(0,0,0,1) 0 4px 30px;
- -webkit-box-shadow: rgba(0,0,0,1) 0 4px 30px;
- -khtml-box-shadow: rgba(0,0,0,1) 0 4px 30px;
- box-shadow: rgba(0,0,0,1) 0 4px 30px;
-}
-
-* html #TBct_window { /* ie6 hack */
-position: absolute;
-margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBctWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
-}
-
-#TBct_window img#TBct_Image {
- display:block;
- margin: 15px 0 0 15px;
- border-right: 1px solid #ccc;
- border-bottom: 1px solid #ccc;
- border-top: 1px solid #666;
- border-left: 1px solid #666;
-}
-
-#TBct_caption{
- height:25px;
- padding:7px 30px 10px 25px;
- float:left;
-}
-
-#TBct_closeWindow{
- height:25px;
- padding:11px 25px 10px 0;
- float:right;
-}
-
-#TBct_closeAjaxWindow{
- padding:6px 10px 0;
- text-align:right;
- float:right;
-}
-
-#TBct_ajaxWindowTitle{
- float:left;
- padding:6px 10px 0;
- color:#fff;
-}
-
-#TBct_title{
- background-color:#222222;
- height:27px;
-}
-
-#TBct_ajaxContent{
- clear:both;
- padding:2px 15px 15px 15px;
- overflow:auto;
- text-align:left;
- line-height:1.4em;
-}
-
-#TBct_ajaxContent.TBct_modal{
- padding:15px;
-}
-
-#TBct_ajaxContent p{
- padding:5px 0px 5px 0px;
-}
-
-#TBct_load{
- position: fixed;
- display:none;
- z-index:103;
- top: 50%;
- left: 50%;
- background-color: #E8E8E8;
- border: 1px solid #555;
- margin: -45px 0pt 0pt -125px;
- padding: 40px 15px 15px;
-}
-
-* html #TBct_load { /* ie6 hack */
-position: absolute;
-margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBctWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
-}
-
-#TBct_HideSelect{
- z-index:99;
- position:fixed;
- top: 0;
- left: 0;
- background-color:#fff;
- border:none;
- filter:alpha(opacity=0);
- -moz-opacity: 0;
- opacity: 0;
- height:100%;
- width:100%;
-}
-
-* html #TBct_HideSelect { /* ie6 hack */
- position: absolute;
- height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
-}
-
-#TBct_iframeContent{
- clear:both;
- border:none;
- margin-bottom:-1px;
- _margin-bottom:1px;
-}
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/ajax-loader.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/loadingAnimation.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/no_image.jpg has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/dark_rounded/btnNext.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/dark_rounded/btnPrevious.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/dark_rounded/contentPattern.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/dark_rounded/default_thumbnail.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/dark_rounded/loader.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/dark_rounded/sprite.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/dark_square/btnNext.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/dark_square/btnPrevious.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/dark_square/contentPattern.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/dark_square/default_thumbnail.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/dark_square/loader.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/dark_square/sprite.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/default/default_thumb.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/default/loader.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/default/sprite.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/default/sprite_next.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/default/sprite_prev.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/default/sprite_x.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/default/sprite_y.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/facebook/btnNext.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/facebook/btnPrevious.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/facebook/contentPatternBottom.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/facebook/contentPatternLeft.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/facebook/contentPatternRight.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/facebook/contentPatternTop.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/facebook/default_thumbnail.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/facebook/loader.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/facebook/sprite.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/light_rounded/btnNext.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/light_rounded/btnPrevious.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/light_rounded/default_thumbnail.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/light_rounded/loader.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/light_rounded/sprite.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/light_square/btnNext.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/light_square/btnPrevious.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/light_square/default_thumbnail.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/light_square/loader.gif has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/prettyPhoto/light_square/sprite.png has changed
Binary file wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/images/tb-close.png has changed
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/js/ctimeline_admin.js Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,509 +0,0 @@
-(function($){
-$(document).ready(function(){
-
- // COLORPICKER
- var colPickerOn = false,
- colPickerShow = false,
- pluginUrl = $('#plugin-url').val(),
- timthumb = pluginUrl + 'timthumb/timthumb.php';
- // colorpicker field
- $('.cw-color-picker').each(function(){
- var $this = $(this),
- id = $this.attr('rel');
-
- $this.farbtastic('#' + id);
- $this.click(function(){
- $this.show();
- });
- $('#' + id).click(function(){
- $('.cw-color-picker:visible').hide();
- $('#' + id + '-picker').show();
- colPickerOn = true;
- colPickerShow = true;
- });
- $this.click(function(){
- colPickerShow = true;
- });
-
- });
- $('body').click(function(){
- if(colPickerShow) colPickerShow = false;
- else {
- colPickerOn = false;
- $('.cw-color-picker:visible').hide();
- }
- });
-
- // IMAGE UPLOAD
- var thickboxId = '',
- thickItem = false;
-
- // backgorund images
- $('.cw-image-upload').click(function(e) {
- e.preventDefault();
- thickboxId = '#' + $(this).attr('id');
- formfield = $(thickboxId + '-input').attr('name');
- tb_show('', 'media-upload.php?type=image&TB_iframe=true');
- return false;
- });
-
-
- window.send_to_editor = function(html) {
- imgurl = $('img',html).attr('src');
- $(thickboxId + '-input').val(imgurl);
- if (thickItem) {
- thickItem = false;
- $(thickboxId).attr('src', timthumb + '?src=' + imgurl + '&w=258&h=50');
- }
- else {
- $(thickboxId).css('background', 'url('+imgurl+') repeat');
- }
- tb_remove();
- }
-
- $('.remove-image').click(function(e){
- e.preventDefault();
- $(this).parent().parent().find('input').val('');
- $(this).parent().parent().find('.cw-image-upload').css('background-image', 'url(' + pluginUrl + '/images/no_image.jpg)');
- });
-
- // CATEGORIES
- if ($('#cat-type').val() == 'categories') {
- $('.cat-display').show();
- $('.data_id').css('color', 'gray');
- }
- else {
- $('.category_id').css('color', 'gray');
- }
- $('#cat-type').change(function(){
- if ($(this).val() == 'months') {
- $('.cat-display').hide();
- $('.category_id').css('color', 'gray');
- $('.data_id').css('color', '');
- alert('Check the Date field of your items before you save!');
- }
- else {
- $('.cat-display').show();
- $('.data_id').css('color', 'gray');
- $('.category_id').css('color', '');
- alert('Check the Category field of your items, and pick categoryes you want to show before you save!');
- }
- });
-
- $('#cat-check-all').click(function(){
- $('.cat-name').attr('checked', true);
- });
-
- $('#cat-uncheck-all').click(function(){
- $('.cat-name').attr('checked', false);
- });
-
-
- // SORTABLE
-
- $('#timeline-sortable').sortable({
- placeholder: "tsort-placeholder"
- });
-
- //---------------------------------------------
- // Ctimeline Sortable Actions
- //---------------------------------------------
-
- // add
- $('#tsort-add-new').click(function(e){
- e.preventDefault();
- ctimelineAddNew(pluginUrl);
- });
-
- // open item
- $('.tsort-plus').live('click', function(){
- if (!$(this).hasClass('open')) {
- $(this).addClass('open');
- $(this).html('-').css('padding', '5px 8px');
- $(this).next().next('.tsort-content').show();
- }
- else {
- $(this).removeClass('open');
- $(this).html('+').css('padding', '7px 5px');
- $(this).next().next('.tsort-content').hide();
- }
- });
- // delete
- $('.tsort-delete').live('click', function(e){
- e.preventDefault();
- $(this).parent().parent().remove();
- });
-
- $('.tsort-remove').live('click', function(e){
- e.preventDefault();
- $(this).parent().find('input').val('');
- $(this).parent().find('img').attr('src', pluginUrl + '/images/no_image.jpg');
- });
-
-
- // item images
- $('.tsort-change').live('click', function(e) {
- e.preventDefault();
- thickItem = true;
- thickboxId = '#' + $(this).parent().find('img').attr('id');
- formfield = $(thickboxId + '-input').attr('name');
- tb_show('', 'media-upload.php?type=image&TB_iframe=true');
- return false;
- });
-
- // item images
- $('.tsort-start-item').live('click', function(e) {
- $('.tsort-start-item').attr('checked', false);
- $(this).attr('checked', 'checked');
- });
-
- // ----------------------------------------
-
- // AJAX subbmit
- $('#save-timeline').click(function(e){
- e.preventDefault();
- $('#save-loader').show();
- $.ajax({
- type:'POST',
- url: 'admin-ajax.php',
- data:'action=ctimeline_save&' + $('#post_form').serialize(),
- success: function(response) {
- $('#timeline_id').val(response);
- $('#save-loader').hide();
- }
- });
- });
-
- $('#preview-timeline').click(function(e){
- e.preventDefault();
- var html = '<div id="TBct_overlay" class="TBct_overlayBG"></div>';
- html += '<div id="TBct_window" style="width:250px; margin-left:-75px; height:80px; margin-top:-40px; visibility: visible;">';
- html += '<div id="TBct_title"><div id="TBct_ajaxWindowTitle">Preview</div>';
- html += '<div id="TBct_closeAjaxWindow"><a id="TBct_closeWindowButton" title="Close" href="#"><img src="'+pluginUrl+'/images/tb-close.png" alt="Close"></a></div>';
- html += '</div>';
- html += '<div id="timelineHolder" style="margin:0 auto;">';
- html += '<img style="margin:20px 20px;" id="TBct_loader" src="'+pluginUrl+'/images/loadingAnimation.gif" />';
- html += '</div>';
- html += '<div style="clear:both;"></div></div>';
- html += '</div>';
- $('body').append(html);
- var postForm = $('#post_form').serialize();
- $.ajax({
- type:'POST',
- url: 'admin-ajax.php',
- data:'action=ctimeline_preview&' + postForm,
- success: function(response) {
- $('#TBct_loader').hide();
- $('#TBct_window').animate({width: '100%', marginLeft:'-50%', marginTop: '-250px', height: '500px'}, 500, function(){
- $('#timelineHolder').html(response);
- $('#timelineHolder').css({'overflow-y':'scroll', 'position': 'relative', 'width':'100%', 'height':'470px'});
-
- if($('#read-more').val() == 'whole-item') {
- var $read_more = '.item';
- var $swipeOn = false;
- }
- else if ($('#read-more').val() == 'button') {
- var $read_more = '.read_more';
- var $swipeOn = true;
- }
- else {
- var $read_more = '.none';
- var $swipeOn = true;
- }
-
- var startItem = $('#ctimeline-preview-start-item').val();
-
-
- var $cats = [];
- var $numOfItems = [];
- var numGet = parseInt($('#number-of-posts').val());
- $('input[name|="cat-name"]:checked').each(function(){
- $cats.push($(this).val());
- $numOfItems.push(numGet);
-
- });
-
-
-
-
- var jsonOptions = {
- itemMargin : parseInt($('#item-margin').val()),
- swipeOn : $swipeOn,
- scrollSpeed : parseInt($('#scroll-speed').val()),
- easing : $('#easing').val(),
- openTriggerClass : $read_more,
- startItem : startItem,
- yearsOn : ($('#years-on:checked').length > 0 ),
- hideTimeline : ($('#hide-line:checked').length > 0 ),
- hideControles : ($('#hide-nav:checked').length > 0 )
- }
-
- if (typeof $cats[0] != 'undefined' && $('#cat-type').val() == 'categories') {
- jsonOptions.yearsOn = false;
- jsonOptions.categories = $cats;
- jsonOptions.numberOfSegments = $numOfItems;
- }
- $(".scrollable-content").mCustomScrollbar();
- $('.timeline').timeline(jsonOptions);
- $('#preview-loader').hide();
-
- $('#TBct_closeWindowButton').click(function(ev){
- ev.preventDefault();
- $('.timeline').timeline('destroy');
- $('#TBct_overlay').remove();
- $('#TBct_window').remove();
- });
- });
-
- }
- });
- });
-
-
-});
-
-
-function ctimelineSortableActions(pluginUrl) {
-
-
-
-
-}
-
-function ctimelineAddNew(pluginUrl) {
- var searches = new Array();
- searches[''] = '';
- var html = '<div id="TBct_overlay" class="TBct_overlayBG"></div>';
- html += '<div id="TBct_window" style="width:450px; margin-left:-225px; margin-top:-35px; height:70px; visibility: visible;">';
- html += '<div id="TBct_title"><div id="TBct_ajaxWindowTitle">Add new timeline item</div>'
- html += '<div id="TBct_closeAjaxWindow"><a id="TBct_closeWindowButton" title="Close" href="#"><img src="'+pluginUrl+'/images/tb-close.png" alt="Close"></a></div>';
- html += '</div>';
- html += '<a href="#" id="TBct_timelineSubmit" style="margin:10px;" class="button button-highlighted alignright">Add</a><img id="TBct_timelineSubmitLoader" class="alignright" src="'+pluginUrl+'/images/ajax-loader.gif" /><select id="TBct_timelineSelect" style="margin:10px; width:150px;"><option value="new">Add New</option><option value="post">From Post</option><option value="category">Whole Category</option></select>';
- html += '<div id="TBct_timelineFromPost" style="padding:10px; border-top:1px solid gray; display:none;"><label for="timelineFromPost">Search posts:</label> <span id="timelineFromPostHolder"><input id="timelineFromPost" name="timelineFromPost" style="width:325px;"/><img id="timelineFromPostLoader" src="'+pluginUrl+'/images/ajax-loader.gif" /> <ul style="display:none;" id="timelineFromPostComplete"></ul></span>';
-
- html += '</div>';
- html += '<div id="TBct_timelineWholeCategory" style="padding:10px; border-top:1px solid gray; display:none;">';
- html += '<label for="TBct_timelineCategorySelect">Pick category</label> <select style="width:200px" id="TBct_timelineCategorySelect" name="TBct_timelineCategorySelect">'
- var allCats = $('#categories-hidden').val();
- if(allCats) {
- allCats = allCats.split('||');
- }
- else {
- allCats = new Array();
- }
- for (cate in allCats) {
- html += '<option value="'+allCats[cate]+'">'+allCats[cate]+'</option>';
- }
-
- html += '</select>';
- html += '</div>';
- html += '</div>';
- $('body').prepend(html);
-
-
- $('#TBct_closeWindowButton').click(function(e){
- e.preventDefault();
- $('#TBct_overlay').remove();
- $('#TBct_window').remove();
- });
-
- $('#TBct_timelineSelect').change(function(){
- if ($(this).val() == 'new') {
- $('#TBct_window').css({marginTop:'-35px', height:'70px'});
- $('#TBct_timelineFromPost').hide();
- $('#TBct_timelineWholeCategory').hide();
- }
- if ($(this).val() == 'category') {
- $('#TBct_window').css({marginTop:'-60px', height:'120px'});
- $('#TBct_timelineWholeCategory').show();
- $('#TBct_timelineFromPost').hide();
- }
- else {
- $('#TBct_window').css({marginTop:'-150px', height:'300px'});
- $('#TBct_timelineFromPost').show();
- $('#TBct_timelineWholeCategory').hide();
- }
- });
-
- $('#TBct_timelineSubmit').click(function(e){
- e.preventDefault();
- var timelineItem = '';
- if ($('#TBct_timelineSelect').val() == 'new') {
- timelineItem = timelineGenerateItem();
- $('#timeline-sortable').append(timelineItem);
- $('.tsort-start-item').eq($('.tsort-start-item').length-1).trigger('click').attr('checked', 'checked');
- $('#TBct_overlay').remove();
- $('#TBct_window').remove();
- }
- else if ($('#TBct_timelineSelect').val() == 'category') {
- $('#TBct_timelineSubmitLoader').show();
- $.ajax({
- url:"admin-ajax.php",
- type:"POST",
- data:'action=ctimeline_post_category_get&cat_name='+$('TBct_timelineCategorySelect').val(),
-
- success:function(results){
- var resultsArray = results.split('||');
- var ii = 0;
- while (typeof resultsArray[0+ii] != 'undefined') {
-
- var properties = {
- 'title' : resultsArray[0+ii],
- 'dataId' : resultsArray[1+ii],
- 'categoryId' : resultsArray[2+ii],
- 'itemContent' : resultsArray[3+ii],
- 'itemImage' : resultsArray[4+ii],
- 'itemOpenContent' : resultsArray[5+ii]
- }
- timelineItem = timelineGenerateItem(properties);
- $('#timeline-sortable').append(timelineItem);
- ii +=6;
- }
- $('.tsort-start-item').eq($('.tsort-start-item').length-1).trigger('click').attr('checked', 'checked');
- $('#TBct_overlay').remove();
- $('#TBct_window').remove();
- }
- });
- }
-
- else if($('#timelineFromPostComplete li a.active').length < 1) {
- alert('You have to select post you want to add, or choose add new!');
- }
- else {
- var postId = $('#timelineFromPostComplete li a.active').attr('href');
- $('#TBct_timelineSubmitLoader').show();
- $.ajax({
- url:"admin-ajax.php",
- type:"POST",
- data:'action=ctimeline_post_get&post_id='+postId,
-
- success:function(results){
- var resultsArray = results.split('||');
- var properties = {
- 'title' : resultsArray[0],
- 'dataId' : resultsArray[1],
- 'categoryId' : resultsArray[2],
- 'itemContent' : resultsArray[3],
- 'itemImage' : resultsArray[4],
- 'itemOpenContent' : resultsArray[5]
- }
- timelineItem = timelineGenerateItem(properties);
- $('#timeline-sortable').append(timelineItem);
- $('.tsort-start-item').eq($('.tsort-start-item').length-1).trigger('click').attr('checked', 'checked');
- $('#TBct_overlay').remove();
- $('#TBct_window').remove();
- }
- });
- }
-
- })
-
- $('#timelineFromPost').keyup(function(e){
- var icall = null,
- qinput = $('#timelineFromPost').val();
-
- if(qinput in searches) {
- if(icall != null) icall.abort();
- $('#timelineFromPostComplete').html(searches[qinput]).show();
- $('#timelineFromPostComplete li a').click(function(e){
- e.preventDefault();
- $('#timelineFromPostComplete li a.active').removeClass('active');
- $(this).addClass('active');
- });
- $('#timelineFromPostLoader').hide();
- }
- else {
- $('#timelineFromPostLoader').show();
- if(icall != null) icall.abort();
- icall = $.ajax({
- url:"admin-ajax.php",
- type:"POST",
- data:'action=ctimeline_post_search&query='+qinput,
-
- success:function(results){
- $('#timelineFromPostComplete').html(results).show();
- searches[qinput] = results;
- $('#timelineFromPostComplete li a').click(function(e){
- e.preventDefault();
- $('#timelineFromPostComplete li a.active').removeClass('active');
- $(this).addClass('active');
- });
- $('#timelineFromPostLoader').hide();
- }
- });
- }
- });
-}
-
-function timelineGenerateItem(properties) {
- // set globals
- var pluginUrl = $('#plugin-url').val(),
- timthumb = pluginUrl + '/timthumb/timthumb.php';
-
- // calculate item number
- var itemNumber = 1;
- while($('#sort'+itemNumber).length > 0) {
- itemNumber++;
- }
-
- // get current date
- var today = new Date();
- var dd = today.getDate();
- var mm = today.getMonth()+1;
- var yyyy = today.getFullYear();
- if(dd<10){dd='0'+dd}
- if(mm<10){mm='0'+mm}
- today = dd+'/'+mm+'/'+yyyy;
-
- // get input properties
- var pr = $.extend({
- 'title' : 'Title',
- 'dataId' : today,
- 'categoryId' : '',
- 'itemContent' : 'Content',
- 'itemImage' : '',
- 'itemOpenContent' : 'Content'
- }, properties);
-
- // bring all the pieces together
- var itemHtml = '\n'+
-' <li id="sort'+itemNumber+'" class="sortableItem">\n'+
-' <div class="tsort-plus">+</div>\n'+
-' <div class="tsort-header">Item '+itemNumber+' <small><i>- '+pr.title+'</i></small> <a href="#" class="tsort-delete"><i>delete</i></a></div>\n'+
-' <div class="tsort-content">\n'+
-' <div class="tsort-dataid">\n'+
-' <input id="'+itemNumber+'-start-item" class="tsort-start-item alignright" type="checkbox"><label for="'+itemNumber+'-start-item" class="alignright">Start item </label>'+
-' <span class="timeline-help">? <span class="timeline-tooltip">Argument by which are elements organised (date - dd/mm/yyyy, Category - full category name) Different field is used for different categorizing type.</span></span>'+
-' <label for="sort'+itemNumber+'-dataid">Date</label>'+
-' <input style="margin-left:5px;" id="sort'+itemNumber+'-dataid" name="sort'+itemNumber+'-dataid" value="'+pr.dataId+'" type="text"/>'+
-' <label style="margin-left:5px;" for="sort'+itemNumber+'-categoryid">Category</label>'+
-' <input style="margin-left:5px;" id="sort'+itemNumber+'-categoryid" name="sort'+itemNumber+'-categoryid" value="'+pr.categoryId+'" type="text"/>'+
-' </div>\n'+
-' <div class="tsort-item">\n'+
-' <h3 style="padding-left:0;"><span class="timeline-help">? <span class="timeline-tooltip">Base item content (image, title and content).</span></span>Item Options</h3>\n'+
-' <div class="tsort-image"><img id="sort'+itemNumber+'-item-image" src="'+((pr.itemImage != '') ? timthumb + '?src=' + pr.itemImage + '&w=258&50' : pluginUrl + '/images/no_image.jpg')+ '" /><a href="#" id="sort'+itemNumber+'-item-image-change" class="tsort-change">Change</a>\n' +
-' <input id="sort'+itemNumber+'-item-image-input" name="sort'+itemNumber+'-item-image" type="hidden" value="'+pr.itemImage+'" />\n'+
-' <a href="#" id="sort'+itemNumber+'-item-image-remove" class="tsort-remove">Remove</a>\n'+
-' </div>\n'+
-' <input class="tsort-title" name="sort'+itemNumber+'-item-title" value="'+pr.title+'" type="text" />\n'+
-' <div class="clear"></div>\n'+
-' <textarea class="tsort-contarea" name="sort'+itemNumber+'-item-content">'+pr.itemContent+'</textarea>\n'+
-' </div>\n'+
-' <div class="tsort-itemopen">\n'+
-' <h3 style="padding-left:0;"><span class="timeline-help">? <span class="timeline-tooltip">Opened item content (image, title and content).</span></span>Item Open Options</h3>\n'+
-' <div class="tsort-image"><img id="sort'+itemNumber+'-item-open-image" src="'+((pr.itemImage != '') ? timthumb + '?src=' + pr.itemImage + '&w=258&50' : pluginUrl + '/images/no_image.jpg')+ '" /><a href="#" id="sort'+itemNumber+'-item-open-image-change" class="tsort-change">Change</a>'+
-' <input id="sort'+itemNumber+'-item-open-image-input" name="sort'+itemNumber+'-item-open-image" type="hidden" value="'+pr.itemImage+'" />\n'+
-' <a href="#" id="sort'+itemNumber+'-item-open-image-remove" class="tsort-remove">Remove</a>\n'+
-' </div>\n'+
-' <input class="tsort-title" name="sort'+itemNumber+'-item-open-title" value="'+pr.title+'" type="text" />\n'+
-' <div class="clear"></div>\n'+
-' <textarea class="tsort-contarea" name="sort'+itemNumber+'-item-open-content">'+pr.itemOpenContent+'</textarea>\n'+
-' </div>\n'+
-' </div>\n'+
-' </li>\n';
- return itemHtml;
-}
-
-
-})(jQuery)
-
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/js/frontend/jquery-1.7.2.min.js Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-/*! jQuery v1.7.2 jquery.com | jquery.org/license */
-(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"<!doctype html>":"")+"<html><body>"),cl.close();d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function ca(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function b_(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bD.test(a)?d(a,e):b_(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&f.type(b)==="object")for(var e in b)b_(a+"["+e+"]",b[e],c,d);else d(a,b)}function b$(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function bZ(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bS,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bZ(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bZ(a,c,d,e,"*",g));return l}function bY(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bO),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bB(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?1:0,g=4;if(d>0){if(c!=="border")for(;e<g;e+=2)c||(d-=parseFloat(f.css(a,"padding"+bx[e]))||0),c==="margin"?d+=parseFloat(f.css(a,c+bx[e]))||0:d-=parseFloat(f.css(a,"border"+bx[e]+"Width"))||0;return d+"px"}d=by(a,b);if(d<0||d==null)d=a.style[b];if(bt.test(d))return d;d=parseFloat(d)||0;if(c)for(;e<g;e+=2)d+=parseFloat(f.css(a,"padding"+bx[e]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+bx[e]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+bx[e]))||0);return d+"px"}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;b.nodeType===1&&(b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase(),c==="object"?b.outerHTML=a.outerHTML:c!=="input"||a.type!=="checkbox"&&a.type!=="radio"?c==="option"?b.selected=a.defaultSelected:c==="input"||c==="textarea"?b.defaultValue=a.defaultValue:c==="script"&&b.text!==a.text&&(b.text=a.text):(a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value)),b.removeAttribute(f.expando),b.removeAttribute("_submit_attached"),b.removeAttribute("_change_attached"))}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c,i[c][d])}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?+d:j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){if(typeof c!="string"||!c)return null;var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h,i){var j,k=d==null,l=0,m=a.length;if(d&&typeof d=="object"){for(l in d)e.access(a,c,l,d[l],1,h,f);g=1}else if(f!==b){j=i===b&&e.isFunction(f),k&&(j?(j=c,c=function(a,b,c){return j.call(e(a),c)}):(c.call(a,f),c=null));if(c)for(;l<m;l++)c(a[l],d,j?f.call(a[l],l,c(a[l],d)):f,i);g=1}return g?a:k?c.call(a):m?c(a[0],d):h},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m,n=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?n(g):h==="function"&&(!a.unique||!p.has(g))&&c.push(g)},o=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,j=!0,m=k||0,k=0,l=c.length;for(;c&&m<l;m++)if(c[m].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}j=!1,c&&(a.once?e===!0?p.disable():c=[]:d&&d.length&&(e=d.shift(),p.fireWith(e[0],e[1])))},p={add:function(){if(c){var a=c.length;n(arguments),j?l=c.length:e&&e!==!0&&(k=a,o(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){j&&f<=l&&(l--,f<=m&&m--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&p.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(j?a.once||d.push([b,c]):(!a.once||!e)&&o(b,c));return this},fire:function(){p.fireWith(this,arguments);return this},fired:function(){return!!i}};return p};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p=c.createElement("div"),q=c.documentElement;p.setAttribute("className","t"),p.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=p.getElementsByTagName("*"),e=p.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=p.getElementsByTagName("input")[0],b={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:p.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},f.boxModel=b.boxModel=c.compatMode==="CSS1Compat",i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete p.test}catch(r){b.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){b.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),i.setAttribute("name","t"),p.appendChild(i),j=c.createDocumentFragment(),j.appendChild(p.lastChild),b.checkClone=j.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,j.removeChild(i),j.appendChild(p);if(p.attachEvent)for(n in{submit:1,change:1,focusin:1})m="on"+n,o=m in p,o||(p.setAttribute(m,"return;"),o=typeof p[m]=="function"),b[n+"Bubbles"]=o;j.removeChild(p),j=g=h=p=i=null,f(function(){var d,e,g,h,i,j,l,m,n,q,r,s,t,u=c.getElementsByTagName("body")[0];!u||(m=1,t="padding:0;margin:0;border:",r="position:absolute;top:0;left:0;width:1px;height:1px;",s=t+"0;visibility:hidden;",n="style='"+r+t+"5px solid #000;",q="<div "+n+"display:block;'><div style='"+t+"0;display:block;overflow:hidden;'></div></div>"+"<table "+n+"' cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",d=c.createElement("div"),d.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+"px",u.insertBefore(d,u.firstChild),p=c.createElement("div"),d.appendChild(p),p.innerHTML="<table><tr><td style='"+t+"0;display:none'></td><td>t</td></tr></table>",k=p.getElementsByTagName("td"),o=k[0].offsetHeight===0,k[0].style.display="",k[1].style.display="none",b.reliableHiddenOffsets=o&&k[0].offsetHeight===0,a.getComputedStyle&&(p.innerHTML="",l=c.createElement("div"),l.style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),b.reliableMarginRight=(parseInt((a.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,b.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="<div style='width:5px;'></div>",b.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=r+s,p.innerHTML=q,e=p.firstChild,g=e.firstChild,i=e.nextSibling.firstChild.firstChild,j={doesNotAddBorder:g.offsetTop!==5,doesAddBorderForTableAndCells:i.offsetTop===5},g.style.position="fixed",g.style.top="20px",j.fixedPosition=g.offsetTop===20||g.offsetTop===15,g.style.position=g.style.top="",e.style.overflow="hidden",e.style.position="relative",j.subtractsBorderForOverflowNotVisible=g.offsetTop===-5,j.doesNotIncludeMarginInBodyOffset=u.offsetTop!==m,a.getComputedStyle&&(p.style.marginTop="1%",b.pixelMargin=(a.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof d.style.zoom!="undefined"&&(d.style.zoom=1),u.removeChild(d),l=p=d=null,f.extend(b,j))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h,i,j=this[0],k=0,m=null;if(a===b){if(this.length){m=f.data(j);if(j.nodeType===1&&!f._data(j,"parsedAttrs")){g=j.attributes;for(i=g.length;k<i;k++)h=g[k].name,h.indexOf("data-")===0&&(h=f.camelCase(h.substring(5)),l(j,h,m[h]));f._data(j,"parsedAttrs",!0)}}return m}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split(".",2),d[1]=d[1]?"."+d[1]:"",e=d[1]+"!";return f.access(this,function(c){if(c===b){m=this.triggerHandler("getData"+e,[d[0]]),m===b&&j&&(m=f.data(j,a),m=l(j,a,m));return m===b&&d[1]?this.data(d[0]):m}d[1]=c,this.each(function(){var b=f(this);b.triggerHandler("setData"+e,d),f.data(this,a,c),b.triggerHandler("changeData"+e,d)})},null,c,arguments.length>1,null,!1)},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){var d=2;typeof a!="string"&&(c=a,a="fx",d--);if(arguments.length<d)return f.queue(this[0],a);return c===b?this:this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise(c)}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,f.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,f.prop,a,b,arguments.length>1)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.type]||f.valHooks[g.nodeName.toLowerCase()];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h,i=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;i<g;i++)e=d[i],e&&(c=f.propFix[e]||e,h=u.test(e),h||f.attr(a,e,""),a.removeAttribute(v?e:c),h&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0,coords:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/(?:^|\s)hover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(
-a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler,g=p.selector),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:g&&G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=f.event.special[c.type]||{},j=[],k,l,m,n,o,p,q,r,s,t,u;g[0]=c,c.delegateTarget=this;if(!i.preDispatch||i.preDispatch.call(this,c)!==!1){if(e&&(!c.button||c.type!=="click")){n=f(this),n.context=this.ownerDocument||this;for(m=c.target;m!=this;m=m.parentNode||this)if(m.disabled!==!0){p={},r=[],n[0]=m;for(k=0;k<e;k++)s=d[k],t=s.selector,p[t]===b&&(p[t]=s.quick?H(m,s.quick):n.is(t)),p[t]&&r.push(s);r.length&&j.push({elem:m,matches:r})}}d.length>e&&j.push({elem:this,matches:d.slice(e)});for(k=0;k<j.length&&!c.isPropagationStopped();k++){q=j[k],c.currentTarget=q.elem;for(l=0;l<q.matches.length&&!c.isImmediatePropagationStopped();l++){s=q.matches[l];if(h||!c.namespace&&!s.namespace||c.namespace_re&&c.namespace_re.test(s.namespace))c.data=s.data,c.handleObj=s,o=((f.event.special[s.origType]||{}).handle||s.handler).apply(q.elem,g),o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()))}}i.postDispatch&&i.postDispatch.call(this,c);return c.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){a._submit_bubble=!0}),d._submit_attached=!0)})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=d||c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9||d===11){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));o.match.globalPOS=p;var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.globalPOS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")[\\s/>]","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){return f.access(this,function(a){return a===b?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f
-.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){return f.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(;d<e;d++)c=this[d]||{},c.nodeType===1&&(f.cleanData(c.getElementsByTagName("*")),c.innerHTML=a);c=0}catch(g){}}c&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,function(a,b){b.src?f.ajax({type:"GET",global:!1,url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)})}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||f.isXMLDoc(a)||!bc.test("<"+a.nodeName+">")?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g,h,i,j=[];b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);for(var k=0,l;(l=a[k])!=null;k++){typeof l=="number"&&(l+="");if(!l)continue;if(typeof l=="string")if(!_.test(l))l=b.createTextNode(l);else{l=l.replace(Y,"<$1></$2>");var m=(Z.exec(l)||["",""])[1].toLowerCase(),n=bg[m]||bg._default,o=n[0],p=b.createElement("div"),q=bh.childNodes,r;b===c?bh.appendChild(p):U(b).appendChild(p),p.innerHTML=n[1]+l+n[2];while(o--)p=p.lastChild;if(!f.support.tbody){var s=$.test(l),t=m==="table"&&!s?p.firstChild&&p.firstChild.childNodes:n[1]==="<table>"&&!s?p.childNodes:[];for(i=t.length-1;i>=0;--i)f.nodeName(t[i],"tbody")&&!t[i].childNodes.length&&t[i].parentNode.removeChild(t[i])}!f.support.leadingWhitespace&&X.test(l)&&p.insertBefore(b.createTextNode(X.exec(l)[0]),p.firstChild),l=p.childNodes,p&&(p.parentNode.removeChild(p),q.length>0&&(r=q[q.length-1],r&&r.parentNode&&r.parentNode.removeChild(r)))}var u;if(!f.support.appendChecked)if(l[0]&&typeof (u=l.length)=="number")for(i=0;i<u;i++)bn(l[i]);else bn(l);l.nodeType?j.push(l):j=f.merge(j,l)}if(d){g=function(a){return!a.type||be.test(a.type)};for(k=0;j[k];k++){h=j[k];if(e&&f.nodeName(h,"script")&&(!h.type||be.test(h.type)))e.push(h.parentNode?h.parentNode.removeChild(h):h);else{if(h.nodeType===1){var v=f.grep(h.getElementsByTagName("script"),g);j.splice.apply(j,[k+1,0].concat(v))}d.appendChild(h)}}}return j},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bp=/alpha\([^)]*\)/i,bq=/opacity=([^)]*)/,br=/([A-Z]|^ms)/g,bs=/^[\-+]?(?:\d*\.)?\d+$/i,bt=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,bu=/^([\-+])=([\-+.\de]+)/,bv=/^margin/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Top","Right","Bottom","Left"],by,bz,bA;f.fn.css=function(a,c){return f.access(this,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)},a,c,arguments.length>1)},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=by(a,"opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bu.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(by)return by(a,c)},swap:function(a,b,c){var d={},e,f;for(f in b)d[f]=a.style[f],a.style[f]=b[f];e=c.call(a);for(f in b)a.style[f]=d[f];return e}}),f.curCSS=f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var c,d,e,g,h=a.style;b=b.replace(br,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g);return c}),c.documentElement.currentStyle&&(bA=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f==null&&g&&(e=g[b])&&(f=e),bt.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0?bB(a,b,d):f.swap(a,bw,function(){return bB(a,b,d)})},set:function(a,b){return bs.test(b)?b+"px":b}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bp,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bp.test(g)?g.replace(bp,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){return f.swap(a,{display:"inline-block"},function(){return b?by(a,"margin-right"):a.style.marginRight})}})}),f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)}),f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return f}}});var bC=/%20/g,bD=/\[\]$/,bE=/\r?\n/g,bF=/#.*$/,bG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bH=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^\/\//,bL=/\?/,bM=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bN=/^(?:select|textarea)/i,bO=/\s+/,bP=/([?&])_=[^&]*/,bQ=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bR=f.fn.load,bS={},bT={},bU,bV,bW=["*/"]+["*"];try{bU=e.href}catch(bX){bU=c.createElement("a"),bU.href="",bU=bU.href}bV=bQ.exec(bU.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bR)return bR.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bM,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bN.test(this.nodeName)||bH.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bE,"\r\n")}}):{name:b.name,value:c.replace(bE,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b$(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b$(a,b);return a},ajaxSettings:{url:bU,isLocal:bI.test(bV[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bW},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bY(bS),ajaxTransport:bY(bT),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?ca(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cb(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bG.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bF,"").replace(bK,bV[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bO),d.crossDomain==null&&(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&&r[2]==bV[2]&&(r[3]||(r[1]==="http:"?80:443))==(bV[3]||(bV[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bZ(bS,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bL.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bP,"$1_="+x);d.url=y+(y===d.url?(bL.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bW+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bZ(bT,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)b_(g,a[g],c,e);return d.join("&").replace(bC,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=typeof b.data=="string"&&/^application\/x\-www\-form\-urlencoded/.test(b.contentType);if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cd,l),b.url===j&&(e&&(k=k.replace(cd,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ce=a.ActiveXObject?function(){for(var a in cg)cg[a](0,1)}:!1,cf=0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ch()||ci()}:ch,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ce&&delete cg[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n);try{m.text=h.responseText}catch(a){}try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(ct("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),(e===""&&f.css(d,"display")==="none"||!f.contains(d.ownerDocument.documentElement,d))&&f._data(d,"olddisplay",cu(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(ct("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(ct("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o,p,q;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]);if((k=f.cssHooks[g])&&"expand"in k){l=k.expand(a[g]),delete a[g];for(i in l)i in a||(a[i]=l[i])}}for(g in a){h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cu(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cm.test(h)?(q=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),q?(f._data(this,"toggle"+i,q==="show"?"hide":"show"),j[q]()):j[h]()):(m=cn.exec(h),n=j.cur(),m?(o=parseFloat(m[2]),p=m[3]||(f.cssNumber[i]?"":"px"),p!=="px"&&(f.style(this,i,(o||1)+p),n=(o||1)/j.cur()*n,f.style(this,i,n+p)),m[1]&&(o=(m[1]==="-="?-1:1)*o+n),j.custom(n,o,p)):j.custom(n,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:ct("show",1),slideUp:ct("hide",1),slideToggle:ct("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a){return a},swing:function(a){return-Math.cos(a*Math.PI)/2+.5}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cq||cr(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){f._data(e.elem,"fxshow"+e.prop)===b&&(e.options.hide?f._data(e.elem,"fxshow"+e.prop,e.start):e.options.show&&f._data(e.elem,"fxshow"+e.prop,e.end))},h()&&f.timers.push(h)&&!co&&(co=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cq||cr(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(co),co=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(cp.concat.apply([],cp),function(a,b){b.indexOf("margin")&&(f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)})}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cv,cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?cv=function(a,b,c,d){try{d=a.getBoundingClientRect()}catch(e){}if(!d||!f.contains(c,a))return d?{top:d.top,left:d.left}:{top:0,left:0};var g=b.body,h=cy(b),i=c.clientTop||g.clientTop||0,j=c.clientLeft||g.clientLeft||0,k=h.pageYOffset||f.support.boxModel&&c.scrollTop||g.scrollTop,l=h.pageXOffset||f.support.boxModel&&c.scrollLeft||g.scrollLeft,m=d.top+k-i,n=d.left+l-j;return{top:m,left:n}}:cv=function(a,b,c){var d,e=a.offsetParent,g=a,h=b.body,i=b.defaultView,j=i?i.getComputedStyle(a,null):a.currentStyle,k=a.offsetTop,l=a.offsetLeft;while((a=a.parentNode)&&a!==h&&a!==c){if(f.support.fixedPosition&&j.position==="fixed")break;d=i?i.getComputedStyle(a,null):a.currentStyle,k-=a.scrollTop,l-=a.scrollLeft,a===e&&(k+=a.offsetTop,l+=a.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(a.nodeName))&&(k+=parseFloat(d.borderTopWidth)||0,l+=parseFloat(d.borderLeftWidth)||0),g=e,e=a.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(k+=parseFloat(d.borderTopWidth)||0,l+=parseFloat(d.borderLeftWidth)||0),j=d}if(j.position==="relative"||j.position==="static")k+=h.offsetTop,l+=h.offsetLeft;f.support.fixedPosition&&j.position==="fixed"&&(k+=Math.max(c.scrollTop,h.scrollTop),l+=Math.max(c.scrollLeft,h.scrollLeft));return{top:k,left:l}},f.fn.offset=function(a){if(arguments.length)return a===b?this:this.each(function(b){f.offset.setOffset(this,a,b)});var c=this[0],d=c&&c.ownerDocument;if(!d)return null;if(c===d.body)return f.offset.bodyOffset(c);return cv(c,d,d.documentElement)},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);f.fn[a]=function(e){return f.access(this,function(a,e,g){var h=cy(a);if(g===b)return h?c in h?h[c]:f.support.boxModel&&h.document.documentElement[e]||h.document.body[e]:a[e];h?h.scrollTo(d?f(h).scrollLeft():g,d?g:f(h).scrollTop()):a[e]=g},a,e,arguments.length,null)}}),f.each({Height:"height",Width:"width"},function(a,c){var d="client"+a,e="scroll"+a,g="offset"+a;f.fn["inner"+a]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,c,"padding")):this[c]():null},f.fn["outer"+a]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,c,a?"margin":"border")):this[c]():null},f.fn[c]=function(a){return f.access(this,function(a,c,h){var i,j,k,l;if(f.isWindow(a)){i=a.document,j=i.documentElement[d];return f.support.boxModel&&j||i.body&&i.body[d]||j}if(a.nodeType===9){i=a.documentElement;if(i[d]>=i[e])return i[d];return Math.max(a.body[e],i[e],a.body[g],i[g])}if(h===b){k=f.css(a,c),l=parseFloat(k);return f.isNumeric(l)?l:k}f(a).css(c,h)},c,a,arguments.length,null)}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window);
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/js/frontend/jquery.easing.1.3.js Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,205 +0,0 @@
-/*
- * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
- *
- * Uses the built in easing capabilities added In jQuery 1.1
- * to offer multiple easing options
- *
- * TERMS OF USE - jQuery Easing
- *
- * Open source under the BSD License.
- *
- * Copyright © 2008 George McGinley Smith
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice, this list of
- * conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice, this list
- * of conditions and the following disclaimer in the documentation and/or other materials
- * provided with the distribution.
- *
- * Neither the name of the author nor the names of contributors may be used to endorse
- * or promote products derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
- * OF THE POSSIBILITY OF SUCH DAMAGE.
- *
-*/
-
-// t: current time, b: begInnIng value, c: change In value, d: duration
-jQuery.easing['jswing'] = jQuery.easing['swing'];
-
-jQuery.extend( jQuery.easing,
-{
- def: 'easeOutQuad',
- swing: function (x, t, b, c, d) {
- //alert(jQuery.easing.default);
- return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
- },
- easeInQuad: function (x, t, b, c, d) {
- return c*(t/=d)*t + b;
- },
- easeOutQuad: function (x, t, b, c, d) {
- return -c *(t/=d)*(t-2) + b;
- },
- easeInOutQuad: function (x, t, b, c, d) {
- if ((t/=d/2) < 1) return c/2*t*t + b;
- return -c/2 * ((--t)*(t-2) - 1) + b;
- },
- easeInCubic: function (x, t, b, c, d) {
- return c*(t/=d)*t*t + b;
- },
- easeOutCubic: function (x, t, b, c, d) {
- return c*((t=t/d-1)*t*t + 1) + b;
- },
- easeInOutCubic: function (x, t, b, c, d) {
- if ((t/=d/2) < 1) return c/2*t*t*t + b;
- return c/2*((t-=2)*t*t + 2) + b;
- },
- easeInQuart: function (x, t, b, c, d) {
- return c*(t/=d)*t*t*t + b;
- },
- easeOutQuart: function (x, t, b, c, d) {
- return -c * ((t=t/d-1)*t*t*t - 1) + b;
- },
- easeInOutQuart: function (x, t, b, c, d) {
- if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
- return -c/2 * ((t-=2)*t*t*t - 2) + b;
- },
- easeInQuint: function (x, t, b, c, d) {
- return c*(t/=d)*t*t*t*t + b;
- },
- easeOutQuint: function (x, t, b, c, d) {
- return c*((t=t/d-1)*t*t*t*t + 1) + b;
- },
- easeInOutQuint: function (x, t, b, c, d) {
- if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
- return c/2*((t-=2)*t*t*t*t + 2) + b;
- },
- easeInSine: function (x, t, b, c, d) {
- return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
- },
- easeOutSine: function (x, t, b, c, d) {
- return c * Math.sin(t/d * (Math.PI/2)) + b;
- },
- easeInOutSine: function (x, t, b, c, d) {
- return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
- },
- easeInExpo: function (x, t, b, c, d) {
- return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
- },
- easeOutExpo: function (x, t, b, c, d) {
- return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
- },
- easeInOutExpo: function (x, t, b, c, d) {
- if (t==0) return b;
- if (t==d) return b+c;
- if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
- return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
- },
- easeInCirc: function (x, t, b, c, d) {
- return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
- },
- easeOutCirc: function (x, t, b, c, d) {
- return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
- },
- easeInOutCirc: function (x, t, b, c, d) {
- if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
- return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
- },
- easeInElastic: function (x, t, b, c, d) {
- var s=1.70158;var p=0;var a=c;
- if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
- if (a < Math.abs(c)) { a=c; var s=p/4; }
- else var s = p/(2*Math.PI) * Math.asin (c/a);
- return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
- },
- easeOutElastic: function (x, t, b, c, d) {
- var s=1.70158;var p=0;var a=c;
- if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
- if (a < Math.abs(c)) { a=c; var s=p/4; }
- else var s = p/(2*Math.PI) * Math.asin (c/a);
- return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
- },
- easeInOutElastic: function (x, t, b, c, d) {
- var s=1.70158;var p=0;var a=c;
- if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
- if (a < Math.abs(c)) { a=c; var s=p/4; }
- else var s = p/(2*Math.PI) * Math.asin (c/a);
- if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
- return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
- },
- easeInBack: function (x, t, b, c, d, s) {
- if (s == undefined) s = 1.70158;
- return c*(t/=d)*t*((s+1)*t - s) + b;
- },
- easeOutBack: function (x, t, b, c, d, s) {
- if (s == undefined) s = 1.70158;
- return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
- },
- easeInOutBack: function (x, t, b, c, d, s) {
- if (s == undefined) s = 1.70158;
- if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
- return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
- },
- easeInBounce: function (x, t, b, c, d) {
- return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
- },
- easeOutBounce: function (x, t, b, c, d) {
- if ((t/=d) < (1/2.75)) {
- return c*(7.5625*t*t) + b;
- } else if (t < (2/2.75)) {
- return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
- } else if (t < (2.5/2.75)) {
- return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
- } else {
- return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
- }
- },
- easeInOutBounce: function (x, t, b, c, d) {
- if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
- return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
- }
-});
-
-/*
- *
- * TERMS OF USE - EASING EQUATIONS
- *
- * Open source under the BSD License.
- *
- * Copyright © 2001 Robert Penner
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice, this list of
- * conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice, this list
- * of conditions and the following disclaimer in the documentation and/or other materials
- * provided with the distribution.
- *
- * Neither the name of the author nor the names of contributors may be used to endorse
- * or promote products derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
- * OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- */
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/js/frontend/jquery.mCustomScrollbar.min.js Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-(function(b){var a={init:function(c){var e={set_width:false,set_height:false,horizontalScroll:false,scrollInertia:550,scrollEasing:"easeOutCirc",mouseWheel:"auto",autoDraggerLength:true,scrollButtons:{enable:false,scrollType:"continuous",scrollSpeed:20,scrollAmount:40},advanced:{updateOnBrowserResize:true,updateOnContentResize:false,autoExpandHorizontalScroll:false},callbacks:{onScroll:function(){},onTotalScroll:function(){},onTotalScrollOffset:0}},c=b.extend(true,e,c);b(document).data("mCS-is-touch-device",false);if(d()){b(document).data("mCS-is-touch-device",true)}function d(){return !!("ontouchstart" in window)?1:0}return this.each(function(){var m=b(this);if(c.set_width){m.css("width",c.set_width)}if(c.set_height){m.css("height",c.set_height)}if(!b(document).data("mCustomScrollbar-index")){b(document).data("mCustomScrollbar-index","1")}else{var s=parseInt(b(document).data("mCustomScrollbar-index"));b(document).data("mCustomScrollbar-index",s+1)}m.wrapInner("<div class='mCustomScrollBox' id='mCSB_"+b(document).data("mCustomScrollbar-index")+"' style='position:relative; height:100%; overflow:hidden; max-width:100%;' />").addClass("mCustomScrollbar _mCS_"+b(document).data("mCustomScrollbar-index"));var g=m.children(".mCustomScrollBox");if(c.horizontalScroll){g.addClass("mCSB_horizontal").wrapInner("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />");var k=g.children(".mCSB_h_wrapper");k.wrapInner("<div class='mCSB_container' style='position:absolute; left:0;' />").children(".mCSB_container").css({width:k.children().outerWidth(),position:"relative"}).unwrap()}else{g.wrapInner("<div class='mCSB_container' style='position:relative; top:0;' />")}var o=g.children(".mCSB_container");if(!b(document).data("mCS-is-touch-device")){o.after("<div class='mCSB_scrollTools' style='position:absolute;'><div class='mCSB_draggerContainer' style='position:relative;'><div class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' style='position:relative;'></div></div><div class='mCSB_draggerRail'></div></div></div>");var l=g.children(".mCSB_scrollTools"),h=l.children(".mCSB_draggerContainer"),q=h.children(".mCSB_dragger");if(c.horizontalScroll){q.data("minDraggerWidth",q.width())}else{q.data("minDraggerHeight",q.height())}if(c.scrollButtons.enable){if(c.horizontalScroll){l.prepend("<a class='mCSB_buttonLeft' style='display:block; position:relative;'></a>").append("<a class='mCSB_buttonRight' style='display:block; position:relative;'></a>")}else{l.prepend("<a class='mCSB_buttonUp' style='display:block; position:relative;'></a>").append("<a class='mCSB_buttonDown' style='display:block; position:relative;'></a>")}}g.bind("scroll",function(){g.scrollTop(0).scrollLeft(0)});m.data({horizontalScroll:c.horizontalScroll,scrollInertia:c.scrollInertia,scrollEasing:c.scrollEasing,mouseWheel:c.mouseWheel,autoDraggerLength:c.autoDraggerLength,"scrollButtons-enable":c.scrollButtons.enable,"scrollButtons-scrollType":c.scrollButtons.scrollType,"scrollButtons-scrollSpeed":c.scrollButtons.scrollSpeed,"scrollButtons-scrollAmount":c.scrollButtons.scrollAmount,autoExpandHorizontalScroll:c.advanced.autoExpandHorizontalScroll,"onScroll-Callback":c.callbacks.onScroll,"onTotalScroll-Callback":c.callbacks.onTotalScroll,"onTotalScroll-Offset":c.callbacks.onTotalScrollOffset}).mCustomScrollbar("update");if(c.advanced.updateOnBrowserResize){var i;b(window).resize(function(){if(i){clearTimeout(i)}i=setTimeout(function(){m.mCustomScrollbar("update")},150)})}}else{var f=navigator.userAgent;if(f.indexOf("Android")!=-1){var r=parseFloat(f.slice(f.indexOf("Android")+8));if(r<3){j("mCSB_"+b(document).data("mCustomScrollbar-index"))}else{g.css({overflow:"auto","-webkit-overflow-scrolling":"touch"})}}else{g.css({overflow:"auto","-webkit-overflow-scrolling":"touch"})}o.addClass("mCS_no_scrollbar mCS_touch");m.data({horizontalScroll:c.horizontalScroll,scrollInertia:c.scrollInertia,scrollEasing:c.scrollEasing,autoExpandHorizontalScroll:c.advanced.autoExpandHorizontalScroll,"onScroll-Callback":c.callbacks.onScroll,"onTotalScroll-Callback":c.callbacks.onTotalScroll,"onTotalScroll-Offset":c.callbacks.onTotalScrollOffset});g.scroll(function(){m.mCustomScrollbar("callbacks",g,o)});function j(w){var t=document.getElementById(w),u=0,v=0;document.getElementById(w).addEventListener("touchstart",function(x){u=this.scrollTop+x.touches[0].pageY;v=this.scrollLeft+x.touches[0].pageX},false);document.getElementById(w).addEventListener("touchmove",function(x){if((this.scrollTop<this.scrollHeight-this.offsetHeight&&this.scrollTop+x.touches[0].pageY<u-5)||(this.scrollTop!=0&&this.scrollTop+x.touches[0].pageY>u+5)){x.preventDefault()}if((this.scrollLeft<this.scrollWidth-this.offsetWidth&&this.scrollLeft+x.touches[0].pageX<v-5)||(this.scrollLeft!=0&&this.scrollLeft+x.touches[0].pageX>v+5)){x.preventDefault()}this.scrollTop=u-x.touches[0].pageY;this.scrollLeft=v-x.touches[0].pageX},false)}}if(c.advanced.updateOnContentResize){var p;if(c.horizontalScroll){var n=o.outerWidth();if(d()){g.css({"-webkit-overflow-scrolling":"auto"})}}else{var n=o.outerHeight()}p=setInterval(function(){if(c.horizontalScroll){if(c.advanced.autoExpandHorizontalScroll){o.css({position:"absolute",width:"auto"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:o.outerWidth(),position:"relative"}).unwrap()}var t=o.outerWidth()}else{var t=o.outerHeight()}if(t!=n){m.mCustomScrollbar("update");n=t}},300)}})},update:function(){var l=b(this),i=l.children(".mCustomScrollBox"),o=i.children(".mCSB_container");if(!b(document).data("mCS-is-touch-device")){o.removeClass("mCS_no_scrollbar")}var w=i.children(".mCSB_scrollTools"),m=w.children(".mCSB_draggerContainer"),k=m.children(".mCSB_dragger");if(l.data("horizontalScroll")){var y=w.children(".mCSB_buttonLeft"),r=w.children(".mCSB_buttonRight"),d=i.width();if(l.data("autoExpandHorizontalScroll")){o.css({position:"absolute",width:"auto"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:o.outerWidth(),position:"relative"}).unwrap()}var x=o.outerWidth()}else{var u=w.children(".mCSB_buttonUp"),e=w.children(".mCSB_buttonDown"),p=i.height(),g=o.outerHeight()}if(g>p&&!l.data("horizontalScroll")&&!b(document).data("mCS-is-touch-device")){w.css("display","block");var q=m.height();if(l.data("autoDraggerLength")){var s=Math.round(p/g*q),j=k.data("minDraggerHeight");if(s<=j){k.css({height:j})}else{if(s>=q-10){var n=q-10;k.css({height:n})}else{k.css({height:s})}}k.children(".mCSB_dragger_bar").css({"line-height":k.height()+"px"})}var z=k.height(),v=(g-p)/(q-z);l.data("scrollAmount",v);l.mCustomScrollbar("scrolling",i,o,m,k,u,e,y,r);var B=Math.abs(Math.round(o.position().top));l.mCustomScrollbar("scrollTo",B,{callback:false})}else{if(x>d&&l.data("horizontalScroll")&&!b(document).data("mCS-is-touch-device")){w.css("display","block");var f=m.width();if(l.data("autoDraggerLength")){var h=Math.round(d/x*f),A=k.data("minDraggerWidth");if(h<=A){k.css({width:A})}else{if(h>=f-10){var c=f-10;k.css({width:c})}else{k.css({width:h})}}}var t=k.width(),v=(x-d)/(f-t);l.data("scrollAmount",v);l.mCustomScrollbar("scrolling",i,o,m,k,u,e,y,r);var B=Math.abs(Math.round(o.position().left));l.mCustomScrollbar("scrollTo",B,{callback:false})}else{i.unbind("mousewheel");i.unbind("focusin");if(l.data("horizontalScroll")){k.add(o).css("left",0)}else{k.add(o).css("top",0)}w.css("display","none");o.addClass("mCS_no_scrollbar")}}},scrolling:function(h,p,m,j,v,c,y,s){var l=b(this);if(!j.hasClass("ui-draggable")){if(l.data("horizontalScroll")){var i="x"}else{var i="y"}j.draggable({axis:i,containment:"parent",drag:function(B,C){l.mCustomScrollbar("scroll");j.addClass("mCSB_dragger_onDrag")},stop:function(B,C){j.removeClass("mCSB_dragger_onDrag")}})}m.unbind("click").bind("click",function(D){if(l.data("horizontalScroll")){var B=(D.pageX-m.offset().left);if(B<j.position().left||B>(j.position().left+j.width())){var C=B;if(C>=m.width()-j.width()){C=m.width()-j.width()}j.css("left",C);l.mCustomScrollbar("scroll")}}else{var B=(D.pageY-m.offset().top);if(B<j.position().top||B>(j.position().top+j.height())){var C=B;if(C>=m.height()-j.height()){C=m.height()-j.height()}j.css("top",C);l.mCustomScrollbar("scroll")}}});if(l.data("mouseWheel")){var t=l.data("mouseWheel");if(l.data("mouseWheel")==="auto"){t=8;var n=navigator.userAgent;if(n.indexOf("Mac")!=-1&&n.indexOf("Safari")!=-1&&n.indexOf("AppleWebKit")!=-1&&n.indexOf("Chrome")==-1){t=1}}h.unbind("mousewheel").bind("mousewheel",function(E,J){E.preventDefault();var I=Math.abs(J*t);if(l.data("horizontalScroll")){var D=j.position().left-(J*I);j.css("left",D);if(j.position().left<0){j.css("left",0)}var H=m.width(),G=j.width();if(j.position().left>H-G){j.css("left",H-G)}}else{var B=j.position().top-(J*I);j.css("top",B);if(j.position().top<0){j.css("top",0)}var F=m.height(),C=j.height();if(j.position().top>F-C){j.css("top",F-C)}}l.mCustomScrollbar("scroll")})}if(l.data("scrollButtons-enable")){if(l.data("scrollButtons-scrollType")==="pixels"){var A;if(b.browser.msie&&parseInt(b.browser.version)<9){l.data("scrollInertia",0)}if(l.data("horizontalScroll")){s.add(y).unbind("click mousedown mouseup mouseout",k,g);s.bind("click",function(B){B.preventDefault();if(!p.is(":animated")){A=Math.abs(p.position().left)+l.data("scrollButtons-scrollAmount");l.mCustomScrollbar("scrollTo",A)}});y.bind("click",function(B){B.preventDefault();if(!p.is(":animated")){A=Math.abs(p.position().left)-l.data("scrollButtons-scrollAmount");if(p.position().left>=-l.data("scrollButtons-scrollAmount")){A="left"}l.mCustomScrollbar("scrollTo",A)}})}else{c.add(v).unbind("click mousedown mouseup mouseout",r,f);c.bind("click",function(B){B.preventDefault();if(!p.is(":animated")){A=Math.abs(p.position().top)+l.data("scrollButtons-scrollAmount");l.mCustomScrollbar("scrollTo",A)}});v.bind("click",function(B){B.preventDefault();if(!p.is(":animated")){A=Math.abs(p.position().top)-l.data("scrollButtons-scrollAmount");if(p.position().top>=-l.data("scrollButtons-scrollAmount")){A="top"}l.mCustomScrollbar("scrollTo",A)}})}}else{if(l.data("horizontalScroll")){s.add(y).unbind("click mousedown mouseup mouseout",k,g);var x,e=m.width(),u=j.width();s.bind("mousedown",function(C){C.preventDefault();var B=e-u;x=setInterval(function(){var D=Math.abs(j.position().left-B)*(100/l.data("scrollButtons-scrollSpeed"));j.stop().animate({left:B},D,"linear");l.mCustomScrollbar("scroll")},20)});var k=function(B){B.preventDefault();clearInterval(x);j.stop()};s.bind("mouseup mouseout",k);var d;y.bind("mousedown",function(C){C.preventDefault();var B=0;d=setInterval(function(){var D=Math.abs(j.position().left-B)*(100/l.data("scrollButtons-scrollSpeed"));j.stop().animate({left:B},D,"linear");l.mCustomScrollbar("scroll")},20)});var g=function(B){B.preventDefault();clearInterval(d);j.stop()};y.bind("mouseup mouseout",g)}else{c.add(v).unbind("click mousedown mouseup mouseout",r,f);var o,q=m.height(),z=j.height();c.bind("mousedown",function(C){C.preventDefault();var B=q-z;o=setInterval(function(){var D=Math.abs(j.position().top-B)*(100/l.data("scrollButtons-scrollSpeed"));j.stop().animate({top:B},D,"linear");l.mCustomScrollbar("scroll")},20)});var r=function(B){B.preventDefault();clearInterval(o);j.stop()};c.bind("mouseup mouseout",r);var w;v.bind("mousedown",function(C){C.preventDefault();var B=0;w=setInterval(function(){var D=Math.abs(j.position().top-B)*(100/l.data("scrollButtons-scrollSpeed"));j.stop().animate({top:B},D,"linear");l.mCustomScrollbar("scroll")},20)});var f=function(B){B.preventDefault();clearInterval(w);j.stop()};v.bind("mouseup mouseout",f)}}}h.unbind("focusin").bind("focusin",function(){h.scrollTop(0).scrollLeft(0);var C=b(document.activeElement);if(C.is("input,textarea,select,button,a[tabindex],area,object")){if(l.data("horizontalScroll")){var J=p.position().left,G=C.position().left,E=h.width(),H=C.outerWidth();if(J+G>=0&&J+G<=E-H){}else{var K=G/l.data("scrollAmount");if(K>=m.width()-j.width()){K=m.width()-j.width()}j.css("left",K);l.mCustomScrollbar("scroll")}}else{var I=p.position().top,F=C.position().top,B=h.height(),D=C.outerHeight();if(I+F>=0&&I+F<=B-D){}else{var K=F/l.data("scrollAmount");if(K>=m.height()-j.height()){K=m.height()-j.height()}j.css("top",K);l.mCustomScrollbar("scroll")}}}})},scroll:function(h){var k=b(this),p=k.find(".mCSB_dragger"),n=k.find(".mCSB_container"),e=k.find(".mCustomScrollBox");if(k.data("horizontalScroll")){var g=p.position().left,m=-g*k.data("scrollAmount"),o=n.position().left,d=Math.round(o-m)}else{var f=p.position().top,j=-f*k.data("scrollAmount"),l=n.position().top,c=Math.round(l-j)}if(b.browser.webkit){var q=(window.outerWidth-8)/window.innerWidth,i=(q<0.98||q>1.02)}if(k.data("scrollInertia")===0||i){if(k.data("horizontalScroll")){n.css("left",m)}else{n.css("top",j)}if(!h){k.mCustomScrollbar("callbacks",e,n)}}else{if(k.data("horizontalScroll")){n.stop().animate({left:"-="+d},k.data("scrollInertia"),k.data("scrollEasing"),function(){if(!h){k.mCustomScrollbar("callbacks",e,n)}})}else{n.stop().animate({top:"-="+c},k.data("scrollInertia"),k.data("scrollEasing"),function(){if(!h){k.mCustomScrollbar("callbacks",e,n)}})}}},scrollTo:function(g,m){var f={moveDragger:false,callback:true},m=b.extend(f,m),i=b(this),c,d=i.find(".mCustomScrollBox"),j=d.children(".mCSB_container");if(!b(document).data("mCS-is-touch-device")){var e=i.find(".mCSB_draggerContainer"),k=e.children(".mCSB_dragger")}var l;if(g){if(typeof(g)==="number"){if(m.moveDragger){c=g}else{l=g;c=Math.round(l/i.data("scrollAmount"))}}else{if(typeof(g)==="string"){var h;if(g==="top"){h=0}else{if(g==="bottom"&&!i.data("horizontalScroll")){h=j.outerHeight()-d.height()}else{if(g==="left"){h=0}else{if(g==="right"&&i.data("horizontalScroll")){h=j.outerWidth()-d.width()}else{if(g==="first"){h=i.find(".mCSB_container").find(":first")}else{if(g==="last"){h=i.find(".mCSB_container").find(":last")}else{h=i.find(g)}}}}}}if(h.length===1){if(i.data("horizontalScroll")){l=h.position().left}else{l=h.position().top}if(b(document).data("mCS-is-touch-device")){c=l}else{c=Math.ceil(l/i.data("scrollAmount"))}}else{c=h}}}if(b(document).data("mCS-is-touch-device")){if(i.data("horizontalScroll")){d.stop().animate({scrollLeft:c},i.data("scrollInertia"),i.data("scrollEasing"),function(){if(m.callback){i.mCustomScrollbar("callbacks",d,j)}})}else{d.stop().animate({scrollTop:c},i.data("scrollInertia"),i.data("scrollEasing"),function(){if(m.callback){i.mCustomScrollbar("callbacks",d,j)}})}}else{if(i.data("horizontalScroll")){if(c>=e.width()-k.width()){c=e.width()-k.width()}k.css("left",c)}else{if(c>=e.height()-k.height()){c=e.height()-k.height()}k.css("top",c)}if(m.callback){i.mCustomScrollbar("scroll")}else{i.mCustomScrollbar("scroll",true)}}}},callbacks:function(e,h){var i=b(this);if(!b(document).data("mCS-is-touch-device")){if(i.data("horizontalScroll")){var g=Math.round(h.position().left);if(g<0&&g<=e.width()-h.outerWidth()+i.data("onTotalScroll-Offset")){i.data("onTotalScroll-Callback").call()}else{i.data("onScroll-Callback").call()}}else{var f=Math.round(h.position().top);if(f<0&&f<=e.height()-h.outerHeight()+i.data("onTotalScroll-Offset")){i.data("onTotalScroll-Callback").call()}else{i.data("onScroll-Callback").call()}}}else{if(i.data("horizontalScroll")){var d=Math.round(e.scrollLeft());if(d>0&&d>=h.outerWidth()-i.width()-i.data("onTotalScroll-Offset")){i.data("onTotalScroll-Callback").call()}else{i.data("onScroll-Callback").call()}}else{var c=Math.round(e.scrollTop());if(c>0&&c>=h.outerHeight()-i.height()-i.data("onTotalScroll-Offset")){i.data("onTotalScroll-Callback").call()}else{i.data("onScroll-Callback").call()}}}}};b.fn.mCustomScrollbar=function(c){if(a[c]){return a[c].apply(this,Array.prototype.slice.call(arguments,1))}else{if(typeof c==="object"||!c){return a.init.apply(this,arguments)}else{b.error("Method "+c+" does not exist")}}}})(jQuery);
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/js/frontend/jquery.mousewheel.min.js Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
- * Licensed under the MIT License (LICENSE.txt).
- *
- * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
- * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
- * Thanks to: Seamus Leahy for adding deltaX and deltaY
- *
- * Version: 3.0.6
- *
- * Requires: 1.2.2+
- */
-(function(a){function d(b){var c=b||window.event,d=[].slice.call(arguments,1),e=0,f=!0,g=0,h=0;return b=a.event.fix(c),b.type="mousewheel",c.wheelDelta&&(e=c.wheelDelta/120),c.detail&&(e=-c.detail/3),h=e,c.axis!==undefined&&c.axis===c.HORIZONTAL_AXIS&&(h=0,g=-1*e),c.wheelDeltaY!==undefined&&(h=c.wheelDeltaY/120),c.wheelDeltaX!==undefined&&(g=-1*c.wheelDeltaX/120),d.unshift(b,e,g,h),(a.event.dispatch||a.event.handle).apply(this,d)}var b=["DOMMouseScroll","mousewheel"];if(a.event.fixHooks)for(var c=b.length;c;)a.event.fixHooks[b[--c]]=a.event.mouseHooks;a.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=b.length;a;)this.addEventListener(b[--a],d,!1);else this.onmousewheel=d},teardown:function(){if(this.removeEventListener)for(var a=b.length;a;)this.removeEventListener(b[--a],d,!1);else this.onmousewheel=null}},a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery)
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/js/frontend/jquery.prettyPhoto.js Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,83 +0,0 @@
-/* ------------------------------------------------------------------------
- Class: prettyPhoto
- Use: Lightbox clone for jQuery
- Author: Stephane Caron (http://www.no-margin-for-errors.com)
- Version: 3.1.4
-------------------------------------------------------------------------- */
-
-(function($){$.prettyPhoto={version:'3.1.4'};$.fn.prettyPhoto=function(pp_settings){pp_settings=jQuery.extend({hook:'rel',animation_speed:'fast',ajaxcallback:function(){},slideshow:5000,autoplay_slideshow:false,opacity:0.80,show_title:true,allow_resize:true,allow_expand:true,default_width:500,default_height:344,counter_separator_label:'/',theme:'pp_default',horizontal_padding:20,hideflash:false,wmode:'opaque',autoplay:true,modal:false,deeplinking:true,overlay_gallery:true,overlay_gallery_max:30,keyboard_shortcuts:true,changepicturecallback:function(){},callback:function(){},ie6_fallback:true,markup:'<div class="pp_pic_holder"> \
- <div class="ppt"> </div> \
- <div class="pp_top"> \
- <div class="pp_left"></div> \
- <div class="pp_middle"></div> \
- <div class="pp_right"></div> \
- </div> \
- <div class="pp_content_container"> \
- <div class="pp_left"> \
- <div class="pp_right"> \
- <div class="pp_content"> \
- <div class="pp_loaderIcon"></div> \
- <div class="pp_fade"> \
- <a href="#" class="pp_expand" title="Expand the image">Expand</a> \
- <div class="pp_hoverContainer"> \
- <a class="pp_next" href="#">next</a> \
- <a class="pp_previous" href="#">previous</a> \
- </div> \
- <div id="pp_full_res"></div> \
- <div class="pp_details"> \
- <div class="pp_nav"> \
- <a href="#" class="pp_arrow_previous">Previous</a> \
- <p class="currentTextHolder">0/0</p> \
- <a href="#" class="pp_arrow_next">Next</a> \
- </div> \
- <p class="pp_description"></p> \
- <div class="pp_social">{pp_social}</div> \
- <a class="pp_close" href="#">Close</a> \
- </div> \
- </div> \
- </div> \
- </div> \
- </div> \
- </div> \
- <div class="pp_bottom"> \
- <div class="pp_left"></div> \
- <div class="pp_middle"></div> \
- <div class="pp_right"></div> \
- </div> \
- </div> \
- <div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery"> \
- <a href="#" class="pp_arrow_previous">Previous</a> \
- <div> \
- <ul> \
- {gallery} \
- </ul> \
- </div> \
- <a href="#" class="pp_arrow_next">Next</a> \
- </div>',image_markup:'<img id="fullResImage" src="{path}" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline">{content}</div>',custom_markup:'',social_tools:'<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>'},pp_settings);var matchedObjects=this,percentBased=false,pp_dimensions,pp_open,pp_contentHeight,pp_contentWidth,pp_containerHeight,pp_containerWidth,windowHeight=$(window).height(),windowWidth=$(window).width(),pp_slideshow;doresize=true,scroll_pos=_get_scroll();$(window).unbind('resize.prettyphoto').bind('resize.prettyphoto',function(){_center_overlay();_resize_overlay();});if(pp_settings.keyboard_shortcuts){$(document).unbind('keydown.prettyphoto').bind('keydown.prettyphoto',function(e){if(typeof $pp_pic_holder!='undefined'){if($pp_pic_holder.is(':visible')){switch(e.keyCode){case 37:$.prettyPhoto.changePage('previous');e.preventDefault();break;case 39:$.prettyPhoto.changePage('next');e.preventDefault();break;case 27:if(!settings.modal)
-$.prettyPhoto.close();e.preventDefault();break;};};};});};$.prettyPhoto.initialize=function(){settings=pp_settings;if(settings.theme=='pp_default')settings.horizontal_padding=16;if(settings.ie6_fallback&&$.browser.msie&&parseInt($.browser.version)==6)settings.theme="light_square";theRel=$(this).attr(settings.hook);galleryRegExp=/\[(?:.*)\]/;isSet=(galleryRegExp.exec(theRel))?true:false;pp_images=(isSet)?jQuery.map(matchedObjects,function(n,i){if($(n).attr(settings.hook).indexOf(theRel)!=-1)return $(n).attr('href');}):$.makeArray($(this).attr('href'));pp_titles=(isSet)?jQuery.map(matchedObjects,function(n,i){if($(n).attr(settings.hook).indexOf(theRel)!=-1)return($(n).find('img').attr('alt'))?$(n).find('img').attr('alt'):"";}):$.makeArray($(this).find('img').attr('alt'));pp_descriptions=(isSet)?jQuery.map(matchedObjects,function(n,i){if($(n).attr(settings.hook).indexOf(theRel)!=-1)return($(n).attr('title'))?$(n).attr('title'):"";}):$.makeArray($(this).attr('title'));if(pp_images.length>settings.overlay_gallery_max)settings.overlay_gallery=false;set_position=jQuery.inArray($(this).attr('href'),pp_images);rel_index=(isSet)?set_position:$("a["+settings.hook+"^='"+theRel+"']").index($(this));_build_overlay(this);if(settings.allow_resize)
-$(window).bind('scroll.prettyphoto',function(){_center_overlay();});$.prettyPhoto.open();return false;}
-$.prettyPhoto.open=function(event){if(typeof settings=="undefined"){settings=pp_settings;if($.browser.msie&&$.browser.version==6)settings.theme="light_square";pp_images=$.makeArray(arguments[0]);pp_titles=(arguments[1])?$.makeArray(arguments[1]):$.makeArray("");pp_descriptions=(arguments[2])?$.makeArray(arguments[2]):$.makeArray("");isSet=(pp_images.length>1)?true:false;set_position=(arguments[3])?arguments[3]:0;_build_overlay(event.target);}
-if($.browser.msie&&$.browser.version==6)$('select').css('visibility','hidden');if(settings.hideflash)$('object,embed,iframe[src*=youtube],iframe[src*=vimeo]').css('visibility','hidden');_checkPosition($(pp_images).size());$('.pp_loaderIcon').show();if(settings.deeplinking)
-setHashtag();if(settings.social_tools){facebook_like_link=settings.social_tools.replace('{location_href}',encodeURIComponent(location.href));$pp_pic_holder.find('.pp_social').html(facebook_like_link);}
-if($ppt.is(':hidden'))$ppt.css('opacity',0).show();$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity);$pp_pic_holder.find('.currentTextHolder').text((set_position+1)+settings.counter_separator_label+$(pp_images).size());if(typeof pp_descriptions[set_position]!='undefined'&&pp_descriptions[set_position]!=""){$pp_pic_holder.find('.pp_description').show().html(unescape(pp_descriptions[set_position]));}else{$pp_pic_holder.find('.pp_description').hide();}
-movie_width=(parseFloat(getParam('width',pp_images[set_position])))?getParam('width',pp_images[set_position]):settings.default_width.toString();movie_height=(parseFloat(getParam('height',pp_images[set_position])))?getParam('height',pp_images[set_position]):settings.default_height.toString();percentBased=false;if(movie_height.indexOf('%')!=-1){movie_height=parseFloat(($(window).height()*parseFloat(movie_height)/100)-150);percentBased=true;}
-if(movie_width.indexOf('%')!=-1){movie_width=parseFloat(($(window).width()*parseFloat(movie_width)/100)-150);percentBased=true;}
-$pp_pic_holder.fadeIn(function(){(settings.show_title&&pp_titles[set_position]!=""&&typeof pp_titles[set_position]!="undefined")?$ppt.html(unescape(pp_titles[set_position])):$ppt.html(' ');imgPreloader="";skipInjection=false;switch(_getFileType(pp_images[set_position])){case'image':imgPreloader=new Image();nextImage=new Image();if(isSet&&set_position<$(pp_images).size()-1)nextImage.src=pp_images[set_position+1];prevImage=new Image();if(isSet&&pp_images[set_position-1])prevImage.src=pp_images[set_position-1];$pp_pic_holder.find('#pp_full_res')[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]);imgPreloader.onload=function(){pp_dimensions=_fitToViewport(imgPreloader.width,imgPreloader.height);_showContent();};imgPreloader.onerror=function(){alert('Image cannot be loaded. Make sure the path is correct and image exist.');$.prettyPhoto.close();};imgPreloader.src=pp_images[set_position];break;case'youtube':pp_dimensions=_fitToViewport(movie_width,movie_height);movie_id=getParam('v',pp_images[set_position]);if(movie_id==""){movie_id=pp_images[set_position].split('youtu.be/');movie_id=movie_id[1];if(movie_id.indexOf('?')>0)
-movie_id=movie_id.substr(0,movie_id.indexOf('?'));if(movie_id.indexOf('&')>0)
-movie_id=movie_id.substr(0,movie_id.indexOf('&'));}
-movie='http://www.youtube.com/embed/'+movie_id;(getParam('rel',pp_images[set_position]))?movie+="?rel="+getParam('rel',pp_images[set_position]):movie+="?rel=1";if(settings.autoplay)movie+="&autoplay=1";toInject=settings.iframe_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dimensions['height']).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case'vimeo':pp_dimensions=_fitToViewport(movie_width,movie_height);movie_id=pp_images[set_position];var regExp=/http:\/\/(www\.)?vimeo.com\/(\d+)/;var match=movie_id.match(regExp);movie='http://player.vimeo.com/video/'+match[2]+'?title=0&byline=0&portrait=0';if(settings.autoplay)movie+="&autoplay=1;";vimeo_width=pp_dimensions['width']+'/embed/?moog_width='+pp_dimensions['width'];toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,pp_dimensions['height']).replace(/{path}/g,movie);break;case'quicktime':pp_dimensions=_fitToViewport(movie_width,movie_height);pp_dimensions['height']+=15;pp_dimensions['contentHeight']+=15;pp_dimensions['containerHeight']+=15;toInject=settings.quicktime_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dimensions['height']).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case'flash':pp_dimensions=_fitToViewport(movie_width,movie_height);flash_vars=pp_images[set_position];flash_vars=flash_vars.substring(pp_images[set_position].indexOf('flashvars')+10,pp_images[set_position].length);filename=pp_images[set_position];filename=filename.substring(0,filename.indexOf('?'));toInject=settings.flash_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dimensions['height']).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+'?'+flash_vars);break;case'iframe':pp_dimensions=_fitToViewport(movie_width,movie_height);frame_url=pp_images[set_position];frame_url=frame_url.substr(0,frame_url.indexOf('iframe')-1);toInject=settings.iframe_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dimensions['height']).replace(/{path}/g,frame_url);break;case'ajax':doresize=false;pp_dimensions=_fitToViewport(movie_width,movie_height);doresize=true;skipInjection=true;$.get(pp_images[set_position],function(responseHTML){toInject=settings.inline_markup.replace(/{content}/g,responseHTML);$pp_pic_holder.find('#pp_full_res')[0].innerHTML=toInject;_showContent();});break;case'custom':pp_dimensions=_fitToViewport(movie_width,movie_height);toInject=settings.custom_markup;break;case'inline':myClone=$(pp_images[set_position]).clone().append('<br clear="all" />').css({'width':settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline"></div></div>').appendTo($('body')).show();doresize=false;pp_dimensions=_fitToViewport($(myClone).width(),$(myClone).height());doresize=true;$(myClone).remove();toInject=settings.inline_markup.replace(/{content}/g,$(pp_images[set_position]).html());break;};if(!imgPreloader&&!skipInjection){$pp_pic_holder.find('#pp_full_res')[0].innerHTML=toInject;_showContent();};});return false;};$.prettyPhoto.changePage=function(direction){currentGalleryPage=0;if(direction=='previous'){set_position--;if(set_position<0)set_position=$(pp_images).size()-1;}else if(direction=='next'){set_position++;if(set_position>$(pp_images).size()-1)set_position=0;}else{set_position=direction;};rel_index=set_position;if(!doresize)doresize=true;if(settings.allow_expand){$('.pp_contract').removeClass('pp_contract').addClass('pp_expand');}
-_hideContent(function(){$.prettyPhoto.open();});};$.prettyPhoto.changeGalleryPage=function(direction){if(direction=='next'){currentGalleryPage++;if(currentGalleryPage>totalPage)currentGalleryPage=0;}else if(direction=='previous'){currentGalleryPage--;if(currentGalleryPage<0)currentGalleryPage=totalPage;}else{currentGalleryPage=direction;};slide_speed=(direction=='next'||direction=='previous')?settings.animation_speed:0;slide_to=currentGalleryPage*(itemsPerPage*itemWidth);$pp_gallery.find('ul').animate({left:-slide_to},slide_speed);};$.prettyPhoto.startSlideshow=function(){if(typeof pp_slideshow=='undefined'){$pp_pic_holder.find('.pp_play').unbind('click').removeClass('pp_play').addClass('pp_pause').click(function(){$.prettyPhoto.stopSlideshow();return false;});pp_slideshow=setInterval($.prettyPhoto.startSlideshow,settings.slideshow);}else{$.prettyPhoto.changePage('next');};}
-$.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find('.pp_pause').unbind('click').removeClass('pp_pause').addClass('pp_play').click(function(){$.prettyPhoto.startSlideshow();return false;});clearInterval(pp_slideshow);pp_slideshow=undefined;}
-$.prettyPhoto.close=function(){if($pp_overlay.is(":animated"))return;$.prettyPhoto.stopSlideshow();$pp_pic_holder.stop().find('object,embed').css('visibility','hidden');$('div.pp_pic_holder,div.ppt,.pp_fade').fadeOut(settings.animation_speed,function(){$(this).remove();});$pp_overlay.fadeOut(settings.animation_speed,function(){if($.browser.msie&&$.browser.version==6)$('select').css('visibility','visible');if(settings.hideflash)$('object,embed,iframe[src*=youtube],iframe[src*=vimeo]').css('visibility','visible');$(this).remove();$(window).unbind('scroll.prettyphoto');clearHashtag();settings.callback();doresize=true;pp_open=false;delete settings;});};function _showContent(){$('.pp_loaderIcon').hide();projectedTop=scroll_pos['scrollTop']+((windowHeight/2)-(pp_dimensions['containerHeight']/2));if(projectedTop<0)projectedTop=0;$ppt.fadeTo(settings.animation_speed,1);$pp_pic_holder.find('.pp_content').animate({height:pp_dimensions['contentHeight'],width:pp_dimensions['contentWidth']},settings.animation_speed);$pp_pic_holder.animate({'top':projectedTop,'left':((windowWidth/2)-(pp_dimensions['containerWidth']/2)<0)?0:(windowWidth/2)-(pp_dimensions['containerWidth']/2),width:pp_dimensions['containerWidth']},settings.animation_speed,function(){$pp_pic_holder.find('.pp_hoverContainer,#fullResImage').height(pp_dimensions['height']).width(pp_dimensions['width']);$pp_pic_holder.find('.pp_fade').fadeIn(settings.animation_speed);if(isSet&&_getFileType(pp_images[set_position])=="image"){$pp_pic_holder.find('.pp_hoverContainer').show();}else{$pp_pic_holder.find('.pp_hoverContainer').hide();}
-if(settings.allow_expand){if(pp_dimensions['resized']){$('a.pp_expand,a.pp_contract').show();}else{$('a.pp_expand').hide();}}
-if(settings.autoplay_slideshow&&!pp_slideshow&&!pp_open)$.prettyPhoto.startSlideshow();settings.changepicturecallback();pp_open=true;});_insert_gallery();pp_settings.ajaxcallback();};function _hideContent(callback){$pp_pic_holder.find('#pp_full_res object,#pp_full_res embed').css('visibility','hidden');$pp_pic_holder.find('.pp_fade').fadeOut(settings.animation_speed,function(){$('.pp_loaderIcon').show();callback();});};function _checkPosition(setCount){(setCount>1)?$('.pp_nav').show():$('.pp_nav').hide();};function _fitToViewport(width,height){resized=false;_getDimensions(width,height);imageWidth=width,imageHeight=height;if(((pp_containerWidth>windowWidth)||(pp_containerHeight>windowHeight))&&doresize&&settings.allow_resize&&!percentBased){resized=true,fitting=false;while(!fitting){if((pp_containerWidth>windowWidth)){imageWidth=(windowWidth-200);imageHeight=(height/width)*imageWidth;}else if((pp_containerHeight>windowHeight)){imageHeight=(windowHeight-200);imageWidth=(width/height)*imageHeight;}else{fitting=true;};pp_containerHeight=imageHeight,pp_containerWidth=imageWidth;};_getDimensions(imageWidth,imageHeight);if((pp_containerWidth>windowWidth)||(pp_containerHeight>windowHeight)){_fitToViewport(pp_containerWidth,pp_containerHeight)};};return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(pp_containerHeight),containerWidth:Math.floor(pp_containerWidth)+(settings.horizontal_padding*2),contentHeight:Math.floor(pp_contentHeight),contentWidth:Math.floor(pp_contentWidth),resized:resized};};function _getDimensions(width,height){width=parseFloat(width);height=parseFloat(height);$pp_details=$pp_pic_holder.find('.pp_details');$pp_details.width(width);detailsHeight=parseFloat($pp_details.css('marginTop'))+parseFloat($pp_details.css('marginBottom'));$pp_details=$pp_details.clone().addClass(settings.theme).width(width).appendTo($('body')).css({'position':'absolute','top':-10000});detailsHeight+=$pp_details.height();detailsHeight=(detailsHeight<=34)?36:detailsHeight;if($.browser.msie&&$.browser.version==7)detailsHeight+=8;$pp_details.remove();$pp_title=$pp_pic_holder.find('.ppt');$pp_title.width(width);titleHeight=parseFloat($pp_title.css('marginTop'))+parseFloat($pp_title.css('marginBottom'));$pp_title=$pp_title.clone().appendTo($('body')).css({'position':'absolute','top':-10000});titleHeight+=$pp_title.height();$pp_title.remove();pp_contentHeight=height+detailsHeight;pp_contentWidth=width;pp_containerHeight=pp_contentHeight+titleHeight+$pp_pic_holder.find('.pp_top').height()+$pp_pic_holder.find('.pp_bottom').height();pp_containerWidth=width;}
-function _getFileType(itemSrc){if(itemSrc.match(/youtube\.com\/watch/i)||itemSrc.match(/youtu\.be/i)){return'youtube';}else if(itemSrc.match(/vimeo\.com/i)){return'vimeo';}else if(itemSrc.match(/\b.mov\b/i)){return'quicktime';}else if(itemSrc.match(/\b.swf\b/i)){return'flash';}else if(itemSrc.match(/\biframe=true\b/i)){return'iframe';}else if(itemSrc.match(/\bajax=true\b/i)){return'ajax';}else if(itemSrc.match(/\bcustom=true\b/i)){return'custom';}else if(itemSrc.substr(0,1)=='#'){return'inline';}else{return'image';};};function _center_overlay(){if(doresize&&typeof $pp_pic_holder!='undefined'){scroll_pos=_get_scroll();contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width();projectedTop=(windowHeight/2)+scroll_pos['scrollTop']-(contentHeight/2);if(projectedTop<0)projectedTop=0;if(contentHeight>windowHeight)
-return;$pp_pic_holder.css({'top':projectedTop,'left':(windowWidth/2)+scroll_pos['scrollLeft']-(contentwidth/2)});};};function _get_scroll(){if(self.pageYOffset){return{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset};}else if(document.documentElement&&document.documentElement.scrollTop){return{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft};}else if(document.body){return{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft};};};function _resize_overlay(){windowHeight=$(window).height(),windowWidth=$(window).width();if(typeof $pp_overlay!="undefined")$pp_overlay.height($(document).height()).width(windowWidth);};function _insert_gallery(){if(isSet&&settings.overlay_gallery&&_getFileType(pp_images[set_position])=="image"&&(settings.ie6_fallback&&!($.browser.msie&&parseInt($.browser.version)==6))){itemWidth=52+5;navWidth=(settings.theme=="facebook"||settings.theme=="pp_default")?50:30;itemsPerPage=Math.floor((pp_dimensions['containerWidth']-100-navWidth)/itemWidth);itemsPerPage=(itemsPerPage<pp_images.length)?itemsPerPage:pp_images.length;totalPage=Math.ceil(pp_images.length/itemsPerPage)-1;if(totalPage==0){navWidth=0;$pp_gallery.find('.pp_arrow_next,.pp_arrow_previous').hide();}else{$pp_gallery.find('.pp_arrow_next,.pp_arrow_previous').show();};galleryWidth=itemsPerPage*itemWidth;fullGalleryWidth=pp_images.length*itemWidth;$pp_gallery.css('margin-left',-((galleryWidth/2)+(navWidth/2))).find('div:first').width(galleryWidth+5).find('ul').width(fullGalleryWidth).find('li.selected').removeClass('selected');goToPage=(Math.floor(set_position/itemsPerPage)<totalPage)?Math.floor(set_position/itemsPerPage):totalPage;$.prettyPhoto.changeGalleryPage(goToPage);$pp_gallery_li.filter(':eq('+set_position+')').addClass('selected');}else{$pp_pic_holder.find('.pp_content').unbind('mouseenter mouseleave');}}
-function _build_overlay(caller){if(settings.social_tools)
-facebook_like_link=settings.social_tools.replace('{location_href}',encodeURIComponent(location.href));settings.markup=settings.markup.replace('{pp_social}','');$('body').append(settings.markup);$pp_pic_holder=$('.pp_pic_holder'),$ppt=$('.ppt'),$pp_overlay=$('div.pp_overlay');if(isSet&&settings.overlay_gallery){currentGalleryPage=0;toInject="";for(var i=0;i<pp_images.length;i++){if(!pp_images[i].match(/\b(jpg|jpeg|png|gif)\b/gi)){classname='default';img_src='';}else{classname='';img_src=pp_images[i];}
-toInject+="<li class='"+classname+"'><a href='#'><img src='"+img_src+"' width='50' alt='' /></a></li>";};toInject=settings.gallery_markup.replace(/{gallery}/g,toInject);$pp_pic_holder.find('#pp_full_res').after(toInject);$pp_gallery=$('.pp_pic_holder .pp_gallery'),$pp_gallery_li=$pp_gallery.find('li');$pp_gallery.find('.pp_arrow_next').click(function(){$.prettyPhoto.changeGalleryPage('next');$.prettyPhoto.stopSlideshow();return false;});$pp_gallery.find('.pp_arrow_previous').click(function(){$.prettyPhoto.changeGalleryPage('previous');$.prettyPhoto.stopSlideshow();return false;});$pp_pic_holder.find('.pp_content').hover(function(){$pp_pic_holder.find('.pp_gallery:not(.disabled)').fadeIn();},function(){$pp_pic_holder.find('.pp_gallery:not(.disabled)').fadeOut();});itemWidth=52+5;$pp_gallery_li.each(function(i){$(this).find('a').click(function(){$.prettyPhoto.changePage(i);$.prettyPhoto.stopSlideshow();return false;});});};if(settings.slideshow){$pp_pic_holder.find('.pp_nav').prepend('<a href="#" class="pp_play">Play</a>')
-$pp_pic_holder.find('.pp_nav .pp_play').click(function(){$.prettyPhoto.startSlideshow();return false;});}
-$pp_pic_holder.attr('class','pp_pic_holder '+settings.theme);$pp_overlay.css({'opacity':0,'height':$(document).height(),'width':$(window).width()}).bind('click',function(){if(!settings.modal)$.prettyPhoto.close();});$('a.pp_close').bind('click',function(){$.prettyPhoto.close();return false;});if(settings.allow_expand){$('a.pp_expand').bind('click',function(e){if($(this).hasClass('pp_expand')){$(this).removeClass('pp_expand').addClass('pp_contract');doresize=false;}else{$(this).removeClass('pp_contract').addClass('pp_expand');doresize=true;};_hideContent(function(){$.prettyPhoto.open();});return false;});}
-$pp_pic_holder.find('.pp_previous, .pp_nav .pp_arrow_previous').bind('click',function(){$.prettyPhoto.changePage('previous');$.prettyPhoto.stopSlideshow();return false;});$pp_pic_holder.find('.pp_next, .pp_nav .pp_arrow_next').bind('click',function(){$.prettyPhoto.changePage('next');$.prettyPhoto.stopSlideshow();return false;});_center_overlay();};if(!pp_alreadyInitialized&&getHashtag()){pp_alreadyInitialized=true;hashIndex=getHashtag();hashRel=hashIndex;hashIndex=hashIndex.substring(hashIndex.indexOf('/')+1,hashIndex.length-1);hashRel=hashRel.substring(0,hashRel.indexOf('/'));setTimeout(function(){$("a["+pp_settings.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger('click');},50);}
-return this.unbind('click.prettyphoto').bind('click.prettyphoto',$.prettyPhoto.initialize);};function getHashtag(){url=location.href;hashtag=(url.indexOf('#prettyPhoto')!==-1)?decodeURI(url.substring(url.indexOf('#prettyPhoto')+1,url.length)):false;return hashtag;};function setHashtag(){if(typeof theRel=='undefined')return;location.hash=theRel+'/'+rel_index+'/';};function clearHashtag(){if(location.href.indexOf('#prettyPhoto')!==-1)location.hash="prettyPhoto";}
-function getParam(name,url){name=name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");var regexS="[\\?&]"+name+"=([^&#]*)";var regex=new RegExp(regexS);var results=regex.exec(url);return(results==null)?"":results[1];}})(jQuery);var pp_alreadyInitialized=false;
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/js/frontend/jquery.timeline.backup.js Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,747 +0,0 @@
-/*
-
-Content Timeline 3.0
-
-Date organised content slider.
-
-Copyright (c) 2012 Br0 (shindiristudio.com)
-
-Project site: http://codecanyon.net/
-Project demo: http://shindiristudio.com/timeline
-
-*/
-
-(function($){
-
- // EVENTS.timeline
-
- // init.timeline : triggered when timeline is initialised
- // scrollStart.timeline : triggered when item move animation starts
- // scrollEnd.timeline : triggered when item move animation ends
- // itemOpen.timeline : triggered on click to open item
- // itemClose.timeline : triggered on click to close item
-
- // ---------------------------------------------------------
-
- // On KeyPress (left) : trigger $.timeline('left')
- // On KeyPress (right) : trigger $.timeline('right')
-
- // ---------------------------------------------------------
-
- // $.timeline(METHODS)
-
- // $.timeline('init') : initialises timeline
- // $.timeline('destroy') : clears timeline data
- // $.timeline('left') : moves one left by one element
- // $.timeline('right') : moves right by one element
- // $.timeline('open', id) : opens element with 'data-id' = id
- // $.timeline('close', id): closes element with 'data-id' = id
- // $.timeline('goTo', id) : goes to element width 'data-id' = id
-
-
- var t_methods = {
- init : function( options ) {
-
- // Default settings
- var settings = $.extend( {
- 'itemClass' : '.item', // class used for timeline items
- 'itemOpenClass' : '.item_open', // class used for item details
- 'openTriggerClass' : '.item', // class of read more element (default uses whole item to trigger open event)
- 'closeText' : 'Close', // text of close button in open item
- 'itemMargin' : 10, // spacing between items
- 'scrollSpeed' : 500, // animation speed
- 'startItem' : 'last', // timeline start item id, 'last' or 'first' can be used insted
- 'easing' : 'easeOutSine', // jquery.easing function for animations,
- 'categories' : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], // categories shown above timeline (months are default)
- 'nuberOfSegments' : [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], // number of elements per category (number of days)
- 'yearsOn' : true, // show years (can be any number you use in data-id (elementNumber/category/yearOrSomeOtherNumber))
- 'swipeOn' : true, // turn on swipe moving function
- 'hideTimeline' : false,
- 'hideControles' : false
- }, options); // Setings
-
-
- // main queries
- var $this = this,
- $body = $('body'),
- $items = $this.find(settings.itemClass),
- $itemsOpen = $this.find(settings.itemOpenClass),
- itemWidth = $items.first().width(),
- itemOpenWidth = $itemsOpen.first().width();
-
- // Trigger init event
- $this.trigger('init.Timeline');
-
-
- // If no index found
- var startIndex = $items.length-1;
-
- // Find index of start element
- if(settings.startItem == 'first')
- {
- startIndex = 0;
- }
- else if (settings.startItem == 'last')
- {
- startIndex = $items.length-1;
- }
- else {
- $items.each(function(index){
- if(settings.startItem == $(this).attr('data-id'))
- {
- startIndex = index;
- return true;
- }
- });
- }
- $items.each(function(index){
- $(this).attr('data-count', index);
- $(this).next(settings.itemOpenClass).attr('data-count', index);
- if(!$(this).hasClass(settings.openTriggerClass)) {
- $(this).find(settings.openTriggerClass).attr('data-count', index);
- }
- });
-
- // Create wrapper elements, and needed properties
- $this.append('<div style="clear:both"></div>');
- $this.css({width: '100%', 'overflow' : 'hidden', marginLeft : 'auto', marginRight : 'auto','text-align': 'center', height:0});
- $this.wrapInner('<div class="timeline_items" />');
- $this.find('.timeline_items').css('text-align','left');
- if(!settings.hideControles) {
- $this.append('<div class="t_controles"><div class="t_left"></div><div class="t_right"></div></div>');
- }
-
- // ZoomOut placement fix
- $this.wrapInner('<div class="timeline_items_holder" />');
- $this.find('.timeline_items_holder').css({width: '300px', marginLeft : 'auto', marginRight : 'auto'});
-
-
- $items.css({paddingLeft:0 , paddingRight:0, marginLeft: settings.itemMargin/2, marginRight: settings.itemMargin/2, float: 'left', position:'relative'});
-
- $itemsOpen.each(function(){
- $(this).prepend('<div class="t_close" data-count="'+$(this).attr('data-count')+'" data-id="'+$(this).attr('data-id')+'">'+settings.closeText+'</div>');
- $(this).wrapInner('<div class="'+settings.itemOpenClass.substr(1)+'_cwrapper" />').find('div:first').css({position: 'relative'});
- $(this).css({width: 0, padding:0 , margin: 0, float: 'left', display : 'none', position : 'relative', overflow : 'hidden'});
- });
-
-
- // Get new queries
- var $iholder = $this.find('.timeline_items:first'),
- $line = $this.find('.t_line_wrapper:first'),
- margin = 300/2 - (itemWidth + settings.itemMargin)*(1/2 + startIndex) ,
- width = (itemWidth + settings.itemMargin)*$items.length + (itemOpenWidth + settings.itemMargin) + 660 ,
- data = $this.data('timeline');
-
- // Set margin so start element would place in midle of the screen
- $iholder.css({width: width, marginLeft: margin});
-
-
-
-
- // If the plugin hasn't been initialized yet
- if (!data){
- $this.data('timeline', {
- currentIndex : startIndex,
- itemCount : $items.length,
- margin : margin,
- itemWidth : itemWidth,
- itemOpenWidth : itemOpenWidth,
- lineMargin : 0,
- lineViewCount : 0,
- options : settings,
- items : $items,
- iholder : $iholder,
- open : false,
- noAnimation : false,
- marginResponse: false,
- mousedown : false,
- mousestartpos : 0
- });
- }
- if(!settings.hideTimeline) {
- $this.timeline('createElements');
- }
-
-
-
- // Bind keyLeft and KeyRight functions
- $(document).keydown(function(e){
- if (e.keyCode == 37) {
- $this.timeline('left');
- return false;
- }
- if (e.keyCode == 39) {
- $this.timeline('right');
- return false;
- }
- });
-
- // Respond to window resizing
- $(window).resize(function() {
- //var id = $this.find('.active:first').attr('href').substr(1);
- var data = $this.data('timeline'),
- id = $items.eq(data.currentIndex).attr('data-id');
-
- itemWidth = $items.first().width(),
- itemOpenWidth = $itemsOpen.first().find('div:first').width();
-
- data.margin += data.itemCount*(data.itemWidth-itemWidth);
- data.itemWidth = itemWidth;
-
- if(data.open) data.margin += (data.itemOpenWidth-itemOpenWidth)/2;
- data.itemOpenWidth = itemOpenWidth;
-
-
- if($('body').width() < 767 && data.open && !data.marginResponse) {
- data.margin -= (itemWidth+settings.itemMargin)/2;
- data.marginResponse = true;
- }
- else if($('body').width() >= 767 && data.marginResponse && data.open) {
- data.margin += (itemWidth+settings.itemMargin)/2;
- data.marginResponse = false;
- }
-
- data.noAnimation = true;
- $this.timeline('goTo', id);
- });
-
- // Bind left on click
- $this.find('.t_left').click(function(){
- $this.timeline('left');
- });
-
- // Bind right on click
- $this.find('.t_right').click(function(){
- $this.timeline('right');
- });
-
- // SWIPE bind
-
- if(settings.swipeOn) {
- $items.find('*').each(function(){
- $(this).css({'-webkit-touch-callout': 'none',
- '-webkit-user-select': 'none',
- '-khtml-user-select': 'none',
- '-moz-user-select': 'none',
- '-ms-user-select': 'none',
- 'user-select': 'none'});
- });
-
- $this.find(settings.itemClass).mousedown(function(e){
- $this.timeline('mouseDown', e.pageX);
- });
- $(document).mouseup(function(e){
- var data = $this.data('timeline');
- if(data.mousedown) {
- $this.timeline('mouseUp', e.pageX);
- }
- });
- }
-
-
-
- // Bind open on click
- $this.find(settings.openTriggerClass).click(function(){
- $this.timeline('goTo',$(this).attr('data-id'), $(this).attr('data-count'), true);
- });
-
- // Bind close on click
- $this.find('.t_close').click(function(){
- $this.timeline('close',$(this).attr('data-id'),$(this).attr('data-count'));
- });
-
- // Show when loaded
- $this.css({height: 'auto'}).show();
-
- // Reposition nodes due to their width
- $this.find('.t_line_node').each(function(){
- if($(this).width() < 10) $(this).width(12);
- $(this).css({marginLeft: -$(this).width()/2});
- });
- return $this;
- },
-
- // Clear data
- destroy : function( ) {
- $(document).unbind('mouseup');
- $(window).unbind('resize');
- var $this = this,
- data = $this.data('timeline');
- $this.removeData('timeline');
-
- },
-
- mouseDown : function(xpos) {
- var $this = this,
- data = $this.data('timeline'),
- xmargin = 0;
- data.mousedown = true;
- data.mousestartpos = xpos;
-
- $('body').css('cursor','move');
- $(document).mousemove(function(e){
- xmargin = data.margin - xpos + e.pageX;
- data.iholder.css('marginLeft', xmargin + 'px');
- });
- },
-
- mouseUp : function(xpos) {
-
- var $this = this,
- data = $this.data('timeline'),
- itemWidth = data.itemWidth + data.options.itemMargin,
- itemC = data.currentIndex,
- mod = 0,
- xmargin = xpos - data.mousestartpos;
- data.mousedown = false;
-
- $(document).unbind('mousemove');
- $('body').css('cursor','auto');
-
- itemC -= parseInt(xmargin/itemWidth);
- mod = xmargin%itemWidth;
- if (xmargin < 0 && mod < -itemWidth/2) {
- itemC++;
- }
- if (xmargin > 0 && mod > itemWidth/2) {
- itemC--;
- }
-
- if(itemC < 0) {
- itemC = 0;
- }
- if(itemC >= data.itemCount) {
- itemC = data.itemCount-1;
- }
-
- $this.timeline('goTo', data.items.eq(itemC).attr('data-id'), data.items.eq(itemC).attr('data-count'));
-
-
- },
-
- open : function (id, data_count) {
- var $this = this,
- data = $this.data('timeline'),
- $items = $this.find(data.options.itemOpenClass),
- speed = data.options.scrollSpeed,
- width = data.itemOpenWidth,
- easing = data.options.easin,
- itemMargin = data.options.itemMargin;
-
-
- $items.each(function(){
- if ($(this).attr('data-id') == id) {
- if (!data_count || data_count == $(this).attr('data-count')) {
-
- // Trigger itemOpen event
- $this.trigger('itemOpen.Timeline');
-
- // Open content and move margin
- $(this).stop(true).show().animate({width: width, marginLeft: itemMargin/2, marginRight: itemMargin/2,}, speed, easing);
- if($('body').width() < 767) {
- data.margin -= (data.itemWidth+data.options.itemMargin)/2;
- data.marginResponse = true;
- }
- else {
- data.marginResponse = false;
- }
- data.margin -= (width + data.options.itemMargin + data.itemWidth)/2 - data.itemWidth/2;
- data.iholder.stop(true).animate({marginLeft : data.margin}, speed, easing);
- data.open = id;
- }
- }
-
- });
- return $this;
- },
-
- close : function (id, idOpen, dataCountOpen) {
- var $this = this,
- data = $this.data('timeline'),
- $items = $this.find(data.options.itemOpenClass),
- speed = data.options.scrollSpeed,
- width = data.itemOpenWidth,
- easing = data.options.easing;
-
-
- $items.each(function(){
- if ($(this).attr('data-id') == id && $(this).is(":visible")) {
- // Trigger itemOpen event
- $this.trigger('itemClose.Timeline');
-
- // Close content and move margin
- $(this).stop(true).animate({width: 0, margin:0}, speed, easing, function(){$(this).hide()});
- if (data.marginResponse) {
- data.margin += (data.itemWidth+data.options.itemMargin)/2;
- }
- data.margin += (width + data.options.itemMargin)/2;
- data.iholder.stop(true).animate({marginLeft : data.margin}, speed, easing);
- data.open = false;
- }
- });
- if(idOpen) {
- $this.timeline('open', idOpen, dataCountOpen);
- }
- return $this;
- },
-
-
- // Move one step left
- right : function() {
- var $this = this,
- data = $this.data('timeline'),
- speed = data.options.scrollSpeed,
- easing = data.options.easing;
- if (data.currentIndex < data.itemCount-1)
- {
- var dataId = data.items.eq(data.currentIndex+1).attr('data-id');
- var dataCount = data.items.eq(data.currentIndex+1).attr('data-count');
- $this.timeline('goTo', dataId, dataCount);
- }
- else
- {
- data.iholder.stop(true).animate({marginLeft : data.margin-50}, speed/2, easing).animate({marginLeft : data.margin}, speed/2, easing);
- }
- return $this
- },
-
- // Move one step right
- left : function( ) {
- var $this = this,
- data = $this.data('timeline'),
- speed = data.options.scrollSpeed,
- easing = data.options.easing;
- if (data.currentIndex > 0)
- {
- var dataId = data.items.eq(data.currentIndex-1).attr('data-id');
- var dataCount = data.items.eq(data.currentIndex-1).attr('data-count');
- $this.timeline('goTo', dataId, dataCount);
- }
- else
- {
- data.iholder.stop(true).animate({marginLeft : data.margin+50}, speed/2, easing).animate({marginLeft : data.margin}, speed/2, easing);
- }
- return $this;
- },
-
- // Go to item
- goTo : function (id, data_count, openElement) {
- var $this = this,
- data = $this.data('timeline'),
- speed = data.options.scrollSpeed,
- easing = data.options.easing,
- $items = data.items,
- timelineWidth = $this.find('.timeline_line').width(),
- count = -1,
- found = false;
-
- // Find item index
- $items.each(function(index){
- if(id == $(this).attr('data-id'))
- {
- if (!data_count || data_count == $(this).attr('data-count'))
- {
- found = true;
- count = index;
- return false;
- }
- }
- });
-
- // Move if fount
- if(found)
- {
- // Move lineView to current element
- var $nodes = $this.find('.t_line_node');
- $nodes.removeClass('active');
- var $goToNode = $nodes.parent().parent().find('[href="#'+id+'"]').addClass('active');
- data.lineMargin = -parseInt($goToNode.parent().parent().attr('data-id'),10)*100;
-
- // check if responsive width
- if($this.find('.t_line_view:first').width() > $this.find('.timeline_line').width()) {
- data.lineMargin *=2;
- if ($goToNode.parent().hasClass('right')) data.lineMargin -= 100;
- }
-
- if(data.noAnimation){
- data.noAnimation = false;
- $this.find('.t_line_wrapper').stop(true).css({marginLeft : data.lineMargin+'%'});
- }
- else {
- $this.find('.t_line_wrapper').stop(true).animate({marginLeft : data.lineMargin+'%'}, speed, easing );
- }
-
-
- if(data.open) {
- $this.timeline('close', data.open, id, data_count);
- }
- else if (openElement) {
- $this.timeline('open', id, data_count);
- }
-
- // Trigger ScrollStart event
- $this.trigger('scrollStart.Timeline');
-
- // Scroll
-
- data.margin += (data.itemWidth + data.options.itemMargin)*(data.currentIndex - count);
- data.currentIndex = count;
-
- var multiply = (parseInt(data.iholder.css('margin-left')) - data.margin)/data.itemWidth;
- data.iholder.stop(true).animate({marginLeft : data.margin}, speed+(speed/5)*(Math.abs(multiply)-1), easing, function(){
- // Trigger ScrollStop event
- $this.trigger('scrollStop.Timeline');
- });
- }
- return $this;
- },
-
- // move line to the left
- lineLeft : function() {
- var $this = this,
- data = $this.data('timeline'),
- speed = data.options.scrollSpeed,
- easing = data.options.easing;
- if (data.lineMargin != 0 && data.options.categories) {
- data.lineMargin += 100;
- $this.find('.t_line_wrapper').stop(true).animate({marginLeft : data.lineMargin+'%'}, speed, easing);
- }
-
- },
-
- // move line to the right
- lineRight : function() {
- var $this = this,
- data = $this.data('timeline'),
- speed = data.options.scrollSpeed,
- easing = data.options.easing;
- if ($this.find('.t_line_view:first').width() > $this.find('.timeline_line').width())
- var viewCount = data.lineViewCount*2;
- else
- var viewCount = data.lineViewCount;
-
- if (data.lineMargin != -(viewCount-1)*100 && data.options.categories) {
- data.lineMargin -= 100;
- $this.find('.t_line_wrapper').stop(true).animate({marginLeft : data.lineMargin+'%'}, speed, easing);
- }
-
- },
-
- // Create timeline elements and css dependent properties
- createElements : function() {
- var $this = this,
- data = $this.data('timeline'),
- $items = data.items;
-
- var html = '\n' +
-' <div class="timeline_line" style="text-align: left; position:relative; margin-left:auto; margin-right:auto;">\n' +
-' </div>\n';
- $this.prepend(html);
- var timelineWidth = $this.find('.timeline_line').width(),
- cnt = 0,
- nodes = new Array(),
- months = [''].concat(data.options.categories);
- monthsDays = [0].concat(data.options.nuberOfSegments),
- minM = months.length,
- minY = 99999,
- maxM = 0,
- maxY = 0;
- if(!data.options.yearsOn) maxY = 99999;
-
- // find timeline date range and make node elements
- $items.each(function(){
- var dataId = $(this).attr('data-id'),
- nodeName = $(this).attr('data-name'),
- dataDesc = $(this).attr('data-description'),
- dataArray = dataId.split('/'),
- d = parseInt(dataArray[0],10),
- m = (months.indexOf(dataArray[1]) != -1) ? months.indexOf(dataArray[1]) : parseInt(dataArray[1],10),
- y = parseInt(dataArray[2],10);
-
-
- maxY = Math.max(maxY, y);
- maxM = Math.max(maxM, m);
- minY = Math.min(minY, y);
- minM = Math.min(minM, m);
-
-
- // Store node element
- nodes[dataId] = '<a href="#'+dataId+'" class="t_line_node'+(cnt == data.currentIndex ? ' active' : '')+'" style="left: '+(100/(data.options.categories ? monthsDays[m] : monthsDays[1]))*d+'%; position:absolute; text-align:center;">'+((typeof nodeName != 'undefined') ? nodeName : d);
-
- if(typeof dataDesc != 'undefined') nodes[dataId]+= '<span class="t_node_desc'+( m%2==0 ? ' pos_right': '')+'" style="white-space:nowrap; position:absolute; z-index: 1;">'+dataDesc+'</span>';
-
- nodes[dataId]+='</a>\n';
- cnt++;
- });
-
- // Make wrapper elements
- html = '\n' +
-' <div id="t_line_left" style="position: absolute;"></div><div id="t_line_right" style="position: absolute;"></div>\n' +
-' <div class="t_line_holder" style="position:relative; overflow: hidden; width:100%;">\n' +
-' <div class="t_line_wrapper" style="white-space:nowrap;">\n';
-
- cnt=0;
- // Prepare for loop, every view has 2 months, we show both if first has nodes in it
- if(maxM > 0) {
- if (minM%2 == 0) minM--;
-
- // Set max to be on first next view (the one that is going to stop the loop)
- if (maxM%2 == 0) {
- if (maxM == 12) {
- maxM = 1; maxY++;
- }
- else maxM++;
- }
- else {
- maxM +=2;
- if (maxM == 13) {
- maxM = 1; maxY++;
- }
- }
-
-
- if (!data.options.categories) {
- html +=
- '<div class="t_line_view" data-id="'+cnt+'" style="position:relative; display:inline-block; width:100%;">\n'+
- ' <div class="t_line_m" style="width:100%; border:0; position:absolute; top:0;">\n';
- for (var x in nodes) {
- html += nodes[x];
- }
- html += '</div>\n'+
- '</div>';
- }
- else {
-
- // Generate months and place nodes
- while ((minY != maxY && !isNaN(minY) && !isNaN(maxY)) || minM != maxM) {
-
- html +=
- '<div class="t_line_view" data-id="'+cnt+'" style="position:relative; display:inline-block;">\n'+
- (data.options.yearsOn ? ' <h3 class="t_line_year" style="text-align:center; width:100%">'+minY+'</h3>\n' : '' )+
- ' <div class="t_line_m" style="position:absolute; top:0;">\n'+
- ' <h4 class="t_line_month" style="position:abolute; width:100% top:0; text-align:center;">'+months[minM]+(data.options.yearsOn ? '<span class="t_line_month_year"> '+(data.options.yearsOn ? minY: '' )+'</span>' : '' )+'</h4>\n';
-
- // Fill with nodes
- for (x in nodes) {
- var dataArray = x.split('/');
- m = (months.indexOf(dataArray[1]) != -1) ? months.indexOf(dataArray[1]) : parseInt(dataArray[1],10);
- if(!data.options.yearsOn) y = minY;
- else y = parseInt(dataArray[2],10);
- if (m == minM && (y == minY || !data.options.yearsOn)){
- html+= nodes[x];
- nodes.splice(x,1);
- }
- }
- minM++;
- html +=
- ' </div>\n'+
- ' <div class="t_line_m right" style="position:absolute; top:0;">\n'+
- ' <h4 class="t_line_month" style="position:abolute; width:100% top:0; text-align:center;">'+(typeof months[minM] !== 'undefined' ? months[minM] : '')+(data.options.yearsOn ? '<span class="t_line_month_year"> '+(data.options.yearsOn ? minY: '' )+'</span>' : '' )+'</h4>\n';
-
- // Fill with nodes
- for (x in nodes) {
- dataArray = x.split('/');
- m = (months.indexOf(dataArray[1]) != -1) ? months.indexOf(dataArray[1]) : parseInt(dataArray[1],10);
- if(!data.options.yearsOn) y = minY;
- else y = parseInt(dataArray[2],10);
-
- if (m == minM && (y == minY || !data.options.yearsOn)){
- html+= nodes[x];
- nodes.splice(x,1);
- }
- }
- html +=
- ' </div>\n'+
- ' <div style="clear:both"></div>\n'+
- ' </div>';
-
- if (minM == months.length-1) { minM = 1; minY++;}
- else { minM++; }
-
- cnt++;
-
- if(minM == maxM && !data.options.yearsOn) break;
-
- }
-
- }
- }
-
-
- html += '\n' +
-' <div style="clear:both"></div>\n'+
-' </div>\n'+
-' </div>\n';
-
- // Set number of View elements
- data.lineViewCount = cnt;
- // Add generated html and set width & margin for dinamic timeline
- $this.find('.timeline_line').html(html);
- $this.find('.t_line_node').each(function(){
- var $thisNode = $(this);
- $(this).find('span').hide();
- $(this).hover(function(){
- $items.each(function(){
- if($(this).attr('data-id') == $thisNode.attr('href').substr(1)) {
- $(this).addClass('item_node_hover');
- }
- });
- $(this).find('span').show();
- }, function(){
- $(this).find('span').hide();
- $('.item_node_hover').removeClass('item_node_hover');
- });
-
- //Position lineView to selected item
- if($(this).hasClass('active')) {
- data.lineMargin = -parseInt($(this).parent().parent('.t_line_view').attr('data-id'),10)*100;
- $this.find('.t_line_wrapper').css('margin-left', data.lineMargin+'%');
- }
- // Bind goTo function to click event
- $(this).click(function(e){
- e.preventDefault();
- $this.find('.t_line_node').removeClass('active');
- $(this).addClass('active');
- $this.timeline('goTo', $(this).attr('href').substr(1));
- });
- });
-
- $this.find('#t_line_left').click(function(){
- $this.timeline('lineLeft');
- });
-
- $this.find('#t_line_right').click(function(){
- $this.timeline('lineRight');
- });
-
- }
- };
-
- // Initiate methods
- $.fn.timeline = function( method ) {
-
- if ( t_methods[method] ) {
- return t_methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
- } else if ( typeof method === 'object' || ! method ) {
- return t_methods.init.apply( this, arguments );
- } else {
- $.error( 'Method ' + method + ' does not exist on jQuery.timeline' );
- }
-
- };
-
-
-
-
-
-})(jQuery);
-
-if (!Array.prototype.indexOf) {
- Array.prototype.indexOf = function(obj, start) {
- for (var i = (start || 0), j = this.length; i < j; i++) {
- if (this[i] === obj) { return i; }
- }
- return -1;
- }
-
-}
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/js/frontend/jquery.timeline.js Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,841 +0,0 @@
-/*
-
-Content Timeline 3.1
-
-Date organised content slider.
-
-Copyright (c) 2012 Br0 (shindiristudio.com)
-
-Project site: http://codecanyon.net/
-Project demo: http://shindiristudio.com/timeline
-
-*/
-
-(function($){
-
- // EVENTS.timeline
-
- // init.timeline : triggered when timeline is initialised
- // scrollStart.timeline : triggered when item move animation starts
- // scrollEnd.timeline : triggered when item move animation ends
- // itemOpen.timeline : triggered on click to open item
- // itemClose.timeline : triggered on click to close item
-
- // ---------------------------------------------------------
-
- // On KeyPress (left) : trigger $.timeline('left')
- // On KeyPress (right) : trigger $.timeline('right')
-
- // ---------------------------------------------------------
-
- // $.timeline(METHODS)
-
- // $.timeline('init') : initialises timeline
- // $.timeline('destroy') : clears timeline data
- // $.timeline('left') : moves one left by one element
- // $.timeline('right') : moves right by one element
- // $.timeline('open', id) : opens element with 'data-id' = id
- // $.timeline('close', id): closes element with 'data-id' = id
- // $.timeline('goTo', id) : goes to element width 'data-id' = id
-
-
- var t_methods = {
- init : function( options ) {
-
- // Default settings
- var settings = $.extend( {
- 'itemClass' : '.item', // class used for timeline items
- 'itemOpenClass' : '.item_open', // class used for item details
- 'openTriggerClass' : '.item', // class of read more element (default uses whole item to trigger open event)
- 'closeText' : 'Close', // text of close button in open item
- 'itemMargin' : 10, // spacing between items
- 'scrollSpeed' : 500, // animation speed
- 'startItem' : 'last', // timeline start item id, 'last' or 'first' can be used insted
- 'easing' : 'easeOutSine', // jquery.easing function for animations,
- 'categories' : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], // categories shown above timeline (months are default)
- 'nuberOfSegments' : [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], // number of elements per category (number of days)
- 'yearsOn' : true, // show years (can be any number you use in data-id (elementNumber/category/yearOrSomeOtherNumber))
- 'swipeOn' : true, // turn on swipe moving function
- 'hideTimeline' : false,
- 'hideControles' : false
- }, options); // Setings
-
-
- // main queries
- var $this = this,
- $body = $('body'),
- $items = $this.find(settings.itemClass),
- $itemsOpen = $this.find(settings.itemOpenClass),
- itemWidth = $items.first().width(),
- itemOpenWidth = $itemsOpen.first().width();
-
- // Trigger init event
- $this.trigger('init.Timeline');
-
-
- // If no index found
- var startIndex = $items.length-1;
-
- // Find index of start element
- if(settings.startItem == 'first')
- {
- startIndex = 0;
- }
- else if (settings.startItem == 'last')
- {
- startIndex = $items.length-1;
- }
- else {
- $items.each(function(index){
- if(settings.startItem == $(this).attr('data-id'))
- {
- startIndex = index;
- return true;
- }
- });
- }
- $items.each(function(index){
- $(this).attr('data-count', index);
- $(this).next(settings.itemOpenClass).attr('data-count', index);
- if(!$(this).hasClass(settings.openTriggerClass)) {
- $(this).find(settings.openTriggerClass).attr('data-count', index);
- }
- });
-
- // Create wrapper elements, and needed properties
- $this.append('<div style="clear:both"></div>');
- $this.css({width: '100%', 'overflow' : 'hidden', marginLeft : 'auto', marginRight : 'auto','text-align': 'center', height:0});
- $this.wrapInner('<div class="timeline_items" />');
- $this.find('.timeline_items').css('text-align','left');
- if(!settings.hideControles) {
- $this.append('<div class="t_controles"><div class="t_left"></div><div class="t_right"></div></div>');
- }
-
- // ZoomOut placement fix
- $this.wrapInner('<div class="timeline_items_holder" />');
- $this.find('.timeline_items_holder').css({width: '300px', marginLeft : 'auto', marginRight : 'auto'});
-
-
- $items.css({paddingLeft:0 , paddingRight:0, marginLeft: settings.itemMargin/2, marginRight: settings.itemMargin/2, float: 'left', position:'relative'});
-
- $itemsOpen.each(function(){
- $(this).prepend('<div class="t_close" data-count="'+$(this).attr('data-count')+'" data-id="'+$(this).attr('data-id')+'">'+settings.closeText+'</div>');
- $(this).wrapInner('<div class="'+settings.itemOpenClass.substr(1)+'_cwrapper" />').find('div:first').css({position: 'relative'});
- $(this).css({width: 0, padding:0 , margin: 0, float: 'left', display : 'none', position : 'relative', overflow : 'hidden'});
- });
-
-
- // Get new queries
- var $iholder = $this.find('.timeline_items:first'),
- $line = $this.find('.t_line_wrapper:first'),
- margin = 300/2 - (itemWidth + settings.itemMargin)*(1/2 + startIndex) ,
- width = (itemWidth + settings.itemMargin)*$items.length + (itemOpenWidth + settings.itemMargin) + 660 ,
- data = $this.data('timeline');
-
- // Set margin so start element would place in midle of the screen
- $iholder.css({width: width, marginLeft: margin});
-
-
-
-
- // If the plugin hasn't been initialized yet
- if (!data){
- $this.data('timeline', {
- currentIndex : startIndex,
- itemCount : $items.length,
- margin : margin,
- itemWidth : itemWidth,
- itemOpenWidth : itemOpenWidth,
- lineMargin : 0,
- lineViewCount : 0,
- options : settings,
- items : $items,
- iholder : $iholder,
- open : false,
- noAnimation : false,
- marginResponse: false,
- mousedown : false,
- mousestartpos : 0
- });
- }
- if(!settings.hideTimeline) {
- $this.timeline('createElements');
- }
-
-
-
- // Bind keyLeft and KeyRight functions
- $(document).keydown(function(e){
- if (e.keyCode == 37) {
- $this.timeline('left');
- return false;
- }
- if (e.keyCode == 39) {
- $this.timeline('right');
- return false;
- }
- });
-
- // Respond to window resizing
- $(window).resize(function() {
- //var id = $this.find('.active:first').attr('href').substr(1);
- var data = $this.data('timeline'),
- id = $items.eq(data.currentIndex).attr('data-id');
- item_data_count = $items.eq(data.currentIndex).attr('data-count');
-
- itemWidth = $items.first().width(),
- itemOpenWidth = $itemsOpen.first().find('div:first').width();
-
- data.margin += data.itemCount*(data.itemWidth-itemWidth);
- data.itemWidth = itemWidth;
-
- if(data.open) data.margin += (data.itemOpenWidth-itemOpenWidth)/2;
- data.itemOpenWidth = itemOpenWidth;
-
-
- if($('body').width() < 767 && data.open && !data.marginResponse) {
- data.margin -= (itemWidth+settings.itemMargin)/2;
- data.marginResponse = true;
- }
- else if($('body').width() >= 767 && data.marginResponse && data.open) {
- data.margin += (itemWidth+settings.itemMargin)/2;
- data.marginResponse = false;
- }
-
- data.noAnimation = true;
- $this.timeline('goTo', id, item_data_count);
- });
-
- // Bind left on click
- $this.find('.t_left').click(function(){
- $this.timeline('left');
- });
-
- // Bind right on click
- $this.find('.t_right').click(function(){
- $this.timeline('right');
- });
-
- // SWIPE bind
-
- if(settings.swipeOn) {
- $items.find('*').each(function(){
- $(this).css({'-webkit-touch-callout': 'none',
- '-webkit-user-select': 'none',
- '-khtml-user-select': 'none',
- '-moz-user-select': 'none',
- '-ms-user-select': 'none',
- 'user-select': 'none'});
- });
- $this.bind('touchstart',function(e){
- $this.timeline('touchStart', e.originalEvent.touches[0].pageX);
- });
-
-
- $this.find(settings.itemClass).mousedown(function(e){
- $this.timeline('mouseDown', e.pageX);
- });
-
-
- $(document).bind('touchend',function(e){
- data = $this.data('timeline');
- $this.timeline('touchEnd', data.touchpos);
- });
-
- $(document).mouseup(function(e){
- var data = $this.data('timeline');
- if(data.mousedown) {
- $this.timeline('mouseUp', e.pageX);
- }
- });
- }
-
-
-
- // Bind open on click
- $this.find(settings.openTriggerClass).click(function(){
- $this.timeline('goTo',$(this).attr('data-id'), $(this).attr('data-count'), true);
- });
-
- // Bind close on click
- $this.find('.t_close').click(function(){
- $this.timeline('close',$(this).attr('data-id'),$(this).attr('data-count'));
- });
-
- // Show when loaded
- $this.css({height: 'auto'}).show();
- $this.prev('.timelineLoader').hide();
-
- // Reposition nodes due to their width
- $this.find('.t_line_node').each(function(){
- if($(this).width() < 10) $(this).width(12);
- $(this).css({marginLeft: -$(this).width()/2});
- });
- return $this;
- },
-
- // Clear data
- destroy : function( ) {
- $(document).unbind('mouseup');
- $(window).unbind('resize');
- var $this = this,
- data = $this.data('timeline');
- $this.removeData('timeline');
-
- },
-
- touchStart : function(xpos) {
- var $this = this,
- data = $this.data('timeline'),
- xmargin = 0;
- data.mousedown = true;
- data.mousestartpos = xpos;
-
- $this.bind('touchmove', function(e){
- data.touchpos = e.originalEvent.touches[0].pageX;
- xmargin = data.margin - xpos + e.originalEvent.touches[0].pageX;
- data.iholder.css('marginLeft', xmargin + 'px');
- });
- },
-
- mouseDown : function(xpos) {
- var $this = this,
- data = $this.data('timeline'),
- xmargin = 0;
- data.mousedown = true;
- data.mousestartpos = xpos;
-
- $('body').css('cursor','move');
- $(document).mousemove(function(e){
- xmargin = data.margin - xpos + e.pageX;
- data.iholder.css('marginLeft', xmargin + 'px');
- });
- },
-
- touchEnd : function(xpos) {
- var $this = this,
- data = $this.data('timeline'),
- itemWidth = data.itemWidth + data.options.itemMargin,
- itemC = data.currentIndex,
- mod = 0,
- xmargin = xpos - data.mousestartpos;
- data.mousedown = false;
-
- itemC -= parseInt(xmargin/itemWidth);
- mod = xmargin%itemWidth;
- if (xmargin < 0 && mod < -itemWidth/2) {
- itemC++;
- }
- if (xmargin > 0 && mod > itemWidth/2) {
- itemC--;
- }
-
- if(itemC < 0) {
- itemC = 0;
- }
- if(itemC >= data.itemCount) {
- itemC = data.itemCount-1;
- }
-
- $this.timeline('goTo', data.items.eq(itemC).attr('data-id'), data.items.eq(itemC).attr('data-count'));
- },
-
- mouseUp : function(xpos) {
-
- var $this = this,
- data = $this.data('timeline'),
- itemWidth = data.itemWidth + data.options.itemMargin,
- itemC = data.currentIndex,
- mod = 0,
- xmargin = xpos - data.mousestartpos;
- data.mousedown = false;
-
- $(document).unbind('mousemove');
- $('body').css('cursor','auto');
-
- itemC -= parseInt(xmargin/itemWidth);
- mod = xmargin%itemWidth;
- if (xmargin < 0 && mod < -itemWidth/2) {
- itemC++;
- }
- if (xmargin > 0 && mod > itemWidth/2) {
- itemC--;
- }
-
- if(itemC < 0) {
- itemC = 0;
- }
- if(itemC >= data.itemCount) {
- itemC = data.itemCount-1;
- }
-
- $this.timeline('goTo', data.items.eq(itemC).attr('data-id'), data.items.eq(itemC).attr('data-count'));
-
-
- },
-
- open : function (id, data_count) {
- var $this = this,
- data = $this.data('timeline'),
- $items = $this.find(data.options.itemOpenClass),
- speed = data.options.scrollSpeed,
- width = data.itemOpenWidth,
- easing = data.options.easin,
- itemMargin = data.options.itemMargin;
-
-
- $items.each(function(){
- if ($(this).attr('data-id') == id) {
- if (!data_count || data_count == $(this).attr('data-count')) {
- var $newThis = $(this);
- // Trigger itemOpen event
- $this.trigger('itemOpen.Timeline');
- data.open_count = data_count;
- // Open content and move margin
- $(this).stop(true).show().animate({width: width, marginLeft: itemMargin/2, marginRight: itemMargin/2,}, speed, easing);
-
- if (typeof $(this).attr('data-access') != 'undefined' && $(this).attr('data-access') != '') {
- var action = $(this).attr('data-access');
- $.post(action, function(data){
-
- $('body').append('<div class="ajax_preloading_holder" style="display:none"></div>');
- $('.ajax_preloading_holder').html(data);
- if ($('.ajax_preloading_holder img').length > 0 ) {
- $('.ajax_preloading_holder img').load(function() {
- $newThis.find('.item_open_content').html(data);
- $('.ajax_preloading_holder').remove();
- $(this).attr('data-access', '');
- $newThis.find('.scrollable-content').mCustomScrollbar();
- $newThis.find("a[rel^='prettyPhoto']").prettyPhoto();
- $newThis.find('.timeline_rollover_bottom').timelineRollover('bottom');
- });
- }
- else {
- $newThis.find('.item_open_content').html(data);
- $('.ajax_preloading_holder').remove();
- $(this).attr('data-access', '');
- }
- });
- }
-
- if($('body').width() < 767) {
- data.margin -= (data.itemWidth+data.options.itemMargin)/2;
- data.marginResponse = true;
- }
- else {
- data.marginResponse = false;
- }
- data.margin -= (width + data.options.itemMargin + data.itemWidth)/2 - data.itemWidth/2;
- data.iholder.stop(true).animate({marginLeft : data.margin}, speed, easing);
- data.open = id;
- }
- }
-
- });
- return $this;
- },
-
- close : function (id, idOpen, dataCountOpen) {
- var $this = this,
- data = $this.data('timeline'),
- $items = $this.find(data.options.itemOpenClass),
- speed = data.options.scrollSpeed,
- width = data.itemOpenWidth,
- easing = data.options.easing;
-
-
- $items.each(function(){
- if ($(this).attr('data-id') == id && $(this).attr('data-count') == data.open_count && $(this).is(":visible") ) {
- // Trigger itemOpen event
- $this.trigger('itemClose.Timeline');
-
- // Close content and move margin
- $(this).stop(true).animate({width: 0, margin:0}, speed, easing, function(){$(this).hide()});
- if (data.marginResponse) {
- data.margin += (data.itemWidth+data.options.itemMargin)/2;
- }
- data.margin += (width + data.options.itemMargin)/2;
- data.iholder.stop(true).animate({marginLeft : data.margin}, speed, easing);
- data.open = false;
- }
- });
- if(idOpen) {
- $this.timeline('open', idOpen, dataCountOpen);
- }
- return $this;
- },
-
-
- // Move one step left
- right : function() {
- var $this = this,
- data = $this.data('timeline'),
- speed = data.options.scrollSpeed,
- easing = data.options.easing;
- if (data.currentIndex < data.itemCount-1)
- {
- var dataId = data.items.eq(data.currentIndex+1).attr('data-id');
- var dataCount = data.items.eq(data.currentIndex+1).attr('data-count');
- $this.timeline('goTo', dataId, dataCount);
- }
- else
- {
- data.iholder.stop(true).animate({marginLeft : data.margin-50}, speed/2, easing).animate({marginLeft : data.margin}, speed/2, easing);
- }
- return $this
- },
-
- // Move one step right
- left : function( ) {
- var $this = this,
- data = $this.data('timeline'),
- speed = data.options.scrollSpeed,
- easing = data.options.easing;
- if (data.currentIndex > 0)
- {
- var dataId = data.items.eq(data.currentIndex-1).attr('data-id');
- var dataCount = data.items.eq(data.currentIndex-1).attr('data-count');
- $this.timeline('goTo', dataId, dataCount);
- }
- else
- {
- data.iholder.stop(true).animate({marginLeft : data.margin+50}, speed/2, easing).animate({marginLeft : data.margin}, speed/2, easing);
- }
- return $this;
- },
-
- // Go to item
- goTo : function (id, data_count, openElement) {
- var $this = this,
- data = $this.data('timeline'),
- speed = data.options.scrollSpeed,
- easing = data.options.easing,
- $items = data.items,
- timelineWidth = $this.find('.timeline_line').width(),
- count = -1,
- found = false;
-
- // Find item index
- $items.each(function(index){
- if(id == $(this).attr('data-id'))
- {
- if (!data_count || data_count == $(this).attr('data-count'))
- {
- found = true;
- count = index;
- return false;
- }
- }
- });
-
- // Move if fount
- if(found)
- {
- // Move lineView to current element
- var $nodes = $this.find('.t_line_node');
- $nodes.removeClass('active');
- var $goToNode = $nodes.parent().parent().find('[href="#'+id+'"]').addClass('active');
- data.lineMargin = -parseInt($goToNode.parent().parent().attr('data-id'),10)*100;
-
- // check if responsive width
- if($this.find('.t_line_view:first').width() > $this.find('.timeline_line').width()) {
- data.lineMargin *=2;
- if ($goToNode.parent().hasClass('right')) data.lineMargin -= 100;
- }
-
- if(data.noAnimation){
- data.noAnimation = false;
- $this.find('.t_line_wrapper').stop(true).css({marginLeft : data.lineMargin+'%'});
- }
- else {
- $this.find('.t_line_wrapper').stop(true).animate({marginLeft : data.lineMargin+'%'}, speed, easing );
- }
-
-
- if(data.open) {
- $this.timeline('close', data.open, id, data_count);
- }
- else if (openElement) {
- $this.timeline('open', id, data_count);
- }
-
- // Trigger ScrollStart event
- $this.trigger('scrollStart.Timeline');
-
- // Scroll
-
- data.margin += (data.itemWidth + data.options.itemMargin)*(data.currentIndex - count);
- data.currentIndex = count;
-
- var multiply = (parseInt(data.iholder.css('margin-left')) - data.margin)/data.itemWidth;
- data.iholder.stop(true).animate({marginLeft : data.margin}, speed+(speed/5)*(Math.abs(multiply)-1), easing, function(){
- // Trigger ScrollStop event
- $this.trigger('scrollStop.Timeline');
- });
- }
- return $this;
- },
-
- // move line to the left
- lineLeft : function() {
- var $this = this,
- data = $this.data('timeline'),
- speed = data.options.scrollSpeed,
- easing = data.options.easing;
- if (data.lineMargin != 0 && data.options.categories) {
- data.lineMargin += 100;
- $this.find('.t_line_wrapper').stop(true).animate({marginLeft : data.lineMargin+'%'}, speed, easing);
- }
-
- },
-
- // move line to the right
- lineRight : function() {
- var $this = this,
- data = $this.data('timeline'),
- speed = data.options.scrollSpeed,
- easing = data.options.easing;
- if ($this.find('.t_line_view:first').width() > $this.find('.timeline_line').width())
- var viewCount = data.lineViewCount*2;
- else
- var viewCount = data.lineViewCount;
-
- if (data.lineMargin != -(viewCount-1)*100 && data.options.categories) {
- data.lineMargin -= 100;
- $this.find('.t_line_wrapper').stop(true).animate({marginLeft : data.lineMargin+'%'}, speed, easing);
- }
-
- },
-
- // Create timeline elements and css dependent properties
- createElements : function() {
- var $this = this,
- data = $this.data('timeline'),
- $items = data.items;
-
- var html = '\n' +
-' <div class="timeline_line" style="text-align: left; position:relative; margin-left:auto; margin-right:auto;">\n' +
-' </div>\n';
- $this.prepend(html);
- var timelineWidth = $this.find('.timeline_line').width(),
- cnt = 0,
- nodes = new Array(),
- months = [''].concat(data.options.categories);
- monthsDays = [0].concat(data.options.nuberOfSegments),
- minM = months.length,
- minY = 99999,
- maxM = 0,
- maxY = 0;
- if(!data.options.yearsOn) maxY = 99999;
-
- // find timeline date range and make node elements
- $items.each(function(){
- var dataId = $(this).attr('data-id'),
- nodeName = $(this).attr('data-name'),
- dataDesc = $(this).attr('data-description'),
- dataArray = dataId.split('/'),
- d = parseInt(dataArray[0],10),
- m = ($.inArray(dataArray[1],months) != -1) ? $.inArray(dataArray[1],months) : parseInt(dataArray[1],10),
- y = parseInt(dataArray[2],10);
-
-
- maxY = Math.max(maxY, y);
- maxM = Math.max(maxM, m);
- minY = Math.min(minY, y);
- minM = Math.min(minM, m);
-
-
- // Store node element
- nodes[dataId] = '<a href="#'+dataId+'" class="t_line_node'+(cnt == data.currentIndex ? ' active' : '')+'" style="left: '+(100/(data.options.categories ? monthsDays[m] : monthsDays[1]))*d+'%; position:absolute; text-align:center;">'+((typeof nodeName != 'undefined') ? nodeName : d);
-
- if(typeof dataDesc != 'undefined') nodes[dataId]+= '<span class="t_node_desc" style="white-space:nowrap; position:absolute; z-index: 1;">'+dataDesc+'</span>';
-
- nodes[dataId]+='</a>\n';
- cnt++;
- });
-
- // Make wrapper elements
- html = '\n' +
-' <div id="t_line_left" style="position: absolute;"></div><div id="t_line_right" style="position: absolute;"></div>\n' +
-' <div class="t_line_holder" style="position:relative; overflow: hidden; width:100%;">\n' +
-' <div class="t_line_wrapper" style="white-space:nowrap;">\n';
-
- cnt=0;
- // Prepare for loop, every view has 2 months, we show both if first has nodes in it
- if(maxM > 0) {
- if (minM%2 == 0) minM--;
-
- // Set max to be on first next view (the one that is going to stop the loop)
- if (maxM%2 == 0) {
- if (maxM == 12) {
- maxM = 1; maxY++;
- }
- else maxM++;
- }
- else {
- maxM +=2;
- if (maxM == 13) {
- maxM = 1; maxY++;
- }
- }
-
-
- if (!data.options.categories) {
- html +=
- '<div class="t_line_view" data-id="'+cnt+'" style="position:relative; display:inline-block; width:100%;">\n'+
- ' <div class="t_line_m" style="width:100%; border:0; position:absolute; top:0;">\n';
- for (var x in nodes) {
- html += nodes[x];
- }
- html += '</div>\n'+
- '</div>';
- }
- else {
- var firstMonth = true;
- // Generate months and place nodes
- while ((minY != maxY && !isNaN(minY) && !isNaN(maxY)) || minM != maxM) {
- var nodes1 = new Array();
- var nodes1length = 0;
-
- for (x in nodes) {
- var dataArray = x.split('/');
- m = ($.inArray(dataArray[1],months) != -1) ? $.inArray(dataArray[1],months) : parseInt(dataArray[1],10);
- if(!data.options.yearsOn) y = minY;
- else y = parseInt(dataArray[2],10);
- if (m == minM && (y == minY || !data.options.yearsOn)){
- nodes1[x]= nodes[x];
- nodes1length++;
- nodes.splice(x,1);
- }
-
- }
- if (nodes1length != 0) {
- if (firstMonth) {
- firstMonth = !firstMonth;
- html +=
- '<div class="t_line_view" data-id="'+cnt+'" style="position:relative; display:inline-block;">\n'+
- ' <div class="t_line_m" style="position:absolute; top:0;">\n'+
- ' <h4 class="t_line_month" style="position:abolute; width:100% top:0; text-align:center;">'+months[minM]+(data.options.yearsOn ? '<span class="t_line_month_year"> '+(minY < 0 ? (-minY)+' B.C.' : minY)+'</span>' : '' )+'</h4>\n';
-
- // Fill with nodes
- for (x in nodes1) {
- if(typeof nodes1[x] == 'string') {
- html+= nodes1[x];
- }
- }
- html +=
- ' </div> <!-- KRAJ PRVOG -->\n';
- }
- else {
- firstMonth = !firstMonth;
- html +=
- ' <div class="t_line_m right" style="position:absolute; top:0;">\n'+
- ' <h4 class="t_line_month" style="position:abolute; width:100% top:0; text-align:center;">'+(typeof months[minM] !== 'undefined' ? months[minM] : '')+(data.options.yearsOn ? '<span class="t_line_month_year"> '+minY+'</span>' : '' )+'</h4>\n';
-
- // Fill with nodes
- for (x in nodes1) {
- if(typeof nodes1[x] == 'string') {
- html+= nodes1[x];
- }
- }
- html +=
- ' </div><!-- KRAJ DRUGOG -->\n'+
- ' <div style="clear:both"></div>\n'+
- ' </div>';
- cnt++;
-
- }
-
-
- }
-
- if (minM == months.length-1) { minM = 1; minY++;}
- else { minM++; }
-
-
- if(minM == maxM && !data.options.yearsOn) break;
-
-
-
- }
- if (!firstMonth) {
- html +=
- ' <div class="t_line_m right" style="position:absolute; top:0;">\n'+
- ' <h4 class="t_line_month" style="position:abolute; width:100% top:0; text-align:center;">'+(typeof months[minM] !== 'undefined' ? months[minM] : '')+(data.options.yearsOn ? '<span class="t_line_month_year"> '+minY+'</span>' : '' )+'</h4>\n'+
- ' </div>\n'+
- ' <div style="clear:both"></div>\n'+
- ' </div>';
- cnt++;
- }
-
- }
- }
-
-
- html += '\n' +
-' <div style="clear:both"></div>\n'+
-' </div>\n'+
-' </div>\n';
-
- // Set number of View elements
- data.lineViewCount = cnt;
- // Add generated html and set width & margin for dinamic timeline
- $this.find('.timeline_line').html(html);
- $this.find('.t_line_node').each(function(){
- var $thisNode = $(this);
- $(this).find('span').hide();
- $(this).hover(function(){
- $items.each(function(){
- if($(this).attr('data-id') == $thisNode.attr('href').substr(1)) {
- $(this).addClass('item_node_hover');
- }
- });
- $(this).find('span').show();
- }, function(){
- $(this).find('span').hide();
- $('.item_node_hover').removeClass('item_node_hover');
- });
-
- //Position lineView to selected item
- if($(this).hasClass('active')) {
- data.lineMargin = -parseInt($(this).parent().parent('.t_line_view').attr('data-id'),10)*100;
- $this.find('.t_line_wrapper').css('margin-left', data.lineMargin+'%');
- }
- // Bind goTo function to click event
- $(this).click(function(e){
- e.preventDefault();
- $this.find('.t_line_node').removeClass('active');
- $(this).addClass('active');
- $this.timeline('goTo', $(this).attr('href').substr(1));
- });
- });
-
- $this.find('#t_line_left').click(function(){
- $this.timeline('lineLeft');
- });
-
- $this.find('#t_line_right').click(function(){
- $this.timeline('lineRight');
- });
-
- }
- };
-
- // Initiate methods
- $.fn.timeline = function( method ) {
-
- if ( t_methods[method] ) {
- return t_methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
- } else if ( typeof method === 'object' || ! method ) {
- return t_methods.init.apply( this, arguments );
- } else {
- $.error( 'Method ' + method + ' does not exist on jQuery.timeline' );
- }
-
- };
-
-
-
-
-
-})(jQuery);
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/js/frontend/jquery.timeline.min.js Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-/*
-
-Timeline 1.0
-
-Date organised content slider.
-
-Copyright (c) 2012 br0 (shindiristudio.com)
-
-Project site: http://codecanyon.net/
-Project demo: http://shindiristudio.com/timeline
-
-*/
-
-(function($){var t_methods={init:function(options){var settings=$.extend({'itemClass':'.item','itemOpenClass':'.item_open','openTriggerClass':'.item','closeText':'Close','itemMargin':10,'scrollSpeed':500,'startItem':'last','easing':'easeOutSine','categories':['January','February','March','April','May','June','July','August','September','October','November','December'],'nuberOfSegments':[31,29,31,30,31,30,31,31,30,31,30,31],'yearsOn':true},options);var $this=this,$body=$('body'),$items=$this.find(settings.itemClass),$itemsOpen=$this.find(settings.itemOpenClass),itemWidth=$items.first().width(),itemOpenWidth=$itemsOpen.first().width();$this.trigger('init.Timeline');var startIndex=$items.length-1;if(settings.startItem=='first'){startIndex=0}else if(settings.startItem=='last'){startIndex=$items.length-1}else{$items.each(function(index){if(settings.startItem==$(this).attr('data-id')){startIndex=index;return true}})}$this.append('<div style="clear:both"></div>');$this.css({width:'100%','overflow':'hidden',marginLeft:'auto',marginRight:'auto','text-align':'center',height:0});$this.wrapInner('<div class="timeline_items" />');$this.find('.timeline_items').css('text-align','left');$this.append('<div class="t_controles"><div class="t_left"></div><div class="t_right"></div></div>');$this.wrapInner('<div class="timeline_items_holder" />');$this.find('.timeline_items_holder').css({width:'300px',marginLeft:'auto',marginRight:'auto'});$items.css({paddingLeft:0,paddingRight:0,marginLeft:settings.itemMargin/2,marginRight:settings.itemMargin/2,float:'left',position:'relative'});$itemsOpen.each(function(){$(this).prepend('<div class="t_close" data-id="'+$(this).attr('data-id')+'">'+settings.closeText+'</div>');$(this).wrapInner('<div class="'+settings.itemOpenClass.substr(1)+'_cwrapper" />').find('div:first').css({position:'relative'});$(this).css({width:0,padding:0,margin:0,float:'left',display:'none',position:'relative',overflow:'hidden'})});var $iholder=$this.find('.timeline_items:first'),$line=$this.find('.t_line_wrapper:first'),margin=300/2-(itemWidth+settings.itemMargin)*(1/2+startIndex),width=(itemWidth+settings.itemMargin)*$items.length+(itemOpenWidth+settings.itemMargin)+660,data=$this.data('timeline');$iholder.css({width:width,marginLeft:margin});if(!data){$this.data('timeline',{currentIndex:startIndex,itemCount:$items.length,margin:margin,itemWidth:itemWidth,itemOpenWidth:itemOpenWidth,lineMargin:0,lineViewCount:0,options:settings,items:$items,iholder:$iholder,open:false,noAnimation:false,marginResponse:false})}$this.timeline('createElements');$(document).keydown(function(e){if(e.keyCode==37){$this.timeline('left');return false}if(e.keyCode==39){$this.timeline('right');return false}});$(window).resize(function(){var id=$this.find('.active:first').attr('href').substr(1);data=$this.data('timeline');itemWidth=$items.first().width(),itemOpenWidth=$itemsOpen.first().find('div:first').width();data.margin+=data.itemCount*(data.itemWidth-itemWidth);data.itemWidth=itemWidth;if(data.open)data.margin+=(data.itemOpenWidth-itemOpenWidth)/2;data.itemOpenWidth=itemOpenWidth;if($this.find('.t_line_view:first').width()>$this.find('.timeline_line').width()&&data.open&&!data.marginResponse){data.margin-=(itemWidth+settings.itemMargin)/2;data.marginResponse=true}else if($this.find('.t_line_view:first').width()<=$this.find('.timeline_line').width()&&data.marginResponse&&data.open){data.margin+=(itemWidth+settings.itemMargin)/2;data.marginResponse=false}data.noAnimation=true;$this.timeline('goTo',id)});$this.find('.t_left').click(function(){$this.timeline('left')});$this.find('.t_right').click(function(){$this.timeline('right')});$this.find(settings.openTriggerClass).click(function(){$this.timeline('goTo',$(this).attr('data-id'),true)});$this.find('.t_close').click(function(){$this.timeline('close',$(this).attr('data-id'))});$this.css({height:'auto'}).show();$this.find('.t_line_node').each(function(){if($(this).width()<10)$(this).width(12);$(this).css({marginLeft:-$(this).width()/2})});return $this},destroy:function(){var $this=this,data=$this.data('timeline');data.currentIndex.remove();data.itemCount.remove();data.margin.remove();data.lineMargin.remove();data.lineViewCount.remove();data.options.remove();data.items.remove();data.iholder.remove();data.open.remove();$this.removeData('timeline')},open:function(id){var $this=this,data=$this.data('timeline'),$items=$this.find(data.options.itemOpenClass),speed=data.options.scrollSpeed,width=data.itemOpenWidth,easing=data.options.easin,itemMargin=data.options.itemMargin;$items.each(function(){if($(this).attr('data-id')==id){$this.trigger('itemOpen.Timeline');$(this).stop(true).show().animate({width:width,marginLeft:itemMargin/2,marginRight:itemMargin/2,},speed,easing);if($this.find('.t_line_view:first').width()>$this.find('.timeline_line').width()){data.margin-=(data.itemWidth+data.options.itemMargin)/2;data.marginResponse=true}else{data.marginResponse=false}data.margin-=(width+data.options.itemMargin+data.itemWidth)/2-data.itemWidth/2;data.iholder.stop(true).animate({marginLeft:data.margin},speed,easing);data.open=id}});return $this},close:function(id,idOpen){var $this=this,data=$this.data('timeline'),$items=$this.find(data.options.itemOpenClass),speed=data.options.scrollSpeed,width=data.itemOpenWidth,easing=data.options.easing;$items.each(function(){if($(this).attr('data-id')==id){$this.trigger('itemClose.Timeline');$(this).stop(true).animate({width:0,margin:0},speed,easing,function(){$(this).hide()});if(data.marginResponse){data.margin+=(data.itemWidth+data.options.itemMargin)/2}data.margin+=(width+data.options.itemMargin)/2;data.iholder.stop(true).animate({marginLeft:data.margin},speed,easing);data.open=false}});if(idOpen){$this.timeline('open',idOpen)}return $this},right:function(){var $this=this,data=$this.data('timeline'),speed=data.options.scrollSpeed,easing=data.options.easing;if(data.currentIndex<data.itemCount-1){var dataId=data.items.eq(data.currentIndex+1).attr('data-id');$this.timeline('goTo',dataId)}else{data.iholder.stop(true).animate({marginLeft:data.margin-50},speed/2,easing).animate({marginLeft:data.margin},speed/2,easing)}return $this},left:function(){var $this=this,data=$this.data('timeline'),speed=data.options.scrollSpeed,easing=data.options.easing;if(data.currentIndex>0){var dataId=data.items.eq(data.currentIndex-1).attr('data-id');$this.timeline('goTo',dataId)}else{data.iholder.stop(true).animate({marginLeft:data.margin+50},speed/2,easing).animate({marginLeft:data.margin},speed/2,easing)}return $this},goTo:function(id,openElement){var $this=this,data=$this.data('timeline'),speed=data.options.scrollSpeed,easing=data.options.easing,$items=data.items,timelineWidth=$this.find('.timeline_line').width(),count=-1,found=false;$items.each(function(index){if(id==$(this).attr('data-id')){found=true;count=index;return true}});if(found){var $nodes=$this.find('.t_line_node');$nodes.removeClass('active');var $goToNode=$nodes.parent().parent().find('[href="#'+id+'"]').addClass('active');data.lineMargin=-parseInt($goToNode.parent().parent().attr('data-id'),10)*100;if($this.find('.t_line_view:first').width()>$this.find('.timeline_line').width()){data.lineMargin*=2;if($goToNode.parent().hasClass('right'))data.lineMargin-=100}if(data.noAnimation){data.noAnimation=false;$this.find('.t_line_wrapper').stop(true).css({marginLeft:data.lineMargin+'%'})}else{$this.find('.t_line_wrapper').stop(true).animate({marginLeft:data.lineMargin+'%'},speed,easing)}if(data.open){$this.timeline('close',data.open,id)}else if(openElement){$this.timeline('open',id)}$this.trigger('scrollStart.Timeline');var multiply=data.currentIndex-count;data.currentIndex=count;data.margin+=(data.itemWidth+data.options.itemMargin)*multiply;data.iholder.stop(true).animate({marginLeft:data.margin},speed+(speed/5)*(Math.abs(multiply)-1),easing,function(){$this.trigger('scrollStop.Timeline')})}return $this},lineLeft:function(){var $this=this,data=$this.data('timeline'),speed=data.options.scrollSpeed,easing=data.options.easing;if(data.lineMargin!=0){data.lineMargin+=100;$this.find('.t_line_wrapper').stop(true).animate({marginLeft:data.lineMargin+'%'},speed,easing)}},lineRight:function(){var $this=this,data=$this.data('timeline'),speed=data.options.scrollSpeed,easing=data.options.easing;if($this.find('.t_line_view:first').width()>$this.find('.timeline_line').width())var viewCount=data.lineViewCount*2;else var viewCount=data.lineViewCount;if(data.lineMargin!=-(viewCount-1)*100){data.lineMargin-=100;$this.find('.t_line_wrapper').stop(true).animate({marginLeft:data.lineMargin+'%'},speed,easing)}},createElements:function(){var $this=this,data=$this.data('timeline'),$items=data.items;var html='\n'+' <div class="timeline_line" style="text-align: left; position:relative; margin-left:auto; margin-right:auto;">\n'+' </div>\n';$this.prepend(html);var timelineWidth=$this.find('.timeline_line').width(),cnt=0,nodes=new Array(),months=[''].concat(data.options.categories);monthsDays=[0].concat(data.options.nuberOfSegments),minM=months.length,minY=99999,maxM=0,maxY=0;if(!data.options.yearsOn)maxY=99999;$items.each(function(){var dataId=$(this).attr('data-id'),dataDesc=$(this).attr('data-description'),dataArray=dataId.split('/'),d=parseInt(dataArray[0],10),m=(months.indexOf(dataArray[1])!=-1)?months.indexOf(dataArray[1]):parseInt(dataArray[1],10),y=parseInt(dataArray[2],10);maxY=Math.max(maxY,y);maxM=Math.max(maxM,m);minY=Math.min(minY,y);minM=Math.min(minM,m);nodes[dataId]='<a href="#'+dataId+'" class="t_line_node'+(cnt==data.currentIndex?' active':'')+'" style="left: '+(100/monthsDays[m])*d+'%; position:absolute; text-align:center;">'+d;if(typeof dataDesc!='undefined')nodes[dataId]+='<span class="t_node_desc'+(m%2==0?' pos_right':'')+'" style="white-space:nowrap; position:absolute; z-index: 1;">'+dataDesc+'</span>';nodes[dataId]+='</a>\n';cnt++});html='\n'+' <div id="t_line_left" style="position: absolute;"></div><div id="t_line_right" style="position: absolute;"></div>\n'+' <div class="t_line_holder" style="position:relative; overflow: hidden; width:100%;">\n'+' <div class="t_line_wrapper" style="white-space:nowrap;">\n';cnt=0;if(maxM>0){if(minM%2==0)minM--;if(maxM%2==0){if(maxM==12){maxM=1;maxY++}else maxM++}else{maxM+=2}while(minY!=maxY||minM!=maxM){html+='<div class="t_line_view" data-id="'+cnt+'" style="position:relative; display:inline-block;">\n'+(data.options.yearsOn?' <h3 class="t_line_year" style="text-align:center; width:100%">'+minY+'</h3>\n':'')+' <div class="t_line_m" style="position:absolute; top:0;">\n'+' <h4 class="t_line_month" style="position:abolute; width:100% top:0; text-align:center;">'+months[minM]+(data.options.yearsOn?'<span class="t_line_month_year"> '+minY+'</span>':'')+'</h4>\n';for(var x in nodes){var dataArray=x.split('/');m=(months.indexOf(dataArray[1])!=-1)?months.indexOf(dataArray[1]):parseInt(dataArray[1],10);if(!data.options.yearsOn)y=minY;else y=parseInt(dataArray[2],10);if(m==minM&&y==minY){html+=nodes[x];nodes.splice(x,1)}}minM++;html+=' </div>\n'+' <div class="t_line_m right" style="position:absolute; top:0;">\n'+' <h4 class="t_line_month" style="position:abolute; width:100% top:0; text-align:center;">'+months[minM]+(data.options.yearsOn?'<span class="t_line_month_year"> '+minY+'</span>':'')+'</h4>\n';for(var x in nodes){dataArray=x.split('/');m=(months.indexOf(dataArray[1])!=-1)?months.indexOf(dataArray[1]):parseInt(dataArray[1],10);if(!data.options.yearsOn)y=minY;else y=parseInt(dataArray[2],10);if(m==minM&&y==minY){html+=nodes[x];nodes.splice(x,1)}}html+=' </div>\n'+' <div style="clear:both"></div>\n'+' </div>';if(minM==months.length-1){minM=1;minY++}else{minM++}cnt++}}html+='\n'+' <div style="clear:both"></div>\n'+' </div>\n'+' </div>\n';data.lineViewCount=cnt;$this.find('.timeline_line').html(html);$this.find('.t_line_node').each(function(){$(this).find('span').hide();$(this).hover(function(){$(this).find('span').show()},function(){$(this).find('span').hide()});if($(this).hasClass('active')){data.lineMargin=-parseInt($(this).parent().parent('.t_line_view').attr('data-id'),10)*100;$this.find('.t_line_wrapper').css('margin-left',data.lineMargin+'%')}$(this).click(function(e){e.preventDefault();$this.find('.t_line_node').removeClass('active');$(this).addClass('active');$this.timeline('goTo',$(this).attr('href').substr(1))})});$this.find('#t_line_left').click(function(){$this.timeline('lineLeft')});$this.find('#t_line_right').click(function(){$this.timeline('lineRight')})}};$.fn.timeline=function(method){if(t_methods[method]){return t_methods[method].apply(this,Array.prototype.slice.call(arguments,1))}else if(typeof method==='object'||!method){return t_methods.init.apply(this,arguments)}else{$.error('Method '+method+' does not exist on jQuery.timeline')}}})(jQuery);if(!Array.prototype.indexOf){Array.prototype.indexOf=function(obj,start){for(var i=(start||0),j=this.length;i<j;i++){if(this[i]===obj){return i}}return-1}}
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/js/frontend/rollover.js Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-(function($){
-$(document).ready(function() {
- timelineImage();
-});
-
-function timelineImage(){
-
- $('.timeline_rollover_top').unbind('hover').timelineRollover('top');
- $('.timeline_rollover_right').unbind('hover').timelineRollover('right');
- $('.timeline_rollover_bottom').unbind('hover').timelineRollover('bottom');
- $('.timeline_rollover_left').unbind('hover').timelineRollover('left');
-
-}
-
-
-$.fn.timelineRollover = function(type) {
- var lstart,lend;
- var tstart,tend;
-
- $(this).append('\n<div class="image_roll_glass"></div><div class="image_roll_zoom"></div>');
-
-
- switch (type)
- {
- case 'top' : lstart='0'; lend='0'; tstart='-100%'; tend='0'; break;
- case 'right' : lstart='100%'; lend='0'; tstart='0'; tend='0'; break;
- case 'bottom' : lstart='0'; lend='0'; tstart='100%'; tend='0'; break;
- case 'left' : lstart='-100%'; lend='0'; tstart='0'; tend='0'; break;
- }
- $(this).find('.image_roll_zoom').css({left:lstart, top:tstart});
- $(this).hover(function(){
- $(this).find('.image_roll_zoom').stop(true, true).animate({left: lend, top:tend},200);
- $(this).find('.image_roll_glass').stop(true, true).fadeIn(200);
-},function() {
- $(this).find('.image_roll_zoom').stop(true).animate({left:lstart, top:tstart},200);
- $(this).find('.image_roll_glass').stop(true, true).fadeOut(200);
- });
-
-}
-
-})(jQuery);
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/backup/content_timeline_frontend.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,346 +0,0 @@
-<?php
-
-$title = '';
-$settings = array(
- 'scroll-speed' => '500',
- 'easing' => 'easeOutSine',
- 'hide-years' => false,
- 'cat-type' => 'months',
- 'number-of-posts' => '30',
-
- // style
- 'line-width' => '920',
- 'item-width' => '240',
- 'item-open-width' => '490',
- 'item-margin' => '20',
- 'item-height' => '360',
- 'read-more' => 'button',
- 'close-text' => 'Close',
- 'hide-line' => false,
- 'line-style' => 'light',
- 'hide-nav' => false,
- 'nav-style' => 'light',
- 'shdow' => 'show',
- 'item-back-color' => '#ffffff',
- 'item-background' => '',
- 'item-open-back-color' => '#ffffff',
- 'item-open-background' => '',
-
- 'button-hover-color' => '#1986ac',
- 'item-image-height' => '150',
- 'item-image-border-width' => '5',
- 'item-image-border-color' => '#1986ac',
- 'item-open-image-height' => '150',
- 'item-open-content-padding' => '10',
- 'item-open-image-border-width' => '5',
- 'item-open-image-border-color' => '#1986ac'
-
-);
-global $wpdb;
-if($id) {
- global $wpdb;
- $timeline = $wpdb->get_results('SELECT * FROM ' . $wpdb->base_prefix . 'ctimelines WHERE id='.$id);
- $timeline = $timeline[0];
-}
-$title = $timeline->name;
-$cats = "[";
-$catArray = array();
-$ccNumbers = array();
-$catNumber = 0;
-
-foreach(explode('||',$timeline->settings) as $val) {
- $expl = explode('::',$val);
- if(substr($expl[0], 0, 8) == 'cat-name') {
- if($cats != "[") $cats .= ",";
- $cc = get_cat_name(intval(substr($expl[0], 9)));
- $cats .= "'".$cc."'";
- array_push ($catArray,$cc);
- array_push ($ccNumbers, 0);
- $catNumber++;
- }
- else {
- $settings[$expl[0]] = $expl[1];
- }
-
-}
-$cats .= "]";
-
-$frontHtml = '
-<style type="text/css">
-#tl'. $id. ' .timeline_line,
-#content #tl'. $id. ' .timeline_line{
- width: '.$settings['line-width'].'px;
-}
-
-#tl'.$id.' .t_line_view,
-#content #tl'.$id.' .t_line_view {
- width: '.$settings['line-width'].'px;
-}
-
-#tl'.$id.' .t_line_m,
-#content #tl'.$id.' .t_line_m {
- width: '. (((int)$settings['line-width'])/2-2).'px;
-}
-
-#tl'. $id.' .t_line_m.right,
-#content #tl'. $id.' .t_line_m.right {
- left: '. (((int)$settings['line-width'])/2-1).'px;
- width: '. (((int)$settings['line-width'])/2-1).'px;
-}
-
-#tl'. $id.' .item,
-#content #tl'. $id.' .item {
- width: '. $settings['item-width'].'px;
- height: '. $settings['item-height'].'px;
- background:'. $settings['item-back-color'].' url('. $settings['item-background'].') repeat;';
-
-if($settings['shadow'] == 'show') {
- $frontHtml.= '
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
-
- zoom: 1;
- filter: progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=0),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=90),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=180),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=270);
-
- ';
- }
-else {
- $frontHtml.= '
- -moz-box-shadow: 0 0 0 #000000;
- -webkit-box-shadow: 0 0 0 #000000;
- box-shadow: 0 0 0 #000000;';
-}
-$frontHtml.='
-}';
-if($settings['shadow'] == 'on-hover') {
- $frontHtml.= '
-#tl'. $id . ' .item:hover,
-#content #tl'. $id . ' .item:hover {
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
-
- zoom: 1;
- filter: progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=0),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=90),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=180),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=270);
-
-
-}';
-}
-
-$frontHtml.= '
-#tl'. $id .' .item_open,
-#content #tl'. $id .' .item_open{
- width: '. $settings['item-open-width'].'px;
- height: '. $settings['item-height'].'px;
- background:'. $settings['item-open-back-color'].' url('. $settings['item-open-background'].') repeat; ';
-
-
-if($settings['shadow'] == 'show' || $settings['shadow'] == 'on-hover') {
- $frontHtml.= '
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
-
- zoom: 1;
- filter: progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=0),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=90),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=180),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=270);
-
- ';
- }
- else {
- $frontHtml.= '
- -moz-box-shadow: 0 0 0 #000000;
- -webkit-box-shadow: 0 0 0 #000000;
- box-shadow: 0 0 0 #000000;';
- }
-$frontHtml.= '
- }'. '
-
-#tl'. $id.' .item .con_borderImage,
-#content #tl'. $id.' .item .con_borderImage {
- border:0px;
- border-bottom: '. $settings['item-image-border-width'].'px solid '. $settings['item-image-border-color'].' ;
-}
-
-#tl'. $id.' .item_open .con_borderImage,
-#content #tl'. $id.' .item_open .con_borderImage {
- border-bottom: '. $settings['item-open-image-border-width'].'px solid '. $settings['item-open-image-border-color'].' ;
-}
-
-#tl'. $id.' .item_open_cwrapper,
-#content #tl'. $id.' .item_open .con_borderImage {
- width: '. $settings['item-open-width'].'px;
-}
-
-#tl'. $id.' .item_open .t_close:hover,
-#content #tl'. $id.' .item_open .t_close:hover{
- background:'. $settings['button-hover-color'].';
-}
-
-#tl'. $id.' .item .read_more:hover,
-#content #tl'. $id.' .item .read_more:hover{
- background:'. $settings['button-hover-color'].';
-}
-
-
-#tl'. $id.' .item .read_more,
-#content #tl'. $id.' .item .read_more,
-#tl'. $id.' .item_open .t_close,
-#content #tl'. $id.' .item_open .t_close {
-
- /* transparent background */
- filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#44000000\', endColorstr=\'#44000000\');
-}
-
-#tl'. $id.' .t_node_desc,
-#content #tl'. $id.' .t_node_desc,
- {
-
- /* IE transparent background */
- filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#cc1a86ac\', endColorstr=\'#cc1a86ac\');
-}
-
-
-
-#tl'. $id.' .timeline_open_content,
-#content #tl'. $id.' .timeline_open_content {
- padding:'. $settings['item-open-content-padding'].'px;
-}
-
-
-
-</style>
-';
-
-if($settings['read-more'] == 'whole-item') {
- $read_more = "'.item'";
- $swipeOn = 'false';
-}
-else if ($settings['read-more'] == 'button') {
- $read_more = "'.read_more'";
- $swipeOn = 'true';
-}
-else {
- $read_more = "'none'";
- $swipeOn = 'true';
-}
-
-if($settings['cat-type'] == 'categories') {
- $cats = ',
- categories : '.$cats . ',
- numberOfSegments : [';
- $cats .= $settings['number-of-posts'];
- for ($i = 1; $i < $catNumber; $i++) {
- $cats .= ', '. $settings['number-of-posts'];
- }
- $cats .= ']';
-}
-else {
- $cats = '';
-}
-
-$frontHtml .='
-
-<!-- BEGIN TIMELINE -->
-<div id="tl'. $id.'" class="timeline'. ($settings['line-style'] == 'dark' ? ' darkLine' : ''). ($settings['nav-style'] == 'dark' ? ' darkNav' : '').'">';
-
-if ($timeline->items != '') {
- $explode = explode('||',$timeline->items);
- $open_content_height = intval($settings['item-height']) - intval($settings['item-open-image-height']) - 2*intval($settings['item-open-content-padding']) -intval($settings['item-open-image-border-width']) - 6;
-
- $itemsArray = array();
- foreach ($explode as $it) {
- $ex2 = explode('::', $it);
- $key = substr($ex2[0],0,strpos($ex2[0],'-'));
- $subkey = substr($ex2[0],strpos($ex2[0],'-')+1);
- $itemsArray[$key][$subkey] = $ex2[1];
- }
- foreach ($itemsArray as $key => $arr) {
- $num = substr($key,4);
-
- if($settings['cat-type'] == 'categories') {
- $index = array_search($arr['categoryid'],$catArray);
- $ccNumbers[$index]++;
- $arr['dataid'] = ($ccNumbers[$index] < 10 ? '0'.$ccNumbers[$index] : $ccNumbers[$index]).'/'.$arr['categoryid'];
- }
- if($arr['start-item']) {
- $start_item = $arr['dataid'];
-
- }
-
-
-
-$frontHtml .='
-
- <div class="item" data-id="'. $arr['dataid'].'" data-description="'. substr($arr['item-title'],0,30).'">
- <img class="con_borderImage" src="'. $this->url . 'timthumb/timthumb.php?src=' . $arr['item-image'] . '&w='.((int)$settings['item-width']-10).'&h='.((int)$settings['item-image-height']-10).'" alt=""/>
- <h2>'.$arr['item-title'].'</h2>
- <span>'.$arr['item-content'].'</span>
- '.(($settings['read-more'] == 'button') ? '<div class="read_more" data-id="'.$arr['dataid'].'">Read more</div>' : '').'
- </div>
- <div class="item_open" data-id="'.$arr['dataid'].'">';
-
- if ($arr['item-open-image'] != '') {
- $frontHtml .= '
- <img class="con_borderImage" src="'. $this->url . 'timthumb/timthumb.php?src=' . $arr['item-open-image'] . '&w='.((int)$settings['item-open-width']-10).'&h='.((int)$settings['item-open-image-height']-10).'" alt=""/>
- <div class="timeline_open_content'.(!$arr['desable-scroll'] ? ' scrollable-content' : '').'" style="height: '. $open_content_height.'px">';
-
- }
- else {
- $frontHtml .= '
- <div class="timeline_open_content'.(!$arr['desable-scroll'] ? ' scrollable-content' : '').'" style="height: '. (intval($settings['item-height']) - 2*intval($settings['item-open-content-padding'])).'px">';
- }
-
- if ($arr['item-open-title'] != '') {
- $frontHtml .= '
- <h2>'.$arr['item-open-title'].'</h2>';
-
- }
- $frontHtml .= '
- ' . $arr['item-open-content'].'
- </div>
- </div>';
-
-
- }
-}
-$frontHtml .= '
-</div> <!-- END TIMELINE -->
-
-
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js?ver=3.4.2"></script>
-<script type="text/javascript" src="' . $this->url . 'js/frontend/jquery.easing.1.3.js?ver=3.4.2"></script>
-<script type="text/javascript" src="' . $this->url . 'js/frontend/jquery.timeline.js?ver=3.4.2"></script>
-<script type="text/javascript" src="' . $this->url . 'js/frontend/jquery.mousewheel.min.js?ver=3.4.2"></script>
-<script type="text/javascript" src="' . $this->url . 'js/frontend/jquery.mCustomScrollbar.min.js?ver=3.4.2"></script>
-<script type="text/javascript">
-(function($){
-$(window).load(function() {
- $(".scrollable-content").mCustomScrollbar();
-
- $("#tl'.$id.'").timeline({
- itemMargin : '. $settings['item-margin'].',
- scrollSpeed : '.$settings['scroll-speed'].',
- easing : "'.$settings['easing'].'",
- openTriggerClass : '.$read_more.',
- swipeOn : '.$swipeOn.',
- startItem : "'. $start_item . '",
- yearsOn : '.(($settings['hide-years'] || $settings['cat-type'] == 'categories') ? 'false' : 'true').',
- hideTimeline : '.($settings['hide-line'] ? 'true' : 'false').',
- hideControles : '.($settings['hide-nav'] ? 'true' : 'false').
- $cats.'
- });
-
-});
-})(jQuery);
-</script>';
-?>
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/content_timeline_ajax_page.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<?php
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/content_timeline_edit.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,880 +0,0 @@
-<div class="wrap">
- <?php
- $title = '';
- $settings = array(
- 'scroll-speed' => '500',
- 'easing' => 'easeOutSine',
- 'hide-years' => false,
- 'cat-type' => 'months',
- 'number-of-posts' => '30',
-
- // style
- 'line-width' => '920',
- 'item-width' => '240',
- 'item-open-width' => '490',
- 'item-margin' => '20',
- 'item-height' => '360',
- 'read-more' => 'button',
- 'close-text' => 'Close',
- 'hide-line' => false,
- 'line-style' => 'light',
- 'hide-nav' => false,
- 'nav-style' => 'light',
- 'shdow' => 'show',
- 'button-hover-color' => '#1986ac',
- 'node-desc-color' => '#1986ac',
-
- // item & open item
- 'item-back-color' => '#ffffff',
- 'item-background' => '',
- 'item-open-back-color' => '#ffffff',
- 'item-open-background' => '',
- 'item-image-height' => '150',
- 'item-image-border-width' => '5',
- 'item-image-border-color' => '#1986ac',
- 'item-open-image-height' => '150',
- 'item-open-content-padding' => '10',
- 'item-open-image-border-width' => '5',
- 'item-open-image-border-color' => '#1986ac',
-
- // item fonts
- 'item-header-line-height' => '24',
- 'item-header-font-size' => '24',
- 'item-header-font-type' => 'regular',
- 'item-header-font-color' => '#2d2d2d',
- 'item-text-line-height' => '12',
- 'item-text-font-size' => '12',
- 'item-text-font-type' => 'regular',
- 'item-text-font-color' => '#4d4d4d',
-
- // item open fonts
- 'item-open-header-line-height' => '24',
- 'item-open-header-font-size' => '24',
- 'item-open-header-font-type' => 'regular',
- 'item-open-header-font-color' => '#2d2d2d',
- 'item-open-text-line-height' => '12',
- 'item-open-text-font-size' => '12',
- 'item-open-text-font-type' => 'regular',
- 'item-open-text-font-color' => '#4d4d4d'
-
-
- );
- global $wpdb;
- if(isset($_GET['id'])) {
- global $wpdb;
- $timeline = $wpdb->get_results('SELECT * FROM ' . $wpdb->base_prefix . 'ctimelines WHERE id='.$_GET['id']);
- $timeline = $timeline[0];
- $pageName = 'Edit timeline';
- }
- else {
- $pageName = 'New timeline';
- }
- $title = $timeline->name;
- foreach(explode('||',$timeline->settings) as $val) {
- $expl = explode('::',$val);
- $settings[$expl[0]] = $expl[1];
- }
- ?>
-
-
- <input type="hidden" id="plugin-url" value="<?php echo $this->url; ?>"/>
- <h2><?php echo $pageName; ?>
- <a href="<?php echo admin_url( "admin.php?page=contenttimeline" ); ?>" class="add-new-h2">Cancel</a>
- </h2>
- <div class="form_result"></div>
- <form name="post_form" method="post" id="post_form">
- <input type="hidden" name="timeline_id" id="timeline_id" value="<?php echo $_GET['id']; ?>" />
- <div id="poststuf">
-
- <div id="post-body" class="metabox-holder columns-2" style="margin-right:300px; padding:0;">
-
- <div id="post-body-content">
- <div id="titlediv">
- <div id="titlewrap">
- <label class="hide-if-no-js" style="visibility:hidden" id="title-prompt-text" for="title">Enter title here</label>
- <input type="text" name="timeline_title" size="30" tabindex="1" value="<?php echo $title; ?>" id="title" autocomplete="off" />
- </div>
- </div>
- <h2 class="alignleft" style="padding:0 0 10px 0;">Items</h2>
- <a id="tsort-add-new" class="alignleft button button-highlighted" style="display:block; padding:3px 15px; margin:4px 10px;" href="#">+ Add New item</a>
- <div class="clear"></div>
- <ul id="timeline-sortable">
- <?php
- if ($timeline->items != '') {
- $explode = explode('||',$timeline->items);
- $itemsArray = array();
- foreach ($explode as $it) {
- $ex2 = explode('::', $it);
- $key = substr($ex2[0],0,strpos($ex2[0],'-'));
- $subkey = substr($ex2[0],strpos($ex2[0],'-')+1);
- $itemsArray[$key][$subkey] = $ex2[1];
- }
- foreach ($itemsArray as $key => $arr) {
- $num = substr($key,4);
- ?>
-
-
- <li id="<?php echo $key; ?>" class="sortableItem">
- <div class="tsort-plus">+</div>
- <div class="tsort-header">Item <?php echo $num; ?> <small><i>- <?php echo $arr['item-title']; ?></i></small> <a href="#" class="tsort-delete"><i>delete</i></a></div>
- <div class="tsort-content">
- <div class="tsort-dataid">
- <input type="checkbox" id="<?php echo $key; ?>-start-item" name="<?php echo $key; ?>-start-item" class="tsort-start-item alignright" <?php if($arr['start-item']) echo 'checked="checked"'; ?> />
- <label for="<?php echo $key; ?>-start-item" class="alignright">Start item </label>
- <span class="timeline-help">? <span class="timeline-tooltip">Argument by which are elements organised (date - dd/mm/yyyy, Category - full category name). Different field is used for different categorizing type.</span></span>
- <label for="<?php echo $key; ?>-dataid">Date</label>
- <input style="margin-left:5px;" id="<?php echo $key; ?>-dataid" name="<?php echo $key; ?>-dataid" value="<?php echo $arr['dataid']; ?>" type="text" class="data_id" />
- <label style="margin-left:5px;" for="<?php echo $key; ?>-categoryid">Category</label>
- <input style="margin-left:5px;" id="<?php echo $key; ?>-categoryid" name="<?php echo $key; ?>-categoryid" value="<?php echo $arr['categoryid']; ?>" class="category_id" type="text"/>
- <label style="margin-left:5px;" for="<?php echo $key; ?>-node-name">Title of the timeline node (optional)</label>
- <input style="margin-left:5px;" id="<?php echo $key; ?>-node-name" name="<?php echo $key; ?>-node-name" value="<?php echo $arr['node-name']; ?>" type="text" />
-
- </div>
- <div class="tsort-item">
- <h3 style="padding-left:0;"><span class="timeline-help">? <span class="timeline-tooltip">Base item content (image, title and content).</span></span>Item Options</h3>
- <div class="tsort-image"><img id="<?php echo $key; ?>-item-image" src="<?php echo(($arr['item-image'] != '') ? $this->url . '/timthumb/timthumb.php?src=' . $arr['item-image'] . '&w=258&50' : $this->url . '/images/no_image.jpg'); ?>" /><a href="#" id="<?php echo $key; ?>-item-image-change" class="tsort-change">Change</a>
-
- <input id="<?php echo $key; ?>-item-image-input" name="<?php echo $key; ?>-item-image" type="hidden" value="<?php echo $arr['item-image']; ?>" />
- <a href="#" id="<?php echo $key; ?>-item-image-remove" class="tsort-remove">Remove</a>
- </div>
- <input class="tsort-title" name="<?php echo $key; ?>-item-title" value="<?php echo $arr['item-title']; ?>" type="text" />
- <div class="clear"></div>
- <textarea class="tsort-contarea" name="<?php echo $key; ?>-item-content"><?php echo $arr['item-content']; ?></textarea>
- <table style="width:100%;">
- <tr>
- <td style="width:120px;"><span class="timeline-help">? <span class="timeline-tooltip">"PrittyPhoto"(Lightbox) URL, it can be image, video or site url. LEAVE IT EMPTY TO DESPLAY FULL SIZED IMGAE.</span></span><label for="<?php echo $key; ?>-item-prettyPhoto">PrettyPhoto URL</label></td>
- <td><input class="tsort-prettyPhoto" name="<?php echo $key; ?>-item-prettyPhoto" value="<?php echo $arr['item-prettyPhoto']; ?>" type="text" style="width:100%;" /></td>
- </tr>
-
- </table>
-
- </div>
- <div class="tsort-itemopen">
- <h3 style="padding-left:0;"><span class="timeline-help">? <span class="timeline-tooltip">Opened item content (image, title and content).</span></span>Item Open Options</h3>
- <div class="tsort-image"><img id="<?php echo $key; ?>-item-open-image" src="<?php echo(($arr['item-open-image'] != '') ? $this->url . '/timthumb/timthumb.php?src=' . $arr['item-open-image'] . '&w=258&50' : $this->url . '/images/no_image.jpg'); ?>" /><a href="#" id="<?php echo $key; ?>-item-open-image-change" class="tsort-change">Change</a>
- <input id="<?php echo $key; ?>-item-open-image-input" name="<?php echo $key; ?>-item-open-image" type="hidden" value="<?php echo $arr['item-open-image']; ?>" />
- <a href="#" id="<?php echo $key; ?>-item-open-image-remove" class="tsort-remove">Remove</a>
- </div>
- <input class="tsort-title" name="<?php echo $key; ?>-item-open-title" value="<?php echo $arr['item-open-title']; ?>" type="text" />
- <div class="clear"></div>
- <textarea class="tsort-contarea" name="<?php echo $key; ?>-item-open-content"><?php echo $arr['item-open-content']; ?></textarea>
- <table style="width:100%;">
- <tr>
- <td style="width:120px;"><span class="timeline-help">? <span class="timeline-tooltip">"PrettyPhoto"(Lightbox) URL, it can be image, video or site url. LEAVE IT EMPTY TO DESPLAY FULL SIZED IMGAE.</span></span><label for="<?php echo $key; ?>-item-open-prettyPhoto">PrettyPhoto URL</label></td>
- <td><input class="tsort-prettyPhoto" name="<?php echo $key; ?>-item-open-prettyPhoto" value="<?php echo $arr['item-open-prettyPhoto']; ?>" type="text" style="width:100%;" /></td>
- </tr>
-
- </table>
- <label for="<?php echo $key; ?>-desable-scroll">Desable Scroll </label>
- <input type="checkbox" id="<?php echo $key; ?>-desable-scroll" name="<?php echo $key; ?>-desable-scroll" <?php if($arr['desable-scroll']) echo 'checked="checked"'; ?> />
- </div>
- </div>
- </li>
-
- <?php
- }
- } ?>
-
- </ul>
- <div class="clear"></div>
-
- <div id="style_preview">
-
-
- </div>
-
- </div>
-
- <div id="postbox-container-1" class="postbox-container">
- <div class="postbox">
- <h3 class='hndle' style="cursor:auto"><span>Publish</span></h3>
- <div class="inside">
- <div id="save-progress" class="waiting ajax-saved" style="background-image: url(<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>)" ></div>
- <input name="preview-timeline" id="preview-timeline" value="Preview" class="button button-highlighted" style="padding:3px 25px" type="submit" />
- <input name="save-timeline" id="save-timeline" value="Save timeline" class="alignright button button-primary" style="padding:3px 15px" type="submit" />
- <img id="save-loader" src="<?php echo $this->url; ?>images/ajax-loader.gif" class="alignright" />
- <br class="clear" />
- </div>
- </div>
- <div id="side-sortables" class="meta-box-sortables ui-sortable">
-
-
- <div id="bla1" class="postbox" >
- <div class="handlediv" title="Click to toggle"><br /></div>
- <h3 class='hndle'><span>General Options</span></h3>
- <div class="inside">
- <table class="fields-group misc-pub-section">
-
-
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Transition speed (default 500px).</span></span>
- <label for="scroll-speed" >Scroll Speed</label>
- </td>
- <td>
- <input id="scroll-speed" name="scroll-speed" value="<?php echo $settings['scroll-speed']; ?>" size="5" type="text">
- <span class="unit">ms</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Transition easing function (default 'easeOutSine').</span></span>
- <label for="easing" >Easing</label>
- </td>
- <td>
- <select name="easing">
- <?php
- $easingArray = array('easeInQuad', 'easeOutQuad','easeInOutQuad','easeInCubic','easeOutCubic','easeInOutCubic','easeInQuart','easeOutQuart','easeInOutQuart','easeInQuint','easeOutQuint','easeInOutQuint','easeInSine','easeOutSine','easeInOutSine','easeInExpo','easeOutExpo','easeInOutExpo','easeInCirc','easeOutCirc','easeInOutCirc','easeInElastic','easeOutElastic','easeInOutElastic','easeInBack','easeOutBack','easeInOutBack','easeInBounce','easeOutBounce','easeInOutBounce');
- foreach ($easingArray as $item) {
- echo '
- <option value="'.$item.'" '.(($item == $settings['easing']) ? 'selected="selected"' : '').'>'.$item.'</option>';
- }
-
- ?>
-
- </select>
- </td>
- </tr>
-
-
-
- </table>
- <div class="misc-pub-section timeline-pub-section">
- <h3 style="margin-top:0; background:transparent;"><span class="timeline-help">? <span class="timeline-tooltip">Options for categorizing your posts.</span></span>Chronological Options</h3>
-
- <table class="fields-group">
-
- <tr class="field-row">
- <td>
- <label for="hide-years">Hide Years</label>
- </td>
- <td>
- <input id="hide-years" name="hide-years" value="true" type="checkbox" <?php echo (($settings['hide-years']) ? 'checked="checked"' : '');?> />
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Organize posts by date or some other criteria.</span></span>
- <label for="cat-type">Type</label>
- </td>
- <td>
- <select id="cat-type" name="cat-type">
- <option value="months" <?php echo (($settings['cat-type'] == 'months') ? 'selected="selected"' : ''); ?> >Months</option>
- <option value="categories" <?php echo (($settings['cat-type'] == 'categories') ? 'selected="selected"' : ''); ?>>Categories</option>
- </select>
-
- <?php
-
-?>
- </td>
- </tr>
-
-
-
- <tr class="cat-display">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Number of posts per category/month (default 30).</span></span>
- <label for="number-per-cat">Number of posts</label>
- </td>
- <td>
- <input id="number-of-posts" name="number-of-posts" value="<?php echo $settings['number-of-posts']; ?>" size="5" type="text">
- </td>
- </tr>
- <tr class="cat-display">
- <td colspan="2" style="width:100%;">
- <h4 style="margin:0 0 5px 0; font-size:14px; border-bottom:1px solid #dddddd;">Categories:</h4>
- <?php
-
- $post_types=get_post_types('','names');
- $categories = array();
- foreach ($post_types as $post_type ) {
- if (!in_array($post_type, array('page', 'attachment', 'revision', 'nav_menu_item'))) {
- $newCats = get_categories(array('type' => $post_type));
- foreach ($newCats as $post_cat) {
- if (!in_array($post_cat, $categories)) {
- array_push($categories, $post_cat);
- }
- }
- }
- }
- $catString = '';
- foreach ($categories as $category) {
- $catString .= $category->name . '||';
- echo '
- <label for="cat-name-'.$category->term_id.'">'.$category->name.'</label>
- <input class="cat-name" name="cat-name-'.$category->term_id.'" value="'.$category->name.'" type="checkbox" '.(($settings['cat-name-'.$category->term_id]) ? 'checked="checked"' : '').'>';
- }
- if($catString != '') {
- echo '<input type="hidden" id="categories-hidden" value="'.substr($catString,0,strlen($catString)-2).'" />';
- }
-
- ?>
-
- </td>
- </tr>
- <tr class="cat-display">
- <td colspan="2" style="width:100%">
- <a href="#" id="cat-check-all" class="button button-highlighted alignleft" style="padding:3px 25px" >Chech all</a>
- <a href="#" id="cat-uncheck-all" class="button button-highlighted alignright" style="padding:3px 25px" >Unchech all</a>
- <div class="clear"></div>
- </td>
- </tr>
-
-
-
- </table>
- </div>
- </div>
- </div><!-- /GENERAL OPTIONS -->
-
-
-
-
-
-
- <div id="bla2" class="postbox" >
- <div class="handlediv" title="Click to toggle"><br /></div>
- <h3 class='hndle'><span>Global Styling Options</span></h3>
- <div class="inside">
- <table class="fields-group misc-pub-section">
-
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Width of the line element (default 920px).</span></span>
- <label for="line-width" >Timeline Width</label>
- </td>
- <td>
- <input id="line-width" name="line-width" value="<?php echo $settings['line-width']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Space between two items. If negative items overlap. (default 20px).</span></span>
- <label for="item-margin" >Item Margin</label>
- </td>
- <td>
- <input id="item-margin" name="item-margin" value="<?php echo $settings['item-margin']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Height of Item and Open item elements (default 360px).</span></span>
- <label for="item-height" >Item Height</label>
- </td>
- <td>
- <input id="item-height" name="item-height" value="<?php echo $settings['item-height']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Read more button ('Button' : adds read more button, 'Whole Item' : makes the entire item clickable, 'None' : Items don't open).</span></span>
- <label for="read-more">Read more</label>
- </td>
- <td>
- <select name="read-more" id="read-more">
- <option value="button" <?php if($settings['read-more'] == 'button') echo 'selected="selected"'; ?>>Button</option>
- <option value="whole-item" <?php if($settings['read-more'] == 'whole-item') echo 'selected="selected"'; ?>>Whole Item</option>
- <option value="none" <?php if($settings['read-more'] == 'none') echo 'selected="selected"'; ?>>None</option>
- </select>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Text of the 'Close' element in open item (default 'Close').</span></span>
- <label for="close-text" >Close button text</label>
- </td>
- <td>
- <input id="close-text" name="close-text" value="<?php echo $settings['close-text']; ?>" size="20" type="text">
- </td>
- </tr>
-
- <tr>
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Hover color of 'Read More' and 'Close' buttons.</span></span>
- <label for="button-hover-color">Button hover color</label>
- </td>
- <td>
- <input id="button-hover-color" name="button-hover-color" value="<?php echo $settings['button-hover-color']; ?>" type="text" style="background:#<?php echo $settings['button-hover-color']; ?>;">
- <div class="cw-color-picker-holder" style="left:-70px;">
- <div id="button-hover-color-picker" class="cw-color-picker" rel="button-hover-color"></div>
- </div>
- </td>
- </tr>
-
- <tr>
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Color of description bar that appears when you hover date on the timeline.</span></span>
- <label for="node-desc-color">Node description color</label>
- </td>
- <td>
- <input id="node-desc-color" name="node-desc-color" value="<?php echo $settings['node-desc-color']; ?>" type="text" style="background:#<?php echo $settings['node-desc-color']; ?>;">
- <div class="cw-color-picker-holder" style="left:-70px;">
- <div id="node-desc-color-picker" class="cw-color-picker" rel="node-desc-color"></div>
- </div>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="hide-line">Hide Timeline</label>
- </td>
- <td>
- <input id="hide-line" name="hide-line" value="true" type="checkbox" <?php echo ($settings['hide-line'] ? 'checked="checked"' : '' ); ?>>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Color scheme of timeline element (default 'Light').</span></span>
- <label for="line-style">Line Style</label>
- </td>
- <td>
- <select name="line-style">
- <option value="light" <?php echo (($settings['line-style'] == 'light') ? 'selected="selected"' : '' ); ?>>Light</option>
- <option value="dark" <?php echo (($settings['line-style'] == 'dark') ? 'selected="selected"' : '' ); ?>>Dark</option>
- </select>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="hide-nav">Hide Navigation</label>
- </td>
- <td>
- <input id="hide-nav" name="hide-nav" value="true" type="checkbox" <?php echo ($settings['hide-nav'] ? 'checked="checked"' : '' ); ?>>
- </td>
- </tr>
-
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Color scheme of nav elements (default 'Light').</span></span>
- <label for="line-style">Nav Style</label>
- </td>
- <td>
- <select name="nav-style">
- <option value="light" <?php echo (($settings['nav-style'] == 'light') ? 'selected="selected"' : '' ); ?>>Light</option>
- <option value="dark" <?php echo (($settings['nav-style'] == 'dark') ? 'selected="selected"' : '' ); ?>>Dark</option>
- </select>
- </td>
- </tr>
-
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Shadow under elements (default 'show').</span></span>
- <label for="shadow">Shadow</label>
- </td>
- <td>
- <select name="shadow">
- <option value="show" <?php echo (($settings['shadow'] == 'show') ? 'selected="selected"' : '' ); ?>>Show</option>
- <option value="on-hover" <?php echo (($settings['shadow'] == 'on-hover') ? 'selected="selected"' : '' ); ?>>Show On Hover</option>
- <option value="hide" <?php echo (($settings['shadow'] == 'hide') ? 'selected="selected"' : '' ); ?>>Hide</option>
- </select>
- </td>
- </tr>
-
-
-
- </table>
- </div>
- </div><!-- /GLOBAL STYLING OPTIONS -->
-
-
-
-
-
-
- <div id="bla3" class="postbox" >
- <div class="handlediv" title="Click to toggle"><br /></div>
- <h3 class='hndle'><span>Item Styling Options</span></h3>
- <div class="inside">
- <table class="fields-group misc-pub-section">
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Width of items (default 240px).</span></span>
- <label for="item-width" >Width</label>
- </td>
- <td>
- <input id="item-width" name="item-width" value="<?php echo $settings['item-width']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Height of images (Width is strached to element width).</span></span>
- <label for="item-image-height" >Image Height</label>
- </td>
- <td>
- <input id="item-image-height" name="item-image-height" value="<?php echo $settings['item-image-height']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="item-image-border-width" >Image Border Width</label>
- </td>
- <td>
- <input id="item-image-border-width" name="item-image-border-width" value="<?php echo $settings['item-image-border-width']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr>
- <td>
- <label for="item-image-border-color">Image Border Color</label>
- </td>
- <td>
- <input id="item-image-border-color" name="item-image-border-color" value="<?php echo $settings['item-image-border-color']; ?>" type="text" style="background:#<?php echo $settings['item-image-border-color']; ?>;">
- <div class="cw-color-picker-holder" style="left:-70px;">
- <div id="item-image-border-color-picker" class="cw-color-picker" rel="item-image-border-color"></div>
- </div>
- </td>
- </tr>
- </table>
- <div class="misc-pub-section timeline-pub-section">
- <h3 style="margin-top:0; background:transparent;"><span class="timeline-help">? <span class="timeline-tooltip">Font-family is inharited from your theme default fonts for H2 and default text.</span></span>Fonts</h3>
-
- <table class="fields-group">
-
- <tr class="field-row">
- <td>
- <label for="item-header-line-height" >Title Line Height</label>
- </td>
- <td>
- <input id="item-header-line-height" name="item-header-line-height" value="<?php echo $settings['item-header-line-height']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="item-header-font-size" >Title Font Size</label>
- </td>
- <td>
- <input id="item-header-font-size" name="item-header-font-size" value="<?php echo $settings['item-header-font-size']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="item-header-font-type" >Title Font Type</label>
- </td>
- <td>
-
- <select name="item-header-font-type">
- <option value="regular" <?php echo (($settings['item-header-font-type'] == 'regular') ? 'selected="selected"' : '' ); ?>>Regular</option>
- <option value="thick" <?php echo (($settings['item-header-font-type'] == 'thick') ? 'selected="selected"' : '' ); ?>>Thick</option>
- <option value="bold" <?php echo (($settings['item-header-font-type'] == 'bold') ? 'selected="selected"' : '' ); ?>>Bold</option>
- <option value="bold-italic" <?php echo (($settings['item-header-font-type'] == 'bold-italic') ? 'selected="selected"' : '' ); ?>>Bold-Italic</option>
- <option value="italic" <?php echo (($settings['item-header-font-type'] == 'italic') ? 'selected="selected"' : '' ); ?>>Italic</option>
- </select>
- </td>
- </tr>
-
- <tr>
- <td>
- <label for="item-header-font-color">Title Color</label>
- </td>
- <td>
- <input id="item-header-font-color" name="item-header-font-color" value="<?php echo $settings['item-header-font-color']; ?>" type="text" style="background:#<?php echo $settings['item-header-font-color']; ?>;">
- <div class="cw-color-picker-holder" style="left:-70px;">
- <div id="item-header-font-color-picker" class="cw-color-picker" rel="item-header-font-color"></div>
- </div>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="item-text-line-height" >Text Line Height</label>
- </td>
- <td>
- <input id="item-text-line-height" name="item-text-line-height" value="<?php echo $settings['item-text-line-height']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="item-text-font-size" >Text Font Size</label>
- </td>
- <td>
- <input id="item-text-font-size" name="item-text-font-size" value="<?php echo $settings['item-text-font-size']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="item-text-font-type" >Text Font Type</label>
- </td>
- <td>
-
- <select name="item-text-font-type">
- <option value="regular" <?php echo (($settings['item-text-font-type'] == 'regular') ? 'selected="selected"' : '' ); ?>>Regular</option>
- <option value="thick" <?php echo (($settings['item-text-font-type'] == 'thick') ? 'selected="selected"' : '' ); ?>>Thick</option>
- <option value="bold" <?php echo (($settings['item-text-font-type'] == 'bold') ? 'selected="selected"' : '' ); ?>>Bold</option>
- <option value="bold-italic" <?php echo (($settings['item-text-font-type'] == 'bold-italic') ? 'selected="selected"' : '' ); ?>>Bold-Italic</option>
- <option value="italic" <?php echo (($settings['item-text-font-type'] == 'italic') ? 'selected="selected"' : '' ); ?>>Italic</option>
- </select>
- </td>
- </tr>
-
- <tr>
- <td>
- <label for="item-text-font-color">Text Color</label>
- </td>
- <td>
- <input id="item-text-font-color" name="item-text-font-color" value="<?php echo $settings['item-text-font-color']; ?>" type="text" style="background:#<?php echo $settings['item-text-font-color']; ?>;">
- <div class="cw-color-picker-holder" style="left:-70px;">
- <div id="item-text-font-color-picker" class="cw-color-picker" rel="item-text-font-color"></div>
- </div>
- </td>
- </tr>
-
-
- </table>
- </div>
-
-
- <div class="misc-pub-section timeline-pub-section">
- <h3 style="margin-top:0; background:transparent;"><span class="timeline-help">? <span class="timeline-tooltip">Base item background options.</span></span>Background</h3>
-
- <label>Color:</label>
- <input id="item-back-color" name="item-back-color" value="<?php echo $settings['item-back-color']; ?>" type="text" style="background:#<?php echo $settings['item-back-color']; ?>;">
- <div class="cw-color-picker-holder">
- <div id="item-back-color-picker" class="cw-color-picker" rel="item-back-color"></div>
- </div>
-
- <label>Image:</label>
- <div class="cw-image-select-holder">
- <input id="item-background-input" name="item-background" type="hidden" value="<?php echo $settings['item-background']; ?>" />
- <a href="#" id="item-background" class="cw-image-upload" style="<?php echo 'background: url(' . (($settings['item-background'] != '') ? $settings['item-background'] : $this->url . '/images/no_image.jpg') . ');'; ?>"></a>
- <small>Click on image to change, or <a href="#" class="remove-image">remove image</a></small>
- </div>
- </div>
-
- </div>
- </div><!-- /ITEM STYLING OPTIONS -->
-
-
- <div id="bla4" class="postbox" >
- <div class="handlediv" title="Click to toggle"><br /></div>
- <h3 class='hndle'><span>Styling Options</span></h3>
- <div class="inside">
- <table class="fields-group misc-pub-section">
-
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Width of open items (default 490px).</span></span>
- <label for="item-open-width" >Width</label>
- </td>
- <td>
- <input id="item-open-width" name="item-open-width" value="<?php echo $settings['item-open-width']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Padding of open items content.</span></span>
- <label for="item-open-content-padding" >Content Padding</label>
- </td>
- <td>
- <input id="item-open-content-padding" name="item-open-content-padding" value="<?php echo $settings['item-open-content-padding']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <span class="timeline-help">? <span class="timeline-tooltip">Height of images (Width is strached to element width).</span></span>
- <label for="item-open-image-height" >Image Height</label>
- </td>
- <td>
- <input id="item-open-image-height" name="item-open-image-height" value="<?php echo $settings['item-open-image-height']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="item-open-image-border-width" >Image Border Width</label>
- </td>
- <td>
- <input id="item-open-image-border-width" name="item-open-image-border-width" value="<?php echo $settings['item-open-image-border-width']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr>
- <td>
- <label for="item-open-image-border-color">Image Border Color</label>
- </td>
- <td>
- <input id="item-open-image-border-color" name="item-open-image-border-color" value="<?php echo $settings['item-open-image-border-color']; ?>" type="text" style="background:#<?php echo $settings['item-open-image-border-color']; ?>;">
- <div class="cw-color-picker-holder" style="left:-70px;">
- <div id="item-open-image-border-color-picker" class="cw-color-picker" rel="item-open-image-border-color"></div>
- </div>
- </td>
- </tr>
-
-
- </table>
- <div class="misc-pub-section timeline-pub-section">
- <h3 style="margin-top:0; background:transparent;"><span class="timeline-help">? <span class="timeline-tooltip">Font-family is inharited from your theme default fonts for H2 and default text.</span></span>Fonts</h3>
-
- <table class="fields-group">
- <tr class="field-row">
- <td>
- <label for="item-open-header-line-height" >Title Line Height</label>
- </td>
- <td>
- <input id="item-open-header-line-height" name="item-open-header-line-height" value="<?php echo $settings['item-open-header-line-height']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="item-open-header-font-size" >Title Font Size</label>
- </td>
- <td>
- <input id="item-open-header-font-size" name="item-open-header-font-size" value="<?php echo $settings['item-open-header-font-size']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="item-open-header-font-type" >Title Font Type</label>
- </td>
- <td>
-
- <select name="item-open-header-font-type">
- <option value="regular" <?php echo (($settings['item-open-header-font-type'] == 'regular') ? 'selected="selected"' : '' ); ?>>Regular</option>
- <option value="thick" <?php echo (($settings['item-open-header-font-type'] == 'thick') ? 'selected="selected"' : '' ); ?>>Thick</option>
- <option value="bold" <?php echo (($settings['item-open-header-font-type'] == 'bold') ? 'selected="selected"' : '' ); ?>>Bold</option>
- <option value="bold-italic" <?php echo (($settings['item-open-header-font-type'] == 'bold-italic') ? 'selected="selected"' : '' ); ?>>Bold-Italic</option>
- <option value="italic" <?php echo (($settings['item-open-header-font-type'] == 'italic') ? 'selected="selected"' : '' ); ?>>Italic</option>
- </select>
- </td>
- </tr>
-
- <tr>
- <td>
- <label for="item-open-header-font-color">Title Color</label>
- </td>
- <td>
- <input id="item-open-header-font-color" name="item-open-header-font-color" value="<?php echo $settings['item-open-header-font-color']; ?>" type="text" style="background:#<?php echo $settings['item-open-header-font-color']; ?>;">
- <div class="cw-color-picker-holder" style="left:-70px;">
- <div id="item-open-header-font-color-picker" class="cw-color-picker" rel="item-open-header-font-color"></div>
- </div>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="item-open-text-line-height" >Text Line Height</label>
- </td>
- <td>
- <input id="item-open-text-line-height" name="item-open-text-line-height" value="<?php echo $settings['item-open-text-line-height']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="item-open-text-font-size" >Text Font Size</label>
- </td>
- <td>
- <input id="item-open-text-font-size" name="item-open-text-font-size" value="<?php echo $settings['item-open-text-font-size']; ?>" size="5" type="text">
- <span class="unit">px</span>
- </td>
- </tr>
-
- <tr class="field-row">
- <td>
- <label for="item-open-text-font-type" >Text Font Type</label>
- </td>
- <td>
-
- <select name="item-open-text-font-type">
- <option value="regular" <?php echo (($settings['item-open-text-font-type'] == 'regular') ? 'selected="selected"' : '' ); ?>>Regular</option>
- <option value="thick" <?php echo (($settings['item-open-text-font-type'] == 'thick') ? 'selected="selected"' : '' ); ?>>Thick</option>
- <option value="bold" <?php echo (($settings['item-open-text-font-type'] == 'bold') ? 'selected="selected"' : '' ); ?>>Bold</option>
- <option value="bold-italic" <?php echo (($settings['item-open-text-font-type'] == 'bold-italic') ? 'selected="selected"' : '' ); ?>>Bold-Italic</option>
- <option value="italic" <?php echo (($settings['item-open-text-font-type'] == 'italic') ? 'selected="selected"' : '' ); ?>>Italic</option>
- </select>
- </td>
- </tr>
-
- <tr>
- <td>
- <label for="item-open-text-font-color">Text Color</label>
- </td>
- <td>
- <input id="item-open-text-font-color" name="item-open-text-font-color" value="<?php echo $settings['item-open-text-font-color']; ?>" type="text" style="background:#<?php echo $settings['item-open-text-font-color']; ?>;">
- <div class="cw-color-picker-holder" style="left:-70px;">
- <div id="item-open-text-font-color-picker" class="cw-color-picker" rel="item-open-text-font-color"></div>
- </div>
- </td>
- </tr>
-
- </table>
- </div>
- <div class="misc-pub-section timeline-pub-section">
- <h3 style="margin-top:0; background:transparent;"><span class="timeline-help">? <span class="timeline-tooltip">Open item background options.</span></span>Background</h3>
-
- <label>Color:</label>
- <input id="item-open-back-color" name="item-open-back-color" value="<?php echo $settings['item-open-back-color']; ?>" type="text" style="background:<?php echo $settings['item-open-back-color']; ?>;">
- <div class="cw-color-picker-holder">
- <div id="item-open-back-color-picker" class="cw-color-picker" rel="item-open-back-color"></div>
- </div>
-
- <label>Image:</label>
- <div class="cw-image-select-holder">
- <input id="item-open-background-input" name="item-open-background" type="hidden" value="<?php echo $settings['item-open-background']; ?>" />
- <a href="#" id="item-open-background" class="cw-image-upload" style="<?php echo 'background: url(' . (($settings['item-open-background'] != '') ? $settings['item-open-background'] : $this->url . '/images/no_image.jpg') . ');'; ?>"></a>
- <small>Click on image to change, or <a href="#" class="remove-image">remove image</a></small>
- </div>
- </div>
- </div>
- </div><!-- /ITEM OPEN STYLING OPTIONS -->
-
-
-
-
-
- </div>
- </div>
-
- <div id="postbox-container-2" class="postbox-container">
- <div id="normal-sortables" class="meta-box-sortables ui-sortable"></div>
- </div>
-
- <br class="clear"/>
-
- </div>
-
- </div>
- </form>
-
-</div>
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/content_timeline_frontend.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-<?php
-include_once($this->path . '/pages/default_settings.php');
-
-
-global $wpdb;
-if($id) {
- global $wpdb;
- $timeline = $wpdb->get_results('SELECT * FROM ' . $wpdb->base_prefix . 'ctimelines WHERE id='.$id);
- $timeline = $timeline[0];
-}
-$title = $timeline->name;
-$cats = "[";
-$catArray = array();
-$ccNumbers = array();
-$catNumber = 0;
-
-foreach(explode('||',$timeline->settings) as $val) {
- $expl = explode('::',$val);
- if(substr($expl[0], 0, 8) == 'cat-name') {
- if($cats != "[") $cats .= ",";
- $cc = get_cat_name(intval(substr($expl[0], 9)));
- $cats .= "'".$cc."'";
- array_push ($catArray,$cc);
- array_push ($ccNumbers, 0);
- $catNumber++;
- }
- else {
- $settings[$expl[0]] = $expl[1];
- }
-
-}
-$cats .= "]";
-
-
-if($settings['read-more'] == 'whole-item') {
- $read_more = "'.item'";
- $swipeOn = 'false';
-}
-else if ($settings['read-more'] == 'button') {
- $read_more = "'.read_more'";
- $swipeOn = 'true';
-}
-else {
- $read_more = "'none'";
- $swipeOn = 'true';
-}
-
-if($settings['cat-type'] == 'categories') {
- $cats = ',
- categories : '.$cats . ',
- numberOfSegments : [';
- $cats .= $settings['number-of-posts'];
- for ($i = 1; $i < $catNumber; $i++) {
- $cats .= ', '. $settings['number-of-posts'];
- }
- $cats .= ']';
-}
-else {
- $cats = '';
-}
-if ($timeline->items != '') {
- $explode = explode('||',$timeline->items);
- $open_content_height = intval($settings['item-height']) - intval($settings['item-open-image-height']) - 2*intval($settings['item-open-content-padding']) -intval($settings['item-open-image-border-width']) - 6;
-
- $itemsArray = array();
- foreach ($explode as $it) {
- $ex2 = explode('::', $it);
- $key = substr($ex2[0],0,strpos($ex2[0],'-'));
- $subkey = substr($ex2[0],strpos($ex2[0],'-')+1);
- $itemsArray[$key][$subkey] = $ex2[1];
- }
-}
-
-
-include_once($this->path . '/pages/front_html.php');
-include_once($this->path . '/pages/front_script.php');
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/content_timeline_index.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-<div class="wrap">
- <h2>Timelines
- <a href="<?php echo admin_url( "admin.php?page=contenttimeline_edit" ); ?>" class="add-new-h2">Add New</a>
- </h2>
-<?php
-
-?>
-
-
-<table class="wp-list-table widefat fixed">
- <thead>
- <tr>
- <th width="5%">ID</th>
- <th width="30%">Name</th>
- <th width="60%">Shortcode</th>
- <th width="20%">Actions</th>
- </tr>
- </thead>
-
- <tfoot>
- <tr>
- <th>ID</th>
- <th>Name</th>
- <th>Shortcode</th>
- <th>Actions</th>
- </tr>
- </tfoot>
-
- <tbody>
- <?php
- global $wpdb;
- $prefix = $wpdb->base_prefix;
-
- if($_GET['action'] == 'delete') {
- $wpdb->query('DELETE FROM '. $prefix . 'ctimelines WHERE id = '.$_GET['id']);
- }
- $timelines = $wpdb->get_results("SELECT * FROM " . $prefix . "ctimelines ORDER BY id");
- if (count($timelines) == 0) {
- echo '<tr>'.
- '<td colspan="100%">No timelines found.</td>'.
- '</tr>';
- } else {
- $tname;
- foreach ($timelines as $timeline) {
- $tname = $timeline->name;
- if(!$tname) {
- $tname = 'Timeline #' . $timeline->id . ' (untitled)';
- }
- echo '<tr>'.
- '<td>' . $timeline->id . '</td>'.
- '<td>' . '<a href="' . admin_url('admin.php?page=contenttimeline_edit&id=' . $timeline->id) . '" title="Edit">'.$tname.'</a>' . '</td>'.
- '<td> [content_timeline id="' . $timeline->id . '"]</td>' .
- '<td>' . '<a href="' . admin_url('admin.php?page=contenttimeline_edit&id=' . $timeline->id) . '" title="Edit this item">Edit</a> | '.
- '<a href="' . admin_url('admin.php?page=contenttimeline&action=delete&id=' . $timeline->id) . '" title="Delete this item" >Delete</a>'.
- '</td>'.
- '</tr>';
- }
- }
- ?>
-
- </tbody>
-</table>
-<div style="margin-top:20px;">
-
-<h2>Step by step:</h2>
-<ul>
- <li><h3>1. Click on "Add New button"</h3></li>
- <li><h3>2. Setup your timeline, and click Save</h3></li>
- <li><h3>3. Copy "shortcode" from table and use it in your post or page. (for adding timeline into .php parts of template use it like this "<?php do_shortcode([content_timeline id="X"]) ?>" where X is id of your timeline)</h3></li>
-
-</ul>
-</div>
-</div>
-<?php
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/content_timeline_preview.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,289 +0,0 @@
-<?php
-include_once($this->path . '/pages/default_settings.php');
-
-$title = $tname;
-$catArray = array();
-$ccNumbers = array();
-foreach(explode('||',$tsettings) as $val) {
- $expl = explode('::',$val);
- $settings[$expl[0]] = $expl[1];
- if(substr($expl[0], 0, 8) == 'cat-name') {
- $cc = get_cat_name(intval(substr($expl[0], 9)));
- array_push ($catArray,$cc);
- array_push ($ccNumbers, 0);
- }
-}
-?>
-<style type="text/css">
-#tl<?php echo $id; ?> .timeline_line {
- width: <?php echo $settings['line-width']; ?>px;
-}
-
-#tl<?php echo $id; ?> .t_line_view {
- width: <?php echo $settings['line-width']; ?>px;
-}
-
-#tl<?php echo $id; ?> .t_line_m {
- width: <?php echo ((int)$settings['line-width'])/2-2; ?>px;
-}
-
-#tl<?php echo $id; ?> .t_line_m.right {
- left: <?php echo ((int)$settings['line-width'])/2-1; ?>px;
- width: <?php echo ((int)$settings['line-width'])/2-1; ?>px;
-}
-
-#tl<?php echo $id; ?> .t_node_desc {
- background: <?php echo $settings['node-desc-color']?>;
-}
-
-#tl<?php echo $id; ?> .item h2,
-#content #tl<?php echo $id; ?> .item h2 {
- font-size: <?php echo $settings['item-header-font-size']?>px;
- color: <?php echo $settings['item-header-font-color']?>;
- line-height: <?php echo $settings['item-header-line-height']?>px;
-
- <?php switch($settings['item-header-font-type']) {
- case 'regular' : echo '
- font-weight:normal;
- font-style:normal;'; break;
-
- case 'thick' : echo '
- font-weight:100;
- font-style:normal;'; break;
-
- case 'bold' : echo '
- font-weight:bold;
- font-style:normal;'; break;
-
- case 'bold-italic' : echo '
- font-weight:bold;
- font-style:italic;'; break;
-
- case 'italic' : echo '
- font-weight:normal;
- font-style:italic;'; break;} ?>
-}
-
-
-#tl<?php echo $id; ?> .item {
- width: <?php echo $settings['item-width']; ?>px;
- height: <?php echo $settings['item-height']; ?>px;
- background:<?php echo $settings['item-back-color']; ?> url(<?php echo $settings['item-background']; ?>) repeat;
- font-size: <?php echo $settings['item-text-font-size']?>px;
- color: <?php echo $settings['item-text-font-color']?>;
- line-height: <?php echo $settings['item-text-line-height']?>px;
-
- <?php switch($settings['item-text-font-type']) {
- case 'regular' : echo '
- font-weight:normal;
- font-style:normal;'; break;
-
- case 'thick' : echo '
- font-weight:100;
- font-style:normal;'; break;
-
- case 'bold' : echo '
- font-weight:bold;
- font-style:normal;'; break;
-
- case 'bold-italic' : echo '
- font-weight:bold;
- font-style:italic;'; break;
-
- case 'italic' : echo '
- font-weight:normal;
- font-style:italic;'; break;} ?>
-
- <?php if($settings['shadow'] == 'show') {
- echo '
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- box-shadow: 0px 0px 6px rgba(0,0,0,0.5);';
- }
- else {
- echo '
- -moz-box-shadow: 0 0 0 #000000;
- -webkit-box-shadow: 0 0 0 #000000;
- box-shadow: 0 0 0 #000000;';
- } ?>
- }
-<?php if($settings['shadow'] == 'on-hover') {
-echo '
-#tl'. $id . ' .item:hover {
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- box-shadow: 0px 0px 6px rgba(0,0,0,0.5);;
-}';
-} ?>
-
-#tl<?php echo $id; ?> .item_open h2,
-#content #tl<?php echo $id; ?> .item_open h2 {
- font-size: <?php echo $settings['item-open-header-font-size']?>px;
- color: <?php echo $settings['item-open-header-font-color']?>;
- line-height: <?php echo $settings['item-open-header-line-height']?>px;
-
- <?php switch($settings['item-open-header-font-type']) {
- case 'regular' : echo '
- font-weight:normal;
- font-style:normal;'; break;
-
- case 'thick' : echo '
- font-weight:100;
- font-style:normal;'; break;
-
- case 'bold' : echo '
- font-weight:bold;
- font-style:normal;'; break;
-
- case 'bold-italic' : echo '
- font-weight:bold;
- font-style:italic;'; break;
-
- case 'italic' : echo '
- font-weight:normal;
- font-style:italic;'; break;} ?>
-}
-
-#tl<?php echo $id; ?> .item_open {
- width: <?php echo $settings['item-open-width']; ?>px;
- height: <?php echo $settings['item-height']; ?>px;
- background:<?php echo $settings['item-open-back-color']; ?> url(<?php echo $settings['item-open-background']; ?>) repeat;
- font-size: <?php echo $settings['item-open-text-font-size']?>px;
- color: <?php echo $settings['item-open-text-font-color']?>;
- line-height: <?php echo $settings['item-open-text-line-height']?>px;
-
- <?php switch($settings['item-open-text-font-type']) {
- case 'regular' : echo '
- font-weight:normal;
- font-style:normal;'; break;
-
- case 'thick' : echo '
- font-weight:100;
- font-style:normal;'; break;
-
- case 'bold' : echo '
- font-weight:bold;
- font-style:normal;'; break;
-
- case 'bold-italic' : echo '
- font-weight:bold;
- font-style:italic;'; break;
-
- case 'italic' : echo '
- font-weight:normal;
- font-style:italic;'; break;} ?>
-
- <?php if($settings['shadow'] == 'show' || $settings['shadow'] == 'on-hover') {
- echo '
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- box-shadow: 0px 0px 6px rgba(0,0,0,0.5);';
- }
- else {
- echo '
- -moz-box-shadow: 0 0 0 #000000;
- -webkit-box-shadow: 0 0 0 #000000;
- box-shadow: 0 0 0 #000000;';
- } ?>
- }
-
-
-
- #tl<?php echo $id; ?> .item .con_borderImage{
- border-bottom: <?php echo $settings['item-image-border-width']; ?>px solid <?php echo $settings['item-image-border-color']; ?> ;
- }
-
- #tl<?php echo $id; ?> .item_open .con_borderImage{
- border-bottom: <?php echo $settings['item-open-image-border-width']; ?>px solid <?php echo $settings['item-open-image-border-color']; ?> ;
- }
-
-#tl<?php echo $id; ?> .item_open_cwrapper {
- width: <?php echo $settings['item-open-width']; ?>px;
-}
-
-#tl<?php echo $id; ?> .item_open .t_close:hover {
- background:<?php echo $settings['button-hover-color']; ?>;
-}
-
-#tl<?php echo $id; ?> .timeline_open_content {
- padding:<?php echo $settings['item-open-content-padding']; ?>px;
-}
-
-
-
-</style>
-
-
-<?php
-if($settings['read-more'] == 'whole-item') {
- $read_more = "'.item'";
-}
-else if ($settings['read-more'] == 'button') {
- $read_more = "'.read_more'";
-}
-else {
- $read_more = "'.none'";
-}
-?>
-
-<!-- BEGIN TIMELINE -->
-<div id="tl<?php echo $id; ?>" class="timeline <?php if($settings['line-style'] == 'dark') echo 'darkLine'; if($settings['nav-style'] == 'dark') echo 'darkNav'?>">
-
-<?php
-if ($titems != '') {
- $imge_height = $settings['item-width']*125/200;
- $imge_open_height = $settings['item-open-width']*155/490;
- $explode = explode('||',$titems);
- $itemsArray = array();
- foreach ($explode as $it) {
- $ex2 = explode('::', $it);
- $key = substr($ex2[0],0,strpos($ex2[0],'-'));
- $subkey = substr($ex2[0],strpos($ex2[0],'-')+1);
- $itemsArray[$key][$subkey] = $ex2[1];
- }
- foreach ($itemsArray as $key => $arr) {
- $num = substr($key,4);
- if($settings['cat-type'] == 'categories') {
- $index = array_search($arr['categoryid'],$catArray);
- $ccNumbers[$index]++;
- $arr['dataid'] = ($ccNumbers[$index] < 10 ? '0'.$ccNumbers[$index] : $ccNumbers[$index]).'/'.$arr['categoryid'];
- }
- if($arr['start-item']) {
- $start_item = $arr['dataid'];
-
- }
- ?>
-
-
-
-
- <div class="item" data-id="<?php echo $arr['dataid']; ?>"<?php if($arr['node-name'] && $arr['node-name'] != '') echo ' data-name="'.$arr['node-name'].'"'; ?> data-description="<?php echo substr($arr['item-title'],0,30); ?>">
- <a href="#" class="image_rollover_bottom">
- <img class="con_borderImage" src="<?php echo $this->url . 'timthumb/timthumb.php?src=' . $arr['item-image'] . '&w='.$settings['item-width'].'&h='.$settings['item-image-height']; ?>" alt=""/>
- </a>
- <h2><?php echo $arr['item-title']; ?></h2>
- <span><?php echo $arr['item-content']; ?></span>
- <?php if ($settings['read-more'] == 'button') { echo '<div class="read_more" data-id="'.$arr['dataid'].'">Read more</div>'; } ?>
- </div>
- <div class="item_open" data-id="<?php echo $arr['dataid']; ?>">
-
- <?php if ($arr['item-open-image'] != '') {?>
- <img class="con_borderImage" src="<?php echo $this->url . 'timthumb/timthumb.php?src=' . $arr['item-open-image'] . '&w='.$settings['item-open-width'].'&h='.$settings['item-open-image-height']; ?>" alt=""/>
- <div class="timeline_open_content" style="height: <?php echo $open_content_height;?>px">
-
- <?php } else { ?>
- <div class="timeline_open_content <?php if($arr['desable-scroll']) echo ''; else echo 'scrollable-content'; ?>" style="height: <?php echo intval($settings['item-height']) - 2*intval($settings['item-open-content-padding']); ?>px">
- <?php } ?>
-
- <?php if ($arr['item-open-title'] != '') { ?><h2><?php echo $arr['item-open-title']; ?></h2><?php } ?>
- <?php echo $arr['item-open-content']; ?>
- </div>
- </div>
-<?php
- }
-}
-?>
-</div> <!-- END TIMELINE -->
-
-<input type="hidden" id="ctimeline-preview-start-item" value="<?php echo $start_item; ?>" />
-
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/default_settings.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-<?php
-
-$title = '';
-$settings = array(
- 'scroll-speed' => '500',
- 'easing' => 'easeOutSine',
- 'hide-years' => false,
- 'cat-type' => 'months',
- 'number-of-posts' => '30',
-
- // style
- 'line-width' => '920',
- 'item-width' => '240',
- 'item-open-width' => '490',
- 'item-margin' => '20',
- 'item-height' => '360',
- 'read-more' => 'button',
- 'close-text' => 'Close',
- 'hide-line' => false,
- 'line-style' => 'light',
- 'hide-nav' => false,
- 'nav-style' => 'light',
- 'shdow' => 'show',
- 'button-hover-color' => '#1986ac',
- 'node-desc-color' => '#1986ac',
-
- // item & open item
- 'item-back-color' => '#ffffff',
- 'item-background' => '',
- 'item-open-back-color' => '#ffffff',
- 'item-open-background' => '',
- 'item-image-height' => '150',
- 'item-image-border-width' => '5',
- 'item-image-border-color' => '#1986ac',
- 'item-open-image-height' => '150',
- 'item-open-content-padding' => '10',
- 'item-open-image-border-width' => '5',
- 'item-open-image-border-color' => '#1986ac',
-
- // item fonts
- 'item-header-line-height' => '24',
- 'item-header-font-size' => '24',
- 'item-header-font-type' => 'regular',
- 'item-header-font-color' => '#2d2d2d',
- 'item-text-line-height' => '12',
- 'item-text-font-size' => '12',
- 'item-text-font-type' => 'regular',
- 'item-text-font-color' => '#4d4d4d',
-
- // item open fonts
- 'item-open-header-line-height' => '24',
- 'item-open-header-font-size' => '24',
- 'item-open-header-font-type' => 'regular',
- 'item-open-header-font-color' => '#2d2d2d',
- 'item-open-text-line-height' => '12',
- 'item-open-text-font-size' => '12',
- 'item-open-text-font-type' => 'regular',
- 'item-open-text-font-color' => '#4d4d4d'
-
-);
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/front_html.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,320 +0,0 @@
-<?php
-$frontHtml = '
-<style type="text/css">
-#tl'. $id. ' .timeline_line,
-#content #tl'. $id. ' .timeline_line{
- width: '.$settings['line-width'].'px;
-}
-
-#tl'.$id.' .t_line_view,
-#content #tl'.$id.' .t_line_view {
- width: '.$settings['line-width'].'px;
-}
-
-#tl'.$id.' .t_line_m,
-#content #tl'.$id.' .t_line_m {
- width: '. (((int)$settings['line-width'])/2-2).'px;
-}
-
-#tl'. $id.' .t_line_m.right,
-#content #tl'. $id.' .t_line_m.right {
- left: '. (((int)$settings['line-width'])/2-1).'px;
- width: '. (((int)$settings['line-width'])/2-1).'px;
-}
-
-#tl'. $id.' .t_node_desc,
-#content #tl'. $id.' .t_node_desc {
- background: '.$settings['node-desc-color'].';
-}
-
-
-#tl'. $id.' .item h2,
-#content #tl'. $id.' .item h2 {
- font-size:'.$settings['item-header-font-size'].'px;
- color:'.$settings['item-header-font-color'].';
- line-height:'.$settings['item-header-line-height'].'px;';
-
-switch($settings['item-header-font-type']) {
- case 'regular' : $frontHtml .= '
- font-weight:normal;
- font-style:normal;'; break;
-
- case 'thick' : $frontHtml .= '
- font-weight:100;
- font-style:normal;'; break;
-
- case 'bold' : $frontHtml .= '
- font-weight:bold;
- font-style:normal;'; break;
-
- case 'bold-italic' : $frontHtml .= '
- font-weight:bold;
- font-style:italic;'; break;
-
- case 'italic' : $frontHtml .= '
- font-weight:normal;
- font-style:italic;'; break;
-}
-$frontHtml .= '
-}
-
-#tl'. $id.' .item,
-#content #tl'. $id.' .item {
- width: '. $settings['item-width'].'px;
- height: '. $settings['item-height'].'px;
- background:'. $settings['item-back-color'].' url('. $settings['item-background'].') repeat;
- font-size:'.$settings['item-text-font-size'].'px;
- color:'.$settings['item-text-font-color'].';
- line-height:'.$settings['item-text-line-height'].'px;';
-
-
-switch($settings['item-text-font-type']) {
- case 'regular' : $frontHtml .= '
- font-weight:normal;
- font-style:normal;'; break;
-
- case 'thick' : $frontHtml .= '
- font-weight:100;
- font-style:normal;'; break;
-
- case 'bold' : $frontHtml .= '
- font-weight:bold;
- font-style:normal;'; break;
-
- case 'bold-italic' : $frontHtml .= '
- font-weight:bold;
- font-style:italic;'; break;
-
- case 'italic' : $frontHtml .= '
- font-weight:normal;
- font-style:italic;'; break;
-}
-
-
-if($settings['shadow'] == 'show') {
- $frontHtml.= '
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
-
- zoom: 1;
- filter: progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=0),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=90),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=180),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=270);
-
- ';
- }
-else {
- $frontHtml.= '
- -moz-box-shadow: 0 0 0 #000000;
- -webkit-box-shadow: 0 0 0 #000000;
- box-shadow: 0 0 0 #000000;';
-}
-$frontHtml.='
-}';
-if($settings['shadow'] == 'on-hover') {
- $frontHtml.= '
-#tl'. $id . ' .item:hover,
-#content #tl'. $id . ' .item:hover {
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
-
- zoom: 1;
- filter: progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=0),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=90),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=180),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=270);
-
-
-}';
-}
-
-$frontHtml.= '
-
-
-#tl'. $id.' .item_open h2,
-#content #tl'. $id.' .item_open h2 {
- font-size:'.$settings['item-open-header-font-size'].'px;
- color:'.$settings['item-open-header-font-color'].';
- line-height:'.$settings['item-open-header-line-height'].'px;';
-
-switch($settings['item-open-header-font-type']) {
- case 'regular' : $frontHtml .= '
- font-weight:normal;
- font-style:normal;'; break;
-
- case 'thick' : $frontHtml .= '
- font-weight:100;
- font-style:normal;'; break;
-
- case 'bold' : $frontHtml .= '
- font-weight:bold;
- font-style:normal;'; break;
-
- case 'bold-italic' : $frontHtml .= '
- font-weight:bold;
- font-style:italic;'; break;
-
- case 'italic' : $frontHtml .= '
- font-weight:normal;
- font-style:italic;'; break;
-}
-$frontHtml .= '
-}
-
-#tl'. $id .' .item_open,
-#content #tl'. $id .' .item_open{
- width: '. $settings['item-open-width'].'px;
- height: '. $settings['item-height'].'px;
- background:'. $settings['item-open-back-color'].' url('. $settings['item-open-background'].') repeat;
- font-size:'.$settings['item-open-text-font-size'].'px;
- color:'.$settings['item-open-text-font-color'].';
- line-height:'.$settings['item-open-text-line-height'].'px;';
-
-switch($settings['item-open-text-font-type']) {
- case 'regular' : $frontHtml .= '
- font-weight:normal;
- font-style:normal;'; break;
-
- case 'thick' : $frontHtml .= '
- font-weight:100;
- font-style:normal;'; break;
-
- case 'bold' : $frontHtml .= '
- font-weight:bold;
- font-style:normal;'; break;
-
- case 'bold-italic' : $frontHtml .= '
- font-weight:bold;
- font-style:italic;'; break;
-
- case 'italic' : $frontHtml .= '
- font-weight:normal;
- font-style:italic;'; break;
-}
-
-
-if($settings['shadow'] == 'show' || $settings['shadow'] == 'on-hover') {
- $frontHtml.= '
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
- box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
-
- zoom: 1;
- filter: progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=0),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=90),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=180),
- progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=270);
-
- ';
- }
- else {
- $frontHtml.= '
- -moz-box-shadow: 0 0 0 #000000;
- -webkit-box-shadow: 0 0 0 #000000;
- box-shadow: 0 0 0 #000000;';
- }
-$frontHtml.= '
- }'. '
-
-#tl'. $id.' .item .con_borderImage,
-#content #tl'. $id.' .item .con_borderImage {
- border:0px;
- border-bottom: '. $settings['item-image-border-width'].'px solid '. $settings['item-image-border-color'].' ;
-}
-
-#tl'. $id.' .item_open .con_borderImage,
-#content #tl'. $id.' .item_open .con_borderImage {
- border-bottom: '. $settings['item-open-image-border-width'].'px solid '. $settings['item-open-image-border-color'].' ;
-}
-
-#tl'. $id.' .item_open_cwrapper,
-#content #tl'. $id.' .item_open .con_borderImage {
- width: '. $settings['item-open-width'].'px;
-}
-
-#tl'. $id.' .item_open .t_close:hover,
-#content #tl'. $id.' .item_open .t_close:hover{
- background:'. $settings['button-hover-color'].';
-}
-
-#tl'. $id.' .item .read_more:hover,
-#content #tl'. $id.' .item .read_more:hover{
- background:'. $settings['button-hover-color'].';
-}
-
-
-#tl'. $id.' .item .read_more,
-#content #tl'. $id.' .item .read_more,
-#tl'. $id.' .item_open .t_close,
-#content #tl'. $id.' .item_open .t_close {
-
- /* transparent background */
- filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#44000000\', endColorstr=\'#44000000\');
-}
-
-#tl'. $id.' .t_node_desc,
-#content #tl'. $id.' .t_node_desc,
- {
-
- /* IE transparent background */
- filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#cc1a86ac\', endColorstr=\'#cc1a86ac\');
-}
-
-
-
-#tl'. $id.' .timeline_open_content,
-#content #tl'. $id.' .timeline_open_content {
- padding:'. $settings['item-open-content-padding'].'px;
-}
-
-
-
-</style>
-';
-
-$frontHtml .='
-
-<!-- BEGIN TIMELINE -->
-<div id="tl'. $id.'" class="timeline'. ($settings['line-style'] == 'dark' ? ' darkLine' : ''). ($settings['nav-style'] == 'dark' ? ' darkNav' : '').'">';
-
-if($itemsArray) {
- $iteration = -1;
- foreach ($itemsArray as $key => $arr) {
- $num = substr($key,4);
- $iteration++;
-
- if($settings['cat-type'] == 'categories') {
- $index = array_search($arr['categoryid'],$catArray);
- $ccNumbers[$index]++;
- $arr['dataid'] = ($ccNumbers[$index] < 10 ? '0'.$ccNumbers[$index] : $ccNumbers[$index]).'/'.$arr['categoryid'];
- }
- if($arr['start-item']) {
- $start_item = $arr['dataid'];
-
- }
-
-$frontHtml .='
-
- <div class="item" data-id="'. $arr['dataid'].'"'.(($arr['node-name'] && $arr['node-name'] != '') ? ' data-name="'.$arr['node-name'].'"': '').' data-description="'. substr($arr['item-title'],0,30).'">
- '.(($arr['item-image'] != '') ? '<a class="timeline_rollover_bottom con_borderImage" href="'.(($arr['item-prettyPhoto'] != '')? $arr['item-prettyPhoto'] : $arr['item-image']).'" rel="prettyPhoto[timeline]">
- <img src="'. $this->url . 'timthumb/timthumb.php?src=' . $arr['item-image'] . '&w='.$settings['item-width'].'&h='.$settings['item-image-height'].'" alt=""/></a>':'').'
- <h2>'.$arr['item-title'].'</h2>
- <span>'.$arr['item-content'].'</span>
- '.(($settings['read-more'] == 'button') ? '<div class="read_more" data-id="'.$arr['dataid'].'">Read more</div>' : '').'
- </div>
- <div class="item_open" data-id="'.$arr['dataid'].'" data-access="'.admin_url( 'admin-ajax.php' ).'?action=ctimeline_frontend_get&timeline='.$id.'&id='.$key.'">
- <div class="item_open_content">
- <img class="ajaxloader" src="'. $this->url .'images/loadingAnimation.gif" alt="" />
- </div>
- </div>';
-
-
- }
-}
-$frontHtml .= '
-</div> <!-- END TIMELINE -->
-';
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/front_script.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-<?php
-$frontHtml .= '
-
-<script type="text/javascript">
-(function($){
-$(window).load(function() {
-
- $(".scrollable-content").mCustomScrollbar();
- $("a[rel^=\'prettyPhoto\']").prettyPhoto();
-
- $("#tl'.$id.'").timeline({
- itemMargin : '. $settings['item-margin'].',
- scrollSpeed : '.$settings['scroll-speed'].',
- easing : "'.$settings['easing'].'",
- openTriggerClass : '.$read_more.',
- swipeOn : '.$swipeOn.',
- startItem : "'. $start_item . '",
- yearsOn : '.(($settings['hide-years'] || $settings['cat-type'] == 'categories') ? 'false' : 'true').',
- hideTimeline : '.($settings['hide-line'] ? 'true' : 'false').',
- hideControles : '.($settings['hide-nav'] ? 'true' : 'false').
- $cats.'
- });
-
-});
-})(jQuery);
-</script>';
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/timthumb/timthumb.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1244 +0,0 @@
-<?php
-/**
- * TimThumb by Ben Gillbanks and Mark Maunder
- * Based on work done by Tim McDaniels and Darren Hoyt
- * http://code.google.com/p/timthumb/
- *
- * GNU General Public License, version 2
- * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
- *
- * Examples and documentation available on the project homepage
- * http://www.binarymoon.co.uk/projects/timthumb/
- *
- * $Rev$
- */
-
-/*
- * --- TimThumb CONFIGURATION ---
- * To edit the configs it is best to create a file called timthumb-config.php
- * and define variables you want to customize in there. It will automatically be
- * loaded by timthumb. This will save you having to re-edit these variables
- * everytime you download a new version
-*/
-define ('VERSION', '2.8.10'); // Version of this script
-//Load a config file if it exists. Otherwise, use the values below
-if( file_exists(dirname(__FILE__) . '/timthumb-config.php')) require_once('timthumb-config.php');
-if(! defined('DEBUG_ON') ) define ('DEBUG_ON', false); // Enable debug logging to web server error log (STDERR)
-if(! defined('DEBUG_LEVEL') ) define ('DEBUG_LEVEL', 1); // Debug level 1 is less noisy and 3 is the most noisy
-if(! defined('MEMORY_LIMIT') ) define ('MEMORY_LIMIT', '30M'); // Set PHP memory limit
-if(! defined('BLOCK_EXTERNAL_LEECHERS') ) define ('BLOCK_EXTERNAL_LEECHERS', false); // If the image or webshot is being loaded on an external site, display a red "No Hotlinking" gif.
-
-//Image fetching and caching
-if(! defined('ALLOW_EXTERNAL') ) define ('ALLOW_EXTERNAL', TRUE); // Allow image fetching from external websites. Will check against ALLOWED_SITES if ALLOW_ALL_EXTERNAL_SITES is false
-if(! defined('ALLOW_ALL_EXTERNAL_SITES') ) define ('ALLOW_ALL_EXTERNAL_SITES', false); // Less secure.
-if(! defined('FILE_CACHE_ENABLED') ) define ('FILE_CACHE_ENABLED', TRUE); // Should we store resized/modified images on disk to speed things up?
-if(! defined('FILE_CACHE_TIME_BETWEEN_CLEANS')) define ('FILE_CACHE_TIME_BETWEEN_CLEANS', 86400); // How often the cache is cleaned
-
-if(! defined('FILE_CACHE_MAX_FILE_AGE') ) define ('FILE_CACHE_MAX_FILE_AGE', 86400); // How old does a file have to be to be deleted from the cache
-if(! defined('FILE_CACHE_SUFFIX') ) define ('FILE_CACHE_SUFFIX', '.timthumb.txt'); // What to put at the end of all files in the cache directory so we can identify them
-if(! defined('FILE_CACHE_PREFIX') ) define ('FILE_CACHE_PREFIX', 'timthumb'); // What to put at the beg of all files in the cache directory so we can identify them
-if(! defined('FILE_CACHE_DIRECTORY') ) define ('FILE_CACHE_DIRECTORY', './cache'); // Directory where images are cached. Left blank it will use the system temporary directory (which is better for security)
-if(! defined('MAX_FILE_SIZE') ) define ('MAX_FILE_SIZE', 10485760); // 10 Megs is 10485760. This is the max internal or external file size that we'll process.
-if(! defined('CURL_TIMEOUT') ) define ('CURL_TIMEOUT', 20); // Timeout duration for Curl. This only applies if you have Curl installed and aren't using PHP's default URL fetching mechanism.
-if(! defined('WAIT_BETWEEN_FETCH_ERRORS') ) define ('WAIT_BETWEEN_FETCH_ERRORS', 3600); //Time to wait between errors fetching remote file
-
-//Browser caching
-if(! defined('BROWSER_CACHE_MAX_AGE') ) define ('BROWSER_CACHE_MAX_AGE', 864000); // Time to cache in the browser
-if(! defined('BROWSER_CACHE_DISABLE') ) define ('BROWSER_CACHE_DISABLE', false); // Use for testing if you want to disable all browser caching
-
-//Image size and defaults
-if(! defined('MAX_WIDTH') ) define ('MAX_WIDTH', 1500); // Maximum image width
-if(! defined('MAX_HEIGHT') ) define ('MAX_HEIGHT', 1500); // Maximum image height
-if(! defined('NOT_FOUND_IMAGE') ) define ('NOT_FOUND_IMAGE', ''); // Image to serve if any 404 occurs
-if(! defined('ERROR_IMAGE') ) define ('ERROR_IMAGE', ''); // Image to serve if an error occurs instead of showing error message
-if(! defined('PNG_IS_TRANSPARENT') ) define ('PNG_IS_TRANSPARENT', FALSE); //42 Define if a png image should have a transparent background color. Use False value if you want to display a custom coloured canvas_colour
-if(! defined('DEFAULT_Q') ) define ('DEFAULT_Q', 90); // Default image quality. Allows overrid in timthumb-config.php
-if(! defined('DEFAULT_ZC') ) define ('DEFAULT_ZC', 1); // Default zoom/crop setting. Allows overrid in timthumb-config.php
-if(! defined('DEFAULT_F') ) define ('DEFAULT_F', ''); // Default image filters. Allows overrid in timthumb-config.php
-if(! defined('DEFAULT_S') ) define ('DEFAULT_S', 0); // Default sharpen value. Allows overrid in timthumb-config.php
-if(! defined('DEFAULT_CC') ) define ('DEFAULT_CC', 'ffffff'); // Default canvas colour. Allows overrid in timthumb-config.php
-
-
-//Image compression is enabled if either of these point to valid paths
-
-//These are now disabled by default because the file sizes of PNGs (and GIFs) are much smaller than we used to generate.
-//They only work for PNGs. GIFs and JPEGs are not affected.
-if(! defined('OPTIPNG_ENABLED') ) define ('OPTIPNG_ENABLED', false);
-if(! defined('OPTIPNG_PATH') ) define ('OPTIPNG_PATH', '/usr/bin/optipng'); //This will run first because it gives better compression than pngcrush.
-if(! defined('PNGCRUSH_ENABLED') ) define ('PNGCRUSH_ENABLED', false);
-if(! defined('PNGCRUSH_PATH') ) define ('PNGCRUSH_PATH', '/usr/bin/pngcrush'); //This will only run if OPTIPNG_PATH is not set or is not valid
-
-/*
- -------====Website Screenshots configuration - BETA====-------
-
- If you just want image thumbnails and don't want website screenshots, you can safely leave this as is.
-
- If you would like to get website screenshots set up, you will need root access to your own server.
-
- Enable ALLOW_ALL_EXTERNAL_SITES so you can fetch any external web page. This is more secure now that we're using a non-web folder for cache.
- Enable BLOCK_EXTERNAL_LEECHERS so that your site doesn't generate thumbnails for the whole Internet.
-
- Instructions to get website screenshots enabled on Ubuntu Linux:
-
- 1. Install Xvfb with the following command: sudo apt-get install subversion libqt4-webkit libqt4-dev g++ xvfb
- 2. Go to a directory where you can download some code
- 3. Check-out the latest version of CutyCapt with the following command: svn co https://cutycapt.svn.sourceforge.net/svnroot/cutycapt
- 4. Compile CutyCapt by doing: cd cutycapt/CutyCapt
- 5. qmake
- 6. make
- 7. cp CutyCapt /usr/local/bin/
- 8. Test it by running: xvfb-run --server-args="-screen 0, 1024x768x24" CutyCapt --url="http://markmaunder.com/" --out=test.png
- 9. If you get a file called test.png with something in it, it probably worked. Now test the script by accessing it as follows:
- 10. http://yoursite.com/path/to/timthumb.php?src=http://markmaunder.com/&webshot=1
-
- Notes on performance:
- The first time a webshot loads, it will take a few seconds.
- From then on it uses the regular timthumb caching mechanism with the configurable options above
- and loading will be very fast.
-
- --ADVANCED USERS ONLY--
- If you'd like a slight speedup (about 25%) and you know Linux, you can run the following command which will keep Xvfb running in the background.
- nohup Xvfb :100 -ac -nolisten tcp -screen 0, 1024x768x24 > /dev/null 2>&1 &
- Then set WEBSHOT_XVFB_RUNNING = true below. This will save your server having to fire off a new Xvfb server and shut it down every time a new shot is generated.
- You will need to take responsibility for keeping Xvfb running in case it crashes. (It seems pretty stable)
- You will also need to take responsibility for server security if you're running Xvfb as root.
-
-
-*/
-if(! defined('WEBSHOT_ENABLED') ) define ('WEBSHOT_ENABLED', false); //Beta feature. Adding webshot=1 to your query string will cause the script to return a browser screenshot rather than try to fetch an image.
-if(! defined('WEBSHOT_CUTYCAPT') ) define ('WEBSHOT_CUTYCAPT', '/usr/local/bin/CutyCapt'); //The path to CutyCapt.
-if(! defined('WEBSHOT_XVFB') ) define ('WEBSHOT_XVFB', '/usr/bin/xvfb-run'); //The path to the Xvfb server
-if(! defined('WEBSHOT_SCREEN_X') ) define ('WEBSHOT_SCREEN_X', '1024'); //1024 works ok
-if(! defined('WEBSHOT_SCREEN_Y') ) define ('WEBSHOT_SCREEN_Y', '768'); //768 works ok
-if(! defined('WEBSHOT_COLOR_DEPTH') ) define ('WEBSHOT_COLOR_DEPTH', '24'); //I haven't tested anything besides 24
-if(! defined('WEBSHOT_IMAGE_FORMAT') ) define ('WEBSHOT_IMAGE_FORMAT', 'png'); //png is about 2.5 times the size of jpg but is a LOT better quality
-if(! defined('WEBSHOT_TIMEOUT') ) define ('WEBSHOT_TIMEOUT', '20'); //Seconds to wait for a webshot
-if(! defined('WEBSHOT_USER_AGENT') ) define ('WEBSHOT_USER_AGENT', "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.18) Gecko/20110614 Firefox/3.6.18"); //I hate to do this, but a non-browser robot user agent might not show what humans see. So we pretend to be Firefox
-if(! defined('WEBSHOT_JAVASCRIPT_ON') ) define ('WEBSHOT_JAVASCRIPT_ON', true); //Setting to false might give you a slight speedup and block ads. But it could cause other issues.
-if(! defined('WEBSHOT_JAVA_ON') ) define ('WEBSHOT_JAVA_ON', false); //Have only tested this as fase
-if(! defined('WEBSHOT_PLUGINS_ON') ) define ('WEBSHOT_PLUGINS_ON', true); //Enable flash and other plugins
-if(! defined('WEBSHOT_PROXY') ) define ('WEBSHOT_PROXY', ''); //In case you're behind a proxy server.
-if(! defined('WEBSHOT_XVFB_RUNNING') ) define ('WEBSHOT_XVFB_RUNNING', false); //ADVANCED: Enable this if you've got Xvfb running in the background.
-
-
-// If ALLOW_EXTERNAL is true and ALLOW_ALL_EXTERNAL_SITES is false, then external images will only be fetched from these domains and their subdomains.
-if(! isset($ALLOWED_SITES)){
- $ALLOWED_SITES = array (
- 'flickr.com',
- 'staticflickr.com',
- 'picasa.com',
- 'img.youtube.com',
- 'upload.wikimedia.org',
- 'photobucket.com',
- 'imgur.com',
- 'imageshack.us',
- 'tinypic.com',
- );
-}
-// -------------------------------------------------------------
-// -------------- STOP EDITING CONFIGURATION HERE --------------
-// -------------------------------------------------------------
-
-timthumb::start();
-
-class timthumb {
- protected $src = "";
- protected $is404 = false;
- protected $docRoot = "";
- protected $lastURLError = false;
- protected $localImage = "";
- protected $localImageMTime = 0;
- protected $url = false;
- protected $myHost = "";
- protected $isURL = false;
- protected $cachefile = '';
- protected $errors = array();
- protected $toDeletes = array();
- protected $cacheDirectory = '';
- protected $startTime = 0;
- protected $lastBenchTime = 0;
- protected $cropTop = false;
- protected $salt = "";
- protected $fileCacheVersion = 1; //Generally if timthumb.php is modifed (upgraded) then the salt changes and all cache files are recreated. This is a backup mechanism to force regen.
- protected $filePrependSecurityBlock = "<?php die('Execution denied!'); //"; //Designed to have three letter mime type, space, question mark and greater than symbol appended. 6 bytes total.
- protected static $curlDataWritten = 0;
- protected static $curlFH = false;
- public static function start(){
- $tim = new timthumb();
- $tim->handleErrors();
- $tim->securityChecks();
- if($tim->tryBrowserCache()){
- exit(0);
- }
- $tim->handleErrors();
- if(FILE_CACHE_ENABLED && $tim->tryServerCache()){
- exit(0);
- }
- $tim->handleErrors();
- $tim->run();
- $tim->handleErrors();
- exit(0);
- }
- public function __construct(){
- global $ALLOWED_SITES;
- $this->startTime = microtime(true);
- date_default_timezone_set('UTC');
- $this->debug(1, "Starting new request from " . $this->getIP() . " to " . $_SERVER['REQUEST_URI']);
- $this->calcDocRoot();
- //On windows systems I'm assuming fileinode returns an empty string or a number that doesn't change. Check this.
- $this->salt = @filemtime(__FILE__) . '-' . @fileinode(__FILE__);
- $this->debug(3, "Salt is: " . $this->salt);
- if(FILE_CACHE_DIRECTORY){
- if(! is_dir(FILE_CACHE_DIRECTORY)){
- @mkdir(FILE_CACHE_DIRECTORY);
- if(! is_dir(FILE_CACHE_DIRECTORY)){
- $this->error("Could not create the file cache directory.");
- return false;
- }
- }
- $this->cacheDirectory = FILE_CACHE_DIRECTORY;
- if (!touch($this->cacheDirectory . '/index.html')) {
- $this->error("Could not create the index.html file - to fix this create an empty file named index.html file in the cache directory.");
- }
- } else {
- $this->cacheDirectory = sys_get_temp_dir();
- }
- //Clean the cache before we do anything because we don't want the first visitor after FILE_CACHE_TIME_BETWEEN_CLEANS expires to get a stale image.
- $this->cleanCache();
-
- $this->myHost = preg_replace('/^www\./i', '', $_SERVER['HTTP_HOST']);
- $this->src = $this->param('src');
- $this->url = parse_url($this->src);
- $this->src = preg_replace('/https?:\/\/(?:www\.)?' . $this->myHost . '/i', '', $this->src);
-
- if(strlen($this->src) <= 3){
- $this->error("No image specified");
- return false;
- }
- if(BLOCK_EXTERNAL_LEECHERS && array_key_exists('HTTP_REFERER', $_SERVER) && (! preg_match('/^https?:\/\/(?:www\.)?' . $this->myHost . '(?:$|\/)/i', $_SERVER['HTTP_REFERER']))){
- // base64 encoded red image that says 'no hotlinkers'
- // nothing to worry about! :)
- $imgData = base64_decode("R0lGODlhUAAMAIAAAP8AAP///yH5BAAHAP8ALAAAAABQAAwAAAJpjI+py+0Po5y0OgAMjjv01YUZ\nOGplhWXfNa6JCLnWkXplrcBmW+spbwvaVr/cDyg7IoFC2KbYVC2NQ5MQ4ZNao9Ynzjl9ScNYpneb\nDULB3RP6JuPuaGfuuV4fumf8PuvqFyhYtjdoeFgAADs=");
- header('Content-Type: image/gif');
- header('Content-Length: ' . sizeof($imgData));
- header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
- header("Pragma: no-cache");
- header('Expires: ' . gmdate ('D, d M Y H:i:s', time()));
- echo $imgData;
- return false;
- exit(0);
- }
- if(preg_match('/^https?:\/\/[^\/]+/i', $this->src)){
- $this->debug(2, "Is a request for an external URL: " . $this->src);
- $this->isURL = true;
- } else {
- $this->debug(2, "Is a request for an internal file: " . $this->src);
- }
- if($this->isURL && (! ALLOW_EXTERNAL)){
- $this->error("You are not allowed to fetch images from an external website.");
- return false;
- }
- if($this->isURL){
- if(ALLOW_ALL_EXTERNAL_SITES){
- $this->debug(2, "Fetching from all external sites is enabled.");
- } else {
- $this->debug(2, "Fetching only from selected external sites is enabled.");
- $allowed = false;
- foreach($ALLOWED_SITES as $site){
- if ((strtolower(substr($this->url['host'],-strlen($site)-1)) === strtolower(".$site")) || (strtolower($this->url['host'])===strtolower($site))) {
- $this->debug(3, "URL hostname {$this->url['host']} matches $site so allowing.");
- $allowed = true;
- }
- }
- if(! $allowed){
- return $this->error("You may not fetch images from that site. To enable this site in timthumb, you can either add it to \$ALLOWED_SITES and set ALLOW_EXTERNAL=true. Or you can set ALLOW_ALL_EXTERNAL_SITES=true, depending on your security needs.");
- }
- }
- }
-
- $cachePrefix = ($this->isURL ? '_ext_' : '_int_');
- if($this->isURL){
- $arr = explode('&', $_SERVER ['QUERY_STRING']);
- asort($arr);
- $this->cachefile = $this->cacheDirectory . '/' . FILE_CACHE_PREFIX . $cachePrefix . md5($this->salt . implode('', $arr) . $this->fileCacheVersion) . FILE_CACHE_SUFFIX;
- } else {
- $this->localImage = $this->getLocalImagePath($this->src);
- if(! $this->localImage){
- $this->debug(1, "Could not find the local image: {$this->localImage}");
- $this->error("Could not find the internal image you specified.");
- $this->set404();
- return false;
- }
- $this->debug(1, "Local image path is {$this->localImage}");
- $this->localImageMTime = @filemtime($this->localImage);
- //We include the mtime of the local file in case in changes on disk.
- $this->cachefile = $this->cacheDirectory . '/' . FILE_CACHE_PREFIX . $cachePrefix . md5($this->salt . $this->localImageMTime . $_SERVER ['QUERY_STRING'] . $this->fileCacheVersion) . FILE_CACHE_SUFFIX;
- }
- $this->debug(2, "Cache file is: " . $this->cachefile);
-
- return true;
- }
- public function __destruct(){
- foreach($this->toDeletes as $del){
- $this->debug(2, "Deleting temp file $del");
- @unlink($del);
- }
- }
- public function run(){
- if($this->isURL){
- if(! ALLOW_EXTERNAL){
- $this->debug(1, "Got a request for an external image but ALLOW_EXTERNAL is disabled so returning error msg.");
- $this->error("You are not allowed to fetch images from an external website.");
- return false;
- }
- $this->debug(3, "Got request for external image. Starting serveExternalImage.");
- if($this->param('webshot')){
- if(WEBSHOT_ENABLED){
- $this->debug(3, "webshot param is set, so we're going to take a webshot.");
- $this->serveWebshot();
- } else {
- $this->error("You added the webshot parameter but webshots are disabled on this server. You need to set WEBSHOT_ENABLED == true to enable webshots.");
- }
- } else {
- $this->debug(3, "webshot is NOT set so we're going to try to fetch a regular image.");
- $this->serveExternalImage();
-
- }
- } else {
- $this->debug(3, "Got request for internal image. Starting serveInternalImage()");
- $this->serveInternalImage();
- }
- return true;
- }
- protected function handleErrors(){
- if($this->haveErrors()){
- if(NOT_FOUND_IMAGE && $this->is404()){
- if($this->serveImg(NOT_FOUND_IMAGE)){
- exit(0);
- } else {
- $this->error("Additionally, the 404 image that is configured could not be found or there was an error serving it.");
- }
- }
- if(ERROR_IMAGE){
- if($this->serveImg(ERROR_IMAGE)){
- exit(0);
- } else {
- $this->error("Additionally, the error image that is configured could not be found or there was an error serving it.");
- }
- }
- $this->serveErrors();
- exit(0);
- }
- return false;
- }
- protected function tryBrowserCache(){
- if(BROWSER_CACHE_DISABLE){ $this->debug(3, "Browser caching is disabled"); return false; }
- if(!empty($_SERVER['HTTP_IF_MODIFIED_SINCE']) ){
- $this->debug(3, "Got a conditional get");
- $mtime = false;
- //We've already checked if the real file exists in the constructor
- if(! is_file($this->cachefile)){
- //If we don't have something cached, regenerate the cached image.
- return false;
- }
- if($this->localImageMTime){
- $mtime = $this->localImageMTime;
- $this->debug(3, "Local real file's modification time is $mtime");
- } else if(is_file($this->cachefile)){ //If it's not a local request then use the mtime of the cached file to determine the 304
- $mtime = @filemtime($this->cachefile);
- $this->debug(3, "Cached file's modification time is $mtime");
- }
- if(! $mtime){ return false; }
-
- $iftime = strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']);
- $this->debug(3, "The conditional get's if-modified-since unixtime is $iftime");
- if($iftime < 1){
- $this->debug(3, "Got an invalid conditional get modified since time. Returning false.");
- return false;
- }
- if($iftime < $mtime){ //Real file or cache file has been modified since last request, so force refetch.
- $this->debug(3, "File has been modified since last fetch.");
- return false;
- } else { //Otherwise serve a 304
- $this->debug(3, "File has not been modified since last get, so serving a 304.");
- header ($_SERVER['SERVER_PROTOCOL'] . ' 304 Not Modified');
- $this->debug(1, "Returning 304 not modified");
- return true;
- }
- }
- return false;
- }
- protected function tryServerCache(){
- $this->debug(3, "Trying server cache");
- if(file_exists($this->cachefile)){
- $this->debug(3, "Cachefile {$this->cachefile} exists");
- if($this->isURL){
- $this->debug(3, "This is an external request, so checking if the cachefile is empty which means the request failed previously.");
- if(filesize($this->cachefile) < 1){
- $this->debug(3, "Found an empty cachefile indicating a failed earlier request. Checking how old it is.");
- //Fetching error occured previously
- if(time() - @filemtime($this->cachefile) > WAIT_BETWEEN_FETCH_ERRORS){
- $this->debug(3, "File is older than " . WAIT_BETWEEN_FETCH_ERRORS . " seconds. Deleting and returning false so app can try and load file.");
- @unlink($this->cachefile);
- return false; //to indicate we didn't serve from cache and app should try and load
- } else {
- $this->debug(3, "Empty cachefile is still fresh so returning message saying we had an error fetching this image from remote host.");
- $this->set404();
- $this->error("An error occured fetching image.");
- return false;
- }
- }
- } else {
- $this->debug(3, "Trying to serve cachefile {$this->cachefile}");
- }
- if($this->serveCacheFile()){
- $this->debug(3, "Succesfully served cachefile {$this->cachefile}");
- return true;
- } else {
- $this->debug(3, "Failed to serve cachefile {$this->cachefile} - Deleting it from cache.");
- //Image serving failed. We can't retry at this point, but lets remove it from cache so the next request recreates it
- @unlink($this->cachefile);
- return true;
- }
- }
- }
- protected function error($err){
- $this->debug(3, "Adding error message: $err");
- $this->errors[] = $err;
- return false;
-
- }
- protected function haveErrors(){
- if(sizeof($this->errors) > 0){
- return true;
- }
- return false;
- }
- protected function serveErrors(){
- header ($_SERVER['SERVER_PROTOCOL'] . ' 400 Bad Request');
- $html = '<ul>';
- foreach($this->errors as $err){
- $html .= '<li>' . htmlentities($err) . '</li>';
- }
- $html .= '</ul>';
- echo '<h1>A TimThumb error has occured</h1>The following error(s) occured:<br />' . $html . '<br />';
- echo '<br />Query String : ' . htmlentities ($_SERVER['QUERY_STRING']);
- echo '<br />TimThumb version : ' . VERSION . '</pre>';
- }
- protected function serveInternalImage(){
- $this->debug(3, "Local image path is $this->localImage");
- if(! $this->localImage){
- $this->sanityFail("localImage not set after verifying it earlier in the code.");
- return false;
- }
- $fileSize = filesize($this->localImage);
- if($fileSize > MAX_FILE_SIZE){
- $this->error("The file you specified is greater than the maximum allowed file size.");
- return false;
- }
- if($fileSize <= 0){
- $this->error("The file you specified is <= 0 bytes.");
- return false;
- }
- $this->debug(3, "Calling processImageAndWriteToCache() for local image.");
- if($this->processImageAndWriteToCache($this->localImage)){
- $this->serveCacheFile();
- return true;
- } else {
- return false;
- }
- }
- protected function cleanCache(){
- if (FILE_CACHE_TIME_BETWEEN_CLEANS < 0) {
- return;
- }
- $this->debug(3, "cleanCache() called");
- $lastCleanFile = $this->cacheDirectory . '/timthumb_cacheLastCleanTime.touch';
-
- //If this is a new timthumb installation we need to create the file
- if(! is_file($lastCleanFile)){
- $this->debug(1, "File tracking last clean doesn't exist. Creating $lastCleanFile");
- if (!touch($lastCleanFile)) {
- $this->error("Could not create cache clean timestamp file.");
- }
- return;
- }
- if(@filemtime($lastCleanFile) < (time() - FILE_CACHE_TIME_BETWEEN_CLEANS) ){ //Cache was last cleaned more than 1 day ago
- $this->debug(1, "Cache was last cleaned more than " . FILE_CACHE_TIME_BETWEEN_CLEANS . " seconds ago. Cleaning now.");
- // Very slight race condition here, but worst case we'll have 2 or 3 servers cleaning the cache simultaneously once a day.
- if (!touch($lastCleanFile)) {
- $this->error("Could not create cache clean timestamp file.");
- }
- $files = glob($this->cacheDirectory . '/*' . FILE_CACHE_SUFFIX);
- if ($files) {
- $timeAgo = time() - FILE_CACHE_MAX_FILE_AGE;
- foreach($files as $file){
- if(@filemtime($file) < $timeAgo){
- $this->debug(3, "Deleting cache file $file older than max age: " . FILE_CACHE_MAX_FILE_AGE . " seconds");
- @unlink($file);
- }
- }
- }
- return true;
- } else {
- $this->debug(3, "Cache was cleaned less than " . FILE_CACHE_TIME_BETWEEN_CLEANS . " seconds ago so no cleaning needed.");
- }
- return false;
- }
- protected function processImageAndWriteToCache($localImage){
- $sData = getimagesize($localImage);
- $origType = $sData[2];
- $mimeType = $sData['mime'];
-
- $this->debug(3, "Mime type of image is $mimeType");
- if(! preg_match('/^image\/(?:gif|jpg|jpeg|png)$/i', $mimeType)){
- return $this->error("The image being resized is not a valid gif, jpg or png.");
- }
-
- if (!function_exists ('imagecreatetruecolor')) {
- return $this->error('GD Library Error: imagecreatetruecolor does not exist - please contact your webhost and ask them to install the GD library');
- }
-
- if (function_exists ('imagefilter') && defined ('IMG_FILTER_NEGATE')) {
- $imageFilters = array (
- 1 => array (IMG_FILTER_NEGATE, 0),
- 2 => array (IMG_FILTER_GRAYSCALE, 0),
- 3 => array (IMG_FILTER_BRIGHTNESS, 1),
- 4 => array (IMG_FILTER_CONTRAST, 1),
- 5 => array (IMG_FILTER_COLORIZE, 4),
- 6 => array (IMG_FILTER_EDGEDETECT, 0),
- 7 => array (IMG_FILTER_EMBOSS, 0),
- 8 => array (IMG_FILTER_GAUSSIAN_BLUR, 0),
- 9 => array (IMG_FILTER_SELECTIVE_BLUR, 0),
- 10 => array (IMG_FILTER_MEAN_REMOVAL, 0),
- 11 => array (IMG_FILTER_SMOOTH, 0),
- );
- }
-
- // get standard input properties
- $new_width = (int) abs ($this->param('w', 0));
- $new_height = (int) abs ($this->param('h', 0));
- $zoom_crop = (int) $this->param('zc', DEFAULT_ZC);
- $quality = (int) abs ($this->param('q', DEFAULT_Q));
- $align = $this->cropTop ? 't' : $this->param('a', 'c');
- $filters = $this->param('f', DEFAULT_F);
- $sharpen = (bool) $this->param('s', DEFAULT_S);
- $canvas_color = $this->param('cc', DEFAULT_CC);
- $canvas_trans = (bool) $this->param('ct', '1');
-
- // set default width and height if neither are set already
- if ($new_width == 0 && $new_height == 0) {
- $new_width = 100;
- $new_height = 100;
- }
-
- // ensure size limits can not be abused
- $new_width = min ($new_width, MAX_WIDTH);
- $new_height = min ($new_height, MAX_HEIGHT);
-
- // set memory limit to be able to have enough space to resize larger images
- $this->setMemoryLimit();
-
- // open the existing image
- $image = $this->openImage ($mimeType, $localImage);
- if ($image === false) {
- return $this->error('Unable to open image.');
- }
-
- // Get original width and height
- $width = imagesx ($image);
- $height = imagesy ($image);
- $origin_x = 0;
- $origin_y = 0;
-
- // generate new w/h if not provided
- if ($new_width && !$new_height) {
- $new_height = floor ($height * ($new_width / $width));
- } else if ($new_height && !$new_width) {
- $new_width = floor ($width * ($new_height / $height));
- }
-
- // scale down and add borders
- if ($zoom_crop == 3) {
-
- $final_height = $height * ($new_width / $width);
-
- if ($final_height > $new_height) {
- $new_width = $width * ($new_height / $height);
- } else {
- $new_height = $final_height;
- }
-
- }
-
- // create a new true color image
- $canvas = imagecreatetruecolor ($new_width, $new_height);
- imagealphablending ($canvas, false);
-
- if (strlen($canvas_color) == 3) { //if is 3-char notation, edit string into 6-char notation
- $canvas_color = str_repeat(substr($canvas_color, 0, 1), 2) . str_repeat(substr($canvas_color, 1, 1), 2) . str_repeat(substr($canvas_color, 2, 1), 2);
- } else if (strlen($canvas_color) != 6) {
- $canvas_color = DEFAULT_CC; // on error return default canvas color
- }
-
- $canvas_color_R = hexdec (substr ($canvas_color, 0, 2));
- $canvas_color_G = hexdec (substr ($canvas_color, 2, 2));
- $canvas_color_B = hexdec (substr ($canvas_color, 4, 2));
-
- // Create a new transparent color for image
- // If is a png and PNG_IS_TRANSPARENT is false then remove the alpha transparency
- // (and if is set a canvas color show it in the background)
- if(preg_match('/^image\/png$/i', $mimeType) && !PNG_IS_TRANSPARENT && $canvas_trans){
- $color = imagecolorallocatealpha ($canvas, $canvas_color_R, $canvas_color_G, $canvas_color_B, 127);
- }else{
- $color = imagecolorallocatealpha ($canvas, $canvas_color_R, $canvas_color_G, $canvas_color_B, 0);
- }
-
-
- // Completely fill the background of the new image with allocated color.
- imagefill ($canvas, 0, 0, $color);
-
- // scale down and add borders
- if ($zoom_crop == 2) {
-
- $final_height = $height * ($new_width / $width);
-
- if ($final_height > $new_height) {
-
- $origin_x = $new_width / 2;
- $new_width = $width * ($new_height / $height);
- $origin_x = round ($origin_x - ($new_width / 2));
-
- } else {
-
- $origin_y = $new_height / 2;
- $new_height = $final_height;
- $origin_y = round ($origin_y - ($new_height / 2));
-
- }
-
- }
-
- // Restore transparency blending
- imagesavealpha ($canvas, true);
-
- if ($zoom_crop > 0) {
-
- $src_x = $src_y = 0;
- $src_w = $width;
- $src_h = $height;
-
- $cmp_x = $width / $new_width;
- $cmp_y = $height / $new_height;
-
- // calculate x or y coordinate and width or height of source
- if ($cmp_x > $cmp_y) {
-
- $src_w = round ($width / $cmp_x * $cmp_y);
- $src_x = round (($width - ($width / $cmp_x * $cmp_y)) / 2);
-
- } else if ($cmp_y > $cmp_x) {
-
- $src_h = round ($height / $cmp_y * $cmp_x);
- $src_y = round (($height - ($height / $cmp_y * $cmp_x)) / 2);
-
- }
-
- // positional cropping!
- if ($align) {
- if (strpos ($align, 't') !== false) {
- $src_y = 0;
- }
- if (strpos ($align, 'b') !== false) {
- $src_y = $height - $src_h;
- }
- if (strpos ($align, 'l') !== false) {
- $src_x = 0;
- }
- if (strpos ($align, 'r') !== false) {
- $src_x = $width - $src_w;
- }
- }
-
- imagecopyresampled ($canvas, $image, $origin_x, $origin_y, $src_x, $src_y, $new_width, $new_height, $src_w, $src_h);
-
- } else {
-
- // copy and resize part of an image with resampling
- imagecopyresampled ($canvas, $image, 0, 0, 0, 0, $new_width, $new_height, $width, $height);
-
- }
-
- if ($filters != '' && function_exists ('imagefilter') && defined ('IMG_FILTER_NEGATE')) {
- // apply filters to image
- $filterList = explode ('|', $filters);
- foreach ($filterList as $fl) {
-
- $filterSettings = explode (',', $fl);
- if (isset ($imageFilters[$filterSettings[0]])) {
-
- for ($i = 0; $i < 4; $i ++) {
- if (!isset ($filterSettings[$i])) {
- $filterSettings[$i] = null;
- } else {
- $filterSettings[$i] = (int) $filterSettings[$i];
- }
- }
-
- switch ($imageFilters[$filterSettings[0]][1]) {
-
- case 1:
-
- imagefilter ($canvas, $imageFilters[$filterSettings[0]][0], $filterSettings[1]);
- break;
-
- case 2:
-
- imagefilter ($canvas, $imageFilters[$filterSettings[0]][0], $filterSettings[1], $filterSettings[2]);
- break;
-
- case 3:
-
- imagefilter ($canvas, $imageFilters[$filterSettings[0]][0], $filterSettings[1], $filterSettings[2], $filterSettings[3]);
- break;
-
- case 4:
-
- imagefilter ($canvas, $imageFilters[$filterSettings[0]][0], $filterSettings[1], $filterSettings[2], $filterSettings[3], $filterSettings[4]);
- break;
-
- default:
-
- imagefilter ($canvas, $imageFilters[$filterSettings[0]][0]);
- break;
-
- }
- }
- }
- }
-
- // sharpen image
- if ($sharpen && function_exists ('imageconvolution')) {
-
- $sharpenMatrix = array (
- array (-1,-1,-1),
- array (-1,16,-1),
- array (-1,-1,-1),
- );
-
- $divisor = 8;
- $offset = 0;
-
- imageconvolution ($canvas, $sharpenMatrix, $divisor, $offset);
-
- }
- //Straight from Wordpress core code. Reduces filesize by up to 70% for PNG's
- if ( (IMAGETYPE_PNG == $origType || IMAGETYPE_GIF == $origType) && function_exists('imageistruecolor') && !imageistruecolor( $image ) && imagecolortransparent( $image ) > 0 ){
- imagetruecolortopalette( $canvas, false, imagecolorstotal( $image ) );
- }
-
- $imgType = "";
- $tempfile = tempnam($this->cacheDirectory, 'timthumb_tmpimg_');
- if(preg_match('/^image\/(?:jpg|jpeg)$/i', $mimeType)){
- $imgType = 'jpg';
- imagejpeg($canvas, $tempfile, $quality);
- } else if(preg_match('/^image\/png$/i', $mimeType)){
- $imgType = 'png';
- imagepng($canvas, $tempfile, floor($quality * 0.09));
- } else if(preg_match('/^image\/gif$/i', $mimeType)){
- $imgType = 'gif';
- imagegif($canvas, $tempfile);
- } else {
- return $this->sanityFail("Could not match mime type after verifying it previously.");
- }
-
- if($imgType == 'png' && OPTIPNG_ENABLED && OPTIPNG_PATH && @is_file(OPTIPNG_PATH)){
- $exec = OPTIPNG_PATH;
- $this->debug(3, "optipng'ing $tempfile");
- $presize = filesize($tempfile);
- $out = `$exec -o1 $tempfile`; //you can use up to -o7 but it really slows things down
- clearstatcache();
- $aftersize = filesize($tempfile);
- $sizeDrop = $presize - $aftersize;
- if($sizeDrop > 0){
- $this->debug(1, "optipng reduced size by $sizeDrop");
- } else if($sizeDrop < 0){
- $this->debug(1, "optipng increased size! Difference was: $sizeDrop");
- } else {
- $this->debug(1, "optipng did not change image size.");
- }
- } else if($imgType == 'png' && PNGCRUSH_ENABLED && PNGCRUSH_PATH && @is_file(PNGCRUSH_PATH)){
- $exec = PNGCRUSH_PATH;
- $tempfile2 = tempnam($this->cacheDirectory, 'timthumb_tmpimg_');
- $this->debug(3, "pngcrush'ing $tempfile to $tempfile2");
- $out = `$exec $tempfile $tempfile2`;
- $todel = "";
- if(is_file($tempfile2)){
- $sizeDrop = filesize($tempfile) - filesize($tempfile2);
- if($sizeDrop > 0){
- $this->debug(1, "pngcrush was succesful and gave a $sizeDrop byte size reduction");
- $todel = $tempfile;
- $tempfile = $tempfile2;
- } else {
- $this->debug(1, "pngcrush did not reduce file size. Difference was $sizeDrop bytes.");
- $todel = $tempfile2;
- }
- } else {
- $this->debug(3, "pngcrush failed with output: $out");
- $todel = $tempfile2;
- }
- @unlink($todel);
- }
-
- $this->debug(3, "Rewriting image with security header.");
- $tempfile4 = tempnam($this->cacheDirectory, 'timthumb_tmpimg_');
- $context = stream_context_create ();
- $fp = fopen($tempfile,'r',0,$context);
- file_put_contents($tempfile4, $this->filePrependSecurityBlock . $imgType . ' ?' . '>'); //6 extra bytes, first 3 being image type
- file_put_contents($tempfile4, $fp, FILE_APPEND);
- fclose($fp);
- @unlink($tempfile);
- $this->debug(3, "Locking and replacing cache file.");
- $lockFile = $this->cachefile . '.lock';
- $fh = fopen($lockFile, 'w');
- if(! $fh){
- return $this->error("Could not open the lockfile for writing an image.");
- }
- if(flock($fh, LOCK_EX)){
- @unlink($this->cachefile); //rename generally overwrites, but doing this in case of platform specific quirks. File might not exist yet.
- rename($tempfile4, $this->cachefile);
- flock($fh, LOCK_UN);
- fclose($fh);
- @unlink($lockFile);
- } else {
- fclose($fh);
- @unlink($lockFile);
- @unlink($tempfile4);
- return $this->error("Could not get a lock for writing.");
- }
- $this->debug(3, "Done image replace with security header. Cleaning up and running cleanCache()");
- imagedestroy($canvas);
- imagedestroy($image);
- return true;
- }
- protected function calcDocRoot(){
- $docRoot = @$_SERVER['DOCUMENT_ROOT'];
- if (defined('LOCAL_FILE_BASE_DIRECTORY')) {
- $docRoot = LOCAL_FILE_BASE_DIRECTORY;
- }
- if(!isset($docRoot)){
- $this->debug(3, "DOCUMENT_ROOT is not set. This is probably windows. Starting search 1.");
- if(isset($_SERVER['SCRIPT_FILENAME'])){
- $docRoot = str_replace( '\\', '/', substr($_SERVER['SCRIPT_FILENAME'], 0, 0-strlen($_SERVER['PHP_SELF'])));
- $this->debug(3, "Generated docRoot using SCRIPT_FILENAME and PHP_SELF as: $docRoot");
- }
- }
- if(!isset($docRoot)){
- $this->debug(3, "DOCUMENT_ROOT still is not set. Starting search 2.");
- if(isset($_SERVER['PATH_TRANSLATED'])){
- $docRoot = str_replace( '\\', '/', substr(str_replace('\\\\', '\\', $_SERVER['PATH_TRANSLATED']), 0, 0-strlen($_SERVER['PHP_SELF'])));
- $this->debug(3, "Generated docRoot using PATH_TRANSLATED and PHP_SELF as: $docRoot");
- }
- }
- if($docRoot && $_SERVER['DOCUMENT_ROOT'] != '/'){ $docRoot = preg_replace('/\/$/', '', $docRoot); }
- $this->debug(3, "Doc root is: " . $docRoot);
- $this->docRoot = $docRoot;
-
- }
- protected function getLocalImagePath($src){
- $src = ltrim($src, '/'); //strip off the leading '/'
- if(! $this->docRoot){
- $this->debug(3, "We have no document root set, so as a last resort, lets check if the image is in the current dir and serve that.");
- //We don't support serving images outside the current dir if we don't have a doc root for security reasons.
- $file = preg_replace('/^.*?([^\/\\\\]+)$/', '$1', $src); //strip off any path info and just leave the filename.
- if(is_file($file)){
- return $this->realpath($file);
- }
- return $this->error("Could not find your website document root and the file specified doesn't exist in timthumbs directory. We don't support serving files outside timthumb's directory without a document root for security reasons.");
- } //Do not go past this point without docRoot set
-
- //Try src under docRoot
- if(file_exists ($this->docRoot . '/' . $src)) {
- $this->debug(3, "Found file as " . $this->docRoot . '/' . $src);
- $real = $this->realpath($this->docRoot . '/' . $src);
- if(stripos($real, $this->docRoot) === 0){
- return $real;
- } else {
- $this->debug(1, "Security block: The file specified occurs outside the document root.");
- //allow search to continue
- }
- }
- //Check absolute paths and then verify the real path is under doc root
- $absolute = $this->realpath('/' . $src);
- if($absolute && file_exists($absolute)){ //realpath does file_exists check, so can probably skip the exists check here
- $this->debug(3, "Found absolute path: $absolute");
- if(! $this->docRoot){ $this->sanityFail("docRoot not set when checking absolute path."); }
- if(stripos($absolute, $this->docRoot) === 0){
- return $absolute;
- } else {
- $this->debug(1, "Security block: The file specified occurs outside the document root.");
- //and continue search
- }
- }
-
- $base = $this->docRoot;
-
- // account for Windows directory structure
- if (strstr($_SERVER['SCRIPT_FILENAME'],':')) {
- $sub_directories = explode('\\', str_replace($this->docRoot, '', $_SERVER['SCRIPT_FILENAME']));
- } else {
- $sub_directories = explode('/', str_replace($this->docRoot, '', $_SERVER['SCRIPT_FILENAME']));
- }
-
- foreach ($sub_directories as $sub){
- $base .= $sub . '/';
- $this->debug(3, "Trying file as: " . $base . $src);
- if(file_exists($base . $src)){
- $this->debug(3, "Found file as: " . $base . $src);
- $real = $this->realpath($base . $src);
- if(stripos($real, $this->realpath($this->docRoot)) === 0){
- return $real;
- } else {
- $this->debug(1, "Security block: The file specified occurs outside the document root.");
- //And continue search
- }
- }
- }
- return false;
- }
- protected function realpath($path){
- //try to remove any relative paths
- $remove_relatives = '/\w+\/\.\.\//';
- while(preg_match($remove_relatives,$path)){
- $path = preg_replace($remove_relatives, '', $path);
- }
- //if any remain use PHP realpath to strip them out, otherwise return $path
- //if using realpath, any symlinks will also be resolved
- return preg_match('#^\.\./|/\.\./#', $path) ? realpath($path) : $path;
- }
- protected function toDelete($name){
- $this->debug(3, "Scheduling file $name to delete on destruct.");
- $this->toDeletes[] = $name;
- }
- protected function serveWebshot(){
- $this->debug(3, "Starting serveWebshot");
- $instr = "Please follow the instructions at http://code.google.com/p/timthumb/ to set your server up for taking website screenshots.";
- if(! is_file(WEBSHOT_CUTYCAPT)){
- return $this->error("CutyCapt is not installed. $instr");
- }
- if(! is_file(WEBSHOT_XVFB)){
- return $this->Error("Xvfb is not installed. $instr");
- }
- $cuty = WEBSHOT_CUTYCAPT;
- $xv = WEBSHOT_XVFB;
- $screenX = WEBSHOT_SCREEN_X;
- $screenY = WEBSHOT_SCREEN_Y;
- $colDepth = WEBSHOT_COLOR_DEPTH;
- $format = WEBSHOT_IMAGE_FORMAT;
- $timeout = WEBSHOT_TIMEOUT * 1000;
- $ua = WEBSHOT_USER_AGENT;
- $jsOn = WEBSHOT_JAVASCRIPT_ON ? 'on' : 'off';
- $javaOn = WEBSHOT_JAVA_ON ? 'on' : 'off';
- $pluginsOn = WEBSHOT_PLUGINS_ON ? 'on' : 'off';
- $proxy = WEBSHOT_PROXY ? ' --http-proxy=' . WEBSHOT_PROXY : '';
- $tempfile = tempnam($this->cacheDirectory, 'timthumb_webshot');
- $url = $this->src;
- if(! preg_match('/^https?:\/\/[a-zA-Z0-9\.\-]+/i', $url)){
- return $this->error("Invalid URL supplied.");
- }
- $url = preg_replace('/[^A-Za-z0-9\-\.\_\~:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=]+/', '', $url); //RFC 3986
- //Very important we don't allow injection of shell commands here. URL is between quotes and we are only allowing through chars allowed by a the RFC
- // which AFAIKT can't be used for shell injection.
- if(WEBSHOT_XVFB_RUNNING){
- putenv('DISPLAY=:100.0');
- $command = "$cuty $proxy --max-wait=$timeout --user-agent=\"$ua\" --javascript=$jsOn --java=$javaOn --plugins=$pluginsOn --js-can-open-windows=off --url=\"$url\" --out-format=$format --out=$tempfile";
- } else {
- $command = "$xv --server-args=\"-screen 0, {$screenX}x{$screenY}x{$colDepth}\" $cuty $proxy --max-wait=$timeout --user-agent=\"$ua\" --javascript=$jsOn --java=$javaOn --plugins=$pluginsOn --js-can-open-windows=off --url=\"$url\" --out-format=$format --out=$tempfile";
- }
- $this->debug(3, "Executing command: $command");
- $out = `$command`;
- $this->debug(3, "Received output: $out");
- if(! is_file($tempfile)){
- $this->set404();
- return $this->error("The command to create a thumbnail failed.");
- }
- $this->cropTop = true;
- if($this->processImageAndWriteToCache($tempfile)){
- $this->debug(3, "Image processed succesfully. Serving from cache");
- return $this->serveCacheFile();
- } else {
- return false;
- }
- }
- protected function serveExternalImage(){
- if(! preg_match('/^https?:\/\/[a-zA-Z0-9\-\.]+/i', $this->src)){
- $this->error("Invalid URL supplied.");
- return false;
- }
- $tempfile = tempnam($this->cacheDirectory, 'timthumb');
- $this->debug(3, "Fetching external image into temporary file $tempfile");
- $this->toDelete($tempfile);
- #fetch file here
- if(! $this->getURL($this->src, $tempfile)){
- @unlink($this->cachefile);
- touch($this->cachefile);
- $this->debug(3, "Error fetching URL: " . $this->lastURLError);
- $this->error("Error reading the URL you specified from remote host." . $this->lastURLError);
- return false;
- }
-
- $mimeType = $this->getMimeType($tempfile);
- if(! preg_match("/^image\/(?:jpg|jpeg|gif|png)$/i", $mimeType)){
- $this->debug(3, "Remote file has invalid mime type: $mimeType");
- @unlink($this->cachefile);
- touch($this->cachefile);
- $this->error("The remote file is not a valid image.");
- return false;
- }
- if($this->processImageAndWriteToCache($tempfile)){
- $this->debug(3, "Image processed succesfully. Serving from cache");
- return $this->serveCacheFile();
- } else {
- return false;
- }
- }
- public static function curlWrite($h, $d){
- fwrite(self::$curlFH, $d);
- self::$curlDataWritten += strlen($d);
- if(self::$curlDataWritten > MAX_FILE_SIZE){
- return 0;
- } else {
- return strlen($d);
- }
- }
- protected function serveCacheFile(){
- $this->debug(3, "Serving {$this->cachefile}");
- if(! is_file($this->cachefile)){
- $this->error("serveCacheFile called in timthumb but we couldn't find the cached file.");
- return false;
- }
- $fp = fopen($this->cachefile, 'rb');
- if(! $fp){ return $this->error("Could not open cachefile."); }
- fseek($fp, strlen($this->filePrependSecurityBlock), SEEK_SET);
- $imgType = fread($fp, 3);
- fseek($fp, 3, SEEK_CUR);
- if(ftell($fp) != strlen($this->filePrependSecurityBlock) + 6){
- @unlink($this->cachefile);
- return $this->error("The cached image file seems to be corrupt.");
- }
- $imageDataSize = filesize($this->cachefile) - (strlen($this->filePrependSecurityBlock) + 6);
- $this->sendImageHeaders($imgType, $imageDataSize);
- $bytesSent = @fpassthru($fp);
- fclose($fp);
- if($bytesSent > 0){
- return true;
- }
- $content = file_get_contents ($this->cachefile);
- if ($content != FALSE) {
- $content = substr($content, strlen($this->filePrependSecurityBlock) + 6);
- echo $content;
- $this->debug(3, "Served using file_get_contents and echo");
- return true;
- } else {
- $this->error("Cache file could not be loaded.");
- return false;
- }
- }
- protected function sendImageHeaders($mimeType, $dataSize){
- if(! preg_match('/^image\//i', $mimeType)){
- $mimeType = 'image/' . $mimeType;
- }
- if(strtolower($mimeType) == 'image/jpg'){
- $mimeType = 'image/jpeg';
- }
- $gmdate_expires = gmdate ('D, d M Y H:i:s', strtotime ('now +10 days')) . ' GMT';
- $gmdate_modified = gmdate ('D, d M Y H:i:s') . ' GMT';
- // send content headers then display image
- header ('Content-Type: ' . $mimeType);
- header ('Accept-Ranges: none'); //Changed this because we don't accept range requests
- header ('Last-Modified: ' . $gmdate_modified);
- header ('Content-Length: ' . $dataSize);
- if(BROWSER_CACHE_DISABLE){
- $this->debug(3, "Browser cache is disabled so setting non-caching headers.");
- header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
- header("Pragma: no-cache");
- header('Expires: ' . gmdate ('D, d M Y H:i:s', time()));
- } else {
- $this->debug(3, "Browser caching is enabled");
- header('Cache-Control: max-age=' . BROWSER_CACHE_MAX_AGE . ', must-revalidate');
- header('Expires: ' . $gmdate_expires);
- }
- return true;
- }
- protected function securityChecks(){
- }
- protected function param($property, $default = ''){
- if (isset ($_GET[$property])) {
- return $_GET[$property];
- } else {
- return $default;
- }
- }
- protected function openImage($mimeType, $src){
- switch ($mimeType) {
- case 'image/jpeg':
- $image = imagecreatefromjpeg ($src);
- break;
-
- case 'image/png':
- $image = imagecreatefrompng ($src);
- break;
-
- case 'image/gif':
- $image = imagecreatefromgif ($src);
- break;
-
- default:
- $this->error("Unrecognised mimeType");
- }
-
- return $image;
- }
- protected function getIP(){
- $rem = @$_SERVER["REMOTE_ADDR"];
- $ff = @$_SERVER["HTTP_X_FORWARDED_FOR"];
- $ci = @$_SERVER["HTTP_CLIENT_IP"];
- if(preg_match('/^(?:192\.168|172\.16|10\.|127\.)/', $rem)){
- if($ff){ return $ff; }
- if($ci){ return $ci; }
- return $rem;
- } else {
- if($rem){ return $rem; }
- if($ff){ return $ff; }
- if($ci){ return $ci; }
- return "UNKNOWN";
- }
- }
- protected function debug($level, $msg){
- if(DEBUG_ON && $level <= DEBUG_LEVEL){
- $execTime = sprintf('%.6f', microtime(true) - $this->startTime);
- $tick = sprintf('%.6f', 0);
- if($this->lastBenchTime > 0){
- $tick = sprintf('%.6f', microtime(true) - $this->lastBenchTime);
- }
- $this->lastBenchTime = microtime(true);
- error_log("TimThumb Debug line " . __LINE__ . " [$execTime : $tick]: $msg");
- }
- }
- protected function sanityFail($msg){
- return $this->error("There is a problem in the timthumb code. Message: Please report this error at <a href='http://code.google.com/p/timthumb/issues/list'>timthumb's bug tracking page</a>: $msg");
- }
- protected function getMimeType($file){
- $info = getimagesize($file);
- if(is_array($info) && $info['mime']){
- return $info['mime'];
- }
- return '';
- }
- protected function setMemoryLimit(){
- $inimem = ini_get('memory_limit');
- $inibytes = timthumb::returnBytes($inimem);
- $ourbytes = timthumb::returnBytes(MEMORY_LIMIT);
- if($inibytes < $ourbytes){
- ini_set ('memory_limit', MEMORY_LIMIT);
- $this->debug(3, "Increased memory from $inimem to " . MEMORY_LIMIT);
- } else {
- $this->debug(3, "Not adjusting memory size because the current setting is " . $inimem . " and our size of " . MEMORY_LIMIT . " is smaller.");
- }
- }
- protected static function returnBytes($size_str){
- switch (substr ($size_str, -1))
- {
- case 'M': case 'm': return (int)$size_str * 1048576;
- case 'K': case 'k': return (int)$size_str * 1024;
- case 'G': case 'g': return (int)$size_str * 1073741824;
- default: return $size_str;
- }
- }
- protected function getURL($url, $tempfile){
- $this->lastURLError = false;
- $url = preg_replace('/ /', '%20', $url);
- if(function_exists('curl_init')){
- $this->debug(3, "Curl is installed so using it to fetch URL.");
- self::$curlFH = fopen($tempfile, 'w');
- if(! self::$curlFH){
- $this->error("Could not open $tempfile for writing.");
- return false;
- }
- self::$curlDataWritten = 0;
- $this->debug(3, "Fetching url with curl: $url");
- $curl = curl_init($url);
- curl_setopt ($curl, CURLOPT_TIMEOUT, CURL_TIMEOUT);
- curl_setopt ($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30");
- curl_setopt ($curl, CURLOPT_RETURNTRANSFER, TRUE);
- curl_setopt ($curl, CURLOPT_HEADER, 0);
- curl_setopt ($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt ($curl, CURLOPT_WRITEFUNCTION, 'timthumb::curlWrite');
- @curl_setopt ($curl, CURLOPT_FOLLOWLOCATION, true);
- @curl_setopt ($curl, CURLOPT_MAXREDIRS, 10);
-
- $curlResult = curl_exec($curl);
- fclose(self::$curlFH);
- $httpStatus = curl_getinfo($curl, CURLINFO_HTTP_CODE);
- if($httpStatus == 404){
- $this->set404();
- }
- if($curlResult){
- curl_close($curl);
- return true;
- } else {
- $this->lastURLError = curl_error($curl);
- curl_close($curl);
- return false;
- }
- } else {
- $img = @file_get_contents ($url);
- if($img === false){
- $err = error_get_last();
- if(is_array($err) && $err['message']){
- $this->lastURLError = $err['message'];
- } else {
- $this->lastURLError = $err;
- }
- if(preg_match('/404/', $this->lastURLError)){
- $this->set404();
- }
-
- return false;
- }
- if(! file_put_contents($tempfile, $img)){
- $this->error("Could not write to $tempfile.");
- return false;
- }
- return true;
- }
-
- }
- protected function serveImg($file){
- $s = getimagesize($file);
- if(! ($s && $s['mime'])){
- return false;
- }
- header ('Content-Type: ' . $s['mime']);
- header ('Content-Length: ' . filesize($file) );
- header ('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
- header ("Pragma: no-cache");
- $bytes = @readfile($file);
- if($bytes > 0){
- return true;
- }
- $content = @file_get_contents ($file);
- if ($content != FALSE){
- echo $content;
- return true;
- }
- return false;
-
- }
- protected function set404(){
- $this->is404 = true;
- }
- protected function is404(){
- return $this->is404;
- }
-}
--- a/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/uninstall.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?php
-if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') )
- exit();
-
-global $wpdb;
-$sliders_table = $wpdb->base_prefix . 'ctimelines';
-$wpdb->query( "DROP TABLE $sliders_table" );
-
-?>
\ No newline at end of file
Binary file wp/wp-content/plugins/page-columnist/img/log.png has changed
Binary file wp/wp-content/plugins/page-columnist/img/move-col.png has changed
Binary file wp/wp-content/plugins/page-columnist/img/spin-button.png has changed
Binary file wp/wp-content/plugins/page-columnist/img/spin-down.png has changed
Binary file wp/wp-content/plugins/page-columnist/img/spin-up.png has changed
Binary file wp/wp-content/plugins/page-columnist/img/vcalendar.png has changed
--- a/wp/wp-content/plugins/page-columnist/jquery.spin.js Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/**
- * jquery.spin-button
- * (c) 2008 Semooh (http://semooh.jp/)
- *
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- **/
-(function($){
- $.fn.extend({
- spin: function(opt){
- return this.each(function(){
- opt = $.extend({
- imageBasePath: '/img/spin/',
- spinBtnImage: 'spin-button.png?v='+Math.random(), //IE fix
- spinUpImage: 'spin-up.png?v='+Math.random(), //IE fix
- spinDownImage: 'spin-down.png?v='+Math.random(), //IE fix
- interval: 1,
- max: null,
- min: null,
- timeInterval: 300,
- timeBlink: 100
- }, opt || {});
-
- var txt = $(this);
-
- var spinBtnImage = opt.imageBasePath+opt.spinBtnImage;
- var btnSpin = new Image();
- $(btnSpin).load(function(){ btn.css({width: btnSpin.width+'px'}); }); //IE fix
- btnSpin.src = spinBtnImage;
-
- var spinUpImage = opt.imageBasePath+opt.spinUpImage;
- var btnSpinUp = new Image();
- btnSpinUp.src = spinUpImage;
-
- var spinDownImage = opt.imageBasePath+opt.spinDownImage;
- var btnSpinDown = new Image();
- btnSpinDown.src = spinDownImage;
-
- var btn = $(document.createElement('img'));
- btn.attr('src', spinBtnImage);
- btn.css({cursor: 'pointer', verticalAlign: 'bottom', padding: 0, margin: 0 });
- txt.after(btn);
- txt.css({marginRight:0, paddingRight:0});
-
-
- function spin(vector){
- var val = txt.val();
- if(!isNaN(val)){
- val = parseFloat(val) + (vector*opt.interval);
- if(opt.min!=null && val<opt.min) val=opt.min;
- if(opt.min!=null && val>opt.max) val=opt.max;
- if(val != txt.val()){
- txt.val(val);
- txt.change();
- src = (vector > 0 ? spinUpImage : spinDownImage);
- btn.attr('src', src);
- if(opt.timeBlink<opt.timeInterval)
- setTimeout(function(){btn.attr('src', spinBtnImage);}, opt.timeBlink);
- }
- }
- }
-
- btn.mousedown(function(e){
- var pos = e.pageY - btn.offset().top + $(document.body).offset().top;
- var vector = (btn.height()/2 > pos ? 1 : -1);
- (function(){
- spin(vector);
- var tk = setTimeout(arguments.callee, opt.timeInterval);
- $(document).one('mouseup', function(){
- clearTimeout(tk); btn.attr('src', spinBtnImage);
- });
- })();
- return false;
- });
- });
- }
- });
-})(jQuery);
--- a/wp/wp-content/plugins/page-columnist/license.txt Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,280 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 675 Mass Ave, Cambridge, MA 02139, USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
-
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
- 5. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
--- a/wp/wp-content/plugins/page-columnist/page-columnist-assistance.css Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,169 +0,0 @@
-
-#cspc-assist-bar {
- position: fixed;
- top:-36px;left:0;
- width: 100%;
- height: 16px;
- background:transparant;
- z-index: 1002;
- font-family:Arial,Verdana,Lucida,serif,sans !important;
- font-size:12px !important;
- font-weight: bold !important;
- line-height:21px !important;
-}
-
-#cspc-assist-bar-content {
- width: 100%;
- height: 36px;
- background-color: #68BFEF;
- background-color: #FFD100;
- filter:alpha(opacity=85);
- opacity:0.85;
- border-bottom: solid 1px #797979;
- overflow: hidden;
-}
-
-#cspc-assist-bar-content input {
- margin: 0px;
- margin-right: 5px;
- border:1px solid #383838 !important;
- padding: 1px 0;
- font-family:Arial,Verdana,Lucida,serif,sans !important;
-}
-
-#cspc-assist-bar-content strong a, #cspc-assist-bar-content strong a:hover { color: #0066CC !important; }
-
-#cspc-assist-bar-content img {
- border: 0px none;
-}
-
-#cspc-assist-bar-content label {
- color:#000;
- font-weight:bold;
- font-size:12px;
- margin:0;
- padding:0;
-}
-*:first-child + html #cspc-assist-bar-content input[type='checkbox']{ background-color: transparent !important; border: 0px none !important; }
-#cspc-assist-bar-content input {
- background-color: #fff !important;
- color: #000 !important;
- font-size: 12px !important;
- font-weight: normal !important;
-}
-#cspc-assist-bar-content input + label { cursor: pointer; }
-
-#cspc-assist-bar-content .cspc-section {
- float: left;
- margin-top: 8px;
- padding: 0px 8px 8px 8px;
- border-right: 1px dotted #944;
- text-align:left !important;
-}
-
-#cspc-assist-bar-content .cspc-widget {
- float:left;
- border: 1px solid transparent;
- padding: 4px;
- width: 64px;
- height: 64px;
- cursor: move;
-}
-
-#cspc-assist-bar-content .cspc-widget:hover {
- border: solid 1px #444;
- -moz-border-radius: 12px;
- -webkit-border-radius: 12px;
- -khtml-border-radius: 12px;
- border-radius: 12px;
- background-color: #FF4200;
- background-color:#FF713F;
-}
-
-.cspc-button {
- color: #000;
- border: solid 1px #888;
- padding: 2px 10px;
- -moz-border-radius: 8px;
- -webkit-border-radius: 8px;
- -khtml-border-radius: 8px;
- border-radius: 8px;
- background-color: #eee;
-}
-
-.cspc-button:hover {
- color: #f33;
- border-color: #444;
-}
-
-.cscp-widget-calendar { background: transparent url(img/vcalendar.png) no-repeat 4px 4px; }
-.cscp-widget-stats { background: transparent url(img/log.png) no-repeat 4px 4px; }
-
-#cspc-assist-bar-expander {
- bottom: 0px;
- height: 16px;
- width: 250px;
- margin: 0px auto;
- background-color: #FFD100;
- -moz-border-radius: 0 0 12px 12px;
- -webkit-border-bottom-right-radius: 12px;
- -webkit-border-bottom-left-radius: 12px;
- -khtml-border-bottom-right-radius: 12px;
- -khtml-border-bottom-left-radius: 12px;
- border-bottom-right-radius: 12px;
- border-bottom-left-radius: 12px;
- border-color: #797979;
- border-style:solid;
- border-width:0 1px 1px 1px;
- color: #333;
- font-size: 12px;
- font-weight: bold;
- padding: 0 10px 5px;
- cursor: pointer;
- text-align: center;
-}
-
-.cspc-assist-col {
- position:absolute;
- background-color: #68BFEF;
- background-color: #00BCFF;
- color: #000;
- border: 0px none;
- opacity:0.75;
- filter:alpha(opacity=75)!important;
- z-index:1000;
- text-align: left;
-}
-.cspc-assist-col .cspc-dimension {
- position: absolute;
- background-color: #fff;
- border: solid 1px #333;
- padding: 2px;
- z-index: 1003;
- font-size: 11px;
- margin-top:2px;
- margin-left:2px;
-}
-
-.cspc-assist-col-locked {
- background-color: #f00 !important;
- filter:alpha(opacity=75) !important;
- opacity:0.75 !important;
-}
-
-.cspc-assist-spacer {
- position:absolute;
- background: #FFD100 url(img/move-col.png) no-repeat center top;
- filter:alpha(opacity=75);
- opacity:0.75;
- z-index:1001;
- cursor: move;
-}
-
-.cspc-assist-spacer-active {
- background: #FF8181 url(img/move-col.png) no-repeat center top;
- filter:alpha(opacity=75);
-}
-
-
-.cspc-readonly-text { color: #999 !important; cursor: default !important; }
\ No newline at end of file
--- a/wp/wp-content/plugins/page-columnist/page-columnist-assistance.js Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,240 +0,0 @@
-
-(function($) {
-
- //jQuery UI 1.5.2 doesn't support "option" as getter/setter, so we have to apply a hotfix instead
- var needs_jquery_hotfix = (($.ui.version === undefined) || (parseInt($.ui.version.split('.')[1]) < 6));
- if (needs_jquery_hotfix) {
- $.extend($.ui.draggable.prototype, {
- option: function(key, value) {
- if (value === undefined) {
- return this.options[key];
- }
- if (key == 'containment') {
- this.containment = value;
- }
- else{
- this.options[key] = value;
- }
- }
- });
- $.extend($.ui.draggable, {
- getter : 'option'
- });
- }
-
- //extend jQuery with pageColumnist object
- $.fn.extend({
- pageColumnist: function() {
- var self = $(this);
-
- self.box = function(elem) {
- var box = $(elem).offset();
- box.width = $(elem).width();
- box.height = $(elem).height();
- return box;
- }
-
- self.update_info = function(i, elem) {
- var b = self.box(self.columns[i]);
- var o = self.box(self);
- $(elem).css({top: b.top+'px', left: b.left+3+'px', width: '50px'});
- //changed to extended data info
- $(elem).find('b').html(Math.round(parseFloat($(self.columns[i]).attr('data')) * 100.0) / 100.0);
- $(elem).find('span').html(b.width);
- }
-
- self.update_spacer = function(i, elem) {
- var b1 = self.box(self.columns[i]);
- var b2 = self.box(self.columns[i+1]);
- $(elem).css({top: b1.top+'px', left: b1.left+b1.width+'px', width: b2.left - (b1.left+b1.width)+'px', height: b1.height+'px' });
- }
-
- self.recalc_containments = function(i, elem) {
- var b1 = self.box(self.columns[i]);
- var b2 = self.box(self.columns[i+1]);
- var body = self.box($('body'));
- self.containments[i] = [b1.left+50, 0, b2.left+b2.width-50-self.box(elem).width, body.height]
- }
-
- self.adjust_columns = function(spacer) {
- var idx = $(spacer).draggable('option', 'colidx');
- var perc = $(spacer).draggable('option', 'initial_perc');
- var s = self.box(spacer);
- var b1 = self.box(self.columns[idx]);
- var b2 = self.box(self.columns[idx+1]);
- var main = self.box(self);
- //reset affected columns
- var w = '0px';
- $(self.columns[idx]).css({width: w});
- $(self.columns[idx+1]).css({width: w});
- //calculate new width
- w = Math.round((s.left - b1.left) * 100.0) / main.width;
- $(self.columns[idx]).css({ width: w + '%'}).attr('data', w);
- b1 = self.box(self.columns[idx]);
- w = perc - w;
- $(self.columns[idx+1]).css({ width: w + '%'}).attr('data', w);
- self.make_equal_height();
- }
-
- self.make_equal_height = function() {
- var h = 0;
- $(self.columns).each(function(i, elem) { h = Math.max(h, $(elem).height()); });
- $('#cscp_ghost').css({'height' : h+'px'});
- $('.cspc-assist-spacer').css({'height' : h+'px'});
- }
-
- self.columns = $('.cspc-column', self);
- self.containments = [];
-
- $('body').prepend('<div id="cscp_ghost" class="cspc-assist-col"></div>');
- $('#cscp_ghost').css(self.box(self)).hide();
- for (var i=0; i<self.columns.length; i++) {
- $('body').append('<div class="cspc_assist_col_info"><b></b> %<br/>(<span></span> px)</div>');
- if (i > 0) {
- $('body').append('<div class="cspc-assist-spacer"></div>');
- self.containments.push([0,0,0,0]);
- }
- }
- $('.cspc_assist_col_info, .cspc-assist-spacer').css({position: 'absolute', 'z-index': 1001}).hide();
- self.spacer = $('.cspc-assist-spacer');
- $('.cspc-assist-spacer').each(self.recalc_containments);
-
-
- $('div.cspc_assist_col_info').css({ position: 'absolute', 'z-index': 1000, overflow:'hidden', color: '#000', 'background-color': '#fff', border: 'solid 1px black', padding: '3px', 'margin-top': '3px'}).each(self.update_info);
- $('div.cspc-assist-spacer').each(self.update_spacer).each(function(i,e) {
- var b = self.box(self);
- var x = needs_jquery_hotfix ? {} : { containment : self.containments[i] };
- //TODO: containment is not always valid, to be changed in later versions
- $(e).draggable($.extend(x,{
- axis: 'x',
- colidx: i,
- /* containment: [b.left+20, b.top, b.left+b.width-20, b.top+b.height], //didn't work for jquery.ui < 1.7.0, subject of later workarrounds */
- start: function(event, ui){
- try{
- var idx = $(event.target).draggable('option', 'colidx');
- var b1 = self.box(self.columns[idx]);
- var b2 = self.box(self.columns[idx+1]);
- $(self.spacer).each(function(i, elem) {
- if(i!=idx)
- $(elem).draggable('disable').css('z-index', 999);
- else
- $(elem).addClass('cspc-assist-spacer-active');
- });
- if(needs_jquery_hotfix) $(event.target).draggable('option', 'containment', self.containments[idx]);
- $(event.target).draggable('option', 'initial_perc', parseFloat($(self.columns[idx]).attr('data')) + parseFloat($(self.columns[idx+1]).attr('data')));
- //$(event.target).draggable('option', 'initial_perc', parseFloat($(self.columns[idx]).css('width')) + parseFloat($(self.columns[idx+1]).css('width')));
- }
- catch(e) {
- }
- },
- drag: function(event, ui) {
- try{
- self.adjust_columns(event.target);
- $('div.cspc_assist_col_info').each(self.update_info);
- }catch(e) {
- }
- },
- stop: function(event, ui){
- $(self.spacer).each(function(j, elem) { $(elem).draggable('enable').css('z-index', 1001).removeClass('cspc-assist-spacer-active'); });
- try{
- self.adjust_columns(event.target);
- $('div.cspc_assist_col_info').each(self.update_info);
- }catch(e) {
- }
- $(self.spacer).each(self.recalc_containments);
- }
- }));
- });
-
- //keep tracking the resize of window
- $(window).resize(function() {
- $('#cscp_ghost').css(self.box(self))
- $('div.cspc_assist_col_info').each(self.update_info);
- $('div.cspc-assist-spacer').each(self.update_spacer);
- self.make_equal_height();
- });
-
- $('#cspc-col-spacing').change(function() {
- if (self.columns.length == 0) return;
- var space = parseFloat($(this).val());
- var base = 100.0;
- var perc = ((base - (self.columns.length - 1) * space ) / self.columns.length);
- if ($.browser.msie) {
- $(self.columns).each(function(i, elem) {
- $(elem).css({ width: '0.001%'});
- });
- space = space * 0.66 ; //because IE is unable to calculate the sums correctly, we have to trick it little bit
- }
- for (var i=0; i<self.columns.length; i++) {
- $(self.columns[i]).css({ width: perc+'%'}).attr('data', perc);
- if (i != 0) $(self.columns[i]).css({ marginLeft: space+'%'});
- }
- $(window).trigger('resize');
- return false;
- });
-
- self.make_equal_height();
- return $(this);
- }
- });
-
- $(document).ready(function(){
- //show always firefox scroll bars
- $('body').css({'overflow' : 'scroll' });
-
- var wpadmbar = $('#wpadminbar').height();
- var assistbar = {
- show: (0 + wpadmbar),
- hide: (-36 + wpadmbar)
- };
-
- //assistance toolbar toggle
- $('#cspc-assist-bar-expander').click(function(){
- $('#cspc-assist-bar').animate({ top: (parseInt($('#cspc-assist-bar').css('top')) == assistbar.show ? assistbar.hide+'px' : assistbar.show+'px') });
- });
- $('#cspc-assist-bar').css({ top: assistbar.hide+'px'});
-
- //assistance toolbar spinner init
- $('#cspc-col-spacing').spin({max:10,min:0,imageBasePath: cspc_page_columnist_l10n.imageBasePath, interval: 0.5 });
-
- //columnizer setup
- $('#cspc-content').pageColumnist();
-
- //columnized area ghosting toggle
- $('#cspc-columns-sizing').click(function() {
- var checked = $(this).attr('checked');
- $('#cscp_ghost').toggle(checked);
- $('.cspc_assist_col_info, .cspc-assist-spacer').toggle(checked);
- });
-
- //saving all changes and reload
- $('#cspc-save-changes').click(function() {
- $(this).blur();
- var cols = [];
- $('#cspc-content .cspc-column').each(function(i, elem) {
- cols.push(Math.round(parseFloat($(elem).attr('data'))*100)/100.0);
- //cols.push(Math.round(parseFloat($(elem).css('width'))*100)/100.0);
- });
- params = {
- type: 'POST',
- url: cspc_page_columnist_l10n.adminUrl+'admin-ajax.php',
- data: {
- action: 'cspc_save_changes',
- page_id: cspc_page_columnist_l10n.pageId,
- spacing: $('#cspc-col-spacing').val(),
- distribution: cols.join('|'),
- default_spacing: $('#cspc-default-spacing').attr('checked')
- },
- success: function(data, textStatus) {
- window.setTimeout("location.reload(true)", 500);
- },
- error: function(xhr, textStatus, error) {
- alert(xhr.responseText);
- }
- };
- $.ajax(params);
- });
-
- });
-
-})(jQuery);
Binary file wp/wp-content/plugins/page-columnist/page-columnist-de_DE.mo has changed
--- a/wp/wp-content/plugins/page-columnist/page-columnist-de_DE.po Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,177 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: Page Columnist v1.0-alpha\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: \n"
-"PO-Revision-Date: 2009-01-06 01:16+0100\n"
-"Last-Translator: admin <info@holzwerkstatt-teuchler.de>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Poedit-Language: German\n"
-"X-Poedit-Country: GERMANY\n"
-"X-Poedit-SourceCharset: utf-8\n"
-"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
-"X-Poedit-Basepath: \n"
-"X-Poedit-Bookmarks: \n"
-"X-Poedit-SearchPath-0: .\n"
-"X-Textdomain-Support: yes"
-
-#: page-columnist.php:590
-#@ page-columnist
-msgid "nextpage"
-msgstr "Seitenumbruch"
-
-#: page-columnist.php:453
-#@ page-columnist
-msgid "WordPress - Next Page (default)"
-msgstr "WordPress - Nächste Seite (Standard)"
-
-#: page-columnist.php:454
-#@ page-columnist
-msgid "Ordinary Plain Page"
-msgstr "Gewöhnliche Statische Seite"
-
-#: page-columnist.php:455
-#@ page-columnist
-msgid "Every Sub Page as Column"
-msgstr "jede Teil-Seite als Spalte"
-
-#: page-columnist.php:456
-#@ page-columnist
-msgid "First Sub Page as Header"
-msgstr "Erste Teil-Seite als Kopfzeile"
-
-#: page-columnist.php:457
-#@ page-columnist
-msgid "Last Sub Page as Footer"
-msgstr "Letzte Teil-Seite als Fußzeile"
-
-#: page-columnist.php:458
-#@ page-columnist
-msgid "Interior as Columns"
-msgstr "das Innere als Spalten"
-
-#: page-columnist.php:590
-#@ page-columnist
-msgid "insert Page break"
-msgstr "Seitenumbruch einfügen"
-
-#: page-columnist.php:533
-#@ page-columnist
-msgid "Page Columnist • Assistance"
-msgstr "Page Columnist • Assistent"
-
-#: page-columnist.php:525
-#@ page-columnist
-msgid "% spacing"
-msgstr "% Spaltenabstand"
-
-#: page-columnist.php:527
-#@ page-columnist
-msgid "default spacing"
-msgstr "Standard-Abstand"
-
-#: page-columnist.php:529
-#@ page-columnist
-msgid "save changes"
-msgstr "Änderungen speichern"
-
-#: page-columnist.php:521
-#@ page-columnist
-msgid "enable column resizing"
-msgstr "Spaltenbreiten modifizieren"
-
-#: page-columnist.php:682
-#@ page-columnist
-msgid "You do not have the permission to edit this page."
-msgstr "Sie haben nicht die erforderliche Berechtigung zum Bearbeiten dieser Seite."
-
-#: page-columnist.php:694
-#@ page-columnist
-msgid "% column default spacing"
-msgstr "% Standard-Spaltenabstand"
-
-#: page-columnist.php:86
-#@ page-columnist
-msgid "* content missing"
-msgstr "* Inhalt fehlt"
-
-#: page-columnist.php:481
-#: page-columnist.php:482
-#@ page-columnist
-msgid "Page Columnist"
-msgstr "Page Columnist"
-
-#: page-columnist.php:713
-#@ page-columnist
-msgid "spacing:"
-msgstr "Abstand:"
-
-#: page-columnist.php:716
-#@ page-columnist
-msgid "columns:"
-msgstr "Spalten:"
-
-#: page-columnist.php:724
-#@ page-columnist
-msgid "overflow:"
-msgstr "Überlauf:"
-
-#: page-columnist.php:726
-#@ page-columnist
-msgid "hide too much columns"
-msgstr "Spalten ausblenden"
-
-#: page-columnist.php:727
-#@ page-columnist
-msgid "generate virtual pages"
-msgstr "virtuelle Seiten erzeugen"
-
-#: page-columnist.php:745
-#@ page-columnist
-msgid "enable Assistance at Preview"
-msgstr "aktiviere Unterstützung bei Vorschau"
-
-#: page-columnist.php:601
-#@ page-columnist
-msgid "Cols"
-msgstr "Spalten"
-
-#: page-columnist.php:736
-#@ page-columnist
-msgid "render flat single content"
-msgstr "linear darstellen"
-
-#: page-columnist.php:732
-#@ page-columnist
-msgid "at overview pages:"
-msgstr "in Artikel Übersichten:"
-
-#: page-columnist.php:379
-#@ page-columnist
-msgid "Plugin can not be activated."
-msgstr "Plugin kann nicht aktiviert werden."
-
-#: page-columnist.php:379
-#@ page-columnist
-msgid "required"
-msgstr "erforderlich"
-
-#: page-columnist.php:379
-#@ page-columnist
-msgid "actual"
-msgstr "tatsächlich"
-
-#: page-columnist.php:735
-#@ page-columnist
-msgid "pagination"
-msgstr "Pagination"
-
-#: page-columnist.php:734
-#@ page-columnist
-msgid "same as single pages"
-msgstr "wie einzelne Seiten"
-
Binary file wp/wp-content/plugins/page-columnist/page-columnist-it_IT.mo has changed
--- a/wp/wp-content/plugins/page-columnist/page-columnist-it_IT.po Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,157 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: Page Columnist v1.0-alpha\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: \n"
-"PO-Revision-Date: 2009-02-02 12:51+0100\n"
-"Last-Translator: Luca Realdi <baol77@gmail.com>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Poedit-Language: German\n"
-"X-Poedit-Country: GERMANY\n"
-"X-Poedit-SourceCharset: utf-8\n"
-"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
-"X-Poedit-Basepath: .\n"
-"X-Poedit-Bookmarks: \n"
-"X-Poedit-SearchPath-0: .\n"
-"X-Textdomain-Support: yes"
-
-#: page-columnist.php:585
-#@ page-columnist
-msgid "nextpage"
-msgstr "interruzione di pagina"
-
-#: page-columnist.php:448
-#@ page-columnist
-msgid "WordPress - Next Page (default)"
-msgstr "Interruzioni Wordpress Standard"
-
-#: page-columnist.php:449
-#@ page-columnist
-msgid "Ordinary Plain Page"
-msgstr "Pagina ordinaria senza interruzioni"
-
-#: page-columnist.php:450
-#@ page-columnist
-msgid "Every Sub Page as Column"
-msgstr "Ogni sottopagina come colonna"
-
-#: page-columnist.php:451
-#@ page-columnist
-msgid "First Sub Page as Header"
-msgstr "Prima sottopagina come testata"
-
-#: page-columnist.php:452
-#@ page-columnist
-msgid "Last Sub Page as Footer"
-msgstr "Ultima sottopagina come Piede"
-
-#: page-columnist.php:453
-#@ page-columnist
-msgid "Interior as Columns"
-msgstr "Sottopagine interne come colonne"
-
-#: page-columnist.php:585
-#@ page-columnist
-msgid "insert Page break"
-msgstr "Inserisci un'interruzione di pagina"
-
-#: page-columnist.php:528
-#@ page-columnist
-msgid "Page Columnist • Assistance"
-msgstr "Page Columnist • Assistente"
-
-#: page-columnist.php:520
-#@ page-columnist
-msgid "% spacing"
-msgstr "% margine"
-
-#: page-columnist.php:522
-#@ page-columnist
-msgid "default spacing"
-msgstr "Margine di default"
-
-#: page-columnist.php:524
-#@ page-columnist
-msgid "save changes"
-msgstr "Salva"
-
-#: page-columnist.php:516
-#@ page-columnist
-msgid "enable column resizing"
-msgstr "Abilita il ridimensionamento delle colonne"
-
-#: page-columnist.php:677
-#@ page-columnist
-msgid "You do not have the permission to edit this page."
-msgstr "Non hai i privilegi per modificare questa pagina."
-
-#: page-columnist.php:689
-#@ page-columnist
-msgid "% column default spacing"
-msgstr "% margine di colonna di default"
-
-#: page-columnist.php:59
-#@ page-columnist
-msgid "* content missing"
-msgstr "* senza contenuto"
-
-#: page-columnist.php:476
-#: page-columnist.php:477
-#@ page-columnist
-msgid "Page Columnist"
-msgstr "Page Columnist"
-
-#: page-columnist.php:708
-#@ page-columnist
-msgid "spacing:"
-msgstr "Margine:"
-
-#: page-columnist.php:711
-#@ page-columnist
-msgid "columns:"
-msgstr "Colonne:"
-
-#: page-columnist.php:719
-#@ page-columnist
-msgid "overflow:"
-msgstr "Overflow:"
-
-#: page-columnist.php:721
-#@ page-columnist
-msgid "hide too much columns"
-msgstr "Nascondi troppe colonne"
-
-#: page-columnist.php:722
-#@ page-columnist
-msgid "generate virtual pages"
-msgstr "Genera pagine virtuali"
-
-#: page-columnist.php:739
-#@ page-columnist
-msgid "enable Assistance at Preview"
-msgstr "Abilita Assistente in Anteprima"
-
-#: page-columnist.php:596
-#@ page-columnist
-msgid "Cols"
-msgstr "Colonne"
-
-#: page-columnist.php:727
-#@ page-columnist
-msgid "at overview pages:"
-msgstr ""
-
-#: page-columnist.php:729
-#@ page-columnist
-msgid "same as single pages"
-msgstr ""
-
-#: page-columnist.php:730
-#@ page-columnist
-msgid "render flat single content"
-msgstr ""
-
Binary file wp/wp-content/plugins/page-columnist/page-columnist-pl_PL.mo has changed
--- a/wp/wp-content/plugins/page-columnist/page-columnist-pl_PL.po Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,157 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: Page Columnist v1.0-alpha\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: \n"
-"PO-Revision-Date: 2009-02-23 01:31+0100\n"
-"Last-Translator: Jacek Tyc <jacek.tyc@gmail.com>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Poedit-Language: Polish\n"
-"X-Poedit-Country: POLAND\n"
-"X-Poedit-SourceCharset: utf-8\n"
-"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
-"X-Poedit-Basepath: .\n"
-"X-Poedit-Bookmarks: \n"
-"X-Poedit-SearchPath-0: .\n"
-"X-Textdomain-Support: yes"
-
-#: page-columnist.php:585
-#@ page-columnist
-msgid "nextpage"
-msgstr "następna strona"
-
-#: page-columnist.php:448
-#@ page-columnist
-msgid "WordPress - Next Page (default)"
-msgstr "WordPress- Następna Str (Standard)"
-
-#: page-columnist.php:449
-#@ page-columnist
-msgid "Ordinary Plain Page"
-msgstr "Strona bez podziału"
-
-#: page-columnist.php:450
-#@ page-columnist
-msgid "Every Sub Page as Column"
-msgstr "Każda Podstrona jako Kolumna"
-
-#: page-columnist.php:451
-#@ page-columnist
-msgid "First Sub Page as Header"
-msgstr "Pierwsza Podstrona jako Nagłówek"
-
-#: page-columnist.php:452
-#@ page-columnist
-msgid "Last Sub Page as Footer"
-msgstr "Ostatnia Podstrona jako Stopka"
-
-#: page-columnist.php:453
-#@ page-columnist
-msgid "Interior as Columns"
-msgstr "Åšrodkowe jako kolumny"
-
-#: page-columnist.php:585
-#@ page-columnist
-msgid "insert Page break"
-msgstr "wstaw podział Strony"
-
-#: page-columnist.php:528
-#@ page-columnist
-msgid "Page Columnist • Assistance"
-msgstr "Page Columnist • Asystent"
-
-#: page-columnist.php:520
-#@ page-columnist
-msgid "% spacing"
-msgstr "% odstęp"
-
-#: page-columnist.php:522
-#@ page-columnist
-msgid "default spacing"
-msgstr "Domyślny odstęp"
-
-#: page-columnist.php:524
-#@ page-columnist
-msgid "save changes"
-msgstr "zapisz zmiany"
-
-#: page-columnist.php:516
-#@ page-columnist
-msgid "enable column resizing"
-msgstr "włącz zmianę rozmiaru kolumn"
-
-#: page-columnist.php:677
-#@ page-columnist
-msgid "You do not have the permission to edit this page."
-msgstr "Nie posiadasz uprawnień do edycji tej strony"
-
-#: page-columnist.php:689
-#@ page-columnist
-msgid "% column default spacing"
-msgstr "% domyślny odstęp kolumn"
-
-#: page-columnist.php:59
-#@ page-columnist
-msgid "* content missing"
-msgstr "* brak zawartości"
-
-#: page-columnist.php:476
-#: page-columnist.php:477
-#@ page-columnist
-msgid "Page Columnist"
-msgstr "Page Columnist"
-
-#: page-columnist.php:708
-#@ page-columnist
-msgid "spacing:"
-msgstr "odstęp:"
-
-#: page-columnist.php:711
-#@ page-columnist
-msgid "columns:"
-msgstr "kolumny:"
-
-#: page-columnist.php:719
-#@ page-columnist
-msgid "overflow:"
-msgstr "nadmiar:"
-
-#: page-columnist.php:721
-#@ page-columnist
-msgid "hide too much columns"
-msgstr "ukryj nadmiar kolumn"
-
-#: page-columnist.php:722
-#@ page-columnist
-msgid "generate virtual pages"
-msgstr "Generuj wirtualne strony"
-
-#: page-columnist.php:739
-#@ page-columnist
-msgid "enable Assistance at Preview"
-msgstr "Włącz Asystenta w Podglądzie strony"
-
-#: page-columnist.php:596
-#@ page-columnist
-msgid "Cols"
-msgstr "Kolumny"
-
-#: page-columnist.php:727
-#@ page-columnist
-msgid "at overview pages:"
-msgstr ""
-
-#: page-columnist.php:729
-#@ page-columnist
-msgid "same as single pages"
-msgstr ""
-
-#: page-columnist.php:730
-#@ page-columnist
-msgid "render flat single content"
-msgstr ""
-
--- a/wp/wp-content/plugins/page-columnist/page-columnist.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,830 +0,0 @@
-<?php
-/***************************************************************************************************************************************************
-Plugin Name: Page Columnist
-Plugin URI: http://www.code-styling.de/english/development/wordpress-plugin-page-columnist-en
-Description: A simple way to get single posts and static pages content arranged in column layout, supports also overview page behavior.
-Author: Heiko Rabe
-Author URI: http://www.code-styling.de/
-Version: 1.7.3
-***************************************************************************************************************************************************
- License:
- =======
- Copyright 2009 Heiko Rabe (email : info@code-styling.de)
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-****************************************************************************************************************************************************/
-
-//avoid direct calls to this file, because now WP core and framework has been used
-if (!function_exists ('add_action')) {
- header('Status: 403 Forbidden');
- header('HTTP/1.1 403 Forbidden');
- exit();
-}
-
-//WordPress definitions
-if ( !defined('WP_CONTENT_URL') )
- define('WP_CONTENT_URL', get_option('siteurl') . '/wp-content');
-if ( !defined('WP_CONTENT_DIR') )
- define('WP_CONTENT_DIR', ABSPATH . 'wp-content');
-if ( !defined('WP_PLUGIN_URL') )
- define('WP_PLUGIN_URL', WP_CONTENT_URL.'/plugins');
-if ( !defined('WP_PLUGIN_DIR') )
- define('WP_PLUGIN_DIR', WP_CONTENT_DIR.'/plugins');
-if ( !defined('PLUGINDIR') )
- define( 'PLUGINDIR', 'wp-content/plugins' ); // Relative to ABSPATH. For back compat.
-
-if ( !defined('WP_LANG_DIR') )
- define('WP_LANG_DIR', WP_CONTENT_DIR . '/languages');
-
-//safety patch for changed activation procedure in WP 3.0
-//without this test it won't be activatable at less than 3.0
-if (!function_exists('cspc_on_activate_plugin')) {
-
-function cspc_on_activate_plugin() {
- global $page_columnist_plug, $wpdb;
- //self deactivation in error cases
- if (is_object($page_columnist_plug)) {
- $version_error = $page_columnist_plug->_get_version_errors();
- if (is_array($version_error) && count($version_error) != 0) {
- $row = $wpdb->get_row( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = %s LIMIT 1", 'active_plugins' ) );
- if ( is_object( $row ) ) {
- $current = maybe_unserialize( $row->option_value );
- if (array_search($page_columnist_plug->basename, $current) !== false) {
- array_splice($current, array_search($page_columnist_plug->basename, $current), 1 );
- update_option('active_plugins', $current);
- }
- }
- exit();
- }
- }
- if (!get_option('cspc_page_columnist'))
- update_option('cspc_page_columnist', get_option('cspc_page_columnist', $page_columnist_plug->defaults));
-}
-function cspc_on_deactivate_plugin() {
- //currently empty
-}
-register_activation_hook(plugin_basename(__FILE__), 'cspc_on_activate_plugin');
-register_deactivation_hook(plugin_basename(__FILE__), 'cspc_on_deactivate_plugin');
-
-
-class Page_columnist_page_transition {
-
- function Page_columnist_page_transition(&$plugin, $page_id = false) {
- $this->plugin = $plugin; //reference to owner plugin
- $this->transition = $this->plugin->page_default_trans;
- $this->data = array();
- $this->data_keys = array('spacing', 'columns', 'overflow', 'multiposts');
- $this->padding = '<span style="font-style:italic;color:#f00">'.__('* content missing', $this->plugin->textdomain).'</span>';
- if ($page_id) $this->load($page_id);
- else $this->page_id = 0;
- }
-
- function load($page_id) {
- $this->page_id = ($page_id ? $page_id : 0);
- $this->transition = $this->plugin->page_default_trans;
- $this->data = array();
- $res = explode('|', get_post_meta($this->page_id, '_cspc-page-transitions', true));
- $num = count($res);
- if ($num > 0) {
- if (in_array($res[0], array_keys($this->plugin->page_transitions))) {
- $this->transition = $res[0];
- if ($num > 1) {
- $this->data = unserialize($res[1]);
- }
- }
- }
- }
-
- function save() {
- if ($this->page_id > 0) {
- $value = $this->transition.'|'.serialize($this->data);
- update_post_meta($this->page_id, '_cspc-page-transitions', $value);
- }
- }
-
- function update_and_save() {
- if (isset($_POST['cspc-page-transition']) && in_array($_POST['cspc-page-transition'], array_keys($this->plugin->page_transitions))) {
- $this->transition = $_POST['cspc-page-transition'];
- }
- if (isset($_POST['cspc-count-columns'])) {
- $this->data['columns'] = (int)$_POST['cspc-count-columns'];
- }
- if (isset($_POST['cspc-overflow-paging'])) {
- $this->data['overflow'] = $_POST['cspc-overflow-paging'];
- if($this->data['overflow'] != 'hidden' && $this->data['overflow'] != 'virtual') {
- $this->data['overflow'] = 'hidden';
- }
- }
- if (isset($_POST['cspc-multiposts-paging']) && in_array($_POST['cspc-multiposts-paging'], $this->plugin->multiposts_style)) {
- $this->data['multiposts'] = $_POST['cspc-multiposts-paging'];
- }
- if (!isset($this->data['distribution']) || !is_array($this->data['distribution'])) $this->data['distribution'] = array();
- $this->save();
- }
-
-
- function spacing() {
- return (isset($this->data['spacing']) ? (float)$this->data['spacing'] : (float)$this->plugin->options->spacing);
- }
-
- function columns() {
- return (isset($this->data['columns']) ? (int)$this->data['columns'] : 2);
- }
-
- function overflow() {
- return (isset($this->data['overflow']) ? $this->data['overflow'] : 'hidden');
- }
-
- function multiposts() {
- return (isset($this->data['multiposts']) ? $this->data['multiposts'] : 'same');
- }
-
- function execute(&$pages) {
- return call_user_func(array(&$this, '_exec_'.str_replace('-','_',$this->transition)), $pages);
- }
-
- function _padding_pages($needed, &$pages) {
- $res = array();
- while(count($pages) % $needed != 0) $pages[] = $this->padding; //padding count of sub pages
- if ($this->overflow() == 'hidden') {
- $res[] = array_slice($pages, 0, $needed);
- }else{
- $res = array_chunk($pages, $needed);
- }
- return $res;
- }
-
- function _get_distribution($num, $remaining) {
- $res = array();
- if (!is_array($this->data['distribution']) || !isset($this->data['distribution'][$num])) {
- $perc = $remaining / $num;
- for ($i=0; $i<$num; $i++) $res[] = $perc;
- }
- else{
- $sum = 0.0;
- for ($i=0; $i<$num; $i++) $sum += (float)$this->data['distribution'][$num][$i];
- for ($i=0; $i<$num; $i++) {
- $res[]= ($remaining * ((float)$this->data['distribution'][$num][$i] / $sum));
- }
- }
- return $res;
- }
-
- function _columnize_pages($num, $pages) {
- $res = '';
- $base = 100.0;
- $spacing = $this->spacing();
- $remaining = ($base - ($num - 1) * $spacing);
- $dist = $this->_get_distribution($num, $remaining);
- $lorr = 'left';
- global $wp_locale;
- if ($wp_locale->text_direction == 'rtl') {
- $lorr = 'right'; //make it work at RTL languages
- }
- for ($i=0; $i<$num; $i++) {
- $page = $pages[$i];
- $perc = $dist[$i];
- if ($this->plugin->is_MSIE()) {
- //IE is not able to calculate column sizes well, several 100% sums leads to get the last column display wrapped under the first
- //in several cases (mostly where a periodic fraction of 1/3 or 1/6 occures) , IE seems to reach by internal rounding errors more than 100% of available width
- $margin_left_i = ($i==0 ? 0 : $spacing * 0.66);
- }
- else{
- $margin_left_i = ($i==0 ? 0 : $spacing);
- }
- $extend = $this->plugin->is_page_preview() ? ' data="'.$perc.'"' : '';
- $res .= "<div id=\"cspc-column-$i\" class=\"cspc-column\" style=\"display:inline-block;float:$lorr;margin-$lorr:$margin_left_i%;width:$perc%;overflow:hidden;\"$extend>";
- if (has_filter('the_content', 'wpautop') && !preg_match('/^\s*<div/', $page)) $res .= '<p>';
- $res .= $page;
- if (has_filter('the_content', 'wpautop') && !preg_match('/<\/p>\s*$/', $page)) $res .= '</p>';
- $res .= '</div>';
- }
- return $res;
- }
-
- function _columnize_fullsize($page, $clearleft = false) {
- if (empty($page)) return '';
- $res = ($clearleft ? '<div id="cspc-footer" style="clear:left;">' : '<div id="cspc-header">');
- if (has_filter('the_content', 'wpautop') && !preg_match('/^\s*<div/', $page)) $res .= '<p>';
- $res .= $page;
- if (has_filter('the_content', 'wpautop') &&!preg_match('/<\/p>\s*$/', $page)) $res .= '</p>';
- $res .= '</div>';
- if ($clearleft) $res .='<div style="clear:both; height:0;"> </div>';
- return $res;
- }
-
- function _exec_cspc_trans_wordpress(&$pages) {
- return $pages;
- }
-
- function _exec_cspc_trans_ordinary(&$pages) {
- $res = "<div id=\"$this->transition-wrap\" class=\"cspc-wrapper\">";
- $res .= "\n\n";
- $res .= implode("\n\n", $pages);
- $res .='</div>';
- return array($res);
- }
-
- function _exec_cspc_trans_columns(&$pages) {
- $work = $this->_padding_pages($this->columns(), $pages);
- $out = array();
- for ($i=0; $i<count($work); $i++) {
- $num = count($work[$i]);
- $res = "<div id=\"$this->transition-wrap\" class=\"cspc-wrapper\">";
- $res .= '<div id="cspc-content" style="clear:left;">';
- $res .= $this->_columnize_pages($num, $work[$i]);
- $res .= '<div style="clear:left;"></div></div>';
- $res .= '</div>';
- $out[] = $res;
- }
- return $out;
- }
-
- function _exec_cspc_trans_header(&$pages) {
- $work = $this->_padding_pages($this->columns() + 1, $pages);
- $out = array();
- for ($i=0; $i<count($work); $i++) {
- $top = array_shift($work[$i]);
- $num = count($work[$i]);
- $res = "<div id=\"$this->transition-wrap\" class=\"cspc-wrapper\">";
- $res .= $this->_columnize_fullsize($top);
- $res .= '<div id="cspc-content" style="clear:left;">';
- $res .= $this->_columnize_pages($num, $work[$i]);
- $res .= '<div style="clear:left;"></div></div>';
- $res .= '</div>';
- $out[] = $res;
- }
- return $out;
- }
-
- function _exec_cspc_trans_footer(&$pages) {
- $work = $this->_padding_pages($this->columns() + 1, $pages);
- $out = array();
- for ($i=0; $i<count($work); $i++) {
- $last = end($work[$i]);
- $num = count($work[$i]) -1;
- $work[$i] = ($num > 0 ? array_slice($work[$i],0,$num) : array());
- $res = "<div id=\"$this->transition-wrap\" class=\"cspc-wrapper\">";
- $res .= '<div id="cspc-content" style="clear:left;">';
- $res .= $this->_columnize_pages($num, $work[$i]);
- $res .= '<div style="clear:left;"></div></div>';
- $res .= $this->_columnize_fullsize($last, true);
- $res .= '</div>';
- $out[] = $res;
- }
- return $out;
- }
-
- function _exec_cspc_trans_interior(&$pages) {
- $work = $this->_padding_pages($this->columns() + 2, $pages);
- $out = array();
- for ($i=0; $i<count($work); $i++) {
- $top = array_shift($work[$i]);
- $num = count($work[$i]) -1;
- $last = ($num > 0 ? end($work[$i]) : '');
- $work[$i] = ($num > 0 ? array_slice($work[$i],0,$num) : array());
- $res = "<div id=\"$this->transition-wrap\" class=\"cspc-wrapper\">";
- $res .= $this->_columnize_fullsize($top);
- $res .= '<div id="cspc-content" style="clear:left;">';
- $res .= $this->_columnize_pages($num, $work[$i]);
- $res .= '<div style="clear:left;"></div></div>';
- $res .= $this->_columnize_fullsize($last, true);
- $res .= '</div>';
- $out[] = $res;
- }
- return $out;
- }
-}
-
-
-//page_columnist Plugin class
-class Plugin_page_columnist {
-
- //initializes the whole plugin and enables the activation/deactivation handling
- function Plugin_page_columnist() {
- global $wp_version;
-
- $this->l10n_ready = false;
-
- //own plugin data
- $this->basename = plugin_basename(__FILE__);
- $this->url = WP_PLUGIN_URL.'/'.dirname($this->basename);
- $this->textdomain = basename($this->basename);
- $this->textdomain = substr($this->textdomain, 0, strrpos($this->textdomain, '.'));
- $this->versions = new stdClass;
- $this->versions->required = array( 'php' => '4.4.2', 'wp' => '2.7');
- $this->versions->found = array( 'php' => phpversion(), 'wp' => $wp_version);
- $this->versions->above_27 = !version_compare($this->versions->found['wp'], '2.8alpha', '<');
- $this->do_resample_page = false;
- $this->multiposts_style = array('flat', 'same', 'wp');
-
- $this->page_default_trans = 'cspc-trans-wordpress';
-
- $this->defaults = new stdClass;
- $this->defaults->spacing = 3.0;
- $this->defaults->preview_assistent = false;
-
- $this->options = get_option('cspc_page_columnist', $this->defaults);
- $stored = get_object_vars($this->options);
- $defaults = get_object_vars($this->defaults);
- foreach($defaults as $key => $value) {
- if (!isset($stored[$key])) $this->options->$key = $value;
- }
-
- add_action('init', array(&$this, 'on_init'));
- add_action('admin_init', array(&$this, 'on_admin_init'));
- add_action('wp_head', array(&$this, 'on_wp_head'));
- add_action('wp_footer', array(&$this, 'on_wp_footer'));
- add_action('admin_head', array(&$this, 'on_admin_head'));
- add_action('edit_page_form', array(&$this, 'on_extend_html_editor'));
- add_action('edit_form_advanced', array(&$this, 'on_extend_html_editor'));
- add_action('manage_pages_custom_column', array(&$this, 'on_manage_custom_column'), 10, 2);
- add_action('manage_posts_custom_column', array(&$this, 'on_manage_custom_column'), 10, 2);
- add_action('wp_insert_post', array(&$this, 'on_wp_insert_post'), 10, 2);
- add_action('loop_start', array(&$this, 'on_loop_start'), 0 );
- add_action('the_post', array(&$this, 'on_the_post'), 0 );
- add_action('template_redirect', array(&$this, 'on_template_redirect'));
- add_filter('mce_buttons', array(&$this, 'on_filter_mce_buttons'));
-
- $this->_display_version_errors();
-
- //TODO: future development should be able to deal with removing the ugly wpautop algorithm
- //remove_filter('the_content', 'wpautop');
- }
-
- function _get_version_errors() {
- $res = array();
- foreach($this->versions->required as $key => $value) {
- if (!version_compare($this->versions->found[$key], $value, '>=')) {
- $res[strtoupper($key).' Version'] = array('required' => $value, 'found' => $this->versions->found[$key]);
- }
- }
- return $res;
- }
-
- function _display_version_errors() {
- if (isset($_GET['action']) && isset($_GET['plugin']) && ($_GET['action'] == 'error_scrape') && ($_GET['plugin'] == $this->basename )) {
- $this->setup_translation();
- $version_error = $this->_get_version_errors();
- if (count($version_error) != 0) {
- echo "<table>";
- echo "<tr style=\"font-size: 12px;\"><td><strong style=\"border-bottom: 1px solid #000;\">".__('Plugin can not be activated.', $this->textdomain)."</strong></td><td> | ".__('required', $this->textdomain)."</td><td> | ".__('actual', $this->textdomain)."</td></tr>";
- foreach($version_error as $key => $value) {
- echo "<tr style=\"font-size: 12px;\"><td>$key</td><td align=\"center\"> >= <strong>".$value['required']."</strong></td><td align=\"center\"><span style=\"color:#f00;\">".$value['found']."</span></td></tr>";
- }
- echo "</table>";
- }
- }
- }
-
- //load and setup the necessary translation files
- function setup_translation() {
- if (!$this->l10n_ready) {
- $abs_rel_path = str_replace(ABSPATH, '', WP_PLUGIN_DIR.'/'.dirname($this->basename));
- $plugin_rel_path = dirname($this->basename);
- load_plugin_textdomain($this->textdomain, $abs_rel_path, $plugin_rel_path);
- $this->l10n_ready = true;
- }
- }
-
- //is the browser of current user IE ?
- function is_MSIE() {
- return preg_match('/msie/i', $_SERVER['HTTP_USER_AGENT']) && !preg_match('/opera/i', $_SERVER['HTTP_USER_AGENT']);
- }
-
- //do we show a frontend page in preview mode ?
- function is_page_preview() {
- $id = (isset($_GET['preview_id']) ? (int)$_GET['preview_id'] : 0);
- if ($id == 0 && isset($_GET['post_id'])) $id = (int)$_GET['post_id'];
- if ($id == 0 && isset($_GET['page_id'])) $id = (int)$_GET['page_id'];
- if ($id == 0 && isset($_GET['p'])) $id = (int)$_GET['p'];
- $preview = (isset($_GET['preview']) ? $_GET['preview'] : '');
- if ($id > 0 && $preview == 'true' && $this->options->preview_assistent) {
- global $wpdb;
- $type = $wpdb->get_results("SELECT post_type FROM $wpdb->posts WHERE ID=$id");
- if (count($type) && ($type[0]->post_type == 'page' || $type[0]->post_type == 'post')){
- switch($type[0]->post_type) {
- case 'post':
- return current_user_can('edit_post', $id);
- break;
- case 'page':
- return current_user_can('edit_page', $id);
- break;
- default:
- return false;
- break;
- }
- }
- }
- return false;
- }
-
- //detects if we a currently render the posts or pages edit overview table page
- function is_page_overview() {
- global $pagenow;
- return (is_admin() && ($pagenow == 'edit-pages.php' || $pagenow == 'edit.php'));
- }
-
- //detects if we a currently render the posts or pages editor page
- function is_page_editor() {
- global $pagenow;
- return (is_admin() && (
- ($pagenow == 'page.php') || ($pagenow == 'page-new.php')
- ||
- ($pagenow == 'post.php') || ($pagenow == 'post-new.php')
- )
- );
- }
-
- //gets called by WordPress action "init" after WordPress core is up and running
- function on_init() {
- //ensures the correct matching translation file gets loaded
- $this->setup_translation();
-
- $this->page_transitions = array(
- 'cspc-trans-wordpress' => array('img-pos' => 0, 'text' => __('WordPress - Next Page (default)', $this->textdomain), 'default' => true),
- 'cspc-trans-ordinary' => array('img-pos' => -16, 'text' => __('Ordinary Plain Page', $this->textdomain)),
- 'cspc-trans-columns' => array('img-pos' => -32, 'text' => __('Every Sub Page as Column', $this->textdomain)),
- 'cspc-trans-header' => array('img-pos' => -48, 'text' => __('First Sub Page as Header', $this->textdomain)),
- 'cspc-trans-footer' => array('img-pos' => -64, 'text' => __('Last Sub Page as Footer', $this->textdomain)),
- 'cspc-trans-interior' => array('img-pos' => -80, 'text' => __('Interior as Columns', $this->textdomain)),
- );
-
- if ($this->is_page_preview() && !defined('DOING_AJAX')) {
- wp_enqueue_script('jquery-spin', $this->url.'/jquery.spin.js', array('jquery'));
- wp_enqueue_script('cspc_page_columnist_assistance', $this->url.'/page-columnist-assistance.js', array('jquery', 'jquery-ui-draggable', 'jquery-spin'));
- wp_enqueue_style('cspc_page_columnist_assistance', $this->url.'/page-columnist-assistance.css');
- }
-
- if(defined('DOING_AJAX')) {
- add_action('wp_ajax_cspc_save_changes', array(&$this, 'on_ajax_save_changes'));
- }
- }
-
- //gets called by WordPress action "admin_init" to be able to setup correctly in backend mode
- function on_admin_init() {
-
- if ($this->is_page_overview()) {
- add_filter('manage_edit-pages_columns', array(&$this,'on_filter_manage_columns'));
- add_filter('manage_posts_columns', array(&$this,'on_filter_manage_columns'));
- }
-
- if ($this->is_page_editor()) {
- add_meta_box('cspc-page-transitions', __('Page Columnist', $this->textdomain) , array(&$this, 'on_print_metabox_content_cspc_page_transitions'), 'page', 'side', 'core');
- add_meta_box('cspc-page-transitions', __('Page Columnist', $this->textdomain) , array(&$this, 'on_print_metabox_content_cspc_page_transitions'), 'post', 'side', 'core');
- wp_enqueue_script('jquery-spin', $this->url.'/jquery.spin.js', array('jquery'));
- }
- }
-
- //gets called by action "wp_head" to configure the preview assistance
- function on_wp_head() {
- if ($this->is_page_preview()) {
- $id = (isset($_GET['preview_id']) ? (int)$_GET['preview_id'] : 0);
- if ($id == 0 && isset($_GET['post_id'])) $id = (int)$_GET['post_id'];
- if ($id == 0 && isset($_GET['page_id'])) $id = (int)$_GET['page_id'];
- if ($id == 0 && isset($_GET['p'])) $id = (int)$_GET['p'];
- $pt = new Page_columnist_page_transition($this, $id);
- ?>
- <script type="text/javascript">
- var cspc_page_columnist_l10n = {
- adminUrl: '<?php echo admin_url(); ?>',
- pageId: <?php echo $id; ?>,
- imageBasePath: '<?php echo $this->url.'/img/'; ?>'
- };
- </script>
- <?php }
- }
-
- //gets called by WordPress action "wp_footer" to print in preview mode the assistance
- function on_wp_footer() {
- if ($this->is_page_preview()) {
- $id = (isset($_GET['preview_id']) ? (int)$_GET['preview_id'] : 0);
- if ($id == 0 && isset($_GET['post_id'])) $id = (int)$_GET['post_id'];
- if ($id == 0 && isset($_GET['page_id'])) $id = (int)$_GET['page_id'];
- if ($id == 0 && isset($_GET['p'])) $id = (int)$_GET['p'];
- $pt = new Page_columnist_page_transition($this, $id);
- ?>
- <div id="cspc-assist-bar">
- <div id="cspc-assist-bar-content">
- <div class="cspc-section">
- <strong style="font-size: 18px;"><i><a href="http://www.code-styling.de" target="_blank">CodeStyling Project © 2009</a></i></strong>
- </div>
- <div class="cspc-section">
- <input autocomplete="off" id="cspc-columns-sizing" name="cspc-columns-sizing" type="checkbox"><label for="cspc-columns-sizing"><?php _e('enable column resizing', $this->textdomain); ?></label>
- </div>
- <div class="cspc-section">
- <input autocomplete="off" id="cspc-col-spacing" type="text" value="<?php echo (float)$pt->spacing(); ?>" readonly="readonly" style="width:20px;background-color:#fff;color:#000;"/>
- <label> <?php _e('% spacing', $this->textdomain); ?></label>
-
- <input autocomplete="off" id="cspc-default-spacing" name="cspc-default-spacing" type="checkbox"><label for="cspc-default-spacing"><?php _e('default spacing', $this->textdomain); ?></label></input>
-
- <a id="cspc-save-changes" class="cspc-button" href="javascript:void(0);"><?php _e('save changes', $this->textdomain); ?></a>
- </div>
- <div style="clear:left;"> </div>
- </div>
- <div id="cspc-assist-bar-expander"><?php _e('Page Columnist • Assistance', $this->textdomain); ?></div>
- </div>
- <?php }
- }
-
- //gets called by WordPress action "admin_head"
- function on_admin_head() {
- if ($this->is_page_overview() || $this->is_page_editor()) : ?>
- <style type="text/css">
- .cspc-page-table td { font-size: 11px; vertical-align: middle; }
- #cspc-page-definition td { font-size: 11px; vertical-align: middle; }
- #cspc-page-transition-col { width: 56px; }
- .cspc-page-transition-row { width: 30px; height: 16px; padding-left:16px; }
- .cspc-page-transition-box { padding: 0px 3px 3px 18px; line-height: 18px; white-space: nowrap; }
- *:first-child + html #cspc-page-transitions input { margin-top: -3px; margin-left: 0xp;} /* IE fix */
- *:first-child + html #cspc-page-transitions p { margin: 3px; }
- #cspc-default-column-spacing { font-size:12px;width:26px;background-color:#fff;color:#000;height:19px; padding: 1px 0px 2px 1px; line-height:15px;} /* border: solid 1px #000; line-height:15px;}*/
- *:first-child + html #cspc-default-column-spacing, html:first-child>b\ody #cspc-default-column-spacing { height: 15px; } /* IE and Opera */
- <?php foreach($this->page_transitions as $key => $val) : ?>
- .<?php echo $key; ?> { background: transparent url(<?php echo $this->url.'/states.png'; ?>) no-repeat left <?php echo $val['img-pos']; ?>px; }
- <?php endforeach; ?>
- </style>
- <?php if ($this->is_page_editor()) : ?>
- <script type="text/javascript">
- jQuery(document).ready(function(){
- jQuery('#cspc-default-column-spacing').spin({max:10,min:0,imageBasePath: '<?php echo $this->url.'/img/'; ?>', interval: 0.5 });
- });
- </script>
- <?php endif; ?>
- <?php endif;
- }
-
- //insert the nextpage button to TinyMCE button bar if it's not already there
- function on_filter_mce_buttons($buttons) {
- if ($this->is_page_editor()) {
- if (!in_array('wp_page', $buttons)) {
- if (!in_array('wp_more', $buttons)) {
- $last = array_pop($buttons);
- $buttons[] = "wp_page";
- $buttons[] = $last;
- }else{
- $txt = implode('|', $buttons);
- $txt = str_replace('wp_more|','wp_more|wp_page|', $txt);
- $buttons = explode('|', $txt);
- }
- }
- }
- return $buttons;
- }
-
- //insert nextpage button to HTML editor, if not already present there
- function on_extend_html_editor() {
- if ($this->is_page_editor()) : ?>
- <script type="text/javascript">
- //<![CDATA[
- jQuery(document).ready(function() {
- if (!jQuery("#ed_next").length) {
- content = '<input id="ed_next" class="ed_button" type="button" value="<?php _e('nextpage',$this->textdomain); ?>" title="<?php _e('insert Page break', $this->textdomain); ?>" onclick="edInsertContent(edCanvas, \'<!--nextpage-->\');" accesskey="t" />';
- jQuery("#ed_toolbar").append(content);
- }
- });
- //]]>
- </script>
- <?php endif;
- }
-
- //append a custom column at edit posts/pages overview
- function on_filter_manage_columns($columns) {
- $columns['cspc-page-transition-col'] = __('Cols', $this->textdomain);
- return $columns;
- }
-
- //add content to the new edit posts / pages overview column
- function on_manage_custom_column($column_name, $id) {
- if ($column_name == 'cspc-page-transition-col') {
- $pt = new Page_columnist_page_transition($this, $id);
- if ($pt->transition != 'cspc-trans-wordpress' && $pt->transition != 'cspc-trans-ordinary') {
- echo "<div class=\"cspc-page-transition-row $pt->transition\"> (".$pt->columns().")</div>";
- }
- else{
- echo "<div class=\"cspc-page-transition-row $pt->transition\"> (-)</div>";
- }
- }
- }
-
- //save the page transition mode setting of page/post, if something has been saved
- function on_wp_insert_post($post_ID, $post) {
- $my_id = ((isset($_POST['wp-preview']) && $_POST['wp-preview'] == 'dopreview') ? $_POST['post_ID'] : $post_ID);
- $my_type = ((isset($_POST['wp-preview']) && $_POST['wp-preview'] == 'dopreview') ? $_POST['post_type'] : $post->post_type);
-
- switch($my_type) {
- case 'post':
- if(!current_user_can('edit_post', $my_id)) return;
- break;
- case 'page':
- if (!current_user_can('edit_page', $my_id)) return;
- break;
- default:
- return;
- break;
- }
-
- if (($my_type == 'page') || ($my_type == 'post')) {
-
- $pt = new Page_columnist_page_transition($this, $my_id);
- $pt->update_and_save();
-
- $this->options->preview_assistent = (isset($_POST['cspc-preview-assistent']) ? (bool)$_POST['cspc-preview-assistent'] : $this->defaults->preview_assistent);
- $this->options->spacing = (isset($_POST['cspc-default-column-spacing']) ? (float)$_POST['cspc-default-column-spacing'] : $this->defaults->spacing);
- update_option('cspc_page_columnist', $this->options);
- }
- }
-
- //save the changes the user made at preview assistent
- function on_ajax_save_changes() {
- $page_id = (int)$_POST['page_id'];
- $spacing = (float)$_POST['spacing'];
- $default_spacing = ($_POST['default_spacing'] == 'true' ? true : false);
-
- global $wpdb;
- $type = $wpdb->get_results("SELECT post_type FROM $wpdb->posts WHERE ID=$page_id");
- if (count($type) && ($type[0]->post_type == 'page' || $type[0]->post_type == 'post')){
- $checked = false;
- switch($type[0]->post_type) {
- case 'post':
- $checked = current_user_can('edit_post', $page_id);
- break;
- case 'page':
- $checked = current_user_can('edit_page', $page_id);
- break;
- default:
- $checked = false;
- break;
- }
- if ($checked) {
- $pt = new Page_columnist_page_transition($this, $page_id);
- $pt->data['spacing'] = $spacing;
- if (!is_array($pt->data['distribution'])) $pt->data['distribution'] = array();
- $pt->data['distribution'][$pt->columns()] = explode('|',$_POST['distribution']);
- $pt->save();
- if ($default_spacing) {
- $this->options->spacing = $spacing;
- update_option('cspc_page_columnist', $this->options);
- }
- exit();
- }
- }
- header('Status: 404 Not Found');
- header('HTTP/1.1 404 Not Found');
- _e('You do not have the permission to edit this page.', $this->textdomain);
- exit();
- }
-
-
- //ouput the content of new one sidebar box at page/post editing
- function on_print_metabox_content_cspc_page_transitions($data) {
- $pt = new Page_columnist_page_transition($this, $data->ID); ?>
- <div style="margin-bottom:5px; border-bottom: dotted 1px #999; padding: 5px 0px;vertical-align:top;">
- <table class="cspc-page-table">
- <tr>
- <td><input id="cspc-default-column-spacing" name="cspc-default-column-spacing" type="text" value="<?php echo $this->options->spacing; ?>" readonly="readonly" autocomplete="off"/></td>
- <td> <label for="cspc-default-column-spacing"><?php _e('% column default spacing', $this->textdomain); ?></label><td>
- </tr>
- </table>
- </div>
- <div>
- <table class="cspc-page-table">
- <?php
- foreach($this->page_transitions as $type => $val) : ?>
- <tr><td>
- <input id="<?php echo $type; ?>" type="radio" name="cspc-page-transition" value="<?php echo $type; ?>" <?php if($type == $pt->transition) echo 'checked="checked"'; ?>/>
- </td>
- <td>
- <label for="<?php echo $type; ?>" class="cspc-page-transition-box <?php echo $type; ?>"><?php echo $val['text']; ?></label>
- </td></tr>
- <?php endforeach; ?>
- </table>
- </div>
- <table id="cspc-page-definition" style="margin-top:5px; border-top: dotted 1px #999; padding: 5px 0px;table-layout:fixed;" width="100%" cellspacing="5px">
- <tr>
- <td width="30%"><?php _e('spacing:', $this->textdomain); ?></td><td width="70%"><strong><?php echo $pt->spacing(); ?> %</strong></td>
- </tr>
- <tr>
- <td><?php _e('columns:', $this->textdomain); ?></td>
- <td>
- <?php for($i=2;$i<7; $i++) { ?>
- <input id="cspc-count-columns-<?php echo $i; ?>" name="cspc-count-columns" type="radio" value="<?php echo $i; ?>" autocomplete="off" <?php if ($pt->columns() == $i) echo 'checked="checked" '; ?>><?php echo $i; ?></input>
- <?php } ?>
- </td>
- </tr>
- <tr>
- <td style="vertical-align:top;"><?php _e('overflow:', $this->textdomain); ?></td>
- <td>
- <input id="cspc-overflow-hidden" name="cspc-overflow-paging" type="radio" value="hidden" <?php if ($pt->overflow() == 'hidden') echo 'checked="checked"'; ?> autocomplete="off"><?php _e('hide too much columns', $this->textdomain); ?></input><br/>
- <input id="cspc-overflow-virtual" name="cspc-overflow-paging" type="radio" value="virtual" <?php if ($pt->overflow() == 'virtual') echo 'checked="checked"'; ?> autocomplete="off"/><?php _e('generate virtual pages', $this->textdomain); ?></input>
- <td>
- </tr>
- <?php if ($this->versions->above_27) : ?>
- <tr>
- <td style="vertical-align:top;"><?php _e('at overview pages:', $this->textdomain); ?></td>
- <td>
- <input id="cspc-multiposts-same" name="cspc-multiposts-paging" type="radio" value="same" <?php if ($pt->multiposts() == 'same') echo 'checked="checked"'; ?> autocomplete="off"><?php _e('same as single pages', $this->textdomain); ?></input><br/>
- <input id="cspc-multiposts-wp" name="cspc-multiposts-paging" type="radio" value="wp" <?php if ($pt->multiposts() == 'wp') echo 'checked="checked"'; ?> autocomplete="off"/><?php _e('pagination', $this->textdomain); ?></input><br/>
- <input id="cspc-multiposts-flat" name="cspc-multiposts-paging" type="radio" value="flat" <?php if ($pt->multiposts() == 'flat') echo 'checked="checked"'; ?> autocomplete="off"/><?php _e('render flat single content', $this->textdomain); ?></input>
- <td>
- </tr>
- <?php endif; ?>
- </table>
- <div style="margin-top:5px; border-top: dotted 1px #999; padding: 5px 0px;">
- <table class="cspc-page-table">
- <tr>
- <td><input id="cspc-preview-assistent" name="cspc-preview-assistent" type="checkbox" <?php if($this->options->preview_assistent) echo 'checked="checked"'; ?>/></td>
- <td><label for="cspc-preview-assistent"> <?php _e('enable Assistance at Preview', $this->textdomain); ?></label></td>
- </tr>
- </table>
- </div>
- <?php
- }
-
- //restructure the current page to meet the user configured column layout
- function resample_page_content() {
- global $post, $id, $page, $pages, $multipage, $numpages;
-
- $pt = new Page_columnist_page_transition($this, $post->ID);
- //user can change overview pages to support also columnization, default is off
- if (!is_single()) {
- switch($pt->multiposts()) {
- case 'wp':
- $pt->transition = $this->page_default_trans;
- break;
- case 'flat':
- $pt->transition = 'cspc-trans-ordinary';
- break;
- }
- }
- if($pt->transition == $this->page_default_trans) return;
- $pages = $pt->execute($pages);
-
- if (count($pages) > 1) {
- $multipage = 1;
- $numpages = count($pages);
- }
- else{
- $multipage = 0;
- $numpages = 1;
- }
-
-/*
- //TODO: future versions should check ugly invalid <p> based at shortcode api if possible
- if (has_filter('the_content', 'wpautop')) {
- preg_match('/'.get_shortcode_regex().'(\s\s|)/', $pages[0],$hits);
- var_dump($hits);
- }
-*/
- }
-
- //beginning WP 2.8 the order of how hooks been called have been change
- //that's why the handling of resampling the page if different for 2.7 and 2.8, this have to be respected
- function on_the_post() {
- if ($this->versions->above_27) {
- $this->resample_page_content();
- }
- }
-
- //beginning WP 2.8 the order of how hooks been called have been change
- //that's why the handling of resampling the page if different for 2.7 and 2.8, this have to be respected
- function on_loop_start() {
- if ($this->versions->above_27 == false) {
- if (is_page() || is_single()) {
- $this->resample_page_content();
- }
- }
- }
-
- //if we are in none standard page mode, ensure a redirect to main page slug, if sub-page has been requested directly and doesn't support virtual paging
- function on_template_redirect(){
- global $post, $page;
- if ($post->post_type == 'page' || $post->post_type == 'post') {
- $pt = new Page_columnist_page_transition($this, $post->ID);
- if (($pt->transition != $this->page_default_trans) && $page && $pt->overflow() == 'hidden') {
- wp_redirect(get_permalink($post->ID));
- exit();
- }
- }
- }
-
-}
-
-//nothing more remains to do as to create an instance of the plugin itself :-)
-global $page_columnist_plug;
-$page_columnist_plug = new Plugin_page_columnist();
-
-}// if !function_exists('cspc_on_activate_plugin')) {
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/page-columnist/readme.txt Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,110 +0,0 @@
-=== Page Columnist ===
-Contributors: codestyling
-Tags: pages, posts, columns, magazin, style, theming, plugin
-Requires at least: 2.7
-Tested up to: 3.1.3
-Stable tag: 1.7.3
-
-The behavior of single posts or static pages can be re-interpreted as columns and customized as usual.
-
-== Description ==
-
-This plugin allows you easily to get WordPress single posts/pages content to be shown automatically in a column based layout.
-Various modes can be choosen, if you want to support additional header/footer appearances too.
-This also includes possible different handling of paged posts/pages as the default WordPress implementation does.
-Also an extended user interface (Admin Center Extension) supports click 'n ready usage.
-**New**: Starting with version 1.5.5 the plugin has been extended to be able to support also single posts. Prior versions did only support static pages.
-**New**: Starting with version 1.7.0 the plugin supports now RTL column sorting, if current language is RTL based. Additionally the plugin now supports columnization also at overview pages. This can be configured for each post/page.
-
-= Preview Assistance =
-1st step of Preview Assistance has been introduced as started feature, but some comming things are disabled.
-Nevertheless you can adjust the column distribution (width of columns) by moving the spacer between by drag'n drop.
-Each page remembers this setting after saving. To get back equalized default column sizes, just tick up/down the spacing spin.
-
-= Virtual Paging vs. Overflow Hidden =
-Pages can now be defined only between 2 and 6 columns, but i think this may be enough even for fluid designs.
-It's up to you what should happen to nextpage sections that are too much for one page. By default they will be hidden.
-But you can force also virtual paging, so the overflowing sections build again one (or more) sub page at the same layout.
-If the number of sections is to small for choosen layout, you will get a red warning for each "missing content".
-
-
-= Requirements =
-1. WordPress version 2.7 and later
-1. PHP Interpreter version 4.4.2 or later
-
-Please visit [the official website](http://www.code-styling.de/english/development/wordpress-plugin-page-columnist-en "Page Columnist") for further details, documentation and the latest information on this plugin.
-You can also visit the new [demonstration page](http://www.code-styling.de/english/development/wordpress-plugin-page-columnist-en/demonstration-page-columnist "Page Columnist Demo") to get a first impression, what you can expect.
-
-== Installation ==
-
-1. Uncompress the download package
-1. Upload folder including all files and sub directories to the `/wp-content/plugins/` directory.
-1. Activate the plugin through the 'Plugins' menu in WordPress
-1. Navigate to your pages overview and enjoy page configurations
-
-== Changelog ==
-
-= Version 1.7.3 =
-* Bugfix: adjusting percentage columns in preview failed by new jQuery versions.
-* Bugfix: WordPress admin bar detection in preview mode to show assistant correctly
-
-= Version 1.7.2 =
-* Bugfix: activation procedure changed in WP 3.0 so older versions may crash.
-
-= Version 1.7.1 =
-* Feature: behavior at overview pages can now be set specific per page/post too (defaults to same as single page)
-* Bugfix: detection of supported versions and warning attached
-* Bugfix: filter priority increased
-
-= Version 1.7.0 =
-* Feature: supports now RTL language dependend column order
-* Feature: for WordPress versions greated than 2.7 it's now possible to display columns at overview pages (categories/archives) too.
-* Bugfix: debugging mode works without any side effects
-* Bugfix: new post/page creation not longer falls back to 0% column width
-* Bugfix: errors with loading translations
-
-= Version 1.6.0 =
-* SVN error: WordPress Plugin Repository did only refresh the description but not the download!
-
-= Version 1.5.5 =
-* Feature: only one javascript file necessary for different jQuery versions (includes hotfix handling inside)
-* Feature: With this version not longer only pages can be columnized but also single posts !
-
-= Version 1.3.0 =
-* Extension: WordPress Version 2.8 introduces a modified order to call loop hooks, so the content resampling did not affect the output.
-* Bugfix: jQuery Version changed at WP 2.8 has damaged preview assistance scripts, 2 different java scripts necessary now
-
-= Version 1.2.0 =
-* Browser Bugs especially at IE percentual calculations have been worked arround.
-* Feature: dedicated layout definition
-* Feature: drag 'n drop columns sizing
-* Feature: virtual layout paging and hidden overflow support
-
-= Version 1.1.6 / 1.1.7 / 1.1.8 =
-* wordpress.org svn damaged some files!
-
-= Version 1.1.5 =
-* Security Bugfix: it was possible with enough investigation to change layout externally
-* Bugfix: IE doesn't calculate correctly with a higher number of columns
-* Bugfix: Preview doesn't show the selected layout but shown after Saving Page
-* Feature: Preview Assistance introduced
-(Because of security fix the features still in development are not all included. Only the column spacing modification per page and global are working.)
-
-= Version 1.0 =
-* initial version
-
-
-== Frequently Asked Questions ==
-= History? =
-Please visit [the official website](http://www.code-styling.de/english/development/wordpress-plugin-page-columnist-en "Page Columnist") for the latest information on this plugin.
-
-= Where can I get more information? =
-Please visit [the official website](http://www.code-styling.de/english/development/wordpress-plugin-page-columnist-en "Page Columnist") for the latest information on this plugin.
-
-
-== Screenshots ==
-1. admin center page editor integration
-1. onpage preview assistance and editor
-1. virtual layout based paging
-1. page overview column type information
-
Binary file wp/wp-content/plugins/page-columnist/screenshot-1.png has changed
Binary file wp/wp-content/plugins/page-columnist/screenshot-2.png has changed
Binary file wp/wp-content/plugins/page-columnist/screenshot-3.png has changed
Binary file wp/wp-content/plugins/page-columnist/screenshot-4.png has changed
Binary file wp/wp-content/plugins/page-columnist/states.png has changed
--- a/wp/wp-content/plugins/wordpress-importer/parsers.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,698 +0,0 @@
-<?php
-/**
- * WordPress eXtended RSS file parser implementations
- *
- * @package WordPress
- * @subpackage Importer
- */
-
-/**
- * WordPress Importer class for managing parsing of WXR files.
- */
-class WXR_Parser {
- function parse( $file ) {
- // Attempt to use proper XML parsers first
- if ( extension_loaded( 'simplexml' ) ) {
- $parser = new WXR_Parser_SimpleXML;
- $result = $parser->parse( $file );
-
- // If SimpleXML succeeds or this is an invalid WXR file then return the results
- if ( ! is_wp_error( $result ) || 'SimpleXML_parse_error' != $result->get_error_code() )
- return $result;
- } else if ( extension_loaded( 'xml' ) ) {
- $parser = new WXR_Parser_XML;
- $result = $parser->parse( $file );
-
- // If XMLParser succeeds or this is an invalid WXR file then return the results
- if ( ! is_wp_error( $result ) || 'XML_parse_error' != $result->get_error_code() )
- return $result;
- }
-
- // We have a malformed XML file, so display the error and fallthrough to regex
- if ( isset($result) && defined('IMPORT_DEBUG') && IMPORT_DEBUG ) {
- echo '<pre>';
- if ( 'SimpleXML_parse_error' == $result->get_error_code() ) {
- foreach ( $result->get_error_data() as $error )
- echo $error->line . ':' . $error->column . ' ' . esc_html( $error->message ) . "\n";
- } else if ( 'XML_parse_error' == $result->get_error_code() ) {
- $error = $result->get_error_data();
- echo $error[0] . ':' . $error[1] . ' ' . esc_html( $error[2] );
- }
- echo '</pre>';
- echo '<p><strong>' . __( 'There was an error when reading this WXR file', 'wordpress-importer' ) . '</strong><br />';
- echo __( 'Details are shown above. The importer will now try again with a different parser...', 'wordpress-importer' ) . '</p>';
- }
-
- // use regular expressions if nothing else available or this is bad XML
- $parser = new WXR_Parser_Regex;
- return $parser->parse( $file );
- }
-}
-
-/**
- * WXR Parser that makes use of the SimpleXML PHP extension.
- */
-class WXR_Parser_SimpleXML {
- function parse( $file ) {
- $authors = $posts = $categories = $tags = $terms = array();
-
- $internal_errors = libxml_use_internal_errors(true);
-
- $dom = new DOMDocument;
- $old_value = null;
- if ( function_exists( 'libxml_disable_entity_loader' ) ) {
- $old_value = libxml_disable_entity_loader( true );
- }
- $success = $dom->loadXML( file_get_contents( $file ) );
- if ( ! is_null( $old_value ) ) {
- libxml_disable_entity_loader( $old_value );
- }
-
- if ( ! $success || isset( $dom->doctype ) ) {
- return new WP_Error( 'SimpleXML_parse_error', __( 'There was an error when reading this WXR file', 'wordpress-importer' ), libxml_get_errors() );
- }
-
- $xml = simplexml_import_dom( $dom );
- unset( $dom );
-
- // halt if loading produces an error
- if ( ! $xml )
- return new WP_Error( 'SimpleXML_parse_error', __( 'There was an error when reading this WXR file', 'wordpress-importer' ), libxml_get_errors() );
-
- $wxr_version = $xml->xpath('/rss/channel/wp:wxr_version');
- if ( ! $wxr_version )
- return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wordpress-importer' ) );
-
- $wxr_version = (string) trim( $wxr_version[0] );
- // confirm that we are dealing with the correct file format
- if ( ! preg_match( '/^\d+\.\d+$/', $wxr_version ) )
- return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wordpress-importer' ) );
-
- $base_url = $xml->xpath('/rss/channel/wp:base_site_url');
- $base_url = (string) trim( $base_url[0] );
-
- $namespaces = $xml->getDocNamespaces();
- if ( ! isset( $namespaces['wp'] ) )
- $namespaces['wp'] = 'http://wordpress.org/export/1.1/';
- if ( ! isset( $namespaces['excerpt'] ) )
- $namespaces['excerpt'] = 'http://wordpress.org/export/1.1/excerpt/';
-
- // grab authors
- foreach ( $xml->xpath('/rss/channel/wp:author') as $author_arr ) {
- $a = $author_arr->children( $namespaces['wp'] );
- $login = (string) $a->author_login;
- $authors[$login] = array(
- 'author_id' => (int) $a->author_id,
- 'author_login' => $login,
- 'author_email' => (string) $a->author_email,
- 'author_display_name' => (string) $a->author_display_name,
- 'author_first_name' => (string) $a->author_first_name,
- 'author_last_name' => (string) $a->author_last_name
- );
- }
-
- // grab cats, tags and terms
- foreach ( $xml->xpath('/rss/channel/wp:category') as $term_arr ) {
- $t = $term_arr->children( $namespaces['wp'] );
- $category = array(
- 'term_id' => (int) $t->term_id,
- 'category_nicename' => (string) $t->category_nicename,
- 'category_parent' => (string) $t->category_parent,
- 'cat_name' => (string) $t->cat_name,
- 'category_description' => (string) $t->category_description
- );
-
- foreach ( $t->termmeta as $meta ) {
- $category['termmeta'][] = array(
- 'key' => (string) $meta->meta_key,
- 'value' => (string) $meta->meta_value
- );
- }
-
- $categories[] = $category;
- }
-
- foreach ( $xml->xpath('/rss/channel/wp:tag') as $term_arr ) {
- $t = $term_arr->children( $namespaces['wp'] );
- $tag = array(
- 'term_id' => (int) $t->term_id,
- 'tag_slug' => (string) $t->tag_slug,
- 'tag_name' => (string) $t->tag_name,
- 'tag_description' => (string) $t->tag_description
- );
-
- foreach ( $t->termmeta as $meta ) {
- $tag['termmeta'][] = array(
- 'key' => (string) $meta->meta_key,
- 'value' => (string) $meta->meta_value
- );
- }
-
- $tags[] = $tag;
- }
-
- foreach ( $xml->xpath('/rss/channel/wp:term') as $term_arr ) {
- $t = $term_arr->children( $namespaces['wp'] );
- $term = array(
- 'term_id' => (int) $t->term_id,
- 'term_taxonomy' => (string) $t->term_taxonomy,
- 'slug' => (string) $t->term_slug,
- 'term_parent' => (string) $t->term_parent,
- 'term_name' => (string) $t->term_name,
- 'term_description' => (string) $t->term_description
- );
-
- foreach ( $t->termmeta as $meta ) {
- $term['termmeta'][] = array(
- 'key' => (string) $meta->meta_key,
- 'value' => (string) $meta->meta_value
- );
- }
-
- $terms[] = $term;
- }
-
- // grab posts
- foreach ( $xml->channel->item as $item ) {
- $post = array(
- 'post_title' => (string) $item->title,
- 'guid' => (string) $item->guid,
- );
-
- $dc = $item->children( 'http://purl.org/dc/elements/1.1/' );
- $post['post_author'] = (string) $dc->creator;
-
- $content = $item->children( 'http://purl.org/rss/1.0/modules/content/' );
- $excerpt = $item->children( $namespaces['excerpt'] );
- $post['post_content'] = (string) $content->encoded;
- $post['post_excerpt'] = (string) $excerpt->encoded;
-
- $wp = $item->children( $namespaces['wp'] );
- $post['post_id'] = (int) $wp->post_id;
- $post['post_date'] = (string) $wp->post_date;
- $post['post_date_gmt'] = (string) $wp->post_date_gmt;
- $post['comment_status'] = (string) $wp->comment_status;
- $post['ping_status'] = (string) $wp->ping_status;
- $post['post_name'] = (string) $wp->post_name;
- $post['status'] = (string) $wp->status;
- $post['post_parent'] = (int) $wp->post_parent;
- $post['menu_order'] = (int) $wp->menu_order;
- $post['post_type'] = (string) $wp->post_type;
- $post['post_password'] = (string) $wp->post_password;
- $post['is_sticky'] = (int) $wp->is_sticky;
-
- if ( isset($wp->attachment_url) )
- $post['attachment_url'] = (string) $wp->attachment_url;
-
- foreach ( $item->category as $c ) {
- $att = $c->attributes();
- if ( isset( $att['nicename'] ) )
- $post['terms'][] = array(
- 'name' => (string) $c,
- 'slug' => (string) $att['nicename'],
- 'domain' => (string) $att['domain']
- );
- }
-
- foreach ( $wp->postmeta as $meta ) {
- $post['postmeta'][] = array(
- 'key' => (string) $meta->meta_key,
- 'value' => (string) $meta->meta_value
- );
- }
-
- foreach ( $wp->comment as $comment ) {
- $meta = array();
- if ( isset( $comment->commentmeta ) ) {
- foreach ( $comment->commentmeta as $m ) {
- $meta[] = array(
- 'key' => (string) $m->meta_key,
- 'value' => (string) $m->meta_value
- );
- }
- }
-
- $post['comments'][] = array(
- 'comment_id' => (int) $comment->comment_id,
- 'comment_author' => (string) $comment->comment_author,
- 'comment_author_email' => (string) $comment->comment_author_email,
- 'comment_author_IP' => (string) $comment->comment_author_IP,
- 'comment_author_url' => (string) $comment->comment_author_url,
- 'comment_date' => (string) $comment->comment_date,
- 'comment_date_gmt' => (string) $comment->comment_date_gmt,
- 'comment_content' => (string) $comment->comment_content,
- 'comment_approved' => (string) $comment->comment_approved,
- 'comment_type' => (string) $comment->comment_type,
- 'comment_parent' => (string) $comment->comment_parent,
- 'comment_user_id' => (int) $comment->comment_user_id,
- 'commentmeta' => $meta,
- );
- }
-
- $posts[] = $post;
- }
-
- return array(
- 'authors' => $authors,
- 'posts' => $posts,
- 'categories' => $categories,
- 'tags' => $tags,
- 'terms' => $terms,
- 'base_url' => $base_url,
- 'version' => $wxr_version
- );
- }
-}
-
-/**
- * WXR Parser that makes use of the XML Parser PHP extension.
- */
-class WXR_Parser_XML {
- var $wp_tags = array(
- 'wp:post_id', 'wp:post_date', 'wp:post_date_gmt', 'wp:comment_status', 'wp:ping_status', 'wp:attachment_url',
- 'wp:status', 'wp:post_name', 'wp:post_parent', 'wp:menu_order', 'wp:post_type', 'wp:post_password',
- 'wp:is_sticky', 'wp:term_id', 'wp:category_nicename', 'wp:category_parent', 'wp:cat_name', 'wp:category_description',
- 'wp:tag_slug', 'wp:tag_name', 'wp:tag_description', 'wp:term_taxonomy', 'wp:term_parent',
- 'wp:term_name', 'wp:term_description', 'wp:author_id', 'wp:author_login', 'wp:author_email', 'wp:author_display_name',
- 'wp:author_first_name', 'wp:author_last_name',
- );
- var $wp_sub_tags = array(
- 'wp:comment_id', 'wp:comment_author', 'wp:comment_author_email', 'wp:comment_author_url',
- 'wp:comment_author_IP', 'wp:comment_date', 'wp:comment_date_gmt', 'wp:comment_content',
- 'wp:comment_approved', 'wp:comment_type', 'wp:comment_parent', 'wp:comment_user_id',
- );
-
- function parse( $file ) {
- $this->wxr_version = $this->in_post = $this->cdata = $this->data = $this->sub_data = $this->in_tag = $this->in_sub_tag = false;
- $this->authors = $this->posts = $this->term = $this->category = $this->tag = array();
-
- $xml = xml_parser_create( 'UTF-8' );
- xml_parser_set_option( $xml, XML_OPTION_SKIP_WHITE, 1 );
- xml_parser_set_option( $xml, XML_OPTION_CASE_FOLDING, 0 );
- xml_set_object( $xml, $this );
- xml_set_character_data_handler( $xml, 'cdata' );
- xml_set_element_handler( $xml, 'tag_open', 'tag_close' );
-
- if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
- $current_line = xml_get_current_line_number( $xml );
- $current_column = xml_get_current_column_number( $xml );
- $error_code = xml_get_error_code( $xml );
- $error_string = xml_error_string( $error_code );
- return new WP_Error( 'XML_parse_error', 'There was an error when reading this WXR file', array( $current_line, $current_column, $error_string ) );
- }
- xml_parser_free( $xml );
-
- if ( ! preg_match( '/^\d+\.\d+$/', $this->wxr_version ) )
- return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wordpress-importer' ) );
-
- return array(
- 'authors' => $this->authors,
- 'posts' => $this->posts,
- 'categories' => $this->category,
- 'tags' => $this->tag,
- 'terms' => $this->term,
- 'base_url' => $this->base_url,
- 'version' => $this->wxr_version
- );
- }
-
- function tag_open( $parse, $tag, $attr ) {
- if ( in_array( $tag, $this->wp_tags ) ) {
- $this->in_tag = substr( $tag, 3 );
- return;
- }
-
- if ( in_array( $tag, $this->wp_sub_tags ) ) {
- $this->in_sub_tag = substr( $tag, 3 );
- return;
- }
-
- switch ( $tag ) {
- case 'category':
- if ( isset($attr['domain'], $attr['nicename']) ) {
- $this->sub_data['domain'] = $attr['domain'];
- $this->sub_data['slug'] = $attr['nicename'];
- }
- break;
- case 'item': $this->in_post = true;
- case 'title': if ( $this->in_post ) $this->in_tag = 'post_title'; break;
- case 'guid': $this->in_tag = 'guid'; break;
- case 'dc:creator': $this->in_tag = 'post_author'; break;
- case 'content:encoded': $this->in_tag = 'post_content'; break;
- case 'excerpt:encoded': $this->in_tag = 'post_excerpt'; break;
-
- case 'wp:term_slug': $this->in_tag = 'slug'; break;
- case 'wp:meta_key': $this->in_sub_tag = 'key'; break;
- case 'wp:meta_value': $this->in_sub_tag = 'value'; break;
- }
- }
-
- function cdata( $parser, $cdata ) {
- if ( ! trim( $cdata ) )
- return;
-
- if ( false !== $this->in_tag || false !== $this->in_sub_tag ) {
- $this->cdata .= $cdata;
- } else {
- $this->cdata .= trim( $cdata );
- }
- }
-
- function tag_close( $parser, $tag ) {
- switch ( $tag ) {
- case 'wp:comment':
- unset( $this->sub_data['key'], $this->sub_data['value'] ); // remove meta sub_data
- if ( ! empty( $this->sub_data ) )
- $this->data['comments'][] = $this->sub_data;
- $this->sub_data = false;
- break;
- case 'wp:commentmeta':
- $this->sub_data['commentmeta'][] = array(
- 'key' => $this->sub_data['key'],
- 'value' => $this->sub_data['value']
- );
- break;
- case 'category':
- if ( ! empty( $this->sub_data ) ) {
- $this->sub_data['name'] = $this->cdata;
- $this->data['terms'][] = $this->sub_data;
- }
- $this->sub_data = false;
- break;
- case 'wp:postmeta':
- if ( ! empty( $this->sub_data ) )
- $this->data['postmeta'][] = $this->sub_data;
- $this->sub_data = false;
- break;
- case 'item':
- $this->posts[] = $this->data;
- $this->data = false;
- break;
- case 'wp:category':
- case 'wp:tag':
- case 'wp:term':
- $n = substr( $tag, 3 );
- array_push( $this->$n, $this->data );
- $this->data = false;
- break;
- case 'wp:author':
- if ( ! empty($this->data['author_login']) )
- $this->authors[$this->data['author_login']] = $this->data;
- $this->data = false;
- break;
- case 'wp:base_site_url':
- $this->base_url = $this->cdata;
- break;
- case 'wp:wxr_version':
- $this->wxr_version = $this->cdata;
- break;
-
- default:
- if ( $this->in_sub_tag ) {
- $this->sub_data[$this->in_sub_tag] = ! empty( $this->cdata ) ? $this->cdata : '';
- $this->in_sub_tag = false;
- } else if ( $this->in_tag ) {
- $this->data[$this->in_tag] = ! empty( $this->cdata ) ? $this->cdata : '';
- $this->in_tag = false;
- }
- }
-
- $this->cdata = false;
- }
-}
-
-/**
- * WXR Parser that uses regular expressions. Fallback for installs without an XML parser.
- */
-class WXR_Parser_Regex {
- var $authors = array();
- var $posts = array();
- var $categories = array();
- var $tags = array();
- var $terms = array();
- var $base_url = '';
-
- function __construct() {
- $this->has_gzip = is_callable( 'gzopen' );
- }
-
- function parse( $file ) {
- $wxr_version = $in_multiline = false;
-
- $multiline_content = '';
-
- $multiline_tags = array(
- 'item' => array( 'posts', array( $this, 'process_post' ) ),
- 'wp:category' => array( 'categories', array( $this, 'process_category' ) ),
- 'wp:tag' => array( 'tags', array( $this, 'process_tag' ) ),
- 'wp:term' => array( 'terms', array( $this, 'process_term' ) ),
- );
-
- $fp = $this->fopen( $file, 'r' );
- if ( $fp ) {
- while ( ! $this->feof( $fp ) ) {
- $importline = rtrim( $this->fgets( $fp ) );
-
- if ( ! $wxr_version && preg_match( '|<wp:wxr_version>(\d+\.\d+)</wp:wxr_version>|', $importline, $version ) )
- $wxr_version = $version[1];
-
- if ( false !== strpos( $importline, '<wp:base_site_url>' ) ) {
- preg_match( '|<wp:base_site_url>(.*?)</wp:base_site_url>|is', $importline, $url );
- $this->base_url = $url[1];
- continue;
- }
-
- if ( false !== strpos( $importline, '<wp:author>' ) ) {
- preg_match( '|<wp:author>(.*?)</wp:author>|is', $importline, $author );
- $a = $this->process_author( $author[1] );
- $this->authors[$a['author_login']] = $a;
- continue;
- }
-
- foreach ( $multiline_tags as $tag => $handler ) {
- // Handle multi-line tags on a singular line
- if ( preg_match( '|<' . $tag . '>(.*?)</' . $tag . '>|is', $importline, $matches ) ) {
- $this->{$handler[0]}[] = call_user_func( $handler[1], $matches[1] );
-
- } elseif ( false !== ( $pos = strpos( $importline, "<$tag>" ) ) ) {
- // Take note of any content after the opening tag
- $multiline_content = trim( substr( $importline, $pos + strlen( $tag ) + 2 ) );
-
- // We don't want to have this line added to `$is_multiline` below.
- $importline = '';
- $in_multiline = $tag;
-
- } elseif ( false !== ( $pos = strpos( $importline, "</$tag>" ) ) ) {
- $in_multiline = false;
- $multiline_content .= trim( substr( $importline, 0, $pos ) );
-
- $this->{$handler[0]}[] = call_user_func( $handler[1], $multiline_content );
- }
- }
-
- if ( $in_multiline && $importline ) {
- $multiline_content .= $importline . "\n";
- }
- }
-
- $this->fclose($fp);
- }
-
- if ( ! $wxr_version )
- return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wordpress-importer' ) );
-
- return array(
- 'authors' => $this->authors,
- 'posts' => $this->posts,
- 'categories' => $this->categories,
- 'tags' => $this->tags,
- 'terms' => $this->terms,
- 'base_url' => $this->base_url,
- 'version' => $wxr_version
- );
- }
-
- function get_tag( $string, $tag ) {
- preg_match( "|<$tag.*?>(.*?)</$tag>|is", $string, $return );
- if ( isset( $return[1] ) ) {
- if ( substr( $return[1], 0, 9 ) == '<![CDATA[' ) {
- if ( strpos( $return[1], ']]]]><![CDATA[>' ) !== false ) {
- preg_match_all( '|<!\[CDATA\[(.*?)\]\]>|s', $return[1], $matches );
- $return = '';
- foreach( $matches[1] as $match )
- $return .= $match;
- } else {
- $return = preg_replace( '|^<!\[CDATA\[(.*)\]\]>$|s', '$1', $return[1] );
- }
- } else {
- $return = $return[1];
- }
- } else {
- $return = '';
- }
- return $return;
- }
-
- function process_category( $c ) {
- return array(
- 'term_id' => $this->get_tag( $c, 'wp:term_id' ),
- 'cat_name' => $this->get_tag( $c, 'wp:cat_name' ),
- 'category_nicename' => $this->get_tag( $c, 'wp:category_nicename' ),
- 'category_parent' => $this->get_tag( $c, 'wp:category_parent' ),
- 'category_description' => $this->get_tag( $c, 'wp:category_description' ),
- );
- }
-
- function process_tag( $t ) {
- return array(
- 'term_id' => $this->get_tag( $t, 'wp:term_id' ),
- 'tag_name' => $this->get_tag( $t, 'wp:tag_name' ),
- 'tag_slug' => $this->get_tag( $t, 'wp:tag_slug' ),
- 'tag_description' => $this->get_tag( $t, 'wp:tag_description' ),
- );
- }
-
- function process_term( $t ) {
- return array(
- 'term_id' => $this->get_tag( $t, 'wp:term_id' ),
- 'term_taxonomy' => $this->get_tag( $t, 'wp:term_taxonomy' ),
- 'slug' => $this->get_tag( $t, 'wp:term_slug' ),
- 'term_parent' => $this->get_tag( $t, 'wp:term_parent' ),
- 'term_name' => $this->get_tag( $t, 'wp:term_name' ),
- 'term_description' => $this->get_tag( $t, 'wp:term_description' ),
- );
- }
-
- function process_author( $a ) {
- return array(
- 'author_id' => $this->get_tag( $a, 'wp:author_id' ),
- 'author_login' => $this->get_tag( $a, 'wp:author_login' ),
- 'author_email' => $this->get_tag( $a, 'wp:author_email' ),
- 'author_display_name' => $this->get_tag( $a, 'wp:author_display_name' ),
- 'author_first_name' => $this->get_tag( $a, 'wp:author_first_name' ),
- 'author_last_name' => $this->get_tag( $a, 'wp:author_last_name' ),
- );
- }
-
- function process_post( $post ) {
- $post_id = $this->get_tag( $post, 'wp:post_id' );
- $post_title = $this->get_tag( $post, 'title' );
- $post_date = $this->get_tag( $post, 'wp:post_date' );
- $post_date_gmt = $this->get_tag( $post, 'wp:post_date_gmt' );
- $comment_status = $this->get_tag( $post, 'wp:comment_status' );
- $ping_status = $this->get_tag( $post, 'wp:ping_status' );
- $status = $this->get_tag( $post, 'wp:status' );
- $post_name = $this->get_tag( $post, 'wp:post_name' );
- $post_parent = $this->get_tag( $post, 'wp:post_parent' );
- $menu_order = $this->get_tag( $post, 'wp:menu_order' );
- $post_type = $this->get_tag( $post, 'wp:post_type' );
- $post_password = $this->get_tag( $post, 'wp:post_password' );
- $is_sticky = $this->get_tag( $post, 'wp:is_sticky' );
- $guid = $this->get_tag( $post, 'guid' );
- $post_author = $this->get_tag( $post, 'dc:creator' );
-
- $post_excerpt = $this->get_tag( $post, 'excerpt:encoded' );
- $post_excerpt = preg_replace_callback( '|<(/?[A-Z]+)|', array( &$this, '_normalize_tag' ), $post_excerpt );
- $post_excerpt = str_replace( '<br>', '<br />', $post_excerpt );
- $post_excerpt = str_replace( '<hr>', '<hr />', $post_excerpt );
-
- $post_content = $this->get_tag( $post, 'content:encoded' );
- $post_content = preg_replace_callback( '|<(/?[A-Z]+)|', array( &$this, '_normalize_tag' ), $post_content );
- $post_content = str_replace( '<br>', '<br />', $post_content );
- $post_content = str_replace( '<hr>', '<hr />', $post_content );
-
- $postdata = compact( 'post_id', 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_excerpt',
- 'post_title', 'status', 'post_name', 'comment_status', 'ping_status', 'guid', 'post_parent',
- 'menu_order', 'post_type', 'post_password', 'is_sticky'
- );
-
- $attachment_url = $this->get_tag( $post, 'wp:attachment_url' );
- if ( $attachment_url )
- $postdata['attachment_url'] = $attachment_url;
-
- preg_match_all( '|<category domain="([^"]+?)" nicename="([^"]+?)">(.+?)</category>|is', $post, $terms, PREG_SET_ORDER );
- foreach ( $terms as $t ) {
- $post_terms[] = array(
- 'slug' => $t[2],
- 'domain' => $t[1],
- 'name' => str_replace( array( '<![CDATA[', ']]>' ), '', $t[3] ),
- );
- }
- if ( ! empty( $post_terms ) ) $postdata['terms'] = $post_terms;
-
- preg_match_all( '|<wp:comment>(.+?)</wp:comment>|is', $post, $comments );
- $comments = $comments[1];
- if ( $comments ) {
- foreach ( $comments as $comment ) {
- preg_match_all( '|<wp:commentmeta>(.+?)</wp:commentmeta>|is', $comment, $commentmeta );
- $commentmeta = $commentmeta[1];
- $c_meta = array();
- foreach ( $commentmeta as $m ) {
- $c_meta[] = array(
- 'key' => $this->get_tag( $m, 'wp:meta_key' ),
- 'value' => $this->get_tag( $m, 'wp:meta_value' ),
- );
- }
-
- $post_comments[] = array(
- 'comment_id' => $this->get_tag( $comment, 'wp:comment_id' ),
- 'comment_author' => $this->get_tag( $comment, 'wp:comment_author' ),
- 'comment_author_email' => $this->get_tag( $comment, 'wp:comment_author_email' ),
- 'comment_author_IP' => $this->get_tag( $comment, 'wp:comment_author_IP' ),
- 'comment_author_url' => $this->get_tag( $comment, 'wp:comment_author_url' ),
- 'comment_date' => $this->get_tag( $comment, 'wp:comment_date' ),
- 'comment_date_gmt' => $this->get_tag( $comment, 'wp:comment_date_gmt' ),
- 'comment_content' => $this->get_tag( $comment, 'wp:comment_content' ),
- 'comment_approved' => $this->get_tag( $comment, 'wp:comment_approved' ),
- 'comment_type' => $this->get_tag( $comment, 'wp:comment_type' ),
- 'comment_parent' => $this->get_tag( $comment, 'wp:comment_parent' ),
- 'comment_user_id' => $this->get_tag( $comment, 'wp:comment_user_id' ),
- 'commentmeta' => $c_meta,
- );
- }
- }
- if ( ! empty( $post_comments ) ) $postdata['comments'] = $post_comments;
-
- preg_match_all( '|<wp:postmeta>(.+?)</wp:postmeta>|is', $post, $postmeta );
- $postmeta = $postmeta[1];
- if ( $postmeta ) {
- foreach ( $postmeta as $p ) {
- $post_postmeta[] = array(
- 'key' => $this->get_tag( $p, 'wp:meta_key' ),
- 'value' => $this->get_tag( $p, 'wp:meta_value' ),
- );
- }
- }
- if ( ! empty( $post_postmeta ) ) $postdata['postmeta'] = $post_postmeta;
-
- return $postdata;
- }
-
- function _normalize_tag( $matches ) {
- return '<' . strtolower( $matches[1] );
- }
-
- function fopen( $filename, $mode = 'r' ) {
- if ( $this->has_gzip )
- return gzopen( $filename, $mode );
- return fopen( $filename, $mode );
- }
-
- function feof( $fp ) {
- if ( $this->has_gzip )
- return gzeof( $fp );
- return feof( $fp );
- }
-
- function fgets( $fp, $len = 8192 ) {
- if ( $this->has_gzip )
- return gzgets( $fp, $len );
- return fgets( $fp, $len );
- }
-
- function fclose( $fp ) {
- if ( $this->has_gzip )
- return gzclose( $fp );
- return fclose( $fp );
- }
-}
--- a/wp/wp-content/plugins/wordpress-importer/readme.txt Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,122 +0,0 @@
-=== WordPress Importer ===
-Contributors: wordpressdotorg
-Donate link: https://wordpressfoundation.org/donate/
-Tags: importer, wordpress
-Requires at least: 3.6
-Tested up to: 4.9
-Stable tag: 0.6.4
-License: GPLv2 or later
-License URI: https://www.gnu.org/licenses/gpl-2.0.html
-
-Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.
-
-== Description ==
-
-The WordPress Importer will import the following content from a WordPress export file:
-
-* Posts, pages and other custom post types
-* Comments
-* Custom fields and post meta
-* Categories, tags and terms from custom taxonomies
-* Authors
-
-For further information and instructions please see the [Codex page on Importing Content](https://codex.wordpress.org/Importing_Content#WordPress)
-
-== Installation ==
-
-The quickest method for installing the importer is:
-
-1. Visit Tools -> Import in the WordPress dashboard
-1. Click on the WordPress link in the list of importers
-1. Click "Install Now"
-1. Finally click "Activate Plugin & Run Importer"
-
-If you would prefer to do things manually then follow these instructions:
-
-1. Upload the `wordpress-importer` folder to the `/wp-content/plugins/` directory
-1. Activate the plugin through the 'Plugins' menu in WordPress
-1. Go to the Tools -> Import screen, click on WordPress
-
-== Changelog ==
-
-= 0.6.4 =
-* Improve PHP7 compatibility.
-* Fix bug that caused slashes to be stripped from imported comments.
-* Fix for various deprecation notices including `wp_get_http()` and `screen_icon()`.
-* Fix for importing export files with multiline term meta data.
-
-= 0.6.3 =
-* Add support for import term metadata.
-* Fix bug that caused slashes to be stripped from imported content.
-* Fix bug that caused characters to be stripped inside of CDATA in some cases.
-* Fix PHP notices.
-
-= 0.6.2 =
-* Add `wp_import_existing_post` filter, see [Trac ticket #33721](https://core.trac.wordpress.org/ticket/33721).
-
-= 0.6 =
-* Support for WXR 1.2 and multiple CDATA sections
-* Post aren't duplicates if their post_type's are different
-
-= 0.5.2 =
-* Double check that the uploaded export file exists before processing it. This prevents incorrect error messages when
-an export file is uploaded to a server with bad permissions and WordPress 3.3 or 3.3.1 is being used.
-
-= 0.5 =
-* Import comment meta (requires export from WordPress 3.2)
-* Minor bugfixes and enhancements
-
-= 0.4 =
-* Map comment user_id where possible
-* Import attachments from `wp:attachment_url`
-* Upload attachments to correct directory
-* Remap resized image URLs correctly
-
-= 0.3 =
-* Use an XML Parser if possible
-* Proper import support for nav menus
-* ... and much more, see [Trac ticket #15197](https://core.trac.wordpress.org/ticket/15197)
-
-= 0.1 =
-* Initial release
-
-== Upgrade Notice ==
-
-= 0.6 =
-Support for exports from WordPress 3.4.
-
-= 0.5.2 =
-Fix incorrect error message when the export file could not be uploaded.
-
-= 0.5 =
-Import comment meta and other minor bugfixes and enhancements.
-
-= 0.4 =
-Bug fixes for attachment importing and other small enhancements.
-
-= 0.3 =
-Upgrade for a more robust and reliable experience when importing WordPress export files, and for compatibility with WordPress 3.1.
-
-== Frequently Asked Questions ==
-
-= Help! I'm getting out of memory errors or a blank screen. =
-If your exported file is very large, the import script may run into your host's configured memory limit for PHP.
-
-A message like "Fatal error: Allowed memory size of 8388608 bytes exhausted" indicates that the script can't successfully import your XML file under the current PHP memory limit. If you have access to the php.ini file, you can manually increase the limit; if you do not (your WordPress installation is hosted on a shared server, for instance), you might have to break your exported XML file into several smaller pieces and run the import script one at a time.
-
-For those with shared hosting, the best alternative may be to consult hosting support to determine the safest approach for running the import. A host may be willing to temporarily lift the memory limit and/or run the process directly from their end.
-
--- [WordPress Codex: Importing Content](https://codex.wordpress.org/Importing_Content#Before_Importing)
-
-== Filters ==
-
-The importer has a couple of filters to allow you to completely enable/block certain features:
-
-* `import_allow_create_users`: return false if you only want to allow mapping to existing users
-* `import_allow_fetch_attachments`: return false if you do not wish to allow importing and downloading of attachments
-* `import_attachment_size_limit`: return an integer value for the maximum file size in bytes to save (default is 0, which is unlimited)
-
-There are also a few actions available to hook into:
-
-* `import_start`: occurs after the export file has been uploaded and author import settings have been chosen
-* `import_end`: called after the last output from the importer
--- a/wp/wp-content/plugins/wordpress-importer/wordpress-importer.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1228 +0,0 @@
-<?php
-/*
-Plugin Name: WordPress Importer
-Plugin URI: https://wordpress.org/plugins/wordpress-importer/
-Description: Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.
-Author: wordpressdotorg
-Author URI: https://wordpress.org/
-Version: 0.6.4
-Text Domain: wordpress-importer
-License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-*/
-
-if ( ! defined( 'WP_LOAD_IMPORTERS' ) )
- return;
-
-/** Display verbose errors */
-define( 'IMPORT_DEBUG', false );
-
-// Load Importer API
-require_once ABSPATH . 'wp-admin/includes/import.php';
-
-if ( ! class_exists( 'WP_Importer' ) ) {
- $class_wp_importer = ABSPATH . 'wp-admin/includes/class-wp-importer.php';
- if ( file_exists( $class_wp_importer ) )
- require $class_wp_importer;
-}
-
-// include WXR file parsers
-require dirname( __FILE__ ) . '/parsers.php';
-
-/**
- * WordPress Importer class for managing the import process of a WXR file
- *
- * @package WordPress
- * @subpackage Importer
- */
-if ( class_exists( 'WP_Importer' ) ) {
-class WP_Import extends WP_Importer {
- var $max_wxr_version = 1.2; // max. supported WXR version
-
- var $id; // WXR attachment ID
-
- // information to import from WXR file
- var $version;
- var $authors = array();
- var $posts = array();
- var $terms = array();
- var $categories = array();
- var $tags = array();
- var $base_url = '';
-
- // mappings from old information to new
- var $processed_authors = array();
- var $author_mapping = array();
- var $processed_terms = array();
- var $processed_posts = array();
- var $post_orphans = array();
- var $processed_menu_items = array();
- var $menu_item_orphans = array();
- var $missing_menu_items = array();
-
- var $fetch_attachments = false;
- var $url_remap = array();
- var $featured_images = array();
-
- /**
- * Registered callback function for the WordPress Importer
- *
- * Manages the three separate stages of the WXR import process
- */
- function dispatch() {
- $this->header();
-
- $step = empty( $_GET['step'] ) ? 0 : (int) $_GET['step'];
- switch ( $step ) {
- case 0:
- $this->greet();
- break;
- case 1:
- check_admin_referer( 'import-upload' );
- if ( $this->handle_upload() )
- $this->import_options();
- break;
- case 2:
- check_admin_referer( 'import-wordpress' );
- $this->fetch_attachments = ( ! empty( $_POST['fetch_attachments'] ) && $this->allow_fetch_attachments() );
- $this->id = (int) $_POST['import_id'];
- $file = get_attached_file( $this->id );
- set_time_limit(0);
- $this->import( $file );
- break;
- }
-
- $this->footer();
- }
-
- /**
- * The main controller for the actual import stage.
- *
- * @param string $file Path to the WXR file for importing
- */
- function import( $file ) {
- add_filter( 'import_post_meta_key', array( $this, 'is_valid_meta_key' ) );
- add_filter( 'http_request_timeout', array( &$this, 'bump_request_timeout' ) );
-
- $this->import_start( $file );
-
- $this->get_author_mapping();
-
- wp_suspend_cache_invalidation( true );
- $this->process_categories();
- $this->process_tags();
- $this->process_terms();
- $this->process_posts();
- wp_suspend_cache_invalidation( false );
-
- // update incorrect/missing information in the DB
- $this->backfill_parents();
- $this->backfill_attachment_urls();
- $this->remap_featured_images();
-
- $this->import_end();
- }
-
- /**
- * Parses the WXR file and prepares us for the task of processing parsed data
- *
- * @param string $file Path to the WXR file for importing
- */
- function import_start( $file ) {
- if ( ! is_file($file) ) {
- echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
- echo __( 'The file does not exist, please try again.', 'wordpress-importer' ) . '</p>';
- $this->footer();
- die();
- }
-
- $import_data = $this->parse( $file );
-
- if ( is_wp_error( $import_data ) ) {
- echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
- echo esc_html( $import_data->get_error_message() ) . '</p>';
- $this->footer();
- die();
- }
-
- $this->version = $import_data['version'];
- $this->get_authors_from_import( $import_data );
- $this->posts = $import_data['posts'];
- $this->terms = $import_data['terms'];
- $this->categories = $import_data['categories'];
- $this->tags = $import_data['tags'];
- $this->base_url = esc_url( $import_data['base_url'] );
-
- wp_defer_term_counting( true );
- wp_defer_comment_counting( true );
-
- do_action( 'import_start' );
- }
-
- /**
- * Performs post-import cleanup of files and the cache
- */
- function import_end() {
- wp_import_cleanup( $this->id );
-
- wp_cache_flush();
- foreach ( get_taxonomies() as $tax ) {
- delete_option( "{$tax}_children" );
- _get_term_hierarchy( $tax );
- }
-
- wp_defer_term_counting( false );
- wp_defer_comment_counting( false );
-
- echo '<p>' . __( 'All done.', 'wordpress-importer' ) . ' <a href="' . admin_url() . '">' . __( 'Have fun!', 'wordpress-importer' ) . '</a>' . '</p>';
- echo '<p>' . __( 'Remember to update the passwords and roles of imported users.', 'wordpress-importer' ) . '</p>';
-
- do_action( 'import_end' );
- }
-
- /**
- * Handles the WXR upload and initial parsing of the file to prepare for
- * displaying author import options
- *
- * @return bool False if error uploading or invalid file, true otherwise
- */
- function handle_upload() {
- $file = wp_import_handle_upload();
-
- if ( isset( $file['error'] ) ) {
- echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
- echo esc_html( $file['error'] ) . '</p>';
- return false;
- } else if ( ! file_exists( $file['file'] ) ) {
- echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
- printf( __( 'The export file could not be found at <code>%s</code>. It is likely that this was caused by a permissions problem.', 'wordpress-importer' ), esc_html( $file['file'] ) );
- echo '</p>';
- return false;
- }
-
- $this->id = (int) $file['id'];
- $import_data = $this->parse( $file['file'] );
- if ( is_wp_error( $import_data ) ) {
- echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
- echo esc_html( $import_data->get_error_message() ) . '</p>';
- return false;
- }
-
- $this->version = $import_data['version'];
- if ( $this->version > $this->max_wxr_version ) {
- echo '<div class="error"><p><strong>';
- printf( __( 'This WXR file (version %s) may not be supported by this version of the importer. Please consider updating.', 'wordpress-importer' ), esc_html($import_data['version']) );
- echo '</strong></p></div>';
- }
-
- $this->get_authors_from_import( $import_data );
-
- return true;
- }
-
- /**
- * Retrieve authors from parsed WXR data
- *
- * Uses the provided author information from WXR 1.1 files
- * or extracts info from each post for WXR 1.0 files
- *
- * @param array $import_data Data returned by a WXR parser
- */
- function get_authors_from_import( $import_data ) {
- if ( ! empty( $import_data['authors'] ) ) {
- $this->authors = $import_data['authors'];
- // no author information, grab it from the posts
- } else {
- foreach ( $import_data['posts'] as $post ) {
- $login = sanitize_user( $post['post_author'], true );
- if ( empty( $login ) ) {
- printf( __( 'Failed to import author %s. Their posts will be attributed to the current user.', 'wordpress-importer' ), esc_html( $post['post_author'] ) );
- echo '<br />';
- continue;
- }
-
- if ( ! isset($this->authors[$login]) )
- $this->authors[$login] = array(
- 'author_login' => $login,
- 'author_display_name' => $post['post_author']
- );
- }
- }
- }
-
- /**
- * Display pre-import options, author importing/mapping and option to
- * fetch attachments
- */
- function import_options() {
- $j = 0;
-?>
-<form action="<?php echo admin_url( 'admin.php?import=wordpress&step=2' ); ?>" method="post">
- <?php wp_nonce_field( 'import-wordpress' ); ?>
- <input type="hidden" name="import_id" value="<?php echo $this->id; ?>" />
-
-<?php if ( ! empty( $this->authors ) ) : ?>
- <h3><?php _e( 'Assign Authors', 'wordpress-importer' ); ?></h3>
- <p><?php _e( 'To make it easier for you to edit and save the imported content, you may want to reassign the author of the imported item to an existing user of this site. For example, you may want to import all the entries as <code>admin</code>s entries.', 'wordpress-importer' ); ?></p>
-<?php if ( $this->allow_create_users() ) : ?>
- <p><?php printf( __( 'If a new user is created by WordPress, a new password will be randomly generated and the new user’s role will be set as %s. Manually changing the new user’s details will be necessary.', 'wordpress-importer' ), esc_html( get_option('default_role') ) ); ?></p>
-<?php endif; ?>
- <ol id="authors">
-<?php foreach ( $this->authors as $author ) : ?>
- <li><?php $this->author_select( $j++, $author ); ?></li>
-<?php endforeach; ?>
- </ol>
-<?php endif; ?>
-
-<?php if ( $this->allow_fetch_attachments() ) : ?>
- <h3><?php _e( 'Import Attachments', 'wordpress-importer' ); ?></h3>
- <p>
- <input type="checkbox" value="1" name="fetch_attachments" id="import-attachments" />
- <label for="import-attachments"><?php _e( 'Download and import file attachments', 'wordpress-importer' ); ?></label>
- </p>
-<?php endif; ?>
-
- <p class="submit"><input type="submit" class="button" value="<?php esc_attr_e( 'Submit', 'wordpress-importer' ); ?>" /></p>
-</form>
-<?php
- }
-
- /**
- * Display import options for an individual author. That is, either create
- * a new user based on import info or map to an existing user
- *
- * @param int $n Index for each author in the form
- * @param array $author Author information, e.g. login, display name, email
- */
- function author_select( $n, $author ) {
- _e( 'Import author:', 'wordpress-importer' );
- echo ' <strong>' . esc_html( $author['author_display_name'] );
- if ( $this->version != '1.0' ) echo ' (' . esc_html( $author['author_login'] ) . ')';
- echo '</strong><br />';
-
- if ( $this->version != '1.0' )
- echo '<div style="margin-left:18px">';
-
- $create_users = $this->allow_create_users();
- if ( $create_users ) {
- if ( $this->version != '1.0' ) {
- _e( 'or create new user with login name:', 'wordpress-importer' );
- $value = '';
- } else {
- _e( 'as a new user:', 'wordpress-importer' );
- $value = esc_attr( sanitize_user( $author['author_login'], true ) );
- }
-
- echo ' <input type="text" name="user_new['.$n.']" value="'. $value .'" /><br />';
- }
-
- if ( ! $create_users && $this->version == '1.0' )
- _e( 'assign posts to an existing user:', 'wordpress-importer' );
- else
- _e( 'or assign posts to an existing user:', 'wordpress-importer' );
- wp_dropdown_users( array( 'name' => "user_map[$n]", 'multi' => true, 'show_option_all' => __( '- Select -', 'wordpress-importer' ) ) );
- echo '<input type="hidden" name="imported_authors['.$n.']" value="' . esc_attr( $author['author_login'] ) . '" />';
-
- if ( $this->version != '1.0' )
- echo '</div>';
- }
-
- /**
- * Map old author logins to local user IDs based on decisions made
- * in import options form. Can map to an existing user, create a new user
- * or falls back to the current user in case of error with either of the previous
- */
- function get_author_mapping() {
- if ( ! isset( $_POST['imported_authors'] ) )
- return;
-
- $create_users = $this->allow_create_users();
-
- foreach ( (array) $_POST['imported_authors'] as $i => $old_login ) {
- // Multisite adds strtolower to sanitize_user. Need to sanitize here to stop breakage in process_posts.
- $santized_old_login = sanitize_user( $old_login, true );
- $old_id = isset( $this->authors[$old_login]['author_id'] ) ? intval($this->authors[$old_login]['author_id']) : false;
-
- if ( ! empty( $_POST['user_map'][$i] ) ) {
- $user = get_userdata( intval($_POST['user_map'][$i]) );
- if ( isset( $user->ID ) ) {
- if ( $old_id )
- $this->processed_authors[$old_id] = $user->ID;
- $this->author_mapping[$santized_old_login] = $user->ID;
- }
- } else if ( $create_users ) {
- if ( ! empty($_POST['user_new'][$i]) ) {
- $user_id = wp_create_user( $_POST['user_new'][$i], wp_generate_password() );
- } else if ( $this->version != '1.0' ) {
- $user_data = array(
- 'user_login' => $old_login,
- 'user_pass' => wp_generate_password(),
- 'user_email' => isset( $this->authors[$old_login]['author_email'] ) ? $this->authors[$old_login]['author_email'] : '',
- 'display_name' => $this->authors[$old_login]['author_display_name'],
- 'first_name' => isset( $this->authors[$old_login]['author_first_name'] ) ? $this->authors[$old_login]['author_first_name'] : '',
- 'last_name' => isset( $this->authors[$old_login]['author_last_name'] ) ? $this->authors[$old_login]['author_last_name'] : '',
- );
- $user_id = wp_insert_user( $user_data );
- }
-
- if ( ! is_wp_error( $user_id ) ) {
- if ( $old_id )
- $this->processed_authors[$old_id] = $user_id;
- $this->author_mapping[$santized_old_login] = $user_id;
- } else {
- printf( __( 'Failed to create new user for %s. Their posts will be attributed to the current user.', 'wordpress-importer' ), esc_html($this->authors[$old_login]['author_display_name']) );
- if ( defined('IMPORT_DEBUG') && IMPORT_DEBUG )
- echo ' ' . $user_id->get_error_message();
- echo '<br />';
- }
- }
-
- // failsafe: if the user_id was invalid, default to the current user
- if ( ! isset( $this->author_mapping[$santized_old_login] ) ) {
- if ( $old_id )
- $this->processed_authors[$old_id] = (int) get_current_user_id();
- $this->author_mapping[$santized_old_login] = (int) get_current_user_id();
- }
- }
- }
-
- /**
- * Create new categories based on import information
- *
- * Doesn't create a new category if its slug already exists
- */
- function process_categories() {
- $this->categories = apply_filters( 'wp_import_categories', $this->categories );
-
- if ( empty( $this->categories ) )
- return;
-
- foreach ( $this->categories as $cat ) {
- // if the category already exists leave it alone
- $term_id = term_exists( $cat['category_nicename'], 'category' );
- if ( $term_id ) {
- if ( is_array($term_id) ) $term_id = $term_id['term_id'];
- if ( isset($cat['term_id']) )
- $this->processed_terms[intval($cat['term_id'])] = (int) $term_id;
- continue;
- }
-
- $category_parent = empty( $cat['category_parent'] ) ? 0 : category_exists( $cat['category_parent'] );
- $category_description = isset( $cat['category_description'] ) ? $cat['category_description'] : '';
- $catarr = array(
- 'category_nicename' => $cat['category_nicename'],
- 'category_parent' => $category_parent,
- 'cat_name' => $cat['cat_name'],
- 'category_description' => $category_description
- );
- $catarr = wp_slash( $catarr );
-
- $id = wp_insert_category( $catarr );
- if ( ! is_wp_error( $id ) ) {
- if ( isset($cat['term_id']) )
- $this->processed_terms[intval($cat['term_id'])] = $id;
- } else {
- printf( __( 'Failed to import category %s', 'wordpress-importer' ), esc_html($cat['category_nicename']) );
- if ( defined('IMPORT_DEBUG') && IMPORT_DEBUG )
- echo ': ' . $id->get_error_message();
- echo '<br />';
- continue;
- }
-
- $this->process_termmeta( $cat, $id['term_id'] );
- }
-
- unset( $this->categories );
- }
-
- /**
- * Create new post tags based on import information
- *
- * Doesn't create a tag if its slug already exists
- */
- function process_tags() {
- $this->tags = apply_filters( 'wp_import_tags', $this->tags );
-
- if ( empty( $this->tags ) )
- return;
-
- foreach ( $this->tags as $tag ) {
- // if the tag already exists leave it alone
- $term_id = term_exists( $tag['tag_slug'], 'post_tag' );
- if ( $term_id ) {
- if ( is_array($term_id) ) $term_id = $term_id['term_id'];
- if ( isset($tag['term_id']) )
- $this->processed_terms[intval($tag['term_id'])] = (int) $term_id;
- continue;
- }
-
- $tag = wp_slash( $tag );
- $tag_desc = isset( $tag['tag_description'] ) ? $tag['tag_description'] : '';
- $tagarr = array( 'slug' => $tag['tag_slug'], 'description' => $tag_desc );
-
- $id = wp_insert_term( $tag['tag_name'], 'post_tag', $tagarr );
- if ( ! is_wp_error( $id ) ) {
- if ( isset($tag['term_id']) )
- $this->processed_terms[intval($tag['term_id'])] = $id['term_id'];
- } else {
- printf( __( 'Failed to import post tag %s', 'wordpress-importer' ), esc_html($tag['tag_name']) );
- if ( defined('IMPORT_DEBUG') && IMPORT_DEBUG )
- echo ': ' . $id->get_error_message();
- echo '<br />';
- continue;
- }
-
- $this->process_termmeta( $tag, $id['term_id'] );
- }
-
- unset( $this->tags );
- }
-
- /**
- * Create new terms based on import information
- *
- * Doesn't create a term its slug already exists
- */
- function process_terms() {
- $this->terms = apply_filters( 'wp_import_terms', $this->terms );
-
- if ( empty( $this->terms ) )
- return;
-
- foreach ( $this->terms as $term ) {
- // if the term already exists in the correct taxonomy leave it alone
- $term_id = term_exists( $term['slug'], $term['term_taxonomy'] );
- if ( $term_id ) {
- if ( is_array($term_id) ) $term_id = $term_id['term_id'];
- if ( isset($term['term_id']) )
- $this->processed_terms[intval($term['term_id'])] = (int) $term_id;
- continue;
- }
-
- if ( empty( $term['term_parent'] ) ) {
- $parent = 0;
- } else {
- $parent = term_exists( $term['term_parent'], $term['term_taxonomy'] );
- if ( is_array( $parent ) ) $parent = $parent['term_id'];
- }
- $term = wp_slash( $term );
- $description = isset( $term['term_description'] ) ? $term['term_description'] : '';
- $termarr = array( 'slug' => $term['slug'], 'description' => $description, 'parent' => intval($parent) );
-
- $id = wp_insert_term( $term['term_name'], $term['term_taxonomy'], $termarr );
- if ( ! is_wp_error( $id ) ) {
- if ( isset($term['term_id']) )
- $this->processed_terms[intval($term['term_id'])] = $id['term_id'];
- } else {
- printf( __( 'Failed to import %s %s', 'wordpress-importer' ), esc_html($term['term_taxonomy']), esc_html($term['term_name']) );
- if ( defined('IMPORT_DEBUG') && IMPORT_DEBUG )
- echo ': ' . $id->get_error_message();
- echo '<br />';
- continue;
- }
-
- $this->process_termmeta( $term, $id['term_id'] );
- }
-
- unset( $this->terms );
- }
-
- /**
- * Add metadata to imported term.
- *
- * @since 0.6.2
- *
- * @param array $term Term data from WXR import.
- * @param int $term_id ID of the newly created term.
- */
- protected function process_termmeta( $term, $term_id ) {
- if ( ! isset( $term['termmeta'] ) ) {
- $term['termmeta'] = array();
- }
-
- /**
- * Filters the metadata attached to an imported term.
- *
- * @since 0.6.2
- *
- * @param array $termmeta Array of term meta.
- * @param int $term_id ID of the newly created term.
- * @param array $term Term data from the WXR import.
- */
- $term['termmeta'] = apply_filters( 'wp_import_term_meta', $term['termmeta'], $term_id, $term );
-
- if ( empty( $term['termmeta'] ) ) {
- return;
- }
-
- foreach ( $term['termmeta'] as $meta ) {
- /**
- * Filters the meta key for an imported piece of term meta.
- *
- * @since 0.6.2
- *
- * @param string $meta_key Meta key.
- * @param int $term_id ID of the newly created term.
- * @param array $term Term data from the WXR import.
- */
- $key = apply_filters( 'import_term_meta_key', $meta['key'], $term_id, $term );
- if ( ! $key ) {
- continue;
- }
-
- // Export gets meta straight from the DB so could have a serialized string
- $value = maybe_unserialize( $meta['value'] );
-
- add_term_meta( $term_id, $key, $value );
-
- /**
- * Fires after term meta is imported.
- *
- * @since 0.6.2
- *
- * @param int $term_id ID of the newly created term.
- * @param string $key Meta key.
- * @param mixed $value Meta value.
- */
- do_action( 'import_term_meta', $term_id, $key, $value );
- }
- }
-
- /**
- * Create new posts based on import information
- *
- * Posts marked as having a parent which doesn't exist will become top level items.
- * Doesn't create a new post if: the post type doesn't exist, the given post ID
- * is already noted as imported or a post with the same title and date already exists.
- * Note that new/updated terms, comments and meta are imported for the last of the above.
- */
- function process_posts() {
- $this->posts = apply_filters( 'wp_import_posts', $this->posts );
-
- foreach ( $this->posts as $post ) {
- $post = apply_filters( 'wp_import_post_data_raw', $post );
-
- if ( ! post_type_exists( $post['post_type'] ) ) {
- printf( __( 'Failed to import “%s”: Invalid post type %s', 'wordpress-importer' ),
- esc_html($post['post_title']), esc_html($post['post_type']) );
- echo '<br />';
- do_action( 'wp_import_post_exists', $post );
- continue;
- }
-
- if ( isset( $this->processed_posts[$post['post_id']] ) && ! empty( $post['post_id'] ) )
- continue;
-
- if ( $post['status'] == 'auto-draft' )
- continue;
-
- if ( 'nav_menu_item' == $post['post_type'] ) {
- $this->process_menu_item( $post );
- continue;
- }
-
- $post_type_object = get_post_type_object( $post['post_type'] );
-
- $post_exists = post_exists( $post['post_title'], '', $post['post_date'] );
-
- /**
- * Filter ID of the existing post corresponding to post currently importing.
- *
- * Return 0 to force the post to be imported. Filter the ID to be something else
- * to override which existing post is mapped to the imported post.
- *
- * @see post_exists()
- * @since 0.6.2
- *
- * @param int $post_exists Post ID, or 0 if post did not exist.
- * @param array $post The post array to be inserted.
- */
- $post_exists = apply_filters( 'wp_import_existing_post', $post_exists, $post );
-
- if ( $post_exists && get_post_type( $post_exists ) == $post['post_type'] ) {
- printf( __('%s “%s” already exists.', 'wordpress-importer'), $post_type_object->labels->singular_name, esc_html($post['post_title']) );
- echo '<br />';
- $comment_post_ID = $post_id = $post_exists;
- $this->processed_posts[ intval( $post['post_id'] ) ] = intval( $post_exists );
- } else {
- $post_parent = (int) $post['post_parent'];
- if ( $post_parent ) {
- // if we already know the parent, map it to the new local ID
- if ( isset( $this->processed_posts[$post_parent] ) ) {
- $post_parent = $this->processed_posts[$post_parent];
- // otherwise record the parent for later
- } else {
- $this->post_orphans[intval($post['post_id'])] = $post_parent;
- $post_parent = 0;
- }
- }
-
- // map the post author
- $author = sanitize_user( $post['post_author'], true );
- if ( isset( $this->author_mapping[$author] ) )
- $author = $this->author_mapping[$author];
- else
- $author = (int) get_current_user_id();
-
- $postdata = array(
- 'import_id' => $post['post_id'], 'post_author' => $author, 'post_date' => $post['post_date'],
- 'post_date_gmt' => $post['post_date_gmt'], 'post_content' => $post['post_content'],
- 'post_excerpt' => $post['post_excerpt'], 'post_title' => $post['post_title'],
- 'post_status' => $post['status'], 'post_name' => $post['post_name'],
- 'comment_status' => $post['comment_status'], 'ping_status' => $post['ping_status'],
- 'guid' => $post['guid'], 'post_parent' => $post_parent, 'menu_order' => $post['menu_order'],
- 'post_type' => $post['post_type'], 'post_password' => $post['post_password']
- );
-
- $original_post_ID = $post['post_id'];
- $postdata = apply_filters( 'wp_import_post_data_processed', $postdata, $post );
-
- $postdata = wp_slash( $postdata );
-
- if ( 'attachment' == $postdata['post_type'] ) {
- $remote_url = ! empty($post['attachment_url']) ? $post['attachment_url'] : $post['guid'];
-
- // try to use _wp_attached file for upload folder placement to ensure the same location as the export site
- // e.g. location is 2003/05/image.jpg but the attachment post_date is 2010/09, see media_handle_upload()
- $postdata['upload_date'] = $post['post_date'];
- if ( isset( $post['postmeta'] ) ) {
- foreach( $post['postmeta'] as $meta ) {
- if ( $meta['key'] == '_wp_attached_file' ) {
- if ( preg_match( '%^[0-9]{4}/[0-9]{2}%', $meta['value'], $matches ) )
- $postdata['upload_date'] = $matches[0];
- break;
- }
- }
- }
-
- $comment_post_ID = $post_id = $this->process_attachment( $postdata, $remote_url );
- } else {
- $comment_post_ID = $post_id = wp_insert_post( $postdata, true );
- do_action( 'wp_import_insert_post', $post_id, $original_post_ID, $postdata, $post );
- }
-
- if ( is_wp_error( $post_id ) ) {
- printf( __( 'Failed to import %s “%s”', 'wordpress-importer' ),
- $post_type_object->labels->singular_name, esc_html($post['post_title']) );
- if ( defined('IMPORT_DEBUG') && IMPORT_DEBUG )
- echo ': ' . $post_id->get_error_message();
- echo '<br />';
- continue;
- }
-
- if ( $post['is_sticky'] == 1 )
- stick_post( $post_id );
- }
-
- // map pre-import ID to local ID
- $this->processed_posts[intval($post['post_id'])] = (int) $post_id;
-
- if ( ! isset( $post['terms'] ) )
- $post['terms'] = array();
-
- $post['terms'] = apply_filters( 'wp_import_post_terms', $post['terms'], $post_id, $post );
-
- // add categories, tags and other terms
- if ( ! empty( $post['terms'] ) ) {
- $terms_to_set = array();
- foreach ( $post['terms'] as $term ) {
- // back compat with WXR 1.0 map 'tag' to 'post_tag'
- $taxonomy = ( 'tag' == $term['domain'] ) ? 'post_tag' : $term['domain'];
- $term_exists = term_exists( $term['slug'], $taxonomy );
- $term_id = is_array( $term_exists ) ? $term_exists['term_id'] : $term_exists;
- if ( ! $term_id ) {
- $t = wp_insert_term( $term['name'], $taxonomy, array( 'slug' => $term['slug'] ) );
- if ( ! is_wp_error( $t ) ) {
- $term_id = $t['term_id'];
- do_action( 'wp_import_insert_term', $t, $term, $post_id, $post );
- } else {
- printf( __( 'Failed to import %s %s', 'wordpress-importer' ), esc_html($taxonomy), esc_html($term['name']) );
- if ( defined('IMPORT_DEBUG') && IMPORT_DEBUG )
- echo ': ' . $t->get_error_message();
- echo '<br />';
- do_action( 'wp_import_insert_term_failed', $t, $term, $post_id, $post );
- continue;
- }
- }
- $terms_to_set[$taxonomy][] = intval( $term_id );
- }
-
- foreach ( $terms_to_set as $tax => $ids ) {
- $tt_ids = wp_set_post_terms( $post_id, $ids, $tax );
- do_action( 'wp_import_set_post_terms', $tt_ids, $ids, $tax, $post_id, $post );
- }
- unset( $post['terms'], $terms_to_set );
- }
-
- if ( ! isset( $post['comments'] ) )
- $post['comments'] = array();
-
- $post['comments'] = apply_filters( 'wp_import_post_comments', $post['comments'], $post_id, $post );
-
- // add/update comments
- if ( ! empty( $post['comments'] ) ) {
- $num_comments = 0;
- $inserted_comments = array();
- foreach ( $post['comments'] as $comment ) {
- $comment_id = $comment['comment_id'];
- $newcomments[$comment_id]['comment_post_ID'] = $comment_post_ID;
- $newcomments[$comment_id]['comment_author'] = $comment['comment_author'];
- $newcomments[$comment_id]['comment_author_email'] = $comment['comment_author_email'];
- $newcomments[$comment_id]['comment_author_IP'] = $comment['comment_author_IP'];
- $newcomments[$comment_id]['comment_author_url'] = $comment['comment_author_url'];
- $newcomments[$comment_id]['comment_date'] = $comment['comment_date'];
- $newcomments[$comment_id]['comment_date_gmt'] = $comment['comment_date_gmt'];
- $newcomments[$comment_id]['comment_content'] = $comment['comment_content'];
- $newcomments[$comment_id]['comment_approved'] = $comment['comment_approved'];
- $newcomments[$comment_id]['comment_type'] = $comment['comment_type'];
- $newcomments[$comment_id]['comment_parent'] = $comment['comment_parent'];
- $newcomments[$comment_id]['commentmeta'] = isset( $comment['commentmeta'] ) ? $comment['commentmeta'] : array();
- if ( isset( $this->processed_authors[$comment['comment_user_id']] ) )
- $newcomments[$comment_id]['user_id'] = $this->processed_authors[$comment['comment_user_id']];
- }
- ksort( $newcomments );
-
- foreach ( $newcomments as $key => $comment ) {
- // if this is a new post we can skip the comment_exists() check
- if ( ! $post_exists || ! comment_exists( $comment['comment_author'], $comment['comment_date'] ) ) {
- if ( isset( $inserted_comments[$comment['comment_parent']] ) )
- $comment['comment_parent'] = $inserted_comments[$comment['comment_parent']];
- $comment = wp_slash( $comment );
- $comment = wp_filter_comment( $comment );
- $inserted_comments[$key] = wp_insert_comment( $comment );
- do_action( 'wp_import_insert_comment', $inserted_comments[$key], $comment, $comment_post_ID, $post );
-
- foreach( $comment['commentmeta'] as $meta ) {
- $value = maybe_unserialize( $meta['value'] );
- add_comment_meta( $inserted_comments[$key], $meta['key'], $value );
- }
-
- $num_comments++;
- }
- }
- unset( $newcomments, $inserted_comments, $post['comments'] );
- }
-
- if ( ! isset( $post['postmeta'] ) )
- $post['postmeta'] = array();
-
- $post['postmeta'] = apply_filters( 'wp_import_post_meta', $post['postmeta'], $post_id, $post );
-
- // add/update post meta
- if ( ! empty( $post['postmeta'] ) ) {
- foreach ( $post['postmeta'] as $meta ) {
- $key = apply_filters( 'import_post_meta_key', $meta['key'], $post_id, $post );
- $value = false;
-
- if ( '_edit_last' == $key ) {
- if ( isset( $this->processed_authors[intval($meta['value'])] ) )
- $value = $this->processed_authors[intval($meta['value'])];
- else
- $key = false;
- }
-
- if ( $key ) {
- // export gets meta straight from the DB so could have a serialized string
- if ( ! $value )
- $value = maybe_unserialize( $meta['value'] );
-
- add_post_meta( $post_id, $key, $value );
- do_action( 'import_post_meta', $post_id, $key, $value );
-
- // if the post has a featured image, take note of this in case of remap
- if ( '_thumbnail_id' == $key )
- $this->featured_images[$post_id] = (int) $value;
- }
- }
- }
- }
-
- unset( $this->posts );
- }
-
- /**
- * Attempt to create a new menu item from import data
- *
- * Fails for draft, orphaned menu items and those without an associated nav_menu
- * or an invalid nav_menu term. If the post type or term object which the menu item
- * represents doesn't exist then the menu item will not be imported (waits until the
- * end of the import to retry again before discarding).
- *
- * @param array $item Menu item details from WXR file
- */
- function process_menu_item( $item ) {
- // skip draft, orphaned menu items
- if ( 'draft' == $item['status'] )
- return;
-
- $menu_slug = false;
- if ( isset($item['terms']) ) {
- // loop through terms, assume first nav_menu term is correct menu
- foreach ( $item['terms'] as $term ) {
- if ( 'nav_menu' == $term['domain'] ) {
- $menu_slug = $term['slug'];
- break;
- }
- }
- }
-
- // no nav_menu term associated with this menu item
- if ( ! $menu_slug ) {
- _e( 'Menu item skipped due to missing menu slug', 'wordpress-importer' );
- echo '<br />';
- return;
- }
-
- $menu_id = term_exists( $menu_slug, 'nav_menu' );
- if ( ! $menu_id ) {
- printf( __( 'Menu item skipped due to invalid menu slug: %s', 'wordpress-importer' ), esc_html( $menu_slug ) );
- echo '<br />';
- return;
- } else {
- $menu_id = is_array( $menu_id ) ? $menu_id['term_id'] : $menu_id;
- }
-
- foreach ( $item['postmeta'] as $meta )
- ${$meta['key']} = $meta['value'];
-
- if ( 'taxonomy' == $_menu_item_type && isset( $this->processed_terms[intval($_menu_item_object_id)] ) ) {
- $_menu_item_object_id = $this->processed_terms[intval($_menu_item_object_id)];
- } else if ( 'post_type' == $_menu_item_type && isset( $this->processed_posts[intval($_menu_item_object_id)] ) ) {
- $_menu_item_object_id = $this->processed_posts[intval($_menu_item_object_id)];
- } else if ( 'custom' != $_menu_item_type ) {
- // associated object is missing or not imported yet, we'll retry later
- $this->missing_menu_items[] = $item;
- return;
- }
-
- if ( isset( $this->processed_menu_items[intval($_menu_item_menu_item_parent)] ) ) {
- $_menu_item_menu_item_parent = $this->processed_menu_items[intval($_menu_item_menu_item_parent)];
- } else if ( $_menu_item_menu_item_parent ) {
- $this->menu_item_orphans[intval($item['post_id'])] = (int) $_menu_item_menu_item_parent;
- $_menu_item_menu_item_parent = 0;
- }
-
- // wp_update_nav_menu_item expects CSS classes as a space separated string
- $_menu_item_classes = maybe_unserialize( $_menu_item_classes );
- if ( is_array( $_menu_item_classes ) )
- $_menu_item_classes = implode( ' ', $_menu_item_classes );
-
- $args = array(
- 'menu-item-object-id' => $_menu_item_object_id,
- 'menu-item-object' => $_menu_item_object,
- 'menu-item-parent-id' => $_menu_item_menu_item_parent,
- 'menu-item-position' => intval( $item['menu_order'] ),
- 'menu-item-type' => $_menu_item_type,
- 'menu-item-title' => $item['post_title'],
- 'menu-item-url' => $_menu_item_url,
- 'menu-item-description' => $item['post_content'],
- 'menu-item-attr-title' => $item['post_excerpt'],
- 'menu-item-target' => $_menu_item_target,
- 'menu-item-classes' => $_menu_item_classes,
- 'menu-item-xfn' => $_menu_item_xfn,
- 'menu-item-status' => $item['status']
- );
-
- $id = wp_update_nav_menu_item( $menu_id, 0, $args );
- if ( $id && ! is_wp_error( $id ) )
- $this->processed_menu_items[intval($item['post_id'])] = (int) $id;
- }
-
- /**
- * If fetching attachments is enabled then attempt to create a new attachment
- *
- * @param array $post Attachment post details from WXR
- * @param string $url URL to fetch attachment from
- * @return int|WP_Error Post ID on success, WP_Error otherwise
- */
- function process_attachment( $post, $url ) {
- if ( ! $this->fetch_attachments )
- return new WP_Error( 'attachment_processing_error',
- __( 'Fetching attachments is not enabled', 'wordpress-importer' ) );
-
- // if the URL is absolute, but does not contain address, then upload it assuming base_site_url
- if ( preg_match( '|^/[\w\W]+$|', $url ) )
- $url = rtrim( $this->base_url, '/' ) . $url;
-
- $upload = $this->fetch_remote_file( $url, $post );
- if ( is_wp_error( $upload ) )
- return $upload;
-
- if ( $info = wp_check_filetype( $upload['file'] ) )
- $post['post_mime_type'] = $info['type'];
- else
- return new WP_Error( 'attachment_processing_error', __('Invalid file type', 'wordpress-importer') );
-
- $post['guid'] = $upload['url'];
-
- // as per wp-admin/includes/upload.php
- $post_id = wp_insert_attachment( $post, $upload['file'] );
- wp_update_attachment_metadata( $post_id, wp_generate_attachment_metadata( $post_id, $upload['file'] ) );
-
- // remap resized image URLs, works by stripping the extension and remapping the URL stub.
- if ( preg_match( '!^image/!', $info['type'] ) ) {
- $parts = pathinfo( $url );
- $name = basename( $parts['basename'], ".{$parts['extension']}" ); // PATHINFO_FILENAME in PHP 5.2
-
- $parts_new = pathinfo( $upload['url'] );
- $name_new = basename( $parts_new['basename'], ".{$parts_new['extension']}" );
-
- $this->url_remap[$parts['dirname'] . '/' . $name] = $parts_new['dirname'] . '/' . $name_new;
- }
-
- return $post_id;
- }
-
- /**
- * Attempt to download a remote file attachment
- *
- * @param string $url URL of item to fetch
- * @param array $post Attachment details
- * @return array|WP_Error Local file location details on success, WP_Error otherwise
- */
- function fetch_remote_file( $url, $post ) {
- // extract the file name and extension from the url
- $file_name = basename( $url );
-
- // get placeholder file in the upload dir with a unique, sanitized filename
- $upload = wp_upload_bits( $file_name, 0, '', $post['upload_date'] );
- if ( $upload['error'] )
- return new WP_Error( 'upload_dir_error', $upload['error'] );
-
- // fetch the remote url and write it to the placeholder file
- $remote_response = wp_safe_remote_get( $url, array(
- 'timeout' => 300,
- 'stream' => true,
- 'filename' => $upload['file'],
- ) );
-
- $headers = wp_remote_retrieve_headers( $remote_response );
-
- // request failed
- if ( ! $headers ) {
- @unlink( $upload['file'] );
- return new WP_Error( 'import_file_error', __('Remote server did not respond', 'wordpress-importer') );
- }
-
- $remote_response_code = wp_remote_retrieve_response_code( $remote_response );
-
- // make sure the fetch was successful
- if ( $remote_response_code != '200' ) {
- @unlink( $upload['file'] );
- return new WP_Error( 'import_file_error', sprintf( __('Remote server returned error response %1$d %2$s', 'wordpress-importer'), esc_html($remote_response_code), get_status_header_desc($remote_response_code) ) );
- }
-
- $filesize = filesize( $upload['file'] );
-
- if ( isset( $headers['content-length'] ) && $filesize != $headers['content-length'] ) {
- @unlink( $upload['file'] );
- return new WP_Error( 'import_file_error', __('Remote file is incorrect size', 'wordpress-importer') );
- }
-
- if ( 0 == $filesize ) {
- @unlink( $upload['file'] );
- return new WP_Error( 'import_file_error', __('Zero size file downloaded', 'wordpress-importer') );
- }
-
- $max_size = (int) $this->max_attachment_size();
- if ( ! empty( $max_size ) && $filesize > $max_size ) {
- @unlink( $upload['file'] );
- return new WP_Error( 'import_file_error', sprintf(__('Remote file is too large, limit is %s', 'wordpress-importer'), size_format($max_size) ) );
- }
-
- // keep track of the old and new urls so we can substitute them later
- $this->url_remap[$url] = $upload['url'];
- $this->url_remap[$post['guid']] = $upload['url']; // r13735, really needed?
- // keep track of the destination if the remote url is redirected somewhere else
- if ( isset($headers['x-final-location']) && $headers['x-final-location'] != $url )
- $this->url_remap[$headers['x-final-location']] = $upload['url'];
-
- return $upload;
- }
-
- /**
- * Attempt to associate posts and menu items with previously missing parents
- *
- * An imported post's parent may not have been imported when it was first created
- * so try again. Similarly for child menu items and menu items which were missing
- * the object (e.g. post) they represent in the menu
- */
- function backfill_parents() {
- global $wpdb;
-
- // find parents for post orphans
- foreach ( $this->post_orphans as $child_id => $parent_id ) {
- $local_child_id = $local_parent_id = false;
- if ( isset( $this->processed_posts[$child_id] ) )
- $local_child_id = $this->processed_posts[$child_id];
- if ( isset( $this->processed_posts[$parent_id] ) )
- $local_parent_id = $this->processed_posts[$parent_id];
-
- if ( $local_child_id && $local_parent_id ) {
- $wpdb->update( $wpdb->posts, array( 'post_parent' => $local_parent_id ), array( 'ID' => $local_child_id ), '%d', '%d' );
- clean_post_cache( $local_child_id );
- }
- }
-
- // all other posts/terms are imported, retry menu items with missing associated object
- $missing_menu_items = $this->missing_menu_items;
- foreach ( $missing_menu_items as $item )
- $this->process_menu_item( $item );
-
- // find parents for menu item orphans
- foreach ( $this->menu_item_orphans as $child_id => $parent_id ) {
- $local_child_id = $local_parent_id = 0;
- if ( isset( $this->processed_menu_items[$child_id] ) )
- $local_child_id = $this->processed_menu_items[$child_id];
- if ( isset( $this->processed_menu_items[$parent_id] ) )
- $local_parent_id = $this->processed_menu_items[$parent_id];
-
- if ( $local_child_id && $local_parent_id )
- update_post_meta( $local_child_id, '_menu_item_menu_item_parent', (int) $local_parent_id );
- }
- }
-
- /**
- * Use stored mapping information to update old attachment URLs
- */
- function backfill_attachment_urls() {
- global $wpdb;
- // make sure we do the longest urls first, in case one is a substring of another
- uksort( $this->url_remap, array(&$this, 'cmpr_strlen') );
-
- foreach ( $this->url_remap as $from_url => $to_url ) {
- // remap urls in post_content
- $wpdb->query( $wpdb->prepare("UPDATE {$wpdb->posts} SET post_content = REPLACE(post_content, %s, %s)", $from_url, $to_url) );
- // remap enclosure urls
- $result = $wpdb->query( $wpdb->prepare("UPDATE {$wpdb->postmeta} SET meta_value = REPLACE(meta_value, %s, %s) WHERE meta_key='enclosure'", $from_url, $to_url) );
- }
- }
-
- /**
- * Update _thumbnail_id meta to new, imported attachment IDs
- */
- function remap_featured_images() {
- // cycle through posts that have a featured image
- foreach ( $this->featured_images as $post_id => $value ) {
- if ( isset( $this->processed_posts[$value] ) ) {
- $new_id = $this->processed_posts[$value];
- // only update if there's a difference
- if ( $new_id != $value )
- update_post_meta( $post_id, '_thumbnail_id', $new_id );
- }
- }
- }
-
- /**
- * Parse a WXR file
- *
- * @param string $file Path to WXR file for parsing
- * @return array Information gathered from the WXR file
- */
- function parse( $file ) {
- $parser = new WXR_Parser();
- return $parser->parse( $file );
- }
-
- // Display import page title
- function header() {
- echo '<div class="wrap">';
- echo '<h2>' . __( 'Import WordPress', 'wordpress-importer' ) . '</h2>';
-
- $updates = get_plugin_updates();
- $basename = plugin_basename(__FILE__);
- if ( isset( $updates[$basename] ) ) {
- $update = $updates[$basename];
- echo '<div class="error"><p><strong>';
- printf( __( 'A new version of this importer is available. Please update to version %s to ensure compatibility with newer export files.', 'wordpress-importer' ), $update->update->new_version );
- echo '</strong></p></div>';
- }
- }
-
- // Close div.wrap
- function footer() {
- echo '</div>';
- }
-
- /**
- * Display introductory text and file upload form
- */
- function greet() {
- echo '<div class="narrow">';
- echo '<p>'.__( 'Howdy! Upload your WordPress eXtended RSS (WXR) file and we’ll import the posts, pages, comments, custom fields, categories, and tags into this site.', 'wordpress-importer' ).'</p>';
- echo '<p>'.__( 'Choose a WXR (.xml) file to upload, then click Upload file and import.', 'wordpress-importer' ).'</p>';
- wp_import_upload_form( 'admin.php?import=wordpress&step=1' );
- echo '</div>';
- }
-
- /**
- * Decide if the given meta key maps to information we will want to import
- *
- * @param string $key The meta key to check
- * @return string|bool The key if we do want to import, false if not
- */
- function is_valid_meta_key( $key ) {
- // skip attachment metadata since we'll regenerate it from scratch
- // skip _edit_lock as not relevant for import
- if ( in_array( $key, array( '_wp_attached_file', '_wp_attachment_metadata', '_edit_lock' ) ) )
- return false;
- return $key;
- }
-
- /**
- * Decide whether or not the importer is allowed to create users.
- * Default is true, can be filtered via import_allow_create_users
- *
- * @return bool True if creating users is allowed
- */
- function allow_create_users() {
- return apply_filters( 'import_allow_create_users', true );
- }
-
- /**
- * Decide whether or not the importer should attempt to download attachment files.
- * Default is true, can be filtered via import_allow_fetch_attachments. The choice
- * made at the import options screen must also be true, false here hides that checkbox.
- *
- * @return bool True if downloading attachments is allowed
- */
- function allow_fetch_attachments() {
- return apply_filters( 'import_allow_fetch_attachments', true );
- }
-
- /**
- * Decide what the maximum file size for downloaded attachments is.
- * Default is 0 (unlimited), can be filtered via import_attachment_size_limit
- *
- * @return int Maximum attachment file size to import
- */
- function max_attachment_size() {
- return apply_filters( 'import_attachment_size_limit', 0 );
- }
-
- /**
- * Added to http_request_timeout filter to force timeout at 60 seconds during import
- * @return int 60
- */
- function bump_request_timeout( $val ) {
- return 60;
- }
-
- // return the difference in length between two strings
- function cmpr_strlen( $a, $b ) {
- return strlen($b) - strlen($a);
- }
-}
-
-} // class_exists( 'WP_Importer' )
-
-function wordpress_importer_init() {
- load_plugin_textdomain( 'wordpress-importer' );
-
- /**
- * WordPress Importer object for registering the import callback
- * @global WP_Import $wp_import
- */
- $GLOBALS['wp_import'] = new WP_Import();
- register_importer( 'wordpress', 'WordPress', __('Import <strong>posts, pages, comments, custom fields, categories, and tags</strong> from a WordPress export file.', 'wordpress-importer'), array( $GLOBALS['wp_import'], 'dispatch' ) );
-}
-add_action( 'admin_init', 'wordpress_importer_init' );
--- a/wp/wp-content/plugins/wp-filemanager/conf/config.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,263 +0,0 @@
-<?php
-if ( ! defined( 'ABSPATH' ) )
- die();
-$wp_root = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
-if(file_exists($wp_root . '/wp-load.php')) {
-require_once($wp_root . "/wp-load.php");
-} else if(file_exists($wp_root . '/wp-config.php')) {
-require_once($wp_root . "/wp-config.php");
-}else {
-//echo "Exiting $wp_root";
-exit;
-}
-$wp_filemanager_path=plugin_dir_path("wp-filemanger");
-# Check "docs/configurating.txt" for a more complete description of how you
-# set the different settings and what they will do.
-
-# Path from wp-admin to your images directory
-# Use forward slashes instead of backslashes and remember a traling slash!
-# This path should be RELATIVE to your wp-admin directory
-//$home_directory = "../../../";
-if ( function_exists('get_option') && get_option('wp_fileman_home') != '')
-{
- $home_directory = get_option('wp_fileman_home');
-}
-else
-{
- $home_directory = plugin_dir_path("wp-filemanger");
-}
-# Language of PHPFM.
-$language = "english";
-
-# Session save_path information
-# *NIX systems - set this to "/tmp/";
-# WINDOWS systems - set this to "c:/winnt/temp/";
-# NB! replace "c:/winnt/" with the path to your windows folder
-#
-# Uncomment _only_ if you are experiencing errors!
-# $session_save_path = "/tmp/";
-
-# Login is handled by Wordpress in this hack
-# DO NOT enable phpfm_auth, as it will likely break the script
-$phpfm_auth = FALSE;
-$username = "";
-$password = "";
-
-# Access configuration
-# Each variable can be set to either TRUE or FALSE.
-if (function_exists('get_option') && get_option('wp_fileman_Allow_Download') == 'checked')
- $AllowDownload = TRUE;
-else
- $AllowDownload = FALSE;
-
-if (function_exists('get_option') && get_option('wp_fileman_Create_File') == 'checked')
- $AllowCreateFile = TRUE;
-else
- $AllowCreateFile = FALSE;
-
-if (function_exists('get_option') && get_option('wp_fileman_Create_Folder') == 'checked')
- $AllowCreateFolder = TRUE;
-else
- $AllowCreateFolder = FALSE;
-
-if (function_exists('get_option') && get_option('wp_fileman_Allow_Rename') == 'checked')
- $AllowRename = TRUE;
-else
- $AllowRename = FALSE;
-if (function_exists('get_option') && get_option('wp_fileman_Allow_Upload') == 'checked')
- $AllowUpload = TRUE;
-else
- $AllowUpload = FALSE;
-if (function_exists('get_option') && get_option('wp_fileman_Allow_Delete') == 'checked')
- $AllowDelete = TRUE;
-else
- $AllowDelete = FALSE;
-if (function_exists('get_option') && get_option('wp_fileman_Allow_View') == 'checked')
- $AllowView = TRUE;
-else
- $AllowView = FALSE;
-if (function_exists('get_option') && get_option('wp_fileman_Allow_Edit') == 'checked')
- $AllowEdit = TRUE;
-else
- $AllowEdit = FALSE;
-if (function_exists('get_option') && get_option('wp_fileman_Show_Extension') == 'checked')
- $ShowExtension = TRUE;
-else
- $ShowExtension = FALSE;
-
-# Icons for files
-$IconArray = array(
- "text.gif" => "txt ini xml xsl ini inf cfg log nfo",
- "layout.gif" => "html htm shtml htm pdf",
- "script.gif" => "php php4 php3 phtml phps conf sh shar csh ksh tcl cgi pl js",
- "image2.gif" => "jpeg jpe jpg gif png bmp",
- "c.gif" => "c cpp",
- "compressed.gif" => "zip tar gz tgz z ace rar arj cab bz2",
- "sound2.gif" => "wav mp1 mp2 mp3 mid",
- "movie.gif" => "mpeg mpg mov avi rm wmv divx",
- "binary.gif" => "exe com dll bin dat rpm deb",
-);
-
-# Files that can be edited in PHPFM's text editor
-
-if (trim(function_exists('get_option') && get_option('wp_fileman_editable_ext')) != "")
-{
- $EditableFiles = get_option('wp_fileman_editable_ext');
-}
-# Files that can be viewed in PHPFM's image viewer.
-if (trim(function_exists('get_option') && get_option('wp_fileman_viewable_ext')) != "")
-{
- $ViewableFiles = get_option('wp_fileman_viewable_ext');
-}
-
-# Format of last modification date
-$ModifiedFormat = "Y-m-d H:i";
-
-# Zoom levels for PHPFM's image viewer.
-$ZoomArray = array(
- 5,
- 7,
- 10,
- 15,
- 20,
- 30,
- 50,
- 70,
- 100, # Base zoom level (do not change)
- 150,
- 200,
- 300,
- 500,
- 700,
- 1000,
-);
-
-# Hidden files and directories
-if (function_exists('get_option') && get_option('wp_fileman_hidden_extension') != "")
-{
- $hide_file_extension = explode(',',get_option('wp_fileman_hidden_extension'));
-}
-else
-{
-$hide_file_extension = array(
- "foo",
- "bar",
- );
-}
-
-if (function_exists('get_option') && get_option('wp_fileman_hidden_file') != "")
-{
- $hide_file_string = explode(',',get_option('wp_fileman_hidden_file'));
-}
-else
-{
-$hide_file_string = array(
- ".htaccess"
- );
-}
-if (function_exists('get_option') && get_option('wp_fileman_hidden_dir') != "")
-{
- $hide_directory_string = explode(',',get_option('wp_fileman_hidden_dir'));
-}
-else
-{
-$hide_directory_string = array(
- "secret dir",
- );
-}
-
-$MIMEtypes = array(
- "application/andrew-inset" => "ez",
- "application/mac-binhex40" => "hqx",
- "application/mac-compactpro" => "cpt",
- "application/msword" => "doc",
- "application/octet-stream" => "bin dms lha lzh exe class so dll",
- "application/oda" => "oda",
- "application/pdf" => "pdf",
- "application/postscript" => "ai eps ps",
- "application/smil" => "smi smil",
- "application/vnd.ms-excel" => "xls",
- "application/vnd.ms-powerpoint" => "ppt",
- "application/vnd.wap.wbxml" => "wbxml",
- "application/vnd.wap.wmlc" => "wmlc",
- "application/vnd.wap.wmlscriptc" => "wmlsc",
- "application/x-bcpio" => "bcpio",
- "application/x-cdlink" => "vcd",
- "application/x-chess-pgn" => "pgn",
- "application/x-cpio" => "cpio",
- "application/x-csh" => "csh",
- "application/x-director" => "dcr dir dxr",
- "application/x-dvi" => "dvi",
- "application/x-futuresplash" => "spl",
- "application/x-gtar" => "gtar",
- "application/x-hdf" => "hdf",
- "application/x-javascript" => "js",
- "application/x-koan" => "skp skd skt skm",
- "application/x-latex" => "latex",
- "application/x-netcdf" => "nc cdf",
- "application/x-sh" => "sh",
- "application/x-shar" => "shar",
- "application/x-shockwave-flash" => "swf",
- "application/x-stuffit" => "sit",
- "application/x-sv4cpio" => "sv4cpio",
- "application/x-sv4crc" => "sv4crc",
- "application/x-tar" => "tar",
- "application/x-tcl" => "tcl",
- "application/x-tex" => "tex",
- "application/x-texinfo" => "texinfo texi",
- "application/x-troff" => "t tr roff",
- "application/x-troff-man" => "man",
- "application/x-troff-me" => "me",
- "application/x-troff-ms" => "ms",
- "application/x-ustar" => "ustar",
- "application/x-wais-source" => "src",
- "application/zip" => "zip",
- "audio/basic" => "au snd",
- "audio/midi" => "mid midi kar",
- "audio/mpeg" => "mpga mp2 mp3",
- "audio/x-aiff" => "aif aiff aifc",
- "audio/x-mpegurl" => "m3u",
- "audio/x-pn-realaudio" => "ram rm",
- "audio/x-pn-realaudio-plugin" => "rpm",
- "audio/x-realaudio" => "ra",
- "audio/x-wav" => "wav",
- "chemical/x-pdb" => "pdb",
- "chemical/x-xyz" => "xyz",
- "image/bmp" => "bmp",
- "image/gif" => "gif",
- "image/ief" => "ief",
- "image/jpeg" => "jpeg jpg jpe",
- "image/png" => "png",
- "image/tiff" => "tiff tif",
- "image/vnd.wap.wbmp" => "wbmp",
- "image/x-cmu-raster" => "ras",
- "image/x-portable-anymap" => "pnm",
- "image/x-portable-bitmap" => "pbm",
- "image/x-portable-graymap" => "pgm",
- "image/x-portable-pixmap" => "ppm",
- "image/x-rgb" => "rgb",
- "image/x-xbitmap" => "xbm",
- "image/x-xpixmap" => "xpm",
- "image/x-xwindowdump" => "xwd",
- "model/iges" => "igs iges",
- "model/mesh" => "msh mesh silo",
- "model/vrml" => "wrl vrml",
- "text/css" => "css",
- "text/html" => "html htm",
- "text/plain" => "asc txt",
- "text/richtext" => "rtx",
- "text/rtf" => "rtf",
- "text/sgml" => "sgml sgm",
- "text/tab-separated-values" => "tsv",
- "text/vnd.wap.wml" => "wml",
- "text/vnd.wap.wmlscript" => "wmls",
- "text/x-setext" => "etx",
- "text/xml" => "xml xsl",
- "video/mpeg" => "mpeg mpg mpe",
- "video/quicktime" => "qt mov",
- "video/vnd.mpegurl" => "mxu",
- "video/x-msvideo" => "avi",
- "video/x-sgi-movie" => "movie",
- "x-conference/x-cooltalk" => "ice",
-);
-?>
--- a/wp/wp-content/plugins/wp-filemanager/fm.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-<?php
-/* DO NOT CHANGE ANYTHING HERE */
-if ( ! defined( 'ABSPATH' ) )
- die();
-
-require_once('../wp-config.php');
-$title = 'FileManager';
-define("VERSION", "1.4.0");
-include(WP_CONTENT_DIR . "/plugins/wp-filemanager/conf/config.inc.php");
-include(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/functions.inc.php");
-include(WP_CONTENT_DIR . "/plugins/wp-filemanager/lang/$language.inc.php");
-include(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/header.inc.php");
-include(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/html.header.inc.php");
-/* register directory/filename */
-
-if (isset($_GET['directory_name']))
-{
- $directory_name = basename(stripslashes($_GET['directory_name']))."/";
-}
-if (isset($_GET['filename']))
-{
- $filename = basename(stripslashes($_GET['filename']));
-}
-if (isset($_POST['directory_name']))
-{
- $directory_name = basename(stripslashes($_POST['directory_name']))."/";
-}
-if (isset($_POST['filename']))
-{
- $filename = basename(stripslashes($_POST['filename']));
-}
-if (isset($_POST['new_directory_name']))
-{
- $new_directory_name = basename(stripslashes($_POST['new_directory_name']))."/";
-}
-if (isset($_POST['new_filename']))
-{
- $new_filename = basename(stripslashes($_POST['new_filename']));
-}
-/* validate path */
-if (isset($_GET['path']))
- $wp_fileman_path = wp_fileman_validate_path($_GET['path']);
-else if (isset($_POST['path']))
- $wp_fileman_path = wp_fileman_validate_path($_POST['path']);
-
-
-if (!isset($wp_fileman_path) || $wp_fileman_path == "./" || $wp_fileman_path == ".\\" || $wp_fileman_path == "/" || $wp_fileman_path == "\\")
- $wp_fileman_path = false;
-
-if (isset($_SESSION['session_username']) && $_SESSION['session_username'] == $username && isset($_SESSION['session_password']) && $_SESSION['session_password'] == md5($password) || !$phpfm_auth)
-{
- if (!(@opendir($home_directory.$wp_fileman_path)) || (substr($home_directory, -1) != "/"))
- {
- print "<table class='output' width=400 cellpadding=0 cellspacing=0>";
- print "<tr><td align='center'>";
-
- if (!(@opendir($home_directory)))
- print "<font color='#CC0000'>$StrInvalidHomeFolder</font>";
- else if (!(@opendir($home_directory.$wp_fileman_path)))
- print "<font color='#CC0000'>$StrInvalidPath</font>";
- if (substr($home_directory, -1) != "/")
- print " <font color='#CC0000'>$StrMissingTrailingSlash</font>";
-
- print "</td></tr>";
- print "</table><br />";
- }
- if (isset($_GET['action']) && is_file(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/".$_GET['action'].".inc.php") && wp_fileman_is_valid_name($_GET['action']))
- {
- include(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/".basename($_GET['action']).".inc.php");
- }
- else if (isset($_GET['output']) && is_file(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/".$_GET['output'].".inc.php") && wp_fileman_is_valid_name($_GET['output']))
- {
- print "<table class='output' width=400 cellpadding=0 cellspacing=0>";
- print "<tr><td align='center'>";
- include(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/".basename($_GET['output']).".inc.php");
- print "</td></tr>";
- print "</table><br />";
- include(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/filebrowser.inc.php");
- }
- else
- {
- include(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/filebrowser.inc.php");
- }
-}
-else
-{
- include(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/login.inc.php");
-}
-//include(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/footer.inc.php");
-?>
Binary file wp/wp-content/plugins/wp-filemanager/icon/back.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/binary.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/c.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/compressed.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/delete.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/download.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/drive.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/edit.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/file-manager.png has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/folder-saved-search.png has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/folder.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/image2.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/layout.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/logout.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/minus.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/movie.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/newfile.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/newfolder.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/next.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/original.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/plus.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/previous.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/rename.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/script.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/sound2.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/text.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/unknown.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/upload.gif has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/valid-css.jpg has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/valid-html401.jpg has changed
Binary file wp/wp-content/plugins/wp-filemanager/icon/view.gif has changed
--- a/wp/wp-content/plugins/wp-filemanager/incl/auth.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?php
-if ( ! defined( 'ABSPATH' ) )
- die();
-if (!@include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/conf/config.inc.php"))
- include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/conf/config.inc.php");
-
-ini_set('magic_quotes_gpc', 1);
-ini_set('session.use_trans_sid', 0);
-
-if (isset($session_save_path)) session_save_path($session_save_path);
-session_start();
-
-if (isset($_SESSION['session_username']) && $_SESSION['session_username'] == $username && isset($_SESSION['session_password']) && $_SESSION['session_password'] == md5($password) || !$phpfm_auth);
-else exit("<font color='#CC0000'>Access Denied!</font>");
-?>
--- a/wp/wp-content/plugins/wp-filemanager/incl/create.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-<?php
-if ( ! defined( 'ABSPATH' ) )
- die();
-if (!@include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php"))
- include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php");
-
-if ($AllowCreateFolder && isset($_GET['create']) && isset($_POST['directory_name']))
-{
- $umask = @umask(0);
- if (!wp_fileman_is_valid_name(stripslashes($_POST['directory_name'])))
- print "<font color='#CC0000'>$StrFolderInvalidName</font>";
- else if (file_exists($home_directory.$wp_fileman_path.stripslashes($_POST['directory_name']."/")))
- print "<font color='#CC0000'>$StrAlreadyExists</font>";
- else if (@mkdir($home_directory.$wp_fileman_path.stripslashes($_POST['directory_name']), 0777))
- print "<font color='#009900'>$StrCreateFolderSuccess</font>";
- else
- {
- print "<font color='#CC0000'>$StrCreateFolderFail</font><br /><br />";
- print $StrCreateFolderFailHelp;
- }
- @umask($umask);
-}
-
-else if ($AllowCreateFile && isset($_GET['create']) && isset($_POST['filename']))
-{
- if (!wp_fileman_is_valid_name(stripslashes($_POST['filename'])))
- print "<font color='#CC0000'>$StrFileInvalidName</font>";
- else if (file_exists($home_directory.$wp_fileman_path.stripslashes($_POST['filename'])))
- print "<font color='#CC0000'>$StrAlreadyExists</font>";
- else if (@fopen($home_directory.$wp_fileman_path.stripslashes($_POST['filename']), "w+"))
- print "<font color='#009900'>$StrCreateFileSuccess</font>";
- else
- {
- print "<font color='#CC0000'>$StrCreateFileFail</font><br /><br />";
- print $StrCreateFileFailHelp;
- }
-}
-
-else if ($AllowCreateFolder || $AllowCreateFile)
-{
- print "<table class='index' width=500 cellpadding=0 cellspacing=0>";
- print "<tr>";
- print "<td class='iheadline' height=21>";
- if ($_GET['type'] == "directory") print "<font class='iheadline'> $StrCreateFolder</font>";
- else if ($_GET['type'] == "file") print "<font class='iheadline'> $StrCreateFile</font>";
- print "</td>";
- print "<td class='iheadline' align='right' height=21>";
- print "<font class='iheadline'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/back.gif' border=0 alt='$StrBack'></a></font>";
- print "</td>";
- print "</tr>";
- print "<tr>";
- print "<td valign='top' colspan=2>";
-
- print "<center><br />";
-
- if ($_GET['type'] == "directory") print "$StrCreateFolderQuestion<br /><br />";
- else if ($_GET['type'] == "file") print "$StrCreateFileQuestion<br /><br />";
- print "<form action='$base_url&output=create&create=true' method='post'>";
- if ($_GET['type'] == "directory") print "<input name='directory_name' size=40> ";
- else if ($_GET['type'] == "file") print "<input name='filename' size=40> ";
- print "<input class='bigbutton' type='submit' value='$StrCreate'>";
- print "<input type='hidden' name=path value=\"".htmlentities($wp_fileman_path)."\">";
- print "</form>";
-
- print "<br /><br /></center>";
-
- print "</td>";
- print "</tr>";
- print "</table>";
-}
-else
- print "<font color='#CC0000'>$StrAccessDenied</font>";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/incl/delete.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,83 +0,0 @@
-<?php
-
-if (!@include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php"))
- include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php");
-
-if ($AllowDelete && isset($_GET['directory_name']) || $AllowDelete && isset($_GET['filename']))
-{
- if (isset($_GET['delete']) && isset($_GET['directory_name']))
- {
- if ($_GET['directory_name'] == "../" || ($_GET['directory_name'] == "./"))
- print "<font color='#CC0000'>$StrFolderInvalidName</font>";
- else if (!file_exists($home_directory.$wp_fileman_path.$directory_name))
- print "<font color='#CC0000'>$StrDeleteFolderNotFound</font>";
- else if (wp_fileman_remove_directory($home_directory.$wp_fileman_path.$directory_name) && @rmdir($home_directory.$wp_fileman_path.$directory_name))
- print "<font color='#009900'>$StrDeleteFolderSuccess</font>";
- else
- {
- print "<font color='#CC0000'>$StrDeleteFolderFail</font><br /><br />";
- print $StrDeleteFolderFailHelp;
- }
- }
-
- else if (isset($_GET['delete']) && isset($_GET['filename']))
- {
- if ($_GET['filename'] == ".." || ($_GET['filename'] == "."))
- print "<font color='#CC0000'>$StrFileInvalidName</font>";
- else if (!file_exists($home_directory.$wp_fileman_path.$filename))
- print "<font color='#CC0000'>$StrDeleteFileNotFound</font>";
- else if (@unlink($home_directory.$wp_fileman_path.$filename))
- print "<font color='#009900'>$StrDeleteFileSuccess</font>";
- else
- {
- print "<font color='#CC0000'>$StrDeleteFileFail</font><br /><br />";
- print $StrDeleteFileFailHelp;
- }
- }
-
- else
- {
- print "<table class='index' width=500 cellpadding=0 cellspacing=0>";
- print "<tr>";
- print "<td class='iheadline' height=21>";
- if (isset($_GET['directory_name'])) print "<font class='iheadline'> $StrDeleteFolder \"".htmlentities(basename($directory_name))."\"?</font>";
- else if (isset($_GET['filename'])) print "<font class='iheadline'> $StrDeleteFile \"".htmlentities($filename)."\"?</font>";
- print "</td>";
- print "<td class='iheadline' align='right' height=21>";
- print "<font class='iheadline'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/back.gif' border=0 alt='$StrBack'></a></font>";
- print "</td>";
- print "</tr>";
- print "<tr>";
- print "<td valign='top' colspan=2>";
-
- print "<center><br />";
-
- if (isset($_GET['directory_name']))
- {
- print "$StrDeleteFolderQuestion<br /><br />";
- print "/".htmlentities($wp_fileman_path.$directory_name);
- }
- else if (isset($_GET['filename']))
- {
- print "$StrDeleteFileQuestion<br /><br />";
- print "/".htmlentities($wp_fileman_path.$filename);
- }
-
- print "<br /><br />";
-
- if (isset($_GET['directory_name'])) print "<a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&directory_name=".htmlentities(rawurlencode($directory_name))."&output=delete&delete=true'>$StrYes</a>";
- else if (isset($_GET['filename'])) print "<a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($filename))."&output=delete&delete=true'>$StrYes</a>";
- print " $StrOr ";
- print "<a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."'>$StrCancel</a>";
-
- print "<br /><br /></center>";
-
- print "</td>";
- print "</tr>";
- print "</table>";
- }
-}
-else
- print "<font color='#CC0000'>$StrAccessDenied</font>";
-
-?>
--- a/wp/wp-content/plugins/wp-filemanager/incl/download.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-<?php
-/*
-Logic has shifted to a different place all together this file can be deleted at later stage
-if ( ! defined( 'ABSPATH' ) )
- die();
-if (!@include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php"))
- include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php");
-if ($AllowDownload)
-{
-if (isset($_GET['action']) && $_GET['action'] == "download")
-{
- session_cache_limiter("public, post-check=50");
-// header("Cache-Control: private");
-// echo "Download";
-}
-//echo "Download";
-if (isset($session_save_path))
- session_save_path($session_save_path);
-if (isset($_GET['path']))
- $wp_fileman_path = wp_fileman_validate_path($_GET['path']);
-if (!isset($wp_fileman_path))
- $wp_fileman_path = FALSE;
-if ($wp_fileman_path == "./" || $wp_fileman_path == ".\\" || $wp_fileman_path == "/" || $wp_fileman_path == "\\")
- $wp_fileman_path = FALSE;
-if (isset($_GET['filename']))
- $filename = basename(stripslashes($_GET['filename']));
-//echo "Download";
-if (isset($_GET['filename']) && isset($_GET['action']) && is_file($home_directory.$wp_fileman_path.$filename) || is_file("../../../".$home_directory.$wp_fileman_path.$filename))
-{
- //echo "file found";
- if (is_file($home_directory.$wp_fileman_path.$filename) && !strstr($home_directory, "./") && !strstr($home_directory, ".\\"))
- $fullpath = $home_directory.$wp_fileman_path.$filename;
- else if (is_file("../../../".$home_directory.$wp_fileman_path.$filename))
- $fullpath = "../../../".$home_directory.$wp_fileman_path.$filename;
-echo $fullpath;
- if (!$AllowDownload && $AllowView && !wp_fileman_is_viewable_file($filename))
- {
- print "<font color='#CC0000'>$StrAccessDenied</font>";
- exit();
- }
-
-// header("Content-Type: ".get_mimetype($filename));
-// header("Content-Length: ".filesize($fullpath));
-// if ($_GET['action'] == "download");
- // header("Content-Disposition: attachment; filename=$filename");
-
-// readfile($fullpath);
-}
- print "<table class='index' width=500 cellpadding=0 cellspacing=0>";
- print "<tr>";
- print "<td class='iheadline' height=21>";
- print "<font class='iheadline'> $StrDownload \"".htmlentities($filename)."\"</font>";
- print "</td>";
- print "<td class='iheadline' align='right' height=21>";
- print "<font class='iheadline'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/back.gif' border=0 alt='$StrBack'></a></font>";
- print "</td>";
- print "</tr>";
- print "<tr>";
- print "<td valign='top' colspan=2>";
- print "<center><br />";
- print "$StrDownloadClickLink<br /><br />";
- print "<a href='" . WP_CONTENT_URL . "/plugins/wp-filemanager/incl/libfile.php?".SID."&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($filename))."&action=download'>$StrDownloadClickHere <i>\"".htmlentities($filename)."\"</i></a>";
- print "<br /><br /></center>";
- print "</td>";
- print "</tr>";
- print "</table>";
-}
-else
- print "<font color='#CC0000'>$StrAccessDenied</font>";
-*/
-?>
--- a/wp/wp-content/plugins/wp-filemanager/incl/edit.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,119 +0,0 @@
-<?php
-if ( ! defined( 'ABSPATH' ) )
- die();
-if (!@include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php"))
-{
- include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php");
-}
-//echo "save called with path";
-if ($AllowEdit && isset($_GET['save']) && isset($_POST['filename']))
-{
- //echo "Save Edited file";
- $text = stripslashes($_POST['text']);
- if (!wp_fileman_is_valid_name(stripslashes($_POST['filename'])))
- {
- print "<font color='#CC0000'>$StrFileInvalidName</font>";
- }
- else if ($fp = @fopen ($home_directory.$wp_fileman_path.stripslashes($_POST['filename']), "wb"))
- {
- @fwrite($fp, $text);
- @fclose($fp);
- print "<font color='#009900'>$StrSaveFileSuccess</font>";
- }
- else
- print "<font color='#CC0000'>$StrSaveFileFail</font>";
-}
-else if ($AllowEdit && isset($_GET['filename']))
-{
- $file_name = explode('.',$_GET['filename']);
- if ($file_name[1] == 'js')
- {
- $file_name[1] = 'javascript';
- }
-// wp_enqueue_script('jquery');
-// wp_enqueue_script('codepress');
-
-/* <script type="text/javascript">
- var language = '<?php echo $file_name[1]; ?>';
- var engine = 'older';
- var ua = navigator.userAgent;
- var ts = (new Date).getTime(); // timestamp to avoid cache
-
- if(ua.match('MSIE')) engine = 'msie';
- else if(ua.match('KHTML')) engine = 'khtml';
- else if(ua.match('Opera')) engine = 'opera';
- else if(ua.match('Gecko')) engine = 'gecko';
-
-
- document.write('<link type="text/css" href="<?php echo bloginfo('url') . "/wp-includes/js/codepress/" ?>codepress.css?ts='+ts+'" rel="stylesheet" />');
- document.write('<link type="text/css" href="<?php echo bloginfo('url') . "/wp-includes/js/codepress/" ?>languages/'+language+'.css?ts='+ts+'" rel="stylesheet" id="cp-lang-style" />');
- document.write('<scr'+'ipt type="text/javascript" src="<?php echo bloginfo('url') . "/wp-includes/js/codepress/" ?>engines/'+engine+'.js?ts='+ts+'"></scr'+'ipt>');
- document.write('<scr'+'ipt type="text/javascript" src="<?php echo bloginfo('url') . "/wp-includes/js/codepress/" ?>languages/'+language+'.js?ts='+ts+'"></scr'+'ipt>');
- </script>
-
-
- <script type="text/javascript">
- codepress_path = "<?php echo includes_url('/js/codepress/'); ?>";
- jQuery(document).ready(function($){
- $('#edit_file').submit(function(){
- if ($('#text_cp').length)
- $('#text_cp').val(text.getCode()).removeAttr('disabled');
- });
- $('#reset').click(function(){
- if ($('#text_cp').length)
- $('#text_cp').val(text.getCode()).removeAttr('disabled');
- $('#edit_file').clearForm();
- });
- });
-
- </script>
-*/
- print "<table class='index' width=800 cellpadding=0 cellspacing=0>";
- print "<tr>";
- print "<td class='iheadline' height=21>";
- print "<font class='iheadline'> $StrEditing \"".htmlentities($filename)."\"</font>";
- print "</td>";
- print "<td class='iheadline' align='right' height=21>";
- print "<font class='iheadline'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/back.gif' border=0 alt='$StrBack'></a></font>";
- print "</td>";
- print "</tr>";
- print "<tr>";
- print "<td valign='top' colspan=2>";
-
- print "<center><br />";
-
- if ($fp = @fopen($home_directory.$wp_fileman_path.$filename, "rb"))
- {
- print "<form action='$base_url&output=edit&save=true' method='post' id='edit_file'>";
-// print "<form method='post' name='edit_file' id='edit_file'>";
- //print "<a class='button' href='javascript:text.toggleEditor();' style='float:right'>Code Editor</a>";
- print "\n<textarea cols=120 rows=20 name='text' id='text' class='codepress " . $file_name[1] . "'>";
-// print "\n<textarea cols=120 rows=20 name='text' class='codepress " . $file_name[1] . "'>";
- if (filesize($home_directory.$wp_fileman_path.$filename) > 0 )
- {
- print htmlentities(fread($fp, filesize($home_directory.$wp_fileman_path.$filename)));
- @fclose ($fp);
- }
- print "</textarea>";
-
- print "<br /><br />";
- print "$StrFilename <input size=40 name='filename' value=\"".htmlentities($filename)."\">";
-
- print "<br /><br />";
- print "<input class='bigbutton' id='reset' type='reset' value='$StrRestoreOriginal'> <input class='bigbutton' type='submit' value='$StrSaveAndExit'>";
-
- print "<input type='hidden' name='path' value=\"".htmlentities($wp_fileman_path)."\">";
- print "</form>";
- }
- else
- print "<font color='#CC0000'>$StrErrorOpeningFile</font>";
-
- print "<br /><br /></center>";
-
- print "</td>";
- print "</tr>";
- print "</table>";
-}
-else
- print "<font color='#CC0000'>$StrAccessDenied</font>";
-?>
--- a/wp/wp-content/plugins/wp-filemanager/incl/filebrowser.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,174 +0,0 @@
-<?php
-if ( ! defined( 'ABSPATH' ) )
- die();
-if (!@include_once("auth.inc.php"))
- include_once("auth.inc.php");
-
-if (!isset($_GET['sortby'])) $_GET['sortby'] = "filename";
-if (!isset($_GET['order'])) $_GET['order'] = "asc";
-if (function_exists('get_option') && get_option('wp_fileman_home') == '')
-{
- print "<div><h1><b><a href='admin.php?page=wpfileman' style='color:red;'>Please configure the Plugin</a></b></h1></div>";
-}
-else
-{
- print "<div><h1><b>Wordpress FileManager</b></h1></div>";
-}
-#else
-#{
-# print get_option('wp_fileman_home');
-# print "<br>".get_linked_path($wp_fileman_path,$base_url)."<br>".$wp_fileman_path."<br>".$base_url;
-#}
-print "<table class='menu' cellpadding=2 cellspacing=0>";
- print "<tr>";
- if ($AllowCreateFolder) print "<td align='center' valign='bottom'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&action=create&type=directory'><img src='" .WP_CONTENT_URL . "/plugins/wp-filemanager/icon/newfolder.gif' width=20 height=22 alt='$StrMenuCreateFolder' border=0> $StrMenuCreateFolder</a></td>";
- if ($AllowCreateFile) print "<td align='center' valign='bottom'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&action=create&type=file'><img src='" .WP_CONTENT_URL . "/plugins/wp-filemanager/icon/newfile.gif' width=20 height=22 alt='$StrMenuCreateFile' border=0> $StrMenuCreateFile</a></td>";
- if ($AllowUpload) print "<td align='center' valign='bottom'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&action=upload'><img src='" .WP_CONTENT_URL . "/plugins/wp-filemanager/icon/upload.gif' width=20 height=22 alt='$StrMenuUploadFiles' border=0> $StrMenuUploadFiles</a></td>";
- if ($phpfm_auth) print "<td align='center' valign='bottom'><a href='$base_url&action=logout'><img src='" .WP_CONTENT_URL . "/plugins/wp-filemanager/icon/logout.gif' width=20 height=22 alt='$StrMenuLogOut' border=0> $StrMenuLogOut</a></td>";
- print "</tr>";
-print "</table><br />";
-
-print "<table class='index' cellpadding=0 cellspacing=0>";
- print "<tr>";
- print "<td class='iheadline' colspan=4 align='center' height=21>";
- print "<font class='iheadline'>$StrIndexOf ".wp_fileman_get_linked_path($wp_fileman_path,$base_url)."</font>";
- print "</td>";
- print "</tr>";
- print "<tr>";
- print "<td> </td>";
- print "<td class='fbborder' valign='top'>";
-
-
-
- if ($open = @opendir($home_directory.$wp_fileman_path))
- {
- for($i=0;($directory = @readdir($open)) != FALSE;$i++)
- if (is_dir($home_directory.$wp_fileman_path.$directory) && $directory != "." && $directory != ".." && !wp_fileman_is_hidden_directory($home_directory.$wp_fileman_path.$directory))
- $directories[$i] = array($directory,$directory);
- closedir($open);
-
- if (isset($directories))
- {
- sort($directories);
- @reset($directories);
- }
- }
-
- print "<table class='directories' width=250 cellpadding=1 cellspacing=0>";
- print "<tr>";
- print "<td class='bold' width=20> </td>";
- print "<td class='bold'> $StrFolderNameShort</td>";
- if ($AllowRename) print "<td class='bold' width=20 align='center'>$StrRenameShort</td>";
- if ($AllowDelete) print "<td class='bold' width=20 align='center'>$StrDeleteShort</td>";
- print "</tr>";
- print "<tr>";
- print "<td width=20><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."'><img src='" .WP_CONTENT_URL . "/plugins/wp-filemanager/icon/folder.gif' width=20 height=22 alt='$StrOpenFolder' border=0></a></td>";
- print "<td> <a href='$base_url'>.</a></td>";
- print "<td width=20> </td>";
- print "<td width=20> </td>";
- print "</tr>";
- print "<tr>";
- print "<td width=20><a href='$base_url&path=".htmlentities(rawurlencode(dirname($wp_fileman_path)))."/'><img src='" .WP_CONTENT_URL . "/plugins/wp-filemanager/icon/folder.gif' width=20 height=22 alt='$StrOpenFolder' border=0></a></td>";
- print "<td> <a href='$base_url&path=".htmlentities(rawurlencode(dirname($wp_fileman_path)))."/'>..</a></td>";
- print "<td width=20> </td>";
- print "<td width=20> </td>";
- print "</tr>";
- if (isset($directories)) foreach($directories as $directory)
- {
- print "<tr>";
- print "<td width=20><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path.$directory[0]))."/'><img src='" .WP_CONTENT_URL . "/plugins/wp-filemanager/icon/folder.gif' width=20 height=22 alt='$StrOpenFolder' border=0></a></td>";
- print "<td> <a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path.$directory[0]))."/'>".htmlentities($directory[0])."</a></td>";
- if ($AllowRename) print "<td width=20><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&directory_name=".htmlentities(rawurlencode($directory[0]))."/&action=rename'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/rename.gif' width=20 height=22 alt='$StrRenameFolder' border=0></a></td>";
- if ($AllowDelete) print "<td width=20><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&directory_name=".htmlentities(rawurlencode($directory[0]))."/&action=delete'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/delete.gif' width=20 height=22 alt='$StrDeleteFolder' border=0></a></td>";
- print "</tr>";
- }
- print "<tr><td colspan=4> </td></tr>";
- print "</table>";
-
- print "</td>";
- print "<td> </td>";
- print "<td valign='top'>";
-
-
-
- if ($open = @opendir($home_directory.$wp_fileman_path))
- {
- for($i=0;($file = @readdir($open)) != FALSE;$i++)
- if (is_file($home_directory.$wp_fileman_path.$file) && !wp_fileman_is_hidden_file($home_directory.$wp_fileman_path.$file))
- {
- $icon = wp_fileman_get_icon($file);
- $filesize = filesize($home_directory.$wp_fileman_path.$file);
- $permissions = decoct(fileperms($home_directory.$wp_fileman_path.$file)%01000);
- $modified = filemtime($home_directory.$wp_fileman_path.$file);
- $extension = "";
- $files[$i] = array(
- "icon" => $icon,
- "filename" => $file,
- "filesize" => $filesize,
- "permissions" => $permissions,
- "modified" => $modified,
- "extension" => $extension,
- );
- }
- closedir($open);
-
- if (isset($files))
- {
- @usort($files, "wp_fileman_compare_filedata");
- @reset($files);
- }
- }
-
- print "<table class='files' width=500 cellpadding=1 cellspacing=0>";
- print "<tr>";
- print "<td class='bold' width=20> </td>";
- print "<td class='bold'> <a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&sortby=filename&order=".wp_fileman_get_opposite_order("filename", $_GET['order'])."'>$StrFileNameShort</a></td>";
- print "<td class='bold' width=60 align='center'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&sortby=filesize&order=".wp_fileman_get_opposite_order("filesize", $_GET['order'])."'>$StrFileSizeShort</a></td>";
- if ($AllowView) print "<td class='bold' width=20 align='center'>$StrViewShort</td>";
- if ($AllowEdit) print "<td class='bold' width=20 align='center'>$StrEditShort</td>";
- if ($AllowRename) print "<td class='bold' width=20 align='center'>$StrRenameShort</td>";
- if ($AllowDownload) print "<td class='bold' width=20 align='center'>$StrDownloadShort</td>";
- if ($AllowDelete) print "<td class='bold' width=20 align='center'>$StrDeleteShort</td>";
- print "</tr>";
- if (isset($files)) foreach($files as $file)
- {
- $file['filesize'] = wp_fileman_get_better_filesize($file['filesize']);
- $file['modified'] = date($ModifiedFormat, $file['modified']);
-
- print "<tr>";
- print "<td width=20><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/".$file['icon']."' width=20 height=22 border=0 alt='$StrFile'></td>";
-/* if ($ShowExtension) print "<td> ".htmlentities($file['filename'])."</td>";
- else
- {
- $f_nm = explode('.',htmlentities($file['filename']));
- print "<td><a title='" . $f_nm[0] . "'> " . $f_nm[0] . "</a></td>";
- }*/
- $f_nm = explode('.',htmlentities($file['filename']));
- //print $f_nm[1];
- print "<td> ".$f_nm[0];
- if ($ShowExtension) print "." . $f_nm[1];
- print "</td>";
- print "<td width=60 align='right'>".$file['filesize']."</td>";
- if ($AllowView && wp_fileman_is_viewable_file($file['filename'])) print "<td width=20><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($file['filename']))."&action=view&size=100'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/view.gif' width=20 height=22 alt='$StrViewFile' border=0></a></td>";
- else if ($AllowView) print "<td width=20> </td>";
-// echo get_option('siteurl'); /wp-admin/admin-ajax.php?action=choice&width=150&height=100" title="Choice"
- if ($AllowEdit && wp_fileman_is_editable_file($file['filename'])) print "<td width=20><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($file['filename']))."&action=edit'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/edit.gif' width=20 height=22 alt='$StrEditFile' border=0></a></td>";
-// if ($AllowEdit && is_editable_file($file['filename'])) print "<td width=20><a href='" . get_option('siteurl') . "/wp-admin/admin-ajax.php?action=rename&width=150&hight=100' title='Choice'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/edit.gif' width=20 height=22 alt='$StrEditFile' border=0></a></td>";
- else if ($AllowEdit) print "<td width=20> </td>";
- if ($AllowRename) print "<td width=20><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($file['filename']))."&action=rename'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/rename.gif' width=20 height=22 alt='$StrRenameFile' border=0></a></td>";
-// if ($AllowRename) print "<td width=20><a class='thickbox' href='" . get_option('siteurl') . "/wp-admin/admin-ajax.php?action=rename&width=355&height=120&page=" . htmlentities(rawurlencode($_GET['page'])) . "&filename=".htmlentities(rawurlencode($file['filename']))."' title='Rename File ".htmlentities(rawurlencode($file['filename']))."'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/rename.gif' width=20 height=22 alt='$StrRenameFile' border=0></a></td>";
-// if ($AllowDownload) print "<td width=20><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($file['filename']))."&action=download'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/download.gif' width=20 height=22 alt='$StrDownloadFile' border=0></a></td>";
-// if ($AllowDownload) print "<td width=20><a href='" . WP_PLUGIN_URL .'/' . str_replace(basename( __FILE__),"",plugin_basename(__FILE__)) . "libfile.php?".SID."&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($file['filename']))."&action=download'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/download.gif' width=20 height=22 alt='$StrDownloadFile' border=0></a></td>";
- if ($AllowDownload) print "<td width=20><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($file['filename']))."&action=download'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/download.gif' width=20 height=22 alt='$StrDownloadFile' border=0></a></td>";
- if ($AllowDelete) print "<td width=20><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($file['filename']))."&action=delete'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/delete.gif' width=20 height=22 alt='$StrDeleteFile' border=0></a></td>";
- print "</tr>";
-
- }
- print "<tr><td colspan=9> </td></tr>";
- print "</table>";
-
-
- print "</td>";
- print "</tr>";
-print "</table>";
-?>
--- a/wp/wp-content/plugins/wp-filemanager/incl/functions.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,263 +0,0 @@
-<?php
-if ( ! defined( 'ABSPATH' ) )
- die();
-function wp_fileman_remove_directory($directory) ## Remove a directory recursively
-{
- $list_sub = array();
- $list_files = array();
-
- if (!($open = @opendir($directory)))
- return FALSE;
-
- while(($index = @readdir($open)) != FALSE)
- {
- if (is_dir($directory.$index) && $index != "." && $index != "..")
- $list_sub[] = $index."/";
- else if (is_file($directory.$index))
- $list_files[] = $index;
- }
-
- closedir($open);
-
- foreach($list_files as $file)
- if (!@unlink($directory.$file))
- return FALSE;
-
- foreach($list_sub as $sub)
- {
- wp_fileman_remove_directory($directory.$sub);
- if (!@rmdir($directory.$sub))
- return FALSE;
- }
-
- return TRUE;
-}
-
-function wp_fileman_get_icon($filename) ## Get the icon from the filename
-{
- global $IconArray;
-
- @reset($IconArray);
-
- $extension = strtolower(substr(strrchr($filename, "."),1));
-
- if ($extension == "")
- return "unknown.gif";
-
- while (list($icon, $types) = each($IconArray))
- foreach (explode(" ", $types) as $type)
- if ($extension == $type)
- return $icon;
-
- return "unknown.gif";
-}
-
-function wp_fileman_compare_filedata ($a, $b) ## Compare filedata (used to sort)
-{
- if (is_int($a[$_GET['sortby']]) && is_int($b[$_GET['sortby']]))
- {
- if ($a[$_GET['sortby']]==$b[$_GET['sortby']]) return 0;
-
- if ($_GET['order'] == "asc")
- {
- if ($a[$_GET['sortby']] > $b[$_GET['sortby']]) return 1;
- else return -1;
- }
- else if ($_GET['order'] == "desc")
- {
- if ($a[$_GET['sortby']] < $b[$_GET['sortby']]) return 1;
- else return -1;
- }
- }
-
- else if (is_string($a[$_GET['sortby']]) && is_string($b[$_GET['sortby']]) && $_GET['order'] == "asc")
- return strcmp($a[$_GET['sortby']], $b[$_GET['sortby']]);
- else if (is_string($a[$_GET['sortby']]) && is_string($b[$_GET['sortby']]) && $_GET['order'] == "desc")
- return -strcmp($a[$_GET['sortby']], $b[$_GET['sortby']]);
-}
-
-function wp_fileman_get_opposite_order($input, $order) ## Get opposite order
-{
- if ($_GET['sortby'] == $input)
- {
- if ($order == "asc")
- return "desc";
- else if ($order == "desc")
- return "asc";
- }
- else
- return "asc";
-}
-
-function wp_fileman_is_editable_file($filename) ## Checks whether a file is editable
-{
- global $EditableFiles;
-
- $extension = strtolower(substr(strrchr($filename, "."),1));
-
- foreach(explode(",", $EditableFiles) as $type)
- if ($extension == $type)
- return TRUE;
-
- return FALSE;
-}
-
-function wp_fileman_is_viewable_file($filename) ## Checks whether a file is viewable
-{
- global $ViewableFiles;
-
- $extension = strtolower(substr(strrchr($filename, "."),1));
-
- foreach(explode(",", $ViewableFiles) as $type)
- if ($extension == $type)
- return TRUE;
-
- return FALSE;
-}
-
-function wp_fileman_is_valid_name($input) ## Checks whether the directory- or filename is valid
-{
- if (strstr($input, "\\"))
- return FALSE;
- else if (strstr($input, "/"))
- return FALSE;
- else if (strstr($input, ":"))
- return FALSE;
- else if (strstr($input, "?"))
- return FALSE;
- else if (strstr($input, "*"))
- return FALSE;
- else if (strstr($input, "\""))
- return FALSE;
- else if (strstr($input, "<"))
- return FALSE;
- else if (strstr($input, ">"))
- return FALSE;
- else if (strstr($input, "|"))
- return FALSE;
- else
- return TRUE;
-}
-
-function wp_fileman_get_better_filesize($filesize) ## Converts filesize to KB/MB/GB/TB
-{
- $kilobyte = 1024;
- $megabyte = 1048576;
- $gigabyte = 1073741824;
- $terabyte = 1099511627776;
-
- if ($filesize >= $terabyte)
- return number_format($filesize/$terabyte, 2, ',', '.')." TB";
- else if ($filesize >= $gigabyte)
- return number_format($filesize/$gigabyte, 2, ',', '.')." GB";
- else if ($filesize >= $megabyte)
- return number_format($filesize/$megabyte, 2, ',', '.')." MB";
- else if ($filesize >= $kilobyte)
- return number_format($filesize/$kilobyte, 2, ',', '.')." KB";
- else
- return number_format($filesize, 0, ',', '.')." B";
-}
-
-function wp_fileman_get_current_zoom_level($current_zoom_level, $zoom) ## Get current zoom level
-{
- global $ZoomArray;
-
- @reset($ZoomArray);
-
- while(list($number, $zoom_level) = each($ZoomArray))
- if ($zoom_level == $current_zoom_level)
- if (($number+$zoom) < 0) return $number;
- else if (($number+$zoom) >= count($ZoomArray)) return $number;
- else return $number+$zoom;
-}
-
-function wp_fileman_validate_path($wp_fileman_path) ## Validate path
-{
- global $StrAccessDenied;
-
- if (stristr($wp_fileman_path, "../") || stristr($wp_fileman_path, "..\\"))
- return TRUE;
- else
- return stripslashes($wp_fileman_path);
-}
-
-function wp_fileman_authenticate_user() ## Authenticate user using cookies
-{
- global $username, $password;
-
- if (isset($_COOKIE['cookie_username']) && $_COOKIE['cookie_username'] == $username && isset($_COOKIE['cookie_password']) && $_COOKIE['cookie_password'] == md5($password))
- return TRUE;
- else
- return FALSE;
-}
-
-function wp_fileman_is_hidden_file($wp_fileman_path) ## Checks whether the file is hidden.
-{
- global $hide_file_extension, $hide_file_string, $hide_directory_string;
-
- $extension = strtolower(substr(strrchr($wp_fileman_path, "."),1));
-
- if (is_array($hide_file_extension))
- {
- foreach ($hide_file_extension as $hidden_extension)
- {
- if ($hidden_extension == $extension)
- {
- return TRUE;
- }
- }
- }
- if (is_array($hide_file_string))
- {
- foreach ($hide_file_string as $hidden_string)
- {
- if ($hidden_string != "" && stristr(basename($wp_fileman_path), $hidden_string))
- {
- return TRUE;
-}
-}
-}
- return FALSE;
-}
-
-function wp_fileman_is_hidden_directory($wp_fileman_path) ## Checks whether the directory is hidden.
-{
- global $hide_directory_string;
-
- if (is_array($hide_directory_string))
- foreach ($hide_directory_string as $hidden_string)
- if ($hidden_string != "" && stristr($wp_fileman_path, $hidden_string))
- return TRUE;
-
- return FALSE;
-}
-
-function wp_fileman_get_mimetype($filename) ## Get MIME-type for file
-{
- global $MIMEtypes;
- @reset($MIMEtypes);
- $extension = strtolower(substr(strrchr($filename, "."),1));
- if ($extension == "")
- return "Unknown/Unknown";
- while (list($mimetype, $file_extensions) = each($MIMEtypes))
- foreach (explode(" ", $file_extensions) as $file_extension)
- if ($extension == $file_extension)
- return $mimetype;
-
- return "Unknown/Unknown";
-}
-
-function wp_fileman_get_linked_path($wp_fileman_path,$base_url) ## Get path with links to each folder
-{
- $string = "<a href='$base_url'>.</a> / ";
- $array = explode("/",htmlentities($wp_fileman_path));
- unset($array[count($array)-1]);
- foreach ($array as $entry)
- {
- @$temppath .= $entry."/";
- $string .= "<a href='$base_url&path=".htmlentities(rawurlencode($temppath))."'>$entry</a> / ";
- }
-
- return $string;
-}
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/incl/header.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?php
-if ( ! defined( 'ABSPATH' ) )
- die();
-$base_url = "?page=" . htmlentities(rawurlencode($_GET['page']));
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/incl/html.header.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?php
-if ( ! defined( 'ABSPATH' ) )
- die();
- print "<link rel='stylesheet' href='" . WP_CONTENT_URL . "/plugins/wp-filemanager/incl/phpfm.css' type='text/css'>";
- print "<center>";
- print "<br />";
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/incl/libfile.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-<?php
-die()
-//Code kept just for reference
-#if ( ! defined( 'ABSPATH' ) )
-# die();
-//echo defined('WP_CONTENT_DIR');
-//if (defined(WP_CONTENT_DIR))
-//{
-// include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/fm.php");
-//}
-/*
-echo "Hello";
-if (!@include_once("auth.inc.php"))
- include_once("auth.inc.php");
-include("../conf/config.inc.php");
-include("./functions.inc.php");
-include("../lang/$language.inc.php");
-//echo "Download : " . $AllowDownload;
-//if (function_exists('get_option'))
-//{
-// echo "Exists";
-//}
-//else
-//{
-// echo "Sorry";
-//}
-if (isset($_GET['action']) && $_GET['action'] == "download")
-{
- session_cache_limiter("public, post-check=50");
- header("Cache-Control: private");
-}
-if (isset($session_save_path)) session_save_path($session_save_path);
-
-if (isset($_GET['path'])) $wp_fileman_path = validate_path($_GET['path']);
-if (!isset($wp_fileman_path)) $wp_fileman_path = FALSE;
-if ($wp_fileman_path == "./" || $wp_fileman_path == ".\\" || $wp_fileman_path == "/" || $wp_fileman_path == "\\") $wp_fileman_path = FALSE;
-if (isset($_GET['filename'])) $filename = basename(stripslashes($_GET['filename']));
-/*echo "<pre>";
-print_r($_GET);
-echo "</pre>";*/
-/*if ($AllowDownload || $AllowView)
-{
-//echo "Download Allowed";
-/* if (is_file("../../../" . $home_directory . $wp_fileman_path.$filename))
- {
- echo "File Found";
- }
- else
- {
- echo "Path : " . $home_directory . " & ".$wp_fileman_path . " & " .$filename;
- }
- */
- /*if (isset($_GET['filename']) && isset($_GET['action']) && is_file($home_directory.$wp_fileman_path.$filename) || is_file("../../../".$home_directory.$wp_fileman_path.$filename))
- {
-// echo "file found";
- if (is_file($home_directory.$wp_fileman_path.$filename) && !strstr($home_directory, "./") && !strstr($home_directory, ".\\"))
- $fullpath = $home_directory.$wp_fileman_path.$filename;
- else if (is_file("../../../".$home_directory.$wp_fileman_path.$filename))
- $fullpath = "../../../".$home_directory.$wp_fileman_path.$filename;
-//echo $fullpath;
- if (!$AllowDownload && $AllowView && !is_viewable_file($filename))
- {
- print "<font color='#CC0000'>$StrAccessDenied</font>";
- exit();
- }
- header("Content-Type: ".get_mimetype($filename));
- header("Content-Length: ".filesize($fullpath));
- if ($_GET['action'] == "download");
- header("Content-Disposition: attachment; filename=$filename");
- readfile($fullpath);
- }
- else
- print "<font color='#CC0000'>$StrDownloadFail</font>";
-}*/
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/incl/phpfm.css Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-font.headline { font-family : Tahoma, serif; font-size : 25pt; color : #000000; font-weight : bold; background-color: transparent; }
-font.iheadline { font-family : Tahoma, serif; font-size : 10pt; color : #FFFFFF; font-weight : bold; background-color: transparent; }
-table.top { width: 100%; background-color: transparent; }
-table.bottom { width: 100%; border-top : 1px solid #000000; font-family : Tahoma, serif; font-size : 8pt; background-color: transparent; }
-table.index { background-color : #F4F4F4; color : #000000; border : 1px solid #000000; font-family : Tahoma, serif; font-size : 8pt; }
-table.directories { font-family : Tahoma, serif; font-size : 10pt; background-color: transparent; }
-table.files {
- font-family : Tahoma, serif;
- font-size : 10pt;
- background-color: transparent;
- text-align: left;
-}
-table.menu { font-family : Tahoma, serif; font-size : 10pt; background-color: transparent; }
-table.upload { font-family : Tahoma, serif; font-size : 8pt; background-color: transparent; }
-table.output { font-family : Tahoma, serif; font-size : 8pt; background-color : #EEEEEE; color : #000000; }
-td.iheadline { background-color : #6699CC; border-bottom : 1px solid #000000; }
-td.fbborder { border-right : 1px solid #000000; background-color: transparent; }
-input { background-color : #DDDDDD; border : 1px solid #000000; font-family : Tahoma, serif; font-size : 8pt; color : #000000; }
-input.button { width : 50px; }
-input.bigbutton { width : 100px; }
-textarea { background-color : #FFFFFF; color : #000000; border : 1px solid #000000; font-family : Tahoma, serif; font-size : 10pt; }
-.bold { font-weight : bold; background-color: transparent; }
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/incl/rename.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-<?php
-if ( ! defined( 'ABSPATH' ) )
- die();
-if (!@include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php"))
- include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php");
-include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/lang/$language.inc.php");
-include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/header.inc.php");
-if ($AllowRename && isset($_GET['directory_name']) || $AllowRename && isset($_GET['filename']) || $AllowRename && isset($_POST['directory_name']) || $AllowRename && isset($_POST['filename']))
-{
- $filename = stripslashes($_GET['filename']);
- if (isset($_GET['rename']) && isset($_POST['directory_name']))
- {
- if (!wp_fileman_is_valid_name(substr($new_directory_name, 0, -1)))
- print "<font color='#CC0000'>$StrFolderInvalidName</font>";
- else if (@file_exists($home_directory.$wp_fileman_path.$new_directory_name))
- print "<font color='#CC0000'>$StrAlreadyExists</font>";
- else if (@rename($home_directory.$wp_fileman_path.$directory_name, $home_directory.$wp_fileman_path.$new_directory_name))
- print "<font color='#009900'>$StrRenameFolderSuccess</font>";
- else
- {
- print "<font color='#CC0000'>$StrRenameFolderFail</font><br /><br />";
- print $StrRenameFolderFailHelp;
- }
- }
-
- else if (isset($_GET['rename']) && isset($_POST['filename']))
- {
- $filename = stripslashes($_POST['filename']);
- if (!wp_fileman_is_valid_name($new_filename))
- print "<font color='#CC0000'>$StrFileInvalidName</font>";
- else if (@file_exists($home_directory.$wp_fileman_path.$new_filename))
- print "<font color='#CC0000'>$StrAlreadyExists</font>";
- else if (@rename($home_directory.$wp_fileman_path.$filename, $home_directory.$wp_fileman_path.$new_filename))
- print "<font color='#009900'>$StrRenameFileSuccess</font>";
- else
- {
- echo $home_directory.$wp_fileman_path.$filename;
- //print rename($home_directory.$wp_fileman_path.$filename, $home_directory.$wp_fileman_path.$new_filename);
- print "<font color='#CC0000'>$StrRenameFileFail</font><br /><br />";
- print $StrRenameFileFailHelp;
- }
- }
-
- else
- {
- print "<table class='index' width=350 cellpadding=0 cellspacing=0 border=0>";
- print "<tr>";
- print "<td class='iheadline' height=21>";
- if (isset($_GET['directory_name'])) print "<font class='iheadline'> $StrRenameFolder \"".htmlentities(basename($directory_name))."\"</font>";
- else if (isset($_GET['filename'])) print "<font class='iheadline'> $StrRenameFile \"".htmlentities(stripslashes($_GET['filename']))."\"</font>";
- print "</td>";
- print "<td class='iheadline' align='right' height=21>";
- print "<font class='iheadline'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/back.gif' border=0 alt='$StrBack'></a></font>";
- print "</td>";
- print "</tr>";
- print "<tr>";
- print "<td valign='top' colspan=2>";
-
- print "<center><br />";
-
- if (isset($_GET['directory_name'])) print "$StrRenameFolderQuestion<br /><br />";
- else if (isset($_GET['filename'])) print "$StrRenameFileQuestion<br /><br />";
- print "<form action='$base_url&output=rename&rename=true' method='post'>";
- if (isset($_GET['directory_name'])) print "<input name='new_directory_name' value=\"".htmlentities(basename($directory_name))."\" size=40> ";
- else if (isset($_GET['filename'])) print "<input name='new_filename' value=\"".htmlentities(stripslashes($_GET['filename']))."\" size=40> ";
- print "<input class='bigbutton' type='submit' value='$StrRename'>";
- if (isset($_GET['directory_name'])) print "<input type='hidden' name=directory_name value=\"".htmlentities($directory_name)."\">";
- else if (isset($_GET['filename'])) print "<input type='hidden' name=filename value=\"".htmlentities(stripslashes($_GET['filename']))."\">";
- print "<input type='hidden' name=path value=\"".htmlentities($wp_fileman_path)."\">";
- print "</form>";
-
- print "<br /><br /></center>";
-
- print "</td>";
- print "</tr>";
- print "</table>";
- }
-}
-else
- print "<font color='#CC0000'>$StrAccessDenied</font>";
-
-?>
--- a/wp/wp-content/plugins/wp-filemanager/incl/upload.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-<?php
-if ( ! defined( 'ABSPATH' ) )
- die();
-if (!@include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php"))
- include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php");
-
-if ($AllowUpload && isset($_GET['upload']))
-{
- print "<table cellspacing=0 cellpadding=0 class='upload'>";
-
- if (!isset($_FILES['userfile']))
- // maximum post size reached
- print $StrUploadFailPost;
- else
- {
- for($i=0;$i<count($_FILES['userfile']['tmp_name']);$i++)
- {
- $_FILES['userfile']['name'][$i] = stripslashes($_FILES['userfile']['name'][$i]);
-if (@move_uploaded_file($_FILES['userfile']['tmp_name'][$i], realpath($home_directory.$wp_fileman_path)."/".$_FILES['userfile']['name'][$i])) {
-print "<tr><td width='250'>$StrUploading ".$_FILES['userfile']['name'][$i]."</td><td width='50' align='center'>[<font color='#009900'>$StrUploadSuccess</font>]</td></tr>";
-$new_file = @realpath($home_directory.$wp_fileman_path).'/'.$_FILES['userfile']['name'][$i];
-$stat = @stat( dirname( $new_file ));
-$perms = $stat['mode'] & 0000666;
-@chmod( $new_file, $perms );
- } else if ($_FILES['userfile']['name'][$i])
- print "<tr><td width='250'>$StrUploading ".$_FILES['userfile']['name'][$i]."</td><td width='50' align='center'>[<font color='#CC0000'>$StrUploadFail</font>]</td></tr>";
- }
- }
- print "</table>";
-}
-
-else if ($AllowUpload)
-{
- print "<table class='index' width=500 cellpadding=0 cellspacing=0>";
- print "<tr>";
- print "<td class='iheadline' height=21>";
- print "<font class='iheadline'> $StrUploadFilesTo \"/".htmlentities($wp_fileman_path)."\"</font>";
- print "</td>";
- print "<td class='iheadline' align='right' height=21>";
- print "<font class='iheadline'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/back.gif' border=0 alt='$StrBack'></a></font>";
- print "</td>";
- print "</tr>";
- print "<tr>";
- print "<td valign='top' colspan=2>";
-$max_upload = (int)(ini_get('upload_max_filesize'));
-$max_post = (int)(ini_get('post_max_size'));
-$memory_limit = (int)(ini_get('memory_limit'));
-$upload_mb = min($max_upload, $max_post, $memory_limit);
-$max_files = (int)(ini_get('max_file_uploads'));
-
-// print "MAX UPload : $max_upload MB, MAX POST : $max_post MB, MEM LIMIT : $memory_limit MB";
-print "<br /><b> Maximum File Size Allowed : $upload_mb MB</b>";
-print "<br /><b> Maximum Number of Files Allowed : $max_files</b>";
-// FIXME : add link to howto on how to change the upload size.
- print "<center><br />";
-
-
- print "$StrUploadQuestion<br />";
- print "<form action='$base_url&output=upload&upload=true' method='post' enctype='multipart/form-data'>";
-
- print "<table class='upload'>";
- print "<tr><td>$StrFirstFile</td><td><input type='file' name='userfile[]' size=30 multiple='multiple'></td></tr>";
- print "</table>";
-
- print "<input class='bigbutton' type='submit' value='$StrUpload'>";
- print "<input type='hidden' name=path value=\"".htmlentities($wp_fileman_path)."\">";
- print "</form>";
- print "<br /><br /></center>";
-
- print "</td>";
- print "</tr>";
- print "</table>";
-}
-else
- print "<font color='#CC0000'>$StrAccessDenied</font>";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/incl/view.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
-<?php
-if (!defined( 'ABSPATH' ) )
- die();
-if (!@include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php"))
- include_once(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/auth.inc.php");
-
-if ($AllowView && isset($_GET['filename']))
-{
- $filename = stripslashes($_GET['filename']);
-
- print "<table class='index' width=800 cellpadding=0 cellspacing=0>";
- print "<tr>";
- print "<td class='iheadline' height=21>";
- print "<font class='iheadline'> $StrViewing \"".htmlentities($filename)."\" $StrAt ".$_GET['size']."%</font>";
- print "</td>";
- print "<td class='iheadline' align='right' height=21>";
- print "<font class='iheadline'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/back.gif' border=0 alt='$StrBack'></a></font>";
- print "</td>";
- print "</tr>";
- print "<tr>";
- print "<td valign='top' colspan=2>";
-
- print "<center><br />";
-
- if (is_file($home_directory.$wp_fileman_path.$filename) && wp_fileman_is_viewable_file($filename))
- {
- $image_info = GetImageSize($home_directory.$wp_fileman_path.$filename);
- $size = $_GET['size'];
- $zoom_in = $ZoomArray[wp_fileman_get_current_zoom_level($size, 1)];
- $zoom_out = $ZoomArray[wp_fileman_get_current_zoom_level($size, -1)];
- $width = $image_info[0] * $size / 100;
- $height = $image_info[1] * $size / 100;
-
- $files = array();
- if ($open = @opendir($home_directory.$wp_fileman_path))
- {
- while ($file = @readdir($open))
- if (is_file($home_directory.$wp_fileman_path.$file) && wp_fileman_is_viewable_file($file))
- $files[] = $file;
- closedir($open);
- sort($files);
-
- if (count($files)>1)
- {
- for($i=0;$files[$i]!=$filename;$i++);
- if ($i==0) $prev = $files[$i+count($files)-1];
- else $prev = $files[$i-1];
- if ($i==(count($files)-1)) $next = $files[$i-count($files)+1];
- else $next = $files[$i+1];
- }
- else
- {
- $prev = $filename;
- $next = $filename;
- }
- }
-
- print "<table class='menu' cellpadding=2 cellspacing=0>";
- print "<tr>";
- print "<td align='center' valign='bottom'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($filename))."&action=view&size=$zoom_in'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/plus.gif' width=11 height=11 border=0 alt='$StrZoomIn'> $StrZoomIn</a></td>";
- print "<td align='center' valign='bottom'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($filename))."&action=view&size=$zoom_out'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/minus.gif' width=11 height=11 border=0 alt='$StrZoomOut'> $StrZoomOut</a></td>";
- print "<td align='center' valign='bottom'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($filename))."&action=view&size=100'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/original.gif' width=11 height=11 border=0 alt='$StrOriginalSize'> $StrOriginalSize</a></td>";
- print "<td align='center' valign='bottom'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($prev))."&action=view&size=$size'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/previous.gif' width=11 height=11 border=0 alt='$StrPrevious'> $StrPrevious</a></td>";
- print "<td align='center' valign='bottom'><a href='$base_url&path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($next))."&action=view&size=$size'><img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/icon/next.gif' width=11 height=11 border=0 alt='$StrNext'> $StrNext</a></td>";
- print "</tr>";
- print "</table><br />";
- //echo base
- //print "<img src='" . WP_CONTENT_URL . "/plugins/wp-filemanager/incl/libfile.php?path=".htmlentities(rawurlencode($wp_fileman_path))."&filename=".htmlentities(rawurlencode($filename))."&action=view' width='$width' height='$height' alt='$StrImage'>";
- if (is_file($home_directory.$wp_fileman_path.$filename))
- $fullpath = $home_directory.$wp_fileman_path.$filename;
-
- //$file_data=readfile($fullpath);
- print "<img src='data:".wp_fileman_get_mimetype($filename). ";base64," . base64_encode(@file_get_contents($fullpath)) . "' width='$width' height='$height' alt='$StrImage'>";
- }
- else
- {
- print "<font color='#CC0000'>$StrViewFail</font><br /><br />";
- print "$StrViewFailHelp";
- }
-
- print "<br /><br /></center>";
-
- print "</td>";
- print "</tr>";
- print "</table>";
-
- print "<input type='hidden' name='path' value=\"".htmlentities($wp_fileman_path)."\">";
-}
-else
- print "<font color='#CC0000'>$StrAccessDenied</font>";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/bulgarian.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by Plamen Baruh (plamen@baruh.net) */
-
-$StrLanguageCharset = "windows-1251";
-
-$StrIndexOf = "Ñïèñúê íà";
-
-$StrMenuCreateFolder = "Íîâà äèðåêòîðèÿ";
-$StrMenuCreateFile = "Íîâ ôàéë";
-$StrMenuUploadFiles = "Êà÷âàíå íà ôàéë";
-$StrMenuLogOut = "Èçõîä";
-
-$StrOpenFolder = "Âëèçàíå â äèðåêòîðèÿ";
-$StrRenameFolder = "Ïðåèìåíóâàíå íà äèðåêòîðèÿ";
-$StrDeleteFolder = "Èçòðèâàíå íà äèðåêòîðèÿ";
-
-$StrViewFile = "Îòâîðè ôàéë";
-$StrEditFile = "Ðåäàêòèðàé ôàéë";
-$StrRenameFile = "Ïðåèìåíóâàé ôàéë";
-$StrDownloadFile = "Ñâàëè ôàéë";
-$StrDeleteFile = "Èçòðèé ôàéë";
-
-$StrFile = "Ôàéë";
-
-$StrFolderNameShort = "Èìå";
-$StrFileNameShort = "Èìå";
-$StrFileSizeShort = "Ãîëåìèíà";
-$StrPermissionsShort = "Ïðàâà";
-$StrLastModifiedShort = "Ïðîìÿíà";
-$StrEditShort = "Î";
-$StrViewShort = "Ð";
-$StrRenameShort = "Ï";
-$StrDownloadShort = "Ñ";
-$StrDeleteShort = "È";
-
-$StrBack = "Íàçàä";
-$StrYes = "Äà";
-$StrOr = "èëè";
-$StrCancel = "Îòêàæè";
-
-$StrUsername = "Ïîòðáèòåëñêî èìå:";
-$StrPassword = "Ïàðîëà:";
-$StrLogIn = "Âëåç";
-$StrLoginSystem = "Âõîä â ñèñòåìà:";
-$StrLoginInfo = "Ìîëÿ âúâåäåòå âàøåòî ïîòðåáèòåëñêî èìå è ïàðîëàòà âè çà äîñòúï:";
-
-$StrAccessDenied = "Äîñòúï îòêàçàí!";
-
-$StrInvalidHomeFolder = "Ãðåøåí êîðåí íà äúðâî.";
-$StrInvalidPath = "Ãðåøåí ïúò.";
-$StrMissingTrailingSlash = "(Ëèïñâà âîäåùàòà íàêëîíåíà ÷åðòà)";
-$StrAlreadyExists = "Ôàéë èëè äèðåêòîðèÿ ñ òàâà èìå âå÷å ñúùåñòâóâàò.";
-$StrFolderInvalidName = "Íåâàëèäíè èìå çà ôàéë èëè äèðåêòîðèÿ.";
-$StrFileInvalidName = "Íåâàëèäíî èìå çà ôàéë.";
-$StrErrorOpeningFile = "Ãðåøêà ïðè îòâàðÿíå íà ôàéë.";
-
-$StrSaveFileSuccess = "Ôàéëúò å çàïèñàí óñïåøíî!";
-$StrSaveFileFail = "Ãðåøêà ïðè çàïèñâàíå íà ôàéë.";
-$StrEditing = "Ðåäàêòèðàíå";
-$StrFilename = "Èìå íà ôàéë:";
-$StrRestoreOriginal = "Îòêàæè ïðîìåíèòå";
-$StrSaveAndExit = "Çàïèøè & Èçëåç";
-
-$StrDeleteFolderNotFound = "Äèðåêòîðèÿòà íå å íàìåðåíà.";
-$StrDeleteFileNotFound = "Ôàéëúò íå å íàìåðåí.";
-$StrDeleteFolderSuccess = "Äèðåêòîðèÿòà å èçòðèòà óñïåøíî!";
-$StrDeleteFileSuccess = "Ôàéëúò å èçòðèí óñïåøíî!";
-$StrDeleteFolderFail = "Ãðåøêà ïðè èçòðèâàíå íà äèðåêòîðèÿ.";
-$StrDeleteFileFail = "Ãðåøêà ïðè èçòðèâàíå íà ôàéë.";
-$StrDeleteFolderFailHelp = "Òîâà ìîæå äà ñå äúëæè íà ëèïñà íà ïðàâà.";
-$StrDeleteFileFailHelp = "Òîâà ìîæå äà ñå äúëæè íà ëèïñà íà ïðàâà.";
-$StrDeleteFolderQuestion = "Ñèãóðíè ëè ñòå, ÷å èñêàòå äà èçòðèåòå äèðåêòîðèÿòà?";
-$StrDeleteFileQuestion = "Ñèãóðíè ëè ñòå, ÷å èñêàòå äà èçòðèåòå ôàéëúò?";
-
-$StrRename = "Ïðåèìåíóâàíå";
-$StrRenameFolder = "Ïðåèìåíóâàíå íà äèðåêòîðèÿ";
-$StrRenameFile = "Ïðåèìåíóâàíå íà ôàéë";
-$StrRenameFolderSuccess = "Äèðåêòîðèÿòà å ïðåèìåíóâàíà óñïåøíî!";
-$StrRenameFileSuccess = "Ôàéëúò å ïðåèìåíóâàí óñïåøíî!";
-$StrRenameFolderFail = "Ãðåøêà ïðè ïðåèìåíóâàíå íà äèðåêòîðèÿ.";
-$StrRenameFileFail = "Ãðåøêà ïðè ïðåèìåíóâàíå íà ôàéë.";
-$StrRenameFolderFailHelp = "Òîâà ìîæå äà ñå äúëæè íà ëèïñà íà ïðàâà èëè ãðåøíî èìå íà äèðåêòèðèÿ.";
-$StrRenameFileFailHelp = "Òîâà ìîæå äà ñå äúëæè íà ëèïñà íà ïðàâà èëè ãðåøíî èìå íà ôàéë.";
-$StrRenameFolderQuestion = "Ìîëÿ èçáåðåòå íîâî èìå çà ñëåäíàòà äèðåêòèðÿ:";
-$StrRenameFileQuestion = "Ìîëÿ èçáåðåòå íîâî èìå çà ñëåäíèÿ ôàéë:";
-
-$StrCreate = "Ñúçäâàíå";
-$StrCreateFolder = "Ñúçäàâàíå íà íîâà äèðåêòîðèÿ";
-$StrCreateFile = "Ñúçäàâàíå íà íîâ ôàéë";
-$StrCreateFolderSuccess = "Äèðåêòîðèÿòà å ñúçäàäåíà óñïåøíî!";
-$StrCreateFileSuccess = "Ôàéëúò å ñúçäàäåí óñïåøíî!";
-$StrCreateFolderFail = "Ãðåøêà ïðè ñúçäàâàíå íà äèðåêòîðèÿ.";
-$StrCreateFileFail = "Ãðåøêà ïðè ñúçäàâàíå íà ôàéë.";
-$StrCreateFolderFailHelp = "Òîâà ìîæå äà ñå äúëæè íà ëèïñà íà ïðàâà.";
-$StrCreateFileFailHelp = "Òîâà ìîæå äà ñå äúëæè íà ëèïñà íà ïðàâà.";
-$StrCreateFolderQuestion = "Èçáåðåòå èìå çà íîâàòà äèðåêòîðèÿ:";
-$StrCreateFileQuestion = "Èçáåðåòå èìå çà íîâèÿò ôàéë:";
-
-$StrUpload = "Êà÷âàíå";
-$StrUploadFilesTo = "Êà÷âàíå íà ôàéë â";
-$StrUploading = "Êà÷âàíå";
-$StrUploadSuccess = "ÎÊ!";
-$StrUploadFail = "ÃÐÅØÊÀ!";
-$StrUploadFailPost = "Ìàêñèìàëíàòà ãîëåìèíà å äîñòèãíàòà.";
-$StrFirstFile = "1âè ôàéë:";
-$StrSecondFile = "2ðè ôàéë:";
-$StrThirdFile = "3òè ôàéë:";
-$StrFourthFile = "4òè ôàéë:";
-$StrUploadQuestion = "Èçáåðåòå ôàéëîâòå, êîèòî èñêàòå äà êà÷èòå:";
-$StrUploadNote = "Çàáåëåæêà: Êà÷åíèòå ôàéëîâå ùå áúäàò ñëîæåíè â:";
-
-$StrDownload = "Ñâàëÿíå";
-$StrDownloadClickLink = "Íàòèñíåòå äîëíèÿ ëèíê çà äà çàïî÷íåòå ñâàëÿíåòî.";
-$StrDownloadClickHere = "Çà ñâàëÿíå íàòèñíåòå òóê";
-$StrDownloadFail = "Ãðåøêà ïðè îòâàðÿíå íà ôàéë èëè ãðåøíî èìå íà ôàéë.";
-
-$StrViewing = "Ðàçãëåæäàíå";
-$StrAt = "íà";
-$StrViewFail = "Ãðåøêà ïðè òîâàðÿíå íà êàðòèíêà.";
-$StrViewFailHelp = "Ãðåøêà ïðè îòâàðÿíå íà ôàéë èëè ôàéëúò íå å êàðòèíêà.";
-$StrImage = "Êàðòèíêà";
-$StrZoomIn = "Óãîëåìè";
-$StrZoomOut = "Íàìàëè";
-$StrOriginalSize = "Îðãèíàëíà ãîëåìèíà";
-$StrPrevious = "Íàçàä";
-$StrNext = "Íàïðåä";
-
-?>
--- a/wp/wp-content/plugins/wp-filemanager/lang/czech.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by Petr Sahula (petr@sahula.info) */
-
-$StrLanguageCharset = "UTF-8";
-
-$StrIndexOf = "Obsah složky";
-
-$StrMenuCreateFolder = "Vytvořit složku";
-$StrMenuCreateFile = "Vytvořit nový soubor";
-$StrMenuUploadFiles = "Nahrát soubor";
-$StrMenuLogOut = "Odhlásit";
-
-$StrOpenFolder = "OtevÅ™Ãt složku";
-$StrRenameFolder = "Přejmenovat složku";
-$StrDeleteFolder = "Smazat složku";
-
-$StrViewFile = "Zobrazit soubor";
-$StrEditFile = "Editovat soubor";
-$StrRenameFile = "Přejmenovat soubor";
-$StrDownloadFile = "Stáhnout soubor";
-$StrDeleteFile = "Smazat soubor";
-
-$StrFile = "Soubor";
-
-$StrFolderNameShort = "Název";
-$StrFileNameShort = "Název";
-$StrFileSizeShort = "Velikost";
-$StrPermissionsShort = "OprávnÄ›nÃ";
-$StrLastModifiedShort = "Změněno";
-$StrEditShort = "Ed";
-$StrViewShort = "Zo";
-$StrRenameShort = "Ná";
-$StrDownloadShort = "St";
-$StrDeleteShort = "Sm";
-
-$StrBack = "Zpět";
-$StrYes = "Ano";
-$StrOr = "nebo";
-$StrCancel = "Zružit";
-
-$StrUsername = "Uživatelské jméno:";
-$StrPassword = "Heslo:";
-$StrLogIn = "Přihlásit";
-$StrLoginSystem = "Přihlásit do systému:";
-$StrLoginInfo = "Vložte své uživatelské jméno a heslo:";
-
-$StrAccessDenied = "PÅ™Ãstup zamÃtnut!";
-
-$StrInvalidHomeFolder = "Chyba výchozà složky.";
-$StrInvalidPath = "Neplatná cesta.";
-$StrMissingTrailingSlash = "(Chybà lomÃtko)";
-$StrAlreadyExists = "Soubor nebo složka již existujÃ!";
-$StrFolderInvalidName = "Chybný název složky.";
-$StrFileInvalidName = "Chybný název souboru.";
-$StrErrorOpeningFile = "Chyba otevřenà souboru.";
-
-$StrSaveFileSuccess = "Soubor uložen úspěšně!";
-$StrSaveFileFail = "Ukládánà souboru selhalo.";
-$StrEditing = "Editace";
-$StrFilename = "Název souboru:";
-$StrRestoreOriginal = "Obnovit původnÃ";
-$StrSaveAndExit = "Uložit a ukonÄit";
-
-$StrDeleteFolderNotFound = "Složka nenà otevřena.";
-$StrDeleteFileNotFound = "Soubor nenalezen.";
-$StrDeleteFolderSuccess = "Složka úspěšně smazána!";
-$StrDeleteFileSuccess = "Soubor úspěšně smazán!";
-$StrDeleteFolderFail = "Mazánà složky selhalo.";
-$StrDeleteFileFail = "Mazánà souboru selhalo.";
-$StrDeleteFolderFailHelp = "Možným důvodem jsou nedostateÄná práva.";
-$StrDeleteFileFailHelp = "Možným důvodem jsou nedostateÄná práva.";
-$StrDeleteFolderQuestion = "Chcete opravdu smazat tuto složku?";
-$StrDeleteFileQuestion = "Chcete opravdu smazat tento soubor?";
-
-$StrRename = "Přejmenovat";
-$StrRenameFolder = "Přejmenovat složku";
-$StrRenameFile = "Přejmenovat soubor";
-$StrRenameFolderSuccess = "Složka úspěšně přejmenována!";
-$StrRenameFileSuccess = "Soubor úspěšně přejmenován!";
-$StrRenameFolderFail = "Přejmenovánà složky selhalo.";
-$StrRenameFileFail = "Přejmenovánà souboru selhalo.";
-$StrRenameFolderFailHelp = "Možným důvodem jsou nedostateÄná práva nebo chybou v názvu složky.";
-$StrRenameFileFailHelp = "Možným důvodem jsou nedostateÄná práva nebo chybou v názvu souboru.";
-$StrRenameFolderQuestion = "Zvolte nové jméno složky:";
-$StrRenameFileQuestion = "Zvolte nové jméno souboru:";
-
-$StrCreate = "Vytvořit";
-$StrCreateFolder = "Vytvořit novou složku";
-$StrCreateFile = "Vytvořit nový soubor";
-$StrCreateFolderSuccess = "Složka vytvořena úspěšně!";
-$StrCreateFileSuccess = "Soubor vytvořen úspěšně!";
-$StrCreateFolderFail = "Vytvořenà složky selhalo.";
-$StrCreateFileFail = "Vytvořenà souboru selhalo.";
-$StrCreateFolderFailHelp = "Možným důvodem jsou nedostateÄná práva.";
-$StrCreateFileFailHelp = "Možným důvodem jsou nedostateÄná práva.";
-$StrCreateFolderQuestion = "Zvolte název nové složky:";
-$StrCreateFileQuestion = "Zvolte název nového souboru:";
-
-$StrUpload = "Nahrát";
-$StrUploadFilesTo = "Nahrát soubor do";
-$StrUploading = "Nahrávám";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "SELHÃNÃ!";
-$StrUploadFailPost = "PÅ™ekroÄena maximálnà dovolená velikost - viz. docs/faq.txt.";
-$StrFirstFile = "Soubor 1:";
-$StrSecondFile = "Soubor 2:";
-$StrThirdFile = "Soubor 3:";
-$StrFourthFile = "Soubor 4:";
-$StrUploadQuestion = "Vyberte soubory, které chcete nahrát na server:";
-$StrUploadNote = "Pozn.: Nahrané soubory budou umÃstÄ›ny do složky:";
-
-$StrDownload = "Stáhnout";
-$StrDownloadClickLink = "Pro zahájenà stahovánà souboru kliknete na odkaz nÞe.";
-$StrDownloadClickHere = "Zahájit stahovánÃ";
-$StrDownloadFail = "Chyba pÅ™i otevÃránà souboru nebo soubor neexistuje.";
-
-$StrViewing = "ZobrazenÃ";
-$StrAt = "na";
-$StrViewFail = "Chyba při zobrazenà souboru.";
-$StrViewFailHelp = "Soubor neexistuje nebo nejde o obrázek.";
-$StrImage = "Obrázek";
-$StrZoomIn = "PřiblÞit";
-$StrZoomOut = "Oddálit";
-$StrOriginalSize = "Původnà velikost";
-$StrPrevious = "PÅ™edchozÃ";
-$StrNext = "NásledujÃcÃ";
-
-?>
--- a/wp/wp-content/plugins/wp-filemanager/lang/danish.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,127 +0,0 @@
-<?php
-/* translation by Morten Bojsen-Hansen (phpfm@zalon.dk) */
-
-$StrLanguageCharset = "ISO-8859-1";
-
-$StrIndexOf = "Indeks af";
-
-$StrMenuCreateFolder = "Opret ny mappe";
-$StrMenuCreateFile = "Opret ny fil";
-$StrMenuUploadFiles = "Overfør filer";
-$StrMenuLogOut = "Log af";
-
-$StrOpenFolder = "Åben mappe";
-$StrRenameFolder = "Omdøb mappe";
-$StrDeleteFolder = "Slet mappe";
-
-$StrViewFile = "Vis fil";
-$StrEditFile = "Editer fil";
-$StrRenameFile = "Omdøb fil";
-$StrDownloadFile = "Hent fil";
-$StrDeleteFile = "Slet fil";
-
-$StrFile = "Fil";
-
-$StrFolderNameShort = "Navn";
-$StrFileNameShort = "Navn";
-$StrFileSizeShort = "Str.";
-$StrPermissionsShort = "Adgang";
-$StrLastModifiedShort = "Ændret";
-$StrEditShort = "Ed";
-$StrViewShort = "Vi";
-$StrRenameShort = "Om";
-$StrDownloadShort = "He";
-$StrDeleteShort = "Sl";
-
-$StrBack = "Tilbage";
-$StrYes = "Ja";
-$StrOr = "eller";
-$StrCancel = "Annuller";
-
-$StrUsername = "Brugernavn:";
-$StrPassword = "Adgangskode:";
-$StrLogIn = "Log ind";
-$StrLoginSystem = "Login system:";
-$StrLoginInfo = "Indtast venligst brugernavn og adgangskode nedenfor:";
-
-$StrAccessDenied = "Adgang nægtet!";
-
-$StrInvalidHomeFolder = "Ugyldigt rod mappe.";
-$StrInvalidPath = "Ugyldig sti.";
-$StrMissingTrailingSlash = "(Manglende slut slash)";
-$StrAlreadyExists = "En fil eller en mappe med det navn eksisterer allerede.";
-$StrFolderInvalidName = "Ugyldig mappenavn.";
-$StrFileInvalidName = "Ugyldig filnavn.";
-$StrErrorOpeningFile = "Fejl ved åbning af fil.";
-
-$StrSaveFileSuccess = "Filen blev gemt med succes!";
-$StrSaveFileFail = "Fejl under lagring af fil.";
-$StrEditing = "Editerer";
-$StrFilename = "Filnavn:";
-$StrRestoreOriginal = "Genopret original";
-$StrSaveAndExit = "Gem & luk";
-
-$StrDeleteFolderNotFound = "Mappen kunne ikke findes.";
-$StrDeleteFileNotFound = "Filen kunne ikke findes.";
-$StrDeleteFolderSuccess = "Mappen blev slettet med succes!";
-$StrDeleteFileSuccess = "Filen blev slettet med succes!";
-$StrDeleteFolderFail = "Fejl under sletning af mappen.";
-$StrDeleteFileFail = "Fejl under sletning af filen.";
-$StrDeleteFolderFailHelp = "Dette kan være forudsaget af manglende rettigheder.";
-$StrDeleteFileFailHelp = "Dette kan være forudsaget af manglende rettigheder.";
-$StrDeleteFolderQuestion = "Er du sikker på du vil slette den følgende mappe?";
-$StrDeleteFileQuestion = "Er du sikker på du vil slette den følgende fil?";
-
-$StrRename = "Omdøb";
-$StrRenameFolder = "Omdøb mappe";
-$StrRenameFile = "Omdøb fil";
-$StrRenameFolderSuccess = "Mappen blev omdøbt med succes!";
-$StrRenameFileSuccess = "Filen blev omdøbt med succes!";
-$StrRenameFolderFail = "Fejl under ombøbning af mappen.";
-$StrRenameFileFail = "Fejl under ombøbning af filen.";
-$StrRenameFolderFailHelp = "Dette kan være forudsaget af manglende rettigheder eller et ugyldigt mappenavn.";
-$StrRenameFileFailHelp = "Dette kan være forudsaget af manglende rettigheder eller et ugyldigt filnavn.";
-$StrRenameFolderQuestion = "Vælg venligst et nyt navn til den følgende mappe:";
-$StrRenameFileQuestion = "Vælg venligst et nyt navn til den følgende fil:";
-
-$StrCreate = "Opret";
-$StrCreateFolder = "Opret ny mappe";
-$StrCreateFile = "Opret ny fil";
-$StrCreateFolderSuccess = "Mappen blev oprettet med succes!";
-$StrCreateFileSuccess = "Filen blev oprettet med succes!";
-$StrCreateFolderFail = "Fejl under oprettelse af mappen.";
-$StrCreateFileFail = "Fejl under oprettelse af filen.";
-$StrCreateFolderFailHelp = "Dette kan være forudsaget af manglende rettigheder.";
-$StrCreateFileFailHelp = "Dette kan være forudsaget af manglende rettigheder.";
-$StrCreateFolderQuestion = "Vælg venligst et navn til den nye mappe:";
-$StrCreateFileQuestion = "Vælg venligst et navn til den nye fil:";
-
-$StrUpload = "Overfør";
-$StrUploadFilesTo = "Overfør filer til";
-$StrUploading = "Overfører";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "FEJL!";
-$StrUploadFailPost = "Maksimum størrelse af POST nået - læs docs/faq.txt for flere oplysninger.";
-$StrFirstFile = "1. fil:";
-$StrSecondFile = "2. fil:";
-$StrThirdFile = "3. fil:";
-$StrFourthFile = "4. fil:";
-$StrUploadQuestion = "Vælg de filer du ønsker at overføre til serveren:";
-
-$StrDownload = "Hent";
-$StrDownloadClickLink = "Klil på linket nedenfor for at begynde med at hente filen.";
-$StrDownloadClickHere = "Klik her for at hente filen";
-$StrDownloadFail = "Fejl under åbning af filen eller ugyldigt filnavn.";
-
-$StrViewing = "Viser";
-$StrAt = "ved";
-$StrViewFail = "Fejl under åbning af billedet.";
-$StrViewFailHelp = "Filen eksisterer ikke eller er ikke et billede.";
-$StrImage = "Billede";
-$StrZoomIn = "Zoom ind";
-$StrZoomOut = "Zoom ud";
-$StrOriginalSize = "Original størrelse";
-$StrPrevious = "Forrige";
-$StrNext = "Næste";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/dutch.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by ? (?@?) */
-
-$StrLanguageCharset = "ISO-8859-1";
-
-$StrIndexOf = "Index van";
-
-$StrMenuCreateFolder = "Maak nieuwe directory";
-$StrMenuCreateFile = "Maak nieuw bestand";
-$StrMenuUploadFiles = "Upload bestanden";
-$StrMenuLogOut = "Uitloggen";
-
-$StrOpenFolder = "Open directory";
-$StrRenameFolder = "Wijzig directory naam";
-$StrDeleteFolder = "Verwijder directory";
-
-$StrViewFile = "Bekijk bestand";
-$StrEditFile = "Bewerk bestand";
-$StrRenameFile = "Wijzig bestandsnaam";
-$StrDownloadFile = "Download bestand";
-$StrDeleteFile = "Verwijder bestand";
-
-$StrFile = "Bestand";
-
-$StrFolderNameShort = "Naam";
-$StrFileNameShort = "Naam";
-$StrFileSizeShort = "Grootte";
-$StrPermissionsShort = "Rechten";
-$StrLastModifiedShort = "Gewijzigd";
-$StrEditShort = "Ed";
-$StrViewShort = "Vw";
-$StrRenameShort = "Rn";
-$StrDownloadShort = "Dl";
-$StrDeleteShort = "Rm";
-
-$StrBack = "Terug";
-$StrYes = "Ja";
-$StrOr = "of";
-$StrCancel = "Cancel";
-
-$StrUsername = "Gebruikersnaam:";
-$StrPassword = "Paswoord:";
-$StrLogIn = "Log in";
-$StrLoginSystem = "Login systeem:";
-$StrLoginInfo = "Geef hieronder uw gebruikersnaam en paswoord aub.:";
-
-$StrAccessDenied = "Toegang geweigerd!";
-
-$StrInvalidHomeFolder = "Ongeldige hoofd directory.";
-$StrInvalidPath = "Ongeldige path.";
-$StrMissingTrailingSlash = "(De for-slash ontbreekt)";
-$StrAlreadyExists = "Er bestaat al een bestand of directory met deze naam.";
-$StrFolderInvalidName = "Ongeldige directory naam.";
-$StrFileInvalidName = "Ongeldige bestandsnaam.";
-$StrErrorOpeningFile = "Fout bij het open van het bestand.";
-
-$StrSaveFileSuccess = "Bestand met succes opgeslagen!";
-$StrSaveFileFail = "Bestands opslag mislukt.";
-$StrEditing = "Wijzigen";
-$StrFilename = "Bestandsnaam:";
-$StrRestoreOriginal = "Herstel orgineel";
-$StrSaveAndExit = "Opslaan en verlaten";
-
-$StrDeleteFolderNotFound = "Directory niet gevonden.";
-$StrDeleteFileNotFound = "Bestand niet gevonden.";
-$StrDeleteFolderSuccess = "Directory met succes verwijderd!";
-$StrDeleteFileSuccess = "Bestand met succes verwijderd!";
-$StrDeleteFolderFail = "Verwijderen van directory mislukt.";
-$StrDeleteFileFail = "Verwijderen van bestand mislukt.";
-$StrDeleteFolderFailHelp = "De oorzaak hiervan kan te weinig gebruikersrechten zijn.";
-$StrDeleteFileFailHelp = "De oorzaak hiervan kan te weinig gebruikersrechten zijn.";
-$StrDeleteFolderQuestion = "Weet u zeker dat u deze directory wilt verwijderen?";
-$StrDeleteFileQuestion = "Weet u zeker dat u dit bestand wilt verwijderen?";
-
-$StrRename = "Naam hernoemen";
-$StrRenameFolder = "Directory hernoemen";
-$StrRenameFile = "Bestand hernoemen";
-$StrRenameFolderSuccess = "Directory met succes hernoemd!";
-$StrRenameFileSuccess = "Bestand met succes hernoemd!";
-$StrRenameFolderFail = "Hernoemen van directory mislukt.";
-$StrRenameFileFail = "Hernoemen van bestand mislukt.";
-$StrRenameFolderFailHelp = "Dit kan veroorzaakt zijn door te weinig gebruikersrechten of foute directory naam.";
-$StrRenameFileFailHelp = "Dit kan veroorzaakt zijn door te weinig gebruikersrechten of foute bestandsnaam.";
-$StrRenameFolderQuestion = "Selecteer een nieuwe directory naam aub:";
-$StrRenameFileQuestion = "Selecteer een nieuwe bestandsnaam aub:";
-
-$StrCreate = "Maak";
-$StrCreateFolder = "Maak nieuwe directory";
-$StrCreateFile = "Maakn nieuw bestand";
-$StrCreateFolderSuccess = "Directory met succes gemaakt!";
-$StrCreateFileSuccess = "Bestand met succes gemaakt!";
-$StrCreateFolderFail = "Maken van directory mislukt.";
-$StrCreateFileFail = "Maken van bestand mislukt.";
-$StrCreateFolderFailHelp = "De oorzaak kan zijn dat u te weinig gebruikersrechten heeft.";
-$StrCreateFileFailHelp = "De oorzaak kan zijn dat u te weinig gebruikersrechten heeft.";
-$StrCreateFolderQuestion = "Selecteer een naam voor de directory aub :";
-$StrCreateFileQuestion = "Selecteer een naam voor het bestand aub:";
-
-$StrUpload = "Upload";
-$StrUploadFilesTo = "Upload bestanden naar";
-$StrUploading = "Uploading";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "MISLUKT!";
-$StrUploadFailPost = "Maximale upload grootte bereikt - bekijk docs/faq.txt voor meer informatie.";
-$StrFirstFile = "1st bestand:";
-$StrSecondFile = "2nd bestand:";
-$StrThirdFile = "3rd bestand:";
-$StrFourthFile = "4th bestand:";
-$StrUploadQuestion = "Kies de bestanden die u wilt uploaden:";
-$StrUploadNote = "Opmerking: Geuploade bestanden worden bewaard in:";
-
-$StrDownload = "Download";
-$StrDownloadClickLink = "Klik op de link hieronder om het bestand te downloaden.";
-$StrDownloadClickHere = "Klik hier om het bestand te downloaden";
-$StrDownloadFail = "Fout bij openen van het bestand, of ongeldige bestandsnaam.";
-
-$StrViewing = "Bekijken";
-$StrAt = "op";
-$StrViewFail = "Fout bij openen afbeelding.";
-$StrViewFailHelp = "Het bestand bestaat niet of het is geen afbeelding.";
-$StrImage = "Afbeelding";
-$StrZoomIn = "Inzoomen";
-$StrZoomOut = "Uitzoemen";
-$StrOriginalSize = "Originele grootte";
-$StrPrevious = "Vorige";
-$StrNext = "Volgende";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/english.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,127 +0,0 @@
-<?php
-/* translation by Morten Bojsen-Hansen (phpfm@zalon.dk) */
-
-$StrLanguageCharset = "ISO-8859-1";
-
-$StrIndexOf = "Index of";
-
-$StrMenuCreateFolder = "Create new folder";
-$StrMenuCreateFile = "Create new file";
-$StrMenuUploadFiles = "Upload files";
-$StrMenuLogOut = "Log out";
-
-$StrOpenFolder = "Open folder";
-$StrRenameFolder = "Rename folder";
-$StrDeleteFolder = "Delete folder";
-
-$StrViewFile = "View file";
-$StrEditFile = "Edit file";
-$StrRenameFile = "Rename file";
-$StrDownloadFile = "Download file";
-$StrDeleteFile = "Delete file";
-
-$StrFile = "File";
-
-$StrFolderNameShort = "Name";
-$StrFileNameShort = "Name";
-$StrFileSizeShort = "Size";
-$StrPermissionsShort = "Perm";
-$StrLastModifiedShort = "Modified";
-$StrEditShort = "Ed";
-$StrViewShort = "Vw";
-$StrRenameShort = "Rn";
-$StrDownloadShort = "Dl";
-$StrDeleteShort = "Rm";
-
-$StrBack = "Back";
-$StrYes = "Yes";
-$StrOr = "or";
-$StrCancel = "Cancel";
-
-$StrUsername = "Username:";
-$StrPassword = "Password:";
-$StrLogIn = "Log in";
-$StrLoginSystem = "Login system:";
-$StrLoginInfo = "Please input your username and password below:";
-
-$StrAccessDenied = "Access denied!";
-
-$StrInvalidHomeFolder = "Invalid home folder.";
-$StrInvalidPath = "Invalid path.";
-$StrMissingTrailingSlash = "(Missing trailing slash)";
-$StrAlreadyExists = "A file or folder with that name already exists!";
-$StrFolderInvalidName = "Invalid name of folder.";
-$StrFileInvalidName = "Invalid filename.";
-$StrErrorOpeningFile = "Error opening file.";
-
-$StrSaveFileSuccess = "File saved successfully!";
-$StrSaveFileFail = "Saving of file failed.";
-$StrEditing = "Editing";
-$StrFilename = "Filename:";
-$StrRestoreOriginal = "Restore original";
-$StrSaveAndExit = "Save & exit";
-
-$StrDeleteFolderNotFound = "Folder not found.";
-$StrDeleteFileNotFound = "File not found.";
-$StrDeleteFolderSuccess = "Folder deleted successfully!";
-$StrDeleteFileSuccess = "File deleted successfully!";
-$StrDeleteFolderFail = "Deleting of folder failed.";
-$StrDeleteFileFail = "Deleting of file failed.";
-$StrDeleteFolderFailHelp = "This might be caused by insufficient permissions.";
-$StrDeleteFileFailHelp = "This might be caused by insufficient permissions.";
-$StrDeleteFolderQuestion = "Are you sure you want to delete the following folder?";
-$StrDeleteFileQuestion = "Are you sure you want to delete the following file?";
-
-$StrRename = "Rename";
-$StrRenameFolder = "Rename folder";
-$StrRenameFile = "Rename file";
-$StrRenameFolderSuccess = "Folder renamed successfully!";
-$StrRenameFileSuccess = "File renamed successfully!";
-$StrRenameFolderFail = "Renaming of folder failed.";
-$StrRenameFileFail = "Renaming of file failed.";
-$StrRenameFolderFailHelp = "This might be caused by insufficient permissions or an invalid name of the folder.";
-$StrRenameFileFailHelp = "This might be caused by insufficient permissions or an invalid filename.";
-$StrRenameFolderQuestion = "Please select a new name for the following folder:";
-$StrRenameFileQuestion = "Please select a new name for the following file:";
-
-$StrCreate = "Create";
-$StrCreateFolder = "Create new folder";
-$StrCreateFile = "Create new file";
-$StrCreateFolderSuccess = "Folder created successfully!";
-$StrCreateFileSuccess = "File created successfully!";
-$StrCreateFolderFail = "Creation of folder failed.";
-$StrCreateFileFail = "Creation of file failed.";
-$StrCreateFolderFailHelp = "This might be caused by insufficient permissions.";
-$StrCreateFileFailHelp = "This might be caused by insufficient permissions.";
-$StrCreateFolderQuestion = "Please select a name for the new folder:";
-$StrCreateFileQuestion = "Please select a name for the new file:";
-
-$StrUpload = "Upload";
-$StrUploadFilesTo = "Upload files to";
-$StrUploading = "Uploading";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "FAILED!";
-$StrUploadFailPost = "Maximum POST size reached - see docs/faq.txt for more information.";
-$StrFirstFile = "1st file:";
-$StrSecondFile = "2nd file:";
-$StrThirdFile = "3rd file:";
-$StrFourthFile = "4th file:";
-$StrUploadQuestion = "Choose the files you wish to upload:";
-$StrUploadNote = "Note: Uploaded files will be placed in:";
-
-$StrDownload = "Download";
-$StrDownloadClickLink = "Click on the link below to start downloading.";
-$StrDownloadClickHere = "Click here to download";
-$StrDownloadFail = "Error opening file or invalid filename.";
-
-$StrViewing = "Viewing";
-$StrAt = "at";
-$StrViewFail = "Error opening image.";
-$StrViewFailHelp = "File does not exist or is not an image file.";
-$StrImage = "Image";
-$StrZoomIn = "Zoom in";
-$StrZoomOut = "Zoom out";
-$StrOriginalSize = "Original size";
-$StrPrevious = "Previous";
-$StrNext = "Next";
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/finnish.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by ? (?@?) */
-
-$StrLanguageCharset = "ISO-8859-1";
-
-$StrIndexOf = "..";
-
-$StrMenuCreateFolder = "Uusi kansio";
-$StrMenuCreateFile = "Uusi tiedosto";
-$StrMenuUploadFiles = "Tuo tiedosto";
-$StrMenuLogOut = "Kirjaudu ulos";
-
-$StrOpenFolder = "Avaa kansio";
-$StrRenameFolder = "Nimeä kansio";
-$StrDeleteFolder = "Poista kansio";
-
-$StrViewFile = "View file";
-$StrEditFile = "Editoi tiedostoa";
-$StrRenameFile = "Uudelleennimeä";
-$StrDownloadFile = "Hae omalle koneelle";
-$StrDeleteFile = "Poista tiedosto";
-
-$StrFile = "Tiedosto";
-
-$StrFolderNameShort = "Nimi";
-$StrFileNameShort = "Nimi";
-$StrFileSizeShort = "Koko";
-$StrPermissionsShort = "Chmod";
-$StrLastModifiedShort = "Pvm";
-$StrEditShort = "Ed";
-$StrViewShort = "Vw";
-$StrRenameShort = "Nm";
-$StrDownloadShort = "Dl";
-$StrDeleteShort = "Del";
-
-$StrBack = "Takaisin";
-$StrYes = "Kyllä";
-$StrOr = "tai";
-$StrCancel = "Peruuta";
-
-$StrUsername = "Käyttäjä:";
-$StrPassword = "Salasana:";
-$StrLogIn = "Kirjaudu";
-$StrLoginSystem = "Sisäänkirjautuminen:";
-$StrLoginInfo = "Kirjoita käyttäjätunnuksesi ja salasanasi alle:";
-
-$StrAccessDenied = "Pääsy kielletty!";
-
-$StrInvalidHomeFolder = "Juurikansio ei kelpaa.";
-$StrInvalidPath = "Kansiopolku ei kelpaa.";
-$StrMissingTrailingSlash = "(Puuttuu /-merkki)";
-$StrAlreadyExists = "Samanniminen kansio tai tiedosto on jo olemassa.";
-$StrFolderInvalidName = "Kansion nimessä on virhe.";
-$StrFileInvalidName = "Tiedoston nimi ei kelpaa.";
-$StrErrorOpeningFile = "Tiedoston avaamisessa tapahtui virhe.";
-
-$StrSaveFileSuccess = "Tiedosto tallennettu!";
-$StrSaveFileFail = "Tallennus epäonnistui.";
-$StrEditing = "Editoidaan tiedostoa";
-$StrFilename = "Tiedosto:";
-$StrRestoreOriginal = "Palauta";
-$StrSaveAndExit = "Tallenna & Lopeta";
-
-$StrDeleteFolderNotFound = "Kansiota ei löydy.";
-$StrDeleteFileNotFound = "Tiedostoa ei löydy.";
-$StrDeleteFolderSuccess = "Kansio poistettu!";
-$StrDeleteFileSuccess = "Tiedosto poistettu!";
-$StrDeleteFolderFail = "Kansion poistaminen ei onnistunut.";
-$StrDeleteFileFail = "Tiedoston poistaminen ei onnistunut.";
-$StrDeleteFolderFailHelp = "Tämä saattaa johtua riittämättömistä oikeuksista.";
-$StrDeleteFileFailHelp = "Tämä saattaa johtua riittämättömistä oikeuksista.";
-$StrDeleteFolderQuestion = "Oletko varma, että haluat poistaa kansion?";
-$StrDeleteFileQuestion = "Oletko varma, että haluat poistaa tiedoston?";
-
-$StrRename = "Nimeä";
-$StrRenameFolder = "Nimeä kansio";
-$StrRenameFile = "Nimeä tiedosto";
-$StrRenameFolderSuccess = "Kansio nimetty uudelleen!";
-$StrRenameFileSuccess = "Tiedosto nimetty uudelleen!";
-$StrRenameFolderFail = "Kansion nimeäminen epäonnistui.";
-$StrRenameFileFail = "Tiedoston nimeäminen epäonnistui.";
-$StrRenameFolderFailHelp = "Tämä saattaa johtua riittämättömistä oikeuksista tai vääristä merkeistä tiedostonimessä.";
-$StrRenameFileFailHelp = "Tämä saattaa johtua riittämättömistä oikeuksista tai vääristä merkeistä tiedostonimessä.";
-$StrRenameFolderQuestion = "Anna uusi nimi kansiolle:";
-$StrRenameFileQuestion = "Anna uusi nimi tiedostolle:";
-
-$StrCreate = "Luo";
-$StrCreateFolder = "Uusi kansio";
-$StrCreateFile = "Uusi tiedosto";
-$StrCreateFolderSuccess = "Kansio luotu!";
-$StrCreateFileSuccess = "Tiedosto luotu!";
-$StrCreateFolderFail = "Kansion luonti epäonnistui.";
-$StrCreateFileFail = "Tiedoston luonti epäonnistui.";
-$StrCreateFolderFailHelp = "Tämä voi johtua riittämättömistä oikeuksista (chmod).";
-$StrCreateFileFailHelp = "Tämä voi johtua riittämättömistä oikeuksista (chmod).";
-$StrCreateFolderQuestion = "Uuden kansion nimi:";
-$StrCreateFileQuestion = "Uuden tiedoston nimi:";
-
-$StrUpload = "Tuo tiedosto";
-$StrUploadFilesTo = "Tuo tiedostoja kansioon";
-$StrUploading = "Tuodaan...";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "EPÄONNISTUI!";
-$StrUploadFailPost = "Suurin mahdollinen POST-koko saavutettu - katso docs/faq.txt saadaksesi lisätietoja.";
-$StrFirstFile = "1. Tiedosto:";
-$StrSecondFile = "2. Tiedosto:";
-$StrThirdFile = "3. Tiedosto:";
-$StrFourthFile = "4. Tiedosto:";
-$StrUploadQuestion = "Valitse tiedostot, jotka haluat lähettää serverille:";
-$StrUploadNote = "Huomaa: Ladatut tiedostot menevät nyt kansioon:";
-
-$StrDownload = "Hae";
-$StrDownloadClickLink = "Klikkaa allaolevaa linkkiä tallentaaksesi tiedoston omalle koneellesi.";
-$StrDownloadClickHere = "Paina tästä hakeaksesi tiedoston";
-$StrDownloadFail = "Avaaminen ei onnistunut tai väärä tiedostonimi!";
-
-$StrViewing = "Katsellaan tiedostoa";
-$StrAt = " | ";
-$StrViewFail = "Virhe kuvaa avattaessa.";
-$StrViewFailHelp = "Tiedostoa ei ole tai se ei ole kuvatiedosto.";
-$StrImage = "Kuva";
-$StrZoomIn = "Suurenna";
-$StrZoomOut = "Pienennä";
-$StrOriginalSize = "Alkuperäinen koko";
-$StrPrevious = "Edellinen";
-$StrNext = "Seuraava";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/french.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by ? (?@?) */
-
-$StrLanguageCharset = "ISO-8859-1";
-
-$StrIndexOf = "Contenu du répertoire ";
-
-$StrMenuCreateFolder = "Créer un nouveau dossier";
-$StrMenuCreateFile = "Créer un nouveau fichier";
-$StrMenuUploadFiles = "Transférer un fichier";
-$StrMenuLogOut = "Se déconnecter";
-
-$StrOpenFolder = "Parcourir le répertoire";
-$StrRenameFolder = "Renommer le répertoire";
-$StrDeleteFolder = "Supprimer le répertoire";
-
-$StrViewFile = "Visualiser le fichier";
-$StrEditFile = "Editer le fichier";
-$StrRenameFile = "Renommer un fichier";
-$StrDownloadFile = "Télécharger le fichier";
-$StrDeleteFile = "Supprimer le fichier";
-
-$StrFile = "Fichier";
-
-$StrFolderNameShort = "Rep";
-$StrFileNameShort = "Fich";
-$StrFileSizeShort = "Taille";
-$StrPermissionsShort = "Perm";
-$StrLastModifiedShort = "Modifié";
-$StrEditShort = "Edit";
-$StrViewShort = "Visu";
-$StrRenameShort = "Ren";
-$StrDownloadShort = "Télé";
-$StrDeleteShort = "Suppr";
-
-$StrBack = "Retour";
-$StrYes = "Oui";
-$StrOr = "ou";
-$StrCancel = "Annuler";
-
-$StrUsername = "Identifiant :";
-$StrPassword = "Mot de passe :";
-$StrLogIn = "Valider";
-$StrLoginSystem = "Système d'identification :";
-$StrLoginInfo = "Veuillez saisir votre identifiant et mot de passe ci-dessous :";
-
-$StrAccessDenied = "Accès refusé!";
-
-$StrInvalidHomeFolder = "Dossier racine non valide.";
-$StrInvalidPath = "Chemin non valide.";
-$StrMissingTrailingSlash = "(Manque un slash de fin)";
-$StrAlreadyExists = "Un fichier ou répertoire du même nom existe déjà.";
-$StrFolderInvalidName = "Nom de dossier non valide.";
-$StrFileInvalidName = "Nom de fichier non valide.";
-$StrErrorOpeningFile = "Erreur à l'ouverture du fichier.";
-
-$StrSaveFileSuccess = "Fichier sauvegardé!";
-$StrSaveFileFail = "Sauvegarde du fichier non réussie.";
-$StrEditing = "Edition en cours";
-$StrFilename = "Nom du fichier:";
-$StrRestoreOriginal = "Restaurer";
-$StrSaveAndExit = "Sauvegarder";
-
-$StrDeleteFolderNotFound = "Répertoire introuvable.";
-$StrDeleteFileNotFound = "Fichier introuvable.";
-$StrDeleteFolderSuccess = "Répertoire supprimé!";
-$StrDeleteFileSuccess = "Fichier supprimé!";
-$StrDeleteFolderFail = "Suppression du répertoire non réussie.";
-$StrDeleteFileFail = "Suppression du fichier non réussie.";
-$StrDeleteFolderFailHelp = "Il se peut que vous n'avez pas les droits nécessaires.";
-$StrDeleteFileFailHelp = "Il se peut que vous n'avez pas les droits nécessaires.";
-$StrDeleteFolderQuestion = "Etes vous sûr de vouloir supprimer le répertoire?";
-$StrDeleteFileQuestion = "Etes vous sûr de vouloir supprimer le fichier?";
-
-$StrRename = "Renommer";
-$StrRenameFolder = "Renommer le répertoire";
-$StrRenameFile = "Renommer le fichier";
-$StrRenameFolderSuccess = "Répertoire renommé!";
-$StrRenameFileSuccess = "Fichier renommé!";
-$StrRenameFolderFail = "Echec du changement du nom de répertoire.";
-$StrRenameFileFail = "Echec du changement du nom de fichier.";
-$StrRenameFolderFailHelp = "Il se peut que vous n'avez pas les droits nécessaires ou un nom de répertoire invalide.";
-$StrRenameFileFailHelp = "Il se peut que vous n'avez pas les droits nécessaires ou un nom de fichier invalide.";
-$StrRenameFolderQuestion = "Modifiez le nom du répertoire :";
-$StrRenameFileQuestion = "Modifiez le nom du fichier :";
-
-$StrCreate = "Créer";
-$StrCreateFolder = "Créer un répertoire";
-$StrCreateFile = "Créer un fichier";
-$StrCreateFolderSuccess = "Répertoire crée!";
-$StrCreateFileSuccess = "Fichier crée!";
-$StrCreateFolderFail = "Echec de la création du répertoire.";
-$StrCreateFileFail = "Echec de la création du fichier.";
-$StrCreateFolderFailHelp = "Il se peut que vous n'avez pas les droits nécessaires.";
-$StrCreateFileFailHelp = "Il se peut que vous n'avez pas les droits nécessaires.";
-$StrCreateFolderQuestion = "Saisissez un nom pour le répertoire à créer :";
-$StrCreateFileQuestion = "Saisissez un nom pour le fichier à créer :";
-
-$StrUpload = "Transfert";
-$StrUploadFilesTo = "Transférer les fichiers vers";
-$StrUploading = "Transfert en cours";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "ECHEC!";
-$StrUploadFailPost = "Taille maximale pour un transfert de fichier atteint - voir docs/faq.txt pour plus d'informations.";
-$StrFirstFile = "1er fichier :";
-$StrSecondFile = "2ème fichier :";
-$StrThirdFile = "3ème fichier :";
-$StrFourthFile = "4ème fichier :";
-$StrUploadQuestion = "Choisissez les fichiers que vous désires transferer :";
-$StrUploadNote = "Note: les fichiers transférés seront placés dans le répertoire suivant :";
-
-$StrDownload = "Téléchargement de ";
-$StrDownloadClickLink = "Cliquez sur le lien ci-dessous pour démarrer le téléchargement.";
-$StrDownloadClickHere = "Cliquez ici pour télécharger le fichier :";
-$StrDownloadFail = "Erreur lors de l'ouverture du fichier ou nom de fichier non valide.";
-
-$StrViewing = "Fichier en cours de consultation :";
-$StrAt = "à";
-$StrViewFail = "Erreur lors de l'ouverture de l'image.";
-$StrViewFailHelp = "Fichier inexistant ou du mauvais type.";
-$StrImage = "Image";
-$StrZoomIn = "Afficher en plus grand";
-$StrZoomOut = "Afficher en plus petit";
-$StrOriginalSize = "Taille originale";
-$StrPrevious = "Précédent";
-$StrNext = "Suivant";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/french2.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by ? (?@?) */
-
-$StrLanguageCharset = "ISO-8859-1";
-
-$StrIndexOf = "Index";
-
-$StrMenuCreateFolder = "Créer un nouveau dossier";
-$StrMenuCreateFile = "Créer un nouveau fichier";
-$StrMenuUploadFiles = "Envoyer fichiers";
-$StrMenuLogOut = "Déconnexion";
-
-$StrOpenFolder = "Ouvrir dossier";
-$StrRenameFolder = "Renommer dossier";
-$StrDeleteFolder = "Delete dossier";
-
-$StrViewFile = "Afficher Fichier";
-$StrEditFile = "Editer Fichier";
-$StrRenameFile = "Renommer Fichier";
-$StrDownloadFile = "Télécharger Fichier";
-$StrDeleteFile = "Delete Fichier";
-
-$StrFile = "Fichier";
-
-$StrFolderNameShort = "Nom";
-$StrFileNameShort = "Nom";
-$StrFileSizeShort = "Taille";
-$StrPermissionsShort = "Perm";
-$StrLastModifiedShort = "Modifié";
-$StrEditShort = "Ed";
-$StrViewShort = "Aff";
-$StrRenameShort = "Rn";
-$StrDownloadShort = "Tel";
-$StrDeleteShort = "Sup";
-
-$StrBack = "Précédent";
-$StrYes = "Oui";
-$StrOr = "ou";
-$StrCancel = "Annulé";
-
-$StrUsername = "Login:";
-$StrPassword = "Mot de passe:";
-$StrLogIn = "Entrer";
-$StrLoginSystem = "Login system:";
-$StrLoginInfo = "Tapez votre nom et votre mot de passe:";
-
-$StrAccessDenied = "Accès refusé!";
-
-$StrInvalidHomeFolder = "Dossier racine invalide.";
-$StrInvalidPath = "Chemin incorrect.";
-$StrMissingTrailingSlash = "(Slash manquant)";
-$StrAlreadyExists = "Un fichier ou dossier exite deja avec ce nom.";
-$StrFolderInvalidName = "Nom de dossier incorrect.";
-$StrFileInvalidName = "Nom de fichier incorrect.";
-$StrErrorOpeningFile = "Erreur à l'ouverture du Fichier.";
-
-$StrSaveFileSuccess = "Fichier sauvegardé!";
-$StrSaveFileFail = "Echec de sauvegarde du fichier.";
-$StrEditing = "Edition";
-$StrFilename = "Nom du fichier:";
-$StrRestoreOriginal = "Restaurer la version originale";
-$StrSaveAndExit = "Sauvegarder et quitter";
-
-$StrDeleteFolderNotFound = "Dossier inexistant.";
-$StrDeleteFileNotFound = "Fichier inexistant.";
-$StrDeleteFolderSuccess = "Dossier effacé!";
-$StrDeleteFileSuccess = "Fichier effacé!";
-$StrDeleteFolderFail = "Echec de suppression de dossier.";
-$StrDeleteFileFail = "Echec de suppression de fichier.";
-$StrDeleteFolderFailHelp = "Cause possible:Permission insuffiante.";
-$StrDeleteFileFailHelp = "Cause possible:Permission insuffiante.";
-$StrDeleteFolderQuestion = "Voulez vous réellement effacer le dossier?";
-$StrDeleteFileQuestion = "Voulez vous réellement effacer le dossier?";
-
-$StrRename = "Renommer";
-$StrRenameFolder = "Renommer dossier";
-$StrRenameFile = "Renommer Fichier";
-$StrRenameFolderSuccess = "Dossier renommé!";
-$StrRenameFileSuccess = "Fichier renommé!";
-$StrRenameFolderFail = "Echec de changement de nom de dossier.";
-$StrRenameFileFail = "Echec de changement de nom de fichier.";
-$StrRenameFolderFailHelp = "Cause possible:Permission insuffiante ou nom incorrect.";
-$StrRenameFileFailHelp = "Cause possible:Permission insuffiante ou nom incorrect.";
-$StrRenameFolderQuestion = "Selectionnez un nom pour le dossier suivant:";
-$StrRenameFileQuestion = "Sélectionnez un nom pour le fichier suivant:";
-
-$StrCreate = "Créer";
-$StrCreateFolder = "Créer un nouveau dosier";
-$StrCreateFile = "Créer un nouveau fichier";
-$StrCreateFolderSuccess = "Dossier créer";
-$StrCreateFileSuccess = "Fichier créer";
-$StrCreateFolderFail = "Echec de creation du dossier.";
-$StrCreateFileFail = "Echec de creation of Fichier.";
-$StrCreateFolderFailHelp = "Cause possible:Permission insuffiante.";
-$StrCreateFileFailHelp = "Cause possible:Permission insuffiante.";
-$StrCreateFolderQuestion = "Selectionnez un nouveau nom pour le dossier:";
-$StrCreateFileQuestion = "Selectionner un nouveau nom pour le fixhier:";
-
-$StrUpload = "Envoi";
-$StrUploadFilesTo = "Envoyer vers ";
-$StrUploading = "Envoi en cours...";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "ECHEC!";
-$StrUploadFailPost = "Maximum POST size reached - see docs/faq.txt for more information.";
-$StrFirstFile = "1er Fichier:";
-$StrSecondFile = "2eme Fichier:";
-$StrThirdFile = "3eme Fichier:";
-$StrFourthFile = "4eme Fichier:";
-$StrUploadQuestion = "Choisir les fichiers a envoyer:";
-$StrUploadNote = "Attention:le(s) fichier(s) seront envoyé(s) vers:";
-
-$StrDownload = "Télécharger";
-$StrDownloadClickLink = "Cliquez en dessous pour télécharger.";
-$StrDownloadClickHere = "Cliquez ici pour télécharger";
-$StrDownloadFail = "Nom invalide ou erreur d'ouverture.";
-
-$StrViewing = "Affichage";
-$StrAt = "a";
-$StrViewFail = "Erreur lors de l'overture de l'image.";
-$StrViewFailHelp = "Le fichier est inconnu ou ce n'est pas une image.";
-$StrImage = "Image";
-$StrZoomIn = "Zoomer";
-$StrZoomOut = "Reduire";
-$StrOriginalSize = "Taille originale";
-$StrPrevious = "Précédent";
-$StrNext = "Suivant";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/german.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by Claus Heuser (CHeuser@t-online.de) */
-
-$StrLanguageCharset = "ISO-8859-1";
-
-$StrIndexOf = "Inhalt von";
-
-$StrMenuCreateFolder = "Ordner erstellen";
-$StrMenuCreateFile = "Datei erstellen";
-$StrMenuUploadFiles = "Datei hochladen";
-$StrMenuLogOut = "Abmelden";
-
-$StrOpenFolder = "Ordner öffnen";
-$StrRenameFolder = "Ordner umbenennen";
-$StrDeleteFolder = "Ordner löschen";
-
-$StrViewFile = "Datei ansehen";
-$StrEditFile = "Datei bearbeiten";
-$StrRenameFile = "Datei umbenennen";
-$StrDownloadFile = "Datei herunterladen";
-$StrDeleteFile = "Datei löschen";
-
-$StrFile = "Datei";
-
-$StrFolderNameShort = "Name";
-$StrFileNameShort = "Name";
-$StrFileSizeShort = "Grösse";
-$StrPermissionsShort = "Rechte";
-$StrLastModifiedShort = "Geändert";
-$StrEditShort = "B";
-$StrViewShort = "A";
-$StrRenameShort = "U";
-$StrDownloadShort = "D";
-$StrDeleteShort = "L";
-
-$StrBack = "Zurück";
-$StrYes = "OK";
-$StrOr = "oder";
-$StrCancel = "Abbrechen";
-
-$StrUsername = "Benutzername:";
-$StrPassword = "Passwort:";
-$StrLogIn = "Anmelden";
-$StrLoginSystem = "Login System:";
-$StrLoginInfo = "Bitte geben Sie Ihren Benutzernamen und Ihr Kennwort ein:";
-
-$StrAccessDenied = "Zugang verweigert!";
-
-$StrInvalidHomeFolder = "Ungültiges Hauptverzeichnis!";
-$StrInvalidPath = "Falscher Pfad!";
-$StrMissingTrailingSlash = "(Fehlender führender Slash)";
-$StrAlreadyExists = "Datei oder Ordner mit diesem Namen existiert bereits.";
-$StrFolderInvalidName = "Ungültiger Ordnername.";
-$StrFileInvalidName = "Ungültiger Dateiname.";
-$StrErrorOpeningFile = "Fehler beim Öffnen der Datei.";
-
-$StrSaveFileSuccess = "Datei erfolgreich gespeichert!";
-$StrSaveFileFail = "Datei konnte nicht gespeichert werden.";
-$StrEditing = "Bearbeiten";
-$StrFilename = "Dateiname:";
-$StrRestoreOriginal = "Wiederherstellen";
-$StrSaveAndExit = "Speichern";
-
-$StrDeleteFolderNotFound = "Ordner nicht gefunden.";
-$StrDeleteFileNotFound = "Datei nicht gefunden.";
-$StrDeleteFolderSuccess = "Ordner wurde gelöscht!";
-$StrDeleteFileSuccess = "Datei wurde gelöscht!";
-$StrDeleteFolderFail = "Ordner konnte nicht gelöscht werden.";
-$StrDeleteFileFail = "Datei konnte nicht gelöscht werden.";
-$StrDeleteFolderFailHelp = "Überprüfen Sie Ihre Zugriffsrechte.";
-$StrDeleteFileFailHelp = "Überprüfen Sie Ihre Zugriffsrechte.";
-$StrDeleteFolderQuestion = "Wollen Sie diesen Ordner wirklich löschen?";
-$StrDeleteFileQuestion = "Wollen Sie diese Datei wirklich löschen?";
-
-$StrRename = "Umbenennen";
-$StrRenameFolder = "Ordner umbenennen";
-$StrRenameFile = "Datei umbenennen";
-$StrRenameFolderSuccess = "Ordner wurde umbenannt!";
-$StrRenameFileSuccess = "Datei wurde umbenannt!";
-$StrRenameFolderFail = "Ordner konnte nicht umbenannt werden.";
-$StrRenameFileFail = "Datei konnte nicht umbenannt werden.";
-$StrRenameFolderFailHelp = "Eventuell sind Ihre Zugriffsrechte nicht ausreichend oder der Ordnername ist unzulässig.";
-$StrRenameFileFailHelp = "Eventuell sind Ihre Zugriffsrechte nicht ausreichend oder der Ordnername ist unzulässig.";
-$StrRenameFolderQuestion = "Bitte vergeben Sie einen neuen Namen für den Ordner:";
-$StrRenameFileQuestion = "Bitte vergeben Sie einen neuen Namen für die Datei:";
-
-$StrCreate = "Erstellen";
-$StrCreateFolder = "Neuen Ordner erstellen";
-$StrCreateFile = "Neue Datei erstellen";
-$StrCreateFolderSuccess = "Ordner erstellt!";
-$StrCreateFileSuccess = "Datei erstellt!";
-$StrCreateFolderFail = "Fehler beim Erstellen des Ordners.";
-$StrCreateFileFail = "Fehler beim Erstellen der Datei.";
-$StrCreateFolderFailHelp = "Überprüfen Sie Ihre Zugriffsrechte.";
-$StrCreateFileFailHelp = "Überprüfen Sie Ihre Zugriffsrechte.";
-$StrCreateFolderQuestion = "Bitte geben Sie einen Namen für den neuen Ordner ein:";
-$StrCreateFileQuestion = "Bitte geben Sie einen Namen für die neue Datei ein:";
-
-$StrUpload = "Upload";
-$StrUploadFilesTo = "Dateien hochladen nach";
-$StrUploading = "Laden";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "FEHLER!";
-$StrUploadFailPost = "Maximale Grösse erreicht - in docs/faq.txt erhalten Sie Informationen hierzu.";
-$StrFirstFile = "1. Datei:";
-$StrSecondFile = "2. Datei:";
-$StrThirdFile = "3. Datei:";
-$StrFourthFile = "4. Datei:";
-$StrUploadQuestion = "Wählen Sie die Dateien zum Upload:";
-$StrUploadNote = "Die Dateien werden geladen in:";
-
-$StrDownload = "Download";
-$StrDownloadClickLink = "Klicken Sie auf den Link, um den Download zu starten.";
-$StrDownloadClickHere = "Klicken Sie hier zum Download";
-$StrDownloadFail = "Fehler beim Öffnen der Datei oder unzulässiger Dateiname.";
-
-$StrViewing = "Ansicht";
-$StrAt = "mit";
-$StrViewFail = "Fehler beim Öffnen des Bilds.";
-$StrViewFailHelp = "Datei existiert nicht oder ist keine Bilddatei.";
-$StrImage = "Bild";
-$StrZoomIn = "Vergrössern";
-$StrZoomOut = "Verkleinern";
-$StrOriginalSize = "Originalgrösse";
-$StrPrevious = "Vorheriges";
-$StrNext = "Nächstes";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/germaniso.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by Claus Heuser (CHeuser@t-online.de) */
-
-$StrLanguageCharset = "ISO-8859-1";
-
-$StrIndexOf = "Inhalt von";
-
-$StrMenuCreateFolder = "Ordner erstellen";
-$StrMenuCreateFile = "Datei erstellen";
-$StrMenuUploadFiles = "Datei hochladen";
-$StrMenuLogOut = "Abmelden";
-
-$StrOpenFolder = "Ordner öffnen";
-$StrRenameFolder = "Ordner umbenennen";
-$StrDeleteFolder = "Ordner löschen";
-
-$StrViewFile = "Datei ansehen";
-$StrEditFile = "Datei bearbeiten";
-$StrRenameFile = "Datei umbenennen";
-$StrDownloadFile = "Datei herunterladen";
-$StrDeleteFile = "Datei löschen";
-
-$StrFile = "Datei";
-
-$StrFolderNameShort = "Name";
-$StrFileNameShort = "Name";
-$StrFileSizeShort = "Grösse";
-$StrPermissionsShort = "Rechte";
-$StrLastModifiedShort = "Geändert";
-$StrEditShort = "B";
-$StrViewShort = "A";
-$StrRenameShort = "U";
-$StrDownloadShort = "D";
-$StrDeleteShort = "L";
-
-$StrBack = "Zurück";
-$StrYes = "OK";
-$StrOr = "oder";
-$StrCancel = "Abbrechen";
-
-$StrUsername = "Benutzername:";
-$StrPassword = "Passwort:";
-$StrLogIn = "Anmelden";
-$StrLoginSystem = "Login System:";
-$StrLoginInfo = "Bitte geben Sie Ihren Benutzernamen und Ihr Kennwort ein:";
-
-$StrAccessDenied = "Zugang verweigert!";
-
-$StrInvalidHomeFolder = "Ungültiges Hauptverzeichnis!";
-$StrInvalidPath = "Falscher Pfad!";
-$StrMissingTrailingSlash = "(Fehlender führender Slash)";
-$StrAlreadyExists = "Datei oder Ordner mit diesem Namen existiert bereits.";
-$StrFolderInvalidName = "Ungültiger Ordnername.";
-$StrFileInvalidName = "Ungültiger Dateiname.";
-$StrErrorOpeningFile = "Fehler beim Öffnen der Datei.";
-
-$StrSaveFileSuccess = "Datei erfolgreich gespeichert!";
-$StrSaveFileFail = "Datei konnte nicht gespeichert werden.";
-$StrEditing = "Bearbeiten";
-$StrFilename = "Dateiname:";
-$StrRestoreOriginal = "Wiederherstellen";
-$StrSaveAndExit = "Speichern";
-
-$StrDeleteFolderNotFound = "Ordner nicht gefunden.";
-$StrDeleteFileNotFound = "Datei nicht gefunden.";
-$StrDeleteFolderSuccess = "Ordner wurde gelöscht!";
-$StrDeleteFileSuccess = "Datei wurde gelöscht!";
-$StrDeleteFolderFail = "Ordner konnte nicht gelöscht werden.";
-$StrDeleteFileFail = "Datei konnte nicht gelöscht werden.";
-$StrDeleteFolderFailHelp = "Überprüfen Sie Ihre Zugriffsrechte.";
-$StrDeleteFileFailHelp = "Überprüfen Sie Ihre Zugriffsrechte.";
-$StrDeleteFolderQuestion = "Wollen Sie diesen Ordner wirklich löschen?";
-$StrDeleteFileQuestion = "Wollen Sie diese Datei wirklich löschen?";
-
-$StrRename = "Umbenennen";
-$StrRenameFolder = "Ordner umbenennen";
-$StrRenameFile = "Datei umbenennen";
-$StrRenameFolderSuccess = "Ordner wurde umbenannt!";
-$StrRenameFileSuccess = "Datei wurde umbenannt!";
-$StrRenameFolderFail = "Ordner konnte nicht umbenannt werden.";
-$StrRenameFileFail = "Datei konnte nicht umbenannt werden.";
-$StrRenameFolderFailHelp = "Eventuell sind Ihre Zugriffsrechte nicht ausreichend oder der Ordnername ist unzulässig.";
-$StrRenameFileFailHelp = "Eventuell sind Ihre Zugriffsrechte nicht ausreichend oder der Ordnername ist unzulässig.";
-$StrRenameFolderQuestion = "Bitte vergeben Sie einen neuen Namen für den Ordner:";
-$StrRenameFileQuestion = "Bitte vergeben Sie einen neuen Namen für die Datei:";
-
-$StrCreate = "Erstellen";
-$StrCreateFolder = "Neuen Ordner erstellen";
-$StrCreateFile = "Neue Datei erstellen";
-$StrCreateFolderSuccess = "Ordner erstellt!";
-$StrCreateFileSuccess = "Datei erstellt!";
-$StrCreateFolderFail = "Fehler beim Erstellen des Ordners.";
-$StrCreateFileFail = "Fehler beim Erstellen der Datei.";
-$StrCreateFolderFailHelp = "Überprüfen Sie Ihre Zugriffsrechte.";
-$StrCreateFileFailHelp = "Überprüfen Sie Ihre Zugriffsrechte.";
-$StrCreateFolderQuestion = "Bitte geben Sie einen Namen für den neuen Ordner ein:";
-$StrCreateFileQuestion = "Bitte geben Sie einen Namen für die neue Datei ein:";
-
-$StrUpload = "Upload";
-$StrUploadFilesTo = "Dateien hochladen nach";
-$StrUploading = "Laden";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "FEHLER!";
-$StrUploadFailPost = "Maximale Grösse erreicht - in docs/faq.txt erhalten Sie Informationen hierzu.";
-$StrFirstFile = "1. Datei:";
-$StrSecondFile = "2. Datei:";
-$StrThirdFile = "3. Datei:";
-$StrFourthFile = "4. Datei:";
-$StrUploadQuestion = "Wählen Sie die Dateien zum Upload:";
-$StrUploadNote = "Die Dateien werden geladen in:";
-
-$StrDownload = "Download";
-$StrDownloadClickLink = "Klicken Sie auf den Link, um den Download zu starten.";
-$StrDownloadClickHere = "Klicken Sie hier zum Download";
-$StrDownloadFail = "Fehler beim Öffnen der Datei oder unzulässiger Dateiname.";
-
-$StrViewing = "Ansicht";
-$StrAt = "mit";
-$StrViewFail = "Fehler beim Öffnen des Bilds.";
-$StrViewFailHelp = "Datei existiert nicht oder ist keine Bilddatei.";
-$StrImage = "Bild";
-$StrZoomIn = "Vergrössern";
-$StrZoomOut = "Verkleinern";
-$StrOriginalSize = "Originalgrösse";
-$StrPrevious = "Vorheriges";
-$StrNext = "Nächstes";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/hungarian.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by Csaba Csanaki (csaba@csanaki.hu) */
-
-$StrLanguageCharset = "ISO-8859-1";
-
-$StrIndexOf = "Index:";
-
-$StrMenuCreateFolder = "Új könyvtár létrehozása";
-$StrMenuCreateFile = "Új fájl létrehozása";
-$StrMenuUploadFiles = "Fájl feltöltése";
-$StrMenuLogOut = "Kijelenetkezés";
-
-$StrOpenFolder = "Könyvtár megnyitása";
-$StrRenameFolder = "Könyvtár átnevezése";
-$StrDeleteFolder = "Könyvtár törlése";
-
-$StrViewFile = "Fájl megtekintése";
-$StrEditFile = "Fájl szerkesztése";
-$StrRenameFile = "Fájl átnevezése";
-$StrDownloadFile = "Fájl letöltése";
-$StrDeleteFile = "Fájl törlése";
-
-$StrFile = "Fájl";
-
-$StrFolderNameShort = "Név";
-$StrFileNameShort = "Név";
-$StrFileSizeShort = "Méret";
-$StrPermissionsShort = "Jogok";
-$StrLastModifiedShort = "Módosítva";
-$StrEditShort = "Sz";
-$StrViewShort = "Né";
-$StrRenameShort = "án";
-$StrDownloadShort = "Le";
-$StrDeleteShort = "Tö";
-
-$StrBack = "Vissza";
-$StrYes = "Igen";
-$StrOr = "vagy";
-$StrCancel = "Mégsem";
-
-$StrUsername = "Felhasználó:";
-$StrPassword = "Jelszó:";
-$StrLogIn = "Bejelentkezés";
-$StrLoginSystem = "Rendszer:";
-$StrLoginInfo = "Add meg felhasználóneved, jelszavad:";
-
-$StrAccessDenied = "Nincs hozzáférés!";
-
-$StrInvalidHomeFolder = "érvénytelen könyvtár.";
-$StrInvalidPath = "érvénytelen Útvonal.";
-$StrMissingTrailingSlash = "(Hiányzó utolsó /)";
-$StrAlreadyExists = "A fájl vagy könyvtár már létezik!";
-$StrFolderInvalidName = "érvénytelen könyvtárnév.";
-$StrFileInvalidName = "érvénytelen fájlnév.";
-$StrErrorOpeningFile = "Fájl megnyitási hiba.";
-
-$StrSaveFileSuccess = "Sikeres mentés!";
-$StrSaveFileFail = "Fájl mentési hiba.";
-$StrEditing = "Szerkesztés";
-$StrFilename = "Fájlnév:";
-$StrRestoreOriginal = "Visszaállítás";
-$StrSaveAndExit = "Ment és kilép";
-
-$StrDeleteFolderNotFound = "Könyvtár nem található.";
-$StrDeleteFileNotFound = "Fájl nem található.";
-$StrDeleteFolderSuccess = "Könyvtár törölve!";
-$StrDeleteFileSuccess = "Fájl törölve!";
-$StrDeleteFolderFail = "Könyvtár törlés sikertelen.";
-$StrDeleteFileFail = "Fájl törlés sikertelen.";
-$StrDeleteFolderFailHelp = "Jogosultsági hiba.";
-$StrDeleteFileFailHelp = "Jogosultsági hiba.";
-$StrDeleteFolderQuestion = "Biztos törölni akarod az alábbi könyvtárat?";
-$StrDeleteFileQuestion = "Biztos törölni akarod az alábbi fájlt?";
-
-$StrRename = "átnevezés";
-$StrRenameFolder = "Könyvtár átnevezés";
-$StrRenameFile = "Fájl átnevezés";
-$StrRenameFolderSuccess = "Könyvtár átnevezés sikeres!";
-$StrRenameFileSuccess = "Fájl átnevezés sikeres!";
-$StrRenameFolderFail = "Könyvtár átnevezési hiba.";
-$StrRenameFileFail = "Fájl átnevezési hiba.";
-$StrRenameFolderFailHelp = "Jogosultsági hiba.";
-$StrRenameFileFailHelp = "Jogosultsági hiba.";
-$StrRenameFolderQuestion = "Adj meg Új nevet ezen könyvtárnak:";
-$StrRenameFileQuestion = "Adj meg Új nevet ezen fájlnak:";
-
-$StrCreate = "Létrehozás";
-$StrCreateFolder = "Könyvtár létrehozása";
-$StrCreateFile = "Fájl létrehozása";
-$StrCreateFolderSuccess = "Könyvtár létrehozása sikeres!";
-$StrCreateFileSuccess = "Fájl létrehozása sikeres!";
-$StrCreateFolderFail = "Könyvtár létrehozási hiba.";
-$StrCreateFileFail = "Fájl létrehozási hiba.";
-$StrCreateFolderFailHelp = "Jogosultsági hiba.";
-$StrCreateFileFailHelp = "Jogosultsági hiba.";
-$StrCreateFolderQuestion = "dj meg Új nevet ezen könyvtárnak:";
-$StrCreateFileQuestion = "Adj meg Új nevet ezen fájlnak:";
-
-$StrUpload = "Feltöltés";
-$StrUploadFilesTo = "Feltöltés";
-$StrUploading = "Feltöltés";
-$StrUploadSuccess = "Rendben!";
-$StrUploadFail = "Hiba!";
-$StrUploadFailPost = "Maximum POST méret elérése - nézd meg: docs/faq.txt.";
-$StrFirstFile = "1. fájl:";
-$StrSecondFile = "2. fájl:";
-$StrThirdFile = "3. fájl:";
-$StrFourthFile = "4. fájl:";
-$StrUploadQuestion = "Válaszd ki a feltölteni kívánt fájlokat:";
-$StrUploadNote = "Figyelem: Feltöltött fájlok ide kerülnek:";
-
-$StrDownload = "Letöltés";
-$StrDownloadClickLink = "Kattints ide a letöltés elkezdéséhez.";
-$StrDownloadClickHere = "Kattints a letöltéshez";
-$StrDownloadFail = "Hibás fájl, fájlnév.";
-
-$StrViewing = "Megtekint";
-$StrAt = "";
-$StrViewFail = "Kép magynitási hiba.";
-$StrViewFailHelp = "Fájl nem képfájl, vagy hibás fájlformátum.";
-$StrImage = "Kép";
-$StrZoomIn = "Nagyít";
-$StrZoomOut = "Kicsinyít";
-$StrOriginalSize = "Eredeti méret";
-$StrPrevious = "Elõzõ";
-$StrNext = "Következõ";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/italian.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by Antonio Manfredonio (manfrys@hotmail.com) */
-
-$StrLanguageCharset = "ISO-8859-1";
-
-$StrIndexOf = "Indice";
-
-$StrMenuCreateFolder = "Crea nuova cartella";
-$StrMenuCreateFile = "Crea nuovo file";
-$StrMenuUploadFiles = "Upload file";
-$StrMenuLogOut = "Sconnetti";
-
-$StrOpenFolder = "Apri cartella";
-$StrRenameFolder = "Rinomina cartella";
-$StrDeleteFolder = "Elimina cartella";
-
-$StrViewFile = "Visualizza file";
-$StrEditFile = "Modifica file";
-$StrRenameFile = "Rinomina file";
-$StrDownloadFile = "Download file";
-$StrDeleteFile = "Elimina file";
-
-$StrFile = "File";
-
-$StrFolderNameShort = "Nome";
-$StrFileNameShort = "Nome";
-$StrFileSizeShort = "Grandezza";
-$StrPermissionsShort = "Perm";
-$StrLastModifiedShort = "Modificato";
-$StrEditShort = "Ed";
-$StrViewShort = "Vi";
-$StrRenameShort = "Ri";
-$StrDownloadShort = "Dl";
-$StrDeleteShort = "El";
-
-$StrBack = "Indietro";
-$StrYes = "Si";
-$StrOr = "o";
-$StrCancel = "Annulla";
-
-$StrUsername = "Username:";
-$StrPassword = "Password:";
-$StrLogIn = "Accedi";
-$StrLoginSystem = "Accedi al sistema:";
-$StrLoginInfo = "Inserisci il tuo username e password nel box sottostante:";
-
-$StrAccessDenied = "Accesso negato!";
-
-$StrInvalidHomeFolder = "Directory principale non valida.";
-$StrInvalidPath = "Percorso non valido.";
-$StrMissingTrailingSlash = "(Slash omesso)";
-$StrAlreadyExists = "Già esiste un file o una cartella con lo stesso nome.";
-$StrFolderInvalidName = "Nome della cartella non valido.";
-$StrFileInvalidName = "Nome del file non valido.";
-$StrErrorOpeningFile = "Errore nell\'apertura del file.";
-
-$StrSaveFileSuccess = "File salvato correttamente!";
-$StrSaveFileFail = "Salvataggio del file non riuscito.";
-$StrEditing = "Modifica";
-$StrFilename = "Nome del file:";
-$StrRestoreOriginal = "Ripristina originale";
-$StrSaveAndExit = "Salva ed esci";
-
-$StrDeleteFolderNotFound = "Cartella non trovata.";
-$StrDeleteFileNotFound = "File non trovato.";
-$StrDeleteFolderSuccess = "Cartella eliminata correttamente!";
-$StrDeleteFileSuccess = "File eliminato correttamente!";
-$StrDeleteFolderFail = "Eliminazione della cartella non riuscito.";
-$StrDeleteFileFail = "Eliminazione del file non riuscito.";
-$StrDeleteFolderFailHelp = "Non si hanno sufficienti permessi.";
-$StrDeleteFileFailHelp = "Non si hanno sufficienti permessi.";
-$StrDeleteFolderQuestion = "Sei sicuro di voler eliminare questa cartella?";
-$StrDeleteFileQuestion = "Sei sicuro di voler elimina questo file?";
-
-$StrRename = "Rinomina";
-$StrRenameFolder = "Rinomina cartella";
-$StrRenameFile = "Rinomina file";
-$StrRenameFolderSuccess = "Cartella rinominata!";
-$StrRenameFileSuccess = "File rinominato!";
-$StrRenameFolderFail = "Fallita la rinominazione della cartella.";
-$StrRenameFileFail = "Fallita la rinominazione del file.";
-$StrRenameFolderFailHelp = "Non si hanno sufficienti permessi o nome cartella non valido.";
-$StrRenameFileFailHelp = "Non si hanno sufficienti permessi o nome del file non valido.";
-$StrRenameFolderQuestion = "Seleziona un nuovo nome per la cartella:";
-$StrRenameFileQuestion = "Seleziona un nuovo nome per il file:";
-
-$StrCreate = "Crea";
-$StrCreateFolder = "Crea nuova cartella";
-$StrCreateFile = "Crea nuovo file";
-$StrCreateFolderSuccess = "Cartella creata!";
-$StrCreateFileSuccess = "File creato!";
-$StrCreateFolderFail = "Creazione nuova cartella non riuscito.";
-$StrCreateFileFail = "Creazione del file non riuscito.";
-$StrCreateFolderFailHelp = "Non si hanno sufficienti permessi.";
-$StrCreateFileFailHelp = "Non si hanno sufficienti permessi.";
-$StrCreateFolderQuestion = "Seleziona un nuovo nome per la cartella:";
-$StrCreateFileQuestion = "Seleziona un nuovo nome per il file.:";
-
-$StrUpload = "Upload";
-$StrUploadFilesTo = "Upload i file in";
-$StrUploading = "Upload in corso";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "FALLITO!";
-$StrUploadFailPost = "Maximum POST size reached - see docs/faq.txt for more information.";
-$StrFirstFile = "1° file:";
-$StrSecondFile = "2° file:";
-$StrThirdFile = "3° file:";
-$StrFourthFile = "4° file:";
-$StrUploadQuestion = "Scegli i file che vuoi uploadare:";
-$StrUploadNote = "Nota: I file saranno uploadati in:";
-
-$StrDownload = "Download";
-$StrDownloadClickLink = "Clicca sul link sottostante per scaricare il file.";
-$StrDownloadClickHere = "Clicca qui per scaricare";
-$StrDownloadFail = "Errore di apertura file o nome file non valido.";
-
-$StrViewing = "Visualizza";
-$StrAt = "a";
-$StrViewFail = "Errore apertura immagine.";
-$StrViewFailHelp = "Il file non esiste o non è un immagine.";
-$StrImage = "Immagine";
-$StrZoomIn = "Zoom in";
-$StrZoomOut = "Zoom out";
-$StrOriginalSize = "Grandezza originale";
-$StrPrevious = "Precedente";
-$StrNext = "Successivo";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/portugues.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by ? (?@?) */
-
-$StrLanguageCharset = "ISO-8859-1";
-
-$StrIndexOf = "Index of";
-
-$StrMenuCreateFolder = "Criar uma nova directoria";
-$StrMenuCreateFile = "Criar um novo ficheiro";
-$StrMenuUploadFiles = "Enviar Ficheiros";
-$StrMenuLogOut = "Sair";
-
-$StrOpenFolder = "Abrir a pasta";
-$StrRenameFolder = "Renomear a pasta";
-$StrDeleteFolder = "Apagar a pasta";
-
-$StrViewFile = "Ver o ficheiro";
-$StrEditFile = "Editar o ficheiro";
-$StrRenameFile = "Renomear o ficheiro";
-$StrDownloadFile = "Gravar o ficheiro";
-$StrDeleteFile = "Apagar o ficheiro";
-
-$StrFile = "Ficheiro";
-
-$StrFolderNameShort = "Nome";
-$StrFileNameShort = "Nome";
-$StrFileSizeShort = "Tamanho";
-$StrPermissionsShort = "Perm";
-$StrLastModifiedShort = "Modificado";
-$StrEditShort = "Ed";
-$StrViewShort = "Vr";
-$StrRenameShort = "Rn";
-$StrDownloadShort = "Gr";
-$StrDeleteShort = "Ap";
-
-$StrBack = "Retroceder";
-$StrYes = "Confirmar";
-$StrOr = "ou";
-$StrCancel = "Cancelar";
-
-$StrUsername = "Utilizador:";
-$StrPassword = "Palavra Passe:";
-$StrLogIn = "Entrar";
-$StrLoginSystem = "Tem de efectuar o LOGIN para entrar no sistema:";
-$StrLoginInfo = "Introduza os seus dados de utilizador:";
-
-$StrAccessDenied = "Accesso NEGADO!";
-
-$StrInvalidHomeFolder = "O Nome da pasta é inválido.";
-$StrInvalidPath = "O Caminho é inválido.";
-$StrMissingTrailingSlash = "(Missing trailing slash)";
-$StrAlreadyExists = "Ja existe uma pasta ou um ficheiro com esse nome.";
-$StrFolderInvalidName = "O Nome da pasta ou do ficheiro é inválido.";
-$StrFileInvalidName = "Ficheiro inválido.";
-$StrErrorOpeningFile = "Erro ao abrir o ficheiro.";
-
-$StrSaveFileSuccess = "O Ficheiro foi gravado com sucesso!";
-$StrSaveFileFail = "Ocorreu um ERRO ao gravar o ficheiro.";
-$StrEditing = "Editar";
-$StrFilename = "Ficheiro:";
-$StrRestoreOriginal = "Restaurar original";
-$StrSaveAndExit = "Gravar e Sair";
-
-$StrDeleteFolderNotFound = "A Pasta nao foi encontrada.";
-$StrDeleteFileNotFound = "O Ficheiro nao foi encontrado.";
-$StrDeleteFolderSuccess = "A Pasta foi apagada com sucesso!";
-$StrDeleteFileSuccess = "O Ficheiro foi apagado com sucesso!";
-$StrDeleteFolderFail = "Ocorreu um ERRO ao apagar a directoria.";
-$StrDeleteFileFail = "Ocorreu um ERRO ao apagar o ficheiro.";
-$StrDeleteFolderFailHelp = "Isto pode ser causado por permissões insuficientes.";
-$StrDeleteFileFailHelp = "Isto pode ser causado por permissões insuficientes.";
-$StrDeleteFolderQuestion = "Tem a certeza que deseja apagar a pasta seguinte?";
-$StrDeleteFileQuestion = "Tem a certeza que deseja apagar a pasta seguinte?";
-
-$StrRename = "Renomear";
-$StrRenameFolder = "Renomear pasta";
-$StrRenameFile = "Renomear ficheiro";
-$StrRenameFolderSuccess = "A Pasta foi renomeada com sucesso!";
-$StrRenameFileSuccess = "O Ficheiro foi renomeado com sucesso!";
-$StrRenameFolderFail = "Ocorreu um ERRO ao apagar a pasta.";
-$StrRenameFileFail = "Ocorreu um ERRO ao apagar o ficheiro.";
-$StrRenameFolderFailHelp = "Isto pode ser causado por permissões insuficientes ou o nome da pasta é inválido.";
-$StrRenameFileFailHelp = "Isto pode ser causado por permissões insuficientes ou o nome do ficheiro é inválido.";
-$StrRenameFolderQuestion = "Escolha um novo nome para a seguinte pasta:";
-$StrRenameFileQuestion = "Escolha um novo nome para o ficheiro:";
-
-$StrCreate = "Criar";
-$StrCreateFolder = "Criar uma nova pasta";
-$StrCreateFile = "Criar um novo ficheiro";
-$StrCreateFolderSuccess = "A Pasta foi criada com sucesso!";
-$StrCreateFileSuccess = "O Ficheiro foi criado com sucesso!";
-$StrCreateFolderFail = "Ocorreu um ERRO ao criar a pasta.";
-$StrCreateFileFail = "Ocorreu um ERRO ao criar o ficheiro.";
-$StrCreateFolderFailHelp = "Isto pode ser causado por permissões insuficientes .";
-$StrCreateFileFailHelp = "Isto pode ser causado por permissões insuficientes .";
-$StrCreateFolderQuestion = "Escolha um nome para a nova pasta:";
-$StrCreateFileQuestion = "Escolha um nome para o novo ficheiro:";
-
-$StrUpload = "Enviar";
-$StrUploadFilesTo = "Os ficheiros serão enviados para";
-$StrUploading = "A gravar...";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "Ocorreu um ERRO!";
-$StrUploadFailPost = "Atingiu o limite máximo e não pode enviar mais ficheiros.";
-$StrFirstFile = "1º Ficheiro:";
-$StrSecondFile = "2º Ficheiro:";
-$StrThirdFile = "3º Ficheiro:";
-$StrFourthFile = "4º Ficheiro:";
-$StrUploadQuestion = "Escolha os ficheiros que deseja enviar:";
-$StrUploadNote = "Nota: Os ficheiros vão para a pasta:";
-
-$StrDownload = "Gravar";
-$StrDownloadClickLink = "Clicar aqui para gravar.";
-$StrDownloadClickHere = "Clicar aqui para gravar";
-$StrDownloadFail = "ERRO ao abrir o ficheiro ou o nome do ficheiro é inválido.";
-
-$StrViewing = "Ver";
-$StrAt = "at";
-$StrViewFail = "Ocorreu um ERRO ao abrir a imagem.";
-$StrViewFailHelp = "O ficheiro não existe ou não é um ficheiro de imagem.";
-$StrImage = "Imagem";
-$StrZoomIn = "Zoom in";
-$StrZoomOut = "Zoom out";
-$StrOriginalSize = "Tamanho original";
-$StrPrevious = "Previsualizar";
-$StrNext = "Seguinte";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/russian.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by Alexandrov Andrej (alexandrov@tb.by) */
-
-$StrLanguageCharset = "windows-1251";
-
-$StrIndexOf = "Index of";
-
-$StrMenuCreateFolder = "Íîâàÿ äèðåêòîðèÿ";
-$StrMenuCreateFile = "Ñîçäàòü ôàéë";
-$StrMenuUploadFiles = "Çàãðóçèòü ôàéë íà ñåðâåð";
-$StrMenuLogOut = "Âûéòè";
-
-$StrOpenFolder = "Îòêðûòü ïàïêó";
-$StrRenameFolder = "Ïåðåèìåíîâàòü ïàïêó";
-$StrDeleteFolder = "Óäàëèòü ïàïêó";
-
-$StrViewFile = "Ïðîñìîòð ôàéëà";
-$StrEditFile = "Ðåäàêòèðîâàòü ôàéë";
-$StrRenameFile = "Ïåðåèìåíîâàòü";
-$StrDownloadFile = "Ñãðóçèòü ôàéë";
-$StrDeleteFile = "Óäàëèòü ôàéë";
-
-$StrFile = "Ôàéë";
-
-$StrFolderNameShort = "Èìÿ";
-$StrFileNameShort = "Èìÿ ôàéë";
-$StrFileSizeShort = "Ðàçìåð";
-$StrPermissionsShort = "Ïðàâà";
-$StrLastModifiedShort = "Èçìåíåí";
-$StrEditShort = "Ðåä";
-$StrViewShort = "Ïðîñ";
-$StrRenameShort = "Èìÿ";
-$StrDownloadShort = "Ñãðç";
-$StrDeleteShort = "Óäàë";
-
-$StrBack = "Íàçàä";
-$StrYes = "Äà";
-$StrOr = "èëè";
-$StrCancel = "Îòìåíà";
-
-$StrUsername = "Ëîãèí:";
-$StrPassword = "Ïàðîëü:";
-$StrLogIn = "Âîèòè";
-$StrLoginSystem = "Âõîä â ñèñòåìó:";
-$StrLoginInfo = "Ââåäèòå ïîæàëóéñòà ïàðîëü è ëîãèí:";
-
-$StrAccessDenied = "Äîñòóï çàêðûò!";
-
-$StrInvalidHomeFolder = "Îøèáî÷íàÿ äîìàøíÿÿ äèðåêòîðèÿ.";
-$StrInvalidPath = "Îøèáî÷íûé ïóòü.";
-$StrMissingTrailingSlash = "(Îòñóòñòâóåò ñëýø â ïóòè)";
-$StrAlreadyExists = "Òàêîé ôàéë èëè äèðåêòîðèÿ óæå ñóùåñòâóåò.";
-$StrFolderInvalidName = "Íåïðàâèëüíîå èìÿ ïàïêè.";
-$StrFileInvalidName = "Íåïðàâèëüíîå èìÿ ôàéëà.";
-$StrErrorOpeningFile = "Îøèáêà îòêðûòèÿ ôàéëà.";
-
-$StrSaveFileSuccess = "Ôàéë ñîõðàíåí!";
-$StrSaveFileFail = "Îøèáêà ñîõðàíåíèÿ ôàéëà.";
-$StrEditing = "Ðåäàêòèðîâàíèå";
-$StrFilename = "Èìÿ ôàéëà:";
-$StrRestoreOriginal = "Âîññòàíîâèòü";
-$StrSaveAndExit = "Ñîõðàíèòü";
-
-$StrDeleteFolderNotFound = "Ïàïêà íå íàéäåíà.";
-$StrDeleteFileNotFound = "Ôàéë íå íàéäåí.";
-$StrDeleteFolderSuccess = "Ïàïêà óäàëåíà!";
-$StrDeleteFileSuccess = "Ôàéë óäàëåí!";
-$StrDeleteFolderFail = "Îøèáêà óäàëåíèÿ ïàïêè.";
-$StrDeleteFileFail = "Îøèáêà óäàëåíèÿ ôàéëà.";
-$StrDeleteFolderFailHelp = "Âîçìîæíî âñ¸ äåëî â âàøèõ ïðàâàõ íà ïàïêó.";
-$StrDeleteFileFailHelp = "Âîçìîæíî âñ¸ äåëî â âàøèõ ïðàâàõ íà ôàéë.";
-$StrDeleteFolderQuestion = "Âû äåéñòâèòåëüíî õîòèòå óäàëèòü ïàïêó?";
-$StrDeleteFileQuestion = "Âû äåéñòâèòåëüíî õîòèòå óäàëèòü ôàéë?";
-
-$StrRename = "Ïåðåèìåíîâàòü";
-$StrRenameFolder = "Ïåðåèìåíîâàòü ïàïêó";
-$StrRenameFile = "Ïåðåèìåíîâàòü ôàéë";
-$StrRenameFolderSuccess = "Ïàïêà ïåðåèìåíîâàíà!";
-$StrRenameFileSuccess = "Ôàéë ïåðåèìåíîâàí!";
-$StrRenameFolderFail = "Íå óäàëîñü ïåðåèìåíîâàòü ïàïêó.";
-$StrRenameFileFail = "Íå óäàëîñü ïåðåèìåíîâàòü ôàéë.";
-$StrRenameFolderFailHelp = "Âîçìîæíî âñ¸ äåëî â âàøèõ ïðàâàõ íà ïàïêó èëè íåêîððåêòíîì èìåíè.";
-$StrRenameFileFailHelp = "Âîçìîæíî âñ¸ äåëî â âàøèõ ïðàâàõ íà ôàéë èëè íåêîððåêòíîì èìåíè.";
-$StrRenameFolderQuestion = "Âûáåðèòå íîâîå èìÿ äëÿ ñëåäóþùåé ïàïêè:";
-$StrRenameFileQuestion = "Âûáåðèòå íîâîå èìÿ äëÿ ñëåäóþùåãî ôàéëà:";
-
-$StrCreate = "Ñîçäàòü";
-$StrCreateFolder = "Ñîçäàòü ïàïêó";
-$StrCreateFile = "Ñîçäàòü ôàéë";
-$StrCreateFolderSuccess = "Ïàïêà ñîçäàíà!";
-$StrCreateFileSuccess = "Ôàéë ñîçäàí!";
-$StrCreateFolderFail = "Îøèáêà ñîçäàíèÿ ïàïêè.";
-$StrCreateFileFail = "Îøèáêà ñîçäàíèÿ ôàéëà.";
-$StrCreateFolderFailHelp = "Âîçìîæíî âñ¸ äåëî â âàøèõ ïðàâàõ.";
-$StrCreateFileFailHelp = "Âîçìîæíî âñ¸ äåëî â âàøèõ ïðàâàõ.";
-$StrCreateFolderQuestion = "Âûáåðèòå èìÿ äëÿ íîâîé ïàïêè:";
-$StrCreateFileQuestion = "Âûáåðèòå èìÿ äëÿ íîâîãî ôàéëà:";
-
-$StrUpload = "Çàãðóçèòü íà ñåðâåð";
-$StrUploadFilesTo = "Çàãðóçèòü ôàéëû â";
-$StrUploading = "Çàãðóçêà";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "Îøèáêà!";
-$StrUploadFailPost = "Ñëèøêîì áîëüøîé ðàçìåð ôàéëà / ñìîòðèòå faq.txt";
-$StrFirstFile = "1-é ôàéë:";
-$StrSecondFile = "2-é ôàéë:";
-$StrThirdFile = "3-é ôàéë:";
-$StrFourthFile = "4-é ôàéë:";
-$StrUploadQuestion = "Âûáåðèòå ôàéëû êîòîðûå âû õîòèòå çàãðóçèòü:";
-$StrUploadNote = "Âíèìàíèå: Ôàéëû áóäóò ïîìåùåíû â:";
-
-$StrDownload = "Ñãðóçèòü";
-$StrDownloadClickLink = "Íàæìèòå ññûëêó ÷òîáû íà÷àòü çàãðóçêó.";
-$StrDownloadClickHere = "íàæàòü çäåñü äëÿ çàãðóçêè";
-$StrDownloadFail = "Îøèáêà îòêðûòèÿ ôàéëà èëè íåïðàâèëüíîå èìÿ.";
-
-$StrViewing = "Ïðîñìîòð";
-$StrAt = "â";
-$StrViewFail = "Îøèáêà îòêðûòèÿ êàðòèíêè.";
-$StrViewFailHelp = "Ôàéë íå ñóùåñòâóåò èëè ýòî íå êàðòèíêà.";
-$StrImage = "Êàðòèíêà";
-$StrZoomIn = "Áëèæå";
-$StrZoomOut = "Äàëüøå";
-$StrOriginalSize = "Îðèãèíàëüíûé ðàçìåð";
-$StrPrevious = "Ïðåäûäóùèé";
-$StrNext = "Ñëåäóþùèé";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/lang/spanish.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,128 +0,0 @@
-<?php
-/* translation by ? (?@?) */
-
-$StrLanguageCharset = "ISO-8859-1";
-
-$StrIndexOf = "Listado de";
-
-$StrMenuCreateFolder = "Nueva Carpeta";
-$StrMenuCreateFile = "Nuevo Archivo";
-$StrMenuUploadFiles = "Subir Archivos";
-$StrMenuLogOut = "Finalizar";
-
-$StrOpenFolder = "Abrir Carpeta";
-$StrRenameFolder = "Renombrar Carpeta";
-$StrDeleteFolder = "Borrar Carpeta";
-
-$StrViewFile = "Ver Archivo";
-$StrEditFile = "Editar Archivo";
-$StrRenameFile = "Renombrar Archivo";
-$StrDownloadFile = "Bajar Archivo";
-$StrDeleteFile = "Borrar Archivo";
-
-$StrFile = "Archivo";
-
-$StrFolderNameShort = "Nombre";
-$StrFileNameShort = "Nombre";
-$StrFileSizeShort = "Tamaño";
-$StrPermissionsShort = "Permisos";
-$StrLastModifiedShort = "Modificado";
-$StrEditShort = "Ed";
-$StrViewShort = "Ver";
-$StrRenameShort = "Rn";
-$StrDownloadShort = "Ba";
-$StrDeleteShort = "Bo";
-
-$StrBack = "Volver";
-$StrYes = "Si";
-$StrOr = "o";
-$StrCancel = "Cancelar";
-
-$StrUsername = "Nombre de usuario:";
-$StrPassword = "Contraseña:";
-$StrLogIn = "Ingresar";
-$StrLoginSystem = "Ingresar:";
-$StrLoginInfo = "Por favor, ingrese su nombre de usuario y contraseña:";
-
-$StrAccessDenied = "Acceso Denegado!";
-
-$StrInvalidHomeFolder = "Carpeta raiz invalida.";
-$StrInvalidPath = "Ruta inavlida.";
-$StrMissingTrailingSlash = "(Falta barra /)";
-$StrAlreadyExists = "Ya existe un archivo o carpeta con ese nombre.";
-$StrFolderInvalidName = "Nombre o carpeta invalido.";
-$StrFileInvalidName = "Nombre de archivo invalido.";
-$StrErrorOpeningFile = "Error al abrir el archivo.";
-
-$StrSaveFileSuccess = "Archivo guardado!";
-$StrSaveFileFail = "El archivo no se ha guardado.";
-$StrEditing = "Editando";
-$StrFilename = "Nombre de Archivo:";
-$StrRestoreOriginal = "Recuperar original";
-$StrSaveAndExit = "Guardar y salir";
-
-$StrDeleteFolderNotFound = "Carpeta no encontrada.";
-$StrDeleteFileNotFound = "Archivo no encontrado.";
-$StrDeleteFolderSuccess = "La carpeta ha sido borrada!";
-$StrDeleteFileSuccess = "El archivo ha sido borrado!";
-$StrDeleteFolderFail = "La carpeta NO ha sido borrada.";
-$StrDeleteFileFail = "El archivo NO ha sido borrado.";
-$StrDeleteFolderFailHelp = "Permisos insuficientes.";
-$StrDeleteFileFailHelp = "Permisos insuficientes.";
-$StrDeleteFolderQuestion = "Esta seguro que desea borrar la siguiente carpeta?";
-$StrDeleteFileQuestion = "Esta seguro que desea borrar el siguiente archivo?";
-
-$StrRename = "Renombrar";
-$StrRenameFolder = "Renombrar Carpeta";
-$StrRenameFile = "Renombrar Archivo";
-$StrRenameFolderSuccess = "La carpeta ha sido renombrada!";
-$StrRenameFileSuccess = "El archivo ha sido renombrado!";
-$StrRenameFolderFail = "La carpeta NO ha sido renombrada.";
-$StrRenameFileFail = "El archivo NO ha sido renombrado.";
-$StrRenameFolderFailHelp = "Permisos insuficientes o nombre de carpeta erroneo.";
-$StrRenameFileFailHelp = "Permisos insuficientes o nombre de archivo erroneo.";
-$StrRenameFolderQuestion = "Por favor, ingrese el nuevo nombre de la carpeta:";
-$StrRenameFileQuestion = "Por favor, ingrese el nuevo nombre del archivo:";
-
-$StrCreate = "Crear";
-$StrCreateFolder = "Nueva Carpeta";
-$StrCreateFile = "Nuevo Archivo";
-$StrCreateFolderSuccess = "La carpeta ha sido creada!";
-$StrCreateFileSuccess = "El archivo ha sido creado!";
-$StrCreateFolderFail = "La carpeta NO ha sido creada.";
-$StrCreateFileFail = "El archivo NO ha sido creado.";
-$StrCreateFolderFailHelp = "Permisos insuficientes.";
-$StrCreateFileFailHelp = "Permisos insuficientes.";
-$StrCreateFolderQuestion = "Por favor, ingrese el nombre de la carpeta:";
-$StrCreateFileQuestion = "Por favor, ingrese el nombre del archivo:";
-
-$StrUpload = "Subir";
-$StrUploadFilesTo = "Subir archivos a";
-$StrUploading = "Subiendo";
-$StrUploadSuccess = "OK!";
-$StrUploadFail = "ERROR!";
-$StrUploadFailPost = "El archivo que intenta subir es demasiado grande. Consulte docs/faq.txt para mas informacion.";
-$StrFirstFile = "1er. archivo:";
-$StrSecondFile = "2do. archivo:";
-$StrThirdFile = "3er. archivo:";
-$StrFourthFile = "4to. archivo:";
-$StrUploadQuestion = "Elija los archivos que desea subir:";
-$StrUploadNote = "Nota: Los archivos subidos seran guardados en:";
-
-$StrDownload = "Bajar";
-$StrDownloadClickLink = "Haga click en el siguiente link para bajar el archivo.";
-$StrDownloadClickHere = "Haga click aqui para bajar el archivo";
-$StrDownloadFail = "Error al abrir el archivo o nombre de archivo invalido.";
-
-$StrViewing = "Ver";
-$StrAt = "al";
-$StrViewFail = "Error al abrir la imagen.";
-$StrViewFailHelp = "El archivo no existe o no es un archivo de imagen.";
-$StrImage = "Imagen";
-$StrZoomIn = "Acercarse";
-$StrZoomOut = "Alejarse";
-$StrOriginalSize = "Tamaño original";
-$StrPrevious = "Anterior";
-$StrNext = "Siguiente";
-
-?>
\ No newline at end of file
--- a/wp/wp-content/plugins/wp-filemanager/license.txt Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,278 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
-
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
- 5. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
--- a/wp/wp-content/plugins/wp-filemanager/readme.txt Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-=== wp-FileManager ===
-Contributors: anantshri, johannesries
-Tags: change, upload, organize, delete, management, file
-Requires at least: 3.2
-Tested up to: 3.5.1
-Stable tag: 1.4.0
-License: GPLv2 or later
-License URI: http://www.gnu.org/licenses/gpl-2.0.html
-
-FileManager for WordPress allows you to easily change, delete, organize and upload files.
-
-== Description ==
-
-WP-Filemanager is your one stop solution for all file management work right from the wordpress admin page.
-
-Following features are present as of now.
-
-* Create File, Folder
-* Upload ,Download file
-* View, Edit files
-* rename an delete files
-* Configuration menu inside WP-admin panel
-
-More features to be added soon.
-
-* Code editor for script fles
-* WYSIWYG editors for html files
-* Image editor for image files
-
-
-== Upgrade Notice ==
-
-This version fixes a security issue as well as multiple long standing usability bugs, errors and warnings. Upgrade immediately.
-
-
-== Installation ==
-
-1. Extract the zip file and just drop the contents in the wp-content/plugins/ directory
-2. Activate the plugin through the \'Plugins\' menu in WordPress.
-3. Update configuration (most importantly home_directory) and select relevent options.
-4. Check under the admin section last menu in sidebar will be FileManager.
-
-
-== Frequently Asked Questions ==
-
-For any questions please use the comments function at <a href=\"http://blog.anantshri.info/projects/wp-filemanager/\" target=\"_blank\" title=\"comment\">this page</a>. for <a href=\""http://johannesries.de/webwork/wp-filemanager/#respond"\" target=\"_blank\" title=\"comment\">old questions refer this </a>
-
-
-== Screenshots ==
-1. WP-FileManager home directory view
-2. WP-FileManager configuration panel
-
-== Changelog ==
-1.4.0
-
-* Fix of a Security Issue caused by arbitrary file download vulnerability.
-* View and download of file is now restricted inside wp-admin and hence visible only for admin roles.
-* Added index file on all pages to disable accidental diretory browsing.
-* Support is upped to 3.5.1 but minimum is advanced to 3.2 now. No point supporting so old releases.
-* Added protection on all files to protect from direct access.
-* Added code to prevent overall in function names with other plugin.
-* Codepress support removed as wordpress has stopped supporting it. (might add something later)
-* now supports HTML multiupload : patch submitted by thpani : http://profiles.wordpress.org/thpani/
-* rename function issue resolved.
-
-
-1.3.0
-
-* Bug Fixes and stable release.
-* Warning's removed.
-
-1.2.8
-
-* Download and View errors removed and now working fine.
-
-1.2.6
-
-* Codepress Implemented for Editing panel.
-* plugin works directly from wp-content folder.
-* Admin page for plugin started construction.
-* Hide extension option is added in file browser view.
-
-
-1.2.2
-
-* fixed the readme
-* added Czech translation by Petr Sahula
-
-
-WP-FileManager bases on PHPFM, GION Icons and original work by Joe Schmoe.
\ No newline at end of file
Binary file wp/wp-content/plugins/wp-filemanager/screenshot-1.jpg has changed
Binary file wp/wp-content/plugins/wp-filemanager/screenshot-2.jpg has changed
--- a/wp/wp-content/plugins/wp-filemanager/wp-filemanager.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,124 +0,0 @@
-<?php
-/*
-Plugin Name: WP-FileManager
-Plugin URI: http://blog.anantshri.info/projects/wp-filemanager/
-Description: FileManager for WordPress allows you to easily change, delete, organize and upload files.
-Version: 1.4.0
-Author: Anant Shrivastava, Johannes Ries
-Author URI: http://anantshri.info
-*/
-/*
-Todo list for PHPFM:
--------------------------------------------------------------------------------------
-
-- find work-around for permissions on GNU/Linux & UNIX systems.
-- make a login system where each user has his/hers own home directory and permissions.
-- some kind of logging system.
-- make an install script which makes it easier to install PHPFM.
-- add dos2unix or viceversa support
-- make hidden files unaccessible by the script (again).
-- index with thumbnails of all images in the current directory (uncertain).
-- make it possible to change permissions (chmod) on files and directories.
-- make it so you can compress a directory and download it.
-- do so you can see the full size of a directory (including sub-directories) and how
- many files that are in the directory.
-- templates for new (created) files. For instance PHP, HTML etc.
-- unix style permissions (e.g. -rw-rw-rw-)
-- too long directory- and filenames are shortened so they do not ruin the design.
-- templates for PHPFM. Change the look of PHPFM easily! (not provisional)
-- more languages.
-- add some nifty DHTML?
-- add the drive browser again?
-- PDF viewer and text/PHP viewer with highlighting.
-*/
-
-
-
-
-/* DO NOT EDIT ANYTHING BELOW THIS LINE */
-if ( ! defined( 'ABSPATH' ) )
- die();
-function get_list_ext($lst_type)
-{
- if (get_option($lst_type) != "")
- {
- $ext_list = get_option($lst_type);
- }
- else
- {
- $ext_list = get_option( $lst_type . '_default');
- }
- return $ext_list;
-}
-function fm_post_add_options() {
- add_menu_page('FileManager', 'FileManager', 8, 'wp-filemanager/fm.php');
- add_submenu_page('wp-filemanager/fm.php','FileManager','Configuration',8,'wpfileman', 'wpfileman_options_admin');
-}
-function wpfileman_options_admin()
-{
-// echo "options panel for wordpress file man";
-include_once('conf/config.inc.php');
-include_once('wp_filemanager_admin.php');
-}
-add_action('admin_menu', 'fm_post_add_options');
-//add_action('admin_menu', 'wpfileman_admin');
-if ($_GET['action'] == 'edit')
-{
-// wp_enqueue_script('codepress');
- wp_enqueue_script('jquery');
-}
-function wp_fileman_rename_file()
-{
-include(WP_CONTENT_DIR . "/plugins/wp-filemanager/incl/rename.inc.php");
- exit();
-}
-add_action('wp_ajax_rename', 'rename_file');
-add_action("admin_print_scripts",'js_libs');
-add_action("admin_print_styles", 'style_libs');
-function js_libs() {
- wp_enqueue_script('jquery');
- wp_enqueue_script('thickbox');
-}
-function style_libs() {
- wp_enqueue_style('thickbox');
-}
-function wpfileman_download_page(){
- global $pagenow;
-// header("Anant: Hello");
- include_once('conf/config.inc.php');
- //http://localhost/wordpress/wp-admin/admin.php?page=wp-filemanager%2Ffm.php&path=test_create%2F&filename=testme.txt&action=download
- $page = (isset($_GET['page']) ? $_GET['page'] : false);
- $action = (isset($_GET['action']) ? $_GET['action'] : false);
- $filename=(isset($_GET['filename']) ? $_GET['filename'] : false);
- $wp_fileman_path=(isset($_GET['path']) ? $_GET['path'] : false);
- //header("Anant: Hello");
- if($pagenow=='admin.php' && $page=='wp-filemanager/fm.php' && $action=='download' )
- {
- //header("Anant: Hello");
- if (is_file($home_directory.$wp_fileman_path.$filename))
- {
- $fullpath = $home_directory.$wp_fileman_path.$filename;
- }
- //header("Anant2: Hello");
- //wp_redirect('http://google.com');
- global $MIMEtypes;
- $mime="";
- if (!empty($MIMEtypes))
- {//reset($MIMEtypes);
- $extension = strtolower(substr(strrchr($filename, "."),1));
- if ($extension == "")
- $mime="Unknown/Unknown";
- while (list($mimetype, $file_extensions) = each($MIMEtypes))
- foreach (explode(" ", $file_extensions) as $file_extension)
- if ($extension == $file_extension)
- $mime=$mimetype;
- }
- header("Content-Type: ".$mime);
- header("Content-Length: ".filesize($fullpath));
- header("Content-Disposition: attachment; filename=$filename");
- readfile($fullpath);
- }
-}
-add_action('admin_init', 'wpfileman_download_page');
-/**/
-?>
--- a/wp/wp-content/plugins/wp-filemanager/wp_filemanager_admin.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-<?php
-if ( ! defined( 'ABSPATH' ) )
- die();
-?>
-<h1>WP-Filemanager Admin panel</h1>
-<div>
-<?php if (isset($_GET['settings-updated']) && ($_GET['settings-updated'] == 'true') ) : ?>
-<div class="updated fade"><p><strong><?php _e('Your options have been saved'); ?></strong></p></div>
-<?php endif; ?>
-<form action="options.php" method="post">
-<?php wp_nonce_field('update-options');
-?>
-<label>Filemanager Default Home location : </label><input type="text" name="wp_fileman_home" value="<?php
-if (get_option('wp_fileman_home') != '')
-{
- echo get_option('wp_fileman_home');
-}
-else
-{
- echo $home_directory;
-}
-?>" width="100px"/><br />
-<?php
-$str = "Create_File,Create_Folder,Allow_Download,Allow_Rename,Allow_Upload,Allow_Delete,Allow_View,Allow_Edit,Show_Extension";
-$str_ar = explode(',',$str);
-foreach ($str_ar as $st)
-{
- $val = explode("_",$st);
- $st = 'wp_fileman_' . $st;
- echo "<input name='" . $st . "' value='checked' type='checkbox' " . get_option($st) . " /><label>" . $val[0] . ' ' . $val[1] . "</label><br>\n";
- $str_final = $str_final . $st . ',';
-}
- $str_final = $str_final . $st . ',';
-?>
-<p>
-<b>Values to be listed in comma seperate list. [<i>Default values are listed for your reference</i>]</b>
-</p>
-<label>Editable Extension list : </label><input type="text" name="wp_fileman_editable_ext" value="<?php echo get_list_ext('wp_fileman_editable_ext') ?>" size="120"/><br />
-<b><i>Default Editable File Extensions List : php,php4,php3,phtml,phps,conf,sh,shar,csh,ksh,tcl,cgi,pl,js,txt,ini,html,htm,css,xml,xsl,ini,inf,cfg,log,nfo,bat,htaccess</i></b><br />
-<label>Viewable Extension list : </label><input type="text" name="wp_fileman_viewable_ext" value="<?php echo get_list_ext('wp_fileman_viewable_ext') ?>" size="119"/><br />
-<b><i>Default List of Viewable Files : jpeg,jpe,jpg,gif,png,bmp</i></b><br />
-<label>Hidden File String : </label><input type="text" name="wp_fileman_hidden_file" value="<?php echo get_list_ext('wp_fileman_hidden_file') ?>" size="100"/><br />
-<b><i>Default Hidden File List : htacess</i></b><br />
-<label>Hidden File extension : </label><input type="text" name="wp_fileman_hidden_extension" value="<?php echo get_list_ext('wp_fileman_hidden_extension') ?>" size="100"/>
-<br /><b><i>Default Hiddden File Extension : foo,bar</i></b><br />
-<label>Hidden Directory List : </label><input type="text" name="wp_fileman_hidden_dir" value="<?php echo get_list_ext('wp_fileman_hidden_dir') ?>" size="100"/>
-<br /><b><i>Default Hidden Directory List : some_dir,wp-admin</i></b><br />
-<input type="submit" value="<?php _e('Save Changes') ?>" />
-<input type="hidden" name="action" value="update" />
- <input type="hidden" name="page_options" value="<?php echo $str_final; ?>wp_fileman_home,wp_fileman_editable_ext,wp_fileman_viewable_ext,wp_fileman_hidden_file,wp_fileman_hidden_extension,wp_fileman_hidden_dir" />
-
-</form>
-</div>
\ No newline at end of file