class Html
Helper functions for outputting HTML elements. Source code (44 results)/sprout/Controllers/Admin/FileAdminController.php Highlighted file source
Line 294: * @return void Outputs HTML Line 378: * html Confirmation HTML, if success is 1 Line 490: $html = '<div class="file-upload__item__feedback__response file-upload__item__feedback__response--success file-upload__item__feedback__response--success--not-image">'; Line 491: $html .= '<p class="file-upload__item__feedback__name"><a href="admin/edit/file/' . $file_id . '" target="_blank">' . Enc::html($filename) . '</a></p>'; Line 492: $html .= '<p class="file-upload__item__feedback__size">' . File::humanSize(File::size($filename)) . '</p>'; Line 493: $html .= '</div>'; Line 496: 'html' => $html, Line 1036: $res = Search::indexHtml($plaintext, 1); Line 1260: * Return HTML for a resultset of items Line 1261: * The returned HTML will be sandwiched between the refinebar and the pagination bar. Line 1350: * Outputs the file selector HTML Line 1541: * Renders a HTML subset containing a focal crop image
/sprout/Controllers/Admin/FileAdminController.php Highlighted file source
Line 294: * @return void Outputs HTML Line 378: * html Confirmation HTML, if success is 1 Line 490: $html = '<div class="file-upload__item__feedback__response file-upload__item__feedback__response--success file-upload__item__feedback__response--success--not-image">'; Line 491: $html .= '<p class="file-upload__item__feedback__name"><a href="admin/edit/file/' . $file_id . '" target="_blank">' . Enc::html($filename) . '</a></p>'; Line 492: $html .= '<p class="file-upload__item__feedback__size">' . File::humanSize(File::size($filename)) . '</p>'; Line 493: $html .= '</div>'; Line 496: 'html' => $html, Line 1036: $res = Search::indexHtml($plaintext, 1); Line 1260: * Return HTML for a resultset of items Line 1261: * The returned HTML will be sandwiched between the refinebar and the pagination bar. Line 1350: * Outputs the file selector HTML Line 1541: * Renders a HTML subset containing a focal crop image
/sprout/Controllers/Admin/PageAdminController.php Highlighted file source
Line 175: public function _getCustomAddSaveHTML() Line 210: * @return string The HTML code which represents the add form Line 449: * Return HTML for the import upload form Line 583: echo '<li>', ($_GET['page_name'] ? Enc::html($_GET['page_name']) : '<i>Enter a page name into the field above</i>'), '</li>'; Line 616: echo '<li>', Enc::html($node['name']); Line 788: $html = DocImport::getHtml($dom, $images, $headings); Line 818: 'text' => $html, Line 834: $res = $this->reindexItem($page_id, $node['name'], $html); Line 847: public function _getCustomEditSaveHTML($item_id) Line 890: * @return string The HTML code which represents the edit form Line 982: // Remember the edit type for use in sidebar; i.e. _getCustomEditSaveHTML Line 1167: $title = 'Editing revision ' . $rev_num . ' of page <strong>' . Enc::html($page['name']) . '</strong>'; Line 1169: $title = 'Editing page <strong>' . Enc::html($page['name']) . '</strong>'; Line 1257: * Makes the provided html text be in a standard format to ensure the integrity of the change check Line 1738: $mail->SkinnedHTML($view->render()); Line 1758: $mail->SkinnedHTML($view->render()); Line 1915: * @return string The HTML code which represents the edit form Line 1949: 'title' => 'Deleting page <strong>' . Enc::html($view->page['name']) . '</strong>', Line 2055: 'title' => 'Links for page <strong>' . Enc::html($view->page->name) . '</strong>', Line 2063: * Returns the intro HTML for this controller. Line 2132: $res = Search::indexHtml($text, 1); Line 2243: $name = Enc::html($name); Line 2245: $rel = Enc::html('/' . $dir_item_path); Line 2258: $name = Enc::html($name); Line 2260: $rel = Enc::html($_POST['dir'] . $child['id']); Line 2712: $mail->skinnedHTML($view); Line 2775: * @return void Echos HTML directly
/sprout/Controllers/Admin/PageAdminController.php Highlighted file source
Line 175: public function _getCustomAddSaveHTML() Line 210: * @return string The HTML code which represents the add form Line 449: * Return HTML for the import upload form Line 583: echo '<li>', ($_GET['page_name'] ? Enc::html($_GET['page_name']) : '<i>Enter a page name into the field above</i>'), '</li>'; Line 616: echo '<li>', Enc::html($node['name']); Line 788: $html = DocImport::getHtml($dom, $images, $headings); Line 818: 'text' => $html, Line 834: $res = $this->reindexItem($page_id, $node['name'], $html); Line 847: public function _getCustomEditSaveHTML($item_id) Line 890: * @return string The HTML code which represents the edit form Line 982: // Remember the edit type for use in sidebar; i.e. _getCustomEditSaveHTML Line 1167: $title = 'Editing revision ' . $rev_num . ' of page <strong>' . Enc::html($page['name']) . '</strong>'; Line 1169: $title = 'Editing page <strong>' . Enc::html($page['name']) . '</strong>'; Line 1257: * Makes the provided html text be in a standard format to ensure the integrity of the change check Line 1738: $mail->SkinnedHTML($view->render()); Line 1758: $mail->SkinnedHTML($view->render()); Line 1915: * @return string The HTML code which represents the edit form Line 1949: 'title' => 'Deleting page <strong>' . Enc::html($view->page['name']) . '</strong>', Line 2055: 'title' => 'Links for page <strong>' . Enc::html($view->page->name) . '</strong>', Line 2063: * Returns the intro HTML for this controller. Line 2132: $res = Search::indexHtml($text, 1); Line 2243: $name = Enc::html($name); Line 2245: $rel = Enc::html('/' . $dir_item_path); Line 2258: $name = Enc::html($name); Line 2260: $rel = Enc::html($_POST['dir'] . $child['id']); Line 2712: $mail->skinnedHTML($view); Line 2775: * @return void Echos HTML directly
/sprout/Controllers/AdminAjaxController.php Highlighted file source
Line 58: header('Content-type: text/html; charset=UTF-8'); Line 63: * Returns the HTML for the settings for an individual widget. Line 119: 'description' => Enc::html($widget->getFriendlyDesc()), Line 131: * @return void Outputs HTML directly Line 156: * HTML strings containing {@see Form} fields for the operator Line 339: $html = $inst->render($_POST['val'], $_POST['attr_name']); Line 340: $html = Needs::replacePathsString($html); Line 344: 'html' => $html, Line 363: 'html' => '', Line 387: $html = $inst->getEditForm($_POST['field'], $_POST['val']); Line 388: $html = Needs::replacePathsString($html); Line 391: 'html' => $html, Line 426: * 'html' The imported HTML of the document Line 449: $html = DocImport::getHtml($dom, $images, $headings); Line 452: 'html' => $html Line 459: echo '<div>', Enc::html(json_encode($out)), '</div>'; Line 470: * HTML strings containing {@see Form} fields for the operator
/sprout/Controllers/AdminAjaxController.php Highlighted file source
Line 58: header('Content-type: text/html; charset=UTF-8'); Line 63: * Returns the HTML for the settings for an individual widget. Line 119: 'description' => Enc::html($widget->getFriendlyDesc()), Line 131: * @return void Outputs HTML directly Line 156: * HTML strings containing {@see Form} fields for the operator Line 339: $html = $inst->render($_POST['val'], $_POST['attr_name']); Line 340: $html = Needs::replacePathsString($html); Line 344: 'html' => $html, Line 363: 'html' => '', Line 387: $html = $inst->getEditForm($_POST['field'], $_POST['val']); Line 388: $html = Needs::replacePathsString($html); Line 391: 'html' => $html, Line 426: * 'html' The imported HTML of the document Line 449: $html = DocImport::getHtml($dom, $images, $headings); Line 452: 'html' => $html Line 459: echo '<div>', Enc::html(json_encode($out)), '</div>'; Line 470: * HTML strings containing {@see Form} fields for the operator
/sprout/Controllers/DbToolsController.php Highlighted file source
Line 47: use Sprout\Helpers\Html; Line 185: * @param string HTML Line 186: * @return void Echos HTML directly Line 188: private function template($main_title, $html = null) Line 206: $view->main_content = $main_content . $html; Line 365: echo $sync->getLoadErrorsHtml(); Line 594: $out .= '<pre class="sql">' . Enc::html($q) . '</pre>'; Line 606: $out .= nl2br(Enc::html($ex->getMessage())); Line 620: $out .= Enc::html("{$dep['table']}.{$dep['column']}") . '<br>'; Line 676: $out .= '<pre class="sql">' . Enc::html($row['Query']) . '</pre>'; Line 821: echo '<p>Uploaded file: <code>', Enc::html($_GET['tempname']), '</code></p>'; Line 845: echo ' <input type="hidden" name="tempname" value="', Enc::html($_GET['tempname']), '">'; Line 920: echo '<p>Failed query: <code>' . Enc::html($q) . '</code>, exception: ', Line 921: Enc::html($ex->getMessage()), '</p>'; Line 948: echo $sync->getLoadErrorsHtml(); Line 1135: * @return string HTML Line 1162: * @return void Outputs HTML directly Line 1495: echo '<h3>' . Enc::html($key) . '</h3>'; Line 1503: echo '<h3>' . Enc::html($key) . ' <i>' . get_class($val); Line 1611: $rule = Enc::html($rule); Line 1612: $target = Enc::html(json_encode($target, JSON_UNESCAPED_SLASHES)); Line 2049: echo '<h3>', Enc::html($t), '</h3>'; Line 2056: // Determine HTML input field based on field name and type Line 2371: echo " '", Enc::html(Enc::js($username)); Line 2372: echo "' => ['uid' => {$user['uid']}, 'hash' => '", Enc::html(Enc::js($user['hash'])); Line 2373: echo "', 'salt' => '", Enc::html(Enc::js($user['salt'])), "'],\n"; Line 2385: * @return void Echos HTML Line 2402: * @return void Outputs HTML directly Line 2414: echo '<h3>', Enc::html($s), '</h3>'; Line 2424: echo '<p><a href="' . Enc::html($url) . '">' . Enc::html($f) . '</a></p>'; Line 2437: * @return void Outputs HTML directly Line 2499: $view->html_title = $view->page_title; Line 2671: Enc::html($name) . "\"></p>\n\n"; Line 2817: echo '<h2>', Enc::html($e), '</h2>'; Line 2822: echo '<p>', Enc::html($ex->getMessage()), '</p>'; Line 2829: $mail->SkinnedHTML($body); Line 2844: echo '<pre>', Enc::html($log), '</pre>'; Line 2848: echo '<p>Sent email to <b>', Enc::html($e), '</b>.</p>'; Line 2851: echo '<p>Sending to <b>', Enc::html($e), '</b> failed!</p>'; Line 2866: * @return void Echos HTML directly Line 2938: * @return void Echos HTML directly Line 2955: * @return void Echos HTML directly Line 2969: $html = call_user_func_array([$ctlr, $method], $args); Line 2983: $this->template($title, $html); Line 2989: * @return void Echos HTML directly
/sprout/Controllers/DbToolsController.php Highlighted file source
Line 47: use Sprout\Helpers\Html; Line 185: * @param string HTML Line 186: * @return void Echos HTML directly Line 188: private function template($main_title, $html = null) Line 206: $view->main_content = $main_content . $html; Line 365: echo $sync->getLoadErrorsHtml(); Line 594: $out .= '<pre class="sql">' . Enc::html($q) . '</pre>'; Line 606: $out .= nl2br(Enc::html($ex->getMessage())); Line 620: $out .= Enc::html("{$dep['table']}.{$dep['column']}") . '<br>'; Line 676: $out .= '<pre class="sql">' . Enc::html($row['Query']) . '</pre>'; Line 821: echo '<p>Uploaded file: <code>', Enc::html($_GET['tempname']), '</code></p>'; Line 845: echo ' <input type="hidden" name="tempname" value="', Enc::html($_GET['tempname']), '">'; Line 920: echo '<p>Failed query: <code>' . Enc::html($q) . '</code>, exception: ', Line 921: Enc::html($ex->getMessage()), '</p>'; Line 948: echo $sync->getLoadErrorsHtml(); Line 1135: * @return string HTML Line 1162: * @return void Outputs HTML directly Line 1495: echo '<h3>' . Enc::html($key) . '</h3>'; Line 1503: echo '<h3>' . Enc::html($key) . ' <i>' . get_class($val); Line 1611: $rule = Enc::html($rule); Line 1612: $target = Enc::html(json_encode($target, JSON_UNESCAPED_SLASHES)); Line 2049: echo '<h3>', Enc::html($t), '</h3>'; Line 2056: // Determine HTML input field based on field name and type Line 2371: echo " '", Enc::html(Enc::js($username)); Line 2372: echo "' => ['uid' => {$user['uid']}, 'hash' => '", Enc::html(Enc::js($user['hash'])); Line 2373: echo "', 'salt' => '", Enc::html(Enc::js($user['salt'])), "'],\n"; Line 2385: * @return void Echos HTML Line 2402: * @return void Outputs HTML directly Line 2414: echo '<h3>', Enc::html($s), '</h3>'; Line 2424: echo '<p><a href="' . Enc::html($url) . '">' . Enc::html($f) . '</a></p>'; Line 2437: * @return void Outputs HTML directly Line 2499: $view->html_title = $view->page_title; Line 2671: Enc::html($name) . "\"></p>\n\n"; Line 2817: echo '<h2>', Enc::html($e), '</h2>'; Line 2822: echo '<p>', Enc::html($ex->getMessage()), '</p>'; Line 2829: $mail->SkinnedHTML($body); Line 2844: echo '<pre>', Enc::html($log), '</pre>'; Line 2848: echo '<p>Sent email to <b>', Enc::html($e), '</b>.</p>'; Line 2851: echo '<p>Sending to <b>', Enc::html($e), '</b> failed!</p>'; Line 2866: * @return void Echos HTML directly Line 2938: * @return void Echos HTML directly Line 2955: * @return void Echos HTML directly Line 2969: $html = call_user_func_array([$ctlr, $method], $args); Line 2983: $this->template($title, $html); Line 2989: * @return void Echos HTML directly
/sprout/Helpers/DocImport/DocImport.php Highlighted file source
Line 67: * For a given XML doc file, return the HTML version. Line 72: * @return string The HTML, or NULL on error Line 74: public static function getHtml($filename, $images = array(), $headings = array()) { Line 112: // Get as XML and do some XML -> HTML mods Line 113: $html = $xml->body->asXML(); Line 114: $html = str_replace(array('<body>', '</body>', '<body/>'), '', $html); Line 115: $html = str_replace(array('<br/>', '<br />'), '<br>', $html); Line 116: $html = str_replace('/>', '>', $html); Line 121: $html = preg_replace("!<h{$old}>([^<]+)</h{$old}>!", "<h{$new}>\$1</h{$new}>", $html); Line 124: return $html;
/sprout/Helpers/DocImport/DocImport.php Highlighted file source
Line 67: * For a given XML doc file, return the HTML version. Line 72: * @return string The HTML, or NULL on error Line 74: public static function getHtml($filename, $images = array(), $headings = array()) { Line 112: // Get as XML and do some XML -> HTML mods Line 113: $html = $xml->body->asXML(); Line 114: $html = str_replace(array('<body>', '</body>', '<body/>'), '', $html); Line 115: $html = str_replace(array('<br/>', '<br />'), '<br>', $html); Line 116: $html = str_replace('/>', '>', $html); Line 121: $html = preg_replace("!<h{$old}>([^<]+)</h{$old}>!", "<h{$new}>\$1</h{$new}>", $html); Line 124: return $html;
/sprout/Helpers/EmailText.php Highlighted file source
Line 27: * Return email text HTML Line 33: public static function getHtml($code, array $field_values) Line 49: $text = $reg->getDefaultHTML(); Line 60: $text = str_replace('{{' . $key . '}}', Enc::html($val), $text); Line 109: $update_fields['text'] = $reg->getDefaultHTML();
/sprout/Helpers/EmailText.php Highlighted file source
Line 27: * Return email text HTML Line 33: public static function getHtml($code, array $field_values) Line 49: $text = $reg->getDefaultHTML(); Line 60: $text = str_replace('{{' . $key . '}}', Enc::html($val), $text); Line 109: $update_fields['text'] = $reg->getDefaultHTML();
/sprout/Helpers/Fb.php Highlighted file source
Line 124: return '<h3>' . Enc::html($heading) . '</h3>'; Line 157: * Adds an HTML attribute to the list of attributes. Line 179: * Generates an HTML opening tag, and possibly its closing tag, depending on the params specified Line 181: * You can specify either HTML or plain-text content, but not both Line 186: * - 'html' (string): Specifies HTML content between the opening and closing tags, which MUST be Line 193: $tag = '<' . Enc::html($name); Line 198: $tag .= ' ' . Enc::html($attr) . '="' . Enc::html($val) . '"'; Line 203: if (array_key_exists('html', $params)) { Line 204: $tag .= $params['html']; Line 207: $tag .= Enc::html($params['plain']); Line 212: $tag .= '</' . Enc::html($name) . '>'; Line 220: * Generates an HTML INPUT tag using {@see Fb::tag}, with auto-determined value Line 273: * Shows a HTML5 number field Line 288: * Shows a HTML5 number field, formatted for dollar prices Line 321: * Generates a HTML5 range field Line 328: * @return string HTML with elements including INPUT and SCRIPT Line 446: $out = '<div class="fb-chunked-upload" data-opts="' . Enc::html(json_encode($opts)) . '">'; Line 492: $out .= '<input class="js-delete-notify" type="hidden" name="' . Enc::html($name) . '_deleted">'; Line 521: if (!empty($file['code'])) $out .= ' data-code="' . Enc::html($file['code']) . '"'; Line 537: $out .= '<input type="hidden" name="' . Enc::html($name) . '[]" class="original" value="' . Enc::html($file['original']) . '" data-code="' . Enc::html($file['code']) . '">'; Line 538: $out .= '<input type="hidden" name="' . Enc::html($name) . '_temp[]" class="temp" value="' . Enc::html($file['temp']) . '" data-code="' . Enc::html($file['code']) . '">'; Line 548: * Renders a HTML5 email field Line 563: * Renders a HTML5 phone number field (type=tel) Line 585: * @return string HTML Line 605: * @return string HTML Line 631: $out = '<span class="' . Enc::html($classes) . '" data-filter="' . $options['filter'] . '"'; Line 632: $out .= ' data-init="false" data-filename="' . Enc::html($filename) . '" data-req-category="' . Enc::html($options['req_category']) . '">'; Line 634: $out .= '<input class="fs-hidden" type="hidden" name="' . Enc::html($name) . '" value="' . Enc::html($value) . '">'; Line 641: $out .= '<img src="' . Enc::html(File::resizeUrl($value, 'c50x50')) . '" alt="">'; Line 647: $out .= ($value ? Enc::html($value) : 'No file selected'); Line 668: * @return string HTML containing a TEXTAREA element and an associated SCRIPT element which to converts it Line 742: $field .= Enc::html(self::$dropdown_top) . '</option>'; Line 757: * Returns HTML for a list of OPTIONs, and depending on the input array, OPTGROUP tags. Line 767: $val_enc = Enc::html($val); Line 775: $label = Enc::html($label); Line 792: * Returns HTML for an autocomplete selection menu. Line 873: * @return string A HTML INPUT element and associated SCRIPT element Line 901: * Returns HTML for a bunch of radiobuttons Line 907: * @return string HTML containing DIV tags containing INPUT and LABEL tags. Line 930: $content .= Enc::html($label); Line 940: * Returns HTML containing multiple boolean checkboxes Line 946: * @return string HTML containing DIV tags containing INPUT and LABEL tags. Line 962: * Returns HTML containing multiple checkboxes, with values to store in a SET column or similar Line 969: * @return string HTML containing DIV tags containing INPUT and LABEL tags. Line 988: $name = Enc::html($name); Line 999: * Returns the HTML for a single checkbox Line 1004: * @param string $label The label for the checkbox; supports minimal HTML, {@see Text::limitedSubsetHtml} Line 1029: $out .= Text::limitedSubsetHtml($label); Line 1046: * @return string HTML Line 1068: * @return string HTML Line 1091: $field .= Enc::html(self::$dropdown_top) . '</option>'; Line 1114: * @return string HTML Line 1119: $name = Enc::html($node['name']); Line 1138: * Renders HTML containing a date selection UI. Output field value is in YYYY-MM-DD Line 1148: * @return string HTML Line 1199: * @return string The rendered HTML Line 1249: * @return string The rendered HTML Line 1304: * @return string The rendered HTML Line 1350: * @return string HTML Line 1369: $out = "<span id=\"{$id}_wrap\" class=\"fb-timepicker\" data-config=\"" . Enc::html(json_encode($params)) . "\">"; Line 1377: $out .= "<input type=\"hidden\" name=\"{$name}\" value=\"" . Enc::html($value) . "\" class=\"hid\">"; Line 1385: * Renders HTML containing a date-time selection UI. Output field value is in YYYY-MM-DD HH:MM:SS Line 1396: * @return string HTML Line 1423: * Renders HTML containing a total selector UI. Output field value for the total is in Line 1436: * 'helptext' Additional helptext for the field, optional, limited subset html Line 1439: * @return string HTML Line 1477: $out .= '<label for="' . Enc::html($sub_attrs['id']) .'">' . Enc::html($val['label']) . '</label>' . PHP_EOL; Line 1479: $out .= '<div class="field-helper">' . Text::limitedSubsetHtml($val['helptext']) . '</div>' . PHP_EOL; Line 1498: * Uses the HTML5 'color' input type, and loads a JS fallback (spectrum) Line 1524: * @return string HTML Line 1564: * strings containing HTML for the fields; the op field should be Line 1571: * @return string HTML Line 1605: * @return string HTML Line 1645: * @return string HTML Line 1712: * @return string HTML Line 1766: * @return string Possibly a LABEL element, or otherwise HTML text Line 1770: if ($id === false) return Enc::html($title); Line 1777: return '<label for="' . Enc::html(self::$field_id) . '">' . Enc::html($title) . '</label>'; Line 1790: $key = Enc::html($key); Line 1791: $val = Enc::html($val);
/sprout/Helpers/Fb.php Highlighted file source
Line 124: return '<h3>' . Enc::html($heading) . '</h3>'; Line 157: * Adds an HTML attribute to the list of attributes. Line 179: * Generates an HTML opening tag, and possibly its closing tag, depending on the params specified Line 181: * You can specify either HTML or plain-text content, but not both Line 186: * - 'html' (string): Specifies HTML content between the opening and closing tags, which MUST be Line 193: $tag = '<' . Enc::html($name); Line 198: $tag .= ' ' . Enc::html($attr) . '="' . Enc::html($val) . '"'; Line 203: if (array_key_exists('html', $params)) { Line 204: $tag .= $params['html']; Line 207: $tag .= Enc::html($params['plain']); Line 212: $tag .= '</' . Enc::html($name) . '>'; Line 220: * Generates an HTML INPUT tag using {@see Fb::tag}, with auto-determined value Line 273: * Shows a HTML5 number field Line 288: * Shows a HTML5 number field, formatted for dollar prices Line 321: * Generates a HTML5 range field Line 328: * @return string HTML with elements including INPUT and SCRIPT Line 446: $out = '<div class="fb-chunked-upload" data-opts="' . Enc::html(json_encode($opts)) . '">'; Line 492: $out .= '<input class="js-delete-notify" type="hidden" name="' . Enc::html($name) . '_deleted">'; Line 521: if (!empty($file['code'])) $out .= ' data-code="' . Enc::html($file['code']) . '"'; Line 537: $out .= '<input type="hidden" name="' . Enc::html($name) . '[]" class="original" value="' . Enc::html($file['original']) . '" data-code="' . Enc::html($file['code']) . '">'; Line 538: $out .= '<input type="hidden" name="' . Enc::html($name) . '_temp[]" class="temp" value="' . Enc::html($file['temp']) . '" data-code="' . Enc::html($file['code']) . '">'; Line 548: * Renders a HTML5 email field Line 563: * Renders a HTML5 phone number field (type=tel) Line 585: * @return string HTML Line 605: * @return string HTML Line 631: $out = '<span class="' . Enc::html($classes) . '" data-filter="' . $options['filter'] . '"'; Line 632: $out .= ' data-init="false" data-filename="' . Enc::html($filename) . '" data-req-category="' . Enc::html($options['req_category']) . '">'; Line 634: $out .= '<input class="fs-hidden" type="hidden" name="' . Enc::html($name) . '" value="' . Enc::html($value) . '">'; Line 641: $out .= '<img src="' . Enc::html(File::resizeUrl($value, 'c50x50')) . '" alt="">'; Line 647: $out .= ($value ? Enc::html($value) : 'No file selected'); Line 668: * @return string HTML containing a TEXTAREA element and an associated SCRIPT element which to converts it Line 742: $field .= Enc::html(self::$dropdown_top) . '</option>'; Line 757: * Returns HTML for a list of OPTIONs, and depending on the input array, OPTGROUP tags. Line 767: $val_enc = Enc::html($val); Line 775: $label = Enc::html($label); Line 792: * Returns HTML for an autocomplete selection menu. Line 873: * @return string A HTML INPUT element and associated SCRIPT element Line 901: * Returns HTML for a bunch of radiobuttons Line 907: * @return string HTML containing DIV tags containing INPUT and LABEL tags. Line 930: $content .= Enc::html($label); Line 940: * Returns HTML containing multiple boolean checkboxes Line 946: * @return string HTML containing DIV tags containing INPUT and LABEL tags. Line 962: * Returns HTML containing multiple checkboxes, with values to store in a SET column or similar Line 969: * @return string HTML containing DIV tags containing INPUT and LABEL tags. Line 988: $name = Enc::html($name); Line 999: * Returns the HTML for a single checkbox Line 1004: * @param string $label The label for the checkbox; supports minimal HTML, {@see Text::limitedSubsetHtml} Line 1029: $out .= Text::limitedSubsetHtml($label); Line 1046: * @return string HTML Line 1068: * @return string HTML Line 1091: $field .= Enc::html(self::$dropdown_top) . '</option>'; Line 1114: * @return string HTML Line 1119: $name = Enc::html($node['name']); Line 1138: * Renders HTML containing a date selection UI. Output field value is in YYYY-MM-DD Line 1148: * @return string HTML Line 1199: * @return string The rendered HTML Line 1249: * @return string The rendered HTML Line 1304: * @return string The rendered HTML Line 1350: * @return string HTML Line 1369: $out = "<span id=\"{$id}_wrap\" class=\"fb-timepicker\" data-config=\"" . Enc::html(json_encode($params)) . "\">"; Line 1377: $out .= "<input type=\"hidden\" name=\"{$name}\" value=\"" . Enc::html($value) . "\" class=\"hid\">"; Line 1385: * Renders HTML containing a date-time selection UI. Output field value is in YYYY-MM-DD HH:MM:SS Line 1396: * @return string HTML Line 1423: * Renders HTML containing a total selector UI. Output field value for the total is in Line 1436: * 'helptext' Additional helptext for the field, optional, limited subset html Line 1439: * @return string HTML Line 1477: $out .= '<label for="' . Enc::html($sub_attrs['id']) .'">' . Enc::html($val['label']) . '</label>' . PHP_EOL; Line 1479: $out .= '<div class="field-helper">' . Text::limitedSubsetHtml($val['helptext']) . '</div>' . PHP_EOL; Line 1498: * Uses the HTML5 'color' input type, and loads a JS fallback (spectrum) Line 1524: * @return string HTML Line 1564: * strings containing HTML for the fields; the op field should be Line 1571: * @return string HTML Line 1605: * @return string HTML Line 1645: * @return string HTML Line 1712: * @return string HTML Line 1766: * @return string Possibly a LABEL element, or otherwise HTML text Line 1770: if ($id === false) return Enc::html($title); Line 1777: return '<label for="' . Enc::html(self::$field_id) . '">' . Enc::html($title) . '</label>'; Line 1790: $key = Enc::html($key); Line 1791: $val = Enc::html($val);
/sprout/Helpers/Form.php Highlighted file source
Line 24: * Wraps form fields (e.g. from {@see Fb}) with additional HTML. Line 231: * Both the label and helptext support a subset of HTML, {@see Text::limitedSubsetHtml} for more details Line 233: * @param string $label Human label for the field (e.g. 'Email address'). Some HTML allowed Line 235: * @param string $helptext Optional HTML helptext Line 239: self::$next_label = Text::limitedSubsetHtml($label); Line 241: self::$next_helptext = Text::limitedSubsetHtml($helptext); Line 251: * @return string HTML-safe name for use in a CSS class Line 325: * Return HTML for a 'plain' field, i.e. one which doesn't require a FIELDSET wrapped around it. Line 350: * @return string HTML Line 381: $out = '<div class="' . Enc::html($classes) . '">'; Line 387: $field_html = call_user_func($method, $name, $attrs, $options); Line 391: $has_id_attr = (strpos($field_html, 'id="' . $attrs['id'] . '"') !== false); Line 397: $out .= '<label for="' . Enc::html($attrs['id']) . '">'; Line 414: $out .= $field_html; Line 422: $out .= '<li class="field-error__list__item">' . Enc::html($err) . '</li>'; Line 438: * Return HTML for a field wrapped in a FIELDSET Line 452: * @return string HTML Line 489: $out = '<div class="' . Enc::html($classes) . '">'; Line 518: $out .= '<li class="field-error__list__item">' . Enc::html($err) . '</li>'; Line 534: * Return HTML for a field, with the wrapping HTML detected automatically. Line 542: * @return string HTML Line 570: * @return string HTML Line 594: * Return HTML which has been wrapped in the form field DIVs Line 596: * @param string $html Content to wrap in the field Line 597: * @return string HTML Line 599: public static function html($html) Line 601: return static::fieldPlain('Sprout\Helpers\Form::passString', $html); Line 606: * Return content which has been HTML-encoded and wrapped in the form field DIVs Line 609: * @return string HTML Line 613: return static::fieldPlain('Sprout\Helpers\Form::passString', Enc::html($plain)); Line 618: * Returns HTML for a text field, using {@see Fb::text} to generate the field itself Line 622: * @return string HTML Line 631: * Returns HTML for a number field, using {@see Fb::number} to generate the field itself Line 635: * @return string HTML Line 644: * Returns HTML for a money field, using {@see Fb::money} to generate the field itself Line 648: * @return string HTML Line 658: * Returns HTML for a password field, using {@see Fb::password} to generate the field itself Line 662: * @return string HTML Line 671: * Returns HTML for a bunch of radiobuttons, using {@see Fb::multiradio} to generate the fields Line 675: * @return string HTML Line 684: * Returns HTML for a list of checkboxes, applying name conversions along the way Line 690: * @return string HTML Line 706: * Returns HTML for an auto-complete list of records Line 721: * @return string HTML Line 746: $el = Enc::html($el); Line 750: $val = Enc::html($val); Line 756: $out .= '<div class="autofill-heading"><label for="' . $search_field_id . '">' . Enc::html($search_label) . '</label></div>'; Line 773: $out .= '<li class="field-error__list__item">' . Enc::html($err) . '</li>';
/sprout/Helpers/Html.php Highlighted file source
Line 20: * Helper functions for outputting HTML elements. Line 22: class Html Line 29: * Create HTML link anchors. Line 33: * @param array HTML anchor attributes Line 55: if (Html::$windowed_urls === TRUE AND empty($attributes['target'])) Line 65: '<a href="'.Enc::html($site_url).'"' Line 67: .(is_array($attributes) ? Html::attributes($attributes) : '').'>' Line 69: .($escape_title ? Enc::html((($title === NULL) ? $site_url : $title), FALSE) : (($title === NULL) ? $site_url : $title)).'</a>'; Line 85: // HTML entity code Line 102: * @param array HTML anchor attributes Line 126: $safe = Html::email($email); Line 132: empty($attributes) or $attributes = Html::attributes($attributes); Line 161: $compiled .= Html::link($_href, $_rel, $_type, $suffix, $_media, $index); Line 193: $compiled = '<link'.Html::attributes($attr).' />'; Line 214: $compiled .= Html::script($name, $index); Line 266: return '<img'.Html::attributes($attributes).' />'; Line 270: * Compiles an array of HTML attributes into an attribute string. Line 286: $compiled .= ' '.Enc::html($key).'="'.Enc::html($val).'"'; Line 292: } // End html
/sprout/Helpers/Itemlist.php Highlighted file source
Line 22: * Used to generate HTML for a table of database records. Line 76: $val = "<table class=\"" . Enc::html($this->table_class) . "\">\n"; Line 158: $val .= '<tr class="' . Enc::html($classes) . '">'; Line 187: $url = Enc::html($url); Line 208: $name = Enc::html($name); Line 209: $url = Enc::html($url); Line 210: $class = Enc::html(trim($this->actions_classes . ' ' . $details['classes'])); Line 250: $value = Enc::html($value); Line 329: * The return value should be HTML with the links Line 364: * @param string $Value Value to output for this column; this will be HTML-encoded on output Line 433: * and must return a string of HTML Line 435: * The Closure result supports a subset of HTML, {@see Text::limitedSubsetHtml} for more details Line 447: return str_replace("\n", '<br>', Enc::html($defn[0]->modify($item_data[$defn[1]], $defn[1]))); Line 451: return Text::limitedSubsetHtml($defn($item_data)); Line 454: return Enc::html($item_data[$defn]);
/sprout/Helpers/Needs.php Highlighted file source
Line 36: * @param string $need The HTML for the need. Line 70: $need = '<link' . Html::attributes($extra_attrs) . '>'; Line 86: $need = '<script' . Html::attributes($extra_attrs) . '></script>'; Line 220: $need = '<script src="' . Enc::html($url) . '" async defer></script>'; Line 255: $need = '<meta' . Html::attributes($extra_attrs) . '>'; Line 264: * Returns HTML of a snippet of JavaScript which does dynamic loading of the needs. Line 275: * @return string HTML Snippet of JavaScript Line 286: // Browsers don't require (or even work) with HTML encoding of <script> tags in HTML5. Line 287: // This is in contrast to XHTML which (as it's XML) does require encoding or CDATA. Line 320: * @return string HTML Line 342: * Does needs replacement on all of the html Line 346: // Don't do anything if the output isn't HTML Line 348: $is_html = false; Line 350: if (preg_match('#^Content-type:\s*text/html#i', $header)) { Line 351: $is_html = true; Line 355: if (!$is_html) return;
/sprout/Helpers/Needs.php Highlighted file source
Line 36: * @param string $need The HTML for the need. Line 70: $need = '<link' . Html::attributes($extra_attrs) . '>'; Line 86: $need = '<script' . Html::attributes($extra_attrs) . '></script>'; Line 220: $need = '<script src="' . Enc::html($url) . '" async defer></script>'; Line 255: $need = '<meta' . Html::attributes($extra_attrs) . '>'; Line 264: * Returns HTML of a snippet of JavaScript which does dynamic loading of the needs. Line 275: * @return string HTML Snippet of JavaScript Line 286: // Browsers don't require (or even work) with HTML encoding of <script> tags in HTML5. Line 287: // This is in contrast to XHTML which (as it's XML) does require encoding or CDATA. Line 320: * @return string HTML Line 342: * Does needs replacement on all of the html Line 346: // Don't do anything if the output isn't HTML Line 348: $is_html = false; Line 350: if (preg_match('#^Content-type:\s*text/html#i', $header)) { Line 351: $is_html = true; Line 355: if (!$is_html) return;
/sprout/Helpers/Notification.php Highlighted file source
Line 38: * @return string HTML Line 75: $anchor = Enc::html($anchor); Line 93: $popup .= '<h2 class="notification-box-msg">' . Enc::html($message[1]) . '</h2>'; Line 97: $anchor = Enc::html($anchor); Line 140: * @param string $format Either 'plain' for plain-text or 'html' for HTML which is limited to a safe subset Line 146: if ($format === 'html') { Line 147: $_SESSION['notify'][$scope][] = array(self::TYPE_CONFIRM, Text::limitedSubsetHtml($message), []); Line 149: $_SESSION['notify'][$scope][] = array(self::TYPE_CONFIRM, Enc::html($message), []); Line 158: * @param string $message_format Either 'plain' for plain-text or 'html' for HTML which is limited to a safe subset Line 164: if ($format === 'html') { Line 165: $_SESSION['notify'][$scope][] = array(self::TYPE_ERROR, Text::limitedSubsetHtml($message), []); Line 167: $_SESSION['notify'][$scope][] = array(self::TYPE_ERROR, Enc::html($message), []); Line 181: $_SESSION['notify'][$scope][] = array(self::TYPE_POPUP, Enc::html($message), $actions);
/sprout/Helpers/Notification.php Highlighted file source
Line 38: * @return string HTML Line 75: $anchor = Enc::html($anchor); Line 93: $popup .= '<h2 class="notification-box-msg">' . Enc::html($message[1]) . '</h2>'; Line 97: $anchor = Enc::html($anchor); Line 140: * @param string $format Either 'plain' for plain-text or 'html' for HTML which is limited to a safe subset Line 146: if ($format === 'html') { Line 147: $_SESSION['notify'][$scope][] = array(self::TYPE_CONFIRM, Text::limitedSubsetHtml($message), []); Line 149: $_SESSION['notify'][$scope][] = array(self::TYPE_CONFIRM, Enc::html($message), []); Line 158: * @param string $message_format Either 'plain' for plain-text or 'html' for HTML which is limited to a safe subset Line 164: if ($format === 'html') { Line 165: $_SESSION['notify'][$scope][] = array(self::TYPE_ERROR, Text::limitedSubsetHtml($message), []); Line 167: $_SESSION['notify'][$scope][] = array(self::TYPE_ERROR, Enc::html($message), []); Line 181: $_SESSION['notify'][$scope][] = array(self::TYPE_POPUP, Enc::html($message), $actions);
/sprout/Helpers/Text.php Highlighted file source
Line 84: * Limits HTML to a certain number of words. Line 89: public static function limitWordsHtml($text, $limit = 50) Line 100: // Nuke HTML comments and duplicate space Line 143: * Determines whether given HTML contains a FORM tag, which can cause nested-forms issues Line 147: * @param string $html HTML to check Line 150: public static function containsFormTag($html) Line 153: if (stripos($html, '<form') === false) { Line 158: $html = preg_replace('!<script[^>]*>.+?</script>!is', '', $html); Line 159: $html = preg_replace('!<style[^>]*>.+?</style>!is', '', $html); Line 161: return (stripos($html, '<form') !== false); Line 278: // Finds all http/https/ftp/ftps links that are not part of an existing html anchor Line 284: $text = str_replace($match, Html::anchor($match), $text); Line 294: $text = str_replace($match, Html::anchor('http://'.$match, $match), $text); Line 309: // Finds all email addresses that are not part of an existing html mailto anchor Line 310: // Note: The "58;" negative lookbehind prevents matching of existing encoded html mailto anchors Line 311: // The html entity for a colon (:) is : or : or : etc. Line 317: $text = str_replace($match, Html::mailto($match), $text); Line 343: // The following regexes only need to be executed if the string contains html Line 344: if ($html_found = (strpos($str, '<') !== FALSE)) Line 358: // The following regexes only need to be executed if the string contains html Line 359: if ($html_found !== FALSE) Line 455: * Make a chunk of valid HTML into plain text, and (optionally) limit the number of words. Line 457: * @param string $html The original HTML Line 461: public static function plain($html, $max_words = 50) Line 463: $html = Enc::cleanfunky($html); Line 466: $html = str_replace(["\r", "\n"], ' ', $html); Line 468: // Replace some HTML tags with newlines Line 469: $html = preg_replace('!<(p|div|h[1-6]|pre|ol|ul)[^>]*?>!i', "\n\n", $html); Line 470: $html = preg_replace('!<(br|li)[^>]*?>!i', "\n", $html); Line 473: $html = preg_replace('!<style[^>]*>.+?<\/style>!i', '', $html); Line 474: $html = preg_replace('!<script[^>]*>.+?<\/script>!i', '', $html); Line 477: $html = strip_tags($html); Line 478: $html = html_entity_decode($html, ENT_COMPAT, 'UTF-8'); Line 481: $html = preg_replace("![ \t][ \t]+!", ' ', $html); Line 484: $lines = explode("\n", $html); Line 488: $html = implode("\n", $lines); Line 491: $html = Text::limitWords($html, $max_words, '...'); Line 495: $html = str_replace("\u{00a0}", ' ', $html); Line 497: return trim($html); Line 502: * Make a chunk of plain text into HTML rich text Line 508: * @return string A HTML representation of the plain text Line 515: $text = Enc::html($text); Line 585: * Encode HTML so it's suitable for direct output, but allow some HTML tags to be left as-is Line 593: * @param string $html Plain text or HTML which may contain various tags Line 594: * @return string HTML which only contains safe tags Line 596: public static function limitedSubsetHtml($html) Line 604: while (preg_match('!\G(<[a-z0-9]+[^>]*>)|(</[a-z0-9]+>)|([^<>]+|<|>)!si', $html, $m, 0, $offset)) { Line 617: $out .= Enc::html($m[0]);
/sprout/sprout_load.php Highlighted file source
Line 50: Register::contentReplace('inner_html', ['Sprout\\Helpers\\ContentReplace', 'intlinks']); Line 51: Register::contentReplace('inner_html', ['Sprout\\Helpers\\ContentReplace', 'localAnchor']); Line 118: 'HtmlCode' => 'HTML code', Line 139: 'HtmlCode' => 'HTML code', Line 157: $area->addWidget('HtmlCode');
/sprout/sprout_load.php Highlighted file source
Line 50: Register::contentReplace('inner_html', ['Sprout\\Helpers\\ContentReplace', 'intlinks']); Line 51: Register::contentReplace('inner_html', ['Sprout\\Helpers\\ContentReplace', 'localAnchor']); Line 118: 'HtmlCode' => 'HTML code', Line 139: 'HtmlCode' => 'HTML code', Line 157: $area->addWidget('HtmlCode');
/sprout/tests/DocImport/docImportTest.php Highlighted file source
Line 25: * Data for testGetHtmlBasic Line 27: public function htmlBasicData() Line 39: * Basic getHtml tests Line 41: * @dataProvider htmlBasicData Line 43: public function testGetHtmlBasic($xml, $expect) Line 48: $got = DocImport::getHtml($dom); Line 55: * Data for testGetHtmlImages Line 57: public function htmlImagesData() Line 79: * Image getHtml tests Line 81: * @dataProvider htmlImagesData Line 83: public function testGetHtmlImages($xml, $expect) Line 93: $got = DocImport::getHtml($dom, $imgs); Line 100: * Data for testGetHtmlHeadings Line 102: public function htmlHeadingsData() Line 110: * Image getHtml tests Line 112: * @dataProvider htmlHeadingsData Line 114: public function testGetHtmlHeadings($xml, $expect) Line 123: $got = DocImport::getHtml($dom, array(), $headings);
/sprout/tests/DocImport/docImportTest.php Highlighted file source
Line 25: * Data for testGetHtmlBasic Line 27: public function htmlBasicData() Line 39: * Basic getHtml tests Line 41: * @dataProvider htmlBasicData Line 43: public function testGetHtmlBasic($xml, $expect) Line 48: $got = DocImport::getHtml($dom); Line 55: * Data for testGetHtmlImages Line 57: public function htmlImagesData() Line 79: * Image getHtml tests Line 81: * @dataProvider htmlImagesData Line 83: public function testGetHtmlImages($xml, $expect) Line 93: $got = DocImport::getHtml($dom, $imgs); Line 100: * Data for testGetHtmlHeadings Line 102: public function htmlHeadingsData() Line 110: * Image getHtml tests Line 112: * @dataProvider htmlHeadingsData Line 114: public function testGetHtmlHeadings($xml, $expect) Line 123: $got = DocImport::getHtml($dom, array(), $headings);
/sprout/tests/encHelperTest.php Highlighted file source
Line 60: public function testHtml() Line 62: $this->assertEquals(Enc::html('a'), 'a'); Line 63: $this->assertEquals(Enc::html('&'), '&'); Line 64: $this->assertEquals(Enc::html('"'), '"'); Line 65: $this->assertEquals(Enc::html('>'), '>'); Line 66: $this->assertEquals(Enc::html('<'), '<'); Line 67: $this->assertEquals(Enc::html('ê'), 'ê'); Line 68: $this->assertEquals(Enc::html("\0"), ''); Line 69: $this->assertEquals(Enc::html("\x1A"), ''); Line 70: $this->assertEquals(Enc::html(array()), ''); Line 72: $this->assertEquals('&amp;', Enc::html('&')); Line 73: $this->assertEquals('&quot;', Enc::html('"')); Line 74: $this->assertEquals('&gt;', Enc::html('>')); Line 75: $this->assertEquals('&lt;', Enc::html('<')); Line 78: public function htmlNoDup() Line 80: $this->assertEquals(Enc::htmlNoDup('a'), 'a'); Line 81: $this->assertEquals(Enc::htmlNoDup('&'), '&'); Line 82: $this->assertEquals(Enc::htmlNoDup('"'), '"'); Line 83: $this->assertEquals(Enc::htmlNoDup('>'), '>'); Line 84: $this->assertEquals(Enc::htmlNoDup('<'), '<'); Line 85: $this->assertEquals(Enc::htmlNoDup('ê'), 'ê'); Line 86: $this->assertEquals(Enc::htmlNoDup("\0"), ''); Line 87: $this->assertEquals(Enc::htmlNoDup("\x1A"), ''); Line 88: $this->assertEquals(Enc::htmlNoDup(array()), ''); Line 90: $this->assertEquals('&', Enc::htmlNoDup('&')); Line 91: $this->assertEquals('"', Enc::htmlNoDup('"')); Line 92: $this->assertEquals('>', Enc::htmlNoDup('>')); Line 93: $this->assertEquals('<', Enc::htmlNoDup('<'));
/sprout/tests/encHelperTest.php Highlighted file source
Line 60: public function testHtml() Line 62: $this->assertEquals(Enc::html('a'), 'a'); Line 63: $this->assertEquals(Enc::html('&'), '&'); Line 64: $this->assertEquals(Enc::html('"'), '"'); Line 65: $this->assertEquals(Enc::html('>'), '>'); Line 66: $this->assertEquals(Enc::html('<'), '<'); Line 67: $this->assertEquals(Enc::html('ê'), 'ê'); Line 68: $this->assertEquals(Enc::html("\0"), ''); Line 69: $this->assertEquals(Enc::html("\x1A"), ''); Line 70: $this->assertEquals(Enc::html(array()), ''); Line 72: $this->assertEquals('&amp;', Enc::html('&')); Line 73: $this->assertEquals('&quot;', Enc::html('"')); Line 74: $this->assertEquals('&gt;', Enc::html('>')); Line 75: $this->assertEquals('&lt;', Enc::html('<')); Line 78: public function htmlNoDup() Line 80: $this->assertEquals(Enc::htmlNoDup('a'), 'a'); Line 81: $this->assertEquals(Enc::htmlNoDup('&'), '&'); Line 82: $this->assertEquals(Enc::htmlNoDup('"'), '"'); Line 83: $this->assertEquals(Enc::htmlNoDup('>'), '>'); Line 84: $this->assertEquals(Enc::htmlNoDup('<'), '<'); Line 85: $this->assertEquals(Enc::htmlNoDup('ê'), 'ê'); Line 86: $this->assertEquals(Enc::htmlNoDup("\0"), ''); Line 87: $this->assertEquals(Enc::htmlNoDup("\x1A"), ''); Line 88: $this->assertEquals(Enc::htmlNoDup(array()), ''); Line 90: $this->assertEquals('&', Enc::htmlNoDup('&')); Line 91: $this->assertEquals('"', Enc::htmlNoDup('"')); Line 92: $this->assertEquals('>', Enc::htmlNoDup('>')); Line 93: $this->assertEquals('<', Enc::htmlNoDup('<'));
/sprout/tests/textTest.php Highlighted file source
Line 20: public function dataLimitWordsHtml() Line 82: * @dataProvider dataLimitWordsHtml Line 84: public function testLimitWordsHtml($html, $limit, $expect) Line 86: $out = Text::limitWordsHtml($html, $limit); Line 205: public function testPlain($html, $limit, $expect) Line 207: $out = Text::plain($html, $limit); Line 342: public function dataLimitedSubsetHtml() Line 361: * @dataProvider dataLimitedSubsetHtml Line 363: public function testLimitedSubsetHtml($in, $expect) Line 365: $this->assertEquals($expect, Text::limitedSubsetHtml($in));
/sprout/tests/textTest.php Highlighted file source
Line 20: public function dataLimitWordsHtml() Line 82: * @dataProvider dataLimitWordsHtml Line 84: public function testLimitWordsHtml($html, $limit, $expect) Line 86: $out = Text::limitWordsHtml($html, $limit); Line 205: public function testPlain($html, $limit, $expect) Line 207: $out = Text::plain($html, $limit); Line 342: public function dataLimitedSubsetHtml() Line 361: * @dataProvider dataLimitedSubsetHtml Line 363: public function testLimitedSubsetHtml($in, $expect) Line 365: $this->assertEquals($expect, Text::limitedSubsetHtml($in));
/sprout/views/dbtools/overview.php Highlighted file source
Line 16: <h3><?= Enc::html($section); ?></h3> Line 21: <a href="<?= Enc::html($tool['url']); ?>" class="<?= Enc::html($base_class . (++$index % 4 === 0 ? ' column-last' : '')); ?>"> Line 22: <h4><?= Enc::html($tool['name']); ?></h4> Line 23: <p><?= Text::limitedSubsetHtml($tool['desc']); ?></p>
/sprout/views/dbtools/overview.php Highlighted file source
Line 16: <h3><?= Enc::html($section); ?></h3> Line 21: <a href="<?= Enc::html($tool['url']); ?>" class="<?= Enc::html($base_class . (++$index % 4 === 0 ? ' column-last' : '')); ?>"> Line 22: <h4><?= Enc::html($tool['name']); ?></h4> Line 23: <p><?= Text::limitedSubsetHtml($tool['desc']); ?></p>
A total of 748 lines in 44 files were found
|