mirror of https://github.com/movim/movim
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							60 lines
						
					
					
						
							2.2 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							60 lines
						
					
					
						
							2.2 KiB
						
					
					
				
								<?php $this->widget('Search');?>
							 | 
						|
								<?php $this->widget('Upload'); ?>
							 | 
						|
								<?php $this->widget('Notifications');?>
							 | 
						|
								<?php $this->widget('SendTo');?>
							 | 
						|
								<?php if(me()->hasOMEMO()) $this->widget('ChatOmemo');?>
							 | 
						|
								
							 | 
						|
								<?php $this->widget('PostActions');?>
							 | 
						|
								
							 | 
						|
								<nav>
							 | 
						|
								    <?php $this->widget('Presence');?>
							 | 
						|
								    <?php $this->widget('Navigation');?>
							 | 
						|
								</nav>
							 | 
						|
								
							 | 
						|
								<?php $this->widget('BottomNavigation');?>
							 | 
						|
								
							 | 
						|
								<main style="background-color: rgb(var(--movim-background))">
							 | 
						|
								    <div class="large">
							 | 
						|
								        <?php if (!empty($_GET['s']) && $_GET['s'] == 'servers') { ?>
							 | 
						|
								            <header>
							 | 
						|
								                <ul class="list middle">
							 | 
						|
								                    <li>
							 | 
						|
								                        <span class="primary icon active" onclick="history.back()">
							 | 
						|
								                            <i class="material-symbols">arrow_back</i>
							 | 
						|
								                        </span>
							 | 
						|
								
							 | 
						|
								                        <?php if (!me()->isRestricted()) { ?>
							 | 
						|
								                            <span class="control icon active divided" onclick="CommunitiesServers_ajaxDiscoverServer()">
							 | 
						|
								                                <i class="material-symbols">search</i>
							 | 
						|
								                            </span>
							 | 
						|
								                        <?php } ?>
							 | 
						|
								
							 | 
						|
								                        <div>
							 | 
						|
								                            <p class="center"><?php echo __('communities.servers'); ?></p>
							 | 
						|
								                            <p class="center line"><?php echo __('communities.empty_text'); ?></p>
							 | 
						|
								                        </div>
							 | 
						|
								                    </li>
							 | 
						|
								                </ul>
							 | 
						|
								            </header>
							 | 
						|
								            <?php $this->widget('CommunitiesInteresting'); ?>
							 | 
						|
								            <?php $this->widget('CommunitiesServers'); ?>
							 | 
						|
								        <?php } else { ?>
							 | 
						|
								            <header>
							 | 
						|
								                <ul class="list middle">
							 | 
						|
								                    <li>
							 | 
						|
								                        <div>
							 | 
						|
								                            <p class="center"><?php echo __('page.explore'); ?></p>
							 | 
						|
								                            <p class="center line"><?php echo __('communities.empty_text'); ?></p>
							 | 
						|
								                        </div>
							 | 
						|
								                    </li>
							 | 
						|
								                </ul>
							 | 
						|
								            </header>
							 | 
						|
								            <?php $this->widget('CommunitiesTags'); ?>
							 | 
						|
								            <?php $this->widget('Communities'); ?>
							 | 
						|
								        <?php } ?>
							 | 
						|
								    </div>
							 | 
						|
								</main>
							 | 
						|
								
							 | 
						|
								<?php if (me()->hasPubsub() && me()->hasUpload()) { ?>
							 | 
						|
								    <?php $this->widget('PublishStories');?>
							 | 
						|
								<?php } ?>
							 |