| @@ 401-408 (lines=8) @@ | ||
| 398 | $categoryLabels[$categoryKey] = $this->getLanguageService()->sL($customCategory[1]); | |
| 399 | } | |
| 400 | break; | |
| 401 | case 'customsubcategory': | |
| 402 | // Custom subCategory label | |
| 403 |                                 $customSubcategory = explode('=', $keyValPair[1], 2); | |
| 404 |                                 if (trim($customSubcategory[0])) { | |
| 405 | $subCategoryKey = strtolower($customSubcategory[0]); | |
| 406 | $this->subCategories[$subCategoryKey][0] = $this->getLanguageService()->sL($customSubcategory[1]); | |
| 407 | } | |
| 408 | break; | |
| 409 | } | |
| 410 | } | |
| 411 | } | |
| @@ 960-967 (lines=8) @@ | ||
| 957 | // Label | |
| 958 | $editableComments[$const]['label'] = trim($keyValPair[1]); | |
| 959 | break; | |
| 960 | case 'customcategory': | |
| 961 | // Custom category label | |
| 962 |                                 $customCategory = explode('=', $keyValPair[1], 2); | |
| 963 |                                 if (trim($customCategory[0])) { | |
| 964 | $categoryKey = strtolower($customCategory[0]); | |
| 965 | $this->categoryLabels[$categoryKey] = $this->getLanguageService()->sL($customCategory[1]); | |
| 966 | } | |
| 967 | break; | |
| 968 | case 'customsubcategory': | |
| 969 | // Custom subCategory label | |
| 970 |                                 $customSubcategory = explode('=', $keyValPair[1], 2); | |
| @@ 968-975 (lines=8) @@ | ||
| 965 | $this->categoryLabels[$categoryKey] = $this->getLanguageService()->sL($customCategory[1]); | |
| 966 | } | |
| 967 | break; | |
| 968 | case 'customsubcategory': | |
| 969 | // Custom subCategory label | |
| 970 |                                 $customSubcategory = explode('=', $keyValPair[1], 2); | |
| 971 |                                 if (trim($customSubcategory[0])) { | |
| 972 | $subCategoryKey = strtolower($customSubcategory[0]); | |
| 973 | $this->subCategories[$subCategoryKey][0] = $this->getLanguageService()->sL($customSubcategory[1]); | |
| 974 | } | |
| 975 | break; | |
| 976 | } | |
| 977 | } | |
| 978 | } | |