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:
parent
eeed7077ca
commit
fe392a3144
@ -542,11 +542,14 @@ function widget_settings_menu($arr) {
|
|||||||
'selected' => ((argv(1) === 'oauth') ? 'active' : ''),
|
'selected' => ((argv(1) === 'oauth') ? 'active' : ''),
|
||||||
);
|
);
|
||||||
|
|
||||||
$tabs[] = array(
|
// IF can go away when UNO export and import is fully functional
|
||||||
'label' => t('Export channel'),
|
if(! UNO) {
|
||||||
'url' => $a->get_baseurl(true) . '/uexport',
|
$tabs[] = array(
|
||||||
'selected' => ''
|
'label' => t('Export channel'),
|
||||||
);
|
'url' => $a->get_baseurl(true) . '/uexport',
|
||||||
|
'selected' => ''
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if($role === false || $role === 'custom') {
|
if($role === false || $role === 'custom') {
|
||||||
$tabs[] = array(
|
$tabs[] = array(
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div class="generic-content-wrapper">
|
<div class="generic-content-wrapper">
|
||||||
<div class="section-title-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>
|
<h2>{{$ptitle}}</h2>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
<div class="generic-content-wrapper-styled">
|
<div class="generic-content-wrapper">
|
||||||
<h1>{{$title}}</h1>
|
<div class="section-title-wrapper">
|
||||||
|
<h1>{{$title}}</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="section-content-tools-wrapper">
|
||||||
<form action="settings/oauth" method="post" autocomplete="off">
|
<form action="settings/oauth" method="post" autocomplete="off">
|
||||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||||
|
|
||||||
@ -31,3 +33,4 @@
|
|||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</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">
|
<form method="POST">
|
||||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||||
|
|
||||||
@ -15,3 +18,5 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
Reference in New Issue
Block a user