put oembed settings into a .settings-block div for consistency
This commit is contained in:
parent
f95ea14478
commit
1d2cc5c5ad
1 changed files with 4 additions and 2 deletions
|
@ -34,9 +34,10 @@ function oembed_settings(&$a,&$o) {
|
||||||
if(! local_user())
|
if(! local_user())
|
||||||
return;
|
return;
|
||||||
$uofy = get_pconfig(local_user(), 'oembed', 'use_for_youtube' );
|
$uofy = get_pconfig(local_user(), 'oembed', 'use_for_youtube' );
|
||||||
|
|
||||||
$o .='<h3 class="settings-heading">OEmbed</h3>';
|
|
||||||
$o.='
|
$o.='
|
||||||
|
<div class="settings-block">
|
||||||
|
<h3 class="settings-heading">OEmbed</h3>
|
||||||
<div id="settings-username-wrapper">
|
<div id="settings-username-wrapper">
|
||||||
<label for="oembed_use_for_youtube">'
|
<label for="oembed_use_for_youtube">'
|
||||||
.t('Use OEmbed for YouTube videos: ')
|
.t('Use OEmbed for YouTube videos: ')
|
||||||
|
@ -47,6 +48,7 @@ function oembed_settings(&$a,&$o) {
|
||||||
<div id="settings-username-end"></div>
|
<div id="settings-username-end"></div>
|
||||||
<div class="settings-submit-wrapper">
|
<div class="settings-submit-wrapper">
|
||||||
<input type="submit" value="'.t('Submit').'" class="settings-submit" name="oembed-submit">
|
<input type="submit" value="'.t('Submit').'" class="settings-submit" name="oembed-submit">
|
||||||
|
</div>
|
||||||
</div>';
|
</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue