forked from ZwiiCMS-Team/ZwiiCMS
store install or update
This commit is contained in:
parent
39e6e38107
commit
7d84df4722
@ -236,22 +236,26 @@ class addon extends common {
|
|||||||
mb_detect_encoding(strftime('%d %B %Y', $store[$key]['fileDate']), 'UTF-8', true)
|
mb_detect_encoding(strftime('%d %B %Y', $store[$key]['fileDate']), 'UTF-8', true)
|
||||||
? strftime('%d %B %Y', $store[$key]['fileDate'])
|
? strftime('%d %B %Y', $store[$key]['fileDate'])
|
||||||
: utf8_encode(strftime('%d %B %Y', $store[$key]['fileDate'])),
|
: utf8_encode(strftime('%d %B %Y', $store[$key]['fileDate'])),
|
||||||
template::button('moduleExport' . $key, [
|
|
||||||
'class' => 'buttonBlue',
|
|
||||||
'href' => helper::baseUrl(). $this->getUrl(0) . '/storeDownload/' . $key.'/' . $_SESSION['csrf'],// appel de fonction vaut exécution, utiliser un paramètre
|
|
||||||
'value' => template::ico('download')
|
|
||||||
])
|
|
||||||
];
|
|
||||||
/**
|
/**
|
||||||
* implode(', ',array_keys($inPages,$key)) === ''
|
* template::button('moduleExport' . $key, [
|
||||||
* ? template::button('moduleExport' . $key, [
|
|
||||||
* 'class' => 'buttonBlue',
|
* 'class' => 'buttonBlue',
|
||||||
* 'href' => helper::baseUrl(). $this->getUrl(0) . '/installModule/' . $key.'/' . $_SESSION['csrf'],// appel de fonction vaut exécution, utiliser un paramètre
|
* 'href' => helper::baseUrl(). $this->getUrl(0) . '/storeDownload/' . $key.'/' . $_SESSION['csrf'],// appel de fonction vaut exécution, utiliser un paramètre
|
||||||
* 'value' => template::ico('download')
|
* 'value' => template::ico('download')
|
||||||
* ])
|
* ])
|
||||||
* : ''
|
|
||||||
*];
|
*];
|
||||||
*/
|
*/
|
||||||
|
implode(', ',array_keys($inPages,$key)) === ''
|
||||||
|
? template::button('moduleExport' . $key, [
|
||||||
|
'class' => 'buttonBlue',
|
||||||
|
'href' => helper::baseUrl(). $this->getUrl(0) . '/installModule/' . $key.'/' . $_SESSION['csrf'],// appel de fonction vaut exécution, utiliser un paramètre
|
||||||
|
'value' => template::ico('download')
|
||||||
|
])
|
||||||
|
: template::button('moduleExport' . $key, [
|
||||||
|
'class' => 'buttonBlue',
|
||||||
|
'href' => helper::baseUrl(). $this->getUrl(0) . '/installModule/' . $key.'/' . $_SESSION['csrf'],// appel de fonction vaut exécution, utiliser un paramètre
|
||||||
|
'value' => template::ico('update')
|
||||||
|
])
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user