Start Reading a text (frameset)
More...
Start Reading a text (frameset)
Call: do_text.php?text=[textid] Create the main window when reading texts.
◆ do_text_desktop_content()
| do_text_desktop_content |
( |
|
$textid, |
|
|
|
$audio |
|
) |
| |
Echo the page content for the desktop version of do_text.
- Parameters
-
| int | $textid | Text ID |
| string | null | $audio | Audio URI |
- Returns
- void
◆ do_text_mobile_content()
| do_text_mobile_content |
( |
|
$textid, |
|
|
|
$audio |
|
) |
| |
Echo the page content for the mobile version of do_text.
- Parameters
-
| int | $textid | Text ID |
| string | $audio | Audio URI |
- Returns
- void
- Deprecated:
- Use do_text_desktop_content instead.
- Since
- 2.2.1 It also calls do_frameset_mobile_css and do_frameset_mobile_js
◆ do_text_page()
Echo the text page.
- Parameters
-
| int | $textit | Text ID |
| bool | $mobile | Set to true if you want the mobile version of the page. |
- Since
- 2.2.1 The $mobile parameter is no longer required.
- Returns
- void
@global string $tbpref Database table prefix.
◆ get_text_id()
Get text ID (if possible).
Text ID if first looked at int the 'text' parameter. If not found, then look at 'start'.
- Returns
- int|null Text ID or null
◆ else
Initial value:{
header("Location: edit_texts.php")