Skip to content

Commit

Permalink
additional play_html5.php link in LO properties window including lang…
Browse files Browse the repository at this point in the history
…uage string. Probably ought to have an additional embed code text box for the html 5 version too.

git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@497 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
ronm123 committed Nov 14, 2012
1 parent 53208c8 commit 69ec3e7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@

define("PROPERTIES_LIBRARY_PROJECT_LINK", "To allow other people to access this file, the link is");

define("PROPERTIES_LIBRARY_PROJECT_HTML5_LINK", "To allow other people to access the HTML 5 version, the link is");

define("PROPERTIES_LIBRARY_PROJECT_IFRAME", "This code will allow you to embed your project into a web page");

define("PROPERTIES_LIBRARY_PROJECT_FAIL", "Sorry you do not have rights to this template");
Expand Down
7 changes: 7 additions & 0 deletions website_code/php/url_library.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ function url_return($string,$template_number){
return "play.php?template_id=" . $template_number;
}
break;

case "playhtml5": if($xerte_toolkits_site->apache=="true"){
return $string . "_html5_" . $template_number;
}else{
return "play_html5.php?template_id=" . $template_number;
}
break;

case "preview":if($xerte_toolkits_site->apache=="true"){
return $string . "_" . $template_number;
Expand Down

0 comments on commit 69ec3e7

Please sign in to comment.