1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

new image pack system bbcode and generic images updated

This commit is contained in:
sweetas
2006-12-07 16:49:28 +00:00
parent b1a5522c07
commit d45b2f93d1
4 changed files with 17 additions and 17 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/bbcode_shortcodes.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:40 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2006-12-07 16:49:28 $
| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@@ -26,7 +26,7 @@ $bbcode_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);
/*
SC_BEGIN BB
global $pref, $eplug_bb, $bbcode_func, $bbcode_help, $bbcode_filedir, $bbcode_imagedir, $bbcode_helpactive, $bbcode_helptag, $register_bb;
global $pref, $eplug_bb, $bbcode_func, $bbcode_help, $bbcode_filedir, $bbcode_imagedir, $bbcode_helpactive, $bbcode_helptag, $register_bb, $imode;
if(e_WYSIWYG){ return; }
@@ -65,7 +65,7 @@ $bbcode['prefile'] = array("expandit","prefile_selector_".$rand, LANHELP_39,"pre
if(!isset($iconpath[$parm]))
{
$iconpath[$parm] = (file_exists(THEME."bbcode/bold.png") ? THEME."bbcode/" : e_IMAGE."generic/bbcode/");
$iconpath[$parm] = (file_exists(THEME."bbcode/bold.png") ? THEME."bbcode/" : e_IMAGE."packs/".$imode."/bbcode/");
$iconpath[$parm] .= $bbcode[$parm][3];
}

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/download_shortcodes.php,v $
| $Revision: 1.2 $
| $Date: 2006-12-07 15:41:50 $
| $Revision: 1.3 $
| $Date: 2006-12-07 16:49:28 $
| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
@@ -134,8 +134,8 @@ SC_END
SC_BEGIN DOWNLOAD_ADMIN_EDIT
global $dl;
return (ADMIN && getperms('6')) ? "<a href='".e_ADMIN."download.php?create.edit.".$dl['download_id']."' title='edit'><img src='".e_IMAGE."generic/lite/edit.png' alt='' style='padding:0px;border:0px' /></a>" : "";
global $dl, $imode;
return (ADMIN && getperms('6')) ? "<a href='".e_ADMIN."download.php?create.edit.".$dl['download_id']."' title='edit'><img src='".e_IMAGE."packs/".$imode."/generic/edit.png' alt='' style='padding:0px;border:0px' /></a>" : "";
SC_END
SC_BEGIN DOWNLOAD_CATEGORY