Learning with Texts - Fork  2.10.0-fork
Learn foreign languages with texts
Namespaces | Functions | Variables
display_impr_text.php File Reference

Display an improved annotated text (frame set) More...

Namespaces

 Lwt
 

Functions

 do_mobile_display_impr_text ($textid, $audio)
 
 do_desktop_display_impr_text ($textid, $audio)
 
 do_display_impr_text_page ($textid)
 

Variables

if(isset($_REQUEST['text'])) else
 

Detailed Description

Display an improved annotated text (frame set)

Call: display_impr_text.php?text=[textid]

PHP version 8.1

Function Documentation

◆ do_desktop_display_impr_text()

do_desktop_display_impr_text (   $textid,
  $audio 
)

Make the main page content to display printed texts for desktop.

Parameters
int$textidText ID
string$audioMedia URI
Returns
void

◆ do_display_impr_text_page()

do_display_impr_text_page (   $textid)

Do the page to display printed text.

Parameters
int$textidText ID

@global string $tbpref Database table prefix

Returns
void

◆ do_mobile_display_impr_text()

do_mobile_display_impr_text (   $textid,
  $audio 
)

Make the page content to display printed texts on mobile.

Parameters
int$textidText ID
string$audioMedia URI
Returns
void
Deprecated:
Since
2.2.0 This function should not longer be used, and should cause issues. Use do_desktop_display_impr_text instead.

Variable Documentation

◆ else

if (isset( $_REQUEST[ 'text'])) else
Initial value:
{
header("Location: edit_texts.php")