| [ Index ] |
PHP Cross Reference of PageLines Framework |
[Summary view] [Print] [Text view]
1 <?php 2 3 4 class PageLinesSupportPanel { 5 6 /** 7 * PHP5 Constructor 8 */ 9 function __contruct(){ } 10 11 function draw(){ 12 13 $dash = new PageLinesDashboard; 14 15 16 17 $view = $this->get_welcome_billboard(); 18 19 // PageLines Plus 20 $args = array( 21 'title' => __( 'PageLines Support', 'pagelines' ), 22 'data' => $this->support_array(), 23 'icon' => PL_ADMIN_ICONS . '/balloon-white.png', 24 'excerpt-trim' => false, 25 'format' => 'button-links' 26 ); 27 28 $view .= $dash->wrap_dashboard_pane('tips', $args); 29 30 // PageLines Plus 31 $args = array( 32 'title' => __( 'Other PageLines Resources', 'pagelines' ), 33 'data' => $this->resources_array(), 34 'icon' => PL_ADMIN_ICONS . '/toolbox.png', 35 'excerpt-trim' => false, 36 'format' => 'button-links' 37 ); 38 39 $view .= $dash->wrap_dashboard_pane('tips', $args); 40 41 return $view; 42 } 43 44 function get_welcome_billboard(){ 45 46 ob_start(); 47 ?> 48 49 <div class="admin_billboard"> 50 <div class="admin_billboard_pad fix"> 51 <h3 class="admin_header_main"> 52 PageLines Resources <span class="spamp">&</span> Support 53 </h3> 54 <div class='admin_billboard_text'> 55 Tons of options for fast and professional support. 56 </div> 57 </div> 58 </div> 59 <?php 60 61 $bill = ob_get_clean(); 62 63 64 return apply_filters('pagelines_welcome_billboard', $bill); 65 } 66 67 function support_array(){ 68 69 $data = array( 70 'story3' => array( 71 'title' => __( 'PageLines Live - Technical Community Chat (Plus Only)', 'pagelines' ), 72 'text' => __( 'Talk to others in the PageLines community and get instant help from Live Moderators.', 'pagelines' ), 73 'img' => PL_ADMIN_ICONS . '/dash-live.png', 74 'link' => 'http://www.pagelines.com/live/', 75 ), 76 'story4' => array( 77 'title' => __( 'PageLines Documentation', 'pagelines' ), 78 'text' => __( 'Docs for everything you want to do with PageLines.', 'pagelines' ), 79 'img' => PL_ADMIN_ICONS . '/dash-docs.png', 80 'link' => 'http://www.pagelines.com/wiki/', 81 ), 82 'story1' => array( 83 'title' => __( 'PageLines Forum', 'pagelines' ), 84 'text' => __( 'Find answers to common technical issues. Post questions and get responses from PageLines experts.', 'pagelines' ), 85 'img' => PL_ADMIN_ICONS . '/dash-forum.png', 86 'link' => 'http://www.pagelines.com/forum/', 87 ), 88 'vids' => array( 89 'title' => __( 'PageLines Videos and Training', 'pagelines' ), 90 'text' => __( 'Check out the latest videos on how to use PageLines fast and effectively via YouTube.', 'pagelines' ), 91 'img' => PL_ADMIN_ICONS . '/dash-video.png', 92 'link' => 'http://www.youtube.com/user/pagelines/videos?view=1', 93 ) 94 ); 95 96 return $data; 97 98 } 99 100 function resources_array(){ 101 102 $data = array( 103 'aff' => array( 104 'title' => __( 'Affiliate Program', 'pagelines' ), 105 'text' => __( 'Earn up to $130 (33%) on each referral to PageLines! Get started in 5 minutes.', 'pagelines' ), 106 'img' => PL_ADMIN_ICONS . '/dash-aff.png', 107 'link' => 'http://www.pagelines.com/partners', 108 ), 109 'pros' => array( 110 'title' => __( 'PageLines Pros', 'pagelines' ), 111 'text' => __( 'The Pros are PageLines experts who you can pay to help customize your website.', 'pagelines' ), 112 'img' => PL_ADMIN_ICONS . '/dash-pros.png', 113 'link' => 'http://www.pagelines.com/pros', 114 ), 115 'dev' => array( 116 'title' => __( 'Developer Center', 'pagelines' ), 117 'text' => __( 'Resources for professionals and developers using PageLines. Access to Beta releases and more.', 'pagelines' ), 118 'img' => PL_ADMIN_ICONS . '/dash-dev.png', 119 'link' => 'http://developer.pagelines.com', 120 ), 121 'trans' => array( 122 'title' => __( 'Translation Center', 'pagelines' ), 123 'text' => __( 'Get PageLines in your language or collaborate on a translation.', 'pagelines' ), 124 'img' => PL_ADMIN_ICONS . '/dash-trans.png', 125 'link' => 'http://www.pagelines.com/translate/', 126 ), 127 128 ); 129 130 return $data; 131 132 } 133 134 135 136 137 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Sat Apr 6 23:00:27 2013 | Cross-referenced by PHPXref 0.7.1 |