From: <mar...@us...> - 2009-08-15 18:13:30
|
Revision: 20855 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=20855&view=rev Author: marclaporte Date: 2009-08-15 18:13:22 +0000 (Sat, 15 Aug 2009) Log Message: ----------- [FIX] Make the new database error message look more like the old one. The database error message should have been a template since day one to avoid proliferation of html in the code. Feel free to improve the design as this was just a quick fix Modified Paths: -------------- trunk/templates/database-connection-error.tpl Modified: trunk/templates/database-connection-error.tpl =================================================================== --- trunk/templates/database-connection-error.tpl 2009-08-15 18:11:25 UTC (rev 20854) +++ trunk/templates/database-connection-error.tpl 2009-08-15 18:13:22 UTC (rev 20855) @@ -3,37 +3,56 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>{tr}Error: Unable to connect to the database !{/tr}</title> - <link rel="stylesheet" href="styles/thenews.css" type="text/css"> + <link rel="stylesheet" href="styles/strasa.css" type="text/css"/> + <style type="text/css" media="screen"> + html { + background-color: #fff; + } + #centercolumn { + padding: 4em 10em; + } + </style> </head> -<body > +<body class="tiki_wiki" style="text-align: center;"> + <div id="siteheader"> + <div id="sitelogo" style="text-align: center; padding-left: 70px;"> + <img style="border: medium none ;" alt="Site Logo" src="img/tiki/tiki3.png" /> + </div> + </div> + <div id="tiki-main"> <div id="tiki-mid"> <div style="margin:10px 30px;"> <h1> - <font color="red">{tr}TikiWiki is unable to connect to the database.{/tr}</font> - <a title="help" href="http://doc.tikiwiki.org/Installation" target="help"><img border="0" src="img/icons/help.gif" alt="Help" /></a> + {tr}TikiWiki CMS/Groupware is unable to connect to the database.{/tr} </h1> - <p>{tr}The following error message was returned:{/tr}</p> - <div class="simplebox"> - {$msg|escape} - </div> - <p>{tr}Things to check:{/tr}</p> - <ul> - <li>{tr}Is your database up and running?{/tr}</li> - <li>{tr}Are your database login credentials correct?{/tr}</li> - <li>{tr}Did you complete the <a href="tiki-install.php">Tiki Installer</a>?{/tr}</li> - </ul> - <p>{tr}Please see <a href="http://doc.tikiwiki.org/">the documentation</a> for more information.{/tr}</p> -</div> + <p>{tr}The following error message was returned:{/tr}</p> + <strong> + {$msg|escape} + </strong> + + <div class="wikitext" style="border: solid 1px #ccc; margin: 1em auto; padding: 1em; text-align: left; width: 30%;"> + <p>Things to check:</p> + <ol class="fancylist"> + <li><p>Is your database up and running?</p></li> + <li><p>Are your database login credentials correct?</p></li> + <li><p>Did you complete the <a href="tiki-install.php"> Tiki Installer?</a></p></li> + </ol> + </div> + + <p>Please see <a href="http://doc.tikiwiki.org/">the documentation</a> for more information.</p> + </div> + + <hr/> + + <p align="center"> + <a href="http://www.tikiwiki.org" title="TikiWiki CMS/Groupware"> + <img src="img/tiki/tikibutton2.png" alt="TikiWiki CMS/Groupware" border="0" height="31" width="80"/> + </a> + </p> </div> - <hr> - <p align="center"> - <a href="http://www.tikiwiki.org" title="TikiWiki"> - <img src="img/tiki/tikibutton2.png" alt="TikiWiki" border="0" height="31" width="80"> - </a> - </p> </div> </body> </html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |