Skip to content

Commit

Permalink
Fix HTML/CSS for Manage Global Profiles page
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Oct 12, 2013
1 parent b59803a commit d10aa8b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions account_prof_menu_page.php
Expand Up @@ -138,13 +138,17 @@
<span class="input"><input id="action-edit" type="radio" name="action" value="edit" /></span>
<span class="label-style"></span>
</div>
<?php
if ( !$g_global_profiles ) {
?>
<div class="field-container">
<?php if ( !$g_global_profiles ) { ?>
<label for="action-default"><span><?php echo lang_get( 'make_default' ) ?></span></label>
<span class="input"><input id="action-default" type="radio" name="action" value="make_default" /></span>
<?php } ?>
<span class="label-style"></span>
</div>
<?php
}
?>
<div class="field-container">
<label for="action-delete"><span><?php echo lang_get( 'delete_profile' ) ?></span></label>
<span class="input"><input id="action-delete" type="radio" name="action" value="delete" /></span>
Expand Down
2 changes: 1 addition & 1 deletion core/print_api.php
Expand Up @@ -669,7 +669,7 @@ function print_profile_option_list_for_project( $p_project_id, $p_select_id = ''
* @param int $p_select_id ID to mark as selected by default
*/
function print_profile_option_list_from_profiles( $p_profiles, $p_select_id ) {
echo '<option value=""></option>';
echo '<option value="">' . lang_get( 'select_option' ) . '</option>';
foreach( $p_profiles as $t_profile ) {
extract( $t_profile, EXTR_PREFIX_ALL, 'v' );

Expand Down

0 comments on commit d10aa8b

Please sign in to comment.