| 123456789101112131415161718192021222324252627282930313233 |
- <?php
- /*
- * Made by DFiNE (Kenneth Hedahl)
- * Copyright DIS (www.dfine.net)
- * -----------------------------
- */
-
- mb_internal_encoding("utf-8"); // Internal encoding set to UTF-8, should fix some charset issues.
-
- session_start(); // Start PHP session, so we can handle session-data on all pages.
-
- require_once("../include.php"); // Our includes.
-
- if (isset($_SESSION['user'])) {
- if (User::checkLevel("75")) {
- ?>
-
- tinymce.init({
- selector: '.editor',
- plugins: 'image',
- toolbar: "undo redo | styleselect | bold italic | image | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent",
- menubar: false,
- image_list: [
- {title: 'My image 1', value: 'https://www.tinymce.com/my1.gif'},
- {title: 'My image 2', value: 'http://www.moxiecode.com/my2.gif'}
- ],
- height: '400px'
- });
-
-
- <?php
- }
- }
|