Esempio n. 1
0
/**
 * Creates the html for head element with addresses for Bootstrap.
 * @return type
 */
function create_head()
{
    $text = Html::luo_head(Html::luo_title(Tekstit::$home_title, array()) . Html::luo_link_to_stylesheet("http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css") . Html::luo_link_to_stylesheet("css/etusivutyylit.css") . Html::luo_script_to_js("https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js") . Html::luo_script_to_js("http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js") . Html::luo_meta(array(Attr::charset("utf-8"))) . Html::luo_meta(array(Attr::name("viewport"), Attr::content("width=device-width, initial-scale=1"))), array());
    return $text;
}
Esempio n. 2
0
 /**
  * Creates the html for head element with addresses for Bootstrap.
  * @return type
  */
 function create_head()
 {
     $text = Html::luo_head(Html::luo_title(Tekstit::$home_title, array()) . Html::luo_meta(array(Attr::charset("utf-8"))) . Html::luo_meta(array(Attr::name("viewport"), Attr::content("width=device-width, initial-scale=1"))) . Html::luo_link_to_stylesheet("http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css") . Html::luo_link_to_stylesheet("tyylit/perusmuotoilut.css") . Html::luo_link_to_stylesheet("php_yleinen/matematiikka/matematiikkatyylit.css") . Html::luo_script_to_js("ajax_ja_js/metodit.js") . Html::luo_script_to_js("ajax_ja_js/tekstinmuokkausmetodit.js") . Html::luo_script_to_js("ajax_ja_js/ajaxkirjasto.js") . Html::luo_script_to_js("https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js") . Html::luo_script_to_js("http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js") . Html::luo_script_to_js("https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML") . Html::luo_script('MathJax.Hub.Config({
                     jax: ["input/TeX", "output/SVG"],
                     TeX: { equationNumbers: { autoNumber: "AMS" } }
                 });', array(Attr::type("text/x-mathjax-config"))) . Html::luo_script('MathJax.Hub.Config({
                     "HTML-CSS": {
                       extensions: ["handle-floats.js"]
                     }
                 });', array(Attr::type("text/javascript"))) . Html::luo_script_to_js("ajax_ja_js/bootstrap_code.js"), array());
     return $text;
 }
Esempio n. 3
0
 /**
  * Creates the html for head element with addresses for Bootstrap.
  * @return type
  */
 function create_head()
 {
     $text = Html::luo_head(Html::luo_title(Tekstit::$home_title, array()) . Html::luo_meta(array(Attr::charset("utf-8"))) . Html::luo_meta(array(Attr::name("viewport"), Attr::content("width=device-width, initial-scale=1"))), array()) . Html::luo_link_to_stylesheet("http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css") . Html::luo_link_to_stylesheet("../kokonaisuudet/tyylit/perusmuotoilut.css") . Html::luo_script_to_js("../kokonaisuudet/ajax_ja_js/metodit.js") . Html::luo_script_to_js("../kokonaisuudet/ajax_ja_js/metodit.js") . Html::luo_script_to_js("../kokonaisuudet/ajax_ja_js/tekstinmuokkausmetodit.js") . Html::luo_script_to_js("../kokonaisuudet/ajax_ja_js/ajaxkirjasto.js") . Html::luo_script_to_js("https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js") . Html::luo_script_to_js("http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js") . Html::luo_script_to_js("../kokonaisuudet/ajax_ja_js/bootstrap_code.js");
     return $text;
 }