First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
require_once("include/globals.php");
|
||||
include("phpdir.php");
|
||||
|
||||
// Ensure that only valid user types have access to this module
|
||||
$AllowedUserTypes = array('SuperUser','System Administrator','Application Administrator','Communications Administrator');
|
||||
if (checkPermission($AllowedUserTypes) != 1) {
|
||||
$error_message = getLanguageText('ERRORMSG-ACCESS-DENIED');
|
||||
$action = '';
|
||||
$naction = '';
|
||||
header("Location: /?action=$action&naction=$naction$headerArgs&form_message=" . urlencode($form_message) . "&error_message=" . urlencode($error_message));
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
$content = str_replace("admin/","",$content);
|
||||
|
||||
?>
|
||||
<link href="summernote/summernote-lite.min.css" rel="stylesheet">
|
||||
<script language="JavaScript" type="text/javascript" src="summernote/summernote-lite.min.js"></script>
|
||||
<script src="summernote/summernote-image-attributes.js"></script>
|
||||
<script src="summernote/lang/en-us.js"></script>
|
||||
<center>
|
||||
<form action="/" method="post">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="6">
|
||||
<tr>
|
||||
<td align='left' valign="top">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td align="right" width="15%"><?php displayLanguageText('TEXT-PAGE'); ?>: </td>
|
||||
<td align="left" width="85%"><input type="text" name="content_id" value="<?php echo("$content_id"); ?>" size="80" readonly></td>
|
||||
</tr>
|
||||
<input type="hidden" name="record_num" value="<?php echo($record_num); ?>">
|
||||
<input type="hidden" name="action" value="content">
|
||||
<input type="hidden" name="naction" value="<?php echo($next_naction); ?>">
|
||||
<input type="hidden" name="content_type" value="C">
|
||||
<tr>
|
||||
<td colspan="2" align="left">
|
||||
<br>
|
||||
<textarea cols='150' rows='10' id='content' name='content' class='summernote'><?php echo($content) ?></textarea>
|
||||
<?php include "summernote.images.php" ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<p><input type="submit" class="btn btn--primary> btn btn-login" value="<?php displayLanguageText('RECORD-UPDATE-ENTRY'); ?>"></p>
|
||||
</form>
|
||||
</center>
|
||||
|
||||
Reference in new issue
Block a user