todos fixed

This commit is contained in:
Dennis Eichhorn 2023-10-12 22:49:21 +00:00
parent 54aa5729ab
commit 2126c992a7
5 changed files with 11 additions and 12 deletions

View File

@ -625,7 +625,6 @@ final class ApiController extends Controller
return $new;
}
// @todo: create test for this content change and the parsed content change
if ($request->hasData('content')) {
\file_put_contents(
$new->isAbsolute

View File

@ -17,6 +17,6 @@ use phpOMS\Utils\Parser\Spreadsheet\SpreadsheetParser;
Autoloader::addPath(__DIR__ . '/../../../../Resources/');
$media = $this->data['media'];
$media = $this->media;
echo SpreadsheetParser::parseSpreadsheet(($media->isAbsolute ? '' : __DIR__ . '/../../../../') . $media->getPath(), 'html');

View File

@ -18,7 +18,7 @@ use phpOMS\Autoloader;
Autoloader::addPath(__DIR__ . '/../../../../Resources/');
$media = $this->data['media'];
$media = $this->media;
$reader = IOFactory::createReader('Word2007');
$doc = $reader->load(($media->isAbsolute ? '' : __DIR__ . '/../../../../') . $media->getPath());

View File

@ -14,6 +14,6 @@ declare(strict_types=1);
return ['Navigation' => [
'Create' => 'Erstellen',
'List' => 'Aufführen',
'List' => 'Liste',
'Media' => 'Medien',
]];

View File

@ -15,16 +15,16 @@ declare(strict_types=1);
return ['Media' => [
'Account' => 'Konto',
'Add' => 'Hinzufügen',
'AddToCollection' => 'Zur Sammlung hinzufügen',
'AddToCollection' => 'Zum Ordner hinzufügen',
'Author' => 'Autor',
'Back' => 'Zurück',
'Changed' => 'Geändert',
'Changedby' => 'Verändert von',
'Content' => '',
'Changedby' => 'Geändert durch',
'Content' => 'Inhalt',
'CreateCollection' => 'Sammlung erstellen',
'CreateFile' => 'Erstelle Datei',
'Created' => 'Erstellt',
'Creator' => 'Schöpfer',
'Creator' => 'Ersteller',
'Data' => 'Daten',
'Description' => 'Beschreibung',
'Edit' => 'Bearbeiten',
@ -35,8 +35,8 @@ return ['Media' => [
'GroupUser' => 'Gruppennutzer.',
'Media' => 'Medien',
'Name' => 'Name',
'Password' => '',
'Path' => 'Weg',
'Password' => 'Passwort',
'Path' => 'Pfad',
'PathSettings' => 'Pfadeinstellungen',
'Permission' => 'Erlaubnis',
'Preview' => 'Vorschau',
@ -44,8 +44,8 @@ return ['Media' => [
'Select' => 'Wählen',
'Settings' => 'Einstellungen',
'Size' => 'Größe',
'Tag' => '',
'Tags' => '',
'Tag' => 'Stichwort',
'Tags' => 'Stichworte',
'Type' => 'Typ',
'Upload' => 'Hochladen',
'VirtualPath' => 'Virtueller Pfad',