@@ -223,19 +223,19 @@ function plugin_init_formcreator() {
223
223
if (Session::haveRight ('entity ' , UPDATE )) {
224
224
$ PLUGIN_HOOKS ['config_page ' ]['formcreator ' ] = 'front/form.php ' ;
225
225
$ PLUGIN_HOOKS ['menu_toadd ' ]['formcreator ' ]['admin ' ] = 'PluginFormcreatorForm ' ;
226
- $ links ['config ' ] = FORMCREATOR_ROOTDOC . '/plugins/formcreator/ front/form.php ' ;
227
- $ links ['add ' ] =FORMCREATOR_ROOTDOC . '/plugins/formcreator /front/form.form.php ' ;
226
+ $ links ['config ' ] = FORMCREATOR_ROOTDOC . '/front/form.php ' ;
227
+ $ links ['add ' ] = FORMCREATOR_ROOTDOC . '/front/form.form.php ' ;
228
228
}
229
229
$ img = '<img src=" ' . FORMCREATOR_ROOTDOC . '/pics/check.png"
230
230
title=" ' . __ ('Forms waiting for validation ' , 'formcreator ' ) . '" alt="Waiting forms list" /> ' ;
231
231
232
- $ links [$ img ] = FORMCREATOR_ROOTDOC . '/plugins/formcreator/ front/formanswer.php ' ;
232
+ $ links [$ img ] = FORMCREATOR_ROOTDOC . '/front/formanswer.php ' ;
233
233
234
234
// Set options for pages (title, links, buttons...)
235
- $ links ['search ' ] = FORMCREATOR_ROOTDOC . '/plugins/formcreator/ front/formlist.php ' ;
235
+ $ links ['search ' ] = FORMCREATOR_ROOTDOC . '/front/formlist.php ' ;
236
236
$ PLUGIN_HOOKS ['submenu_entry ' ]['formcreator ' ]['options ' ] = [
237
237
'config ' => ['title ' => __ ('Setup ' ),
238
- 'page ' => FORMCREATOR_ROOTDOC . '/plugins/formcreator/ front/form.php ' ,
238
+ 'page ' => FORMCREATOR_ROOTDOC . '/front/form.php ' ,
239
239
'links ' => $ links ],
240
240
'options ' => ['title ' => _n ('Form ' , 'Forms ' , 2 , 'formcreator ' ),
241
241
'links ' => $ links ],
0 commit comments