File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
adm_program/installation/install_steps Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 155155 $("#next_page").on("click", function() {
156156 $(this).prop("disabled", true);
157157 $(this).html("<i class=\"fas fa-sync fa-spin\"></i> ' . $ gL10n ->get ('INS_DATABASE_WILL_BE_ESTABLISHED ' ) . '");
158+ $("#installation-form").submit();
158159 }); ' , true );
159160
160161// now save new configuration file in Admidio folder if user has write access to this folder
170171 $ page ->assign ('text ' , $ gL10n ->get ('INS_DATA_FULLY_ENTERED ' ));
171172
172173 $ form = new HtmlForm ('installation-form ' , SecurityUtils::encodeUrl (ADMIDIO_URL . '/adm_program/installation/installation.php ' , array ('step ' => 'start_installation ' )));
173- $ form ->addSubmitButton (
174+ $ form ->addButton (
174175 'next_page ' ,
175176 $ gL10n ->get ('INS_INSTALL_ADMIDIO ' ),
176- array ('icon ' => 'fa-sync ' )
177+ array ('icon ' => 'fa-sync ' , ' class ' => ' btn-primary admidio-margin-bottom ' )
177178 );
178179} else {
179180 // if user doesn't has write access then create a page with a download link for the config file
191192 $ gL10n ->get ('INS_DOWNLOAD_CONFIGURATION_FILE ' ),
192193 array ('icon ' => 'fa-download ' , 'link ' => SecurityUtils::encodeUrl (ADMIDIO_URL . '/adm_program/installation/installation.php ' , array ('step ' => 'download_config ' )))
193194 );
194- $ form ->addSubmitButton (
195+ $ form ->addButton (
195196 'next_page ' ,
196197 $ gL10n ->get ('INS_INSTALL_ADMIDIO ' ),
197- array ('icon ' => 'fa-sync ' )
198+ array ('icon ' => 'fa-sync ' , ' class ' => ' btn-primary admidio-margin-bottom ' )
198199 );
199200}
200201
You can’t perform that action at this time.
0 commit comments