Removed obsolete language specification from <script>
This commit is contained in:
parent
10d47409ad
commit
ac53fe52de
@ -215,7 +215,7 @@ class PoolsTheme extends Themelet {
|
|||||||
|
|
||||||
if($user->id == $pool['user_id'] || $user->is_admin()){
|
if($user->id == $pool['user_id'] || $user->is_admin()){
|
||||||
$editor .= "
|
$editor .= "
|
||||||
<script language='javascript' type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
<!--
|
<!--
|
||||||
function confirm_action() {
|
function confirm_action() {
|
||||||
return confirm('Are you sure that you want to delete this pool?');
|
return confirm('Are you sure that you want to delete this pool?');
|
||||||
@ -232,7 +232,7 @@ class PoolsTheme extends Themelet {
|
|||||||
|
|
||||||
if($check_all) {
|
if($check_all) {
|
||||||
$editor .= "
|
$editor .= "
|
||||||
<script language='javascript' type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
<!--
|
<!--
|
||||||
function setAll(value) {
|
function setAll(value) {
|
||||||
$('[name=\"check[]\"]').attr('checked', value);
|
$('[name=\"check[]\"]').attr('checked', value);
|
||||||
@ -258,7 +258,7 @@ class PoolsTheme extends Themelet {
|
|||||||
|
|
||||||
$this->display_top($pool, "Importing Posts", true);
|
$this->display_top($pool, "Importing Posts", true);
|
||||||
$pool_images = "
|
$pool_images = "
|
||||||
<script language='javascript' type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
<!--
|
<!--
|
||||||
function confirm_action() {
|
function confirm_action() {
|
||||||
return confirm('Are you sure you want to add selected posts to this pool?');
|
return confirm('Are you sure you want to add selected posts to this pool?');
|
||||||
|
@ -262,7 +262,7 @@ class Setup extends Extension {
|
|||||||
$full = (@$_SERVER["HTTPS"] ? "https://" : "http://") . $host . $_SERVER["PHP_SELF"];
|
$full = (@$_SERVER["HTTPS"] ? "https://" : "http://") . $host . $_SERVER["PHP_SELF"];
|
||||||
$test_url = str_replace("/index.php", "/nicetest", $full);
|
$test_url = str_replace("/index.php", "/nicetest", $full);
|
||||||
|
|
||||||
$nicescript = "<script language='javascript'>
|
$nicescript = "<script type='text/javascript'>
|
||||||
function getHTTPObject() {
|
function getHTTPObject() {
|
||||||
if (window.XMLHttpRequest){
|
if (window.XMLHttpRequest){
|
||||||
return new XMLHttpRequest();
|
return new XMLHttpRequest();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user