mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 01:58:47 +02:00
N°2847 - Edit/Create objects
This commit is contained in:
@@ -1278,23 +1278,20 @@ EOF
|
||||
function Welcome(iTopWebPage $oPage)
|
||||
{
|
||||
$sSynchroScope = utils::ReadParam('synchro_scope', '', false, 'raw_data');
|
||||
if (!empty($sSynchroScope))
|
||||
{
|
||||
if (!empty($sSynchroScope)) {
|
||||
$oSearch = DBObjectSearch::FromOQL($sSynchroScope);
|
||||
$sClassName = $oSearch->GetClass();
|
||||
$oSet = new DBObjectSet($oSearch);
|
||||
$iCount = $oSet->Count();
|
||||
DisplaySynchroBanner($oPage, $sClassName, $iCount);
|
||||
$aSynchroUpdate = utils::ReadParam('synchro_update', array());
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
$aSynchroUpdate = null;
|
||||
}
|
||||
|
||||
|
||||
$oPage->add("<div><p><h1>".Dict::S('UI:Title:BulkImport+')."</h1></p></div>\n");
|
||||
$oPage->AddTabContainer('tabs1');
|
||||
|
||||
$oPage->AddTabContainer('tabs1');
|
||||
|
||||
$sSeparator = utils::ReadParam('separator', '', false, 'raw_data');
|
||||
$sTextQualifier = utils::ReadParam('text_qualifier', '', false, 'raw_data');
|
||||
$bHeaderLine = utils::ReadParam('header_line', true);
|
||||
@@ -1303,7 +1300,7 @@ EOF
|
||||
$sEncoding = utils::ReadParam('encoding', '');
|
||||
$sDateTimeFormat = utils::ReadParam('date_time_format', 'default');
|
||||
$sCustomDateTimeFormat = utils::ReadParam('custom_date_time_format', (string)AttributeDateTime::GetFormat(), false, 'raw_data');
|
||||
|
||||
|
||||
if ($sEncoding == '')
|
||||
{
|
||||
$sEncoding = MetaModel::GetConfig()->Get('csv_file_default_charset');
|
||||
|
||||
Reference in New Issue
Block a user