Skip to content

Commit

Permalink
fix: other bad redirections
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Jun 15, 2020
1 parent f177b7a commit 3830463
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,13 @@ function plugin_init_formcreator() {
$img = '<img src="' . FORMCREATOR_ROOTDOC . '/pics/check.png"
title="' . __('Forms waiting for validation', 'formcreator') . '" alt="Waiting forms list" />';

$links[$img] = '/plugins/formcreator/front/formanswer.php';
$links[$img] = FORMCREATOR_ROOTDOC . '/front/formanswer.php';

// Set options for pages (title, links, buttons...)
$links['search'] = '/plugins/formcreator/front/formlist.php';
$links['search'] = FORMCREATOR_ROOTDOC . '/front/formlist.php';
$PLUGIN_HOOKS['submenu_entry']['formcreator']['options'] = [
'config' => ['title' => __('Setup'),
'page' => '/plugins/formcreator/front/form.php',
'page' => FORMCREATOR_ROOTDOC . '/front/form.php',
'links' => $links],
'options' => ['title' => _n('Form', 'Forms', 2, 'formcreator'),
'links' => $links],
Expand Down

0 comments on commit 3830463

Please sign in to comment.