'#title'=>t('Regenerate sitemap after hitting Save'),
'#description'=>t('This setting will regenerate the whole sitemap including the above changes.<br/>Otherwise the sitemap will be rebuilt on next cron run.'),
'#description'=>t('This setting will regenerate the whole sitemap including the above changes.'),
'#default_value'=>FALSE,
);
if($sitemap->get_setting('cron_generate')){
$form['simple_sitemap']['simple_sitemap_regenerate_now']['#description'].='</br>'.t('Otherwise the sitemap will be rebuilt on next cron run.');
$message=t("You may want to <a href='@url'>regenerate</a> your XML sitemap now.",array('@url'=>$GLOBALS['base_url'].'/admin/config/search/simplesitemap'));
if($sitemap->get_setting('cron_generate')){
$message.='</br>'.t('Otherwise the sitemap will be rebuilt on next cron run.');
'#title'=>t('Regenerate sitemap after hitting Save'),
'#description'=>t('This setting will regenerate the whole sitemap including the above changes.<br/>Otherwise the sitemap will be rebuilt on next cron run.'),
'#description'=>t('This setting will regenerate the whole sitemap including the above changes.'),
'#default_value'=>FALSE,
);
if($sitemap->get_setting('cron_generate')){
$form['simple_sitemap_custom']['simple_sitemap_regenerate_now']['#description'].='</br>'.t('Otherwise the sitemap will be rebuilt on next cron run.');