hubzila6
This commit is contained in:
@@ -120,10 +120,10 @@ if(file_exists('view/theme/ussrbasicpub/css/style.css')) {
|
||||
$x .= $schemecss;
|
||||
}
|
||||
|
||||
$aside_width = 288;
|
||||
$left_aside_width = 288;
|
||||
$right_aside_width = 288;
|
||||
|
||||
// left aside and right aside are 285px + converse width
|
||||
$main_width = (($aside_width * 2) + intval($converse_width));
|
||||
$main_width = $left_aside_width + $right_aside_width + intval($converse_width);
|
||||
|
||||
// prevent main_width smaller than 768px
|
||||
$main_width = (($main_width < 768) ? 768 : $main_width);
|
||||
@@ -150,7 +150,8 @@ if(file_exists('view/theme/ussrbasicpub/css/style.css')) {
|
||||
'$pmenu_top' => $pmenu_top,
|
||||
'$pmenu_reply' => $pmenu_reply,
|
||||
'$main_width' => $main_width,
|
||||
'$aside_width' => $aside_width
|
||||
'$left_aside_width' => $left_aside_width,
|
||||
'$right_aside_width' => $right_aside_width
|
||||
);
|
||||
|
||||
echo str_replace(array_keys($options), array_values($options), $x);
|
||||
@@ -159,5 +160,5 @@ if(file_exists('view/theme/ussrbasicpub/css/style.css')) {
|
||||
|
||||
// Set the schema to the default schema in derived themes. See the documentation for creating derived themes how to override this.
|
||||
|
||||
// if(local_channel() && App::$channel && App::$channel['channel_theme'] != 'ussrbasicpub')
|
||||
// set_pconfig(local_channel(), 'ussrbasicpub', 'schema', '---');
|
||||
if(local_channel() && App::$channel && App::$channel['channel_theme'] != 'ussrbasicpub')
|
||||
set_pconfig(local_channel(), 'ussrbasicpub', 'schema', '---');
|
||||
|
||||
@@ -2,15 +2,13 @@
|
||||
|
||||
/**
|
||||
* * Name: Ussrbasicpub
|
||||
* * Description: 2 column theme with special informative navbar
|
||||
* * Version: 4.4.2
|
||||
* * MinVersion: 3.8
|
||||
* * MaxVersion: 6.0
|
||||
* * Description: ussr.win 2 column pub based on Hubzilla standard theme
|
||||
* * Version: 2.1
|
||||
* * MinVersion: 5.9
|
||||
* * MaxVersion: 7.0
|
||||
* * Author: Fabrixxm
|
||||
*/
|
||||
|
||||
function ussrbasicpub_init(&$a) {
|
||||
|
||||
App::$theme_info['extends'] = 'redbasic';
|
||||
|
||||
}
|
||||
|
||||
@@ -13,5 +13,3 @@ head_add_js('/library/bootbox/bootbox.min.js');
|
||||
head_add_js('/library/bootstrap-tagsinput/bootstrap-tagsinput.js');
|
||||
head_add_js('/library/datetimepicker/jquery.datetimepicker.js');
|
||||
head_add_js('/library/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js');
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user