mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
fixes
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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'],
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user