fixed logo

This commit is contained in:
2021-07-28 01:06:05 +02:00
parent c90756db39
commit 488e934325
65 changed files with 6080 additions and 3267 deletions

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package Open Source Social Network
* @author Open Social Website Core Team <info@softlab24.com>
* @copyright 2014-2018 SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$attr = array(

View File

@@ -0,0 +1,24 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
*/
if(!ossn_loggedin_user()){
return;
}
?>
<div class="newseed-uinfo1">
<a id="sidebar-toggle" data-toggle="0" role="button" data-target="#" style="cursor: context-menu;">
<img src="<?php echo ossn_loggedin_user()->iconURL()->small; ?>"/>
</a>
<div class="name">
<a href="<?php echo ossn_loggedin_user()->profileURL(); ?>"><?php echo ossn_loggedin_user()->fullname; ?></a>
<a class="edit-profile" href="<?php echo ossn_loggedin_user()->profileURL('/edit'); ?>">
<?php echo ossn_print('edit:profile'); ?></a>
</div>
</div>

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package Open Source Social Network
* @author Open Social Website Core Team <info@softlab24.com>
* @copyright 2014-2018 SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$count = 12;

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$friend = $params['entity'];
?>

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$friend = $params['entity'];
if ($friend->isOnline(10)) {

View File

@@ -432,17 +432,18 @@ and (min-width : 1360px) {
position: fixed;
min-height: 500px;
width: 80px;
border-left: 1px solid #333;
border-left: 0;
bottom: 0px;
right: 0;
top: 0;
background: #333;
top: 70px;
background: rgba (10,10,10,.6);
backdrop-filter: blur(6px);
display: block;
}
.ossn-chat-windows-long .inner {
margin-top: 45px;
border-top: 1px solid #ccc;
margin-top: 6px;
border-top: 0;
overflow-x: hidden;
overflow-y: auto;
}

View File

@@ -1,70 +1,137 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
*/
?>
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
*/
body {
font-family: 'Roboto Slab', serif;
background:#333;
color:#eee;
}
.logo {
::-webkit-scrollbar {
width:0px
}
::-webkit-scrollbar-track {
background-color:#0000;
border-left:0px
}
::-webkit-scrollbar-thumb {
background-color:#0000
}
::-webkit-scrollbar-thumb:hover {
background-color:#0000
}
.logo {}
.panel-group .panel {
margin-bottom: 0;
border-radius: 4px
}
.margin-top-10 {
margin-top: 10px
}
.panel-default {
border-color: #0000}
.panel {
margin-bottom: 20px;
background-color: #2222;
border: 0px solid #000;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05)
}
.panel-default>.panel-heading {
color: #eee;
background-color: #0000;
border-color: #0000;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
padding: 8px;
line-height: 1.42857143;
vertical-align: top;
border-top: 0px solid #000000;
}
.header {
height: 70px;
color:#fff;
background: #3D3D3D;
position:fixed;
z-index:2000;
height:118px;
color:#fff;
width:100%;
z-index:1000;
background: #222;
}
.navbar-default {
background-color:#000000a1;
border-color: #0000;
border-top-left-radius:0px;
border-bottom-left-radius:20px;
border-bottom-right-radius:20px;
border-top-right-radius:0px;
}
.menu-topbar-admin-support{
display: none !important ;
}
.menu-topbar-admin-help {
display: none !important ;
}
.topbar-menu li{
align:center!important;
}
.header .container {
padding-top: 15px;
padding-top: 10px;
}
.header-dropdown {
text-align:right;
margin-top: -50px !important;
text-align: right;
padding-right: 45px;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
padding-left: 14%;
}
.header-dropdown .navbar-right {
margin-right:initial;
}
.header-dropdown a i{
color:#fff;
font-size: 30px;
padding-top: 5px;
margin-top: -30px!important;
font-size: 30px;
}
.topbar-menu {
position:fixed;
right:70px;
left:70px;
top:118px!important;
z-index:2;
opacity:0.9;
}
.ossn-layout-admin {
margin-top: 140px;
}
select,
input[type="password"],
input[type="text"],
textarea {
color: #333;
font-size: 13px;
border: 1px solid #eee;
border-radius: 2px;
-webkit-border-radius: 2px;
display:block;
-moz-border-radius: 2px;
-o-border-radius: 2px;
outline: none;
padding: 12px 14px;
width:100%;
margin-bottom: 10px;
color: #333;
font-size: 13px;
border: 0px solid #eee;
border-radius: 5px;
-webkit-border-radius: 5px;
display:block;
-moz-border-radius: 5px;
-o-border-radius: 5px;
outline: none;
padding: 12px 14px;
width:100%;
margin-bottom: 10px;
transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-webkit-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-webkit-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out
}
input[type="search"]:focus,
input[type="text"]:focus,
textarea:focus {
@@ -72,65 +139,67 @@ textarea:focus {
box-shadow: 0 0 3px #eee;
-o-box-shadow: 0 0 3px #eee;
-moz-box-shadow: 0 0 3px #eee;
-webkit-box-shadow: 0 0 3px #eee;
-webkit-box-shadow: 0 0 3px #eee;
text-decoration:none!important
}
input[type="submit"] {
display:inherit;
}
label {
font-size: 16px;
color: #000;
color: #eee;
font-weight: 300;
cursor: pointer;
display:block;
display:block;
}
.dropdown-submenu {
position: relative;
z-index:9999;
position: relative;
}
.dropdown-submenu>.dropdown-menu {
top: 0;
left: 100%;
margin-top: -6px;
margin-left: -1px;
-webkit-border-radius: 0 6px 6px 6px;
-moz-border-radius: 0 6px 6px;
border-radius: 0 6px 6px 6px;
left: 100%;
margin-top: -6px;
margin-left: -1px;
-webkit-border-radius: 0 6px 6px 6px;
-moz-border-radius: 0 6px 6px;
border-radius: 0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
display: block;
display: block;
}
.dropdown-submenu>a:after {
display: block;
content: " ";
float: right;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
border-width: 5px 0 5px 5px;
border-left-color: #ccc;
margin-top: 5px;
margin-right: -10px;
display: block;
content: " ";
float: right;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
border-width: 5px 0 5px 5px;
border-left-color: #ccc;
margin-right: -10px;
}
.dropdown-submenu:hover>a:after {
border-left-color: #fff;
border-left-color: #fff;
}
.dropdown-submenu.pull-left {
float: none;
float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
left: -100%;
margin-left: 10px;
-webkit-border-radius: 6px 0 6px 6px;
-moz-border-radius: 6px 0 6px 6px;
border-radius: 6px 0 6px 6px;
left: -100%;
margin-left: 10px;
-webkit-border-radius: 6px 0 6px 6px;
-moz-border-radius: 6px 0 6px 6px;
border-radius: 6px 0 6px 6px;
}
.ossn-system-messages {
margin-top: 10px;
@@ -139,27 +208,24 @@ label {
margin-bottom:10px;
}
.topbar-menu li a i{
margin-left: 5px;
float: right;
margin-left: 5px;
float: right;
}
.page-title {
background-color: #f8f8f8;
border: 1px solid #e7e7e7;
padding: 10px;
font-weight: 700;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
text-transform: uppercase;
margin-bottom:10px;
font-size: 20px;
border-bottom: 5px solid #222f;
padding-bottom: 10px;
margin-bottom: 10px;
text-transform: uppercase;
}
.page-botton-notice {
margin-top:10px;
margin-top:10px;
}
.no-right-margins {
margin-right:0px;
}
.ossn-form div:not('.ossn-editor') {
margin-top:10px;
margin-top:100px;
}
.margin-top-10 {
margin-top:10px;
@@ -177,20 +243,21 @@ label {
text-align:right;
}
.ossn-users-list .image {
margin-top: 1px;
margin-top: 1px;
}
.ossn-users-list .name {
margin-left: 42px;
margin-top: 2px;
min-height: 30px;
max-width: 160px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-left: 42px;
margin-top: 2px;
min-height: 30px;
max-width: 160px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.table-titles {
background: #f8f8f8;
background: #222;
}
.block {
display:block;
}
@@ -204,61 +271,64 @@ label {
height:230px;
}
.admin-dashboard-item canvas {
padding: 14px;
padding: 14px;
}
.admin-dashboard-box {
min-height:200px;
background:#222e;
border-radius:20px;
}
.admin-dashboard-title {
background-color: #f8f8f8;
border: 1px solid #e7e7e7;
padding: 10px;
font-weight: 700;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
padding: 20px;
background:#0000;
}
.admin-dashboard-contents .text {
font-size: 40px;
padding: 74px;
color:#747474;
font-size: 40px;
padding: 74px;
color:#747474;
}
.admin-dashboard-contents {
padding: 10px;
border-bottom: 1px solid #e7e7e7;
border-left: 1px solid #e7e7e7;
border-right: 1px solid #e7e7e7;
max-height:250px;
margin-bottom: 15px;
padding: 10px;
border-bottom: 0px solid #000;
border-left: 0px solid #000;
border-right: 0px solid #000;
max-height:250px;
margin-bottom: 15px;
}
footer {
margin-top: 20px;
border-top: 1px solid #E5E5E5;
padding-bottom: 20px;
padding: 10px;
margin-top: 20px;
border-top: 0px solid #E5E5E5;
padding-bottom: 20px;
padding: 10px;
}
footer a {
text-transform: uppercase;
text-transform: uppercase;
}
.charjs-legend {
text-align:center;
}
.charjs-legend .title {
display: inline-block;
margin-bottom: 0.5em;
line-height: 1.2em;
display: inline-block;
margin-bottom: 0.5em;
line-height: 1.2em;
margin-left:10px;
padding: 0 0.3em;
padding: 0 0.3em;
}
.charjs-legend .color-sample {
display: block;
float: left;
width: 1em;
height: 1em;
border: 2px solid;
border-radius: 0.5em;
margin-right: 0.5em;
display: block;
float: left;
width: 1em;
height: 1em;
border: 0px solid;
border-radius: 0.5em;
margin-right: 0.5em;
}
.center {
text-align:center;
@@ -268,62 +338,156 @@ footer a {
}
.loading-version {
background:url('<?php echo ossn_theme_url(); ?>images/loading.gif') no-repeat;
width:24px;
height:24px;
margin: 0 auto;
width:24px;
height:24px;
margin: 0 auto;
}
.component-title-icon{
font-size: 20px !important;
font-size: 20px !important;
}
.component-title-check {
color: #147B25;
color: #147B25;
}
.component-title-delete {
color:#E70F0F;
}
.components-list-buttons a {
margin-right: 10px;
margin-right: 10px;
}
.components-list-buttons a i{
margin-right: 5px;
margin-right: 5px;
}
.radio-block {
margin-top:10px;
margin-bottom:10px;
margin-bottom:10px;
}
.radio-block span {
margin-left:5px;
font-weight:bold;
font-weight:bold;
}
.ui-datepicker-year,
.ui-datepicker-month {
padding: 0px;
display: inline-block;
padding: 0px;
display: inline-block;
}
.admin-dashboard-box-small {
min-height:100px;
.btn-primary,.btn {
background-color: #111;
border:0px transparent !important;
color:#555;
outline:none;
border-radius: 2px;
padding: 4px 8px;
text-decoration:none;
}
.admin-dashboard-contents-small {
max-height: 100px;
.btn:focus, .btn-link:hover, .btn-primary:hover, .btn.active, .btn-link:focus, .btn:active {
outline:none !important;
background-color: #333;
border:0px solid #000;
color: #c5ff00;
border-radius: 2px;
padding: 4px 8px;
text-decoration:none;
}
.admin-dashboard-contents-small .text {
padding:10px;
}
.navbar-default {
background-color: #585858;
border-color: #6f6f6f;
border-radius: 0;
border:0;
.btn:focus::after, .btn-link:hover::after, .btn-primary:hover::after, .btn.active::after, .btn-link:focus::after, .btn:active::after {
content: '';
position: absolute;
width: 100%;
height: 1px;
color: #c5ff00;
bottom: 0.5vw;
left: 0;
border:0px transparent !important;
opacity: 0;
transition: all 0.25s ease-out;
}
.navbar-default .navbar-nav>li>a {
color:#fff;
.btn:after, .btn-link:after, .btn-primary:after, .btn.active:after {
color: #c5ff00;
text-decoration:none;
opacity: 1;
transform: scaleX(0.5);
outline:none !important;
border:0px transparent !important;
color: #c5ff00;
border-radius: 2px;
text-decoration:none;
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
color: #f1f1f1;
background-color: transparent;
a:hover,
a:focus {
outline: none;
color: #c5ff00!important;
text-decoration:none;
opacity: 1;
}
@media (max-width: 480px) {
.topbar-menu .nav li {
padding-left: 15px;
}
.navbar-default .navbar-nav>li>a a:hover,
a:focus{
color: #c5ff00 !important;
opacity: 1;
}
a {
color: #555;
text-decoration:none;
pointer-events: auto;
cursor: pointer;
}
a:hover::after,
a:focus::after {
color: #c5ff00;
opacity: 1;
}
a::after {
content: '';
position: absolute;
width: 100%;
height: 1px;
bottom: 0.5vw;
left: 0;
opacity: 0;
transition: all 0.25s ease-out;
}
.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
display: none;
float: left;
min-width: 160px;
padding: 5px 0;
margin: 2px 0 0;
font-size: 14px;
text-align: left;
list-style: none;
background-color: #111!important;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border: 0px solid #ccc;
border: 0px solid rgba(0,0,0,.15);
border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
border-color: #000000!important;
}
.navbar-default .navbar-nav>.open>a {
color: #999;
background-color: #111;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
color: #c5ff00;
opacity: 1;
background-color: #000;
}
.dropdown-menu>li>a:hover {
background-color: #000;
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,20 @@
<fieldset class="titleform">
<div class="alert alert-warning">
<?php echo ossn_print('theme:atlas:browsercache');?>
</div>
<div>
<label><?php echo ossn_print('theme:atlas:logo:site');?> (450x90 - 500 KB PNG) </label>
<input type="file" name="logo_site" />
<div class="logo-container-atlas">
<img src="<?php echo ossn_theme_url();?>images/logo_animated.svg" width="50px" />
</div>
</div>
<div>
<label><?php echo ossn_print('theme:atlas:logo:admin');?> (180x45 - 500 KB JPG)</label>
<input type="file" name="logo_admin" />
<div class="logo-container-atlas">
<img src="<?php echo ossn_theme_url();?>images/logo_animated.svg" width="50px"/>
</div>
</div>
<input type="submit" class="btn btn-success btn-sm" value="<?php echo ossn_print('save');?>"/>
</fieldset>

View File

@@ -1,8 +1,10 @@
//<script>
$(document).ready(function() {
$('[data-toggle="tooltip"]').tooltip({
placement:'left',
});
//duplicate tooltips in opened left menu #5
$('.sidebar [data-toggle="collapse"]').each(function(){
$text = $(this).text();
@@ -14,11 +16,12 @@ $(document).ready(function() {
$text = $(this).text();
$(this).parent().attr('title', $text);
//Sidebar links isn't working as its not actually type of 'a' #4
$(this).parent().attr('data-href-flexi', $href);
$(this).parent().attr('data-href-atlas', $href);
$(this).parent().tooltip();
});
//same as $FlexiSidebarToggle only revert toogle == 0, toogel = 1 (if)
$FlexiSidebarToggleRotate = function(){
//same as $atlasSidebarToggle only revert toogle == 0, toogel = 1 (if)
$atlasSidebarToggleRotate = function(){
var $toggle = $('#sidebar-toggle').attr('data-toggle');
if ($toggle == 1) {
$('#sidebar-toggle').attr('data-toggle', 1);
@@ -38,7 +41,6 @@ $(document).ready(function() {
if ($toggle == 0) {
$('#sidebar-toggle').attr('data-toggle', 0);
$('[data-toggle="tooltip"]').tooltip('disable');
$('.sidebar').removeClass('sidebar-open');
$('.sidebar').removeClass('sidebar-open-no-annimation');
@@ -55,9 +57,9 @@ $(document).ready(function() {
var document_height = $(document).height();
$(".sidebar").height(document_height);
};
$FlexiSidebarToggleRotate();
$atlasSidebarToggleRotate();
$FlexiSidebarToggle = function(){
$atlasSidebarToggle = function(){
var $toggle = $('#sidebar-toggle').attr('data-toggle');
if ($toggle == 0) {
$('#sidebar-toggle').attr('data-toggle', 1);
@@ -70,7 +72,7 @@ $(document).ready(function() {
$('.sidebar').addClass('sidebar-open');
$('.sidebar').removeClass('sidebar-close');
$('.ossn-page-container').addClass('sidebar-open-page-container');
}
}
$('.topbar .right-side').addClass('right-side-space');
$('.topbar .right-side').addClass('sidebar-hide-contents-xs');
$('.ossn-inner-page').addClass('sidebar-hide-contents-xs');
@@ -96,11 +98,16 @@ $(document).ready(function() {
$(".sidebar").height(document_height);
};
$(window).on('orientationchange', function(){
$FlexiSidebarToggleRotate();
$atlasSidebarToggleRotate();
});
$(document).on('click', '#sidebar-toggle', function(){
$FlexiSidebarToggle();
$atlasSidebarToggle();
});
var $chatsidebar = $('.ossn-chat-windows-long .inner');
if($chatsidebar.length){
$chatsidebar.css('height', $(window).height() - 45);
@@ -119,14 +126,14 @@ $(document).ready(function() {
}
}
});
if($(document).innerWidth() >= 1300){
if($(document).innerWidth() >= 100){
$('#sidebar-toggle').click();
$('#sidebar-toggle').click();
}
//Sidebar links isn't working as its not actually type of 'a' #4
$("body").on('click', '.sidebar-menu .menu-content .sub-menu li', function(e){
e.stopPropagation();
$data = $(this).attr('data-href-flexi');
$data = $(this).attr('data-href-atlas');
if(e.target !== e.currentTarget) return;
if($data == 'javascript:void(0);'){
$(this).find('a').click();
@@ -138,3 +145,45 @@ $(document).ready(function() {
$(document).ready(function() {
$(".ossn-page-loading-annimation").fadeOut("slow");
});
$(window).on('load resize', function () {
if (document.querySelector("#draggable")) {
if (($('.ossn-group-cover').height() + $('.profile-cover').height()) < 481) {
// we're on mobile and have a group cover image
const desktop_cover_width = 1040;
const desktop_cover_height = 200;
var mobile_cover_height = $('.ossn-group-cover').height() + $('.profile-cover').height();
var real_image_width = document.querySelector("#draggable").naturalWidth;
var real_image_height = document.querySelector("#draggable").naturalHeight;
// 1. how many mobile heights would we need to hold the image?
var mobile_height_factor = real_image_height / mobile_cover_height;
// 2. how many pixels wide would be the scaled mobile image in comparison to fix desktop_cover_width?
var mobile_pixel_width = desktop_cover_width / mobile_height_factor;
// 3. how often would these pixels fit into the current coverwidth?
var current_cover_width = $('.ossn-group-cover').width() + $('.profile-cover').width();
var mobile_width_factor = current_cover_width / mobile_pixel_width;
// 4. how many pixels do we get with the current mobile cover height?
var mobile_pixel_height = mobile_width_factor * mobile_cover_height;
// setting the new height already here allows us to retrieve the new scaled image width calculated by the browser
$('#draggable').css('height', mobile_pixel_height);
mobile_pixel_width = parseInt($('#draggable').css('width'));
// 5. calculate the height-scaling factor for dragging - get maximum possible scroll top position
var desktop_scroll_top_max = real_image_height - desktop_cover_height;
var mobile_scroll_top_max = mobile_pixel_height - mobile_cover_height;
var height_scaling_factor = desktop_scroll_top_max / mobile_scroll_top_max;
// 6. calculate the width-scaling factor for dragging - get maximum possible scroll left position
var desktop_scroll_left_max = real_image_width - desktop_cover_width;
var mobile_scroll_left_max = mobile_pixel_width - current_cover_width;
var width_scaling_factor = desktop_scroll_left_max / mobile_scroll_left_max;
// 7. retrieve the saved dragging positions and scale accordingly
var cover_top = parseInt($('#draggable').data('top'));
var cover_left = parseInt($('#draggable').data('left'));
var mobile_pixel_top = cover_top / height_scaling_factor;
var mobile_pixel_left = cover_left / width_scaling_factor;
$('#draggable').css('top', mobile_pixel_top);
$('#draggable').css('left', mobile_pixel_left);
}
// don't display cover images before final scale and position is known
$('#draggable').fadeIn();
}
});

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
foreach ($params['menu'] as $key => $value) {
echo "<li><a href='javascript:void(0);' class='dropdown-toggle' data-toggle='dropdown'>" . $key . "<i class='fa fa-sort-desc'></i></a>";

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$entityextra = $params['menu'];
if($entityextra && ossn_isLoggedin()) {

View File

@@ -1,13 +1,8 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$menus = $params['menu'];
foreach($menus as $menu) {
foreach($menu as $link) {

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
echo '<ul>';
$i = 0;

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$menus = $params['menu'];
echo "<div class='ossn-menu-search'>";

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$menus = $params['menu'];
?>

View File

@@ -1,4 +1,4 @@
<div class="navbar navbar-default navbar-admin-second" role="navigation">
<div class="navbar navbar-default" role="navigation">
<div class="container">
<div class="row">
<div class="col-12">
@@ -9,7 +9,7 @@
<span class="icon-bar"></span>
</button>
<div class="collapse navbar-collapse" id="navigationbar">
<ul class="nav navbar-nav navbar-right">
<ul class="nav navbar-nav">
<?php echo ossn_view_admin_sidemenu(); ?>
</ul>
<ul class="nav navbar-nav">

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$menus = $params['menu'];
if($menus){

View File

@@ -1,32 +1,11 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
// get menu_width of profile menu
$menu_width = $params['menu_width'];
global $Ossn;
$ossnmenu = new OssnMenu;
$ossnmenu->sortMenu('user_timeline');
$params['menu'] = $Ossn->menu['user_timeline'];
echo '<ul>';
$i = 0;
$dropdown = false;
foreach($params['menu'] as $menu) {
if($menu_width != 1) {
// ignore string length in bootstrap xs mode
// and unconditionally display dropdown menu
$i = $i + mb_strlen(ossn_print($menu[0]['text']));
}
if($menu_width != 1 && $i <= $menu_width) {
if($i <= 10) {
foreach($menu as $name => $link) {
$class = "menu-user-timeline-" . $link['name'];
if(isset($link['class'])) {
@@ -40,18 +19,8 @@ foreach($params['menu'] as $menu) {
echo "<li>{$link}</li>";
}
} else {
if(!$dropdown) {
if($menu_width == 1) {
// special case for mobile devices
echo "<li class='dropdown'><a href='javascript:void(0);' data-toggle='dropdown' class='dropdown-toggle'>" . "<i class='fa fa-bars fa-2x'></i></a>
<ul class='dropdown-menu'>";
}
else {
echo "<li class='dropdown'><a href='javascript:void(0);' data-toggle='dropdown' class='dropdown-toggle'>" . ossn_print('more') . "<i class='fa fa-caret-down'></i></a>
<ul class='dropdown-menu'>";
}
$dropdown = true;
}
echo "<li class='dropdown'><a href='javascript:void(0);' data-toggle='dropdown' class='dropdown-toggle'>" . ossn_print('more') . "<i class='fa fa-caret-down'></i></a>
<ul class='dropdown-menu'>";
foreach($menu as $name => $link) {
$class = "menu-user-timeline-" . $link['name'];
if(isset($link['class'])) {
@@ -64,9 +33,9 @@ foreach($params['menu'] as $menu) {
$link = ossn_plugin_view('output/url', $link);
echo "<li>{$link}</li>";
}
echo "</ul>
</li>";
}
$i++;
}
if($dropdown) {
echo "</ul></li>";
}
echo '</ul>';
echo '</ul>';

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$users = $params['users'];
if (!isset($params['icon_size'])) {

View File

@@ -1,43 +1,56 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
*/
?>
<?php /*** Atlas ***/ ?>
<style>
.topbar{
display: none;
}
</style>
<div class="atlas-logo2 col-x-1 center-block" style="margin-bottom:10px; margin-top: -50px; z-index: 5000;"></div>
<div class="atlas-logo col-x-1 center-block" style="margin-bottom:10px;"></div>
<div class="row ossn-page-contents">
<div class="col-md-7 home-left-contents">
<?php
$contents = ossn_view_form('login2', array(
'id' => 'ossn-login',
'action' => ossn_site_url('action/user/login'),
));
echo ossn_plugin_view('widget/view', array(
'title' => ossn_print('site:login'),
'contents' => $contents,
));
echo ossn_plugin_view('widget/view', array(
'title' => ossn_print('flexi:latest:members'),
'contents' => ossn_plugin_view('flexi/members_widget', array('count' => 20))
));
?>
</div>
<div class="col-md-5">
<?php
$contents = ossn_view_form('signup', array(
'id' => 'ossn-home-signup',
'action' => ossn_site_url('action/user/register')
));
$heading = "<p>".ossn_print('its:free')."</p>";
echo ossn_plugin_view('widget/view', array(
'title' => ossn_print('create:account'),
'contents' => $heading.$contents,
));
?>
</div>
</div>
<?php
$error = input('error');
?>
<div class="row">
<div class="col-x-1 col-center" style="text-align: center;">
<?php if ($error == 1) { ?>
<div class="alert alert-danger">
<strong style="text-align: center;"><?php echo ossn_print('login:error'); ?></strong><br/>
<p style="text-align: center;"><?php echo ossn_print('login:error:sub'); ?></p>
</div>
<?php } ?>
<p></p><p></p>
<!-- <div class="col-m-12 center-block">
<p align="center">
<?php echo ossn_print('home:top:heading', array(ossn_site_settings('site_name'))); ?>
</p>
</div>-->
<div class="col-x-1 gulp">
<table class="atlas-table">
<tr><td>
<div id="one" >
<?php $contents = ossn_view_form('login2', array( 'id' => 'ossn-login', 'action' => ossn_site_url('action/user/login')));
echo ossn_plugin_view('widget/view', array( 'title' => ossn_print('site:login'), 'contents' => $contents));?>
</div>
<div id="two">
<?php $contents = ossn_view_form('signup', array('id' => 'ossn-home-signup','action' => ossn_site_url('action/user/register')));
$heading = "<p>".ossn_print('its:free')."</p>";
echo ossn_plugin_view('widget/view', array('title' => ossn_print('create:account'),'contents' =>
// $heading.
$contents));?></div></td></tr>
</table>
</div>
</div>

View File

@@ -0,0 +1,82 @@
<?php /*** Atlas ***/ ?>
<style>
.topbar{
display: none;
}
</style>
<div class="atlas-logo2 col-x-1 center-block" style="margin-bottom:10px; margin-top: -50px; z-index: 5000;"></div>
<div class="atlas-logo col-x-1 center-block" style="margin-bottom:10px;"></div>
<div class="row ossn-page-contents">
<?php
$error = input('error');
?>
<div class="row">
<div class="col-x-1 col-center" style="text-align: center;">
<?php if ($error == 1) { ?>
<div class="alert alert-danger">
<strong style="text-align: center;"><?php echo ossn_print('login:error'); ?></strong><br/>
<p style="text-align: center;"><?php echo ossn_print('login:error:sub'); ?></p>
</div>
<?php } ?>
<p></p><p></p>
<div class="col-m-12 center-block">
<p align="center">
<?php echo ossn_print('home:top:heading', array(ossn_site_settings('site_name'))); ?>
</p>
</div>
<div class="col-m-12 center-block mobile">
<table class="atlas-table">
<tr>
<td>
<?php $contents = ossn_view_form('login2', array( 'id' => 'ossn-login', 'action' => ossn_site_url('action/user/login')));
echo ossn_plugin_view('widget/view', array( 'title' => ossn_print('site:login'), 'contents' => $contents));?>
</td>
</tr>
</table>
</div>
<!-- <div class="col-m-12 center-block navegador">
<table class="atlas-table">
<td style="vertical-align: top;">
<?php $contents = ossn_view_form('login2', array( 'id' => 'ossn-login', 'action' => ossn_site_url('action/user/login')));
echo ossn_plugin_view('widget/view', array( 'title' => ossn_print('site:login'), 'contents' => $contents));?>
</td>
<td >
<?php $contents = ossn_view_form('signup', array( 'id' => 'ossn-home-signup', 'action' => ossn_site_url('action/user/register')));
// $heading = "<p>".ossn_print('its:free')."</p>";
echo ossn_plugin_view('widget/view', array( 'title' => ossn_print('create:account'), 'contents' =>
// $heading.
$contents));?>
</td>
</table>
</div>-->
<div class="col-m-12 center-block mobile">
<table class="atlas-table">
<tr>
<td>
<?php $contents = ossn_view_form('signup', array('id' => 'ossn-home-signup','action' => ossn_site_url('action/user/register')));
// $heading = "<p>".ossn_print('its:free')."</p>";
echo ossn_plugin_view('widget/view', array('title' => ossn_print('create:account'),'contents' =>
// $heading.
$contents));?>
</td>
</tr>
</table>
</div>
</div>

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$pages = range(1, $params['total']);
$args = $params['options'];

View File

@@ -0,0 +1,6 @@
<?php
echo ossn_view_form('atlas/settings', array(
'action' => ossn_site_url() . 'action/atlas/settings',
'class' => 'atlas-form-admin',
));

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$site_name = ossn_site_settings('site_name');
if (isset($params['title'])) {
@@ -26,7 +20,17 @@ if (isset($params['contents'])) {
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="<?php echo ossn_add_cache_to_url(ossn_theme_url().'images/favicon.ico');?>" type="image/x-icon" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="description" content="Red Social para triangulación por intereses.">
<meta name="author" content="a0110100110010110">
<link rel="icon" href="<?php echo ossn_add_cache_to_url(ossn_theme_url().'images/favicon.ico');?>" type="image/x-icon" />
<title><?php echo $title; ?></title>
<?php echo ossn_fetch_extend_views('ossn/endpoint'); ?>
@@ -49,54 +53,54 @@ if (isset($params['contents'])) {
</head>
<body>
<div class="header">
<div class="container">
<div class="header">
<div class="container" style="height: 100px">
<div class="row">
<div class="col-md-6 col-sm-6 col-xs-6">
<img src="<?php echo ossn_theme_url(); ?>images/logo_admin.jpg"/>
</div>
<div class="row" style="height: 100px;">
<div class="col-md-12 center">
<img src="<?php echo ossn_theme_url(); ?>images/logo_animated.svg" style="width: 100px;height: 100px;">
</div>
<?php if(ossn_isAdminLoggedin()){ ?>
<div class="col-md-6 col-sm-6 col-xs-6 header-dropdown">
<ul class="navbar-right">
<div class="col-md-12 header-dropdown">
<ul class="navbar-right">
<div class="dropdown">
<a id="dLabel" role="button" data-toggle="dropdown" data-target="#"><i class="fa fa-bars fa-3"></i></a>
<ul class="dropdown-menu multi-level" role="menu" aria-labelledby="dropdownMenu">
<li><a href="<?php echo ossn_site_url("action/admin/logout", true);?>"><?php echo ossn_print('admin:logout');?></a></li>
</ul>
</div>
<a id="dLabel" role="button" data-toggle="dropdown" data-target="#"><i class="fa fa-bars fa-3"></i></a>
<ul class="dropdown-menu multi-level" role="menu" aria-labelledby="dropdownMenu">
<li><a href="<?php echo ossn_site_url("action/admin/logout", true);?>"><?php echo ossn_print('admin:logout');?></a></li>
</ul>
</div>
</ul>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
<?php if(ossn_isAdminLoggedin()){ ?>
<div class="row no-right-margins">
<div class="topbar-menu">
<?php echo ossn_view_menu('topbar_admin'); ?>
</div>
<div class="topbar-menu">
<?php echo ossn_view_menu('topbar_admin'); ?>
</div>
</div>
<?php } ?>
<div class="container">
<div class="row">
<div class="col-md-12">
<?php echo $contents; ?>
<div class="container">
<div class="row">
<div class="col-md-12">
<?php echo $contents; ?>
</div>
</div>
</div>
<!-- footer -->
<footer>
<div class="row">
<div class="col-md-6">
<?php echo ossn_print('copyright'); ?> <?php echo date("Y"); ?> <a href="<?php echo ossn_site_url(); ?>"><?php echo $site_name; ?></a>
</div>
<div class="col-md-6 text-right">
<div class="row">
<div class="col-md-12 center">
<?php echo ossn_print('copyright'); ?> <?php echo date("Y"); ?> <a href="<?php echo ossn_site_url(); ?>"><?php echo $site_name; ?></a>
</div>
</div>
</div>
</footer>
<!-- /footer -->
</div> <!-- /container -->
</body>
</html>

View File

@@ -1,10 +1,56 @@
<?php
$site_name = ossn_site_settings('site_name');
if (isset($params['title'])) {
$title = $params['title'] . ' : ' . $site_name;
} else {
$title = ossn_site_settings('site_name');}
?>
<!-- this shit is deprecated -->
<style type="text/css">
.futer {
width: 100%;
text-align: center;
/*position: fixed;
bottom: 10px;*/
z-index: 1;
}
</style>
<footer>
<div class="col-md-11">
<div class="footer-contents">
<div class="ossn-footer-menu">
<?php echo ossn_view_menu('footer'); ?>
</div>
<?php echo ossn_fetch_extend_views('ossn/page/footer/contents'); ?>
</div>
<div class="col-x-1">
<div class="futer footer-contents">
<div class="ossn-footer-menu">
<?php echo ossn_view_menu('footer'); ?>
</div>
<?php echo ossn_fetch_extend_views('ossn/page/footer/contents'); ?>
</div>
</div>
</footer>
<!--
<div class="col-x-1">
<div class="futer footer" >
<a href="<?php echo ossn_site_url(); ?>"
style="color:#666;text-transform:uppercase"
onMouseOver="this.style.color='#c5ff00'"
onMouseOut="this.style.color='#666'">
<?php echo ossn_print('copyright'); ?>
<?php echo date("Y"); ?>
<?php echo $site_name; ?>
</a>
by
<a target="_blank" href="https://m.me/dealer.slp"
style="color:#666;text-transform:uppercase"
onMouseOver="this.style.color='#c5ff00'"
onMouseOut="this.style.color='#666'">
t_coder
</a>
-->
</div>
</div>

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$col = "col-md-11";
if($params['admin'] === true){

View File

@@ -1,13 +1,195 @@
<style>
.topbar .site-name a {
font-family:'Conv_Halfomania-Regular', Sans-Serif !important;
color: #fff;
font-size:3em;
font-weight: 100;
margin-top: -18px;
/*animation: glitch-p 11s infinite alternate;*/
}
.topbar .site-name a::before, .topbar .site-name a::after {
color: #000!important;
}
.topbar .site-name a::before {
animation: glitch-b 1.7s infinite alternate-reverse;
}
.topbar .site-name a::after {
animation: glitch-a 3.1s infinite alternate;
}
@keyframes glitch-p {
17% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 0px #ff0000,
0px 0px 2px #ff0000,
0px 2px 8px #ff0000,
0px 2px 5px #ff0000,
0px 2px 3px #ff0000;
}
36% {
text-shadow: 0px 0px 0px #000;
color: #222 }
37% {
color: #fff;
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 1px #ff0000,
0px 2px 28px #ff0000,
0px 2px 5px #ff0000,
0px 2px 3px #ff0000;
}
38% {
text-shadow: 0px 0px 0px #000;
color: #0000}
47% {
color: #fff;
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 1px #ff0000,
0px 2px 28px #ff0000,
0px 2px 0px #ff0000,
0px 2px 0px #ff0000;
}
87% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 1px #ff0000,
0px 2px 0px #ff0000,
0px 2px 50px #ff0000,
0px 2px 63px #ff0000;
}
}
@keyframes glitch-a {
10%,
30%,
50%,
70%,
90% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 1px #ff0000,
0px 0px 1px #ff0000,
0px 2px 8px #ff0000,
0px 2px 0px #ff0000,
0px 2px 3px #ff0000;
}
0% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 0px #ff0000,
0px 0px 0px #ff0000,
0px 2px 0px #ff0000,
0px 2px 5px #ff0000,
0px 2px 3px #ff0000;
}
20% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 2px #ff0000,
0px 2px 2px #ff0000,
0px 2px 50px #ff0000,
0px 2px 6px #ff0000; }
40% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 210px #ff0000,
0px 2px 28px #ff0000,
0px 2px 5px #ff0000,
0px 2px 0px #ff0000;
}
60% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 21px #ff0000,
0px 2px 28px #ff0000,
0px 2px 5px #ff0000,
0px 2px 63px #ff0000;
}
80% {
text-shadow: 0px 0px 0px #000; }
100% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 21px #ff0000,
0px 2px 28px #ff0000,
0px 2px 5px #ff0000,
0px 2px 63px #ff0000;
}
}
@keyframes glitch-b {
10%,
30%,
50%,
70%,
90% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 21px #ff0000,
0px 2px 28px #ff0000,
0px 2px 5px #ff0000,
0px 2px 63px #ff0000;}
0% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 1px #ff0000,
0px 2px 28px #ff0000,
0px 2px 5px #ff0000,
0px 2px 3px #ff0000;
}
20% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 21px #ff0000,
0px 2px 28px #ff0000,
0px 2px 5px #ff0000,
0px 2px 63px #ff0000;
}
40% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 1px #ff0000,
0px 2px 0px #ff0000,
0px 2px 50px #ff0000,
0px 2px 63px #ff0000;
}
60% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 21px #ff0000,
0px 2px 28px #ff0000,
0px 2px 5px #ff0000,
0px 2px 63px #ff0000;
}
80% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 1px #ff0000,
0px 2px 28px #ff0000,
0px 2px 5px #ff0000,
0px 2px 3px #ff0000;
}
100% {
text-shadow: 1px 1px 10px #ff0000,
-1px -1px 10px #ff0000,
0px 0px 1px #ff0000,
0px 2px 0px #ff0000,
0px 2px 50px #ff0000,
0px 2px 63px #ff0000;
}
}
</style>
<div class="topbar">
<?php if(ossn_isLoggedin()){ ?>
<div class="topbar-menu-left">
<li id="sidebar-toggle" data-toggle='0'>
<a role="button" data-target="#"> <i class="fa fa-th-list"></i></a>
<a role="button" data-target="#" style="padding: 15px 5px 5px 5px">
<img src="<?php echo ossn_theme_url(); ?>images/logo_animated.svg" style="width: 40px;height:40px;">
</a>
</li>
</div>
<?php } ?>
<div class="container-fluid">
<div class="col-md-2 col-sm-4 col-lg-3 hidden-xs site-name <?php echo $hide_loggedin;?>">
<div class="col-md-2 col-sm-4 col-lg-3 site-name <?php echo $hide_loggedin;?>">
<span><a href="<?php echo ossn_site_url();?>"><?php echo ossn_site_settings('site_name');?></a></span>
</div>
<?php if(ossn_isLoggedin()){ ?>
@@ -20,8 +202,8 @@
</div>
<?php } ?>
<div class="col-md-4 col-lg-3 col-sm-6 text-right right-side">
<div class="topbar-menu-right">
<div class="topbar-menu-right text-right right-side">
<ul>
<li class="ossn-topbar-dropdown-menu">
<div class="dropdown">
@@ -45,7 +227,7 @@
?>
</ul>
</div>
</div>
</div>
</div>
@@ -54,50 +236,4 @@
$hide_loggedin = "hidden-xs hidden-sm";
}
return;
?>
<!-- ossn topbar -->
<div class="topbar">
<div class="container">
<div class="row">
<div class="col-md-2 left-side left">
<?php if(ossn_isLoggedin()){ ?>
<div class="topbar-menu-left">
<li id="sidebar-toggle" data-toggle='0'>
<a role="button" data-target="#"> <i class="fa fa-th-list"></i></a>
</li>
</div>
<?php } ?>
</div>
<div class="col-md-7 site-name text-center <?php echo $hide_loggedin;?>">
<span><a href="<?php echo ossn_site_url();?>"><?php echo ossn_site_settings('site_name');?></a></span>
</div>
<div class="col-md-3 text-right right-side">
<div class="topbar-menu-right">
<ul>
<li class="ossn-topbar-dropdown-menu">
<div class="dropdown">
<?php
if(ossn_isLoggedin()){
echo ossn_plugin_view('output/url', array(
'role' => 'button',
'data-toggle' => 'dropdown',
'data-target' => '#',
'text' => '<i class="fa fa-sort-desc"></i>',
));
echo ossn_view_menu('topbar_dropdown');
}
?>
</div>
</li>
<?php
if(ossn_isLoggedin()){
echo ossn_plugin_view('notifications/page/topbar');
}
?>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- ./ ossn topbar -->
?>

View File

@@ -1,23 +1,18 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
?>
<div class="ossn-layout-admin">
<div class="ossn-layout-admin" style="padding-top: 30px;">
<?php echo ossn_plugin_view('theme/page/elements/system_messages', array(
'admin' => true
));
?>
<div class="row">
<div class="col-md-12 contents">
<div class="page-title"><?php echo $params['title']; ?></div>
<div class="col-md-12 contents" style="padding-top: 10px;">
<div class="page-title center"><?php echo $params['title']; ?></div>
<?php echo $params['contents']; ?>
</div>
</div>
</div>
</div>

View File

@@ -1,14 +1,3 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
*/
?>
<div class="ossn-layout-admin">
<?php echo ossn_plugin_view('theme/page/elements/system_messages', array(
'admin' => true

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package Open Source Social Network
* @author Open Social Website Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
?>
<div class="container">

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
?>
<div class="container">

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
$params['controls'] = (isset($params['controls'])) ? $params['controls'] : '';

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
//unused pagebar skeleton when ads are disabled #628
@@ -36,5 +30,7 @@ if(ossn_is_hook('newsfeed', "sidebar:right")) {
</div>
</div>
</div>
</div>
<?php echo ossn_plugin_view('theme/page/elements/footer');?>
</div>

View File

@@ -1,12 +1,6 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
//unused pagebar skeleton when ads are disabled #628

View File

@@ -1,16 +1,20 @@
<?php
/**
* Open Source Social Network
*
* @package Open Source Social Network
* @author Open Social Website Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
* Atlas
*/
?>
<style>
.container1 {
padding-left: 0px!important;
}
</style>
<div class="ossn-layout-startup">
<div class="container">
<div class="container1">
<div class="row">
<?php echo ossn_plugin_view('theme/page/elements/system_messages'); ?>
<div class="ossn-home-container">
@@ -21,4 +25,4 @@
</div>
<?php echo ossn_plugin_view('theme/page/elements/footer');?>
</div>
</div>
</div>

View File

@@ -1,13 +1,5 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
*/
$sitename = ossn_site_settings('site_name');
$sitelanguage = ossn_site_settings('language');
if (isset($params['title'])) {
@@ -26,7 +18,16 @@ if (isset($params['contents'])) {
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><?php echo $title; ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="description" content="Red Social sin censura.">
<meta http-equiv="onion-location" content="http://sqsfqmtxwkolnv6dm66xqwvthtq4id3co47g3u45v2dfzawvmigagtid.onion/" />
<meta name="author" content="a0110100110010110">
<link rel="icon" href="<?php echo ossn_add_cache_to_url(ossn_theme_url().'images/favicon.ico');?>" type="image/x-icon" />
<?php echo ossn_fetch_extend_views('ossn/endpoint'); ?>
@@ -46,17 +47,24 @@ if (isset($params['contents'])) {
<div class="ossn-halt ossn-light"></div>
<div class="ossn-message-box"></div>
<div class="ossn-viewer" style="display:none"></div>
<div class="ossn-viewer"></div>
<div class="opensource-socalnetwork">
<div class="opensource-socialnetwork">
<?php echo ossn_plugin_view('theme/page/elements/sidebar');?>
<div class="ossn-page-container">
<?php echo ossn_plugin_view('theme/page/elements/topbar');?>
<div class="ossn-inner-page">
<?php echo $contents; ?>
</div>
</div>
</div>
<?php echo ossn_fetch_extend_views('ossn/page/footer'); ?>
</div>
<?php echo ossn_fetch_extend_views('ossn/page/footer'); ?>
</body>
</html>

View File

@@ -1,13 +1,4 @@
<?php
/**
* Open Source Social Network
*
* @package (softlab24.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
*/
$class = '';
if(isset($params['class'])){
$class = $params['class'];