CMS  Version 3.9
text_lookup_dialog.inc File Reference

Go to the source code of this file.

Variables

 $text_id = checkNumeric($_GET["text_id"])
 
 $menu_item = "Text Lookup"
 
 $text = new TextLookup()
 
if($text_id) else
 
if(!Settings::getValue("settings", "enable_inline_editing")||!Settings::checkPermission("settings", "editor_roles")) $form = new AutoForm($text, "POST", "/action/text_lookup/text_lookup_dialog?text_id={$text_id}")
 
if($method=="POST") $script = $form->writeScript()
 

Variable Documentation

◆ $form

if (!Settings::getValue("settings", "enable_inline_editing")||!Settings::checkPermission("settings", "editor_roles")) $form = new AutoForm($text, "POST", "/action/text_lookup/text_lookup_dialog?text_id={$text_id}")

Definition at line 68 of file text_lookup_dialog.inc.

◆ $menu_item

$menu_item = "Text Lookup"

Definition at line 50 of file text_lookup_dialog.inc.

◆ $script

if ( $method=="POST") $script = $form->writeScript()

Definition at line 92 of file text_lookup_dialog.inc.

◆ $text

$text = new TextLookup()

Definition at line 52 of file text_lookup_dialog.inc.

◆ $text_id

$text_id = checkNumeric($_GET["text_id"])

Definition at line 48 of file text_lookup_dialog.inc.

◆ else

if ( $text_id) else
Initial value:
{
Fakoli::end("Missing Parameter")
static end($message="")
Use this method to terminate execution of a script instead of using the php keywords exit() or die().
Definition: core.inc:1149

Definition at line 58 of file text_lookup_dialog.inc.