Skip to content

Commit

Permalink
Rename variables
Browse files Browse the repository at this point in the history
  • Loading branch information
cproensa committed Jan 13, 2017
1 parent a4ab309 commit e212cf1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions manage_filter_edit_page.php
Expand Up @@ -84,8 +84,8 @@
$t_filter = filter_ensure_valid_filter( $t_filter );

$t_action = 'manage_filter_edit_update.php';
$t_current_project = helper_get_current_project();
$t_filter_project = filter_get_field( $f_filter_id, 'project_id' );
$t_current_project_id = helper_get_current_project();
$t_filter_project_id = filter_get_field( $f_filter_id, 'project_id' );

?>

Expand Down Expand Up @@ -173,21 +173,21 @@
</td>
<td>
<label class="inline">
<input type="radio" class="ace input-sm" name="project_id" value="<?php echo ALL_PROJECTS ?>" <?php check_checked( ALL_PROJECTS == $t_filter_project ) ?>>
<input type="radio" class="ace input-sm" name="project_id" value="<?php echo ALL_PROJECTS ?>" <?php check_checked( ALL_PROJECTS == $t_filter_project_id ) ?>>
<span class="lbl"> <?php echo lang_get( 'all_projects' ) ?></span>
</label>
<br>
<?php if( ALL_PROJECTS != $t_filter_project ) { ?>
<?php if( ALL_PROJECTS != $t_filter_project_id ) { ?>
<label>
<input type="radio" class="ace input-sm" name="project_id" value="<?php echo $t_filter_project ?>" <?php check_checked( ALL_PROJECTS != $t_filter_project ) ?>>
<span class="lbl"> <?php echo lang_get( 'stored_project' ) . ' (' . project_get_name( $t_filter_project ) . ')' ?></span>
<input type="radio" class="ace input-sm" name="project_id" value="<?php echo $t_filter_project_id ?>" <?php check_checked( ALL_PROJECTS != $t_filter_project_id ) ?>>
<span class="lbl"> <?php echo lang_get( 'stored_project' ) . ' (' . project_get_name( $t_filter_project_id ) . ')' ?></span>
</label>
<br>
<?php } ?>
<?php if( $t_filter_project != $t_current_project ) { ?>
<?php if( $t_filter_project_id != $t_current_project_id ) { ?>
<label>
<input type="radio" class="ace input-sm" name="project_id" value="<?php echo $t_current_project ?>">
<span class="lbl"> <?php echo lang_get( 'current_project' ) . ' (' . project_get_name( $t_current_project ) . ')' ?></span>
<input type="radio" class="ace input-sm" name="project_id" value="<?php echo $t_current_project_id ?>">
<span class="lbl"> <?php echo lang_get( 'current_project' ) . ' (' . project_get_name( $t_current_project_id ) . ')' ?></span>
</label>
<?php } ?>
</td>
Expand Down

0 comments on commit e212cf1

Please sign in to comment.