Skip to content

Commit

Permalink
4.8.6
Browse files Browse the repository at this point in the history
- Modul "0030 - Text / Download": Infotext geändert
- Kleinere Anpassungen
- Modul hinzugefügt: "0511 - Minibeispiel: Text / CKEditor5"
  • Loading branch information
olien committed Sep 3, 2018
1 parent 12ebde5 commit 2d68d79
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
### Modulsammlung - Changelog
___

### 03.09.2018 Version 4.8.6

- Modul "0030 - Text / Download": Infotext geändert
- Kleinere Anpassungen.
- Modul hinzugefügt: "0511 - Minibeispiel: Text / CKEditor5"

### 03.09.2018 Version 4.8.5

- Template: "0010 - Quickstart": jQuery eingebunden
Expand Down
11 changes: 11 additions & 0 deletions lib/module/0030_text_downloads/info.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,14 @@ Diese Modul ermöglicht es einen Text & Downloads zu verwalten.

<br/>
<p>…weitere Infos bzgl. schöner URLs finden sich in der Doku</p>

<hr/>
<p>Wem der Download Pfad nicht gefällt, der wandelt die .htaccess noch ab:</p>

<pre>RewriteRule ^media/([^/]*)/([^/]*) %{ENV:BASE}/index.php?rex_media_type=$1&rex_media_file=$2&%{QUERY_STRING} [B]</pre>
<p>Der Download erfolgt dann über /media/download/dateiname.pdf</p>

<p>Oder:</p>

<pre>RewriteRule ^download/([^/]*) %{ENV:BASE}/index.php?rex_media_type=download&rex_media_file=$1&%{QUERY_STRING} [B]</pre>
<p>Der Download erfolgt dann direkt über /download/dateiname.pdf</p>
2 changes: 0 additions & 2 deletions lib/module/0100_googlemaps_routenplaner/styles_css.inc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//

#map_canvas {
width: 100%;
height: 150px;
Expand Down
2 changes: 2 additions & 0 deletions lib/module/0511_minibeispiel_text_ckeditor5/config.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
modulname = "0511 - Minibeispiel: Text / CKEditor5"
status = 1; 0 = geplant, 1 = fertig, 2 = in Bearbeitung
9 changes: 9 additions & 0 deletions lib/module/0511_minibeispiel_text_ckeditor5/info.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<h4><b>Minibeispiel: Text / CKEditor5</b></h4>

<hr/>
<b>Voraussetzungen</b>
<p>
<ul>
<li>CKEditor5 Addon</li>
</ul>
</p>
15 changes: 15 additions & 0 deletions lib/module/0511_minibeispiel_text_ckeditor5/input.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
if(!rex_addon::get('cke5')->isAvailable()) {
echo rex_view::error('Dieses Modul ben&ouml;tigt das "CKEditor5" Addon!');
}
?>
<fieldset class="form-horizontal">
<div class="form-group">
<label class="col-sm-12 text-left" for="value-1">Text</label>
<div class="col-sm-12">
<textarea class="form-control cke5-editor" data-profile="default" data-lang="<?php echo \Cke5\Utils\Cke5Lang::getUserLang(); ?>" name="REX_INPUT_VALUE[1]">REX_VALUE[1]</textarea>
</div>
</div>
</fieldset>


9 changes: 9 additions & 0 deletions lib/module/0511_minibeispiel_text_ckeditor5/output.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

if(!rex_addon::get('cke5')->isAvailable()) {
echo rex_view::error('Dieses Modul ben&ouml;tigt das "CKEditor5" Addon!');
}

if ('REX_VALUE[id=1 isset=1]') {
echo 'REX_VALUE[id="1" output="html"]';
}
2 changes: 1 addition & 1 deletion lib/templates/0010_quickstart/info.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h4><b>0010 - Quickstart</b></h4>

<p>Dies ist das Quickstart-Template (minimal abgeändert) aus der REDAXO Doku.<p>
<p>Dies ist das Quickstart-Template aus der REDAXO Doku. Biermit kannst Du einfach die Module testen.<p>
<p>Infos gibt es hier: <a href="https://redaxo.org/doku/master/tutorial-quickstart" target="_blank">https://redaxo.org/doku/master/tutorial-quickstart</a></p>


Expand Down
4 changes: 2 additions & 2 deletions lib/templates/0010_quickstart/template.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

<title><?php echo htmlspecialchars($this->getValue('name')); ?></title>

<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet">
<!-- Load Bootstrap core CSS -->
<link href="https://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion package.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Alle hier gesetzten Werte können über $addon->getProperty($key) abgefragt werden

package: modulsammlung
version: '4.8.6'
version: '4.8.7'
author: 'Friends Of REDAXO'
supportpage: https://github.com/FriendsOfREDAXO/REX5-Modulsammlung/issues
info: 'Idee und Realisierung der ersten Version: Oliver Kreischer / concedra.de'
Expand Down

0 comments on commit 2d68d79

Please sign in to comment.