mirror of
https://github.com/e107inc/e107.git
synced 2025-08-28 08:39:57 +02:00
new image pack system imode and admin images updated
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/calendar_shortcodes.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:34:46 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2006-12-07 15:41:50 $
|
||||
| $Author: sweetas $
|
||||
|
|
||||
| 10.11.06 - mods for next CVS release
|
||||
+----------------------------------------------------------------------------+
|
||||
@@ -182,10 +182,10 @@ SC_BEGIN SHOWEVENT_HEADING
|
||||
SC_END
|
||||
|
||||
SC_BEGIN CALENDAR_CALENDAR_RECENT_ICON
|
||||
global $ev;
|
||||
global $ev, $imode;
|
||||
if (!isset($ev['is_recent'])) return "";
|
||||
// $recent_icon = e_PLUGIN."calendar_menu/images/recent_icon.png";
|
||||
$recent_icon = e_IMAGE."generic/".IMODE."/new.png";
|
||||
$recent_icon = e_IMAGE."packs/".$imode."/generic/new.png";
|
||||
if (file_exists($recent_icon))
|
||||
{
|
||||
return "<img style='border:0' src='".$recent_icon."' alt='' /> ";
|
||||
@@ -291,10 +291,10 @@ SC_END
|
||||
// EVENT SHOWEVENT ------------------------------------------------------------
|
||||
|
||||
SC_BEGIN EVENT_RECENT_ICON
|
||||
global $thisevent, $ecal_class;
|
||||
global $thisevent, $ecal_class, $imode;
|
||||
if (($ecal_class->max_recent_show == 0) || (time() - $thisevent['event_datestamp']) > $ecal_class->max_recent_show) return "";
|
||||
// Can use the generic icon, or a calendar-specific one
|
||||
$recent_icon = e_IMAGE."generic/".IMODE."/new.png";
|
||||
$recent_icon = e_IMAGE."packs/".$imode."/generic/new.png";
|
||||
// $recent_icon = e_PLUGIN."calendar_menu/images/recent_icon.png";
|
||||
if (file_exists($recent_icon))
|
||||
{
|
||||
@@ -416,9 +416,9 @@ SC_BEGIN EVENT_THREAD
|
||||
SC_END
|
||||
|
||||
SC_BEGIN EVENT_OPTIONS
|
||||
global $EVENT_OPTIONS, $thisevent, $event_author_name, $cal_super;
|
||||
global $EVENT_OPTIONS, $thisevent, $event_author_name, $cal_super, $imode;
|
||||
if (USERNAME == $event_author_name || $cal_super){
|
||||
$EVENT_OPTIONS = "<a href='event.php?ed.".$thisevent['event_id']."'><img style='border:0;' src='".e_IMAGE."admin_images/edit_16.png' title='".EC_LAN_35."' alt='".EC_LAN_35 . "'/></a> <a href='".e_PLUGIN."calendar_menu/event.php?de.".$thisevent['event_id']."'><img style='border:0;' src='".e_IMAGE."admin_images/delete_16.png' title='".EC_LAN_36."' alt='".EC_LAN_36."'/></a>";
|
||||
$EVENT_OPTIONS = "<a href='event.php?ed.".$thisevent['event_id']."'><img style='border:0;' src='".e_IMAGE."packs/".$imode."/admin_images/edit_16.png' title='".EC_LAN_35."' alt='".EC_LAN_35 . "'/></a> <a href='".e_PLUGIN."calendar_menu/event.php?de.".$thisevent['event_id']."'><img style='border:0;' src='".e_IMAGE."packs/".$imode."/admin_images/delete_16.png' title='".EC_LAN_36."' alt='".EC_LAN_36."'/></a>";
|
||||
}
|
||||
return $EVENT_OPTIONS;
|
||||
SC_END
|
||||
|
@@ -12,9 +12,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/handlers/content_class.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:34:58 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2006-12-07 15:41:50 $
|
||||
| $Author: sweetas $
|
||||
+---------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@@ -1076,9 +1076,11 @@ class content{
|
||||
//$width : the width of the popup (uses a default width of 500)
|
||||
//$title : the window title of the popup (uses a default title of ...)
|
||||
//$text : the help text to show into the popup
|
||||
|
||||
global $imode;
|
||||
|
||||
if(!$image || !file_exists($image)){
|
||||
$image = e_IMAGE."admin_images/docs_16.png";
|
||||
$image = e_IMAGE."packs/".$imode."/admin_images/docs_16.png";
|
||||
}
|
||||
if(!$width){ $width = "320"; }
|
||||
if(!$title){ $title = "content management help area"; }
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
global $plugindir;
|
||||
global $plugindir, $imode;
|
||||
$plugindir = e_PLUGIN."content/";
|
||||
$imagedir = e_IMAGE."admin_images/";
|
||||
$imagedir = e_IMAGE."packs/".$imode."/admin_images/";
|
||||
$lan_file = e_PLUGIN.'content/languages/'.e_LANGUAGE.'/lan_content_admin.php';
|
||||
include_once(file_exists($lan_file) ? $lan_file : e_PLUGIN.'content/languages/English/lan_content_admin.php');
|
||||
$lan_file = e_PLUGIN.'content/languages/'.e_LANGUAGE.'/lan_content.php';
|
||||
|
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/gsitemap/admin_config.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:35:19 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2006-12-07 15:41:50 $
|
||||
| $Author: sweetas $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
require_once("../../class2.php");
|
||||
@@ -98,7 +98,7 @@ class gsitemap
|
||||
|
||||
function showList()
|
||||
{
|
||||
global $sql,$ns,$tp;
|
||||
global $sql, $ns, $tp, $imode;
|
||||
$gen = new convert;
|
||||
$count = $sql -> db_Select("gsitemap", "*", "gsitemap_id !=0 ORDER BY gsitemap_order ASC");
|
||||
|
||||
@@ -150,8 +150,8 @@ class gsitemap
|
||||
|
||||
<td style='width:50px;white-space:nowrap' class='forumheader3'>
|
||||
<div>
|
||||
<input type='image' name='edit[{$row2['gsitemap_id']}]' value='edit' src='".e_IMAGE."admin_images/edit_16.png' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:0px' />
|
||||
<input type='image' name='delete[{$row2['gsitemap_id']}]' value='del' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL." [".$row2['gsitemap_name']."]")."') \" src='".e_IMAGE."admin_images/delete_16.png' alt='".LAN_DELETE."' title='".LAN_DELETE."' style='border:0px' />
|
||||
<input type='image' name='edit[{$row2['gsitemap_id']}]' value='edit' src='".e_IMAGE."packs/".$imode."/admin_images/edit_16.png' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:0px' />
|
||||
<input type='image' name='delete[{$row2['gsitemap_id']}]' value='del' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL." [".$row2['gsitemap_name']."]")."') \" src='".e_IMAGE."packs/".$imode."/admin_images/delete_16.png' alt='".LAN_DELETE."' title='".LAN_DELETE."' style='border:0px' />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@@ -11,16 +11,18 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/link_defines.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:35:22 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2006-12-07 15:41:50 $
|
||||
| $Author: sweetas $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
$imagedir = e_IMAGE."admin_images/";
|
||||
if (!defined("IMAGE_NEW")){ define("IMAGE_NEW", (file_exists(THEME."images/new.png") ? THEME."images/new.png" : e_IMAGE."generic/".IMODE."/new.png")); }
|
||||
global $imode;
|
||||
|
||||
$imagedir = e_IMAGE."packs/".$imode."/admin_images/";
|
||||
if (!defined("IMAGE_NEW")){ define("IMAGE_NEW", (file_exists(THEME."images/new.png") ? THEME."images/new.png" : e_IMAGE."packs/".$imode."/generic/new.png")); }
|
||||
if (!defined('LINK_ICON_EDIT')) { define("LINK_ICON_EDIT", "<img src='".$imagedir."edit_16.png' alt='' style='border:0; cursor:pointer;' />"); }
|
||||
if (!defined('LINK_ICON_DELETE')) { define("LINK_ICON_DELETE", "<img src='".$imagedir."delete_16.png' alt='' style='border:0; cursor:pointer;' />"); }
|
||||
if (!defined('LINK_ICON_DELETE_BASE')) { define("LINK_ICON_DELETE_BASE", $imagedir."delete_16.png"); }
|
||||
|
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/online_extended_menu/online_extended_menu.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:35:32 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2006-12-07 15:41:50 $
|
||||
| $Author: sweetas $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
@@ -48,7 +48,7 @@ if(!defined("e_TRACKING_DISABLED") && (isset($pref['track_online']) && $pref['tr
|
||||
$pinfo = "comment.php";
|
||||
$online_location_page = "comment.php";
|
||||
}
|
||||
$text .= "<img src='".e_IMAGE."admin_images/users_16.png' alt='' style='vertical-align:middle' /> <a href='".e_BASE."user.php?id.$oid'>$oname</a> ".ONLINE_EL7;
|
||||
$text .= "<img src='".e_IMAGE."packs/".$imode."/admin_images/users_16.png' alt='' style='vertical-align:middle' /> <a href='".e_BASE."user.php?id.$oid'>$oname</a> ".ONLINE_EL7;
|
||||
(!strstr($pinfo, $ADMIN_DIRECTORY) ? $text .= " <a href='{$pinfo}'>$online_location_page</a><br />" : $text .= " $online_location_page<br />");
|
||||
}
|
||||
}
|
||||
|
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/admin_prefs.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:35:41 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2006-12-07 15:41:50 $
|
||||
| $Author: sweetas $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
/*
|
||||
@@ -35,7 +35,7 @@ require_once(file_exists($lan_file) ? $lan_file : e_PLUGIN."rss_menu/languages/E
|
||||
|
||||
require_once(e_ADMIN."auth.php");
|
||||
|
||||
$imagedir = e_IMAGE."admin_images/";
|
||||
$imagedir = e_IMAGE."packs/".$imode."/admin_images/";
|
||||
$lan_file = e_PLUGIN.'rss_menu/languages/'.e_LANGUAGE.'.php';
|
||||
include_once(file_exists($lan_file) ? $lan_file : e_PLUGIN.'rss_menu/languages/English.php');
|
||||
require_once(e_PLUGIN.'rss_menu/rss_shortcodes.php');
|
||||
|
Reference in New Issue
Block a user