mirror of
				https://github.com/nerzhul/ocsms.git
				synced 2025-10-28 00:49:11 +00:00 
			
		
		
		
	Syntax fix. Also show navigations elements only if one element available
This commit is contained in:
		
							parent
							
								
									431796c8be
								
							
						
					
					
						commit
						3f712180fb
					
				| @ -1,6 +1,6 @@ | ||||
| <ul> | ||||
| 	<?php if (count($_["PNLConversations"]) > 0) { ?>
 | ||||
| 	<li><a href="#">Conversations</a></li> | ||||
| 	<?php if count($_["PNLConversations"]) > 0) { ?>
 | ||||
| 	<ul> | ||||
| 	<?php foreach ($_["PNLConversations"] as $number) { ?>
 | ||||
| 		<li><?php p($number); ?></li>
 | ||||
| @ -8,8 +8,8 @@ | ||||
| 	</ul> | ||||
| 	<?php }	?>
 | ||||
| 	 | ||||
| 	<?php if (count($_["PNLDrafts"]) > 0) { ?>
 | ||||
| 	<li><a href="#">Drafts</a></li> | ||||
| 	<?php if count($_["PNLDrafts"]) > 0) { ?>
 | ||||
| 	<ul> | ||||
| 	<?php foreach ($_["PNLDrafts"] as $number) { ?>
 | ||||
| 		<li><?php p($number); ?></li>
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user