Skip to content

Commit

Permalink
Fix HTML validity.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Feb 3, 2017
1 parent 267cc5f commit 065787a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 30 deletions.
3 changes: 1 addition & 2 deletions app/views/Home/index.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@
</ul>
</div>
</div>
<div class="rightcol"><?php echo $this->render('sponsors');
?></div>
<div class="rightcol"><?php echo $this->render('sponsors') ?></div>
<div class="clear"></div>
</div>
</div>
16 changes: 8 additions & 8 deletions app/views/layout/home.html.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><?php echo $this->page_title?></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="keywords" content="groupware,webmail,web,application,framework,php,consulting,support,development,library">
<link type="text/css" rel="stylesheet" href="<?php echo $GLOBALS['host_base'] ?>/css/horde.css" media="screen">
<link rel="SHORTCUT ICON" type="image/x-icon" href="<?php echo $GLOBALS['host_base'] ?>/images/favicon.ico" />
<link href="https://plus.google.com/105569801098474752113" rel="publisher" />
<link rel="SHORTCUT ICON" type="image/x-icon" href="<?php echo $GLOBALS['host_base'] ?>/images/favicon.ico">
<link href="https://plus.google.com/105569801098474752113" rel="publisher">
<!-- Google Analytics -->
<script>
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
Expand All @@ -18,16 +18,16 @@
</script>
<!-- End Google Analytics -->
<script type="text/javascript" src="<?php echo $GLOBALS['host_base'] ?>/js/jquery-1.4.4.min.js"></script>
<script src="//www.horde.org/widget.php?url=<?php echo
<script type="text/javascript" src="//www.horde.org/widget.php?url=<?php echo
urlencode('http://' . @$_SERVER['HTTP_HOST'] . @$_SERVER['REQUEST_URI'])
?>&refererUrl=<?php echo urlencode(@$_SERVER['HTTP_REFERER']) ?>"></script>
?>&amp;refererUrl=<?php echo urlencode(@$_SERVER['HTTP_REFERER']) ?>"></script>
</head>
<body>
<div class="area">
<div class="inside">
<?php echo $this->render('banner'); ?>
<?php echo $this->render('banner') ?>
<?php echo $this->contentForLayout ?>
<?php echo $this->render('footer', array('locals' => array('quote' => $this->quote)));?>
<?php echo $this->render('footer', array('locals' => array('quote' => $this->quote))) ?>
</div>
</div>
<script type="text/javascript" src="js/slides.min.jquery.js"></script>
Expand Down
12 changes: 6 additions & 6 deletions app/views/layout/main.html.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><?php echo $this->page_title?></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="keywords" content="groupware,webmail,web,application,framework,php,consulting,support,development,library">
<link type="text/css" rel="stylesheet" href="<?php echo $GLOBALS['host_base'] ?>/css/horde.css" media="screen">
<link rel="SHORTCUT ICON" type="image/x-icon" href="<?php echo $GLOBALS['host_base'] ?>/images/favicon.ico" />
<link href="https://plus.google.com/105569801098474752113" rel="publisher" />
<link rel="SHORTCUT ICON" type="image/x-icon" href="<?php echo $GLOBALS['host_base'] ?>/images/favicon.ico">
<link href="https://plus.google.com/105569801098474752113" rel="publisher">
<!-- Google Analytics -->
<script>
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
Expand All @@ -18,9 +18,9 @@
</script>
<script type="text/javascript" src="<?php echo $GLOBALS['host_base'] ?>/js/jquery-1.4.4.min.js"></script>
<!-- End Google Analytics -->
<script src="//www.horde.org/widget.php?url=<?php echo
<script type="text/javascript" src="//www.horde.org/widget.php?url=<?php echo
urlencode('http://' . @$_SERVER['HTTP_HOST'] . @$_SERVER['REQUEST_URI'])
?>&refererUrl=<?php echo urlencode(@$_SERVER['HTTP_REFERER']) ?>"></script>
?>&amp;refererUrl=<?php echo urlencode(@$_SERVER['HTTP_REFERER']) ?>"></script>
<?php $GLOBALS['injector']->getInstance('Horde_PageOutput')->includeStylesheetFiles(array('nobase' => true, 'nohorde' => true), true) ?>
</head>
<body>
Expand Down
29 changes: 15 additions & 14 deletions app/views/shared/sponsors.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,41 +6,42 @@

<h2>Support us!</h2>

<div style="text-align:center;height:40px;">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="DWV8RS3BHMVC2">
<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</div>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div style="text-align:center;height:40px;">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="DWV8RS3BHMVC2">
<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</div>
</form>

<h2>Sponsors</h2>
<ul class="ads">
<li><a href="http://web.horde.ws/hub.org/?ri=765"><img src="<?php echo $GLOBALS['host_base'] ?>/images/hub.png" /></a></li>
<li><a href="http://web.horde.ws/b1-systems.de/"><img src="<?php echo $GLOBALS['host_base'] ?>/images/b1systems.png" /></a></li>
<li><a href="http://web.horde.ws/hub.org/?ri=765"><img src="<?php echo $GLOBALS['host_base'] ?>/images/hub.png" alt="Hub.Org"></a></li>
<li><a href="http://web.horde.ws/b1-systems.de/"><img src="<?php echo $GLOBALS['host_base'] ?>/images/b1systems.png" alt="B1 Systems"></a></li>
</ul>
<p class="thanks">
<?php echo $this->linkTo('"Thanks!" to all our other sponsors', array('controller' => 'home', 'action' => 'thanks')); ?>
</p>
<div id="webhorde-widget"></div>

<h2>More</h2>
<iframe src="//www.facebook.com/plugins/like.php?app_id=132513070157462&amp;href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FHorde-LLC%2F192707224109487&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:21px;" allowTransparency="true"></iframe>
<iframe src="//www.facebook.com/plugins/like.php?app_id=132513070157462&amp;href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FHorde-LLC%2F192707224109487&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:21px;"></iframe>
<a href="http://twitter.com/hordeproject" class="twitter-follow-button" data-show-count="false">Follow @hordeproject</a>
<script src="//platform.twitter.com/widgets.js" type="text/javascript"></script>

<p>
<?php echo $this->linkTo('Logos', array('controller' => 'home', 'action' => 'logos'), array('class' => 'logos'));?>
</p>

<h2>Shops</h2>
<span style="text-align:center;width:121px;float:left;">European Store<a class="boxl"
href="<?php echo $this->urlWriter->urlFor('shopeu')?>">
<img src="<?php echo $GLOBALS['host_base'] ?>/images/store-eu.png"/>
<img src="<?php echo $GLOBALS['host_base'] ?>/images/store-eu.png" alt="EU Store">
</a></span>
<span style="text-align:center;width:121px;float:left;">US Store<a class="boxl"
href="<?php echo $this->urlWriter->urlFor('shopus')?>">
<img src="<?php echo $GLOBALS['host_base'] ?>/images/store-us.png"/>
<img src="<?php echo $GLOBALS['host_base'] ?>/images/store-us.png" alt="US Store">
</a></span>
<!-- <span style="text-align:center;width:61px;float:left;">CafePress<a class="boxl"
href="http://cafepress.com/hordeproject"> <img style="margin-top:15px"
Expand All @@ -54,5 +55,5 @@
<a href="http://www.cafepress.com/make/" title="Make Custom Gifts at CafePress">Custom Gifts</a>&nbsp;at CafePress
</div>
<script type="text/javascript" src="//content4.cpcache.com/marketplace/widgets/javascripts/widget.js"></script>
--></div>
-->
</div>

0 comments on commit 065787a

Please sign in to comment.