Skip to content

Commit

Permalink
removed obsolete configs and language strings
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Feb 27, 2024
1 parent 75a1469 commit afea422
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 32 deletions.
3 changes: 0 additions & 3 deletions conf/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
*/

$conf['paths'] = '';

$conf['allow_in_comments'] = 0;
$conf['allowed_absolute_paths'] = DOKU_INC;
$conf['web_paths'] = DOKU_URL;
$conf['defaults'] = '';
$conf['extensions'] = '';
3 changes: 0 additions & 3 deletions conf/metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
*/

$meta['paths'] = array('');

$meta['allow_in_comments'] = array('onoff');
$meta['allowed_absolute_paths'] = array('');
$meta['web_paths'] = array('');
$meta['defaults'] = array('string');
$meta['extensions'] = array('string');
4 changes: 0 additions & 4 deletions lang/de/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@
$lang['lastmodified'] = 'Letzte Änderung';
$lang['error_nomatch'] = 'Keine Treffer';
$lang['error_outsidejail'] = 'Zugriff verweigert';
$lang['preview'] = 'Vorschau';
$lang['filetype'] = 'Dateityp';
$lang['createdby'] = 'Erstellt von';
$lang['creatorunknown'] = 'Unbekannt';
2 changes: 0 additions & 2 deletions lang/de/settings.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?php

$lang['allow_in_comments'] = 'Filelistsyntax in Kommentaren erlauben.';
$lang['allowed_absolute_paths'] = 'Komma-separierte Liste absoluter Pfade, die durchsucht werden dürfen.';
$lang['web_paths'] = 'Komma-separierte Liste von URLs, über die die zuvor definierten und korrespondierenden absoluten Pfade erreicht werden können. MUSS die selbe Anzahl an Einträgen haben wie die Liste der absoluten Pfade';
4 changes: 0 additions & 4 deletions lang/en/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@
$lang['lastmodified'] = 'Last modified';
$lang['error_nomatch'] = 'No match';
$lang['error_outsidejail'] = 'Access denied';
$lang['preview'] = 'Preview';
$lang['filetype'] = 'Filetype';
$lang['createdby'] = 'Created by';
$lang['creatorunknown'] = 'Unknown';
2 changes: 0 additions & 2 deletions lang/en/settings.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

$lang['allow_in_comments'] = 'Whether to allow the filelist syntax to be used in comments.';
$lang['allowed_absolute_paths'] = 'Comma-separated list of absolute paths allowed for globbing.';
$lang['web_paths'] = 'Comma-separated list of urls by which to reach the corresponding absolute path from the previous list. MUST have the exact same number of entries as allowed_absolute_paths.';
$lang['defaults'] = 'Default options. Use the same syntax as in inline configuration';
$lang['extensions'] = 'Comma-separated list of allowed file extensions to list';
2 changes: 0 additions & 2 deletions lang/nl/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* @author Mark C. Prins <[email protected]>
*/
$lang['allow_in_comments'] = 'Of de filelist syntax toegestaan is voor gebruik in commentaar.';
$lang['allowed_absolute_paths'] = 'Komma-gescheiden lijst van absolute zoekpaden.';
$lang['web_paths'] = 'Komma-gescheiden lijst van urls waarop overeenkomende paden uit voorgaande lijst gevonden kunnen worden. Het aantal elementen MOET exact gelijk zijn aan dat van allowed_absolute_paths.';
$lang['defaults'] = 'Default options. Gebruik dezelfde syntax als de inline configuratie.';
$lang['extensions'] = 'Komma-gescheiden lijst van toegestane bestandsextensies voor de lijst.';
12 changes: 0 additions & 12 deletions syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,27 +57,15 @@ public function handle($match, $state, $pos, Doku_Handler $handler)
$params = [
'sort' => 'name',
'order' => 'asc',
'index' => 0,
'limit' => 0,
'offset' => 0,
'style' => 'list',
'tableheader' => 0,
'tableshowsize' => 0,
'tableshowdate' => 0,
'direct' => 0,
'recursive' => 0,
'titlefile' => '_title.txt',
'cache' => 0,
'randlinks' => 0,
'preview' => 0,
'previewsize' => 32,
'link' => 2,
'showsize' => 0,
'showdate' => 0,
'showcreator' => 0,
'listsep' => '", "',
'onhover' => 0,
'ftp' => 0
];
foreach ($flags as $flag) {
[$name, $value] = sexplode('=', $flag, 2, '');
Expand Down

0 comments on commit afea422

Please sign in to comment.