diff options
author | 2010-04-21 09:16:33 -0600 | |
---|---|---|
committer | 2010-04-21 09:16:33 -0600 | |
commit | d33b341a6ce45ba68f7f7e6fe85571e9e4a108a0 (patch) | |
tree | cc556c2d891772ac9e2a79eadc01c925cba4c01d | |
parent | Russian translation (diff) | |
download | znurt-org-frontend-d33b341a6ce45ba68f7f7e6fe85571e9e4a108a0.tar.gz znurt-org-frontend-d33b341a6ce45ba68f7f7e6fe85571e9e4a108a0.tar.bz2 znurt-org-frontend-d33b341a6ce45ba68f7f7e6fe85571e9e4a108a0.zip |
cosmetics
-rw-r--r-- | about.php | 4 | ||||
-rw-r--r-- | architectures.php | 2 | ||||
-rw-r--r-- | base.php | 2 | ||||
-rw-r--r-- | bugs.php | 2 | ||||
-rw-r--r-- | css/master.css | 4 | ||||
-rw-r--r-- | feeds.php | 4 | ||||
-rw-r--r-- | nav.primary.php | 4 | ||||
-rw-r--r-- | nav.recent_changes.php | 2 | ||||
-rw-r--r-- | nav.search.php | 8 | ||||
-rw-r--r-- | nav.social_media.php | 4 | ||||
-rw-r--r-- | new.php | 6 | ||||
-rw-r--r-- | new_packages.php | 10 | ||||
-rw-r--r-- | requests.php | 2 | ||||
-rw-r--r-- | search.php | 2 | ||||
-rw-r--r-- | useflag.php | 2 | ||||
-rw-r--r-- | useflags.php | 2 |
16 files changed, 30 insertions, 30 deletions
@@ -5,7 +5,7 @@ $str = gettext("ABOUT"); echo "<h4>$str</h4>"; - echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'/>\n"; + echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'>\n"; echo "<div class='about'>\n"; @@ -15,7 +15,7 @@ echo "<p>".gettext("\"the fresh ebuilds\" is a site to track information about packages, ebuilds and their relative metadata supplied by <a href='http://www.gentoo.org/'>Gentoo Linux</a>.")."</p>\n"; echo "<p>".gettext("This site is not an official Gentoo website.")."</p>\n"; echo "<p>".gettext("Original Gentoo artwork and logos copyright © Gentoo Foundation.")."</p>\n"; - echo "<p>".sprintf(gettext("\"the fresh ebuilds\" original design and artwork by %s."), '"the fresh ebuilds"', "<a href='http://www.molanphydesign.com/'>Molanphy Design</a>")."</p>\n"; + echo "<p>".sprintf(gettext("\"the fresh ebuilds\" original design and artwork by %s."), "<a href='http://www.molanphydesign.com/'>Molanphy Design</a>")."</p>\n"; echo "<p>".sprintf(gettext("Icon set copyright © %s."), "<a href='http://www.famfamfam.com/'>Mark James</a>")."</p>\n"; echo "<p>".sprintf(gettext("Original code and site maintenance by %s."), "<a href='http://wonkabar.org/'>Steve Dibb</a>")."</p>\n"; echo "<p>".sprintf(gettext("Powered by %s and lots of chocolate-chip cookies."), "<a href='http://www.gentoo.org/'>Gentoo Linux</a>, <a href='http://httpd.apache.org/'>Apache 2</a>, <a href='http://www.php.net/'>PHP 5</a>, <a href='http://www.postgresql.org/'>PostgreSQL 8</a>")."</p>\n"; diff --git a/architectures.php b/architectures.php index 9175af6..581c74f 100644 --- a/architectures.php +++ b/architectures.php @@ -9,7 +9,7 @@ // Common::pre($_COOKIE['arch']); - echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'/>\n"; + echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'>\n"; echo "<div class='about'>\n"; @@ -291,7 +291,7 @@ echo "<h4>Um, whut?</h4>"; - echo "<div align='center'><img src='".$base_uri."images/failboat.jpg' /></div>\n"; + echo "<div align='center'><img src='".$base_uri."images/failboat.jpg'></div>\n"; // print_r($uri); } @@ -2,7 +2,7 @@ $str = gettext("BUGS"); echo "<h4>$str</h4>"; - echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'/>\n"; + echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'>\n"; echo "<div class='about'>\n"; echo "<p>First bug is, set up a decent bug tracker.</p>\n"; diff --git a/css/master.css b/css/master.css index 220b15d..51f23e8 100644 --- a/css/master.css +++ b/css/master.css @@ -631,4 +631,8 @@ div.description { div.about { margin: 0 5px 0 14px; +} + +.nowrap { + white-space: nowrap; }
\ No newline at end of file @@ -6,7 +6,7 @@ echo "<h4>".gettext("Subscription Feeds")."</h4>"; - echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'/>\n"; + echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'>\n"; echo "<h4>".gettext("fresh ebuilds")."</h4>"; @@ -42,7 +42,7 @@ echo "</div>\n"; - echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'/>\n"; + echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'>\n"; echo "<h4>".gettext("new packages")."</h4>"; diff --git a/nav.primary.php b/nav.primary.php index 554485b..ddddde0 100644 --- a/nav.primary.php +++ b/nav.primary.php @@ -1,5 +1,5 @@ <div id="primaryNav"> - <hr /> + <hr> <ul class="mainNav"> <li class="home"><a href="<?=$base_uri;?>"><?=gettext('Recent Changes');?></a></li> <li class="new_packages"><a href="<?=$base_uri.$url_new_packages;?>"><?=gettext('New Packages');?></a></li> @@ -9,5 +9,5 @@ <li class="arch"><a href="<?=$base_uri.$url_arch;?>"><?=gettext('Architectures');?></a></li> <li class="linguas"><a href="<?=$base_uri.$url_linguas;?>"><?=gettext('Linguas');?></a></li> </ul> - <hr /> + <hr> </div>
\ No newline at end of file diff --git a/nav.recent_changes.php b/nav.recent_changes.php index c62303c..fe0f239 100644 --- a/nav.recent_changes.php +++ b/nav.recent_changes.php @@ -31,5 +31,5 @@ ?> </ul> - <hr /> + <hr> </div>
\ No newline at end of file diff --git a/nav.search.php b/nav.search.php index a23b8e3..9f7f254 100644 --- a/nav.search.php +++ b/nav.search.php @@ -1,9 +1,9 @@ <div id="search"> <h4><?=gettext('SEARCH');?></h4> - <form class="searchForm" action="<?=$base_uri;?>search.php" method="get" autocomplete='off'> - <input type="text" name="search" class='search' size="17" /> - <input type="text" name="q" class='q' size="17" /> - <input type="image" src="<?=$base_uri;?>img/search.png" value="<?=gettext('Search');?>" alt="<?=gettext('Search');?>" /> + <form class="searchForm" action="<?=$base_uri;?>search.php" method="get" id="searchForm"> + <input type="text" name="search" class='search' size="17"> + <input type="text" name="q" class='q' size="17"> + <input type="image" src="<?=$base_uri;?>img/search.png" value="<?=gettext('Search');?>" alt="<?=gettext('Search');?>"> <!-- <a class="copyright" href="">Advanced Search</a> --> </form> </div>
\ No newline at end of file diff --git a/nav.social_media.php b/nav.social_media.php index 524be0a..9401e8e 100644 --- a/nav.social_media.php +++ b/nav.social_media.php @@ -1,8 +1,8 @@ <div id="social_media"> - <hr/> + <hr> <ul> <li class="feed"><a href="<?=$base_uri.$url_feeds;?>"><?=gettext('Subscription Feeds');?></a></li> <li class="twitter"><a href="http://twitter.com/znurt/"><?=gettext('Follow us on Twitter');?></a></li> </ul> - <hr /> + <hr> </div>
\ No newline at end of file @@ -65,14 +65,14 @@ $prev_page = $base.($page - 1); echo "<div id='pagination' style='padding-bottom: 25px;'>\n"; - echo "<img src='".$base_uri."img/hr_dotted.png' width='709' height='3' alt='' />\n"; + echo "<img src='".$base_uri."img/hr_dotted.png' width='709' height='3' alt=''>\n"; if($page) { $str = gettext('Next Page'); - echo "<a href='$next_page'><img src='".$base_uri."img/next_page.png' width='125' height='25' alt='$str' /></a>\n"; + echo "<a href='$next_page'><img src='".$base_uri."img/next_page.png' width='125' height='25' alt='$str'></a>\n"; } if($page > 1) { $str = gettext('Previous Page'); - echo "<a href='$prev_page'><img src='".$base_uri."img/prev_page.png' width='125' height='25' alt='$str' /></a>\n"; + echo "<a href='$prev_page'><img src='".$base_uri."img/prev_page.png' width='125' height='25' alt='$str'></a>\n"; } echo "</div>\n"; diff --git a/new_packages.php b/new_packages.php index ba9741a..60fcafb 100644 --- a/new_packages.php +++ b/new_packages.php @@ -19,10 +19,6 @@ $arr_new_packages[$row['package']][] = $row['ebuild']; } - if(count($arr_new_packages) < 100 && $lingua == 'en') { - echo "<div class='description'><b>Note:</b> The new packages data will be a bit sparse while the database is still populating new data after the site launch.</div>"; - } - if(count($arr_new_packages)) { foreach($arr_new_packages as $arr) { echo keywordsRow($arr, 'new'); @@ -39,11 +35,11 @@ $prev_page = $base.($page - 1); echo "<div id='pagination' style='padding-bottom: 25px;'>\n"; - echo "<img src='".$base_uri."img/hr_dotted.png' width='709' height='3' alt='' />\n"; + echo "<img src='".$base_uri."img/hr_dotted.png' width='709' height='3' alt=''>\n"; if($page) - echo "<a href='$next_page'><img src='".$base_uri."img/next_page.png' width='125' height='25' alt='Next Page' /></a>\n"; + echo "<a href='$next_page'><img src='".$base_uri."img/next_page.png' width='125' height='25' alt='Next Page'></a>\n"; if($page > 1) - echo "<a href='$prev_page'><img src='".$base_uri."img/prev_page.png' width='125' height='25' alt='Previous Page' /></a>\n"; + echo "<a href='$prev_page'><img src='".$base_uri."img/prev_page.png' width='125' height='25' alt='Previous Page'></a>\n"; echo "</div>\n"; ?>
\ No newline at end of file diff --git a/requests.php b/requests.php index 8864e60..ddbaf1c 100644 --- a/requests.php +++ b/requests.php @@ -2,7 +2,7 @@ echo "<h4>feature requests</h4>"; - echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'/>\n"; + echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'>\n"; echo "<div class='about'>\n"; echo "<p>There are a lot of planned features for the site. If you don't see what you want added here, please feel free to <a href='http://wonkabar.org/contact-me'>contact me</a> and I'll let you know if it's viable or not.</p>\n"; @@ -82,7 +82,7 @@ if($arr_easter_eggs[strtolower($q)] && $offset == 0) { $url = $base_uri."images/".$arr_easter_eggs[$q]; - echo "<div align='center' style='padding: 15px;'><img src='$url' /></div>\n"; + echo "<div align='center' style='padding: 15px;'><img src='$url'></div>\n"; } if($count > 1) { diff --git a/useflag.php b/useflag.php index 380d085..4e4dd87 100644 --- a/useflag.php +++ b/useflag.php @@ -17,7 +17,7 @@ $sql = "SELECT category_name, package_name, description FROM view_package_useflags WHERE useflag_name = ".$db->quote($useflag_name)." ORDER BY category_name, package_name;"; $arr = $db->getAll($sql); - echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'/>\n"; + echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'>\n"; echo "<table class='useflags' cellpadding='4' cellspacing='0'>\n"; diff --git a/useflags.php b/useflags.php index 27420fe..830ce10 100644 --- a/useflags.php +++ b/useflags.php @@ -13,7 +13,7 @@ echo "<div class='about'>\n"; - echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'/>\n"; + echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'>\n"; echo "<table style='padding-bottom: 25px;' cellpadding='4' cellspacing='0'>\n"; |