Changeset 1758900
- Timestamp:
- 11/05/2017 07:41:58 AM (8 years ago)
- Location:
- sidebar-post/trunk
- Files:
-
- 5 edited
-
nexusframework/css/spost-admin.css (modified) (2 diffs)
-
nexusframework/nexus.php (modified) (1 diff)
-
post_post.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
sidebar_post.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sidebar-post/trunk/nexusframework/css/spost-admin.css
r1758708 r1758900 9 9 #theHeader{ border-radius:7px 7px 0px 0px; background:#003853; color:#FFF; min-height:60px; min-width: 85%; margin-top: 25px; padding: 15px; 10 10 } 11 #theHeader h1{ width: 70%; float:left; line-height: 26px;}11 #theHeader h1{ width: 70%; display: inline-block;line-height: 26px; color: #fff;} 12 12 .spostRow{ background:#EFEFEF; border: #909090 solid 1px; margin-bottom: 10px; min-height: 45px; min-width:65%; padding:5px;} 13 13 #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;} 16 16 .inputContent .yes{ background:url(../images/yes.png) no-repeat; 17 17 height:44px; min-width: 90px; padding-top: 10px; padding-left: 48px; font-size: 18px 18 } 19 #spostContainer select{ 20 width: 100%; 18 21 } 19 22 #toplevel_page_spost .wp-menu-image img { … … 28 31 .success{ background:#060; color: #fff; padding:5px;} 29 32 .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} 31 34 .premium{ border: 1px #f00 solid; background:url(../images/premium.png) no-repeat;} 32 35 .warningRed{ color:#F00; font-size:24px; line-height: 28px;} -
sidebar-post/trunk/nexusframework/nexus.php
r1758708 r1758900 1 1 <?php 2 // Exit if accessed directly 3 if ( !defined( 'ABSPATH' ) ) exit; 2 4 3 5 wp_enqueue_style( 'spost-admin-general-style', NEXUS_FRAMEWK_URL . '/css/general.css', false, SPOST_VERSION ); -
sidebar-post/trunk/post_post.php
r916534 r1758900 12 12 * @var bool 13 13 */ 14 // Exit if accessed directly 15 if ( !defined( 'ABSPATH' ) ) exit; 16 14 17 define('WP_USE_THEMES', false); 15 18 … … 28 31 $title = $_POST['title']; 29 32 $content = $_POST['content']; 30 33 31 34 // Create post object 32 35 $my_post = array(); … … 37 40 $my_post['post_type'] = 'post'; 38 41 $my_post['post_category'] = array($cat_); 39 42 40 43 // Insert the post into the database 41 44 $successful_post = wp_insert_post($my_post); 42 45 43 46 // add a custom field 44 47 //add_post_meta($successful_post, "character_id", $character_id ); -
sidebar-post/trunk/readme.txt
r1758708 r1758900 1 1 === Plugin Name === 2 Contributors: ishimwe,codiiv 2 Contributors: ishimwe,codiiv.com 3 3 Donate link: http://www.codiiv.com/donate 4 4 Tags: post,sidebar, sidebar post, wordpress, posting, wordpress MU, MU … … 93 93 * Added HTML5 submit support 94 94 95 =3.0.7= 96 97 * Fixed translation paths issue 98 * Updated CSS for backend 99 95 100 == Upgrade Notice == 96 101 -
sidebar-post/trunk/sidebar_post.php
r1758708 r1758900 4 4 Plugin URI: http://www.codiiv.com 5 5 Description: This plugin places a posting form in the sidebar 6 Version: 3.0. 66 Version: 3.0.7 7 7 Author: Janvier M @ CODIIV 8 8 Author URI: http://www.codiiv.com … … 18 18 global $shortname; 19 19 $shortname = "spost_"; 20 define('SPOST_VERSION','3.0. 6');21 define('SPOST_DATABASE_VERSION','3.0. 6');22 define('SPOST_BUILD','0 4112017');20 define('SPOST_VERSION','3.0.7'); 21 define('SPOST_DATABASE_VERSION','3.0.7'); 22 define('SPOST_BUILD','05112017'); 23 23 define('SOFTWARE_NAME',__('Sidebar Post','spost')); 24 24 define( 'SPOST_PLUGIN_DIR', WP_PLUGIN_DIR . '/sidebar-post' ); … … 42 42 function spost_theme_setup(){ 43 43 //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/'); 45 45 }add_action( 'init', 'spost_theme_setup' ); 46 46
Note: See TracChangeset
for help on using the changeset viewer.