mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-15 08:48:42 +00:00
todos fixed
This commit is contained in:
parent
54aa5729ab
commit
2126c992a7
|
|
@ -625,7 +625,6 @@ final class ApiController extends Controller
|
||||||
return $new;
|
return $new;
|
||||||
}
|
}
|
||||||
|
|
||||||
// @todo: create test for this content change and the parsed content change
|
|
||||||
if ($request->hasData('content')) {
|
if ($request->hasData('content')) {
|
||||||
\file_put_contents(
|
\file_put_contents(
|
||||||
$new->isAbsolute
|
$new->isAbsolute
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,6 @@ use phpOMS\Utils\Parser\Spreadsheet\SpreadsheetParser;
|
||||||
|
|
||||||
Autoloader::addPath(__DIR__ . '/../../../../Resources/');
|
Autoloader::addPath(__DIR__ . '/../../../../Resources/');
|
||||||
|
|
||||||
$media = $this->data['media'];
|
$media = $this->media;
|
||||||
|
|
||||||
echo SpreadsheetParser::parseSpreadsheet(($media->isAbsolute ? '' : __DIR__ . '/../../../../') . $media->getPath(), 'html');
|
echo SpreadsheetParser::parseSpreadsheet(($media->isAbsolute ? '' : __DIR__ . '/../../../../') . $media->getPath(), 'html');
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ use phpOMS\Autoloader;
|
||||||
|
|
||||||
Autoloader::addPath(__DIR__ . '/../../../../Resources/');
|
Autoloader::addPath(__DIR__ . '/../../../../Resources/');
|
||||||
|
|
||||||
$media = $this->data['media'];
|
$media = $this->media;
|
||||||
|
|
||||||
$reader = IOFactory::createReader('Word2007');
|
$reader = IOFactory::createReader('Word2007');
|
||||||
$doc = $reader->load(($media->isAbsolute ? '' : __DIR__ . '/../../../../') . $media->getPath());
|
$doc = $reader->load(($media->isAbsolute ? '' : __DIR__ . '/../../../../') . $media->getPath());
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,6 @@ declare(strict_types=1);
|
||||||
|
|
||||||
return ['Navigation' => [
|
return ['Navigation' => [
|
||||||
'Create' => 'Erstellen',
|
'Create' => 'Erstellen',
|
||||||
'List' => 'Aufführen',
|
'List' => 'Liste',
|
||||||
'Media' => 'Medien',
|
'Media' => 'Medien',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -15,16 +15,16 @@ declare(strict_types=1);
|
||||||
return ['Media' => [
|
return ['Media' => [
|
||||||
'Account' => 'Konto',
|
'Account' => 'Konto',
|
||||||
'Add' => 'Hinzufügen',
|
'Add' => 'Hinzufügen',
|
||||||
'AddToCollection' => 'Zur Sammlung hinzufügen',
|
'AddToCollection' => 'Zum Ordner hinzufügen',
|
||||||
'Author' => 'Autor',
|
'Author' => 'Autor',
|
||||||
'Back' => 'Zurück',
|
'Back' => 'Zurück',
|
||||||
'Changed' => 'Geändert',
|
'Changed' => 'Geändert',
|
||||||
'Changedby' => 'Verändert von',
|
'Changedby' => 'Geändert durch',
|
||||||
'Content' => '',
|
'Content' => 'Inhalt',
|
||||||
'CreateCollection' => 'Sammlung erstellen',
|
'CreateCollection' => 'Sammlung erstellen',
|
||||||
'CreateFile' => 'Erstelle Datei',
|
'CreateFile' => 'Erstelle Datei',
|
||||||
'Created' => 'Erstellt',
|
'Created' => 'Erstellt',
|
||||||
'Creator' => 'Schöpfer',
|
'Creator' => 'Ersteller',
|
||||||
'Data' => 'Daten',
|
'Data' => 'Daten',
|
||||||
'Description' => 'Beschreibung',
|
'Description' => 'Beschreibung',
|
||||||
'Edit' => 'Bearbeiten',
|
'Edit' => 'Bearbeiten',
|
||||||
|
|
@ -35,8 +35,8 @@ return ['Media' => [
|
||||||
'GroupUser' => 'Gruppennutzer.',
|
'GroupUser' => 'Gruppennutzer.',
|
||||||
'Media' => 'Medien',
|
'Media' => 'Medien',
|
||||||
'Name' => 'Name',
|
'Name' => 'Name',
|
||||||
'Password' => '',
|
'Password' => 'Passwort',
|
||||||
'Path' => 'Weg',
|
'Path' => 'Pfad',
|
||||||
'PathSettings' => 'Pfadeinstellungen',
|
'PathSettings' => 'Pfadeinstellungen',
|
||||||
'Permission' => 'Erlaubnis',
|
'Permission' => 'Erlaubnis',
|
||||||
'Preview' => 'Vorschau',
|
'Preview' => 'Vorschau',
|
||||||
|
|
@ -44,8 +44,8 @@ return ['Media' => [
|
||||||
'Select' => 'Wählen',
|
'Select' => 'Wählen',
|
||||||
'Settings' => 'Einstellungen',
|
'Settings' => 'Einstellungen',
|
||||||
'Size' => 'Größe',
|
'Size' => 'Größe',
|
||||||
'Tag' => '',
|
'Tag' => 'Stichwort',
|
||||||
'Tags' => '',
|
'Tags' => 'Stichworte',
|
||||||
'Type' => 'Typ',
|
'Type' => 'Typ',
|
||||||
'Upload' => 'Hochladen',
|
'Upload' => 'Hochladen',
|
||||||
'VirtualPath' => 'Virtueller Pfad',
|
'VirtualPath' => 'Virtueller Pfad',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user