/[LeafOK_CVS]/lbbs/utils/bin/gen_section_menu.php
ViewVC logotype

Diff of /lbbs/utils/bin/gen_section_menu.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 by sysadm, Fri May 30 03:00:26 2025 UTC Revision 1.8 by sysadm, Sun Jun 1 03:44:22 2025 UTC
# Line 139  MENU; Line 139  MENU;
139                          $title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " +  " .                          $title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " +  " .
140                                  $section['name'] . str_repeat(" ", 20 - strlen($section['name'])) .                                  $section['name'] . str_repeat(" ", 20 - strlen($section['name'])) .
141                                  $class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) .                                  $class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) .
142                                  $section['udf_values']['section_master'];                                  ($section['udf_values']['section_master'] == "" ? "诚征版主中" : $section['udf_values']['section_master']);
143    
144                          $buffer .= <<<MENU                          $buffer .= <<<MENU
145                          @LIST_SECTION   {$display_row}, 4, 1, {$section['read_user_level']},   "{$section['name']}",    "{$title_f}"                          @LIST_SECTION   {$display_row}, 4, 1, {$section['read_user_level']},   "{$section['name']}",    "{$title_f}"
# Line 177  MENU; Line 177  MENU;
177                          $title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " +  " .                          $title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " +  " .
178                                  $section['name'] . str_repeat(" ", 20 - strlen($section['name'])) .                                  $section['name'] . str_repeat(" ", 20 - strlen($section['name'])) .
179                                  $class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) .                                  $class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) .
180                                  $section['udf_values']['section_master'];                                  ($section['udf_values']['section_master'] == "" ? "诚征版主中" : $section['udf_values']['section_master']);
181    
182                          $buffer .= <<<MENU                          $buffer .= <<<MENU
183                          @LIST_SECTION   {$display_row}, 4, 1, {$section['read_user_level']},   "{$section['name']}",    "{$title_f}"                          @LIST_SECTION   {$display_row}, 4, 1, {$section['read_user_level']},   "{$section['name']}",    "{$title_f}"
# Line 217  MENU; Line 217  MENU;
217                          $title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " +  " .                          $title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " +  " .
218                                  $section['name'] . str_repeat(" ", 20 - strlen($section['name'])) .                                  $section['name'] . str_repeat(" ", 20 - strlen($section['name'])) .
219                                  $class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) .                                  $class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) .
220                                  $section['udf_values']['section_master'];                                  ($section['udf_values']['section_master'] == "" ? "诚征版主中" : $section['udf_values']['section_master']);
221    
222                          $buffer .= <<<MENU                          $buffer .= <<<MENU
223                          @LIST_SECTION   {$display_row}, 4, {$section['sid']}, {$section['read_user_level']},   "{$section['name']}",    "{$title_f}"                          @LIST_SECTION   {$display_row}, 4, {$section['sid']}, {$section['read_user_level']},   "{$section['name']}",    "{$title_f}"


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1