Code: Select all
## 2007-10-01 - Version 1.6.0c
## - Fixed an error : the topic authors couldn't apply attributes from
## the viewtopic page
## - Reduced code in attributes administration
## - Added a switch to hide the attributes combo when the users don't have
## the necessary permissions
##
## 2007-09-10 - Version 1.6.0b
## - Small code fixes
## - Reduced code in attributes administration
## - Added the image and language keys as examples
## - Revized all the addons compatibility
##
## 2007-09-04 - Version 1.6.0a
## - Small fixes
Code: Select all
# This may be a partial find and not the whole line(s)
#
$topic_title = ( count($orig_word) ) ?
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : quick title edition -------------------------------------------------
//-- add
$qte->attr($topic_title, $topic_rowset[$i]['topic_attribute']);
//-- fin mod : quick title edition ---------------------------------------------
Code: Select all
// Note : all the code that was standing there stands now in functions_topics_list.php, topic_list() func
//
//---------------------------------------
if( $total_topics )
{
for($i = 0; $i < $total_topics; $i++)
{
$topic_id = $topic_rowset[$i]['topic_id'];
$topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $topic_rowset[$i]['topic_title']) : $topic_rowset[$i]['topic_title'];
Code: Select all
$topic_item_type = substr($topic_rowset[$i]['topic_id'], 0, 1);
$topic_id = intval(substr($topic_rowset[$i]['topic_id'], 1));
$topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $topic_rowset[$i]['topic_title']) : $topic_rowset[$i]['topic_title'];
Code: Select all
#-----[ OPEN ]------------------------------------------
#
includes/functions_topics_list.php
#
#-----[ FIND ]------------------------------------------
#
global $tree;
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : quick title edition -------------------------------------------------
//-- add
global $qte;
//-- fin mod : quick title edition ---------------------------------------------
#
#-----[ FIND ]------------------------------------------
#
# This may be a partial find and not the whole line(s)
#
$topic_title =
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : quick title edition -------------------------------------------------
//-- add
$qte->attr($topic_title, $topic_rowset[$i]['topic_attribute']);
//-- fin mod : quick title edition ---------------------------------------------
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------