This commit is contained in:
Abdulrahman
2019-06-07 02:06:34 +03:00
parent 1808310b2b
commit 598452c4ca
4 changed files with 6 additions and 4 deletions

View File

@@ -171,8 +171,9 @@
<div class="media-body d-flex justify-content-between"> <div class="media-body d-flex justify-content-between">
<div> <div>
<h5 class="mt-0 mb-2">{{title}}</h5> <h5 class="mt-0 mb-2">{{title}}</h5>
<div style="direction: ltr;"> <div>
<IF NAME="case == check">{{current_version}}</IF>{{version}} <small>{{description}}</small>
<div style="direction: ltr;"><IF NAME="case == check">{{current_version}} → </IF>{{version}}</div>
</div> </div>
</div> </div>

View File

@@ -217,6 +217,7 @@ switch ($case):
'developer' => $plugin_info['developer'], 'developer' => $plugin_info['developer'],
'version' => $plugin_file['version'], 'version' => $plugin_file['version'],
'title' => ! empty($plugin_info['title'][$config['language']]) ? $plugin_info['title'][$config['language']] : $plugin_info['title']['en'], 'title' => ! empty($plugin_info['title'][$config['language']]) ? $plugin_info['title'][$config['language']] : $plugin_info['title']['en'],
'description' => ! empty($plugin_info['description'][$config['language']]) ? $plugin_info['description'][$config['language']] : $plugin_info['description']['en'],
'website' => $plugin_info['website'], 'website' => $plugin_info['website'],
'current_version' => ! empty($installed_plugins[$plugin_info['name']]) ? strtolower($installed_plugins[$plugin_info['name']]['extra_info']['plugin_version']) : '', 'current_version' => ! empty($installed_plugins[$plugin_info['name']]) ? strtolower($installed_plugins[$plugin_info['name']]['extra_info']['plugin_version']) : '',
'kj_min_version' => $plugin_info['kleeja_version']['min'], 'kj_min_version' => $plugin_info['kleeja_version']['min'],

View File

@@ -955,7 +955,7 @@ function delete_olang($words = '', $lang = 'en', $plg_id = 0)
{ {
foreach ($words as $w) foreach ($words as $w)
{ {
delete_olang($w, $language); delete_olang($w, $language, $plg_id);
} }
} }

View File

@@ -324,7 +324,7 @@ class defaultUploader implements KleejaUploader
/** /**
* here happens the magic, call this on upload submit * here happens the magic, call this on upload submit
* @param int $uploadType upload from files input or links * @return void
*/ */
public function upload() public function upload()
{ {