Skip to content

Commit

Permalink
Move my_view_inc.php into root
Browse files Browse the repository at this point in the history
my_view_inc.php does not contain any sort of API and therefore should be
located in the root with all other _inc files.
  • Loading branch information
davidhicks committed Sep 4, 2009
1 parent f71f121 commit 7f8b202
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions my_view_page.php
Expand Up @@ -114,14 +114,14 @@
# for even box number start new row and column
if ( 1 == $t_counter%2 ) {
echo '<tr><td valign="top" width="50%">';
include( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'my_view_inc.php' );
include 'my_view_inc.php';
echo '</td>';
}

# for odd box number only start new column
else if ( 0 == $t_counter%2 ) {
echo '<td valign="top" width="50%">';
include( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'my_view_inc.php' );
include 'my_view_inc.php';
echo '</td></tr>';
}

Expand All @@ -142,7 +142,7 @@
}

# display the required box
include( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'my_view_inc.php' );
include 'my_view_inc.php';
echo '<br />';

# close the first column for first half of boxes
Expand Down

0 comments on commit 7f8b202

Please sign in to comment.