Removed warning on design reported by eclipse validator tools

This commit is contained in:
Laurent Destailleur 2011-02-20 11:34:11 +00:00
parent ffeb30fd6c
commit 9597d2ee6d
5 changed files with 35 additions and 55 deletions

View File

@ -1,27 +0,0 @@
<?php
/* Copyright (C) 2010 Regis Houssin <regis@dolibarr.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/
?>
<!-- BEGIN FOOTER SMARTPHONE TEMPLATE -->
</body>
</html>
<!-- END FOOTER SMARTPHONE TEMPLATE -->

View File

@ -17,10 +17,7 @@
*
* $Id$
*/
header("Content-type: text/html; charset=".$conf->file->character_set_client);
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $title; ?></title>
<meta name="robots" content="noindex,nofollow" />
@ -30,15 +27,4 @@ header("Content-type: text/html; charset=".$conf->file->character_set_client);
<link rel="stylesheet" href="<?php echo DOL_URL_ROOT.'/theme/phones/smartphone/theme/default/default.css.php'; ?>" />
<script type="text/javascript" src="<?php echo DOL_URL_ROOT.'/includes/jquery/js/jquery-latest.min.js'; ?>"></script>
<script type="text/javascript" src="<?php echo DOL_URL_ROOT.'/includes/jquery/mobile/jquery.mobile-latest.min.js'; ?>"></script>
</head>
<body>
<script type="text/javascript">
jQuery(document).bind("mobileinit", function(){
jQuery.mobile.defaultTransition('pop');
});
</script>
<!-- END HEADER SMARTPHONE TEMPLATE -->
</head>

View File

@ -17,8 +17,19 @@
*
* $Id$
*/
header("Content-type: text/html; charset=".$conf->file->character_set_client);
?>
<!DOCTYPE html>
<html>
<?php
include('header.tpl.php');
?>
<body>
<script type="text/javascript">
jQuery(document).bind("mobileinit", function(){
jQuery.mobile.defaultTransition('pop');
});
</script>
<!-- START LOGIN SMARTPHONE TEMPLATE -->
<div data-role="page" id="dol-home" data-theme="b">
@ -91,6 +102,5 @@ include('header.tpl.php');
<?php } ?>
<!-- END LOGIN SMARTPHONE TEMPLATE -->
<?php
include('footer.tpl.php');
?>
</body>
</html>

View File

@ -17,8 +17,19 @@
*
* $Id$
*/
header("Content-type: text/html; charset=".$conf->file->character_set_client);
?>
<!DOCTYPE html>
<html>
<?php
require('header.tpl.php');
?>
<body>
<script type="text/javascript">
jQuery(document).bind("mobileinit", function(){
jQuery.mobile.defaultTransition('pop');
});
</script>
<div data-role="page" data-theme="b" id="dol-home">
@ -57,8 +68,5 @@ require('header.tpl.php');
</div><!-- /page -->
<!-- END MENU SMARTPHONE TEMPLATE -->
<?php
require('footer.tpl.php');
// $this->smartfooter();
?>
</body>
</html>

View File

@ -17,9 +17,14 @@
*
* $Id$
*/
header("Content-type: text/html; charset=".$conf->file->character_set_client);
?>
<!DOCTYPE html>
<html>
<?php
include('header.tpl.php');
?>
<body>
<!-- BEGIN SMARTPHONE TEMPLATE -->
<div data-role="page" id="dol-home" data-theme="b">
@ -75,7 +80,5 @@ include('header.tpl.php');
<?php } ?>
<!-- END SMARTPHONE TEMPLATE -->
<?php
include('footer.tpl.php');
?>
</body>
</html>