Changeset 1403538
- Timestamp:
- 04/25/2016 06:42:29 AM (10 years ago)
- Location:
- kush-micro-news/trunk
- Files:
-
- 4 edited
-
includes/admin.php (modified) (32 diffs)
-
includes/core.php (modified) (7 diffs)
-
index.php (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kush-micro-news/trunk/includes/admin.php
r1403334 r1403538 9 9 if(get_option('kush_mn_editor_access','false') == 'true'){ 10 10 //editor 11 add_menu_page('Micro News Board', 'Micro News','publish_pages' , 'micro-news', 'micro_news_html_page','','6.1995');12 add_submenu_page('micro-news','Micro News Add New', 'Add New', 'publish_pages','micro-news-new', 'micro_news_html_page_add_new');13 add_submenu_page('micro-news','Micro News Settings', 'Settings', 'publish_pages','micro-news-config', 'micro_news_config_page');11 add_menu_page('Micro News Board', __('Micro News', 'kush-micro-news'), 'publish_pages' , 'micro-news', 'micro_news_html_page','','6.1995'); 12 add_submenu_page('micro-news','Micro News Add New', __('Add New', 'kush-micro-news'), 'publish_pages','micro-news-new', 'micro_news_html_page_add_new'); 13 add_submenu_page('micro-news','Micro News Settings', __('Settings', 'kush-micro-news'), 'publish_pages','micro-news-config', 'micro_news_config_page'); 14 14 } 15 15 else 16 16 {//administrator 17 add_menu_page('Micro News Board', 'Micro News','install_plugins' , 'micro-news', 'micro_news_html_page','','6.1995');18 add_submenu_page('micro-news','Micro News Add New', 'Add New', 'install_plugins','micro-news-new', 'micro_news_html_page_add_new');19 add_submenu_page('micro-news','Micro News Settings', 'Settings', 'install_plugins','micro-news-config', 'micro_news_config_page');17 add_menu_page('Micro News Board', __('Micro News', 'kush-micro-news'), 'install_plugins' , 'micro-news', 'micro_news_html_page','','6.1995'); 18 add_submenu_page('micro-news','Micro News Add New', __('Add New', 'kush-micro-news'), 'install_plugins','micro-news-new', 'micro_news_html_page_add_new'); 19 add_submenu_page('micro-news','Micro News Settings', __('Settings', 'kush-micro-news'), 'install_plugins','micro-news-config', 'micro_news_config_page'); 20 20 } 21 21 } … … 37 37 update_option( "kush_mn_num_news",$num); 38 38 39 $what= __('Changes saved!', 'kush-m n-plugin');39 $what= __('Changes saved!', 'kush-micro-news'); 40 40 } 41 41 else 42 42 { 43 43 update_option( "kush_mn_num_news",'5'); 44 echo '<h4>'.__('Number of post cannot left blank, reverted to default.', 'kush-m n-plugin').'</h4>';44 echo '<h4>'.__('Number of post cannot left blank, reverted to default.', 'kush-micro-news').'</h4>'; 45 45 } 46 46 } … … 50 50 update_option( "kush_mn_load_nav",'true'); 51 51 52 $what=__('Changes saved!', 'kush-m n-plugin');52 $what=__('Changes saved!', 'kush-micro-news'); 53 53 } 54 54 else … … 60 60 update_option( "kush_mn_load_newtab",'true'); 61 61 62 $what=__('Changes saved!', 'kush-m n-plugin');62 $what=__('Changes saved!', 'kush-micro-news'); 63 63 } 64 64 else … … 70 70 update_option( "kush_mn_load_nav_swap",'true'); 71 71 72 $what=__('Changes saved!', 'kush-m n-plugin');72 $what=__('Changes saved!', 'kush-micro-news'); 73 73 } 74 74 else … … 81 81 if($_POST['myRename']!='') 82 82 { update_option("kush_mn_widget_name", htmlspecialchars($_POST['myRename'])); 83 $what=__('Changes saved!', 'kush-m n-plugin');83 $what=__('Changes saved!', 'kush-micro-news'); 84 84 } 85 85 else … … 97 97 if($_POST['fullStoryText']!='') 98 98 {update_option("kush_mn_read_story_text", htmlspecialchars($_POST['fullStoryText'])); 99 $what=__('Changes saved!', 'kush-m n-plugin');99 $what=__('Changes saved!', 'kush-micro-news'); 100 100 } 101 101 else … … 110 110 update_option( "kush_mn_show_lborder",'true'); 111 111 112 $what=__('Changes saved!', 'kush-m n-plugin');112 $what=__('Changes saved!', 'kush-micro-news'); 113 113 } 114 114 else … … 119 119 update_option( "kush_mn_show_linkclean",'true'); 120 120 121 $what=__('Changes saved!', 'kush-m n-plugin');121 $what=__('Changes saved!', 'kush-micro-news'); 122 122 } 123 123 else … … 128 128 update_option( "kush_mn_parse_html",'true'); 129 129 130 $what=__('Changes saved!', 'kush-m n-plugin');130 $what=__('Changes saved!', 'kush-micro-news'); 131 131 } 132 132 else … … 137 137 { 138 138 update_option( "kush_mn_color_text",$_POST['textColor']); 139 $what=__('Changes saved!', 'kush-m n-plugin');139 $what=__('Changes saved!', 'kush-micro-news'); 140 140 } 141 141 … … 143 143 { 144 144 update_option( "kush_mn_color_title",$_POST['titleColor']); 145 $what=__('Changes saved!', 'kush-m n-plugin');145 $what=__('Changes saved!', 'kush-micro-news'); 146 146 } 147 147 … … 149 149 { 150 150 update_option( "kush_mn_color_link",$_POST['linkColorField']); 151 $what=__('Changes saved!', 'kush-m n-plugin');151 $what=__('Changes saved!', 'kush-micro-news'); 152 152 } 153 153 … … 155 155 { 156 156 update_option( "kush_mn_head_textColor",$_POST['headTextColor']); 157 $what=__('Changes saved!', 'kush-m n-plugin');157 $what=__('Changes saved!', 'kush-micro-news'); 158 158 } 159 159 … … 161 161 { 162 162 update_option( "kush_mn_head_highlightColor",$_POST['headHighlightColor']); 163 $what=__('Changes saved!', 'kush-m n-plugin');163 $what=__('Changes saved!', 'kush-micro-news'); 164 164 } 165 165 … … 167 167 { 168 168 update_option( "kush_mn_head_back",$_POST['headBack']); 169 $what=__('Changes saved!', 'kush-m n-plugin');169 $what=__('Changes saved!', 'kush-micro-news'); 170 170 } 171 171 … … 175 175 update_option( "kush_mn_editor_access",'true'); 176 176 177 $what=__('Changes saved!', 'kush-m n-plugin');177 $what=__('Changes saved!', 'kush-micro-news'); 178 178 } 179 179 else … … 184 184 <div class="wrap"> 185 185 <div class="icon32" id="icon-options-general"> <br /> </div> 186 <h2><?php _e('Micro News Settings', 'kush-m n-plugin');?></h2>186 <h2><?php _e('Micro News Settings', 'kush-micro-news');?></h2> 187 187 <?php echo ($what!='')?'<div class="updated"><p><strong>'.$what.'</strong></p></div>':''; ?> 188 188 <br/> 189 189 <form action="" method="post" id="mirco-news-config"> 190 <h3><?php _e('Functional', 'kush-m n-plugin');?></h3>191 <div class="options"> 192 <label for="numPost"><?php _e('Number of news to display', 'kush-m n-plugin');?>:</label>190 <h3><?php _e('Functional', 'kush-micro-news');?></h3> 191 <div class="options"> 192 <label for="numPost"><?php _e('Number of news to display', 'kush-micro-news');?>:</label> 193 193 <input type="text" name="numPost" value="<?php echo get_option( "kush_mn_num_news");?>"/> 194 194 <h5 style="display:inline-block;margin:0;">(via kush_micro_news_output() function)</h5> 195 195 </div> 196 196 <div class="options"> 197 <label for="chkLoadNav"><?php _e('Load More navigation', 'kush-m n-plugin');?>:</label>197 <label for="chkLoadNav"><?php _e('Load More navigation', 'kush-micro-news');?>:</label> 198 198 <input type="checkbox" name="chkLoadNav" <?php $lnav=get_option('kush_mn_load_nav');if($lnav=='true'){echo 'checked';}?>/> 199 199 </div> 200 200 <div class="options"> 201 <label for="chkLoadNewTab"><?php _e('Open link in new tab', 'kush-m n-plugin');?>:</label>201 <label for="chkLoadNewTab"><?php _e('Open link in new tab', 'kush-micro-news');?>:</label> 202 202 <input type="checkbox" name="chkLoadNewTab" <?php if( get_option('kush_mn_load_newtab', 'true') == 'true'){echo 'checked';}?>/> 203 203 </div> 204 204 <div class="options"> 205 <label for="chkLoadNavSwap"><?php _e('Swap news when navigating', 'kush-m n-plugin');?>:</label>205 <label for="chkLoadNavSwap"><?php _e('Swap news when navigating', 'kush-micro-news');?>:</label> 206 206 <input type="checkbox" name="chkLoadNavSwap" <?php $lnavSwap=get_option('kush_mn_load_nav_swap');if($lnavSwap=='true'){echo 'checked';}?>/> 207 <h5 style="display:inline-block;margin:0;"><?php _e('Disabling this will append news when Load More is clicked.', 'kush-m n-plugin');?></h5>208 </div> 209 210 <h3><?php _e('Header', 'kush-m n-plugin');?></h3>211 <div class="options"> 212 <label for="myRename"><?php _e('Title over news', 'kush-m n-plugin');?>:</label>207 <h5 style="display:inline-block;margin:0;"><?php _e('Disabling this will append news when Load More is clicked.', 'kush-micro-news');?></h5> 208 </div> 209 210 <h3><?php _e('Header', 'kush-micro-news');?></h3> 211 <div class="options"> 212 <label for="myRename"><?php _e('Title over news', 'kush-micro-news');?>:</label> 213 213 <input type="text" name="myRename" value="<?php echo get_option("kush_mn_widget_name", "Micro News");?>"/> 214 214 <h5 style="display:inline-block;margin:0;">(Default: Micro News)</h5> 215 215 </div> 216 216 <div class="options"> 217 <label for="headTextColor"><?php _e('Head Text Color', 'kush-m n-plugin');?>:</label>217 <label for="headTextColor"><?php _e('Head Text Color', 'kush-micro-news');?>:</label> 218 218 <input type="text" name="headTextColor" value="<?php echo get_option('kush_mn_head_textColor','#FFFFFF');?>" /> 219 219 <select name="titleColorList" onclick="check_custom_color(this,'title')"> … … 232 232 </div> 233 233 <div class="options"> 234 <label for="headHighlightColor"><?php _e('Head Highlight Color', 'kush-m n-plugin');?>:</label>234 <label for="headHighlightColor"><?php _e('Head Highlight Color', 'kush-micro-news');?>:</label> 235 235 <input type="text" name="headHighlightColor" value="<?php echo get_option('kush_mn_head_highlightColor','#808080');?>" /> 236 236 <select name="titleColorList" onclick="check_custom_color(this,'title')"> … … 248 248 </div> 249 249 <div class="options"> 250 <label for="headBack"><?php _e('Head Background Color', 'kush-m n-plugin');?>:</label>250 <label for="headBack"><?php _e('Head Background Color', 'kush-micro-news');?>:</label> 251 251 <input type="text" name="headBack" value="<?php echo get_option('kush_mn_head_back','default');?>" /> 252 252 <select name="titleColorList" onclick="check_custom_color(this,'title')"> … … 263 263 </div> 264 264 265 <h3><?php _e('Display', 'kush-m n-plugin');?></h3>266 <div class="options"> 267 <label for="myRename"><?php _e('Full Story Text', 'kush-m n-plugin');?>:</label>265 <h3><?php _e('Display', 'kush-micro-news');?></h3> 266 <div class="options"> 267 <label for="myRename"><?php _e('Full Story Text', 'kush-micro-news');?>:</label> 268 268 <input type="text" name="fullStoryText" value="<?php echo get_option("kush_mn_read_story_text");?>"/> 269 269 <h5 style="display:inline-block;margin:0;">(Default: Read Full story »)</h5> 270 270 </div> 271 271 <div class="options"> 272 <label for="titleColor"><?php _e('Title Color', 'kush-m n-plugin');?>:</label>272 <label for="titleColor"><?php _e('Title Color', 'kush-micro-news');?>:</label> 273 273 <input type="text" name="titleColor" value="<?php echo get_option('kush_mn_color_title','#0066CC');?>" /> 274 274 <select name="titleColorList" onclick="check_custom_color(this,'title')"> … … 286 286 </div> 287 287 <div class="options"> 288 <label for="textColor"><?php _e('Text Color', 'kush-m n-plugin');?>:</label>288 <label for="textColor"><?php _e('Text Color', 'kush-micro-news');?>:</label> 289 289 <input type="text" name="textColor" value="<?php echo get_option('kush_mn_color_text', '#666666');?>" /> 290 290 <select name="textColorList" onclick="check_custom_color(this,'text')"> … … 301 301 </div> 302 302 <div class="options"> 303 <label for="linkColorField"><?php _e('Link Color', 'kush-m n-plugin');?>:</label>303 <label for="linkColorField"><?php _e('Link Color', 'kush-micro-news');?>:</label> 304 304 <input type="text" name="linkColorField" value="<?php echo get_option('kush_mn_color_link', '#000000');?>" /> 305 305 <select name="linkColorList" onclick="check_custom_color(this,'link')"> … … 316 316 </div> 317 317 <div class="options"> 318 <label for="chkBorder"><?php _e('Enable colorful borders', 'kush-m n-plugin');?>:</label>318 <label for="chkBorder"><?php _e('Enable colorful borders', 'kush-micro-news');?>:</label> 319 319 <input type="checkbox" name="chkBorder" <?php $sBor=get_option('kush_mn_show_lborder');if($sBor=='true'){echo 'checked';}?>/> 320 320 </div> 321 321 <div class="options"> 322 <label for="chkHover"><?php _e('Enable link hover effect', 'kush-m n-plugin');?>:</label>322 <label for="chkHover"><?php _e('Enable link hover effect', 'kush-micro-news');?>:</label> 323 323 <input type="checkbox" name="chkHover" <?php $lHov=get_option('kush_mn_show_linkclean');if($lHov=='true'){echo 'checked';}?>/> 324 324 </div> 325 325 326 <h3><?php _e('Input', 'kush-m n-plugin');?></h3>327 <div class="options"> 328 <label for="chkHtmlParse"><?php _e('HTML parsing while adding news', 'kush-m n-plugin');?>:</label>326 <h3><?php _e('Input', 'kush-micro-news');?></h3> 327 <div class="options"> 328 <label for="chkHtmlParse"><?php _e('HTML parsing while adding news', 'kush-micro-news');?>:</label> 329 329 <input type="checkbox" name="chkHtmlParse" <?php $lHov=get_option('kush_mn_parse_html');if($lHov=='true'){echo 'checked';}?>/> 330 <h5 style="display:inline-block;margin:0;">(<?php _e('Try not to use improper markup if HTML parsing is enabled otherwise it could break up your whole site.', 'kush-m n-plugin');?>)</h5>331 </div> 332 333 <h3><?php _e('Access', 'kush-m n-plugin');?></h3>334 <div class="options"> 335 <label for="editorAccess"><?php _e('Enable access to Editors', 'kush-mn-plugin');?>:</label>330 <h5 style="display:inline-block;margin:0;">(<?php _e('Try not to use improper markup if HTML parsing is enabled otherwise it could break up your whole site.', 'kush-micro-news');?>)</h5> 331 </div> 332 333 <h3><?php _e('Access', 'kush-micro-news');?></h3> 334 <div class="options"> 335 <label for="editorAccess"><?php _e('Enable access to editors', 'kush-micro-news');?>:</label> 336 336 <input type="checkbox" name="editorAccess" <?php $lHov=get_option('kush_mn_editor_access');if($lHov=='true'){echo 'checked';}?>/> 337 <h5 style="display:inline-block;margin:0;">(<?php _e('Users with access level of editor.', 'kush-m n-plugin');?>)</h5>337 <h5 style="display:inline-block;margin:0;">(<?php _e('Users with access level of editor.', 'kush-micro-news');?>)</h5> 338 338 </div> 339 339 … … 342 342 <input type="submit" value="Save Changes" class="button-primary"/> 343 343 <br><hr> 344 <?php _e('Download Backup of your Micro News data', 'kush-m n-plugin');?>: <a href="?backup=true" target="_blank" class="button-primary"><?php _e('Download', 'kush-mn-plugin');?></a>344 <?php _e('Download Backup of your Micro News data', 'kush-micro-news');?>: <a href="?backup=true" target="_blank" class="button-primary"><?php _e('Download', 'kush-micro-news');?></a> 345 345 346 346 347 347 <br><hr> 348 <?php _e('Update table storage', 'kush-m n-plugin');?>: <a href="?updatedb=true" target="_blank" class="button-primary"><?php _e('Update', 'kush-mn-plugin');?></a>349 <h5 style="display:inline-block;margin:0;"><?php _e('Create a backup first.', 'kush-m n-plugin');?></h5>348 <?php _e('Update table storage', 'kush-micro-news');?>: <a href="?updatedb=true" target="_blank" class="button-primary"><?php _e('Update', 'kush-micro-news');?></a> 349 <h5 style="display:inline-block;margin:0;"><?php _e('Create a backup first.', 'kush-micro-news');?></h5> 350 350 </form> 351 351 <br><br> … … 384 384 if($rows_affected > 0) 385 385 { 386 $text .= __('Updated Successfully!', 'kush-m n-plugin');386 $text .= __('Updated Successfully!', 'kush-micro-news'); 387 387 update_option('kush_mn_db_version','1.1'); 388 388 } … … 402 402 if($ver == "1.0") 403 403 { 404 echo "<div class='update-nag'>".__('URGENT: DATABASE UPDATE REQUIRED! Use button at the end of Settings page.', 'kush-m n-plugin')."</div>";404 echo "<div class='update-nag'>".__('URGENT: DATABASE UPDATE REQUIRED! Use button at the end of Settings page.', 'kush-micro-news')."</div>"; 405 405 } 406 406 } … … 457 457 458 458 if($rows_affected==true) 459 {?><div class="updated"><p><strong><?php _e('New Post Added.','kush-m n-plugin'); ?></strong></p></div>'<?php }459 {?><div class="updated"><p><strong><?php _e('New Post Added.','kush-micro-news'); ?></strong></p></div>'<?php } 460 460 } 461 461 else 462 {$what=__('Don\'t you think atleast title is necessary.','kush-m n-plugin');}462 {$what=__('Don\'t you think atleast title is necessary.','kush-micro-news');} 463 463 } 464 464 … … 466 466 <div class="wrap"> 467 467 <div class="icon32" id="icon-tools"> <br /> </div> 468 <h2><?php _e('Micro News Add New Post','kush-m n-plugin');?></h2>468 <h2><?php _e('Micro News Add New Post','kush-micro-news');?></h2> 469 469 470 470 <?php if($what!=''){echo '<h3>'.$what.'</h3>';}?> … … 473 473 <div> 474 474 <div class="row"> 475 <label for="k_mn_title"><?php _e('Title','kush-m n-plugin');?>:</label>475 <label for="k_mn_title"><?php _e('Title','kush-micro-news');?>:</label> 476 476 <input type="text" name="k_mn_title" placeholder="Title of News"/> 477 477 </div> 478 478 <div class="row"> 479 <label for="k_mn_content"><?php _e('Content','kush-m n-plugin');?>:</label>479 <label for="k_mn_content"><?php _e('Content','kush-micro-news');?>:</label> 480 480 <textarea name="k_mn_content" placeholder="Excerpt">.</textarea> 481 481 </div> 482 482 <div class="row"> 483 <label for="k_mn_link"><?php _e('Link','kush-m n-plugin');?>:</label>483 <label for="k_mn_link"><?php _e('Link','kush-micro-news');?>:</label> 484 484 <input type="text" name="k_mn_link" placeholder="Link Reference"/> 485 485 </div> 486 486 <?php if($dbver != '0' && $dbver != '1.0' && $dbver != '') :?> 487 487 <div class="row"> 488 <label for="k_mn_cat"><?php _e('Category Key','kush-m n-plugin');?>:</label>488 <label for="k_mn_cat"><?php _e('Category Key','kush-micro-news');?>:</label> 489 489 <!-- <input type="text" name="k_mn_cat" placeholder="Category Key:" value="default"/> --> 490 490 <select name="k_mn_cat"> … … 500 500 501 501 <div class="row"> 502 <input type="submit" value="<?php _e('Add New' );?>" class="button-primary"/>502 <input type="submit" value="<?php _e('Add New','kush-micro-news');?>" class="button-primary"/> 503 503 </div> 504 504 </div> … … 506 506 507 507 <div id="kush-micro-news-buyaredbull"> 508 If you found this plugin useful and want to support its development then please consider <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4BFA297YJX5QN" target="_blank">buying</a> it or you can make my <a href="http://www.amazon.in/gp/registry/wishlist/CDMUYYAWCCDF/ref=cm_wl_huc_view" target="_blank">amazon wish </a> come true.508 If you found this plugin useful and want to support its development then please consider <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4BFA297YJX5QN" target="_blank">buying</a> it or you can make my <a href="http://www.amazon.in/gp/registry/wishlist/CDMUYYAWCCDF/ref=cm_wl_huc_view" target="_blank">amazon wishes</a> come true. 509 509 Decide price yourself by how useful it is for you and don't forget to <a href="http://wordpress.org/support/view/plugin-reviews/kush-micro-news" target="_blank">rate</a>. Thanks. 510 510 </div> -
kush-micro-news/trunk/includes/core.php
r1403333 r1403538 122 122 //show text 123 123 $output_html .='<div class="text" style="color:'.$textColor.'">'.$row->text.' '; 124 $output_html .='<span class="postedOn">'.__('on', 'kush-m n-plugin').' '.$formateddate.'</span>';124 $output_html .='<span class="postedOn">'.__('on', 'kush-micro-news').' '.$formateddate.'</span>'; 125 125 $output_html .='</div>'; 126 126 … … 214 214 215 215 if($chk) 216 $what= __('Updated successfully.', 'kush-m n-plugin');216 $what= __('Updated successfully.', 'kush-micro-news'); 217 217 else 218 $what=__('Serious error occured.', 'kush-m n-plugin');218 $what=__('Serious error occured.', 'kush-micro-news'); 219 219 220 220 } … … 226 226 227 227 if($chk) 228 $what= __('Deleted successfully.', 'kush-m n-plugin');228 $what= __('Deleted successfully.', 'kush-micro-news'); 229 229 else 230 $what=__('Serious error occured.', 'kush-m n-plugin');230 $what=__('Serious error occured.', 'kush-micro-news'); 231 231 } 232 232 … … 249 249 <h3></h3> 250 250 <div class="icon32" id="icon-edit"> <br /> </div> 251 <h2><?php _e('Micro News Posts', 'kush-m n-plugin');?></h2>251 <h2><?php _e('Micro News Posts', 'kush-micro-news');?></h2> 252 252 253 253 <?php if($what!=''){echo '<div class="updated"><p>'.$what.'</p></div>';}?> … … 268 268 </div> 269 269 <div class="container-admin-meta-link"> 270 <span> <strong><?php _e('on', 'kush-m n-plugin');?></strong> <?php $date=strtotime($row->time); echo date('d M Y',$date);?></span>270 <span> <strong><?php _e('on', 'kush-micro-news');?></strong> <?php $date=strtotime($row->time); echo date('d M Y',$date);?></span> 271 271 | 272 272 <?php if(empty($row->category) == false){ 273 echo '<strong>'.__('Category key', 'kush-mn-plugin').': </strong><span id="mn-cat-'.$row->id.'">'.$row->category.'</span> | ';273 echo '<strong>'.__('Category Key', 'kush-micro-news').': </strong><span id="mn-cat-'.$row->id.'">'.$row->category.'</span> | '; 274 274 }?> 275 <strong><?php _e('Reference Link', 'kush-m n-plugin'); ?>: </strong><span id="mn-link-<?php echo $row->id;?>"><?php echo $row->url;?></a></span>275 <strong><?php _e('Reference Link', 'kush-micro-news'); ?>: </strong><span id="mn-link-<?php echo $row->id;?>"><?php echo $row->url;?></a></span> 276 276 </div> 277 277 <input type="button" value="Edit" class="button-primary editB" data-id="mn-edit-<?php echo $row->id;?>"/> … … 289 289 if($totalpage>=1 && $page<$totalpage) 290 290 {?> 291 <ul class="micro-news-post-nav"><li style="border:0;"><?php _e('Page', 'kush-m n-plugin');?> : </li>291 <ul class="micro-news-post-nav"><li style="border:0;"><?php _e('Page', 'kush-micro-news');?> : </li> 292 292 <?php 293 293 for($z=1;$z<=$totalpage;$z++) … … 296 296 } 297 297 if($page!=1) 298 {echo '<li><a href="?page=micro-news&pgno=1">'.__('Home', 'kush-m n-plugin').'</a></li>';}298 {echo '<li><a href="?page=micro-news&pgno=1">'.__('Home', 'kush-micro-news').'</a></li>';} 299 299 }// if closed 300 300 ?> -
kush-micro-news/trunk/index.php
r1403333 r1403538 3 3 Plugin Name: Kush Micro News 4 4 Description: Spread the news in shortest possible way. Use links to refer data and title to concise it. 5 Version: 1.6. 55 Version: 1.6.6 6 6 Author: Kush Sharma 7 7 Author Email: thekushsharma@gmail.com 8 8 Author URI: http://softnuke.com/ 9 9 Plugin URI: https://github.com/kushsharma/micro-news 10 Text Domain: kush-m n-plugin10 Text Domain: kush-micro-news 11 11 Domain Path: /lang/ 12 12 Last Officially Updated: 24 Apr 2016 … … 29 29 30 30 function load_newsplugin_textdomain() { 31 load_plugin_textdomain( 'kush-m n-plugin', FALSE, basename( dirname( __FILE__ ) ) . '/lang/' );31 load_plugin_textdomain( 'kush-micro-news', FALSE, basename( dirname( __FILE__ ) ) . '/lang/' ); 32 32 } 33 33 add_action( 'plugins_loaded', 'load_newsplugin_textdomain' ); … … 86 86 function KushMNWidget() { 87 87 // Instantiate the parent object 88 parent::__construct( 'kush-micro-news', 'Kush Micro News','description='.__('Micro news data will output where this widget resides.', 'kush-m n-plugin') );88 parent::__construct( 'kush-micro-news', 'Kush Micro News','description='.__('Micro news data will output where this widget resides.', 'kush-micro-news') ); 89 89 } 90 90 … … 129 129 <input type="text" size="5" id="<?php echo $this->get_field_id('no_news'); ?>" name="<?php echo $this->get_field_name('no_news'); ?>" value="<?php echo $instance['no_news']; ?>" /> 130 130 <label for="no_news"> 131 <?php _e('Number of news', 'kush-m n-plugin'); ?>131 <?php _e('Number of news', 'kush-micro-news'); ?> 132 132 </label> 133 133 <h6>~Default: 5</h6> … … 144 144 </select> 145 145 <label for="news_cat"> 146 <?php _e('Category', 'kush-m n-plugin'); ?>146 <?php _e('Category', 'kush-micro-news'); ?> 147 147 </label> 148 148 <h6>~Default: "Default"</h6> … … 152 152 <input type="checkbox" id="<?php echo $this->get_field_id('news_header'); ?>" name="<?php echo $this->get_field_name('news_header');?>" <?php echo ($instance['news_header'] == 'true')? 'checked':''; ?> /> 153 153 <label for="news_header"> 154 <?php _e('Header', 'kush-m n-plugin'); ?>154 <?php _e('Header', 'kush-micro-news'); ?> 155 155 </label> 156 156 </div> -
kush-micro-news/trunk/readme.txt
r1403333 r1403538 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.5 7 Stable tag: 1.6. 57 Stable tag: 1.6.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 90 90 == Changelog == 91 91 92 = 1.6.6 = 93 * Bug Fix: Language slug 94 92 95 = 1.6.5 = 93 96 * Plugin Internationalized.
Note: See TracChangeset
for help on using the changeset viewer.