Skip to content

Commit

Permalink
reindent/format
Browse files Browse the repository at this point in the history
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@129 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
Dave Goodwin committed Oct 5, 2011
1 parent 332ef0d commit 20425d6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions data.php
Expand Up @@ -32,7 +32,6 @@
$query_to_check_data = "select * from {$xerte_toolkits_site->database_table_prefix}additional_sharing where sharing_type=? AND template_id = ?";

$query_for_data_response = db_query_one($query_to_check_data, array('xml', $_GET['template_id']));

/**
* Check to see if for this ID a data value is set in additional sharing.
*/
Expand Down Expand Up @@ -97,13 +96,9 @@
$path = $xerte_toolkits_site->users_file_area_short . $row['template_id'] . "-" . $row_username['username'] . "-" . $row['template_name'] . "/";

echo str_replace("FileLocation + '", $xerte_toolkits_site->site_url . $path, file_get_contents($path . "data.xml"));


}


}else{

}
else{
/***
Display nothing
*/
Expand All @@ -113,4 +108,3 @@
dont_show_template();

}

0 comments on commit 20425d6

Please sign in to comment.