<form id="wordpress" action="#wordpress" method="post"> <input type="hidden" name="wordpress_settings_post" value="1"/> <fieldset class="personalblock"> <legend><strong>CloudPress</strong></legend> <?php if (isset($_POST['wordpress_settings_post'])) { ?> <script> $(document).ready(function(){ OC.Notification.show(t('files_etherpad', <?php $wp_instance = new OC_wordpress(); if ($wp_instance->connectdb()) { ?> t('user_wordpress', 'Connection to WP database successfully established !')<?php } else { ?> t('user_wordpress', 'Error while connecting to WP database !')<?php } ?> )); }); </script> <?php } ?> <strong>WordPress</strong> <blockquote> <p> <label for="wordpress_url"><?php echo $l->t('Wordpress URL'); ?>