-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.php
More file actions
48 lines (48 loc) · 2.24 KB
/
about.php
File metadata and controls
48 lines (48 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
if(!defined('ULFBEN_DONATE_URL')){
define('ULFBEN_DONATE_URL', 'http://www.amazon.com/gp/registry/wishlist/2QB6SQ5XX2U0N/105-3209188-5640446?reveal=unpurchased&filter=all&sort=priority&layout=standard&x=21&y=17');
}
$plugin_title = 'WP-dTree';
$plugin_changelog = 'http://wordpress.org/extend/plugins/wp-dtree-30/changelog/';
$year = '2007';
$plugin_forum = 'http://wordpress.org/tags/wp-dtree-30?forum_id=10';
$flattr_profile = 'http://flattr.com/thing/367557/Support-my-plugins';
$flattr_api = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
$wishlist = ULFBEN_DONATE_URL;
$author_site = 'http://www.ulfben.com/';
$author_profile = 'http://profiles.wordpress.org/users/ulfben/';
?>
<script type="text/javascript">
/* <![CDATA[ */
(function() {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = '<?php echo $flattr_api; ?>';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */
</script>
<style type="text/css">
#about{ float: right; width:300px; background: #ffc; border: 1px solid #333; padding: 5px; text-align: justify; }
#about p, li, ol{ font-family:verdana; font-size:11px; }
#about h3 {text-align:center;}
.field_info {text-align:right;};
</style>
<?php echo "<div id='about'>
<h3>From the author</h3>
<p>My name is <a href='{$author_site}'>Ulf Benjaminsson</a> and I've developed {$plugin_title} <a href='{$plugin_changelog}'>since {$year}</a>. Nice to meet you! :)</p>
<p>If you value <a href='{$author_profile}'>my plugins</a>, please <strong>help me out</strong> by <a href='{$flattr_profile}' target='_blank'>Flattr-ing them</a>!</p>
<p style='text-align:center;'>
<a class='FlattrButton' style='display:none;' rev='flattr;button:compact;' href='{$author_profile}'></a>
<noscript><a href='{$flattr_profile}' target='_blank'>
<img src='http://api.flattr.com/button/flattr-badge-large.png' alt='Flattr this' title='Flattr this' border='0' /></a></noscript></span></p>
<p>Or perhaps <a href='{$wishlist}' title='Amazon whishlist'>send me a book</a>? Used ones are fine! :)</p>
<p>//<a href='{$author_site}'>Ulf Benjaminsson</a></p>
<hr />
<h3>Need Help?</h3>
<ol>
<li><a href='{$plugin_forum}'>Support Forum</a></li>
</ol>
</div>";
?>