forked from ZwiiCMS-Team/ZwiiCMS
Correction ALT et Modif Config RFM
This commit is contained in:
parent
766934ef5c
commit
f8baba7046
@ -4,6 +4,8 @@
|
|||||||
## Préversion version 8.3.14
|
## Préversion version 8.3.14
|
||||||
* Modifications :
|
* Modifications :
|
||||||
- Footer dans 3 blocs contenant dans l'ordre : Texte, Réseaux sociaux, Copyright
|
- Footer dans 3 blocs contenant dans l'ordre : Texte, Réseaux sociaux, Copyright
|
||||||
|
- Balise ALT dans les images du menu
|
||||||
|
- Config RFM
|
||||||
|
|
||||||
## version 8.3.13 :
|
## version 8.3.13 :
|
||||||
* Modifications :
|
* Modifications :
|
||||||
|
@ -429,7 +429,6 @@ class common {
|
|||||||
self::GROUP_ADMIN => 'Administrateur'
|
self::GROUP_ADMIN => 'Administrateur'
|
||||||
];
|
];
|
||||||
public static $timezone;
|
public static $timezone;
|
||||||
|
|
||||||
private $url = '';
|
private $url = '';
|
||||||
private $user = [];
|
private $user = [];
|
||||||
|
|
||||||
@ -1842,30 +1841,30 @@ class layout extends common {
|
|||||||
break;
|
break;
|
||||||
case 'text' :
|
case 'text' :
|
||||||
$items .= $this->getData(['page', $parentPageId, 'title']);
|
$items .= $this->getData(['page', $parentPageId, 'title']);
|
||||||
break;
|
break;
|
||||||
case 'icon' :
|
case 'icon' :
|
||||||
if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") {
|
if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") {
|
||||||
$items .= '<img alt="'.$this->getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" />';
|
$items .= '<img alt="'.$this->getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" />';
|
||||||
} else {
|
} else {
|
||||||
$items .= $this->getData(['page', $parentPageId, 'title']);
|
$items .= $this->getData(['page', $parentPageId, 'title']);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'icontitle' :
|
case 'icontitle' :
|
||||||
if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") {
|
if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") {
|
||||||
$items .= '<img alt="'.$this->getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" title="';
|
$items .= '<img alt="'.$this->getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" title="';
|
||||||
$items .= $this->getData(['page', $parentPageId, 'title']).'"/>';
|
$items .= $this->getData(['page', $parentPageId, 'title']).'"/>';
|
||||||
} else {
|
} else {
|
||||||
$items .= $this->getData(['page', $parentPageId, 'title']);
|
$items .= $this->getData(['page', $parentPageId, 'title']);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'icontext' :
|
case 'icontext' :
|
||||||
if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") {
|
if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") {
|
||||||
$items .= '<img alt="'.$this->getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" />';
|
$items .= '<img alt="'.$this->getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" />';
|
||||||
$items .= $this->getData(['page', $parentPageId, 'title']);
|
$items .= $this->getData(['page', $parentPageId, 'title']);
|
||||||
} else {
|
} else {
|
||||||
$items .= $this->getData(['page', $parentPageId, 'title']);
|
$items .= $this->getData(['page', $parentPageId, 'title']);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Menu Image
|
// Menu Image
|
||||||
|
|
||||||
@ -1900,30 +1899,30 @@ class layout extends common {
|
|||||||
break;
|
break;
|
||||||
case 'text' :
|
case 'text' :
|
||||||
$items .= $this->getData(['page', $childKey, 'title']);
|
$items .= $this->getData(['page', $childKey, 'title']);
|
||||||
break;
|
break;
|
||||||
case 'icon' :
|
case 'icon' :
|
||||||
if ($this->getData(['page', $childKey, 'iconUrl']) != "") {
|
if ($this->getData(['page', $childKey, 'iconUrl']) != "") {
|
||||||
$items .= '<img src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $childKey, 'iconUrl']).'" />';
|
$items .= '<img alt="'.$this->getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $childKey, 'iconUrl']).'" />';
|
||||||
} else {
|
} else {
|
||||||
$items .= $this->getData(['page', $parentPageId, 'title']);
|
$items .= $this->getData(['page', $parentPageId, 'title']);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'icontitle' :
|
case 'icontitle' :
|
||||||
if ($this->getData(['page', $childKey, 'iconUrl']) != "") {
|
if ($this->getData(['page', $childKey, 'iconUrl']) != "") {
|
||||||
$items .= '<img src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $childKey, 'iconUrl']).'" title="';
|
$items .= '<img alt="'.$this->getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $childKey, 'iconUrl']).'" title="';
|
||||||
$items .= $this->getData(['page', $childKey, 'title']).'"/>';
|
$items .= $this->getData(['page', $childKey, 'title']).'"/>';
|
||||||
} else {
|
} else {
|
||||||
$items .= $this->getData(['page', $childKey, 'title']);
|
$items .= $this->getData(['page', $childKey, 'title']);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'icontext' :
|
case 'icontext' :
|
||||||
if ($this->getData(['page', $childKey, 'iconUrl']) != "") {
|
if ($this->getData(['page', $childKey, 'iconUrl']) != "") {
|
||||||
$items .= '<img src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $childKey, 'iconUrl']).'" />';
|
$items .= '<img alt="'.$this->getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $childKey, 'iconUrl']).'" />';
|
||||||
$items .= $this->getData(['page', $childKey, 'title']);
|
$items .= $this->getData(['page', $childKey, 'title']);
|
||||||
} else {
|
} else {
|
||||||
$items .= $this->getData(['page', $childKey, 'title']);
|
$items .= $this->getData(['page', $childKey, 'title']);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$items .= '</a></li>';
|
$items .= '</a></li>';
|
||||||
// Menu Image
|
// Menu Image
|
||||||
|
16
core/vendor/filemanager/config/config.php
vendored
16
core/vendor/filemanager/config/config.php
vendored
@ -104,7 +104,7 @@ $config = array(
|
|||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| If you want enable ftp use write these parametres otherwise leave empty
|
| If you want enable ftp use write these parametres otherwise leave empty
|
||||||
| Remember to set base_url properly to point in the ftp server domain and
|
| Remember to set base_url properly to point in the ftp server domain and
|
||||||
| upload dir will be ftp_base_folder + upload_dir so without final /
|
| upload dir will be ftp_base_folder + upload_dir so without final /
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
@ -221,7 +221,7 @@ $config = array(
|
|||||||
//convert all spaces on files name and folders name this value
|
//convert all spaces on files name and folders name this value
|
||||||
'replace_with' => "_",
|
'replace_with' => "_",
|
||||||
//convert to lowercase the files and folders name
|
//convert to lowercase the files and folders name
|
||||||
'lower_case' => false,
|
'lower_case' => true,
|
||||||
|
|
||||||
//Add ?484899493349 (time value) to returned images to prevent cache
|
//Add ?484899493349 (time value) to returned images to prevent cache
|
||||||
'add_time_to_img' => false,
|
'add_time_to_img' => false,
|
||||||
@ -261,7 +261,7 @@ $config = array(
|
|||||||
//******************
|
//******************
|
||||||
//
|
//
|
||||||
// WATERMARK IMAGE
|
// WATERMARK IMAGE
|
||||||
//
|
//
|
||||||
//Watermark url or false
|
//Watermark url or false
|
||||||
'image_watermark' => false,
|
'image_watermark' => false,
|
||||||
# Could be a pre-determined position such as:
|
# Could be a pre-determined position such as:
|
||||||
@ -338,11 +338,11 @@ $config = array(
|
|||||||
//**********************
|
//**********************
|
||||||
//Allowed extensions (lowercase insert)
|
//Allowed extensions (lowercase insert)
|
||||||
//**********************
|
//**********************
|
||||||
'ext_img' => array( 'jpg', 'jpeg', 'png', 'gif', 'bmp', 'tiff', 'svg','ico' ), //Images
|
'ext_img' => array('jpg', 'jpeg', 'png', 'gif', 'bmp', 'tiff', 'svg','ico'), //Images
|
||||||
'ext_file' => array( 'doc', 'docx', 'rtf', 'pdf', 'xls', 'xlsx', 'txt', 'csv', 'html', 'xhtml', 'psd', 'sql', 'log', 'fla', 'xml', 'ade', 'adp', 'mdb', 'accdb', 'ppt', 'pptx', 'odt', 'ots', 'ott', 'odb', 'odg', 'otp', 'otg', 'odf', 'ods', 'odp', 'css', 'ai', 'kmz','dwg', 'dxf', 'hpgl', 'plt', 'spl', 'step', 'stp', 'iges', 'igs', 'sat', 'cgm'), //Files
|
'ext_file' => array('doc', 'docx', 'rtf', 'pdf', 'xls', 'xlsx', 'txt', 'csv', 'html', 'xhtml', 'psd', 'sql', 'log', 'fla', 'xml', 'ade', 'adp', 'mdb', 'accdb', 'ppt', 'pptx', 'odt', 'ots', 'ott', 'odb', 'odg', 'otp', 'otg', 'odf', 'ods', 'odp', 'css', 'ai', 'kmz','dwg', 'dxf', 'hpgl', 'plt', 'spl', 'step', 'stp', 'iges', 'igs', 'sat', 'cgm'), //Files
|
||||||
'ext_video' => array( 'mov', 'mpeg', 'm4v', 'mp4', 'avi', 'mpg', 'wma', 'flv', 'webm' ), //Video
|
'ext_video' => array('mov', 'mpeg', 'm4v', 'mp4', 'avi', 'mpg', 'wma', 'flv', 'webm'), //Video
|
||||||
'ext_music' => array( 'mp3', 'mpga', 'm4a', 'ac3', 'aiff', 'mid', 'ogg', 'wav' ), //Audio
|
'ext_music' => array('mp3', 'mpga', 'm4a', 'ac3', 'aiff', 'mid', 'ogg', 'wav'), //Audio
|
||||||
'ext_misc' => array( 'zip', 'rar', 'gz', 'tar', 'iso', 'dmg','7z' ), //Archives
|
'ext_misc' => array('7z', 'zip', 'rar', 'gz', 'tar', 'iso', 'dmg'), //Archives
|
||||||
|
|
||||||
/******************
|
/******************
|
||||||
* AVIARY config
|
* AVIARY config
|
||||||
|
Loading…
Reference in New Issue
Block a user