diff --git a/fp-plugins/prettyurls/lang/lang.en-us.php b/fp-plugins/prettyurls/lang/lang.en-us.php
index 4fab0d0..0a677bb 100644
--- a/fp-plugins/prettyurls/lang/lang.en-us.php
+++ b/fp-plugins/prettyurls/lang/lang.en-us.php
@@ -1,6 +1,6 @@
'I can\' find or create an .htaccess file in your root '.
+ -2 => 'I can\'t find or create an .htaccess file in your root '.
'directory. PrettyURLs might not work properly, see the config panel.'
);
@@ -8,8 +8,8 @@
$lang['admin']['plugin']['prettyurls'] = array(
'head' => 'PrettyURLs Configuration',
'description'=>'This raw editor let you edit your '.
- '.htaccess.',
- 'cantsave' => 'If file were writable you could edit it',
+ '.htaccess.',
+ 'cantsave' => 'You can\'t edit this file, because it\'s not writable. You can give writing permission or copy and paste to a file and then upload as described here',
'submit' => 'Save'
);
$lang['admin']['plugin']['prettyurls']['msgs'] = array(
diff --git a/fp-plugins/prettyurls/plugin.prettyurls.php b/fp-plugins/prettyurls/plugin.prettyurls.php
index 0ec22a7..048148e 100644
--- a/fp-plugins/prettyurls/plugin.prettyurls.php
+++ b/fp-plugins/prettyurls/plugin.prettyurls.php
@@ -495,7 +495,7 @@ STR;
$this->smarty->assign('cantsave',
- ( (file_exists($f) && !is_writable($f)) && !is_writable(ABS_PATH) )
+ ( !is_writable(ABS_PATH) || (file_exists($f) && !is_writable($f)) )
);
$this->smarty->assign('htaccess', $txt);
}
diff --git a/fp-plugins/prettyurls/tpls/admin.plugin.prettyurls.tpl b/fp-plugins/prettyurls/tpls/admin.plugin.prettyurls.tpl
index dd75992..16aae11 100644
--- a/fp-plugins/prettyurls/tpls/admin.plugin.prettyurls.tpl
+++ b/fp-plugins/prettyurls/tpls/admin.plugin.prettyurls.tpl
@@ -7,7 +7,8 @@
{html_form}
- +