1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

More $imode removal

This commit is contained in:
CaMer0n
2009-07-07 07:33:00 +00:00
parent c29c2fb698
commit 04f3934852
9 changed files with 50 additions and 61 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/calendar_template.php,v $
| $Revision: 1.6 $
| $Date: 2009-07-07 07:25:27 $
| $Revision: 1.7 $
| $Date: 2009-07-07 07:33:00 $
| $Author: e107coders $
|
+----------------------------------------------------------------------------+
@@ -21,18 +21,7 @@ if (!defined('e107_INIT')) { exit; }
if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:auto"); }
if (varsettrue($imode))
{ // Its 0.8
$ec_images_path = e_IMAGE;
$ec_images_path_abs = e_IMAGE_ABS;
if (!defined('EC_RECENT_ICON'))
{
define('EC_RECENT_ICON',$ec_images_path.'generic/new.png');
define('EC_RECENT_ICON_ABS',$ec_images_path_abs.'generic/new.png');
} // Filename of icon used to flag recent events
}
else
{
$ec_images_path = e_IMAGE;
$ec_images_path_abs = e_IMAGE_ABS;
if (!defined('EC_RECENT_ICON'))
@@ -40,7 +29,7 @@ else
define('EC_RECENT_ICON',e_IMAGE.'generic/new.png');
define('EC_RECENT_ICON_ABS',e_IMAGE_ABS.'generic/new.png');
} // Filename of icon used to flag recent events
}