Removed export temporary from UNO. Removed 'Remove Channel' from UNO, cause a UNO member has only 1 channel, so it's logical to remove the acccount (by experience on UNO hub). Styling oauth settings.
This commit is contained in:
		| @@ -542,11 +542,14 @@ function widget_settings_menu($arr) { | ||||
| 		'selected' => ((argv(1) === 'oauth') ? 'active' : ''), | ||||
| 	); | ||||
|  | ||||
| 	// IF can go away when UNO export and import is fully functional | ||||
| 	if(! UNO) { | ||||
| 		$tabs[] =	array( | ||||
| 			'label' => t('Export channel'), | ||||
| 			'url' => $a->get_baseurl(true) . '/uexport', | ||||
| 			'selected' => '' | ||||
| 		); | ||||
| 	} | ||||
|  | ||||
| 	if($role === false || $role === 'custom') { | ||||
| 		$tabs[] = array( | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| <div class="generic-content-wrapper"> | ||||
| 	<div class="section-title-wrapper"> | ||||
| 		<a title="{{$removechannel}}" class="btn btn-danger btn-xs pull-right" href="removeme"><i class="icon-trash"></i> {{$removeme}}</a> | ||||
| 		{{if $server_role != 'basic'}}<a title="{{$removechannel}}" class="btn btn-danger btn-xs pull-right" href="removeme"><i class="icon-trash"></i> {{$removeme}}</a>{{/if}} | ||||
| 		<h2>{{$ptitle}}</h2> | ||||
| 		<div class="clear"></div> | ||||
| 	</div> | ||||
|   | ||||
| @@ -1,7 +1,9 @@ | ||||
| <div class="generic-content-wrapper-styled"> | ||||
| <h1>{{$title}}</h1> | ||||
|  | ||||
| <div class="generic-content-wrapper"> | ||||
| <div class="section-title-wrapper"> | ||||
| 	<h1>{{$title}}</h1> | ||||
| </div> | ||||
|  | ||||
| <div class="section-content-tools-wrapper"> | ||||
| <form action="settings/oauth" method="post" autocomplete="off"> | ||||
| <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> | ||||
|  | ||||
| @@ -31,3 +33,4 @@ | ||||
|  | ||||
| </form> | ||||
| </div> | ||||
| </div> | ||||
|   | ||||
| @@ -1,5 +1,8 @@ | ||||
| <h1>{{$title}}</h1> | ||||
|  | ||||
| <div class="generic-content-wrapper"> | ||||
| 	<div class="section-title-wrapper"> | ||||
| 		<h1>{{$title}}</h1> | ||||
| 	</div> | ||||
| <div class="section-content-tools-wrapper"> | ||||
| <form method="POST"> | ||||
| <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> | ||||
|  | ||||
| @@ -15,3 +18,5 @@ | ||||
| </div> | ||||
|  | ||||
| </form> | ||||
| </div> | ||||
| </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user