'zindex' => __('Profondeur'),
'pdfjs' => __('Mode PDFJS'),
'polygon' => __('Tracé du polygone'),
+ 'background_color' => __('Couleur de fond'),
);
$comments = array();
'tooltip' => '',
'numerotation' => 'physical',
"inline" => 'inline',
- 'pdfjs' => 'normal'];
+ 'pdfjs' => 'normal',
+ 'background_color' => '',
+ ];
$k = 0;
foreach ($cols as $col => $default) {
}
fclose($fp);
}
- // throw new \Exception(":/ " . count($links) . ' // ' . json_encode($book->getComposition()));
- self::saveLinksInFile($book_id, backpack_user() ? backpack_user()->id : 0, 'Links imported from PDF (Documents ' . implode(', ', $docs).')', $links);
+ // throw new \Exception(":/ " . count($links) . ' // ' . json_encode($book->getComposition()));
+ self::saveLinksInFile($book_id, backpack_user() ? backpack_user()->id : 0, 'Links imported from PDF (Documents ' . implode(', ', $docs) . ')', $links);
return true;
}
public function addDestinationField()
{
$this->addField('to', FilesOrURL::class, __('Fichier 3D'), $this->getFilesOrURLEntry() + ['accept' => self::$_accept3D]);
+ $this->addField('background_color', \Cubist\Backpack\Magic\Fields\Color::class, __('Couleur de fond'), ['default' => '#ffffff']);
}
}