diff -r d255fe9cd479 -r 00ac8f60d73f wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/content_timeline_edit.php --- 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 @@ -
- '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]; - } - ?> - - - -

- " class="add-new-h2">Cancel -

-
-
- -
- -
- -
-
-
- - -
-
-

Items

- + Add New item -
-
    - 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); - ?> - - -
  • -
    +
    -
    Item -  delete
    -
    -
    - /> - - ? Argument by which are elements organised (date - dd/mm/yyyy, Category - full category name). Different field is used for different categorizing type. - - - - - - - -
    -
    -

    ? Base item content (image, title and content).Item Options

    -
    Change - - - Remove -
    - -
    - - - - - - - -
    ? "PrittyPhoto"(Lightbox) URL, it can be image, video or site url. LEAVE IT EMPTY TO DESPLAY FULL SIZED IMGAE.
    - -
    -
    -

    ? Opened item content (image, title and content).Item Open Options

    -
    Change - - Remove -
    - -
    - - - - - - - -
    ? "PrettyPhoto"(Lightbox) URL, it can be image, video or site url. LEAVE IT EMPTY TO DESPLAY FULL SIZED IMGAE.
    - - /> -
    -
    -
  • - - - -
-
- -
- - -
- -
- -
-
-

Publish

-
-
- - - -
-
-
-
- - -
-

-

General Options

-
- - - - - - - - - - - - - - - - -
- ? Transition speed (default 500px). - - - - ms -
- ? Transition easing function (default 'easeOutSine'). - - - -
-
-

? Options for categorizing your posts.Chronological Options

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - /> -
- ? Organize posts by date or some other criteria. - - - - - -
- ? Number of posts per category/month (default 30). - - - -
-

Categories:

- $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 ' - - term_id]) ? 'checked="checked"' : '').'>'; - } - if($catString != '') { - echo ''; - } - - ?> - -
- Chech all - Unchech all -
-
-
-
-
- - - - - - -
-

-

Global Styling Options

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ? Width of the line element (default 920px). - - - - px -
- ? Space between two items. If negative items overlap. (default 20px). - - - - px -
- ? Height of Item and Open item elements (default 360px). - - - - px -
- ? Read more button ('Button' : adds read more button, 'Whole Item' : makes the entire item clickable, 'None' : Items don't open). - - - -
- ? Text of the 'Close' element in open item (default 'Close'). - - - -
- ? Hover color of 'Read More' and 'Close' buttons. - - - -
-
-
-
- ? Color of description bar that appears when you hover date on the timeline. - - - -
-
-
-
- - - > -
- ? Color scheme of timeline element (default 'Light'). - - - -
- - - > -
- ? Color scheme of nav elements (default 'Light'). - - - -
- ? Shadow under elements (default 'show'). - - - -
-
-
- - - - - - -
-

-

Item Styling Options

-
- - - - - - - - - - - - - - - - - - - - - -
- ? Width of items (default 240px). - - - - px -
- ? Height of images (Width is strached to element width). - - - - px -
- - - - px -
- - - -
-
-
-
-
-

? Font-family is inharited from your theme default fonts for H2 and default text.Fonts

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - px -
- - - - px -
- - - - -
- - - -
-
-
-
- - - - px -
- - - - px -
- - - - -
- - - -
-
-
-
-
- - -
-

? Base item background options.Background

- - - -
-
-
- - -
- - - Click on image to change, or remove image -
-
- -
-
- - -
-

-

Styling Options

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ? Width of open items (default 490px). - - - - px -
- ? Padding of open items content. - - - - px -
- ? Height of images (Width is strached to element width). - - - - px -
- - - - px -
- - - -
-
-
-
-
-

? Font-family is inharited from your theme default fonts for H2 and default text.Fonts

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - px -
- - - - px -
- - - - -
- - - -
-
-
-
- - - - px -
- - - - px -
- - - - -
- - - -
-
-
-
-
-
-

? Open item background options.Background

- - - -
-
-
- - -
- - - Click on image to change, or remove image -
-
-
-
- - - - - -
-
- -
-
-
- -
- -
- -
-
- -
\ No newline at end of file