Changeset View
Changeset View
Standalone View
Standalone View
include/doc_footer.inc
1 | </div></div> | 1 | <footer id="kFooter" class="footer"> | ||
---|---|---|---|---|---|
2 | 2 | <section id="KSiteDonateForm"> | |||
3 | <?php if ($site_menus == 2) { ?> | 3 | <h3>Donate to KDE | ||
4 | </td> | 4 | <a href="https://www.kde.org/community/donations/index.php#money" | ||
5 | <td valign="top" class="menuheader" height="0"> | 5 | target="_blank">Why donate?</a> | ||
6 | <?php } ?> | 6 | </h3> | ||
7 | 7 | | |||
8 | <?php if ($site_menus > 0) { ?> | 8 | <form action="https://www.paypal.com/en_US/cgi-bin/webscr" method="post" | ||
9 | </td> | 9 | onsubmit="return amount.value >= 2 || window.confirm('Your donation is smaller than 2€. This means that most of your donation\nwill end up in processing fees. Do you want to continue?');"> | ||
10 | </tr> | 10 | <input type="hidden" name="cmd" value="_donations"/> | ||
11 | <tr> | 11 | <input type="hidden" name="lc" value="GB"/> | ||
12 | <td valign="top" id="leftmenu" width="25%"> | 12 | <input type="hidden" name="item_name" value="Development and communication of KDE software"/> | ||
13 | <a name="navigation"></a> | 13 | <input type="hidden" name="custom" value="//neon.kde.org//neon_donation_footer_index.php"/> | ||
14 | <?php $kde_menu->show(); ?> | 14 | <input type="hidden" name="currency_code" value="EUR"/> | ||
15 | 15 | <input type="hidden" name="cbt" value="Return to www.kde.org"/> | |||
16 | <?php if ($site_menus == 2) { ?> | 16 | <input type="hidden" name="return" value="https://www.kde.org/community/donations/thanks_paypal.php"/> | ||
17 | </td> | 17 | <input type="hidden" name="notify_url" value="https://www.kde.org/community/donations/notify.php"/> | ||
18 | <td valign="top" id="rightmenu" width="25%"> | 18 | <input type="hidden" name="business" value="kde-ev-paypal@kde.org"/> | ||
19 | <?php } ?> | 19 | <input type='text' name="amount" value="10.00" id="donateAmountField"/> € | ||
20 | 20 | <button type='submit' id="donateSubmit">Donate via PayPal</button> | |||
21 | <?php | 21 | </form> | ||
22 | $searchstart = '<div class="menu_box"><h2 id="t_search">'. i18n_var("Search") . "</h2>\n<div id=\"search\">\n"; | 22 | | ||
23 | $hotspotstart = '<div class="menu_box"><h2 id="t_hotspot">' . i18n_var("Hotspot") . "</h2>\n<div id=\"hotspot\">\n"; | 23 | <a href="https://www.kde.org/community/donations/others.php" id="otherWaysDonate" target="_blank">Other ways to donate</a> | ||
24 | $end = "</div></div>\n"; | 24 | </section> | ||
25 | if (!isset($site_search) || ($site_search == true)) { | 25 | | ||
26 | print $searchstart; | 26 | <section id="kLinks" class="container"> | ||
27 | include_once("search.inc"); | 27 | <div class="row"> | ||
28 | print $end; | 28 | <nav class="col-sm"> | ||
29 | } | 29 | <h3>Products</h3> | ||
30 | else if ($site_search == "custom") { | 30 | <a href="https://www.kde.org/plasma-desktop">Plasma</a> | ||
31 | print $searchstart; | 31 | <a href="https://www.kde.org/applications/">KDE Applications</a> | ||
32 | include_once("$site_root/includes/search.inc"); | 32 | <a href="https://plasma-mobile.org/overview/">Plasma Mobile</a> | ||
33 | print $end; | 33 | <a href="https://neon.kde.org/">KDE neon</a> | ||
34 | } | 34 | <a href="https://wikitolearn.org/" target="_blank">WikiToLearn</a> | ||
35 | 35 | </nav> | |||
36 | if (isset($site_hotspot)) { | 36 | | ||
37 | if ($site_hotspot === true) { | 37 | <nav class="col-sm"> | ||
38 | print $hotspotstart; | 38 | <h3>Develop</h3> | ||
39 | include_once("hotspot.inc"); | 39 | <a href="https://techbase.kde.org/">TechBase Wiki</a> | ||
40 | print $end; | 40 | <a href="https://api.kde.org/">Api Documentation</a> | ||
41 | } | 41 | <a href="https://doc.qt.io/" target="_blank">Qt Documentation</a> | ||
42 | else | 42 | <a href="https://inqlude.org/" target="_blank">Inqlude Documentation</a> | ||
43 | if ($site_hotspot == "custom") { | 43 | </nav> | ||
44 | print $hotspotstart; | 44 | | ||
45 | include_once("$site_root/includes/hotspot.inc"); | 45 | <nav class="col-sm"> | ||
46 | print $end; | 46 | <h3>News & Press</h3> | ||
47 | } | 47 | <a href="https://www.kde.org/announcements/">Announcements</a> | ||
48 | } | 48 | <a href="https://dot.kde.org/">Kde.news</a> | ||
49 | ?> | 49 | <a href="https://planetkde.org/">Planet KDE</a> | ||
50 | 50 | <a href="https://www.kde.org/screenshots">Screenshots</a> | |||
51 | <?php if ($site_menus == 2) { ?> | 51 | <a href="https://www.kde.org/contact/">Press Contact</a> | ||
52 | <?php include('menu_right.inc'); ?> | 52 | </nav> | ||
53 | <?php } ?> | 53 | | ||
54 | <?php } ?> | 54 | <nav class="col-sm"> | ||
55 | 55 | <h3>Resources</h3> | |||
56 | </td> <!-- make it validate --> | 56 | <a href="https://community.kde.org/Main_Page">Community Wiki</a> | ||
57 | </tr> <!-- make it validate --> | 57 | <a href="https://userbase.kde.org/">UserBase Wiki</a> | ||
58 | </table> <!-- make it validate --> | 58 | <a href="https://www.kde.org/stuff/">Miscellaneous Stuff</a> | ||
59 | </td> | 59 | <a href="https://www.kde.org/support/">Support</a> | ||
60 | </tr> | 60 | <a href="https://www.kde.org/support/international.php">International Websites</a> | ||
61 | </table> | 61 | <a href="https://www.kde.org/download/">Download KDE Software</a> | ||
62 | 62 | </nav> | |||
63 | <span class="doNotDisplay"> | 63 | | ||
64 | <a href="http://www.kde.org/" accesskey="8"><?php i18n("KDE Home")?></a> | | 64 | <nav class="col-sm"> | ||
65 | <a href="http://accessibility.kde.org/" accesskey="9"><?php i18n("KDE Accessibility Home")?></a> | | 65 | <h3>Destinations</h3> | ||
66 | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0"><?php i18n("Description of Access Keys")?></a> | 66 | <a href="https://store.kde.org/">KDE Store</a> | ||
67 | </span> | 67 | <a href="https://ev.kde.org/">KDE e.V.</a> | ||
68 | 68 | <a href="https://www.kde.org/community/whatiskde/kdefreeqtfoundation.php">KDE Free Qt Foundation</a> | |||
69 | <?php | 69 | <a href="https://timeline.kde.org/">KDE Timeline</a> | ||
70 | if (isset($name) && isset($mail)) | 70 | </nav> | ||
71 | $contact = i18n_var("Maintained by") . " <a href=\"mailto:$mail\">$name</a><br />\n"; | | |||
72 | else | | |||
73 | $contact = i18n_var("Maintained by <a href=\"mailto:webmaster@kde.org\">kde.org Webmaster</a><br />\n"); | | |||
74 | ?> | | |||
75 | | ||||
76 | | ||||
77 | <div style="height: 8px;"></div> | | |||
78 | | ||||
79 | <!--<div id="footer"> | | |||
80 | <div id="footer_left"> | | |||
81 | <?php print $contact; ?> | | |||
82 | <?php i18n("KDE and K Desktop Environment are trademarks of")?> <a href="http://www.kde.org/areas/kde-ev/" title="<?php i18n("Homepage of the KDE non-profit Organization")?>"><?php i18n("KDE e.V.")?></a> | | | |||
83 | <a href="http://www.kde.org/contact/impressum.php"><?php i18n("Legal")?></a> | | |||
84 | </div> | | |||
85 | <div id="footer_right"> | | |||
86 | <img src="/media/images/footer_right.png" style="margin: 0px" alt="" /> | | |||
87 | </div> | 71 | </div> | ||
88 | </div>--> | 72 | </section> | ||
89 | | ||||
90 | 73 | | |||
74 | <section id="KGlobalContributorLinks"> | ||||
75 | <nav> | ||||
76 | <a href="https://community.kde.org/Get_Involved" | ||||
77 | target="_blank">Get Involved in KDE</a> | ||||
78 | <aside class="kSocialLinks" style="position: absolute; right: 0px; top: 0px"> | ||||
79 | <a class="no-glyph" href="https://mastodon.technology/@kde" rel="nofollow" target="_blank"> | ||||
80 | <svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 216.4144 232.00976"> | ||||
81 | <path fill="#2b90d9" | ||||
82 | d="M211.80734 139.0875c-3.18125 16.36625-28.4925 34.2775-57.5625 37.74875-15.15875 1.80875-30.08375 3.47125-45.99875 2.74125-26.0275-1.1925-46.565-6.2125-46.565-6.2125 0 2.53375.15625 4.94625.46875 7.2025 3.38375 25.68625 25.47 27.225 46.39125 27.9425 21.11625.7225 39.91875-5.20625 39.91875-5.20625l.8675 19.09s-14.77 7.93125-41.08125 9.39c-14.50875.7975-32.52375-.365-53.50625-5.91875C9.23234 213.82 1.40609 165.31125.20859 116.09125c-.365-14.61375-.14-28.39375-.14-39.91875 0-50.33 32.97625-65.0825 32.97625-65.0825C49.67234 3.45375 78.20359.2425 107.86484 0h.72875c29.66125.2425 58.21125 3.45375 74.8375 11.09 0 0 32.975 14.7525 32.975 65.0825 0 0 .41375 37.13375-4.59875 62.915"/> | ||||
83 | <path fill="#fff" | ||||
84 | d="M177.50984 80.077v60.94125h-24.14375v-59.15c0-12.46875-5.24625-18.7975-15.74-18.7975-11.6025 0-17.4175 7.5075-17.4175 22.3525v32.37625H96.20734V85.42325c0-14.845-5.81625-22.3525-17.41875-22.3525-10.49375 0-15.74 6.32875-15.74 18.7975v59.15H38.90484V80.077c0-12.455 3.17125-22.3525 9.54125-29.675 6.56875-7.3225 15.17125-11.07625 25.85-11.07625 12.355 0 21.71125 4.74875 27.8975 14.2475l6.01375 10.08125 6.015-10.08125c6.185-9.49875 15.54125-14.2475 27.8975-14.2475 10.6775 0 19.28 3.75375 25.85 11.07625 6.36875 7.3225 9.54 17.22 9.54 29.675"/> | ||||
85 | </svg> | ||||
86 | </a> | ||||
87 | <a class="shareFacebook" href="https://www.facebook.com/kde/" rel="nofollow" | ||||
88 | target="_blank">KDE on Facebook</a> | ||||
89 | <a class="shareGoogle" href="https://twitter.com/kdecommunity" rel="nofollow" | ||||
90 | target="_blank">KDE on Google+</a> | ||||
91 | <a class="shareTwitter" href="https://plus.google.com/105126786256705328374/posts" rel="nofollow" | ||||
92 | target="_blank">KDE on Twitter</a> | ||||
93 | </aside> | ||||
94 | </nav> | ||||
95 | </section> | ||||
96 | | ||||
97 | <section id="KGlobalLegalInfo" class="container"> | ||||
98 | Maintained by <a href="https://bugs.kde.org/enter_bug.cgi?format=guided&product=docs">KDE Documentation Team</a><br /> | ||||
99 | <small> | ||||
100 | KDE | ||||
101 | <sup>©</sup> and the K Desktop Environment | ||||
102 | <sup>©</sup> logo ( | ||||
103 | <figure style="font-family: glyph">K</figure> | ||||
104 | ) are registered trademarks of | ||||
105 | <a href="https://ev.kde.org" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | ||||
106 | </small> | ||||
107 | <small> | ||||
108 | <a href="https://www.kde.org/community/whatiskde/impressum.php">Legal</a> | ||||
109 | </small> | ||||
110 | </section> | ||||
111 | </footer> | ||||
91 | <!-- | 112 | <!-- | ||
92 | WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL | 113 | WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL | ||
93 | BE BLOCKED INSTANTLY AND PERMANENTLY! | 114 | BE BLOCKED INSTANTLY AND PERMANENTLY! | ||
94 | <?php | 115 | <?php | ||
95 | $trapmail = "aaaatrap-"; | 116 | $trapmail = "aaaatrap-"; | ||
96 | $t = pack('N', time()); | 117 | $t = pack('N', time()); | ||
97 | for($i=0;$i<=3;$i++) { | 118 | for($i=0;$i<=3;$i++) { | ||
98 | $trapmail.=sprintf("%02x",ord(substr($t,$i,1))); | 119 | $trapmail.=sprintf("%02x",ord(substr($t,$i,1))); | ||
99 | } | 120 | } | ||
100 | $ip=$_SERVER["REMOTE_ADDR"]; | 121 | $ip=$_SERVER["REMOTE_ADDR"]; | ||
101 | sscanf($ip,"%d.%d.%d.%d",$ip1,$ip2,$ip3,$ip4); | 122 | sscanf($ip,"%d.%d.%d.%d",$ip1,$ip2,$ip3,$ip4); | ||
102 | $trapmail.=sprintf("%02x%02x%02x%02x",$ip1,$ip2,$ip3,$ip4); | 123 | $trapmail.=sprintf("%02x%02x%02x%02x",$ip1,$ip2,$ip3,$ip4); | ||
103 | 124 | | |||
104 | echo "<a href=\"mailto:$trapmail@kde.org\">Block me</a>\n"; | 125 | echo "<a href=\"mailto:$trapmail@kde.org\">Block me</a>\n"; | ||
105 | ?> | 126 | ?> | ||
106 | WARNING END | 127 | WARNING END | ||
107 | --> | 128 | --> | ||
108 | 129 | <script src="runtime.js"></script> | |||
130 | <script src="app.js"></script> | ||||
109 | </body> | 131 | </body> | ||
110 | </html> | 132 | </html> |