BUG-9812 New skin for 403 FORBIDDEN ERROR! page.

I replaced file 'gulliver/methods/errors/error403.php', with the new code of the FORBIDDEN ERROR! page proposed by eliz.artinf
This commit is contained in:
jennylee
2012-10-10 19:44:58 -04:00
parent 37eaa61059
commit eb559dc087

161
gulliver/methods/errors/error403.php Executable file → Normal file
View File

@@ -1,35 +1,128 @@
<?php
/**
* error403.php
*
* ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2008 Colosa Inc.23
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
*
*/
$ERROR_TEXT = "403 Forbidden ";
$ERROR_DESCRIPTION = "
You don't have permission to access the requested directory. There is either
no index document or the directory is read-protected.<br />
<br />
<br />
";
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link href="style1.css" type="text/css" rel="stylesheet"/>
</head>
<body style="margin: 0px; overflow: auto; background: url(images/background1.jpg); no-repeat; top;">
<!-- Warp around everything -->
<div id="warp">
$fileHeader = PATH_GULLIVER_HOME . 'methods/errors/header.php' ;
include ( $fileHeader);
?>
<!-- Header top -->
<div id="header_top"></div>
<!-- End header top -->
<!-- Header -->
<div id="header">
<table border="0" cellspacing="0" cellpadding="0" width="90%"><tr>
<td align="left"><img src="images/colosa.png" alt="www.colosa.com" id="colosa" /></td>
<td align="center">
<h2>Access denied!</h2>
<h5>Somebody prohibited this page, or the URL is incorrect.</h5>
</td>
<td align="right"><img src="images/pmlogo.png" alt="www.colosa.com" id="colosa" /></td>
</tr></table>
</div>
<!-- End Header -->
<!-- The content div -->
<div id="content">
<!-- text -->
<div id="text">
<!-- The info text -->
<strong>Possible reasons: </strong>
<ul id="textInfo">
<li>The link is broken. This may occur when you receive a link via email but your client software adds line breaks, thus distorting long URLs.</li>
<li>The page you requested is no longer active.</li>
<li>There is a spelling mistake in the link, in case you entered the URL into the browser's address toolbar.</li>
</ul>
<ul>
<br/>
<h3>Lost? We suggest...</h3>
<!-- End info text -->
<br/>
<!-- Page links -->
<ul id="textInfo">
<li><a href="http://www.processmakerblog.com/" target="_blank">PROCESSMAKER BLOG</a></li>
<li><a href="http://wiki.processmaker.com/index.php/Main_Page" target="_blank">DOCUMENTATION</a></li>
<li><a href="http://forum.processmaker.com/" target="_blank">FORUM</a></li>
<li><a href="http://library.processmaker.com/" target="_blank">LIBRARY</a></li>
<li><a href="http://bugs.processmaker.com/my_view_page.php" target="_blank">BUG TRACKER</a></li>
</ul>
<!-- End page links -->
</div>
<!-- End info text -->
<!-- Book icon -->
<img id="book" src="images/img-02.png" alt="Book iCon" />
<!-- End Book icon -->
<div style="clear:both;"></div>
</div>
<!-- End Content -->
<!-- Footer -->
<div id="footer">
<!-- Twitter -->
<img src="images/pm.png" alt="twitter" id="twitter" />
<p id="twitter_text">
<a href= "http://www.processmaker.com/privacy-statement" target="_blank"> Privacy Statement </a>| <a href= "http://www.processmaker.com/security-statement" target="_blank">Security Statement </a> | <a href= "http://www.processmaker.com/terms-of-service" target="_blank"> Terms of Service </a> | <a href= "http://www.processmaker.com/commercial-licensee" target="_blank"> Commercial License </a> | <a href= "http://www.processmaker.com/contact-us" target="_blank"> Contact Us </a>| <a href= "http://feeds.feedburner.com/processmaker" target="_blank"> RSS </a>
&#169; Copyright 2000 - 2012 Colosa, Inc. <a href= "http://www.colosa.com/" target="_blank"> www.colosa.com </a>
</p>
<!-- End Twitter -->
<div id="socialmedia" style="float:left;text-align: right; margin-top: 20px;">
<a href="https://www.facebook.com/processmaker" target="_blank">
<img height="25" width="25" alt="Facebook" src="images/socialmedia/fb.png">
</a>
<a href="http://twitter.com/processmaker" target="_blank">
<img height="25" width="25" alt="Twitter" src="images/socialmedia/tw.png">
</a>
<a href="http://www.youtube.com/processmaker#play/uploads" target="_blank">
<img height="25" width="25" alt="YouTube" src="images/socialmedia/yb.png">
</a>
<a href="http://feeds.feedburner.com/processmaker" target="_blank">
<img height="25" width="25" alt="RSS" src="images/socialmedia/rs.png">
</a>
</div>
<!-- Search Form -->
<!--<form action="#" method="post">
<p id="searchform">
<input type="submit" name="submit" id="submit" value="Search" />
<input type="text" name="search" id="search" />
</p>
</form>-->
<!-- End Search form -->
<div style="clear:both;"></div>
</div>
<!-- End Footer -->
<!-- Footer bottom -->
<div id="footer_bottom"></div>
<!-- End Footer bottom -->
<!-- Social Media list -->
<!-- End Social media -->
<div style="clear:both;"></div>
</div>
<!-- End Warp around everything -->
</div>
</body>
</html>