-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from cosmocode/snippets
Mail templates and Igor compatibility
- Loading branch information
Showing
23 changed files
with
872 additions
and
247 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
namespace dokuwiki\plugin\recommend; | ||
|
||
|
||
/** | ||
* Menu Item | ||
*/ | ||
class MenuItem extends \dokuwiki\Menu\Item\AbstractItem | ||
{ | ||
/** @inheritdoc */ | ||
public function getType() | ||
{ | ||
return 'recommend'; | ||
} | ||
|
||
/** @inheritdoc */ | ||
public function getSvg() | ||
{ | ||
return __DIR__ . '/admin.svg'; | ||
} | ||
|
||
/** | ||
* Get label from plugin language file | ||
* | ||
* @return string | ||
*/ | ||
public function getLabel() { | ||
$hlp = plugin_load('action', 'recommend'); | ||
return $hlp->getLang('menu_recommend'); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.