Changeset 776236
- Timestamp:
- 09/21/2013 03:04:47 AM (13 years ago)
- Location:
- dashboard/trunk
- Files:
-
- 2 added
- 1 edited
-
css/dashboard.css (added)
-
dashboard.php (modified) (4 diffs)
-
js/dashboard.js (added)
Legend:
- Unmodified
- Added
- Removed
-
dashboard/trunk/dashboard.php
r767440 r776236 17 17 18 18 private $active_modules = array( 19 'dashboard', 19 20 //'combinednews', 20 21 'quickdraft', … … 25 26 self::$instance = $this; 26 27 27 //add_action( 'admin_menu', array( $this , 'dash_add_menu' ) );28 add_action( 'admin_menu', array( $this , 'dash_add_menu' ) ); 28 29 add_action( 'admin_enqueue_scripts', array( $this , 'enqueue_scripts' ) ); 29 30 … … 44 45 } 45 46 46 /*47 47 function dash_add_menu() { 48 48 $this->screen = add_dashboard_page( 'Dash', 'Dash', 'read', 'dash-dash', array( __CLASS__, 'dash_page' ) ); … … 53 53 <div class="wrap"> 54 54 55 <?php screen_icon(); ?> 56 57 <h2><?php esc_html_e( 'Dash' ); ?></h2> 55 <h2><?php $words = array( 'Hola', 'Bonjour', 'Aloha', 'Ahoy There', "G'day", 'Hi There Beautiful', "It's Go Time", 'Break a Leg', 'Go For Broke', 'Keep Your Chin Up' ); echo esc_html( $words[ mt_rand( 0, count( $words) -1 ) ] ); ?></h2> 58 56 59 57 </div><!-- .wrap --> 60 58 <?php 61 59 } 62 */63 60 } 64 61 new Plugin_Dashboard;
Note: See TracChangeset
for help on using the changeset viewer.