/[LeafOK_CVS]/fenglin/bbs/theme.inc.php
ViewVC logotype

Diff of /fenglin/bbs/theme.inc.php

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

Revision 1.9 by sysadm, Sat Apr 12 11:36:58 2025 UTC Revision 1.11 by sysadm, Sat Apr 12 14:06:12 2025 UTC
# Line 18  if (!defined("_BBS_THEME_INIT_")) Line 18  if (!defined("_BBS_THEME_INIT_"))
18                          "view/section_setting" => "section_setting.view.php",                          "view/section_setting" => "section_setting.view.php",
19                          "view/show_profile" => "show_profile.view.php",                          "view/show_profile" => "show_profile.view.php",
20                  ),                  ),
21                    "xml" => array(
22                            "xsl/1" => "xsl/1.xsl",
23                            "view/view_article" => "view_article_xml.view.php",
24                    ),
25                    "gen_ex" => array(
26                            "view/view_article" => "gen_ex_article.view.php",
27                    ),
28          );          );
29    
30          $BBS_theme_current = "";          $BBS_theme_current = "";
# Line 44  if (!defined("_BBS_THEME_INIT_")) Line 51  if (!defined("_BBS_THEME_INIT_"))
51                          return null; // View not exist                          return null; // View not exist
52                  }                  }
53    
54                  $file = "./themes/" . $theme_name . "/" . $BBS_theme_set[$theme_name][$view_name];                  $file = "../bbs/themes/" . $theme_name . "/" . $BBS_theme_set[$theme_name][$view_name];
55    
56                  if (!file_exists($file))                  if (!file_exists($file))
57                  {                  {


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

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