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

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

@@ -1,35 +1,128 @@
<?php <html xmlns="http://www.w3.org/1999/xhtml">
/** <head>
* error403.php <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
* <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
* ProcessMaker Open Source Edition <link href="style1.css" type="text/css" rel="stylesheet"/>
* Copyright (C) 2004 - 2008 Colosa Inc.23 </head>
* <body style="margin: 0px; overflow: auto; background: url(images/background1.jpg); no-repeat; top;">
* This program is free software: you can redistribute it and/or modify <!-- Warp around everything -->
* it under the terms of the GNU Affero General Public License as <div id="warp">
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
* <!-- Header top -->
* This program is distributed in the hope that it will be useful, <div id="header_top"></div>
* but WITHOUT ANY WARRANTY; without even the implied warranty of <!-- End header top -->
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* <!-- Header -->
* You should have received a copy of the GNU Affero General Public License <div id="header">
* along with this program. If not, see <http://www.gnu.org/licenses/>. <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>
* For more information, contact Colosa Inc, 2566 Le Jeune Rd., <td align="center">
* Coral Gables, FL, 33134, USA, or email info@colosa.com. <h2>Access denied!</h2>
* <h5>Somebody prohibited this page, or the URL is incorrect.</h5>
*/ </td>
$ERROR_TEXT = "403 Forbidden "; <td align="right"><img src="images/pmlogo.png" alt="www.colosa.com" id="colosa" /></td>
$ERROR_DESCRIPTION = " </tr></table>
You don't have permission to access the requested directory. There is either
no index document or the directory is read-protected.<br /> </div>
<br /> <!-- End Header -->
<br />
";
<!-- The content div -->
$fileHeader = PATH_GULLIVER_HOME . 'methods/errors/header.php' ; <div id="content">
include ( $fileHeader);
?> <!-- 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>