Plugin version
This commit is contained in:
parent
5c8dea969e
commit
648635a780
@ -227,6 +227,11 @@ div.pluginBox p {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
div.pluginBox span.version {
|
||||
color: #ccc;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/* ----------- PLUGINS FORM ----------- */
|
||||
|
||||
#jsformplugin div {
|
||||
|
@ -5,7 +5,7 @@
|
||||
{
|
||||
echo '<div class="pluginBox">';
|
||||
|
||||
echo '<p>'.$Plugin->name().'</p>';
|
||||
echo '<p>'.$Plugin->name().'<span class="version">'.$Language->g('Version').': '.$Plugin->version().'</span></p>';
|
||||
echo '<p>'.$Plugin->description().'</p>';
|
||||
|
||||
if($Plugin->installed()) {
|
||||
|
@ -124,6 +124,16 @@ class Plugin {
|
||||
return $this->getData('website');
|
||||
}
|
||||
|
||||
public function version()
|
||||
{
|
||||
return $this->getData('version');
|
||||
}
|
||||
|
||||
public function releaseDate()
|
||||
{
|
||||
return $this->getData('releaseDate');
|
||||
}
|
||||
|
||||
public function className()
|
||||
{
|
||||
return $this->className;
|
||||
|
@ -128,5 +128,6 @@
|
||||
"delete-the-user-and-associate-its-posts-to-admin-user": "Delete the user and associate its posts to admin user",
|
||||
"read-more": "Read more",
|
||||
"show-blog": "Show blog",
|
||||
"default-home-page": "Default home page"
|
||||
"default-home-page": "Default home page",
|
||||
"version": "Version"
|
||||
}
|
@ -6,7 +6,8 @@
|
||||
"author": "Diego",
|
||||
"email": "",
|
||||
"website": "",
|
||||
"version": ""
|
||||
"version": "0.1",
|
||||
"releaseDate": ""
|
||||
},
|
||||
|
||||
"name": "Name",
|
||||
|
@ -5,7 +5,9 @@
|
||||
"description": "List of pages",
|
||||
"author": "Diego",
|
||||
"email": "",
|
||||
"website": ""
|
||||
"website": "",
|
||||
"version": "0.1",
|
||||
"releaseDate": ""
|
||||
},
|
||||
|
||||
"pages": "Pages",
|
||||
|
Loading…
Reference in New Issue
Block a user