Fraenkiman 238cfaa1c2 Admin area | PrettyURLs with NGINX
- Link to wiki article added
- Plugin activated by default
- Title Greek welcome entry
2024-03-22 16:58:15 +01:00

41 lines
1.8 KiB
PHP

<?php
$lang ['plugin'] ['prettyurls'] ['errors'] = array (
-2 => 'I can\'t find or create an <code>.htaccess</code> file in your root ' . //
'directory. PrettyURLs might not work properly, see the config panel.'
);
$lang ['admin'] ['plugin'] ['submenu'] ['prettyurls'] = 'PrettyURLs Config';
$lang ['admin'] ['plugin'] ['prettyurls'] = array(
'head' => 'PrettyURLs Configuration',
'description1' => 'Here you can turn the standard FlatPress URLs into beautiful, SEO-friendly URLs.',
'nginx' => 'PrettyURLs with NGINX',
'wiki_nginx' => 'https://wiki.flatpress.org/res:plugins:prettyurls#nginx',
'htaccess' => '.htaccess',
'description2' => 'This editor allows you to edit the <code>.htaccess</code>required for the PrettyURLs plugin directly.<br>' . //
'<strong>Note:</strong> Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files. ' . //
'Your server software is: <strong>' . $_SERVER ['SERVER_SOFTWARE'] . '</strong>',
'cantsave' => 'You can\'t edit this file, because it\'s not <strong>writable</strong>. You can give writing permission or copy and paste to a file and then upload manually.',
'mode' => 'Mode',
'auto' => 'Automatic',
'autodescr' => 'try to guess the best choice for me',
'pathinfo' => 'Path Info',
'pathinfodescr' => 'e.g. /index.php/2024/01/01/hello-world/',
'httpget' => 'HTTP Get',
'httpgetdescr' => 'e.g. /?u=/2024/01/01/hello-world/',
'pretty' => 'Pretty',
'prettydescr' => 'e.g. /2024/01/01/hello-world/',
'saveopt' => 'Save settings',
'submit' => 'Save .htaccess'
);
$lang ['admin'] ['plugin'] ['prettyurls'] ['msgs'] = array(
1 => '.htaccess saved successfully',
-1 => '.htaccess could not be saved (do you have writing permissions on <code>' . BLOG_ROOT . '</code>)?',
2 => 'Options saved successfully',
-2 => 'An error occurred attempting to save settings',
);
?>