Note that there are some explanatory texts on larger screens.

plurals
  1. POEvaluate functions data
    primarykey
    data
    text
    <p>I got:</p> <pre><code>function notification($text, $info = FALSE, $title = FALSE) { global $layout_name; return '&lt;div class="SmallBox"&gt;&lt;div class="MessageContainer"&gt;&lt;div class="BoxFrameHorizontal" style="background-image:url('.$layout_name.'/images/content/box-frame-horizontal.gif);" /&gt;&lt;/div&gt; &lt;div class="BoxFrameEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /&gt;&lt;/div&gt;&lt;div class="BoxFrameEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /&gt;&lt;/div&gt;&lt;div class="'.($info ? "Valid" : "Error").'Message"&gt;&lt;div class="BoxFrameVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /&gt;&lt;/div&gt;&lt;div class="BoxFrameVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /&gt;&lt;/div&gt;&lt;div class="AttentionSign" style="background-image:url('.$layout_name.'/images/content/'.(!$info ? 'attentionsign.gif' : 'valid.png').');" /&gt;&lt;/div&gt;&lt;b&gt;'.(!$title ? (!$info ? 'Wystąpiły następujące błędy:' : 'Sukces!') : $title).'&lt;/b&gt;&lt;br/&gt;'.$text.'&lt;/div&gt;&lt;div class="BoxFrameHorizontal" style="background-image:url('.$layout_name.'/images/content/box-frame-horizontal.gif);" /&gt;&lt;/div&gt; &lt;div class="BoxFrameEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /&gt;&lt;/div&gt;&lt;div class="BoxFrameEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;'; } </code></pre> <p>I wonder if there is a way, to print it out without using <code>echo notification('text...', FALSE/TRUE, 'some title');</code></p> <p>Just only <code>notification('text...', FALSE/TRUE, 'some title');</code> (without <code>echo</code>) ?</p> <p>If so, how can it be done?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload