mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Notice removal
This commit is contained in:
@@ -29,7 +29,7 @@ class e_media
|
|||||||
'text' => e_MEDIA_FILE,
|
'text' => e_MEDIA_FILE,
|
||||||
'multipart' => e_MEDIA_FILE,
|
'multipart' => e_MEDIA_FILE,
|
||||||
'application' => e_MEDIA_FILE,
|
'application' => e_MEDIA_FILE,
|
||||||
'audio' => e_MEDIA_AUDIO,
|
// 'audio' => e_MEDIA_AUDIO,
|
||||||
'image' => e_MEDIA_IMAGE,
|
'image' => e_MEDIA_IMAGE,
|
||||||
'video' => e_MEDIA_VIDEO,
|
'video' => e_MEDIA_VIDEO,
|
||||||
'other' => e_MEDIA_FILE
|
'other' => e_MEDIA_FILE
|
||||||
|
@@ -1119,7 +1119,7 @@ class e_navigation
|
|||||||
global $td;
|
global $td;
|
||||||
$tp = e107::getParser();
|
$tp = e107::getParser();
|
||||||
$mes = e107::getMessage();
|
$mes = e107::getMessage();
|
||||||
|
$cols = defset('ADLINK_COLS',3);
|
||||||
|
|
||||||
|
|
||||||
$text = '';
|
$text = '';
|
||||||
@@ -1138,7 +1138,7 @@ class e_navigation
|
|||||||
|
|
||||||
if($mode != "div" && $mode != 'div-icon-only')
|
if($mode != "div" && $mode != 'div-icon-only')
|
||||||
{
|
{
|
||||||
if ($td == (ADLINK_COLS+1))
|
if ($td == ($cols +1))
|
||||||
{
|
{
|
||||||
$text .= '</tr>';
|
$text .= '</tr>';
|
||||||
$td = 1;
|
$td = 1;
|
||||||
@@ -1431,7 +1431,7 @@ class e_navigation
|
|||||||
$query = "SELECT * FROM #links WHERE ".$ins." link_class IN (".USERCLASS_LIST.") ORDER BY link_order,link_parent ASC";
|
$query = "SELECT * FROM #links WHERE ".$ins." link_class IN (".USERCLASS_LIST.") ORDER BY link_order,link_parent ASC";
|
||||||
$ret = array();
|
$ret = array();
|
||||||
$outArray = array();
|
$outArray = array();
|
||||||
$data = $sql->retrieve($query,true); // FIXME $sql->retrieve() fails.
|
$data = $sql->retrieve($query,true);
|
||||||
|
|
||||||
return $this->compile($data, $outArray);
|
return $this->compile($data, $outArray);
|
||||||
}
|
}
|
||||||
|
@@ -457,10 +457,8 @@ class themeHandler
|
|||||||
|
|
||||||
// Show All Themes
|
// Show All Themes
|
||||||
if($mode == "choose")
|
if($mode == "choose")
|
||||||
{
|
{
|
||||||
|
$text = "";
|
||||||
|
|
||||||
// $text = "";
|
|
||||||
foreach ($this->themeArray as $key=>$theme)
|
foreach ($this->themeArray as $key=>$theme)
|
||||||
{
|
{
|
||||||
$text .= $this->renderTheme(FALSE, $theme);
|
$text .= $this->renderTheme(FALSE, $theme);
|
||||||
|
Reference in New Issue
Block a user