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