Version 4.5.0
This commit is contained in:
1 parent
1a0c7fd3c2
commit
f79dcf067a
3791 files changed
+248032
-76372
No files matched your search
@@ -47,8 +47,8 @@
|
||||
var maxWidthElem = document.querySelector('[data-embedInfo-maxSize]');
|
||||
|
||||
if( maxWidthElem ){
|
||||
_embedMaxWidth = parseInt( maxWidthElem.getAttribute('data-embedInfo-maxSize') );
|
||||
maxWidthElem.style.maxWidth = _embedMaxWidth + "px";
|
||||
_embedMaxWidth = maxWidthElem.getAttribute('data-embedInfo-maxSize');
|
||||
maxWidthElem.style.maxWidth = ( maxWidthElem.getAttribute('data-embedInfo-maxSize').indexOf('%') == -1 ) ? parseInt( _embedMaxWidth ) + "px" : _embedMaxWidth + '%';
|
||||
}
|
||||
|
||||
// Check for any truncated text
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
|
||||
define('REPORT_EXCEPTIONS', TRUE);
|
||||
require_once '../../../../init.php';
|
||||
\IPS\Dispatcher\External::i();
|
||||
|
||||
function loadResource ($url)
|
||||
{
|
||||
@@ -36,7 +35,7 @@ if ( \IPS\Request::i()->src )
|
||||
continue;
|
||||
}
|
||||
|
||||
$src = str_replace( '../', '../', $src );
|
||||
$src = str_replace( array( '../', '..\\' ), array( '../', '..\\' ), $src );
|
||||
$exploded = explode( '/', $src );
|
||||
$app = array_shift( $exploded );
|
||||
$location = array_shift( $exploded );
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
define('REPORT_EXCEPTIONS', TRUE);
|
||||
require_once '../../../../init.php';
|
||||
|
||||
$langId = intval( \IPS\Request::i()->langId );
|
||||
$langId = \intval( \IPS\Request::i()->langId );
|
||||
$_lang = array();
|
||||
|
||||
foreach ( \IPS\Db::i()->select( '*', 'core_sys_lang_words', array( 'lang_id=? AND word_js=?', $langId, TRUE ) ) as $row )
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 137 B |
Reference in new issue
Block a user