Projekt

Allgemein

Profil

GX-Bug #55765 » StaticSEOURLLangFix.patch

Till Tepelmann, 16.03.2018 11:36

Unterschiede anzeigen:

src/admin/html/content/static_seo_urls/details/master_data_panel.html (date 1521195571000)
56 56
							{block name="admin_static_seo_urls_details_master_data_panel_body_changefreq_input"}
57 57
								<select class="form-control" name="changefreq">
58 58
									{foreach key=key item=changefreq from=$content.changefreqOptions}
59
										<option value="{$key}" {if $key eq $content.changefreq}selected{/if}>{$txt.$changefreq}</option>
59
										<option value="{$key}" {if $key eq $content.changefreq}selected{/if}>{$changefreq}</option>
60 60
									{/foreach}
61 61
								</select>
62 62
							{/block}
src/GXMainComponents/Controllers/HttpView/Admin/StaticSeoUrlController.inc.php (date 1521195558000)
126 126
		                        new StringType('gm_analytics.php'), new BoolType(false));
127 127
		
128 128
		$changeFrequencyOptions = [
129
			'always'  => defined('CHANGEFREQ_ALWAYS') ? CHANGEFREQ_ALWAYS : 'always',
130
			'hourly'  => defined('CHANGEFREQ_HOURLY') ? CHANGEFREQ_HOURLY : 'hourly',
131
			'daily'   => defined('CHANGEFREQ_DAILY') ? CHANGEFREQ_DAILY : 'hourly',
132
			'weekly'  => defined('CHANGEFREQ_WEEKLY') ? CHANGEFREQ_WEEKLY : 'weekly',
133
			'monthly' => defined('CHANGEFREQ_MONTHLY') ? CHANGEFREQ_MONTHLY : 'monthly',
134
			'yearly'  => defined('CHANGEFREQ_YEARLY') ? CHANGEFREQ_YEARLY : 'yearly',
135
			'never'   => defined('CHANGEFREQ_NEVER') ? CHANGEFREQ_NEVER : 'never',
129
			'always'  => $languageTextManager->get_text('CHANGEFREQ_ALWAYS'),
130
			'hourly'  => $languageTextManager->get_text('CHANGEFREQ_HOURLY'),
131
			'daily'   => $languageTextManager->get_text('CHANGEFREQ_DAILY'),
132
			'weekly'  => $languageTextManager->get_text('CHANGEFREQ_WEEKLY'),
133
			'monthly' => $languageTextManager->get_text('CHANGEFREQ_MONTHLY'),
134
			'yearly'  => $languageTextManager->get_text('CHANGEFREQ_YEARLY'),
135
			'never'   => $languageTextManager->get_text('CHANGEFREQ_NEVER'),
136 136
		];
137 137
		$priorityOptions        = [
138 138
			'0.0' => '0.0',
    (1-1/1)