| @@ 281-283 (lines=3) @@ | ||
| 278 | $domain = $opt['page']['domain'];  | 
                                |
| 279 | ||
| 280 |     if (isset($opt['domain'][$domain])) { | 
                                |
| 281 |         if (isset($opt['domain'][$domain]['locale'])) { | 
                                |
| 282 | $opt['template']['default']['locale'] = $opt['domain'][$domain]['locale'];  | 
                                |
| 283 | }  | 
                                |
| 284 |         if (isset($opt['domain'][$domain]['fallback_locale'])) { | 
                                |
| 285 | $opt['template']['default']['fallback_locale'] = $opt['domain'][$domain]['fallback_locale'];  | 
                                |
| 286 | }  | 
                                |
| @@ 284-286 (lines=3) @@ | ||
| 281 |         if (isset($opt['domain'][$domain]['locale'])) { | 
                                |
| 282 | $opt['template']['default']['locale'] = $opt['domain'][$domain]['locale'];  | 
                                |
| 283 | }  | 
                                |
| 284 |         if (isset($opt['domain'][$domain]['fallback_locale'])) { | 
                                |
| 285 | $opt['template']['default']['fallback_locale'] = $opt['domain'][$domain]['fallback_locale'];  | 
                                |
| 286 | }  | 
                                |
| 287 | ||
| 288 |         if (isset($opt['domain'][$domain]['country'])) { | 
                                |
| 289 | $opt['template']['default']['country'] = $opt['domain'][$domain]['country'];  | 
                                |
| @@ 288-290 (lines=3) @@ | ||
| 285 | $opt['template']['default']['fallback_locale'] = $opt['domain'][$domain]['fallback_locale'];  | 
                                |
| 286 | }  | 
                                |
| 287 | ||
| 288 |         if (isset($opt['domain'][$domain]['country'])) { | 
                                |
| 289 | $opt['template']['default']['country'] = $opt['domain'][$domain]['country'];  | 
                                |
| 290 | }  | 
                                |
| 291 | ||
| 292 |         if (isset($opt['domain'][$domain]['sitename'])) { | 
                                |
| 293 | $opt['page']['sitename'] = $opt['domain'][$domain]['sitename'];  | 
                                |
| @@ 222-224 (lines=3) @@ | ||
| 219 | ||
| 220 | $domain = $opt['page']['domain'];  | 
                                |
| 221 | ||
| 222 |     if (isset($opt['domain'][$domain]['style'])) { | 
                                |
| 223 | $opt['template']['default']['style'] = $opt['domain'][$domain]['style'];  | 
                                |
| 224 | }  | 
                                |
| 225 |     if (isset($opt['domain'][$domain]['cookiedomain'])) { | 
                                |
| 226 | $opt['session']['domain'] = $opt['domain'][$domain]['cookiedomain'];  | 
                                |
| 227 | }  | 
                                |
| @@ 253-255 (lines=3) @@ | ||
| 250 | $opt['template']['locale'] = $opt['template']['default']['locale'];  | 
                                |
| 251 | }  | 
                                |
| 252 | ||
| 253 |         if (!isset($opt['locale'][$opt['template']['locale']])) { | 
                                |
| 254 | $opt['template']['locale'] = $opt['template']['default']['locale'];  | 
                                |
| 255 | }  | 
                                |
| 256 |     } else { | 
                                |
| 257 | $opt['template']['locale'] = $opt['template']['default']['locale'];  | 
                                |
| 258 | }  | 
                                |