File: ./Proj.demo/other.page.php - ver:1.7.3
Open source - π˜“π˜π˜Šπ˜Œπ˜•π˜šπ˜Œ & 𝘊𝘰𝘱𝘺𝘳π˜ͺ𝘨𝘩𝘡 Β© 2019-2026 EV-soft *** See the file: LICENSE
Skip to the contentGo to the view tools

other.page.php



Test site and documentation for Clever html engine β€’ Errors may occur and future news may be shown β€’ ver.1.7.3: 78 core functions.


MOVE: Drag to place this card elsewhere among the cards. Alt + arrow up/down: one place. The order is remembered in this browser.Other htm_functions: TOGGLE-height: Click icon to toggle viewHeight for this card WIDE: Click to maximize/normalize this card width COLLAPSE: Click to close all cards EXPAND: Click to open all cards
There are a lot of small functions
that could be mentiond here. e.g. htm_AcceptButt()
htm_AcceptButt() - a programmeble button. You give:
    $labl='',           # string: The caption on the button                          
    $icon='',           # string: The iconclass ( class="fas fa-plus" ) 
    $hint='',           # string: hint about the button function                     
                                                                                      
    $kind='home',       # string: save, navi, goon, erase, create, home (Appearance) 
    $form='',           # string: The form the element belongs to, if a name is given
    $acti='',           # string: Function to run                    
                                                                                      
    $wdth='',           # string: The width of the button                            
    $attr='',           # string: Generel use e.g. ' action= "$link" '            
                                                                                      
    $akey='',           # string: Shortcut to activate the button                    
    $tplc='LblTip_text',# string: Class for Placement of the tooltip 
    $tsty='',           # string: Style for Placement of the tooltip 
    $idix='',           # string: ix-suffix on name/id               
    $disa=false,        # bolean: 'disabled' to deactivate the button
    $rtrn=false         # bool:   Act as procedure: Echo string, or as function: Return string
    
htm_IconButt() - a general button with icon.

htm_ModalDialog() - A popup message,
locks program and waits for a user response.

msg_System() - Another modal popup message system,

Pmnu_() / Pmnu_end() - A popup context menu system.

A special group of functions:
dvl_ functions - relates to development (tools and design)

Drag to resize the card (or use the arrow keys). Double-click or Home: original sizeColumn view: the column decides the width of the card - only the height can be dragged (down to less than the content). Turn the column view off to change the width.
MOVE: Drag to place this card elsewhere among the cards. Alt + arrow up/down: one place. The order is remembered in this browser.Messages and dialogs: TOGGLE-height: Click icon to toggle viewHeight for this card WIDE: Click to maximize/normalize this card width COLLAPSE: Click to close all cards EXPAND: Click to open all cards
msg_System() and the short forms show a message when the page is loaded - e.g. after saving. Click to try:
msg_Error()Reload the page and show this messagemsg_Info()Reload the page and show this messagemsg_Warn()Reload the page and show this messagemsg_Hint()Reload the page and show this messagemsg_Succ()Reload the page and show this messagemsg_System()Reload the page and show this message

htm_Dialog() - a native modal dialog:
Delete the record?

The record will be moved to the trash.

  


Drag to resize the card (or use the arrow keys). Double-click or Home: original sizeColumn view: the column decides the width of the card - only the height can be dragged (down to less than the content). Turn the column view off to change the width.
MOVE: Drag to place this card elsewhere among the cards. Alt + arrow up/down: one place. The order is remembered in this browser.Alert, banner, badge, confirm and table tools: TOGGLE-height: Click icon to toggle viewHeight for this card WIDE: Click to maximize/normalize this card width COLLAPSE: Click to close all cards EXPAND: Click to open all cards
htm_Banner(): a notice across the page - e.g. Demo data or Read only.
htm_Alert(kind:'success')
htm_Alert(kind:'info')

htm_Badge(): New Draft Paid Overdue 3 Info

