-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various V2 tweaks, add new panel to work on.
- Loading branch information
Andrew Powers
committed
Jul 4, 2013
1 parent
a6febe5
commit 173daa1
Showing
8 changed files
with
54 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
|
||
|
||
class PLAccountPanel{ | ||
|
||
function __construct(){ | ||
|
||
add_filter('pl_toolbar_config', array(&$this, 'toolbar')); | ||
|
||
$this->url = PL_PARENT_URL . '/editor'; | ||
|
||
} | ||
|
||
function toolbar( $toolbar ){ | ||
$toolbar['account'] = array( | ||
'name' => 'PageLines', | ||
'icon' => 'icon-pagelines', | ||
'pos' => 110, | ||
// 'type' => 'btn', | ||
'panel' => array( | ||
'heading' => "<i class='icon-pagelines'></i> PageLines Account", | ||
'welcome' => array( | ||
'name' => 'Welcome!', | ||
'icon' => 'icon-star' | ||
), | ||
'account' => array( | ||
'name' => 'Your Account', | ||
'icon' => 'icon-user' | ||
), | ||
'support' => array( | ||
'name' => 'Support', | ||
'icon' => 'icon-comments' | ||
), | ||
) | ||
); | ||
|
||
return $toolbar; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
/* | ||
/* | ||
Section: Flipper | ||
Author: PageLines | ||
Author URI: http://www.pagelines.com | ||
|