mirror of
https://github.com/e107inc/e107.git
synced 2025-04-14 01:22:13 +02:00
new image pack system bbcode and generic images updated
This commit is contained in:
parent
b1a5522c07
commit
d45b2f93d1
@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/mailout.php,v $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2006-12-07 15:41:49 $
|
||||
| $Revision: 1.3 $
|
||||
| $Date: 2006-12-07 16:49:28 $
|
||||
| $Author: sweetas $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@ -474,13 +474,13 @@ function show_mailform($foo=""){
|
||||
<td style='width:100%' class='forumheader3' colspan='2'>
|
||||
<div style='width:100%;text-align:center;vertical-align: middle;' >";
|
||||
|
||||
global $eplug_bb;
|
||||
global $eplug_bb, $imode;
|
||||
|
||||
$eplug_bb[] = array(
|
||||
"name" => 'shortcode',
|
||||
"onclick" => 'expandit',
|
||||
"onclick_var" => "sc_selector",
|
||||
"icon" => e_IMAGE."generic/bbcode/shortcode.png",
|
||||
"icon" => e_IMAGE."packs/".$imode."/bbcode/shortcode.png",
|
||||
"helptext" => MAILAN_11,
|
||||
"function" => "sc_Select",
|
||||
"function_var" => "sc_selector"
|
||||
|
@ -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];
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -11,15 +11,15 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/bbcode_template.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:36:12 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2006-12-07 16:49:28 $
|
||||
| $Author: sweetas $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
// How to register your own BBcode button.
|
||||
// Uncomment the 2 commented lines below to see it in action. (only applies to the user area)
|
||||
|
||||
// $register_bb['blank'] = array("", "[blank][/blank]","Blank example helper text",e_IMAGE."generic/bbcode/template.png");
|
||||
// $register_bb['blank'] = array("", "[blank][/blank]","Blank example helper text",e_IMAGE."packs/".$imode."/bbcode/template.png");
|
||||
|
||||
$BBCODE_TEMPLATE = "
|
||||
{BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=center}{BB=left}{BB=right}
|
||||
|
Loading…
x
Reference in New Issue
Block a user