Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
This commit is contained in:
commit
6481722fd9
9
boot.php
9
boot.php
@ -608,13 +608,15 @@ function sys_boot() {
|
|||||||
|
|
||||||
|
|
||||||
if(! defined('DEFAULT_PLATFORM_ICON')) {
|
if(! defined('DEFAULT_PLATFORM_ICON')) {
|
||||||
define( 'DEFAULT_PLATFORM_ICON', '/images/rm-32.png' );
|
define( 'DEFAULT_PLATFORM_ICON', '/images/hz-32.png' );
|
||||||
}
|
}
|
||||||
|
|
||||||
if(! defined('DEFAULT_NOTIFY_ICON')) {
|
if(! defined('DEFAULT_NOTIFY_ICON')) {
|
||||||
define( 'DEFAULT_NOTIFY_ICON', '/images/rm-32.png' );
|
define( 'DEFAULT_NOTIFY_ICON', '/images/hz-white-64.png' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
App::head_set_icon(DEFAULT_PLATFORM_ICON);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Try to open the database;
|
* Try to open the database;
|
||||||
*/
|
*/
|
||||||
@ -945,8 +947,6 @@ class App {
|
|||||||
self::$is_mobile = $mobile_detect->isMobile();
|
self::$is_mobile = $mobile_detect->isMobile();
|
||||||
self::$is_tablet = $mobile_detect->isTablet();
|
self::$is_tablet = $mobile_detect->isTablet();
|
||||||
|
|
||||||
self::head_set_icon(DEFAULT_PLATFORM_ICON);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* register template engines
|
* register template engines
|
||||||
*/
|
*/
|
||||||
@ -2448,4 +2448,3 @@ function observer_prohibited($allow_account = false) {
|
|||||||
return (((get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) ? true : false );
|
return (((get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) ? true : false );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -455,8 +455,10 @@
|
|||||||
window.editor.on("input", function() {
|
window.editor.on("input", function() {
|
||||||
$('#save-page').removeClass('disabled');
|
$('#save-page').removeClass('disabled');
|
||||||
});
|
});
|
||||||
|
{{if $mimeType == 'text/bbcode'}}
|
||||||
window.editor.bbco_autocomplete('bbcode');
|
window.editor.bbco_autocomplete('bbcode');
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
});
|
});
|
||||||
|
|
||||||
$(window).resize(function () {
|
$(window).resize(function () {
|
||||||
|
Reference in New Issue
Block a user