Plugin Directory

Changeset 1758900


Ignore:
Timestamp:
11/05/2017 07:41:58 AM (8 years ago)
Author:
ishimwe
Message:

UPdated to 3.0.7

Location:
sidebar-post/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • sidebar-post/trunk/nexusframework/css/spost-admin.css

    r1758708 r1758900  
    99#theHeader{ border-radius:7px 7px 0px 0px; background:#003853; color:#FFF; min-height:60px; min-width: 85%; margin-top: 25px; padding: 15px;
    1010}
    11 #theHeader h1{ width: 70%; float:left; line-height: 26px;}
     11#theHeader h1{ width: 70%; display: inline-block;line-height: 26px; color: #fff;}
    1212.spostRow{ background:#EFEFEF; border: #909090 solid 1px; margin-bottom: 10px; min-height: 45px; min-width:65%; padding:5px;}
    1313#spostMessages{ float:right; display: none; width: 200px; font-size:18px}
    14 .inputTitle{ float:left; color:#868686; font-size:16px; font-weight:100; margin-top: 5px; margin-left:5px; margin-right: 10px; width:200px;}
    15 .inputContent{ cursor: pointer; float:left; min-width: 50px;  color: #fff;}
     14.inputTitle{ display: inline-block; vertical-align: middle; color:#868686; font-size:16px; font-weight:100; margin-top: 5px; margin-left:5px; margin-right: 10px; width:200px;}
     15.inputContent{ cursor: pointer; display: inline-block; vertical-align: middle; width: 20rem;  color: #fff;}
    1616.inputContent .yes{ background:url(../images/yes.png) no-repeat;
    1717height:44px; min-width: 90px; padding-top: 10px; padding-left: 48px; font-size: 18px
     18}
     19#spostContainer select{
     20  width: 100%;
    1821}
    1922#toplevel_page_spost .wp-menu-image img {
     
    2831.success{ background:#060; color: #fff; padding:5px;}
    2932.failure{ background:#f00; color: #fff; padding:5px;}
    30 .spostLegend{ float:right; min-width:50px; font-style:italic; color:#099; font-weight:100}
     33.spostLegend{ display: inline-block; vertical-align: middle; min-width:50px; font-style:italic; color:#099; font-weight:100}
    3134.premium{ border: 1px #f00 solid; background:url(../images/premium.png) no-repeat;}
    3235.warningRed{ color:#F00; font-size:24px; line-height: 28px;}
  • sidebar-post/trunk/nexusframework/nexus.php

    r1758708 r1758900  
    11<?php
     2// Exit if accessed directly
     3if ( !defined( 'ABSPATH' ) ) exit;
    24
    35wp_enqueue_style( 'spost-admin-general-style', NEXUS_FRAMEWK_URL . '/css/general.css', false, SPOST_VERSION );
  • sidebar-post/trunk/post_post.php

    r916534 r1758900  
    1212 * @var bool
    1313 */
     14 // Exit if accessed directly
     15 if ( !defined( 'ABSPATH' ) ) exit;
     16 
    1417define('WP_USE_THEMES', false);
    1518
     
    2831      $title = $_POST['title'];
    2932      $content = $_POST['content'];
    30      
     33
    3134       // Create post object
    3235  $my_post = array();
     
    3740  $my_post['post_type'] = 'post';
    3841  $my_post['post_category'] = array($cat_);
    39  
     42
    4043// Insert the post into the database
    4144    $successful_post = wp_insert_post($my_post);
    42    
     45
    4346    // add a custom field
    4447    //add_post_meta($successful_post, "character_id", $character_id );
  • sidebar-post/trunk/readme.txt

    r1758708 r1758900  
    11=== Plugin Name ===
    2 Contributors: ishimwe,codiiv
     2Contributors: ishimwe,codiiv.com
    33Donate link: http://www.codiiv.com/donate
    44Tags: post,sidebar, sidebar post, wordpress, posting, wordpress MU, MU
     
    9393* Added HTML5 submit support
    9494
     95=3.0.7=
     96
     97* Fixed translation paths issue
     98* Updated CSS for backend
     99
    95100== Upgrade Notice ==
    96101
  • sidebar-post/trunk/sidebar_post.php

    r1758708 r1758900  
    44Plugin URI: http://www.codiiv.com
    55Description: This plugin places a posting form in the sidebar
    6 Version: 3.0.6
     6Version: 3.0.7
    77Author: Janvier M @ CODIIV
    88Author URI: http://www.codiiv.com
     
    1818global $shortname;
    1919$shortname = "spost_";
    20 define('SPOST_VERSION','3.0.6');
    21 define('SPOST_DATABASE_VERSION','3.0.6');
    22 define('SPOST_BUILD','04112017');
     20define('SPOST_VERSION','3.0.7');
     21define('SPOST_DATABASE_VERSION','3.0.7');
     22define('SPOST_BUILD','05112017');
    2323define('SOFTWARE_NAME',__('Sidebar Post','spost'));
    2424define( 'SPOST_PLUGIN_DIR', WP_PLUGIN_DIR . '/sidebar-post' );
     
    4242function spost_theme_setup(){
    4343    //load_theme_textdomain('spost', SPOST_PLUGIN_URL . '/languages');
    44     load_plugin_textdomain( 'spost', false, NEXUS_FRAMEWK_URL . '/languages/');
     44    load_plugin_textdomain( 'spost', false, SPOST_PLUGIN_URL . '/languages/');
    4545}add_action( 'init', 'spost_theme_setup' );
    4646
Note: See TracChangeset for help on using the changeset viewer.