White space fixes
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
}
|
||||
// smarty template engine (extended Translation version)
|
||||
$smarty = new SmartyML($lang);
|
||||
|
||||
|
||||
if (TARGET == 'live' || TARGET == 'remote')
|
||||
{
|
||||
// login
|
||||
@@ -156,7 +156,7 @@
|
||||
if ($PAGES[$i]["menu"] && $PAGES[$i]["online"])
|
||||
{
|
||||
$menuarray[] = $PAGES[$i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// split point for nav points
|
||||
@@ -182,7 +182,7 @@
|
||||
}
|
||||
if ($menuarray[($i - 1)]["filename"] == $form->get_page_name())
|
||||
{
|
||||
$position = $i - 1;
|
||||
$position = $i - 1;
|
||||
$menu_data[$j]['position'] = 1;
|
||||
}
|
||||
else
|
||||
@@ -322,7 +322,7 @@
|
||||
$DATA['elements'] = $elements;
|
||||
$DATA['hidden'] = $form->form_create_hidden_fields();
|
||||
$DATA['save_delete'] = $form->form_create_save_delete();
|
||||
}
|
||||
}
|
||||
|
||||
// debug data, if DEBUG flag is on, this data is print out
|
||||
$DEBUG_DATA['DEBUG'] = $DEBUG_TMPL;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?
|
||||
/********************************************************************
|
||||
* AUTHOR: Clemens Schwaighofer
|
||||
* AUTHOR: Clemens Schwaighofer
|
||||
* CREATED: 2001/07/11
|
||||
* SHORT DESCRIPTION:
|
||||
* sets the order from a table (edit_)
|
||||
* sets the order from a table (edit_)
|
||||
* HISTORY:
|
||||
* 2005/07/11 (cs) adept to new edit interface
|
||||
* 2002-10-18: little include changes
|
||||
@@ -125,7 +125,7 @@
|
||||
// get ...
|
||||
$q = "SELECT ".$table_name."_id, name, order_number FROM ".$table_name." ";
|
||||
if ($where_string)
|
||||
$q .= "WHERE $where_string ";
|
||||
$q .= "WHERE $where_string ";
|
||||
$q .= "ORDER BY order_number";
|
||||
|
||||
while ($res = $db->db_return($q))
|
||||
|
||||
@@ -261,7 +261,7 @@ $cms->debug('file_upload', "ERROR: $error | INI FSize: ".ini_get("upload_max_fil
|
||||
$cms->db_exec($q);
|
||||
}
|
||||
} // if not error
|
||||
}
|
||||
}
|
||||
if ($cms->action == 'delete' && $cms->action_yes == 'true')
|
||||
{
|
||||
$file_uid = $cms->action_id;
|
||||
@@ -332,7 +332,7 @@ $cms->debug('file_upload', "ERROR: $error | INI FSize: ".ini_get("upload_max_fil
|
||||
}
|
||||
// get th max entries
|
||||
$q = "SELECT COUNT(file_uid) FROM file ";
|
||||
$q_search_where = "WHERE type in ('".str_replace(',', "','", $show_type)."') ";
|
||||
$q_search_where = "WHERE type in ('".str_replace(',', "','", $show_type)."') ";
|
||||
if ($search_what)
|
||||
{
|
||||
$q_search_where .= "AND LOWER(name_en) LIKE '%".addslashes(strtolower($search_what))."%' OR name_ja LIKE '%".addslashes($search_what)."%' OR LOWER(file_name) LIKE '%".addslashes(strtolower($search_what))."%' ";
|
||||
@@ -429,7 +429,7 @@ $cms->debug('file_upload', "ERROR: $error | INI FSize: ".ini_get("upload_max_fil
|
||||
'size_y' => $res['size_y'],
|
||||
'file_uid' => $res['file_uid'],
|
||||
'file_type' => $res['type'],
|
||||
'picture' => $cms->cache_pictures.$cms->adbCreateThumbnail(DEV_SCHEMA.'_'.$res['file_uid'], 80, 60, $res['type'], '', $cms->cache_pictures_root)
|
||||
'picture' => $cms->cache_pictures.$cms->adbCreateThumbnail(DEV_SCHEMA.'_'.$res['file_uid'], 80, 60, $res['type'], '', $cms->cache_pictures_root)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -482,5 +482,5 @@ $cms->debug('file_upload', "ERROR: $error | INI FSize: ".ini_get("upload_max_fil
|
||||
//------------------------------ footer
|
||||
require("footer.inc");
|
||||
//------------------------------ footer
|
||||
|
||||
|
||||
?>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
//------------------------------ library include end
|
||||
|
||||
//------------------------------ basic variable settings start
|
||||
// set encoding
|
||||
// set encoding
|
||||
if (!isset($encoding))
|
||||
$encoding = DEFAULT_ENCODING;
|
||||
// set the default lang, if not given
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
$MASTER_TEMPLATE_NAME = MASTER_TEMPLATE_NAME;
|
||||
|
||||
// just emergency fallback for language
|
||||
// set encoding
|
||||
// set encoding
|
||||
if ($_SESSION['DEFAULT_CHARSET'])
|
||||
$encoding = $_SESSION['DEFAULT_CHARSET'];
|
||||
elseif (!$encoding)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
// set basic template path (tmp)
|
||||
// paths are set in the 'set_paths.inc' file
|
||||
|
||||
|
||||
// check if we have an external file with the template name
|
||||
if (file_exists($cms->includes.$cms->INC_TEMPLATE_NAME) && is_file($cms->includes.$cms->INC_TEMPLATE_NAME))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user