PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 3.37
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v3.37
3.37 3.36 3.35 3.34 3.33 2.19 2.20 2.21 2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30 2.31 2.32 2.33 2.34 2.40 2.41 2.42 2.43 All 142 releases
← All changes | Admin/Admin_Page.php +21 -14 2.40 → 3.37 View file →
@@ -1,9 +1,10 @@
1 1 <?php
2 +
2 3 namespace Photonic_Plugin\Admin;
3 4
4 5 abstract class Admin_Page {
5 - function render($header) {
6 + public function render($header) {
6 7 $this->start_content();
7 8 $this->show_header($header);
8 9 $this->render_content();
9 10 $this->end_content();
@@ -8,35 +9,41 @@
8 9 $this->render_content();
9 10 $this->end_content();
10 11 }
11 12
12 - abstract function render_content();
13 + abstract public function render_content();
13 14
14 - function start_content() {
15 + public function start_content() {
15 16 ?>
16 17 <div class="photonic-wrap">
17 18 <?php
18 19 }
19 20
20 - function end_content() {
21 + public function end_content() {
21 22 ?>
22 23 </div>
23 24 <?php
24 25 }
25 26
26 - function show_header($header) {
27 + public function show_header($header) {
27 28 ?>
28 - <div class="photonic-waiting"><img src="<?php echo PHOTONIC_URL.'include/images/downloading-dots.gif'; ?>" alt='waiting'/></div>
29 + <div class="photonic-waiting"><img src="<?php echo esc_url(PHOTONIC_URL) . 'include/images/downloading-dots.gif'; ?>"
30 + alt='waiting'/></div>
29 31 <header class="photonic-header">
30 - <h1>Photonic &ndash; <?php echo $header; ?></h1>
32 + <h1>Photonic &ndash; <?php echo wp_kses_post($header); ?></h1>
31 33 <div class='donate fix'>
32 - <ul>
33 - <li class='announcements'><a href='https://aquoid.com/news/'><span class="icon">&nbsp;</span>Announcements</a></li>
34 - <li class='support'><a href='https://wordpress.org/support/plugin/photonic/'><span class="icon">&nbsp;</span>Support</a></li>
35 - <li class='coffee'><a href='https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=85LSBSV2HKSX4&source=url'><span class="icon">&nbsp;</span>Like Photonic? Buy me a coffee &hellip;</a></li>
36 - <li class='rate'><a href='https://wordpress.org/support/plugin/photonic/reviews/'><span class="icon">&nbsp;</span>&hellip; Or Rate it Well!</a></li>
37 - </ul>
34 + <ul>
35 + <li class='announcements'><a href='https://aquoid.com/news/'><span class="icon">&nbsp;</span>Announcements</a>
36 + </li>
37 + <li class='support'><a href='https://wordpress.org/support/plugin/photonic/'><span class="icon">&nbsp;</span>Support</a>
38 + </li>
39 + <li class='coffee'><a
40 + href='https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=85LSBSV2HKSX4&source=url'><span
41 + class="icon">&nbsp;</span>Like Photonic? Buy me a coffee &hellip;</a></li>
42 + <li class='rate'><a href='https://wordpress.org/support/plugin/photonic/reviews/'><span
43 + class="icon">&nbsp;</span>&hellip; Or Rate it Well!</a></li>
44 + </ul>
38 45 </div><!-- donate -->
39 46 </header>
40 47 <?php
41 48 }
42 -}
49 +}