commit ef58c60aef8759cbe111611bf74f6d9e5985643b
parent 339e57cb191c1deecc656dcd69eabbcfc2d2fadc
Author: Jan Dankert <devnull@localhost>
Date: Sun, 3 Dec 2017 03:55:04 +0100
Ausbau EditMode und Editable-Einstellungen. Das war ganz alter Kram.
Diffstat:
3 files changed, 7 insertions(+), 27 deletions(-)
diff --git a/action/Action.class.php b/action/Action.class.php
@@ -693,16 +693,6 @@ class Action
- /**
- * Stellt fest, ob die Anzeige dieser Aktion editierbar ist.
- *
- * @return boolean
- * @deprecated
- */
- function isEditable()
- {
- return false;
- }
/**
@@ -728,19 +718,6 @@ class Action
/**
- * Stellt fest, ob sich die Anzeige im Editier-Modus befindet.
- *
- * @return boolean
- * @deprecated
- */
- protected function isEditMode()
- {
- return true;
- }
-
-
-
- /**
* Setzt eine neue Perspektive für die Sitzung.
*
* @param String Name der Perspektive
diff --git a/action/PageelementAction.class.php b/action/PageelementAction.class.php
@@ -680,11 +680,14 @@ class PageelementAction extends Action
// einen Text eingegeben hat (Vorschaufunktion).
$this->setTemplateVar( 'text',$this->linkifyOIDs( $this->value->text ) );
+ /*
+ *
if (! $this->isEditMode() )
{
$this->value->generate(); // Inhalt erzeugen.
$this->setTemplateVar('text',$this->linkifyOIDs( $this->value->value ));
}
+ */
if ( $this->getSessionVar('pageaction') != '' )
$this->setTemplateVar('old_pageaction',$this->getSessionVar('pageaction'));
diff --git a/version.ini b/version.ini
@@ -1,5 +1,5 @@
-rev="3323"
-node="3c870cd9616518014375f419420d8d0574441739"
-date="Sun Dec 03 03:33:57 2017 +0100"
-description="Refactoring: Security-Funktionen in ein eigenes "Modul" ausgelagert."
+rev="3324"
+node="075dfa597c5d506c755b73f5efe4a1aa712b68eb"
+date="Sun Dec 03 03:52:33 2017 +0100"
+description="Namespace für Template-Engine"
author="Jan Dankert"