Exemple #1
0
          <script>

              // Replace the <textarea id="editor1"> with a CKEditor
              // instance, using default configuration.
              CKEDITOR.replace( 'editor1', {
                  "extraPlugins": "imagebrowser",
                  "imageBrowser_listUrl": "../../../../images_list.json"
              });
          </script>
          <div class="sep"></div>
          <button class="btn btn-default btn-lg" type="submit" name="ok"><span class="glyphicon glyphicon-save"></span> Enregistrer</button>
        </form>

        <?php 
if (isset($_POST['ok'])) {
    $bio->setBio($_POST['editor1']);
}
?>
	  	</div>
	    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	    <script src="js/jquery.min.js"></script>
	    <!-- Include all compiled plugins (below), or include individual files as needed -->
	    <script src="style/bootstrap/js/bootstrap.min.js"></script>
      <script src="js/index.js"></script>
  </div>
  <div class="footer">
    <div class="container">
      <div class="col-md-12 padd">
        <div class="col-md-8">
	       <a href="https://github.com/Padow/gallery-photo" target="_blank">Github</a>
        </div>