/**
  * Render runtime notices div#notices
  *
  * @param Notices $notices
  * @param array $options
  * @return string
  *
  */
 public function renderAdminNotices($notices, array $options = array())
 {
     $options['messageIcon'] = 'check-circle';
     $options['itemMarkup'] = "\n\t\t<li class='{class}'>{remove}<i class='fa fa-{icon}'></i> {text}</li>";
     return parent::renderAdminNotices($notices, $options);
 }
Beispiel #2
0
 * 
 * 
 */
if (!defined("PROCESSWIRE")) {
    die;
}
if (!isset($content)) {
    $content = '';
}
$searchForm = $user->hasPermission('page-edit') ? $modules->get('ProcessPageSearch')->renderSearchForm() : '';
$config->styles->prepend($config->urls->adminTemplates . "styles/" . ($adminTheme->colors ? "main-{$adminTheme->colors}" : "main") . ".css?v=7");
$config->styles->append($config->urls->root . "wire/templates-admin/styles/font-awesome/css/font-awesome.min.css");
$config->scripts->append($config->urls->root . "wire/templates-admin/scripts/inputfields.js?v=5");
$config->scripts->append($config->urls->adminTemplates . "scripts/main.js?v=5");
require_once dirname(__FILE__) . "/AdminThemeDefaultHelpers.php";
$helpers = new AdminThemeDefaultHelpers();
?>
<!DOCTYPE html>
<html lang="<?php 
echo $helpers->_('en');
/* this intentionally on a separate line */
?>
">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">

	<title><?php 
echo $helpers->renderBrowserTitle();