htm_TableTools(): search and sort without jQuery
CustomerDateAmount
Andersen ApS03.10.20261 234,50
Bager Hansen28.09.202689,00
Café Ørsted15.10.202612 000,00
Dansk Træ A/S01.08.2026450,75
Drag to resize the card (or use the arrow keys). Double-click or Home: original sizeColumn view: the column decides the width of the card - only the height can be dragged (down to less than the content). Turn the column view off to change the width.
MOVE: Drag to place this card elsewhere among the cards. Alt + arrow up/down: one place. The order is remembered in this browser.Forms, output and buttons: TOGGLE-height: Click icon to toggle viewHeight for this card WIDE: Click to maximize/normalize this card width COLLAPSE: Click to close all cards EXPAND: Click to open all cards
A multi-line text field

A progress bar      Submits the form - htm_Form_() adds the CSRF token

Drag to resize the card (or use the arrow keys). Double-click or Home: original sizeColumn view: the column decides the width of the card - only the height can be dragged (down to less than the content). Turn the column view off to change the width.
MOVE: Drag to place this card elsewhere among the cards. Alt + arrow up/down: one place. The order is remembered in this browser.Text and layout helpers: TOGGLE-height: Click icon to toggle viewHeight for this card WIDE: Click to maximize/normalize this card width COLLAPSE: Click to close all cards EXPAND: Click to open all cards
htm_TextHint()
Hover the mouse here
htm_Ihead()Text
italic text after a line break
htm_sp(6)|      |   (6 non-breaking spaces)
htm_space('80px')| |   (a fixed width)
str_bold()Bold text  
str_hr()
markFirstChar()Save   (marks a shortcut key)
isBold() / isItal()isBold('<b>x</b>') = true   isItal('x') = false
str_Synt()
$name = 'value'; // syntax colors
getOptimalBackground()#336699#ffcc00#228B22#eeeeee#990000
Black or white background - whichever gives the best contrast to the text color
htm_TextVer()
htm_TextVer()
Drag to resize the card (or use the arrow keys). Double-click or Home: original sizeColumn view: the column decides the width of the card - only the height can be dragged (down to less than the content). Turn the column view off to change the width.
MOVE: Drag to place this card elsewhere among the cards. Alt + arrow up/down: one place. The order is remembered in this browser.Questions and answers - htm_faq(): TOGGLE-height: Click icon to toggle viewHeight for this card WIDE: Click to maximize/normalize this card width COLLAPSE: Click to close all cards EXPAND: Click to open all cards
What is php2html?
A PHP library that builds the HTML of a page with one function call per element.
Does the FAQ need JavaScript?
No - it is a <details> element. It also works with the keyboard and screen readers.
Can more answers be open at the same time?
Not when the questions share a grup: opening one closes the others. Leave grup empty to open them all.
Can the answer be shown as plain text?
With code:true the answer is not html: <b>this is not bold</b>

Show the codeHide the code
htm_faq(ques:'@What is php2html?', grup:'demoFaq', open:true,
        answ:'@A PHP library that builds the HTML of a page with one function call per element.');
htm_faq(ques:'@Does the FAQ need JavaScript?', grup:'demoFaq',
        answ:'@No - it is a &lt;details&gt; element. It also works with the keyboard and screen readers.');
htm_faq(ques:'@Can more answers be open at the same time?', grup:'demoFaq',
        answ:'@Not when the questions share a grup: opening one closes the others. Leave grup empty to open them all.');
htm_faq(ques:'@Can the answer be shown as plain text?', code:true,
        answ:'With code:true the answer is not html: <b>this is not bold</b>');
Drag to resize the card (or use the arrow keys). Double-click or Home: original sizeColumn view: the column decides the width of the card - only the height can be dragged (down to less than the content). Turn the column view off to change the width.
MOVE: Drag to place this card elsewhere among the cards. Alt + arrow up/down: one place. The order is remembered in this browser.Htm_iFrame(): TOGGLE-height: Click icon to toggle viewHeight for this card WIDE: Click to maximize/normalize this card width COLLAPSE: Click to close all cards EXPAND: Click to open all cards
Drag to resize the card (or use the arrow keys). Double-click or Home: original sizeColumn view: the column decides the width of the card - only the height can be dragged (down to less than the content). Turn the column view off to change the width.