<?xml version="1.0" encoding="utf-8"?>
<system_templates>
	<template>
		<key>emailWrapper</key>
		<params>
			<param>$content</param>
			<param>$unsubscribe</param>
			<param>$settings = array()</param>
		</params>
		<content><![CDATA[<!DOCTYPE html> 
  <html lang="en"> 
  <head> 
    <meta charset="{$settings['gb_char_set']}" /> 
    <title><#subject#></title> 
    <style type="text/css"> 
      body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }  
      fieldset,img { border:0; } 
      address,caption,cite,code,dfn,th,var { font-style:normal; font-weight:normal; } 
      ol,ul { list-style:none; } 
      caption,th { text-align:left; } 
      h1,h2,h3,h4,h5,h6 { font-size:100%;  font-weight:normal; } 
      q:before,q:after { content:''; } 
      abbr,acronym { border:0; } 
      address{ display: inline; } 
       
      body { 
        font: normal 13px helvetica, arial, sans-serif; 
        position: relative; 
        background: #EBF0F3; 
        padding: 18px;  
      } 
       
      h3, strong { font-weight: bold; } 
      em { font-style: italic; } 
      img, .input_check, .input_radio { vertical-align: middle; } 
      legend { display: none; } 
     
      a { 
         
        text-decoration: none; 
      } 
       
      a:hover { color: #328586; } 
       
      div.outer { margin: 0 auto; border: 1px solid #CAD3DE; border-radius: 4px;moz-border-radius: 4px;webkit-border-radius: 4px; background: #fff; padding-bottom:6px } 
   
      h1.main { 
        font-family: "Lucida Grande", "Lucida Sans Unicode", "Helvetica"; 
        font-size:24px; 
        padding-bottom: 2px; 
        background-color: #D8DDE8; 
        padding: 8px 15px 2px 15px; 
        border-bottom: 1px solid #CAD3DE;   
      } 
         
      .content { 
        font-size: 12px !important; 
        color: #333 !important; 
        line-height: 120% !important; 
        padding: 15px 15px 0px 15px; 
      } 
       
      .content .callout { 
        background-color: #F7FBFC; 
        border: 1px solid #EBF0F3; border-radius: 4px;moz-border-radius: 4px;webkit-border-radius: 4px; 
        padding: 8px; 
        margin: 10px 0px 5px 0px; 
      } 
       
       .content .ipsBlockquote {  
        font-style: italic; 
        background-color: #efefef; 
        border: 1px solid #EBF0F3; border-radius: 4px;moz-border-radius: 4px;webkit-border-radius: 4px; 
        padding: 8px; 
        margin: 10px 0px 5px 0px; 
      }
      
      /* deprecated, leaving for backwards compatibility */
      .content .eQuote {  
        font-style: italic; 
        background-color: #efefef; 
        border: 1px solid #EBF0F3; border-radius: 4px;moz-border-radius: 4px;webkit-border-radius: 4px; 
        padding: 8px; 
        margin: 10px 0px 5px 0px; 
      } 
       
      .content .callout hr, .content .unsub hr { display: none; } 
       
      .content .unsub { color: #555; font-size: 11px; border-top: 1px solid #CAD3DE; padding-top:6px } 
       
      .footer { color: #444; font-size: 11px; padding:8px; text-align: center } 
       
      hr { display: block; 
         position: relative; 
         padding: 0; 
         margin: 8px auto; 
         width: 100%; 
         clear: both; 
         border: none; 
         border-top: 1px solid #CAD3DE; 
         border-bottom: 1px solid #FFF; 
         font-size: 1px; 
         line-height: 0; 
         overflow: visible; } 
          
      table.ipb_table { 
        line-height: 1.3; 
        border-collapse: collapse; 
      } 
        table.ipb_table td { 
          padding: 10px; 
          border-bottom: 1px solid #f3f3f3; 
        } 
           
          table.ipb_table tr.unread h4 { font-weight: bold; } 
          table.ipb_table tr.highlighted td { border-bottom: 0; } 
         
        table.ipb_table th { 
          font-size: 11px; 
          font-weight: bold; 
          padding: 8px 6px; 
        } 
         
      .last_post { margin-left: 45px; } 
       
      table.ipb_table h4, 
      table.ipb_table .topic_title { 
        font-size: 14px; 
        display: inline-block; 
      } 
       
      table.ipb_table  .unread .topic_title { font-weight: bold; } 
      table.ipb_table .ipsModMenu { visibility: hidden; } 
      table.ipb_table tr:hover .ipsModMenu, table.ipb_table tr .ipsModMenu.menu_active { visibility: visible; } 
 
    </style> 
 
  </head> 
  <body> 
  <div class='outer'> 
    <h1 class='main'>{$settings['board_name']}</h1> 
    <div class='content'> 
      {$content} 
      <div class='footer'> 
        <a href='{$settings['board_url']}'>{$settings['board_name']}</a>{$unsubscribe} 
      </div> 
    </div> 
  </div> 
  </body> 
</html>
]]></content>
	</template>
	<template>
		<key>ipsDriverError</key>
		<params>
			<param>$name = ''</param>
			<param>$errorMessage = ''</param>
			<param>$errorBlock = ''</param>
			<param>$settings = array()</param>
		</params>
		<content><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Cache-Control" content="no-cache" />
		<meta http-equiv="Expires" content="Fri, 01 January 1999 01:00:00 GMT" />
		<title>{$name} Driver Error</title>
		<style type='text/css'>
			body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; } 
			table {	border-collapse:collapse; border-spacing:0; }
			fieldset,img { border:0; }
			address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
			ol,ul { list-style:none; }
			caption,th { text-align:left; }
			h1,h2,h3,h4,h5,h6 { font-size:100%;	font-weight:normal; }
			q:before,q:after { content:''; }
			abbr,acronym { border:0; }
			hr { display: none; }
			address{ display: inline; }
			body {
				font-family: arial, tahoma, sans-serif;
				font-size: 0.8em;
				width: 100%;
			}
			
			h1 {
				font-family: arial, tahoma, "times new roman", serif;
				font-size: 1.9em;
				color: #fff;
			}
			h2 {
				font-size: 1.6em;
				font-weight: normal;
				margin: 0 0 8px 0;
				clear: both;
			}
			a {
				color: #3e70a8;
			}
			
				a:hover {
					color: #3d8ce4;
				}
				
				a.cancel {
					color: #ad2930;
				}
			#branding {
				background: #484848;
				padding: 8px;
			}
			
			#content {
				clear: both;
				overflow: hidden;
				padding: 20px 15px 0px 15px;
			}
			
			* #content {
				height: 1%;
			}
			
			.message {
				border-width: 1px;
				border-style: solid;
				border-color: #d7d7d7;
				background-color: #f5f5f5;
				padding: 7px 7px 7px 30px;
				margin: 0 0 10px 0;
				clear: both;
			}
			
				.message.error {
					background-color: #f3dddd;
					border-color: #deb7b7;
					color: #281b1b;
					font-size: 1.3em;
					font-weight: bold;
				}
				
				.message.unspecific {
					background-color: #f3f3f3;
					border-color: #d4d4d4;
					color: #515151;
				}
			.footer {
				text-align: center;
				font-size: 1.5em;
			}
			
			.database-error {
				padding: 4px 0px 10px 80px;
				margin: 10px 0px 10px 0px;
			}
			
			textarea {
				width: 700px;
				height: 250px;
			}

			ul {
				list-style: disc outside;
				list-style-type: circle;
				margin: 12px 0 12px 40px; 
			}

			ol {
				margin: 12px 0 12px 40px !important;
				list-style-type: decimal !important;
			}
			
		</style>
	</head>
	<body id='ipboard_body'>
		<div id='header'>
			<div id='branding'>
				<h1>{$name} Driver Error</h1>
			</div>
		</div>
		<div id='content'>
			<div class='message error'>
				There appears to be an error with the database.
				{$errorBlock}
			</div>
			
			<p class='message unspecific'>
				If you are seeing this page, it means there was a problem communicating with our database.  Sometimes this error is temporary and will go away when you refresh the page.  Sometimes the error will need to be fixed by an administrator before the site will become accessible again.
				<br /><br />
				You can try to refresh the page by clicking <a href="#" onclick="window.location=window.location; return false;">here</a>
			</p>
			<p class='message unspecific footer'>
				&larr; <a href='{$settings['board_url']}' title='Go to home page'>Return to the index</a>
			</p>
		</div>
	</body>
