Ticket #15228: hello.diff
| File hello.diff, 759 bytes (added by kapeels, 3 years ago) |
|---|
-
hello.php
56 56 echo "<p id='dolly'>$chosen</p>"; 57 57 } 58 58 59 // Now we set that function up to execute when the admin_ footeraction is called60 add_action('admin_ footer', 'hello_dolly');59 // Now we set that function up to execute when the admin_notices action is called 60 add_action('admin_notices', 'hello_dolly'); 61 61 62 62 // We need some CSS to position the paragraph 63 63 function dolly_css() { … … 67 67 echo " 68 68 <style type='text/css'> 69 69 #dolly { 70 position: absolute; 71 top: 4.5em; 70 float:right; 71 padding-$x:15px; 72 padding-top:5px; 72 73 margin: 0; 73 padding: 0;74 $x: 215px;75 74 font-size: 11px; 76 75 } 77 76 </style>