1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Notice removal

This commit is contained in:
Cameron
2012-12-15 16:41:37 -08:00
parent bda11edee4
commit 0779798f89
3 changed files with 6 additions and 8 deletions

View File

@@ -29,7 +29,7 @@ class e_media
'text' => e_MEDIA_FILE,
'multipart' => e_MEDIA_FILE,
'application' => e_MEDIA_FILE,
'audio' => e_MEDIA_AUDIO,
// 'audio' => e_MEDIA_AUDIO,
'image' => e_MEDIA_IMAGE,
'video' => e_MEDIA_VIDEO,
'other' => e_MEDIA_FILE

View File

@@ -1119,7 +1119,7 @@ class e_navigation
global $td;
$tp = e107::getParser();
$mes = e107::getMessage();
$cols = defset('ADLINK_COLS',3);
$text = '';
@@ -1138,7 +1138,7 @@ class e_navigation
if($mode != "div" && $mode != 'div-icon-only')
{
if ($td == (ADLINK_COLS+1))
if ($td == ($cols +1))
{
$text .= '</tr>';
$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";
$ret = array();
$outArray = array();
$data = $sql->retrieve($query,true); // FIXME $sql->retrieve() fails.
$data = $sql->retrieve($query,true);
return $this->compile($data, $outArray);
}

View File

@@ -457,10 +457,8 @@ class themeHandler
// Show All Themes
if($mode == "choose")
{
// $text = "";
{
$text = "";
foreach ($this->themeArray as $key=>$theme)
{
$text .= $this->renderTheme(FALSE, $theme);