</html>
]]></content>
	</template>
	<template>
		<key>ipsServerError</key>
		<params>
			<param>$name = ''</param>
			<param>$errorMessage = ''</param>
			<param>$errorBlock = ''</param>
			<param>$settings = array()</param>
		</params>
		<content><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Cache-Control" content="no-cache" />
		<meta http-equiv="Expires" content="Fri, 01 January 1999 01:00:00 GMT" />
		<title>{$name} Driver Server Level Error</title>
		<style type='text/css'>
			body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; } 
			table {	border-collapse:collapse; border-spacing:0; }
			fieldset,img { border:0; }
			address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
			ol,ul { list-style:none; }
			caption,th { text-align:left; }
			h1,h2,h3,h4,h5,h6 { font-size:100%;	font-weight:normal; }
			q:before,q:after { content:''; }
			abbr,acronym { border:0; }
			hr { display: none; }
			address{ display: inline; }
			body {
				font-family: arial, tahoma, sans-serif;
				font-size: 0.8em;
				width: 100%;
			}
			
			h1 {
				font-family: arial, tahoma, "times new roman", serif;
				font-size: 1.9em;
				color: #fff;
			}
			h2 {
				font-size: 1.6em;
				font-weight: normal;
				margin: 0 0 8px 0;
				clear: both;
			}
			a {
				color: #3e70a8;
			}
			
				a:hover {
					color: #3d8ce4;
				}
				
				a.cancel {
					color: #ad2930;
				}
			#branding {
				background: #484848;
				padding: 8px;
			}
			
			#content {
				clear: both;
				overflow: hidden;
				padding: 20px 15px 0px 15px;
			}
			
			* #content {
				height: 1%;
			}
			
			.message {
				border-width: 1px;
				border-style: solid;
				border-color: #d7d7d7;
				background-color: #f5f5f5;
				padding: 7px 30px 7px 30px;
				margin: 0 0 10px 0;
				clear: both;
			}
			
				.message.error {
					background-color: #f5bbbb;
					border-color: #deb7b7;
					color: #281b1b;
					font-size: 1.3em;
					font-weight: bold;
				}
				
				.message.error p.desc {
					font-size: 0.8em;
					font-weight: normal;
				}
				
				.message.unspecific {
					background-color: #f3f3f3;
					border-color: #d4d4d4;
					color: #515151;
					font-size: 14px;
					font-weight: normal;
					line-height: 150%;
				}
			.footer {
				text-align: center;
				font-size: 1.5em;
			}
		</style>
	</head>
	<body id='ipboard_body'>
		<div id='header'>
			<div id='branding'>
				<h1>SQL Error</h1>
			</div>
		</div>
		<div id='content'>
			<div class='message error'>
				An error occured with the SQL server:
				<p class='message unspecific'>{$errorMessage}</p>
				<p class='desc'>
					This is not a problem with the IPS Community Suite but rather with your SQL server. Please contact your host and copy the message shown above.
				</p>
			</div>
			
			<p class='message unspecific footer'>
				&larr; <a href='{$settings['board_url']}' title='Go to home page'>Return to the index</a>
			</p>
		</div>
	</body>
</html>
]]></content>
	</template>
</system_templates>