@@ -63,11 +63,11 @@ |
||
| 63 | 63 | echo "clearing user data\n"; |
| 64 | 64 | sql('TRUNCATE `cache_adoption`'); |
| 65 | 65 | sql('TRUNCATE `cache_ignore`'); |
| 66 | -sql('DELETE FROM `cache_lists` WHERE `is_public`<2'); // trigger deletes dependent data |
|
| 66 | +sql('DELETE FROM `cache_lists` WHERE `is_public`<2'); // trigger deletes dependent data |
|
| 67 | 67 | sql('TRUNCATE `cache_list_bookmarks`'); |
| 68 | 68 | sql('TRUNCATE `cache_list_watches`'); |
| 69 | 69 | sql('TRUNCATE `cache_watches`'); |
| 70 | -sql('DELETE FROM `coordinates` WHERE `type`=2'); // personal cache notes and coords |
|
| 70 | +sql('DELETE FROM `coordinates` WHERE `type`=2'); // personal cache notes and coords |
|
| 71 | 71 | sql('TRUNCATE `queries`'); |
| 72 | 72 | sql('TRUNCATE `user_options`'); |
| 73 | 73 | sql( |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | } |
| 32 | 32 | $newlist_public = isset($_REQUEST['newlist_public']); |
| 33 | 33 | $newlist_watch = isset($_REQUEST['newlist_watch']); |
| 34 | -$default_list = isset($_REQUEST['listid']) ? (int) $_REQUEST['listid'] : cachelist::getMyLastAddedToListId(); |
|
| 34 | +$default_list = isset($_REQUEST['listid']) ? (int)$_REQUEST['listid'] : cachelist::getMyLastAddedToListId(); |
|
| 35 | 35 | |
| 36 | 36 | if (isset($_REQUEST['save']) && isset($_REQUEST['listid'])) { |
| 37 | 37 | $listid = $_REQUEST['listid'] + 0; |
@@ -17,9 +17,9 @@ discard block |
||
| 17 | 17 | * $opt['locale'] |
| 18 | 18 | ***************************************************************************/ |
| 19 | 19 | |
| 20 | -define('OC_LOCALE_ACTIVE', 2); // enable language and show language button in header line |
|
| 21 | -define('OC_LOCALE_HIDDEN', 1); // enable language but hide language button in header line |
|
| 22 | -define('OC_LOCALE_DISABLED', 0); // disable language |
|
| 20 | +define('OC_LOCALE_ACTIVE', 2); // enable language and show language button in header line |
|
| 21 | +define('OC_LOCALE_HIDDEN', 1); // enable language but hide language button in header line |
|
| 22 | +define('OC_LOCALE_DISABLED', 0); // disable language |
|
| 23 | 23 | |
| 24 | 24 | $opt['template']['locales']['DE']['status'] = OC_LOCALE_ACTIVE; |
| 25 | 25 | $opt['template']['locales']['DE']['flag'] = 'images/flag/DE.png'; |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | $opt['locale']['DE']['page']['license'] = '<a rel="license" href="%1"><img alt="Creative Commons Lizenzvertrag" style="border-width:0" src="resource2/ocstyle/images/media/cc-by-nc-nd-small.png" /></a><div style="text-align:center; margin:8px 0 0 6px;">Die <a href="articles.php?page=impressum#datalicense">Inhalte</a> von {site} stehen unter der Creative-Commons-Lizenz <a rel="license" href="%1">BY-NC-ND 3.0 DE</a>.</div>'; |
| 132 | 132 | $opt['locale']['DE']['helpwiki'] = 'http://wiki.opencaching.de/index.php/'; |
| 133 | 133 | $opt['locale']['DE']['mostly_translated'] = true; |
| 134 | -$opt['locale']['DE']['what3words'] = true; // "beta" |
|
| 134 | +$opt['locale']['DE']['what3words'] = true; // "beta" |
|
| 135 | 135 | |
| 136 | 136 | $opt['locale']['IT']['format']['dateshort'] = '%d/%m/%y'; |
| 137 | 137 | $opt['locale']['IT']['format']['dm'] = '%d/%m'; |
@@ -233,7 +233,7 @@ discard block |
||
| 233 | 233 | $opt['locale']['SV']['page']['subtitle1'] = 'Geocaching med Opencaching'; |
| 234 | 234 | $opt['locale']['SV']['page']['subtitle2'] = ''; |
| 235 | 235 | $opt['locale']['SV']['mostly_translated'] = false; |
| 236 | -$opt['locale']['SV']['what3words'] = true; // "beta" |
|
| 236 | +$opt['locale']['SV']['what3words'] = true; // "beta" |
|
| 237 | 237 | |
| 238 | 238 | $opt['locale']['NO']['format']['dateshort'] = '%d.%m.%y'; |
| 239 | 239 | $opt['locale']['NO']['format']['dm'] = '%d.%m.'; |
@@ -283,7 +283,7 @@ discard block |
||
| 283 | 283 | $opt['locale']['RU']['country'] = 'RU'; |
| 284 | 284 | $opt['locale']['RU']['primary_lang_of'] = ['RU']; |
| 285 | 285 | $opt['locale']['RU']['mostly_translated'] = false; |
| 286 | -$opt['locale']['RU']['what3words'] = true; // "beta" |
|
| 286 | +$opt['locale']['RU']['what3words'] = true; // "beta" |
|
| 287 | 287 | |
| 288 | 288 | $opt['locale']['DA']['format']['dateshort'] = '%d.%m.%y'; |
| 289 | 289 | $opt['locale']['DA']['format']['dm'] = '%d.%m.'; |
@@ -144,7 +144,7 @@ |
||
| 144 | 144 | |
| 145 | 145 | /* default locale |
| 146 | 146 | */ |
| 147 | -$opt['template']['default']['locale'] = 'DE'; // can be overwritten by $opt['domain'][<domain>]['locale'] |
|
| 147 | +$opt['template']['default']['locale'] = 'DE'; // can be overwritten by $opt['domain'][<domain>]['locale'] |
|
| 148 | 148 | |
| 149 | 149 | // include all locale settings |
| 150 | 150 | require_once $rootpath . 'config2/locale.inc.php'; |