Changeset 954658
- Timestamp:
- 07/25/2014 08:49:41 AM (12 years ago)
- Location:
- pondol-bbs/trunk
- Files:
-
- 3 added
- 5 edited
-
includes/class.pondol.bbs.admin.php (modified) (1 diff)
-
includes/class.pondol.bbs.templates.php (modified) (1 diff)
-
pondolbbs.php (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
-
templates_widget/default/assets (added)
-
templates_widget/default/assets/css (added)
-
templates_widget/default/assets/css/pondol-bbs-widget-default.css (added)
-
templates_widget/default/widget_module.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pondol-bbs/trunk/includes/class.pondol.bbs.admin.php
r953184 r954658 89 89 $str .= '</br>'; 90 90 $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>'; 91 92 $str .='skin : </br>'; 92 93 $str .='<select name="'.$this->ctrl->super->get_field_name('templates_widget').'">'; -
pondol-bbs/trunk/includes/class.pondol.bbs.templates.php
r953184 r954658 337 337 338 338 ); 339 // print_r($rows);339 //$instance Array ( [title] => bbs summalize [listCnt] => 2 [category] => Array ( [0] => 67 [1] => 70 ) [templates_widget] => default ) 340 340 @include_once PONDOL_BBS_PATH.'templates_widget/'.$instance["templates_widget"].'/widget_module.php'; 341 341 } -
pondol-bbs/trunk/pondolbbs.php
r953184 r954658 5 5 Description: General BBS Program 6 6 Author: Pondol 7 Version: 1.1.8 7 Version: 1.1.8.1 8 8 Author URI: http://www.shop-wiz.com/wp/plugins/pondol_bbs 9 9 License: GPL2 … … 22 22 define('PONDOL_URL', 'http://www.shop-wiz.com/wp'); 23 23 define('PONDOL_EMAIL', '[email protected]'); 24 define('PONDOL_BBS_VERSION', '1.1.8 ');24 define('PONDOL_BBS_VERSION', '1.1.8.1'); 25 25 define('PONDOL_BBS', 'bbs'); 26 26 define('PONDOL_BBS_TAXO', 'board'); … … 87 87 88 88 public function init() { 89 //$this->ctrl = new PondolWidget_Visitor_Controller($this);90 89 $this->ctrl = new Pondol_BBS_Controller($this); 91 90 if ( is_admin() ) … … 106 105 $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? strip_tags( $new_instance['title'] ) : ''; 107 106 $instance['listCnt'] = ( ! empty( $new_instance['listCnt'] ) ) ? strip_tags( $new_instance['listCnt'] ) : ''; 107 $instance['stringLengh'] = ( ! empty( $new_instance['stringLengh'] ) ) ? strip_tags( $new_instance['stringLengh'] ) : ''; 108 108 $instance["category"] = $new_instance['category']; 109 109 $instance['templates_widget'] = $new_instance['templates_widget']; -
pondol-bbs/trunk/readme.txt
r953184 r954658 12 12 == Description == 13 13 14 This is general bbs(board) plugin. 14 This is general bbs(board) plugin. 15 15 Skin selection function(you can make skin and add to Pondol BBS). 16 16 Support Variable Types skin(General Board, Notice, Gallery) 17 17 Adjusting accessing auth by user level. 18 Attaching files and download it. 18 Attaching files and download it.(All type of files could be attached as you set files extension on back-end) 19 19 Searching enable. 20 20 Adjusting table width and alignment. … … 35 35 2. Activate the plugin through the 'Plugins' menu in WordPress 36 36 3. GoTo Pondol BBS > BBS Category and create Category. 37 4. As use this bbs as image gallery, add Image using "Featured Images" on admin37 4. Using this bbs as image gallery, add Image using "Featured Images" on back-end 38 38 39 39 == Screenshots == … … 47 47 48 48 == Changelog == 49 = 1.1.8.1 = 50 adjusting templates widget 49 51 = 1.1.8 = 50 52 add string cutting function -
pondol-bbs/trunk/templates_widget/default/widget_module.php
r945283 r954658 7 7 */ 8 8 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 9 9 wp_enqueue_style( 'pondol-bbs-widget-default-style', plugins_url('./assets/css/pondol-bbs-widget-default.css', __FILE__ )); 10 10 ?> 11 11 <div class="pondol-bbs-widget-list"> 12 12 <table> 13 14 13 <col width="*"> 15 <col width="100px"> 14 <col width="70px"> 15 <caption><?php echo $instance["title"];?></caption> 16 16 <thead> 17 17 <tr> … … 25 25 ?> 26 26 <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> 29 29 </tr> 30 30 <?php
Note: See TracChangeset
for help on using the changeset viewer.