diff --git a/download.php b/download.php index b8a06472b..a8d71feb8 100644 --- a/download.php +++ b/download.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/download.php,v $ -| $Revision: 1.23 $ -| $Date: 2008-10-19 11:35:00 $ -| $Author: e107steved $ +| $Revision: 1.24 $ +| $Date: 2008-11-16 09:11:59 $ +| $Author: e107coders $ | +----------------------------------------------------------------------------+ */ @@ -36,8 +36,8 @@ if(!defined("USER_WIDTH")) { define("USER_WIDTH","width:100%"); } //$pref['download_incinfo'] = '1'; /* define images */ -define("IMAGE_DOWNLOAD", (file_exists(THEME."images/download.png") ? THEME."images/download.png" : e_IMAGE.'packs/'.$imode."/generic/download.png")); -define("IMAGE_NEW", (file_exists(THEME."images/new.png") ? THEME."images/new.png" : e_IMAGE.'packs/'.$imode."/generic/new.png")); +define("IMAGE_DOWNLOAD", (file_exists(THEME."images/download.png") ? THEME."images/download.png" : e_IMAGE."generic/download.png")); +define("IMAGE_NEW", (file_exists(THEME."images/new.png") ? THEME."images/new.png" : e_IMAGE."generic/new.png")); $template_load_core = ' $template_name = $load_template.".php"; diff --git a/e107_images/generic/arrow.png b/e107_images/generic/arrow.png new file mode 100644 index 000000000..24a89b543 Binary files /dev/null and b/e107_images/generic/arrow.png differ diff --git a/e107_images/generic/download.png b/e107_images/generic/download.png new file mode 100644 index 000000000..0bd2ab262 Binary files /dev/null and b/e107_images/generic/download.png differ diff --git a/e107_images/generic/edit.png b/e107_images/generic/edit.png new file mode 100644 index 000000000..4a52bb1c5 Binary files /dev/null and b/e107_images/generic/edit.png differ diff --git a/e107_images/generic/new.png b/e107_images/generic/new.png new file mode 100644 index 000000000..3e9562c4a Binary files /dev/null and b/e107_images/generic/new.png differ diff --git a/e107_images/generic/search_basic.png b/e107_images/generic/search_basic.png new file mode 100644 index 000000000..6dd193158 Binary files /dev/null and b/e107_images/generic/search_basic.png differ diff --git a/e107_images/generic/warning.png b/e107_images/generic/warning.png new file mode 100644 index 000000000..2b3d4f05b Binary files /dev/null and b/e107_images/generic/warning.png differ diff --git a/error.php b/error.php index eb2ae8310..f89c638c3 100644 --- a/error.php +++ b/error.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/error.php,v $ -| $Revision: 1.6 $ -| $Date: 2008-07-25 20:12:31 $ -| $Author: e107steved $ +| $Revision: 1.7 $ +| $Date: 2008-11-16 09:11:59 $ +| $Author: e107coders $ +----------------------------------------------------------------------------+ */ @@ -35,22 +35,22 @@ switch($errorNumber) { case 400 : $errorHeader = "HTTP/1.1 400 Bad Request"; - $errorText = "
".LAN_ERROR_37." ".LAN_ERROR_35."

".LAN_ERROR_36."

".LAN_ERROR_3."
+ $errorText = "
".LAN_ERROR_37." ".LAN_ERROR_35."

".LAN_ERROR_36."

".LAN_ERROR_3."

".LAN_ERROR_2."
".LAN_ERROR_20."
"; break; case 401: $errorHeader = "HTTP/1.1 401 Unauthorized"; - $errorText = "
".LAN_ERROR_37." ".LAN_ERROR_1."

".LAN_ERROR_2."

".LAN_ERROR_3."
+ $errorText = "
".LAN_ERROR_37." ".LAN_ERROR_1."

".LAN_ERROR_2."

".LAN_ERROR_3."

".LAN_ERROR_2."
".LAN_ERROR_20."
"; break; case 403: $errorHeader = "HTTP/1.1 403 Forbidden"; - $errorText = "
".LAN_ERROR_37." ".LAN_ERROR_4."

".LAN_ERROR_5."

".LAN_ERROR_6."
+ $errorText = "
".LAN_ERROR_37." ".LAN_ERROR_4."

".LAN_ERROR_5."

".LAN_ERROR_6."

".LAN_ERROR_2."
".LAN_ERROR_20."
"; break; case 404: $errorHeader = "HTTP/1.1 404 Not Found"; - $errorText = "

".LAN_ERROR_37." ".LAN_ERROR_7."


".LAN_ERROR_21."

".LAN_ERROR_23."{$errTo}".LAN_ERROR_24."

"; + $errorText = "

".LAN_ERROR_37." ".LAN_ERROR_7."


".LAN_ERROR_21."

".LAN_ERROR_23."{$errTo}".LAN_ERROR_24."

"; if (strlen($errFrom)) $text .= LAN_ERROR_9." ( {$errFrom} ) -- ".LAN_ERROR_19."
"; @@ -60,7 +60,7 @@ switch($errorNumber) break; case 500: $errorHeader = "HTTP/1.1 500 Internal Server Error"; - $errorText = "
".LAN_ERROR_37." ".LAN_ERROR_10."

".LAN_ERROR_11."

".LAN_ERROR_12."
+ $errorText = "
".LAN_ERROR_37." ".LAN_ERROR_10."

".LAN_ERROR_11."

".LAN_ERROR_12."

".LAN_ERROR_2."
".LAN_ERROR_20."
"; break; case 999: diff --git a/page.php b/page.php index a1c01c39f..b7404bddb 100644 --- a/page.php +++ b/page.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/page.php,v $ -| $Revision: 1.16 $ -| $Date: 2008-04-07 20:29:24 $ -| $Author: secretr $ +| $Revision: 1.17 $ +| $Date: 2008-11-16 09:11:59 $ +| $Author: e107coders $ | +----------------------------------------------------------------------------+ */ @@ -313,7 +313,6 @@ class pageClass function pageRating($page_rating_flag) { - global $imode; $rate_text = ''; // Notice removal if($page_rating_flag) { @@ -327,7 +326,7 @@ class pageClass { $ratearray[2] = 0; } - $rate_text .= "\n"; + $rate_text .= "\n"; $rate_text .= " ".$ratearray[1].".".$ratearray[2]." - ".$ratearray[0]." "; $rate_text .= ($ratearray[0] == 1 ? "vote" : "votes"); } @@ -430,7 +429,7 @@ class pageClass ".LAN_PAGE_9.": - +