Changeset 6648 for extensions/nbc_ThemeChanger/include
- Timestamp:
- Jul 1, 2010, 8:17:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/nbc_ThemeChanger/include/functions_ThemeChanger.inc.php
r6642 r6648 71 71 } 72 72 73 /* 74 function my_exist e_theme ($themeId)73 74 function my_exist_pwg_theme ($themeId) 75 75 { 76 return -1;76 return realpath(PHPWG_ROOT_PATH.'themes'.'/'.$themeId); 77 77 } 78 78 79 79 80 function my_get_pwg_theme_status($themeId) 81 { 82 if (!my_exist_pwg_theme($themeId)) 83 return 'Delete'; 84 else 85 { 86 $themes = my_get_pwg_themes(); 87 $i_themeName = 0; 88 while (ISSET($themes[$i_themeName])){ 89 if ($themes[$i_themeName]['id'] == $themeId) 90 return 'Active'; 91 $i_themeName++; 92 } 93 } 94 return 'Inactive'; 95 } 96 97 /* 80 98 function my_get_pwg_themeName ($themeId) 81 99 {
Note: See TracChangeset
for help on using the changeset viewer.