Sources/ManageCalendar.php 1 location
|
@@ 395-408 (lines=14) @@
|
| 392 |
|
$context['settings_title'] = $txt['calendar_settings']; |
| 393 |
|
|
| 394 |
|
// Saving the settings? |
| 395 |
|
if (isset($_GET['save'])) |
| 396 |
|
{ |
| 397 |
|
checkSession(); |
| 398 |
|
call_integration_hook('integrate_save_calendar_settings'); |
| 399 |
|
saveDBSettings($config_vars); |
| 400 |
|
|
| 401 |
|
// Update the stats in case. |
| 402 |
|
updateSettings(array( |
| 403 |
|
'calendar_updated' => time(), |
| 404 |
|
)); |
| 405 |
|
|
| 406 |
|
$_SESSION['adm-save'] = true; |
| 407 |
|
redirectexit('action=admin;area=managecalendar;sa=settings'); |
| 408 |
|
} |
| 409 |
|
|
| 410 |
|
// We need this for the inline permissions |
| 411 |
|
createToken('admin-mp'); |
Sources/ManageSearchEngines.php 1 location
|
@@ 135-144 (lines=10) @@
|
| 132 |
|
$context['sub_template'] = 'show_settings'; |
| 133 |
|
|
| 134 |
|
// Are we saving them - are we?? |
| 135 |
|
if (isset($_GET['save'])) |
| 136 |
|
{ |
| 137 |
|
checkSession(); |
| 138 |
|
|
| 139 |
|
call_integration_hook('integrate_save_search_engine_settings'); |
| 140 |
|
saveDBSettings($config_vars); |
| 141 |
|
recacheSpiderNames(); |
| 142 |
|
$_SESSION['adm-save'] = true; |
| 143 |
|
redirectexit('action=admin;area=sengines;sa=settings'); |
| 144 |
|
} |
| 145 |
|
|
| 146 |
|
// Final settings... |
| 147 |
|
$context['post_url'] = $scripturl . '?action=admin;area=sengines;save;sa=settings'; |
Sources/ManageSettings.php 1 location
|
@@ 352-363 (lines=12) @@
|
| 349 |
|
return $config_vars; |
| 350 |
|
|
| 351 |
|
// Saving? |
| 352 |
|
if (isset($_GET['save'])) |
| 353 |
|
{ |
| 354 |
|
checkSession(); |
| 355 |
|
|
| 356 |
|
call_integration_hook('integrate_save_layout_settings'); |
| 357 |
|
|
| 358 |
|
saveDBSettings($config_vars); |
| 359 |
|
$_SESSION['adm-save'] = true; |
| 360 |
|
writeLog(); |
| 361 |
|
|
| 362 |
|
redirectexit('action=admin;area=featuresettings;sa=layout'); |
| 363 |
|
} |
| 364 |
|
|
| 365 |
|
$context['post_url'] = $scripturl . '?action=admin;area=featuresettings;save;sa=layout'; |
| 366 |
|
$context['settings_title'] = $txt['mods_cat_layout']; |