Plugin Directory

Changeset 954658


Ignore:
Timestamp:
07/25/2014 08:49:41 AM (12 years ago)
Author:
pondol
Message:

Version: 1.1.8.1

Location:
pondol-bbs/trunk
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • pondol-bbs/trunk/includes/class.pondol.bbs.admin.php

    r953184 r954658  
    8989        $str .= '</br>';
    9090        $str .= 'list count : </br><input style="width:30px" id="'.$this->ctrl->super->get_field_id('listCnt').'" name="'.$this->ctrl->super->get_field_name('listCnt').'" value="'.$instance['listCnt'].'"/></br>';
     91        $str .= 'string length : </br><input style="width:30px" id="'.$this->ctrl->super->get_field_id('stringLengh').'" name="'.$this->ctrl->super->get_field_name('stringLengh').'" value="'.$instance['stringLengh'].'"/></br>';
    9192        $str .='skin : </br>';
    9293        $str .='<select name="'.$this->ctrl->super->get_field_name('templates_widget').'">';
  • pondol-bbs/trunk/includes/class.pondol.bbs.templates.php

    r953184 r954658  
    337337                                   
    338338                                );
    339         //print_r($rows);
     339        //$instance  Array ( [title] => bbs summalize [listCnt] => 2 [category] => Array ( [0] => 67 [1] => 70 ) [templates_widget] => default )
    340340        @include_once PONDOL_BBS_PATH.'templates_widget/'.$instance["templates_widget"].'/widget_module.php';
    341341    }
  • pondol-bbs/trunk/pondolbbs.php

    r953184 r954658  
    55Description: General BBS Program
    66Author: Pondol
    7 Version: 1.1.8
     7Version: 1.1.8.1
    88Author URI: http://www.shop-wiz.com/wp/plugins/pondol_bbs
    99License: GPL2
     
    2222define('PONDOL_URL', 'http://www.shop-wiz.com/wp');
    2323define('PONDOL_EMAIL', '[email protected]');
    24 define('PONDOL_BBS_VERSION', '1.1.8');
     24define('PONDOL_BBS_VERSION', '1.1.8.1');
    2525define('PONDOL_BBS', 'bbs');
    2626define('PONDOL_BBS_TAXO', 'board');
     
    8787   
    8888    public function init() {
    89         //$this->ctrl = new PondolWidget_Visitor_Controller($this);
    9089        $this->ctrl = new Pondol_BBS_Controller($this);
    9190        if ( is_admin() )
     
    106105        $instance['title']              = ( ! empty( $new_instance['title'] ) ) ? strip_tags( $new_instance['title'] ) : '';
    107106        $instance['listCnt']            = ( ! empty( $new_instance['listCnt'] ) ) ? strip_tags( $new_instance['listCnt'] ) : '';
     107        $instance['stringLengh']        = ( ! empty( $new_instance['stringLengh'] ) ) ? strip_tags( $new_instance['stringLengh'] ) : '';
    108108        $instance["category"]           = $new_instance['category'];
    109109        $instance['templates_widget']   = $new_instance['templates_widget'];
  • pondol-bbs/trunk/readme.txt

    r953184 r954658  
    1212== Description ==
    1313
    14 This is general bbs(board) plugin.
     14This is general bbs(board) plugin. 
    1515Skin selection function(you can make skin and add to Pondol BBS).
    1616Support Variable Types skin(General Board, Notice, Gallery)
    1717Adjusting accessing auth  by user level.
    18 Attaching files and download it.
     18Attaching files and download it.(All type of files could be attached as you set files extension on back-end)
    1919Searching enable.
    2020Adjusting table width and alignment.
     
    35352. Activate the plugin through the 'Plugins' menu in WordPress
    36363. GoTo Pondol BBS > BBS Category and create Category.
    37 4. As use this bbs as image gallery, add Image using "Featured Images" on admin
     374. Using this bbs as image gallery, add Image using "Featured Images" on back-end
    3838
    3939== Screenshots ==
     
    4747
    4848== Changelog ==
     49= 1.1.8.1 =
     50adjusting templates widget
    4951= 1.1.8 =
    5052add string cutting function
  • pondol-bbs/trunk/templates_widget/default/widget_module.php

    r945283 r954658  
    77 */
    88        if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    9 
     9wp_enqueue_style( 'pondol-bbs-widget-default-style', plugins_url('./assets/css/pondol-bbs-widget-default.css', __FILE__ ));
    1010?>
    1111<div class="pondol-bbs-widget-list">
    1212    <table>
    13 
    1413        <col width="*">
    15         <col width="100px">
     14        <col width="70px">
     15        <caption><?php echo $instance["title"];?></caption>
    1616        <thead>
    1717            <tr>
     
    2525            ?>
    2626            <tr>
    27                 <td><a href="<?php echo $val->guid?>"><?php echo $val->post_title;?></a></td>
    28                 <td><?php echo date("Y.m.d", strtotime($val->post_date));?></td>
     27                <td class="pondol-bbs-widget-default-title"><div><a href="<?php echo $val->guid?>"><?php echo wp_trim_words($val->post_title, $instance["stringLengh"], "..");?></a></div></td>
     28                <td class="pondol-bbs-widget-default-date"><?php echo date("m.d", strtotime($val->post_date));?></td>
    2929            </tr>
    3030            <?php
Note: See TracChangeset for help on using the changeset viewer.