mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-01-11 17:08:40 +00:00
todos fixed
This commit is contained in:
parent
54aa5729ab
commit
2126c992a7
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -14,6 +14,6 @@ declare(strict_types=1);
|
|||
|
||||
return ['Navigation' => [
|
||||
'Create' => 'Erstellen',
|
||||
'List' => 'Aufführen',
|
||||
'List' => 'Liste',
|
||||
'Media' => 'Medien',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user