Skip to content

Commit

Permalink
Revert "Remove heading elements from 'Site Privacy' settings panel."
Browse files Browse the repository at this point in the history
This reverts commit 92bc11f.
  • Loading branch information
boonebgorges committed Nov 9, 2023
1 parent 92bc11f commit ea4dc61
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
8 changes: 4 additions & 4 deletions wp-content/themes/openlab/lib/group-funcs.php
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ function openlab_site_privacy_settings_markup( $site_id = 0, $selected_privacy =

<div class="radio group-site">

<div class="panel-subheading">Public</div>
<h5>Public</h5>
<div class="row">
<div class="col-sm-24">
<label for="blog-private1"><input id="blog-private1" type="radio" name="blog_public" value="1" <?php checked( '1', $blog_public ); ?> />Allow search engines to index this site. Your site will show up in web search results.</label>
Expand All @@ -597,7 +597,7 @@ function openlab_site_privacy_settings_markup( $site_id = 0, $selected_privacy =

<?php if (!openlab_is_portfolio() && (!isset($_GET['type']) || 'portfolio' != $_GET['type'] )): ?>

<div class="panel-subheading">Private</div>
<h5>Private</h5>
<div class="row">
<div class="col-sm-24">
<label for="blog-private-1"><input id="blog-private-1" type="radio" name="blog_public" value="-1" <?php checked( '-1', $blog_public ); ?>>I would like my site to be visible only to registered users of City Tech OpenLab.</label>
Expand All @@ -606,7 +606,7 @@ function openlab_site_privacy_settings_markup( $site_id = 0, $selected_privacy =
</div>
</div>

<div class="panel-subheading">Hidden</div>
<h5>Hidden</h5>
<div class="row">
<div class="col-sm-24">
<label for="blog-private-3"><input id="blog-private-3" type="radio" name="blog_public" value="-3" <?php checked( '-3', $blog_public ); ?>>I would like my site to be visible only to site administrators.</label>
Expand All @@ -616,7 +616,7 @@ function openlab_site_privacy_settings_markup( $site_id = 0, $selected_privacy =
<?php else : ?>

<?php /* Portfolios */ ?>
<div class="panel-subheading">Private</div>
<h5>Private</h5>
<div class="row">
<div class="col-sm-24">
<label for="blog-private-1"><input id="blog-private-1" type="radio" name="blog_public" value="-1" <?php checked( '-1', $blog_public ); ?>>I would like my site to be visible only to registered users of City Tech OpenLab.</label>
Expand Down
5 changes: 0 additions & 5 deletions wp-content/themes/openlab/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7666,11 +7666,6 @@ input:disabled + label {
.form-panel .panel-heading > legend {
font-size: inherit;
}
.form-panel .panel-subheading {
margin: 20px 0 15px 0;
font-size: 16px;
font-weight: 600;
}
.form-panel .panel-body legend {
border-bottom: none;
font-size: 14px;
Expand Down
5 changes: 0 additions & 5 deletions wp-content/themes/openlab/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,6 @@ input:disabled+label {
font-size: inherit;
}
}
.panel-subheading {
margin: 20px 0 15px 0;
font-size: 16px;
font-weight: 600;
}
.panel-body {
legend {
border-bottom: none;
Expand Down

0 comments on commit ea4dc61

Please sign in to comment.