mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 01:54:12 +02:00
Fixes #4737 Removal of type="text/javascript" and type="text/css"
This commit is contained in:
@@ -622,7 +622,7 @@ e107::css('inline',"
|
||||
|
||||
/*
|
||||
echo "
|
||||
<script type=\"text/javascript\">
|
||||
<script>
|
||||
function addtext1(sc){
|
||||
document.getElementById('wmform').guestrules.value += sc;
|
||||
}
|
||||
|
@@ -1150,7 +1150,7 @@ class forum_post_handler
|
||||
{
|
||||
if ($fp->flood('forum_thread', 'thread_datestamp') == false && !ADMIN)
|
||||
{
|
||||
echo "<script type='text/javascript'>document.location.href='".e_BASE."index.php'</script>\n";
|
||||
echo "<script>document.location.href='".e_BASE."index.php'</script>\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
@@ -457,7 +457,7 @@ function init()
|
||||
echo $forum_view_start . $forum_view_forum . $forum_view_end;
|
||||
}
|
||||
|
||||
echo "<script type=\"text/javascript\">
|
||||
echo "<script>
|
||||
function confirm_(thread_id)
|
||||
{
|
||||
return confirm(" . $tp->toJSON(LAN_JSCONFIRM) . ");
|
||||
|
@@ -393,7 +393,7 @@ else
|
||||
|
||||
// end -------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
echo "<script type=\"text/javascript\">
|
||||
echo "<script>
|
||||
function confirm_(mode, forum_id, thread_id, thread) {
|
||||
if (mode == 'Thread') {
|
||||
return confirm(" . $tp->toJSON(LAN_FORUM_2009) . ");
|
||||
|
@@ -1082,7 +1082,7 @@ class plugin_forum_view_shortcodes extends e_shortcode
|
||||
<span id='forum-track-trigger-container'>
|
||||
<a class='btn btn-default btn-sm btn-small e-ajax' data-target='forum-track-trigger' href='{$url}' id='forum-track-trigger'>{$img}</a>
|
||||
</span>
|
||||
<script type='text/javascript'>
|
||||
<script>
|
||||
e107.runOnLoad(function(){
|
||||
$('forum-track-trigger').observe('click', function(e) {
|
||||
e.stop();
|
||||
|
Reference in New Issue
Block a user