2019-03-07 15:49:16 +01:00
< ? php
2021-12-06 12:16:12 +01:00
//define("NOLOGIN",1); // This means this output page does not require to be logged.
define ( " NOCSRFCHECK " , 1 ); // We accept to go on this page from external web site.
2021-02-26 18:58:34 +01:00
if ( ! defined ( 'NOSESSION' )) {
define ( 'NOSESSION' , '1' );
}
2019-03-01 12:01:25 +01:00
2021-02-17 14:22:01 +01:00
require_once '../../main.inc.php' ;
2019-03-01 12:01:25 +01:00
require_once DOL_DOCUMENT_ROOT . '/core/lib/functions.lib.php' ;
2021-02-19 14:43:03 +01:00
if ( $dolibarr_main_prod ) {
2021-12-06 12:12:04 +01:00
accessforbidden ( 'Access forbidden when $dolibarr_main_prod is set to 1' );
2021-02-19 14:43:03 +01:00
}
2022-07-11 20:18:03 +02:00
/*
* View
*/
header ( " Content-type: text/html; charset=UTF8 " );
// Security options
header ( " X-Content-Type-Options: nosniff " ); // With the nosniff option, if the server says the content is text/html, the browser will render it as text/html (note that most browsers now force this option to on)
header ( " X-Frame-Options: SAMEORIGIN " ); // Frames allowed only if on same domain (stop some XSS attacks)
2019-03-01 12:01:25 +01:00
?>
2019-02-28 16:04:26 +01:00
<! doctype html >
< html lang = " en " >
< head >
2021-02-26 18:58:34 +01:00
< meta charset = " utf-8 " >
2019-02-28 16:04:26 +01:00
< meta name = " viewport " content = " width=device-width, initial-scale=1, shrink-to-fit=no " >
< meta name = " description " content = " Documentation and examples for theme. " >
2019-03-01 12:01:25 +01:00
2021-02-17 14:22:01 +01:00
< link href = " <?php echo DOL_URL_ROOT ?>/theme/eldy/style.css.php " rel = " stylesheet " >
2019-02-28 16:04:26 +01:00
</ head >
2021-02-17 14:22:01 +01:00
< body class = " docpage " style = " padding: 20px; " >
2019-02-28 16:04:26 +01:00
< main role = " main " >
2021-02-26 18:58:34 +01:00
< h1 class = " bd-title " id = " content " > Badges </ h1 >
< p class = " bd-lead " > Documentation and examples for badges , our small count and labeling component .</ p >
2019-02-28 16:04:26 +01:00
2021-02-26 18:58:34 +01:00
< h2 id = " example " > Example </ h2 >
2019-02-28 16:04:26 +01:00
2019-03-01 12:01:25 +01:00
< p > Badges scale to match the size of the immediate parent element by using relative font sizing and em units .</ p >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< div class = " bd-example " >
< h1 > Example heading < span class = " badge badge-secondary " > New </ span ></ h1 >
< h2 > Example heading < span class = " badge badge-secondary " > New </ span ></ h2 >
< h3 > Example heading < span class = " badge badge-secondary " > New </ span ></ h3 >
< h4 > Example heading < span class = " badge badge-secondary " > New </ span ></ h4 >
< h5 > Example heading < span class = " badge badge-secondary " > New </ span ></ h5 >
< h6 > Example heading < span class = " badge badge-secondary " > New </ span ></ h6 >
</ div >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< figure class = " highlight " >
2021-02-26 18:58:34 +01:00
< pre >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
& lt ; h1 & gt ; Example heading & lt ; span class =& quot ; badge badge - secondary & quot ; & gt ; New & lt ; / span & gt ; & lt ; / h1 & gt ;
& lt ; h2 & gt ; Example heading & lt ; span class =& quot ; badge badge - secondary & quot ; & gt ; New & lt ; / span & gt ; & lt ; / h2 & gt ;
& lt ; h3 & gt ; Example heading & lt ; span class =& quot ; badge badge - secondary & quot ; & gt ; New & lt ; / span & gt ; & lt ; / h3 & gt ;
& lt ; h4 & gt ; Example heading & lt ; span class =& quot ; badge badge - secondary & quot ; & gt ; New & lt ; / span & gt ; & lt ; / h4 & gt ;
& lt ; h5 & gt ; Example heading & lt ; span class =& quot ; badge badge - secondary & quot ; & gt ; New & lt ; / span & gt ; & lt ; / h5 & gt ;
& lt ; h6 & gt ; Example heading & lt ; span class =& quot ; badge badge - secondary & quot ; & gt ; New & lt ; / span & gt ; & lt ; / h6 & gt ;
2021-02-17 14:22:01 +01:00
2021-02-26 18:58:34 +01:00
</ pre >
2019-02-28 16:04:26 +01:00
</ figure >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< p > Badges can be used as part of links or buttons to provide a counter .</ p >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< div class = " bd-example " >
< button type = " button " class = " button " >
Notifications < span class = " badge badge-primary " > 4 </ span >
</ button >
</ div >
2021-02-17 14:22:01 +01:00
2019-03-01 12:01:25 +01:00
< figure class = " highlight " >< pre >
2019-02-28 16:04:26 +01:00
& lt ; button type =& quot ; button & quot ; class =& quot ; button & quot ; & gt ;
Notifications & lt ; span class =& quot ; badge badge - primary & quot ; & gt ; 4 & lt ; / span & gt ;
& lt ; / button & gt ;
2019-03-01 12:01:25 +01:00
</ pre ></ figure >
2021-02-17 14:22:01 +01:00
< div class = " warning " >
2019-02-28 16:04:26 +01:00
< p > Note that depending on how they are used , badges may be confusing for users of screen readers and similar assistive technologies . While the styling of badges provides a visual cue as to their purpose , these users will simply be presented with the content of the badge . Depending on the specific situation , these badges may seem like random additional words or numbers at the end of a sentence , link , or button .</ p >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< p > Unless the context is clear ( as with the “Notifications” example , where it is understood that the “4” is the number of notifications ), consider including additional context with a visually hidden piece of additional text .</ p >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< p >< strong > Remember to use aria - label attribute for accessibility in Dolibarr . Don ' t forget to use aria - hidden on icons included in badges </ strong ></ p >
</ div >
< div class = " bd-example " >
2019-02-28 16:15:08 +01:00
< button type = " button " class = " button " >
Profile < span class = " badge badge-primary " aria - label = " 9 unread messages " > 9 </ span >
2019-02-28 16:04:26 +01:00
< span class = " sr-only " > unread messages </ span >
</ button >
</ div >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< figure class = " highlight " >
2021-02-26 18:58:34 +01:00
< pre >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
& lt ; button type =& quot ; button & quot ; class =& quot ; btn btn - primary & quot ; & gt ;
Profile & lt ; span class =& quot ; badge badge - light & quot ; aria - label =& quot ; 9 unread messages & quot ; & gt ; 9 & lt ; / span & gt ;
& lt ; span class =& quot ; sr - only & quot ; & gt ; unread messages & lt ; / span & gt ;
& lt ; / button & gt ;
2021-02-17 14:22:01 +01:00
2021-02-26 18:58:34 +01:00
</ pre >
2019-02-28 16:04:26 +01:00
</ figure >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< h2 id = " contextual-variations " > Contextual variations </ h2 >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< p > Add any of the below mentioned modifier classes to change the appearance of a badge .</ p >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< div class = " bd-example " >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< span class = " badge badge-primary " > Primary </ span >
< span class = " badge badge-secondary " > Secondary </ span >
< span class = " badge badge-success " > Success </ span >
< span class = " badge badge-danger " > Danger </ span >
< span class = " badge badge-warning " > Warning </ span >
< span class = " badge badge-info " > Info </ span >
< span class = " badge badge-light " > Light </ span >
< span class = " badge badge-dark " > Dark </ span >
</ div >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< figure class = " highlight " >
2021-02-26 18:58:34 +01:00
< pre >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
& lt ; span class =& quot ; badge badge - primary & quot ; & gt ; Primary & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - secondary & quot ; & gt ; Secondary & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - success & quot ; & gt ; Success & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - danger & quot ; & gt ; Danger & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - warning & quot ; & gt ; Warning & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - info & quot ; & gt ; Info & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - light & quot ; & gt ; Light & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - dark & quot ; & gt ; Dark & lt ; / span & gt ;
2021-02-17 14:22:01 +01:00
2021-02-26 18:58:34 +01:00
</ pre >
2019-02-28 16:04:26 +01:00
</ figure >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< div class = " warning " >
< h5 id = " conveying-meaning-to-assistive-technologies " > Conveying meaning to assistive technologies </ h5 >
2021-02-17 14:22:01 +01:00
2019-03-01 12:01:25 +01:00
< p > Using color to add meaning only provides a visual indication , which will not be conveyed to users of assistive technologies – such as screen readers . Ensure that information denoted by the color is either obvious from the content itself ( e . g . the visible text ), or is included through alternative means , such as additional text hidden with the . sr - only class .</ p >
2019-02-28 16:04:26 +01:00
</ div >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< h2 id = " contextual-variations " > Default status </ h2 >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< p > Add any of the below mentioned modifier classes to change the appearance of a badge to be linked to a default status .</ p >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< div class = " bd-example " >
2021-02-26 18:58:34 +01:00
< ? php for ( $i = 0 ; $i <= 9 ; $i ++ ) : ?>
2020-04-10 10:59:32 +02:00
< span class = " badge badge-status<?php print $i ; ?> " > status -< ? php print $i ; ?> </span>
2019-02-28 16:04:26 +01:00
< ? php endfor ; ?>
</ div >
2019-03-01 12:01:25 +01:00
< figure class = " highlight " >< pre >< pre >
2021-02-26 18:58:34 +01:00
< ? php for ( $i = 0 ; $i <= 9 ; $i ++ ) : ?>
2020-04-10 10:59:32 +02:00
& lt ; span class = " badge badge-status<?php print $i ; ?> " & gt ; status < ? php print $i ; ?> </span>
2019-02-28 16:04:26 +01:00
< ? php endfor ; ?>
2019-03-01 12:01:25 +01:00
</ pre ></ figure >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< h2 id = " pill-badges " > Pill badges </ h2 >
2021-02-17 14:22:01 +01:00
2019-03-01 12:01:25 +01:00
< p > Use the . badge - pill modifier class to make badges more rounded ( with a larger border - radius and additional horizontal padding ) .</ p >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< div class = " bd-example " >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< span class = " badge badge-pill badge-primary " > Primary </ span >
< span class = " badge badge-pill badge-secondary " > Secondary </ span >
< span class = " badge badge-pill badge-success " > Success </ span >
< span class = " badge badge-pill badge-danger " > Danger </ span >
< span class = " badge badge-pill badge-warning " > Warning </ span >
< span class = " badge badge-pill badge-info " > Info </ span >
< span class = " badge badge-pill badge-light " > Light </ span >
< span class = " badge badge-pill badge-dark " > Dark </ span >
2021-02-17 14:22:01 +01:00
2021-02-26 18:58:34 +01:00
< ? php for ( $i = 0 ; $i <= 9 ; $i ++ ) : ?>
2020-04-10 10:59:32 +02:00
< span class = " badge badge-pill badge-status<?php print $i ; ?> " > status < ? php print $i ; ?> </span>
2019-02-28 16:04:26 +01:00
< ? php endfor ; ?>
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
</ div >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< figure class = " highlight " >
< pre >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
& lt ; span class =& quot ; badge badge - pill badge - primary & quot ; & gt ; Primary & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - pill badge - secondary & quot ; & gt ; Secondary & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - pill badge - success & quot ; & gt ; Success & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - pill badge - danger & quot ; & gt ; Danger & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - pill badge - warning & quot ; & gt ; Warning & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - pill badge - info & quot ; & gt ; Info & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - pill badge - light & quot ; & gt ; Light & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - pill badge - dark & quot ; & gt ; Dark & lt ; / span & gt ;
2021-02-26 18:58:34 +01:00
< ? php for ( $i = 0 ; $i <= 9 ; $i ++ ) : ?>
2020-04-10 10:59:32 +02:00
& lt ; span class = " badge badge-pill badge-status<?php print $i ; ?> " & gt ; status < ? php print $i ; ?> </span>
2019-02-28 16:04:26 +01:00
< ? php endfor ; ?>
2019-03-01 12:01:25 +01:00
</ pre ></ figure >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< h2 id = " dot-badges " > Dot badges </ h2 >
2021-02-17 14:22:01 +01:00
2019-03-01 12:01:25 +01:00
< p >. dot - pill modifier class to make badges circle .</ p >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< div class = " bd-example " >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< span class = " badge badge-dot badge-primary " ></ span >
< span class = " badge badge-dot badge-secondary " ></ span >
< span class = " badge badge-dot badge-success " ></ span >
< span class = " badge badge-dot badge-danger " ></ span >
< span class = " badge badge-dot badge-warning " ></ span >
< span class = " badge badge-dot badge-info " ></ span >
< span class = " badge badge-dot badge-light " ></ span >
< span class = " badge badge-dot badge-dark " ></ span >
2021-02-17 14:22:01 +01:00
2021-02-26 18:58:34 +01:00
< ? php for ( $i = 0 ; $i <= 9 ; $i ++ ) : ?>
2020-04-10 10:59:32 +02:00
< span class = " badge badge-dot badge-status<?php print $i ; ?> " ></ span >
2019-02-28 16:04:26 +01:00
< ? php endfor ; ?>
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
</ div >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< figure class = " highlight " >
< pre >
2021-02-17 14:22:01 +01:00
2019-03-01 12:01:25 +01:00
& lt ; span class =& quot ; badge badge - dot badge - primary & quot ; & gt ; & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - dot badge - secondary & quot ; & gt ; & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - dot badge - success & quot ; & gt ; & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - dot badge - danger & quot ; & gt ; & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - dot badge - warning & quot ; & gt ; & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - dot badge - info & quot ; & gt ; & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - dot badge - light & quot ; & gt ; & lt ; / span & gt ;
& lt ; span class =& quot ; badge badge - dot badge - dark & quot ; & gt ; & lt ; / span & gt ;
2021-02-26 18:58:34 +01:00
< ? php for ( $i = 0 ; $i <= 9 ; $i ++ ) : ?>
2020-04-10 10:59:32 +02:00
& lt ; span class = " badge badge-dot badge-status<?php print $i ; ?> " & gt ; & lt ; / span & gt ;
2019-02-28 16:04:26 +01:00
< ? php endfor ; ?>
2019-03-01 12:01:25 +01:00
</ pre ></ figure >
2021-02-17 14:22:01 +01:00
< div class = " warning " >
2019-02-28 16:04:26 +01:00
< p > Note that depending on how they are used , badges may be confusing for users of screen readers and similar assistive technologies . While the styling of badges provides a visual cue as to their purpose , these users will simply be presented with the content of the badge . Depending on the specific situation , these badges may seem like random additional words or numbers at the end of a sentence , link , or button .</ p >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< p > Unless the context is clear ( as with the “Notifications” example , where it is understood that the “4” is the number of notifications ), consider including additional context with a visually hidden piece of additional text .</ p >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< p >< strong > Remember to use aria - label attribute for accessibility in Dolibarr . Don ' t forget to use aria - hidden on icons included in badges </ strong ></ p >
2021-02-17 14:22:01 +01:00
</ div >
2019-02-28 16:04:26 +01:00
< h2 id = " links " > Links </ h2 >
2021-02-17 14:22:01 +01:00
2019-03-01 12:01:25 +01:00
< p > Using the contextual . badge -* classes on an & lt ; a & gt ; element quickly provide < em > actionable </ em > badges with hover and focus states .</ p >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< div class = " bd-example " >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
< a href = " # " class = " badge badge-primary " > Primary </ a >
< a href = " # " class = " badge badge-secondary " > Secondary </ a >
< a href = " # " class = " badge badge-success " > Success </ a >
< a href = " # " class = " badge badge-danger " > Danger </ a >
< a href = " # " class = " badge badge-warning " > Warning </ a >
< a href = " # " class = " badge badge-info " > Info </ a >
< a href = " # " class = " badge badge-light " > Light </ a >
< a href = " # " class = " badge badge-dark " > Dark </ a >
2021-02-26 18:58:34 +01:00
< ? php for ( $i = 0 ; $i <= 9 ; $i ++ ) : ?>
2020-04-10 10:59:32 +02:00
< a href = " # " class = " badge badge-status<?php print $i ; ?> " > status < ? php print $i ; ?> </a>
2019-02-28 16:04:26 +01:00
< ? php endfor ; ?>
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
</ div >
2021-02-17 14:22:01 +01:00
2019-03-01 12:01:25 +01:00
< figure class = " highlight " >< pre >
2019-02-28 16:04:26 +01:00
& lt ; a href =& quot ; #" class="badge badge-primary">Primary</a>
& lt ; a href =& quot ; #" class="badge badge-secondary">Secondary</a>
& lt ; a href =& quot ; #" class="badge badge-success">Success</a>
& lt ; a href =& quot ; #" class="badge badge-danger">Danger</a>
& lt ; a href =& quot ; #" class="badge badge-warning">Warning</a>
& lt ; a href =& quot ; #" class="badge badge-info">Info</a>
& lt ; a href =& quot ; #" class="badge badge-light">Light</a>
& lt ; a href =& quot ; #" class="badge badge-dark">Dark</a>
2021-02-26 18:58:34 +01:00
< ? php for ( $i = 0 ; $i <= 9 ; $i ++ ) : ?>
2020-04-10 10:59:32 +02:00
& lt ; a href =& quot ; #" class="badge badge-status<?php print $i; ?>" >status<?php print $i; ?></a>
2019-02-28 16:04:26 +01:00
< ? php endfor ; ?>
2019-03-01 12:01:25 +01:00
</ pre ></ figure >
2019-02-28 16:04:26 +01:00
2019-03-01 12:01:25 +01:00
< h2 id = " helper " > Use badge helper function </ h2 >
2019-03-05 15:26:19 +01:00
< p > Using the dolGetBadge function provide in core / lib / functions . lib . php . This function is recommended for code uniformisation and easy maintain </ p >
< ? php print dolGetBadge ( 'your label for accessibility' , 'your label <u>with</u> <em>html</em>' , 'primary' ) ?>
< ? php print dolGetBadge ( 'your label for accessibility' , 'your label <u>with</u> <em>html</em>' , 'danger' , 'pill' ) ?>
< ? php print dolGetBadge ( 'your label for accessibility' , 'your label <u>with</u> <em>html</em>' , 'warning' , 'dot' ) ?>
2021-02-17 14:22:01 +01:00
2019-03-01 12:01:25 +01:00
< figure class = " highlight " >< pre >
2019-03-05 15:26:19 +01:00
& lt ; ? php print dolGetBadge ( 'your label for accessibility' , 'your label <u>with</u> <em>html</em>' , 'danger' , 'pill' ) ? & gt ;
& lt ; ? php print dolGetBadge ( 'your label for accessibility' , 'your label <u>with</u> <em>html</em>' , 'warning' , 'dot' ) ? & gt ;
2019-03-01 12:01:25 +01:00
</ pre ></ figure >
2021-02-17 14:22:01 +01:00
2019-03-01 12:01:25 +01:00
< h2 id = " helper " > Use status helper function </ h2 >
2019-03-05 15:26:19 +01:00
< p > Using the dolGetStatus function provide in core / lib / functions . lib . php . This function is recommended for code uniformisation and easy maintain </ p >
2019-03-07 15:49:16 +01:00
< ? php
2019-03-01 12:01:25 +01:00
$saveGlobalConf = $conf -> global -> MAIN_STATUS_USES_CSS ;
$conf -> global -> MAIN_STATUS_USES_CSS = 1 ;
?>
< h4 > Using hidden global conf MAIN_STATUS_USES_CSS = 1 </ h4 >
2019-03-05 16:58:05 +01:00
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' ) ?> </p>
2019-03-07 15:49:16 +01:00
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 1 ) ?> </p>
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 2 ) ?> </p>
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 3 ) ?> </p>
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 4 ) ?> </p>
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 5 ) ?> </p>
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 6 ) ?> </p>
2019-03-01 12:01:25 +01:00
< ? php $conf -> global -> MAIN_STATUS_USES_CSS = 0 ; ?>
< h4 > Disabled hidden global conf : MAIN_STATUS_USES_CSS = 0 </ h4 >
2019-03-07 15:49:16 +01:00
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 1 ) ?> </p>
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 2 ) ?> </p>
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 3 ) ?> </p>
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 4 ) ?> </p>
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 5 ) ?> </p>
< p >< ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 6 ) ?> </p>
2019-03-01 12:01:25 +01:00
< ? php $conf -> global -> MAIN_STATUS_USES_CSS = $saveGlobalConf ; ?>
2021-02-17 14:22:01 +01:00
2019-03-01 12:06:25 +01:00
< figure class = " highlight " >< pre >
2019-03-05 16:58:05 +01:00
& lt ; ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' ) ? & gt ;
& lt ; ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 1 ) ? & gt ;
& lt ; ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 2 ) ? & gt ;
& lt ; ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 3 ) ? & gt ;
& lt ; ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 4 ) ? & gt ;
& lt ; ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 5 ) ? & gt ;
& lt ; ? php print dolGetStatus ( 'your label for accessibility' , 'your label' , 'your label <u>with</u> <em>html</em>' , 'status4' , 6 ) ? & gt ;
2019-03-01 12:06:25 +01:00
</ pre ></ figure >
2019-03-01 15:33:23 +01:00
2021-02-17 14:22:01 +01:00
2021-02-26 18:58:34 +01:00
</ main >
2021-02-17 14:22:01 +01:00
2019-02-28 16:04:26 +01:00
</ body >
</ html >