
- The chmod octal value from the defaults.php file is used for the hint. This has the advantage that you do not have to adjust the 13 language files every time you make a change. - When restoring the file access rights, a test file in the fp-content directory is used to check whether it is writable. If failed, then -1
39 lines
1.3 KiB
PHP
Executable File
39 lines
1.3 KiB
PHP
Executable File
<?php
|
|
$lang ['admin'] ['panel'] ['maintain'] = 'Maintainance';
|
|
|
|
$lang ['admin'] ['maintain'] ['default'] = array(
|
|
'head' => 'Maintenaince',
|
|
'descr' => 'Come here when you think something got messed, and maybe here you\'ll find a solution. However this might not work.',
|
|
'opt0' => '« Back to main menu',
|
|
'opt1' => 'Rebuild index',
|
|
'opt2' => 'Purge theme and templates cache',
|
|
'opt3' => 'Restore file permissions',
|
|
'opt4' => 'Show info about PHP',
|
|
'opt5' => 'Check for updates',
|
|
|
|
'chmod_info' => 'If the file permissions <strong>could not</strong> be reset to ' . decoct(FILE_PERMISSIONS) . ', the owner of the file is probably not the same as the owner of the web server.<br>' . //
|
|
'Normalement, tu peux ignorer cette remarque.'
|
|
);
|
|
|
|
$lang ['admin'] ['maintain'] ['default'] ['msgs'] = array(
|
|
1 => 'Operation completed',
|
|
-1 => 'Operation failed'
|
|
);
|
|
|
|
$lang ['admin'] ['maintain'] ['updates'] = array(
|
|
'head' => 'Updates',
|
|
'list' => '<ul>
|
|
<li>You have FlatPress version <big>%s</big></li>
|
|
<li>Last stable version for FlatPress is <big><a href="%s">%s</a></big></li>
|
|
<li>Last unstable version for FlatPress is <big><a href="%s">%s</a></big></li>
|
|
</ul>',
|
|
'notice' => 'Notice:'
|
|
);
|
|
|
|
$lang ['admin'] ['maintain'] ['updates'] ['msgs'] = array(
|
|
1 => 'There are updates available!',
|
|
2 => 'You are already up-to-date',
|
|
-1 => 'Unable to retrieve updates'
|
|
);
|
|
?>
|