Add the Chronological
This commit is contained in:
@@ -28,6 +28,8 @@ class admin_plugin_luxtools_main extends DokuWiki_Admin_Plugin
|
||||
'thumb_placeholder',
|
||||
'gallery_thumb_scale',
|
||||
'open_service_url',
|
||||
'image_base_path',
|
||||
'calendar_ics_files',
|
||||
'pagelink_search_depth',
|
||||
];
|
||||
|
||||
@@ -86,6 +88,11 @@ class admin_plugin_luxtools_main extends DokuWiki_Admin_Plugin
|
||||
$newConf['thumb_placeholder'] = $INPUT->str('thumb_placeholder');
|
||||
$newConf['gallery_thumb_scale'] = $INPUT->str('gallery_thumb_scale');
|
||||
$newConf['open_service_url'] = $INPUT->str('open_service_url');
|
||||
$newConf['image_base_path'] = $INPUT->str('image_base_path');
|
||||
|
||||
$icsFiles = $INPUT->str('calendar_ics_files');
|
||||
$icsFiles = str_replace(["\r\n", "\r"], "\n", $icsFiles);
|
||||
$newConf['calendar_ics_files'] = $icsFiles;
|
||||
|
||||
$depth = (int)$INPUT->int('pagelink_search_depth');
|
||||
if ($depth < 0) $depth = 0;
|
||||
@@ -228,6 +235,17 @@ class admin_plugin_luxtools_main extends DokuWiki_Admin_Plugin
|
||||
echo '<input type="text" class="edit" name="open_service_url" value="' . hsc((string)$this->getConf('open_service_url')) . '" />';
|
||||
echo '</label><br />';
|
||||
|
||||
// image_base_path
|
||||
echo '<label class="block"><span>' . hsc($this->getLang('image_base_path')) . '</span> ';
|
||||
echo '<input type="text" class="edit" name="image_base_path" value="' . hsc((string)$this->getConf('image_base_path')) . '" />';
|
||||
echo '</label><br />';
|
||||
|
||||
// calendar_ics_files
|
||||
$icsFiles = $this->normalizeMultilineDisplay((string)$this->getConf('calendar_ics_files'), 'calendar_ics_files');
|
||||
echo '<label class="block"><span>' . hsc($this->getLang('calendar_ics_files')) . '</span><br />';
|
||||
echo '<textarea name="calendar_ics_files" rows="4" cols="80" class="edit">' . hsc($icsFiles) . '</textarea>';
|
||||
echo '</label><br />';
|
||||
|
||||
// pagelink_search_depth
|
||||
echo '<label class="block"><span>' . hsc($this->getLang('pagelink_search_depth')) . '</span> ';
|
||||
echo '<input type="number" class="edit" min="0" name="pagelink_search_depth" value="' . hsc((string)$this->getConf('pagelink_search_depth')) . '" />';
|
||||
|
||||
Reference in New Issue
Block a user