Rev 1050 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1050 | Rev 1130 | ||
---|---|---|---|
Line 91... | Line 91... | ||
91 | 91 | ||
92 | } |
92 | } |
93 | 93 | ||
94 | # --- |
94 | # --- |
95 | 95 | ||
- | 96 | /** |
|
- | 97 | * @param string $file |
|
- | 98 | * @param string $picFormat |
|
- | 99 | * @param string $treeOrBig |
|
- | 100 | * @param string $lang |
|
- | 101 | * @return string |
|
- | 102 | */ |
|
96 | function getIconCandidate($file, $picFormat, $treeOrBig, $lang) { |
103 | function getIconCandidate(string $file, string $picFormat, string $treeOrBig, string $lang): string { |
97 | $cnt = 0; |
104 | $cnt = 0; |
98 | if (!empty($lang)) { |
105 | if (!empty($lang)) { |
99 | $appendix = '_'.$treeOrBig.'$'.$lang.'.'.$picFormat; |
106 | $appendix = '_'.$treeOrBig.'$'.$lang.'.'.$picFormat; |
100 | } else { |
107 | } else { |
101 | $appendix = '_'.$treeOrBig.'.'.$picFormat; |
108 | $appendix = '_'.$treeOrBig.'.'.$picFormat; |