Changeset 506000
- Timestamp:
- 02/16/2012 03:52:42 PM (14 years ago)
- File:
-
- 1 edited
-
tf-faq/trunk/faq.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tf-faq/trunk/faq.php
r505858 r506000 299 299 300 300 add_shortcode('faq_search', 'faq_search'); 301 302 /***** end faq_search *****/303 301 304 302 function faq_ask() { … … 437 435 $new_content .= '<div id="tabs"> 438 436 <ul> 439 <li><a href="#tabs-1"> Frequently Asked Questions</a></li>440 <li><a href="#tabs-2"> Search</a></li>441 <li><a href="#tabs-3"> Ask A Question</a></li>437 <li><a href="#tabs-1">'.__('Frequently Asked Questions','tf-faq').'</a></li> 438 <li><a href="#tabs-2">'.__('Search','tf-faq').'</a></li> 439 <li><a href="#tabs-3">'.__('Ask A Question','tf-faq').'</a></li> 442 440 </ul> 443 441 … … 458 456 $new_content .= do_shortcode('[faq_ask]'); 459 457 460 $new_content .= '</div> 461 </div>'; 458 $new_content .= '</div></div>'; 462 459 463 460 return $new_content; … … 466 463 add_shortcode('tfa_tabs', 'tfa_tabs'); 467 464 468 /***** end new shortcodes *****/ 469 470 /***** end FAQ functions *****/ 471 472 /***** install and create the database tables *****/ 465 /*** end new shortcodes ***/ 466 467 /*** end FAQ functions ***/ 468 469 /*** install and create the database tables 470 ***/ 473 471 474 472 register_activation_hook( __FILE__, 'tffaq_install' );
Note: See TracChangeset
for help on using the changeset viewer.