Exemple #1
0
 /**
  * Tests the doctype
  *
  * @author Nikos Dimopoulos <*****@*****.**>
  * @since  2012-11-29
  */
 public function testDoctypeSet()
 {
     $doctype = \Phalcon\Tag::HTML5;
     $expected = "<!DOCTYPE html>" . PHP_EOL;
     \Phalcon\Tag::setDoctype($doctype);
     $actual = \Phalcon\Tag::getDoctype($doctype);
     \Phalcon\Tag::setDoctype('');
     $this->assertEquals($expected, $actual, sprintf($this->message, 'Doctype (HTML5)'));
 }
Exemple #2
0
<?php

echo \Phalcon\Tag::getDoctype();
?>
<html>
	<head>
		<title>Wifi营销精灵--<?php 
echo $title;
?>
</title>	
		<?php 
echo $this->tag->stylesheetLink('css/global.css');
?>
	
<?php 
echo $this->tag->stylesheetLink('css/main.css');
?>
	
<?php 
echo $this->tag->javascriptInclude('js/jquery-1.11.0.min.js');
echo $this->tag->javascriptInclude('js/jquery-validation/dist/jquery.validate.min.js');
echo $this->tag->javascriptInclude('js/DD_belatedPNG.js');
echo $this->tag->javascriptInclude('js/My97DatePicker/WdatePicker.js');
echo $this->tag->javascriptInclude('js/jquery.circliful.js');
echo $this->tag->javascriptInclude('js/highcharts/highcharts.js');
echo $this->tag->javascriptInclude('js/highcharts/exporting.js');
echo $this->tag->javascriptInclude('js/main.js');
?>
<script>
		DD_belatedPNG.fix('*');
</script>