Skip to content

Commit 233acf8

Browse files
author
Marius Burkard
committed
Merge branch '4987-redir-labels' into 'develop'
Resolve "user-friendly labels for "Redirect Type"" Closes #5808 and #4987 See merge request ispconfig/ispconfig3!1245
2 parents 26ae330 + 048d0cc commit 233acf8

File tree

154 files changed

+605
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+605
-5
lines changed

interface/web/sites/form/web_childdomain.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
'datatype' => 'VARCHAR',
120120
'formtype' => 'SELECT',
121121
'default' => 'y',
122-
'value' => array('' => 'no_redirect_txt', 'no' => 'no_flag_txt', 'R' => 'R', 'L' => 'L', 'R,L' => 'R,L', 'R=301,L' => 'R=301,L', 'last' => 'last', 'break' => 'break', 'redirect' => 'redirect', 'permanent' => 'permanent', 'proxy' => 'proxy')
122+
'value' => array('' => 'no_redirect_txt', 'no' => 'no_flag_txt', 'R' => 'r_redirect_txt', 'L' => 'l_redirect_txt', 'R,L' => 'r_l_redirect_txt', 'R=301,L' => 'r_301_l_redirect_txt', 'last' => 'last', 'break' => 'break', 'redirect' => 'redirect', 'permanent' => 'permanent', 'proxy' => 'proxy')
123123
),
124124
'redirect_path' => array (
125125
'datatype' => 'VARCHAR',

interface/web/sites/form/web_vhost_domain.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@
397397
'datatype' => 'VARCHAR',
398398
'formtype' => 'SELECT',
399399
'default' => '',
400-
'value' => array('' => 'no_redirect_txt', 'no' => 'no_flag_txt', 'R' => 'R', 'L' => 'L', 'R,L' => 'R,L', 'R=301,L' => 'R=301,L', 'last' => 'last', 'break' => 'break', 'redirect' => 'redirect', 'permanent' => 'permanent', 'proxy' => 'proxy')
400+
'value' => array('' => 'no_redirect_txt', 'no' => 'no_flag_txt', 'R' => 'r_redirect_txt', 'L' => 'l_redirect_txt', 'R,L' => 'r_l_redirect_txt', 'R=301,L' => 'r_301_l_redirect_txt', 'last' => 'last', 'break' => 'break', 'redirect' => 'redirect', 'permanent' => 'permanent', 'proxy' => 'proxy')
401401
),
402402
'redirect_path' => array (
403403
'datatype' => 'VARCHAR',

interface/web/sites/lib/lang/ar_web_aliasdomain.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ $wb['web_folder_error_regex'] = 'Invalid folder entered. Please do not enter a s
1818
$wb['type_txt'] = 'Type';
1919
$wb['parent_domain_id_txt'] = 'Parent Website';
2020
$wb['redirect_type_txt'] = 'Redirect Type';
21+
$wb['r_redirect_txt'] = 'R (Temporary redirect)';
22+
$wb['l_redirect_txt'] = 'L (Last redirect rule)';
23+
$wb['r_l_redirect_txt'] = 'R,L (Temporary redirect + last rule)';
24+
$wb['r_301_l_redirect_txt'] = 'R=301,L (Permanent redirect + last rule)';
2125
$wb['redirect_path_txt'] = 'Redirect Path';
2226
$wb['active_txt'] = 'Active';
2327
$wb['document_root_txt'] = 'Documentroot';

interface/web/sites/lib/lang/ar_web_childdomain.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ $wb['domain_txt'] = 'Domain';
1313
$wb['type_txt'] = 'Type';
1414
$wb['parent_domain_id_txt'] = 'Parent Website';
1515
$wb['redirect_type_txt'] = 'Redirect Type';
16+
$wb['r_redirect_txt'] = 'R (Temporary redirect)';
17+
$wb['l_redirect_txt'] = 'L (Last redirect rule)';
18+
$wb['r_l_redirect_txt'] = 'R,L (Temporary redirect + last rule)';
19+
$wb['r_301_l_redirect_txt'] = 'R=301,L (Permanent redirect + last rule)';
1620
$wb['redirect_path_txt'] = 'Redirect Path';
1721
$wb['active_txt'] = 'Active';
1822
$wb['document_root_txt'] = 'Documentroot';

interface/web/sites/lib/lang/ar_web_domain.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ $wb['domain_txt'] = 'Domain';
1414
$wb['type_txt'] = 'Type';
1515
$wb['parent_domain_id_txt'] = 'Parent Website';
1616
$wb['redirect_type_txt'] = 'Redirect Type';
17+
$wb['r_redirect_txt'] = 'R (Temporary redirect)';
18+
$wb['l_redirect_txt'] = 'L (Last redirect rule)';
19+
$wb['r_l_redirect_txt'] = 'R,L (Temporary redirect + last rule)';
20+
$wb['r_301_l_redirect_txt'] = 'R=301,L (Permanent redirect + last rule)';
1721
$wb['redirect_path_txt'] = 'Redirect Path';
1822
$wb['active_txt'] = 'Active';
1923
$wb['document_root_txt'] = 'Documentroot';

interface/web/sites/lib/lang/ar_web_subdomain.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ $wb['domain_txt'] = 'Domain';
1313
$wb['type_txt'] = 'Type';
1414
$wb['parent_domain_id_txt'] = 'Parent Website';
1515
$wb['redirect_type_txt'] = 'Redirect Type';
16+
$wb['r_redirect_txt'] = 'R (Temporary redirect)';
17+
$wb['l_redirect_txt'] = 'L (Last redirect rule)';
18+
$wb['r_l_redirect_txt'] = 'R,L (Temporary redirect + last rule)';
19+
$wb['r_301_l_redirect_txt'] = 'R=301,L (Permanent redirect + last rule)';
1620
$wb['redirect_path_txt'] = 'Redirect Path';
1721
$wb['active_txt'] = 'Active';
1822
$wb['document_root_txt'] = 'Documentroot';

interface/web/sites/lib/lang/ar_web_vhost_domain.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ $wb['domain_txt'] = 'Domain';
1414
$wb['type_txt'] = 'Type';
1515
$wb['parent_domain_id_txt'] = 'Parent Website';
1616
$wb['redirect_type_txt'] = 'Redirect Type';
17+
$wb['r_redirect_txt'] = 'R (Temporary redirect)';
18+
$wb['l_redirect_txt'] = 'L (Last redirect rule)';
19+
$wb['r_l_redirect_txt'] = 'R,L (Temporary redirect + last rule)';
20+
$wb['r_301_l_redirect_txt'] = 'R=301,L (Permanent redirect + last rule)';
1721
$wb['redirect_path_txt'] = 'Redirect Path';
1822
$wb['active_txt'] = 'Active';
1923
$wb['document_root_txt'] = 'Document Root';

interface/web/sites/lib/lang/ar_web_vhost_subdomain.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ $wb['host_txt'] = 'Hostname';
2222
$wb['web_folder_error_regex'] = 'Invalid folder entered. Please do not enter a slash.';
2323
$wb['type_txt'] = 'Type';
2424
$wb['redirect_type_txt'] = 'Redirect Type';
25+
$wb['r_redirect_txt'] = 'R (Temporary redirect)';
26+
$wb['l_redirect_txt'] = 'L (Last redirect rule)';
27+
$wb['r_l_redirect_txt'] = 'R,L (Temporary redirect + last rule)';
28+
$wb['r_301_l_redirect_txt'] = 'R=301,L (Permanent redirect + last rule)';
2529
$wb['redirect_path_txt'] = 'Redirect Path';
2630
$wb['active_txt'] = 'Active';
2731
$wb['document_root_txt'] = 'Documentroot';

interface/web/sites/lib/lang/bg_web_aliasdomain.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ $wb['web_folder_error_regex'] = 'Invalid folder entered. Please do not enter a s
1818
$wb['type_txt'] = 'Type';
1919
$wb['parent_domain_id_txt'] = 'Parent Website';
2020
$wb['redirect_type_txt'] = 'Redirect Type';
21+
$wb['r_redirect_txt'] = 'R (Temporary redirect)';
22+
$wb['l_redirect_txt'] = 'L (Last redirect rule)';
23+
$wb['r_l_redirect_txt'] = 'R,L (Temporary redirect + last rule)';
24+
$wb['r_301_l_redirect_txt'] = 'R=301,L (Permanent redirect + last rule)';
2125
$wb['redirect_path_txt'] = 'Redirect Path';
2226
$wb['active_txt'] = 'Active';
2327
$wb['document_root_txt'] = 'Documentroot';

interface/web/sites/lib/lang/bg_web_childdomain.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ $wb['domain_txt'] = 'Домейн';
1313
$wb['type_txt'] = 'Тип';
1414
$wb['parent_domain_id_txt'] = 'Parent Website';
1515
$wb['redirect_type_txt'] = 'Redirect Type';
16+
$wb['r_redirect_txt'] = 'R (Temporary redirect)';
17+
$wb['l_redirect_txt'] = 'L (Last redirect rule)';
18+
$wb['r_l_redirect_txt'] = 'R,L (Temporary redirect + last rule)';
19+
$wb['r_301_l_redirect_txt'] = 'R=301,L (Permanent redirect + last rule)';
1620
$wb['redirect_path_txt'] = 'Redirect Path';
1721
$wb['active_txt'] = 'Активен';
1822
$wb['document_root_txt'] = 'Documentroot';

0 commit comments

Comments
 (0)