diff --git a/rss.php b/rss.php index f3f7eda396..be1b687eb6 100644 --- a/rss.php +++ b/rss.php @@ -17,6 +17,13 @@ $action_modifder = "export"; +} +if(isset($_GET['html5'])){ + + $query_modifier = "rss"; + + $action_modifder = "play_html5"; + } if(!isset($_GET['username'])){ @@ -110,6 +117,9 @@ $action = 'play'; if(isset($_GET['export'])){ $action = 'export'; + } + if(isset($_GET['html5'])){ + $action = 'play_html5'; } echo " " . str_replace("_"," ",$row['template_name']) . " diff --git a/website_code/php/properties/properties_library.php b/website_code/php/properties/properties_library.php index 915c4fe51c..008bc0a3c8 100644 --- a/website_code/php/properties/properties_library.php +++ b/website_code/php/properties/properties_library.php @@ -91,7 +91,7 @@ function properties_display($xerte_toolkits_site,$tutorial_id,$change){ echo "

" . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

"; - echo "

" . $xerte_toolkits_site->site_url . url_return("playhtml5", $_POST['template_id']) . "

"; + echo "

" . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

"; // Get the template screen size diff --git a/website_code/php/url_library.php b/website_code/php/url_library.php index cb75998ec6..5650e03953 100644 --- a/website_code/php/url_library.php +++ b/website_code/php/url_library.php @@ -24,8 +24,8 @@ function url_return($string,$template_number){ } break; - case "playhtml5": if($xerte_toolkits_site->apache=="true"){ - return $string . "_html5_" . $template_number; + case "play_html5": if($xerte_toolkits_site->apache=="true"){ + return $string . "_" . $template_number; }else{ return "play_html5.php?template_id=" . $template_number; } @@ -149,6 +149,12 @@ function url_return($string,$template_number){ return "export.php"; } break; + case "RSS_html5": if($xerte_toolkits_site->apache=="true"){ + return "RSS/"; + }else{ + return "rss.php?html5="; + } + break; case "RSS_syndicate": if($xerte_toolkits_site->apache=="true"){ return "syndication/";