mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
new image pack system imode and admin images updated
This commit is contained in:
@@ -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';
|
||||
|
Reference in New Issue
Block a user