Changeset 9682 for extensions/bbcode_bar
- Timestamp:
- Mar 14, 2011, 9:35:14 PM (13 years ago)
- Location:
- extensions/bbcode_bar
- Files:
-
- 1 added
- 3 deleted
- 47 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/bbcode_bar/bbcode.js
r3305 r9682 2 2 var theSelection = false; 3 3 4 function BBChr(form, field) { BBCwrite(form, field, '', "[hr]", true); }5 function BBCdir(form, field, dirc) { document.forms[form].elements[field].dir=(dirc); }6 function BBCft(form, field, box) { BBCfont(form, field, "font", box); }7 4 function BBCfs(form, field, box) { 8 //BBCfont(form, field, "size", box); 9 var val = 10 + 2 * (box.selectedIndex - 2 ); 10 if ( val != 0 ) { 11 BBCwrite(form, field, "[size="+ val+"]", "[/size]", true); 12 } 5 BBCwrite(form, field, "[size="+ box.value +"]", "[/size]", true); 13 6 box.selectedIndex = 2; 14 7 } … … 17 10 box.selectedIndex = 0; 18 11 } 12 19 13 function BBCfont(form, field, code, box) { 20 14 BBCwrite(form, field, "["+code+"="+box.value+"]", "[/"+code+"]", true); … … 27 21 if (!URL) { return alert("Error : You didn't write the Address"); } 28 22 BBCwrite(form, field, '', "["+type+"]"+URL+"[/"+type+"]", true); 29 }30 31 function BBCode(form, field, code, img) {32 var type = img.name;33 if (BBCwrite(form, field, "["+code+"="+type+"]", "[/"+code+"]")) { return; }34 if (bbcode[code+type+form+field] == null) {35 ToAdd = "["+code+"="+type+"]";36 re = new RegExp(type+".(\\w+)$");37 img.src = img.src.replace(re, type+"1.$1");38 bbcode[code+type+form+field] = 1;39 } else {40 ToAdd = "[/"+code+"]";41 re = new RegExp(type+"1.(\\w+)$");42 img.src = img.src.replace(re, type+".$1");43 bbcode[code+type+form+field] = null;44 }45 BBCwrite(form, field, '', ToAdd, true);46 23 } 47 24 … … 78 55 } 79 56 BBCwrite(form, field, '', ToAdd, true); 80 }81 82 function BBCmm(form, field, type) {83 var URL = prompt("Enter the "+type+" file URL", "http://");84 if (URL == null) { return; }85 if (!URL) { return alert("Error: You didn't write the "+type+" file URL"); }86 var WS = prompt("Enter the "+type+" width", "250");87 if (WS == null) { return; }88 if (!WS) { WS = 250; }89 var HS = prompt("Enter the "+type+" height", "200");90 if (HS == null) { return; }91 if (!HS) { HS = 200; }92 BBCwrite(form, field, '', "["+type+" width="+WS+" height="+HS+"]"+URL+"[/"+type+"]", true);93 57 } 94 58 … … 147 111 } 148 112 149 function bbstyle(bbnumber) {150 return true;151 }152 153 function preview(form, field) {154 if ( document.forms[form].elements[field].value != "" )155 {156 var loc = document.location.toString();157 var idx = loc.indexOf( '&' )158 159 if ( idx > 0 )160 loc = loc.substring ( 0 , idx );161 162 document.location = loc + "&action=preview&content=" + document.forms[form].elements[field].value + "&key=" + document.forms[form].elements["key"].value;163 }164 }165 166 113 function helpline ( form, field, text ) { 167 114 if ( typeof(document.forms[form].elements[field]) != "undefined") { -
extensions/bbcode_bar/bbcode_bar.css
r3305 r9682 2 2 margin-left: 0pt; 3 3 margin-right: auto; 4 margin-top:-0.25em; 4 5 } 5 6 … … 21 22 .genmed { 22 23 color:#000000; 24 background-color:#fff; 23 25 } 24 26 -
extensions/bbcode_bar/bbcode_bar.inc.php
r6297 r9682 1 1 <?php 2 3 2 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 4 3 5 4 function set_bbcode_bar() 6 5 { 7 global $template, $conf, $lang, $user, $pwg_loaded_plugins; 8 9 load_language('plugin.lang', dirname(__FILE__) . '/'); 10 11 $conf_bbcode_bar = explode("," , $conf['bbcode_bar']); 12 13 $template->set_filename('bbcode_bar', dirname(__FILE__).'/bbcode_bar.tpl'); 14 15 if ($conf_bbcode_bar[0] == 1) $template->assign('BBCode_bar_button_00',true); 16 if ($conf_bbcode_bar[1] == 1) $template->assign('BBCode_bar_button_01',true); 17 if ($conf_bbcode_bar[2] == 1) $template->assign('BBCode_bar_button_02',true); 18 if ($conf_bbcode_bar[3] == 1) $template->assign('BBCode_bar_button_03',true); 19 if ($conf_bbcode_bar[4] == 1) $template->assign('BBCode_bar_button_04',true); 20 if ($conf_bbcode_bar[5] == 1) $template->assign('BBCode_bar_button_05',true); 21 if ($conf_bbcode_bar[6] == 1) $template->assign('BBCode_bar_button_06',true); 22 if ($conf_bbcode_bar[7] == 1) $template->assign('BBCode_bar_button_07',true); 23 if ($conf_bbcode_bar[8] == 1) $template->assign('BBCode_bar_button_08',true); 24 if ($conf_bbcode_bar[9] == 1) $template->assign('BBCode_bar_button_09',true); 25 if ($conf_bbcode_bar[10] == 1) $template->assign('BBCode_bar_button_10',true); 26 if ($conf_bbcode_bar[11] == 1) $template->assign('BBCode_bar_button_11',true); 27 if ($conf_bbcode_bar[12] == 1) $template->assign('BBCode_bar_button_12',true); 28 if ($conf_bbcode_bar[13] == 1) $template->assign('BBCode_bar_button_13',true); 29 if ($conf_bbcode_bar[14] == 1) $template->assign('BBCode_bar_button_14',true); 30 if ($conf_bbcode_bar[15] == 1) $template->assign('BBCode_bar_button_15',true); 31 $template->assign('repicon', $conf_bbcode_bar[17]); 32 33 if (isset($pwg_loaded_plugins['SmiliesSupport'])) 34 { 35 $template->assign('BBCode_bar_SmiliesSupport', array('SMILIESSUPPORT_PAGE' => SmiliesTable())); 36 } 37 38 $lang['Comment'] .= $template->parse('bbcode_bar', true); 6 global $template, $conf, $lang, $user, $pwg_loaded_plugins; 7 load_language('plugin.lang', dirname(__FILE__) . '/'); 8 $conf_bbcode_bar = explode("," , $conf['bbcode_bar']); 9 $template->set_filename('bbcode_bar', dirname(__FILE__).'/bbcode_bar.tpl'); 10 11 // buttons 12 for ($i=0; $i<=15; $i++) 13 { 14 if ($conf_bbcode_bar[$i] == 1) $template->assign('BBCode_bar_button_'.sprintf("%02d", $i), true); 15 } 16 $template->assign('repicon', $conf_bbcode_bar[16]); 17 18 // edit field has a different id 19 if (isset($_GET['action']) AND $_GET['action'] == 'edit_comment') 20 { 21 $template->assign('form_name', 'editComment'); 22 } 23 else 24 { 25 $template->assign('form_name', 'addComment'); 26 } 27 28 // smilies support 29 if (isset($pwg_loaded_plugins['SmiliesSupport'])) 30 { 31 $template->assign('BBCode_bar_SmiliesSupport', array('SMILIESSUPPORT_PAGE' => SmiliesTable())); 32 } 33 34 $lang['Comment'] .= $template->parse('bbcode_bar', true); 39 35 } 40 36 … … 43 39 function CheckTags($str) 44 40 { 45 //array of known tags 46 $known = array('p','b','i','u','s','center','right','ol','ul','li','quote', 'img','url','email','color', 'size'); 47 //storage stack 48 $tags = array(); 49 50 for ($pos = 0; $pos<strlen($str); $pos++) 51 { 52 if ($str{$pos} == '[') 53 { 54 $end_pos = strpos($str, ']', $pos); 55 $tag = substr($str, ++$pos, $end_pos-$pos); 56 //deals with tags which contains arguments (ie quote) 57 if ( ($equal_pos = strpos($tag, '=', 0)) !== FALSE) 58 $tag = substr($tag, 0, $equal_pos); 59 //check whether we have a defined tag or not. 60 if (in_array(strtolower($tag),$known) || in_array(strtolower(substr($tag,1)),$known)) 61 { 62 //closing tag 63 if ($tag{0} == '/') 64 { 65 //cleaned tag 66 $tag = substr($tag, 1); 67 $before_tag = substr($str, 0, $pos-1); 68 $after_tag = substr($str, $end_pos+1); 69 //pop stack 70 while (($temp = array_pop($tags))) 71 { 72 if ($temp != $tag) 73 $before_tag.='[/'.$temp.']'; 74 else 75 { 76 $before_tag.='[/'.$tag.']'; 77 break; 78 } 79 } 80 $end_pos += strlen($before_tag)+strlen($after_tag)-strlen($str); 81 $str = $before_tag.$after_tag; 82 } 83 else 84 { // push stack 85 array_push($tags,$tag); 86 } 87 } 88 $pos = $end_pos; 89 } 90 } 91 // empty stack and closing tags 92 while ($temp = array_pop($tags)) 93 { 94 $str.='[/'.$temp.']'; 95 } 96 return $str; 41 //array of known tags 42 $known = array('p','b','i','u','s','center','right','ol','ul','li','quote', 'img','url','email','color', 'size'); 43 //storage stack 44 $tags = array(); 45 46 for ($pos = 0; $pos<strlen($str); $pos++) 47 { 48 if ($str{$pos} == '[') 49 { 50 $end_pos = strpos($str, ']', $pos); 51 $tag = substr($str, ++$pos, $end_pos-$pos); 52 //deals with tags which contains arguments (ie quote) 53 if ( ($equal_pos = strpos($tag, '=', 0)) !== FALSE) 54 $tag = substr($tag, 0, $equal_pos); 55 //check whether we have a defined tag or not. 56 if (in_array(strtolower($tag),$known) || in_array(strtolower(substr($tag,1)),$known)) 57 { 58 //closing tag 59 if ($tag{0} == '/') 60 { 61 //cleaned tag 62 $tag = substr($tag, 1); 63 $before_tag = substr($str, 0, $pos-1); 64 $after_tag = substr($str, $end_pos+1); 65 //pop stack 66 while (($temp = array_pop($tags))) 67 { 68 if ($temp != $tag) 69 { 70 $before_tag.='[/'.$temp.']'; 71 } 72 else 73 { 74 $before_tag.='[/'.$tag.']'; 75 break; 76 } 77 } 78 $end_pos += strlen($before_tag)+strlen($after_tag)-strlen($str); 79 $str = $before_tag.$after_tag; 80 } 81 else 82 { // push stack 83 array_push($tags,$tag); 84 } 85 } 86 $pos = $end_pos; 87 } 88 } 89 // empty stack and closing tags 90 while ($temp = array_pop($tags)) 91 { 92 $str.='[/'.$temp.']'; 93 } 94 return $str; 97 95 } 98 96 … … 100 98 function BBCodeParse($str) 101 99 { 102 103 104 105 106 $str = CheckTags(nl2br($str)); 107 108 $patterns = array();109 $replacements = array(); 110 111 if ( $conf_bbcode_bar[0] == 1 ) 112 { 113 //Paragraph 114 $patterns[] = '#\[p\](.*?)\[/p\]#is';115 $replacements[] = '<p>\\1</p>'; 116 } 117 if ( $conf_bbcode_bar[1] == 1 ) 118 { 119 // Bold 120 $patterns[] = '#\[b\](.*?)\[/b\]#is';121 $replacements[] = '<strong>\\1</strong>'; 122 } 123 if ( $conf_bbcode_bar[2] == 1 ) 124 { 125 //Italic 126 $patterns[] = '#\[i\](.*?)\[/i\]#is';127 $replacements[] = '<em>\\1</em>'; 128 } 129 if ( $conf_bbcode_bar[3] == 1 ) 130 { 131 //Underline 132 $patterns[] = '#\[u\](.*?)\[\/u\]#is';133 $replacements[] = '<u>\\1</u>'; 134 } 135 if ( $conf_bbcode_bar[4] == 1 ) 136 { 137 //Strikethrough 138 $patterns[] = '#\[s\](.*?)\[/s\]#is';139 $replacements[] = '<del>\\1</del>'; 140 } 141 if ( $conf_bbcode_bar[5] == 1 ) 142 { 143 //Center 144 $patterns[] = '#\[center\](.*?)\[/center\]#is';145 $replacements[] = '</p><div align="center"><p>\\1</p></div><p>'; 146 } 147 if ( $conf_bbcode_bar[6] == 1 ) 148 { 149 //Right 150 $patterns[] = '#\[right\](.*?)\[/right\]#is';151 $replacements[] = '</p><div align="right"><p>\\1</p></div><p>'; 152 } 153 if ( $conf_bbcode_bar[7] == 1 ) 154 { 155 //Olist 156 $patterns[] = '#\[ol\](.*?)\[/ol\]#is';157 $replacements[] = '<ol>\\1</ol>'; 158 } 159 if ( $conf_bbcode_bar[8] == 1 ) 160 { 161 //Ulist 162 $patterns[] = '#\[ul\](.*?)\[/ul\]#is';163 $replacements[] = '<ul>\\1</ul>'; 164 } 165 if (( $conf_bbcode_bar[7] == 1 ) || ( $conf_bbcode_bar[8] == 1 )) 166 { 167 //List 168 $patterns[] = '#\[li\](.*?)\[/li\]#is';169 $replacements[] = '<li>\\1</li>'; 170 } 171 if ( $conf_bbcode_bar[9] == 1 ) 172 { 173 // Quotes 174 $patterns[] = "#\[quote\](.*?)\[/quote\]#is";175 $replacements[] = '</p><blockquote><span style="font-size: 11px; line-height: normal">\\1</span></blockquote><p>'; 176 177 //Quotes with "user" 178 $patterns[] = "#\[quote="(.*?)"\](.*?)\[/quote\]#is";179 $replacements[] = '</p><blockquote><span style="font-size: 11px; line-height: normal"><b>\\1 : </b><br/>\\2</span></blockquote><p>'; 180 181 //Quotes with user 182 $patterns[] = "#\[quote=(.*?)\](.*?)\[/quote\]#is";183 $replacements[] = '</p><blockquote><span style="font-size: 11px; line-height: normal"><b>\\1 : </b><br/>\\2</span></blockquote><p>'; 184 } 185 if ( $conf_bbcode_bar[10] == 1 ) 186 { 187 //Images 188 $patterns[] = "#\[img\](.*?)\[/img\]#si";189 $replacements[] = "<img src='\\1' alt='' />"; 190 } 191 if ( $conf_bbcode_bar[11] == 1 ) 192 { 193 //[url]xxxx://www.zzzz.yyy[/url] 194 $patterns[] = "#\[url\]([\w]+?://[^ \"\n\r\t<]*?)\[/url\]#is";195 $replacements[] = '<a href="\\1" target="_blank">\\1</a>'; 196 197 //[url]www.zzzzz.yyy[/url] 198 $patterns[] = "#\[url\]((www|ftp)\.[^ \"\n\r\t<]*?)\[/url\]#is";199 $replacements[] = '<a href="http://\\1" target="_blank">\\1</a>'; 200 201 //[url=xxxx://www.zzzzz.yyy]ZzZzZ[/url] /*No I ain't sleeping yet*/ 202 $patterns[] = "#\[url=([\w]+?://[^ \"\n\r\t<]*?)\](.*?)\[/url\]#is";203 $replacements[] = '<a href="\\1" target="_blank">\\2</a>'; 204 205 // [url=www.zzzzz.yyy]zZzZz[/url] /*But I'm thinking about*/ 206 $patterns[] = "#\[url=((www|ftp)\.[^ \"\n\r\t<]*?)\](.*?)\[/url\]#is";207 $replacements[] = '<a href="http://\\1" target="_blank">\\2</a>'; 208 209 // [url="www.zzzzz.yyy"]zZzZz[/url] /* It's nearly 2 am now */ 210 $patterns[] = "#\[url="((www|ftp)\.[^ \n\r\t<]*?)"\](.*?)\[/url\]#is";211 $replacements[] = '<a href="http://\\1" target="_blank">\\3</a>'; 212 213 //[url="http://www.zzzzz.yyy"]zZzZz[/url] /*I really dislike commenting code*/ 214 $patterns[] = "#\[url="([\w]+?://[^ \n\r\t<]*?)"\](.*?)\[/url\]#is";215 $replacements[] = '<a href="\\1" target="_blank">\\2</a>'; 216 } 217 if ( $conf_bbcode_bar[12] == 1 ) 218 { 219 //[email]samvure@gmail.com[/email] 220 $patterns[] = "#\[email\]([a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#is";221 $replacements[] = '<a href="mailto:\\1">\\1</a>'; 222 } 223 if ( $conf_bbcode_bar[13] == 1 ) 224 { 225 //Size 226 $patterns[] = "#\[size=([1-2]?[0-9])\](.*?)\[/size\]#si";227 $replacements[] = '<span style="font-size: \\1px; line-height: normal">\\2</span>'; 228 } 229 if ( $conf_bbcode_bar[14] == 1 ) 230 { 231 //Colours 232 $patterns[] = "#\[color=(\#[0-9A-F]{6}|[a-z]+)\](.*?)\[/color\]#si";233 $replacements[] = '<span style="color: \\1">\\2</span>'; 234 } 235 100 global $conf; 101 102 $conf_bbcode_bar = explode("," , $conf['bbcode_bar']); 103 $str = CheckTags(nl2br($str)); 104 105 $patterns = array(); 106 $replacements = array(); 107 108 if ( $conf_bbcode_bar[0] == 1 ) 109 { 110 //Paragraph 111 $patterns[] = '#\[p\](.*?)\[/p\]#is'; 112 $replacements[] = '<p>\\1</p>'; 113 } 114 if ( $conf_bbcode_bar[1] == 1 ) 115 { 116 // Bold 117 $patterns[] = '#\[b\](.*?)\[/b\]#is'; 118 $replacements[] = '<strong>\\1</strong>'; 119 } 120 if ( $conf_bbcode_bar[2] == 1 ) 121 { 122 //Italic 123 $patterns[] = '#\[i\](.*?)\[/i\]#is'; 124 $replacements[] = '<em>\\1</em>'; 125 } 126 if ( $conf_bbcode_bar[3] == 1 ) 127 { 128 //Underline 129 $patterns[] = '#\[u\](.*?)\[\/u\]#is'; 130 $replacements[] = '<u>\\1</u>'; 131 } 132 if ( $conf_bbcode_bar[4] == 1 ) 133 { 134 //Strikethrough 135 $patterns[] = '#\[s\](.*?)\[/s\]#is'; 136 $replacements[] = '<del>\\1</del>'; 137 } 138 if ( $conf_bbcode_bar[5] == 1 ) 139 { 140 //Center 141 $patterns[] = '#\[center\](.*?)\[/center\]#is'; 142 $replacements[] = '<div align="center"><p>\\1</p></div>'; 143 } 144 if ( $conf_bbcode_bar[6] == 1 ) 145 { 146 //Right 147 $patterns[] = '#\[right\](.*?)\[/right\]#is'; 148 $replacements[] = '<div align="right"><p>\\1</p></div>'; 149 } 150 if ( $conf_bbcode_bar[7] == 1 ) 151 { 152 //Olist 153 $patterns[] = '#\[ol\](.*?)\[/ol\]#is'; 154 $replacements[] = '<ol>\\1</ol>'; 155 } 156 if ( $conf_bbcode_bar[8] == 1 ) 157 { 158 //Ulist 159 $patterns[] = '#\[ul\](.*?)\[/ul\]#is'; 160 $replacements[] = '<ul>\\1</ul>'; 161 } 162 if (( $conf_bbcode_bar[7] == 1 ) || ( $conf_bbcode_bar[8] == 1 )) 163 { 164 //List 165 $patterns[] = '#\[li\](.*?)\[/li\]#is'; 166 $replacements[] = '<li>\\1</li>'; 167 } 168 if ( $conf_bbcode_bar[9] == 1 ) 169 { 170 // Quotes 171 $patterns[] = "#\[quote\](.*?)\[/quote\]#is"; 172 $replacements[] = '<blockquote><span style="font-size: 11px; line-height: normal">\\1</span></blockquote>'; 173 174 //Quotes with "user" 175 $patterns[] = "#\[quote="(.*?)"\](.*?)\[/quote\]#is"; 176 $replacements[] = '<blockquote><span style="font-size: 11px; line-height: normal"><b>\\1 : </b><br/>\\2</span></blockquote>'; 177 178 //Quotes with user 179 $patterns[] = "#\[quote=(.*?)\](.*?)\[/quote\]#is"; 180 $replacements[] = '<blockquote><span style="font-size: 11px; line-height: normal"><b>\\1 : </b><br/>\\2</span></blockquote>'; 181 } 182 if ( $conf_bbcode_bar[10] == 1 ) 183 { 184 //Images 185 $patterns[] = "#\[img\](.*?)\[/img\]#si"; 186 $replacements[] = '<img src="\\1" />'; 187 } 188 if ( $conf_bbcode_bar[11] == 1 ) 189 { 190 //[url]xxxx://www.zzzz.yyy[/url] 191 $patterns[] = "#\[url\]([\w]+?://[^ \"\n\r\t<]*?)\[/url\]#is"; 192 $replacements[] = '<a href="\\1" target="_blank">\\1</a>'; 193 194 //[url]www.zzzzz.yyy[/url] 195 $patterns[] = "#\[url\]((www|ftp)\.[^ \"\n\r\t<]*?)\[/url\]#is"; 196 $replacements[] = '<a href="http://\\1" target="_blank">\\1</a>'; 197 198 //[url=xxxx://www.zzzzz.yyy]ZzZzZ[/url] 199 $patterns[] = "#\[url=([\w]+?://[^ \"\n\r\t<]*?)\](.*?)\[/url\]#is"; 200 $replacements[] = '<a href="\\1" target="_blank">\\2</a>'; 201 202 // [url=www.zzzzz.yyy]zZzZz[/url] 203 $patterns[] = "#\[url=((www|ftp)\.[^ \"\n\r\t<]*?)\](.*?)\[/url\]#is"; 204 $replacements[] = '<a href="http://\\1" target="_blank">\\2</a>'; 205 206 // [url="www.zzzzz.yyy"]zZzZz[/url] 207 $patterns[] = "#\[url="((www|ftp)\.[^ \n\r\t<]*?)"\](.*?)\[/url\]#is"; 208 $replacements[] = '<a href="http://\\1" target="_blank">\\3</a>'; 209 210 //[url="http://www.zzzzz.yyy"]zZzZz[/url] 211 $patterns[] = "#\[url="([\w]+?://[^ \n\r\t<]*?)"\](.*?)\[/url\]#is"; 212 $replacements[] = '<a href="\\1" target="_blank">\\2</a>'; 213 } 214 if ( $conf_bbcode_bar[12] == 1 ) 215 { 216 //[email]samvure@gmail.com[/email] 217 $patterns[] = "#\[email\]([a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#is"; 218 $replacements[] = '<a href="mailto:\\1">\\1</a>'; 219 } 220 if ( $conf_bbcode_bar[13] == 1 ) 221 { 222 //Size 223 $patterns[] = "#\[size=([1-2]?[0-9])\](.*?)\[/size\]#si"; 224 $replacements[] = '<span style="font-size: \\1px; line-height: normal">\\2</span>'; 225 } 226 if ( $conf_bbcode_bar[14] == 1 ) 227 { 228 //Colours 229 $patterns[] = "#\[color=(\#[0-9A-F]{6}|[a-z]+)\](.*?)\[/color\]#si"; 230 $replacements[] = '<span style="color: \\1">\\2</span>'; 231 } 232 233 return preg_replace($patterns, $replacements, $str); 236 234 } 237 235 ?> -
extensions/bbcode_bar/bbcode_bar.tpl
r3305 r9682 1 {known_script id="bbcodebar" src=$ROOT_URL|@cat:"plugins/bbcode_bar/bbcode.js"} 2 3 {html_head} 4 <link rel="stylesheet" type="text/css" href="{$ROOT_URL|@cat:"plugins/bbcode_bar/bbcode_bar.css"}" > 5 {/html_head} 1 {combine_script id="bbcodebar" path=$ROOT_URL|@cat:"plugins/bbcode_bar/bbcode.js"} 2 {combine_css path=$ROOT_URL|@cat:"plugins/bbcode_bar/bbcode_bar.css"} 6 3 7 4 <div id="outils" width="500pt"> … … 9 6 <tr> 10 7 {if isset($BBCode_bar_button_00)} 11 <td><img class="bbcbutton" title="{'p_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'p_help'|@translate}')" onclick="BBCcode('addComment','content',this)" name="p" src="{$repicon}/p.png" border="0"></td>8 <td><img class="bbcbutton" title="{'p_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'p_help'|@translate}')" onclick="BBCcode('{$form_name}','content',this)" name="p" src="{$repicon}/p.png" border="0"></td> 12 9 {/if} 13 10 {if isset($BBCode_bar_button_01)} 14 <td><img class="bbcbutton" title="{'b_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'b_help'|@translate}')" onclick="BBCcode('addComment','content',this)" name="b" src="{$repicon}/b.png" border="0"></td>11 <td><img class="bbcbutton" title="{'b_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'b_help'|@translate}')" onclick="BBCcode('{$form_name}','content',this)" name="b" src="{$repicon}/b.png" border="0"></td> 15 12 {/if} 16 13 {if isset($BBCode_bar_button_02)} 17 <td><img class="bbcbutton" title="{'i_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'i_help'|@translate}')" onclick="BBCcode('addComment','content',this)" name="i" src="{$repicon}/i.png" border="0"></td>14 <td><img class="bbcbutton" title="{'i_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'i_help'|@translate}')" onclick="BBCcode('{$form_name}','content',this)" name="i" src="{$repicon}/i.png" border="0"></td> 18 15 {/if} 19 16 {if isset($BBCode_bar_button_03)} 20 <td><img class="bbcbutton" title="{'u_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'u_help'|@translate}')" onclick="BBCcode('addComment','content',this)" name="u" src="{$repicon}/u.png" border="0"></td>17 <td><img class="bbcbutton" title="{'u_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'u_help'|@translate}')" onclick="BBCcode('{$form_name}','content',this)" name="u" src="{$repicon}/u.png" border="0"></td> 21 18 {/if} 22 19 {if isset($BBCode_bar_button_04)} 23 <td><img class="bbcbutton" title="{'s_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'s_help'|@translate}')" onclick="BBCcode('addComment','content',this)" name="s" src="{$repicon}/s.png" border="0"></td>20 <td><img class="bbcbutton" title="{'s_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'s_help'|@translate}')" onclick="BBCcode('{$form_name}','content',this)" name="s" src="{$repicon}/s.png" border="0"></td> 24 21 {/if} 22 23 {if isset($BBCode_bar_button_05) OR isset($BBCode_bar_button_06) OR isset($BBCode_bar_button_07) OR isset($BBCode_bar_button_08)} 25 24 <td> </td> 25 {/if} 26 26 27 {if isset($BBCode_bar_button_05)} 27 <td><img class="bbcbutton" title="{'center_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'center_help'|@translate}')" onclick="BBCcode('addComment','content',this)" name="center" src="{$repicon}/center.png" border="0"></td>28 <td><img class="bbcbutton" title="{'center_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'center_help'|@translate}')" onclick="BBCcode('{$form_name}','content',this)" name="center" src="{$repicon}/center.png" border="0"></td> 28 29 {/if} 29 30 {if isset($BBCode_bar_button_06)} 30 <td><img class="bbcbutton" title="{'right_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'right_help'|@translate}')" onclick="BBCcode('addComment','content',this)" name="right" src="{$repicon}/right.png" border="0"></td>31 <td><img class="bbcbutton" title="{'right_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'right_help'|@translate}')" onclick="BBCcode('{$form_name}','content',this)" name="right" src="{$repicon}/right.png" border="0"></td> 31 32 {/if} 32 33 {if isset($BBCode_bar_button_07)} 33 <td><img class="bbcbutton" title="{'ul_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'ul_help'|@translate}')" onclick="BBClist('addComment','content',this)" name="ul" src="{$repicon}/ul.png" border="0"></td>34 <td><img class="bbcbutton" title="{'ul_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'ul_help'|@translate}')" onclick="BBClist('{$form_name}','content',this)" name="ul" src="{$repicon}/ul.png" border="0"></td> 34 35 {/if} 35 36 {if isset($BBCode_bar_button_08)} 36 <td><img class="bbcbutton" title="{'ol_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'ol_help'|@translate}')" onclick="BBClist('addComment','content',this)" name="ol" src="{$repicon}/ol.png" border="0"></td>37 <td><img class="bbcbutton" title="{'ol_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'ol_help'|@translate}')" onclick="BBClist('{$form_name}','content',this)" name="ol" src="{$repicon}/ol.png" border="0"></td> 37 38 {/if} 39 40 {if isset($BBCode_bar_SmiliesSupport)} 38 41 <td> </td> 39 {if isset($BBCode_bar_SmiliesSupport)}40 42 <td>{$BBCode_bar_SmiliesSupport.SMILIESSUPPORT_PAGE}</td> 43 {/if} 44 45 {if isset($BBCode_bar_button_09) OR isset($BBCode_bar_button_10) OR isset($BBCode_bar_button_11) OR isset($BBCode_bar_button_12)} 41 46 <td> </td> 42 47 {/if} 48 43 49 {if isset($BBCode_bar_button_09)} 44 <td><img class="bbcbutton" title="{'quote_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'quote_help'|@translate}')" onclick="BBCcode('addComment','content',this)" name="quote" src="{$repicon}/quote.png" border="0"></td>50 <td><img class="bbcbutton" title="{'quote_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'quote_help'|@translate}')" onclick="BBCcode('{$form_name}','content',this)" name="quote" src="{$repicon}/quote.png" border="0"></td> 45 51 {/if} 46 52 {if isset($BBCode_bar_button_10)} 47 <td><img class="bbcbutton" title="{'img_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'img_help'|@translate}')" onclick="BBCcode('addComment','content',this)" name="img" src="{$repicon}/image.png" border="0"></td>53 <td><img class="bbcbutton" title="{'img_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'img_help'|@translate}')" onclick="BBCcode('{$form_name}','content',this)" name="img" src="{$repicon}/image.png" border="0"></td> 48 54 {/if} 49 55 {if isset($BBCode_bar_button_11)} 50 <td><img class="bbcbutton" title="{'url_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'url_help'|@translate}')" onclick="BBCurl('addComment','content')" name="url" src="{$repicon}/link.png" border="0"></td>56 <td><img class="bbcbutton" title="{'url_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'url_help'|@translate}')" onclick="BBCurl('{$form_name}','content')" name="url" src="{$repicon}/link.png" border="0"></td> 51 57 {/if} 52 58 {if isset($BBCode_bar_button_12)} 53 <td><img class="bbcbutton" title="{'mail_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'mail_help'|@translate}')" onclick="BBCwmi('addComment','content','email')" name="email" src="{$repicon}/mail.png" border="0"></td>59 <td><img class="bbcbutton" title="{'mail_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'mail_help'|@translate}')" onclick="BBCwmi('{$form_name}','content','email')" name="email" src="{$repicon}/mail.png" border="0"></td> 54 60 {/if} 61 62 {if isset($BBCode_bar_button_13) OR isset($BBCode_bar_button_14)} 55 63 <td> </td> 64 {/if} 65 56 66 {if isset($BBCode_bar_button_13)} 57 <td><select title="{'size_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'size_help'|@translate}')" onchange="BBCfs('addComment','content',this)" title="{'size_help'|@translate}">58 <option class="genmed" value=" {'tiny'|@translate}">{'tiny'|@translate}</option>59 <option class="genmed" value=" {'small'|@translate}">{'small'|@translate}</option>60 <option class="genmed" value=" {'normal'|@translate}" selected="selected" >{'normal'|@translate}</option>61 <option class="genmed" value=" {'large'|@translate}">{'large'|@translate}</option>62 <option class="genmed" value=" {'huge'|@translate}">{'huge'|@translate}</option>67 <td><select title="{'size_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'size_help'|@translate}')" onchange="BBCfs('{$form_name}','content',this)" title="{'size_help'|@translate}"> 68 <option class="genmed" value="7">{'tiny'|@translate}</option> 69 <option class="genmed" value="9">{'small'|@translate}</option> 70 <option class="genmed" value="12" selected="selected" >{'normal'|@translate}</option> 71 <option class="genmed" value="18">{'large'|@translate}</option> 72 <option class="genmed" value="24">{'huge'|@translate}</option> 63 73 </select> 64 74 </td> 65 75 {/if} 66 76 {if isset($BBCode_bar_button_14)} 67 <td><select title="{'fc_help'|@translate}" onmouseout="helpline(' addComment','helpbox', '{'help'|@translate}')" onmouseover="helpline('addComment','helpbox', '{'fc_help'|@translate}')" onchange="BBCfc('addComment','content',this)" title="{'fc_help'|@translate}">68 <option class="genmed" value="" style="color: black; background-color: rgb(250, 250, 250);" selected="selected" >{'default_help'|@translate}</option>69 <option class="genmed" value="maroon" style="color: maroon; background-color: rgb(250, 250, 250);">{'maroon_help'|@translate}</option>70 <option class="genmed" value="red" style="color: red; background-color: rgb(250, 250, 250);">{'red_help'|@translate}</option>71 <option class="genmed" value="orange" style="color: orange; background-color: rgb(250, 250, 250);">{'orange_help'|@translate}</option>72 <option class="genmed" value="brown" style="color: brown; background-color: rgb(250, 250, 250);">{'brown_help'|@translate}</option>73 <option class="genmed" value="yellow" style="color: yellow; background-color: rgb(250, 250, 250);">{'yellow_help'|@translate}</option>74 <option class="genmed" value="green" style="color: green; background-color: rgb(250, 250, 250);">{'green_help'|@translate}</option>75 <option class="genmed" value="olive" style="color: olive; background-color: rgb(250, 250, 250);">{'olive_help'|@translate}</option>76 <option class="genmed" value="cyan" style="color: cyan; background-color: rgb(250, 250, 250);">{'cyan_help'|@translate}</option>77 <option class="genmed" value="blue" style="color: blue; background-color: rgb(250, 250, 250);">{'blue_help'|@translate}</option>78 <option class="genmed" value="darkblue" style="color: darkblue; background-color: rgb(250, 250, 250);">{'darkblue_help'|@translate}</option>79 <option class="genmed" value="indigo" style="color: indigo; background-color: rgb(250, 250, 250);">{'indigo_help'|@translate}</option>80 <option class="genmed" value="violet" style="color: violet; background-color: rgb(250, 250, 250);">{'violet_help'|@translate}</option>81 <option class="genmed" value="white" style="color: white; background-color: rgb(250, 250, 250);">{'default_help'|@translate}</option>82 <option class="genmed" value="black" style="color: black; background-color: rgb(250, 250, 250);">{'white_help'|@translate}</option>77 <td><select title="{'fc_help'|@translate}" onmouseout="helpline('{$form_name}','helpbox', '{'help'|@translate}')" onmouseover="helpline('{$form_name}','helpbox', '{'fc_help'|@translate}')" onchange="BBCfc('{$form_name}','content',this)" title="{'fc_help'|@translate}"> 78 <option class="genmed" value="" style="color: black;" selected="selected" >{'default_help'|@translate}</option> 79 <option class="genmed" value="maroon" style="color: maroon;">{'maroon_help'|@translate}</option> 80 <option class="genmed" value="red" style="color: red;">{'red_help'|@translate}</option> 81 <option class="genmed" value="orange" style="color: orange;">{'orange_help'|@translate}</option> 82 <option class="genmed" value="brown" style="color: brown;">{'brown_help'|@translate}</option> 83 <option class="genmed" value="yellow" style="color: yellow; background-color:inherit;">{'yellow_help'|@translate}</option> 84 <option class="genmed" value="green" style="color: green;">{'green_help'|@translate}</option> 85 <option class="genmed" value="olive" style="color: olive;">{'olive_help'|@translate}</option> 86 <option class="genmed" value="cyan" style="color: cyan;">{'cyan_help'|@translate}</option> 87 <option class="genmed" value="blue" style="color: blue;">{'blue_help'|@translate}</option> 88 <option class="genmed" value="darkblue" style="color: darkblue;">{'darkblue_help'|@translate}</option> 89 <option class="genmed" value="indigo" style="color: indigo;">{'indigo_help'|@translate}</option> 90 <option class="genmed" value="violet" style="color: violet;">{'violet_help'|@translate}</option> 91 <option class="genmed" value="white" style="color: white; background-color:inherit;">{'white_help'|@translate}</option> 92 <option class="genmed" value="black" style="color: black;">{'black_help'|@translate}</option> 83 93 </select> 84 94 </td> -
extensions/bbcode_bar/bbcode_bar_admin.tpl
r3305 r9682 1 {html_head} 2 <link rel="stylesheet" type="text/css" href="{$ROOT_URL|@cat:"plugins/bbcode_bar/bbcode_bar.css"}" > 3 {/html_head} 1 {combine_css path=$ROOT_URL|@cat:"plugins/bbcode_bar/bbcode_bar.css"} 4 2 5 3 <div class="titrePage"> 6 4 <h2>BBCode Bar</h2> 7 5 </div> 8 <form method="post" action="" class="properties" ENCTYPE="multipart/form-data"> 9 < div align="center">6 7 <form method="post" action="" class="properties" ENCTYPE="multipart/form-data"> 10 8 <fieldset> 11 <legend>{'admin_liste'|@translate}</legend> 12 <UL> 13 <LI><input type="checkbox" name="chkb00" {$CHKB00_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/p.png" border="0"> <img src="plugins/bbcode_bar/icon/p1.png" border="0"> {'p_help'|@translate}</LI> 14 <LI><input type="checkbox" name="chkb01" {$CHKB01_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/b.png" border="0"> <img src="plugins/bbcode_bar/icon/b1.png" border="0"> {'b_help'|@translate}</LI> 15 <LI><input type="checkbox" name="chkb02" {$CHKB02_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/i.png" border="0"> <img src="plugins/bbcode_bar/icon/i1.png" border="0"> {'i_help'|@translate}</LI> 16 <LI><input type="checkbox" name="chkb03" {$CHKB03_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/u.png" border="0"> <img src="plugins/bbcode_bar/icon/u1.png" border="0"> {'u_help'|@translate}</LI> 17 <LI><input type="checkbox" name="chkb04" {$CHKB04_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/s.png" border="0"> <img src="plugins/bbcode_bar/icon/s1.png" border="0"> {'s_help'|@translate}</LI> 18 <LI><input type="checkbox" name="chkb05" {$CHKB05_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/center.png" border="0"> <img src="plugins/bbcode_bar/icon/center1.png" border="0"> {'center_help'|@translate}</LI> 19 <LI><input type="checkbox" name="chkb06" {$CHKB06_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/right.png" border="0"> <img src="plugins/bbcode_bar/icon/right1.png" border="0"> {'right_help'|@translate}</LI> 20 <LI><input type="checkbox" name="chkb07" {$CHKB07_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/ul.png" border="0"> <img src="plugins/bbcode_bar/icon/ul1.png" border="0"> {'ul_help'|@translate}</LI> 21 <LI><input type="checkbox" name="chkb08" {$CHKB08_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/ol.png" border="0"> <img src="plugins/bbcode_bar/icon/ol1.png" border="0"> {'ol_help'|@translate}</LI> 22 <LI><input type="checkbox" name="chkb09" {$CHKB09_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/quote.png" border="0"> <img src="plugins/bbcode_bar/icon/quote1.png" border="0"> {'quote_help'|@translate}</LI> 23 <LI><input type="checkbox" name="chkb10" {$CHKB10_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/image.png" border="0"> <img src="plugins/bbcode_bar/icon/image1.png" border="0"> {'img_help'|@translate}</LI> 24 <LI><input type="checkbox" name="chkb11" {$CHKB11_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/link.png" border="0"> <img src="plugins/bbcode_bar/icon/link1.png" border="0"> {'url_help'|@translate}</LI> 25 <LI><input type="checkbox" name="chkb12" {$CHKB12_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/mail.png" border="0"> <img src="plugins/bbcode_bar/icon/mail1.png" border="0"> {'mail_help'|@translate}</LI> 26 <LI><input type="checkbox" name="chkb13" {$CHKB13_STATUS} value="1" /> {'size_help'|@translate}</LI> 27 <LI><input type="checkbox" name="chkb14" {$CHKB14_STATUS} value="1" /> {'fc_help'|@translate}</LI> 28 <LI><input type="checkbox" name="chkb15" {$CHKB15_STATUS} value="1" /> {'help'|@translate}</LI> 29 <!--<LI><input type="checkbox" name="chkb16" {$CHKB16_STATUS} value="1" /> {'preview'|@translate}</LI>--> 30 <LI>{'repicon'|@translate} : <input type="text" size="40" name="text17" value="{$TEXT17_STATUS}" /> </LI> 31 </UL> 9 <ul> 10 <li> 11 <span class="property">{'p_help'|@translate}</span> 12 <input type="checkbox" name="chkb00" {$CHKB00_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/p.png" border="0"> <img src="plugins/bbcode_bar/icon/p1.png" border="0"> 13 </li> 14 <li> 15 <span class="property">{'b_help'|@translate}</span> 16 <input type="checkbox" name="chkb01" {$CHKB01_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/b.png" border="0"> <img src="plugins/bbcode_bar/icon/b1.png" border="0"> 17 </li> 18 <li> 19 <span class="property">{'i_help'|@translate}</span> 20 <input type="checkbox" name="chkb02" {$CHKB02_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/i.png" border="0"> <img src="plugins/bbcode_bar/icon/i1.png" border="0"> 21 </li> 22 <li> 23 <span class="property">{'u_help'|@translate}</span> 24 <input type="checkbox" name="chkb03" {$CHKB03_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/u.png" border="0"> <img src="plugins/bbcode_bar/icon/u1.png" border="0"> 25 </li> 26 <li> 27 <span class="property">{'s_help'|@translate}</span> 28 <input type="checkbox" name="chkb04" {$CHKB04_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/s.png" border="0"> <img src="plugins/bbcode_bar/icon/s1.png" border="0"> 29 </li> 30 <li> 31 <span class="property">{'center_help'|@translate}</span> 32 <input type="checkbox" name="chkb05" {$CHKB05_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/center.png" border="0"> <img src="plugins/bbcode_bar/icon/center1.png" border="0"> 33 </li> 34 <li> 35 <span class="property">{'right_help'|@translate}</span> 36 <input type="checkbox" name="chkb06" {$CHKB06_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/right.png" border="0"> <img src="plugins/bbcode_bar/icon/right1.png" border="0"> 37 </li> 38 <li> 39 <span class="property">{'ul_help'|@translate}</span> 40 <input type="checkbox" name="chkb07" {$CHKB07_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/ul.png" border="0"> <img src="plugins/bbcode_bar/icon/ul1.png" border="0"> 41 </li> 42 <li> 43 <span class="property">{'ol_help'|@translate}</span> 44 <input type="checkbox" name="chkb08" {$CHKB08_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/ol.png" border="0"> <img src="plugins/bbcode_bar/icon/ol1.png" border="0"> 45 </li> 46 <li> 47 <span class="property">{'quote_help'|@translate}</span> 48 <input type="checkbox" name="chkb09" {$CHKB09_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/quote.png" border="0"> <img src="plugins/bbcode_bar/icon/quote1.png" border="0"> 49 </li> 50 <li> 51 <span class="property">{'img_help'|@translate}</span> 52 <input type="checkbox" name="chkb10" {$CHKB10_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/image.png" border="0"> <img src="plugins/bbcode_bar/icon/image1.png" border="0"> 53 </li> 54 <li> 55 <span class="property">{'url_help'|@translate}</span> 56 <input type="checkbox" name="chkb11" {$CHKB11_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/link.png" border="0"> <img src="plugins/bbcode_bar/icon/link1.png" border="0"> 57 </li> 58 <li> 59 <span class="property">{'mail_help'|@translate}</span> 60 <input type="checkbox" name="chkb12" {$CHKB12_STATUS} value="1" /> <img src="plugins/bbcode_bar/icon/mail.png" border="0"> <img src="plugins/bbcode_bar/icon/mail1.png" border="0"> 61 </li> 62 <li> 63 64 </li> 65 <li> 66 <span class="property">{'size_help'|@translate}</span> 67 <input type="checkbox" name="chkb13" {$CHKB13_STATUS} value="1" /> 68 </li> 69 <li> 70 <span class="property">{'fc_help'|@translate}</span> 71 <input type="checkbox" name="chkb14" {$CHKB14_STATUS} value="1" /> 72 </li> 73 <li> 74 <span class="property">{'help'|@translate}</span> 75 <input type="checkbox" name="chkb15" {$CHKB15_STATUS} value="1" /> 76 </li> 77 <li> 78 <span class="property">{'repicon'|@translate}</span> 79 <input type="text" size="40" name="text17" value="{$TEXT17_STATUS}" /> 80 </li> 81 </ul> 32 82 </fieldset> 33 <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" />34 </div>83 84 <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" /></p> 35 85 </form> -
extensions/bbcode_bar/icon/index.php
r3632 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 8 // | last update : $Date$ 9 // | last modifier : $Author$ 10 // | revision : $Revision$ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/index.php
r3632 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 8 // | last update : $Date$ 9 // | last modifier : $Author$ 10 // | revision : $Revision$ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/cs_CZ/index.php
r7787 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 8 // | last update : $Date$ 9 // | last modifier : $Author$ 10 // | revision : $Revision$ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/cs_CZ/plugin.lang.php
r7787 r9682 1 1 <?php 2 global $lang;3 4 $lang['admin_liste'] = "Seznam :";5 2 6 3 $lang['p_help'] = "Odstavec : [p]odstavec[/p]"; … … 21 18 22 19 $lang['size_help'] = "Velikost fontu : [size=X]text[/size]"; 23 $lang['tiny'] = "Drobná";24 $lang['small'] = "Malá";25 $lang['normal'] = "Normální";26 $lang['large'] = "Veliký";27 $lang['huge'] = "Obří";20 $lang['tiny'] = "Drobná"; 21 $lang['small'] = "Malá"; 22 $lang['normal'] = "Normální"; 23 $lang['large'] = "Veliký"; 24 $lang['huge'] = "Obří"; 28 25 29 $lang['fc_help'] = "Barva písma : [color=color]text[/color]";26 $lang['fc_help'] = "Barva písma : [color=color]text[/color]"; 30 27 $lang['default_help'] = "Defaultní"; 31 28 $lang['maroon_help'] = "Tmavě červená"; … … 44 41 $lang['black_help'] = "Černá"; 45 42 46 $lang['preview'] = "Náhled";47 48 43 $lang['help'] = "Nejjednodušeji: formátování může být aplikováno jen na označený text."; 49 44 50 45 $lang['repicon'] = "Složka ikon."; 51 52 $lang['bbcb_config_saved'] = "Konfigurace uložena"; 46 53 47 ?> -
extensions/bbcode_bar/language/de_DE/index.php
r7156 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id: index.php 3632 2009-07-19 08:45:36Z ddtddt $ 8 // | last update : $Date: 2009-07-19 10:45:36 +0200 (Sun, 19 Jul 2009) $ 9 // | last modifier : $Author: ddtddt $ 10 // | revision : $Revision: 3632 $ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/de_DE/plugin.lang.php
r7156 r9682 1 1 <?php 2 global $lang;3 4 $lang['admin_liste'] = "Liste :";5 2 6 3 $lang['p_help'] = "Paragraph : [p]Paragraph[/p]"; … … 10 7 $lang['s_help'] = "Durchgestrichen : [s]durchgestrichen [/s]"; 11 8 12 $lang['center_help'] 13 $lang['right_help'] 9 $lang['center_help'] = "Mittig : [center]mittig[/center]"; 10 $lang['right_help'] = "Rechts : [right]rechts[/right]"; 14 11 $lang['ul_help'] = "Un-nummerierte Liste : [ul][li]Element[/li][/ul]"; 15 12 $lang['ol_help'] = "Nummerierte Liste : [ol][li]Element[/li][/ol]"; 16 13 17 $lang['quote_help'] 14 $lang['quote_help'] = "Zitat : [quote]Zitat[/quote]"; 18 15 $lang['img_help'] = "Bild : [img]Bild[/img]"; 19 16 $lang['url_help'] = "URL : [url=URL]Titel[/url]"; … … 28 25 29 26 $lang['fc_help'] = "Textfarbe : [color=farbe]Text[/color]"; 30 $lang['default_help'] 31 $lang['maroon_help'] 27 $lang['default_help'] = "Standard"; 28 $lang['maroon_help'] = "Dunkelrot"; 32 29 $lang['red_help'] = "Rot"; 33 $lang['orange_help'] 34 $lang['brown_help'] 35 $lang['yellow_help'] 36 $lang['green_help'] 37 $lang['olive_help'] 30 $lang['orange_help'] = "Orange"; 31 $lang['brown_help'] = "Braun"; 32 $lang['yellow_help'] = "Gelb"; 33 $lang['green_help'] = "Grün"; 34 $lang['olive_help'] = "Olive"; 38 35 $lang['cyan_help'] = "Cyan"; 39 36 $lang['blue_help'] = "Blau"; 40 $lang['darkblue_help'] = "Dunkelblau"; 41 $lang['indigo_help'] = "Indigo"; 42 $lang['violet_help'] = "Violett"; 43 $lang['white_help'] = "Weiß"; 44 $lang['black_help'] = "Schwarz"; 45 46 $lang['preview'] = "Vorschau"; 47 37 $lang['darkblue_help'] = "Dunkelblau"; 38 $lang['indigo_help'] = "Indigo"; 39 $lang['violet_help'] = "Violett"; 40 $lang['white_help'] = "Weiß"; 41 $lang['black_help'] = "Schwarz"; 42 48 43 $lang['help'] = "Ein Kniff: Das Format kann dem ausgewählten Text zugewiesen werden."; 49 44 50 45 $lang['repicon'] = "Iconverzeichnis."; 51 52 $lang['bbcb_config_saved'] = "Konfiguration gespeichert"; 46 53 47 ?> -
extensions/bbcode_bar/language/en_UK/index.php
r3632 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 8 // | last update : $Date$ 9 // | last modifier : $Author$ 10 // | revision : $Revision$ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/en_UK/plugin.lang.php
r7157 r9682 1 1 <?php 2 global $lang; 3 4 $lang['admin_liste'] = "List :"; 5 2 6 3 $lang['p_help'] = "Paragraph : [p]Paragraph[/p]"; 7 4 $lang['b_help'] = "Bold : [b]bold[/b]"; … … 21 18 22 19 $lang['size_help'] = "Font size : [size=X]text[/size]"; 23 $lang['tiny'] = "Tiny";24 $lang['small'] = "Small";25 $lang['normal'] = "Normal";26 $lang['large'] = "Large";27 $lang['huge'] = "Huge";20 $lang['tiny'] = "Tiny"; 21 $lang['small'] = "Small"; 22 $lang['normal'] = "Normal"; 23 $lang['large'] = "Large"; 24 $lang['huge'] = "Huge"; 28 25 29 $lang['fc_help'] = "Font color : [color=color]text[/color]";26 $lang['fc_help'] = "Font color : [color=color]text[/color]"; 30 27 $lang['default_help'] = "Default"; 31 28 $lang['maroon_help'] = "Maroon"; … … 44 41 $lang['black_help'] = "Black"; 45 42 46 $lang['preview'] = "Preview";47 48 43 $lang['help'] = "Easy way: A formatting can be applied to the selected text."; 49 44 50 45 $lang['repicon'] = "Icons directory."; 51 52 $lang['bbcb_config_saved'] = "Configuration saved"; 46 53 47 ?> -
extensions/bbcode_bar/language/es_ES/index.php
r3632 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 8 // | last update : $Date$ 9 // | last modifier : $Author$ 10 // | revision : $Revision$ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/es_ES/plugin.lang.php
r7924 r9682 1 1 <?php 2 global $lang;3 2 4 $lang['admin_liste'] = "Lista :"; 3 $lang['p_help'] = "Párrafo : [p]párrafo[/p]"; 4 $lang['b_help'] = "Gordo : [b]gordo[/b]"; 5 $lang['i_help'] = "Itálico : [i]itálico[/i]"; 6 $lang['u_help'] = "Subrayado : [u]subrayado[/u]"; 7 $lang['s_help'] = "Tachado : [s]tachado[/s]"; 5 8 6 $lang['p_help'] = "Párrafo : [p]párrafo[/p]"; 7 $lang['b_help'] = "Gordo : [b]gordo[/b]"; 8 $lang['i_help'] = "Itálico : [i]itálico[/i]"; 9 $lang['u_help'] = "Subrayado : [u]subrayado[/u]"; 10 $lang['s_help'] = "Tachado : [s]tachado[/s]"; 9 $lang['center_help'] = "Centrado : [center]centrado[/center]"; 10 $lang['right_help'] = "Derecha : [right]derecha[/right]"; 11 $lang['ul_help'] = "Lista : [ul][li]elemento[/li][/ul]"; 12 $lang['ol_help'] = "Lista Numerada : [ol][li]elemento[/li][/ol]"; 11 13 12 $lang['center_help'] = "Centrado : [center]centrado[/center]";13 $lang['right_help'] = "Derecha : [right]derecha[/right]";14 $lang['ul_help'] = "Lista : [ul][li]elemento[/li][/ul]";15 $lang['ol_help'] = "Lista Numerada : [ol][li]elemento[/li][/ol]";14 $lang['quote_help'] = "Citada : [quote]Citación[/quote]"; 15 $lang['img_help'] = "Imagen : [img]Imagen[/img]"; 16 $lang['url_help'] = "URL : [url=Page URL]Nombre de la página[/url]"; 17 $lang['mail_help'] = "Email : [email]Email[/email]"; 16 18 17 $lang['quote_help'] = "Citada : [quote]Citación[/quote]"; 18 $lang['img_help'] = "Imagen : [img]Imagen[/img]"; 19 $lang['url_help'] = "URL : [url=Page URL]Nombre de la página[/url]"; 20 $lang['mail_help'] = "Email : [email]Email[/email]"; 19 $lang['size_help'] = "Tamaño carácteres : [size=X]texto[/size]"; 20 $lang['tiny'] = "Todo pequeño"; 21 $lang['small'] = "Pequeño"; 22 $lang['normal'] = "Normal"; 23 $lang['large'] = "Grande"; 24 $lang['huge'] = "Muy grande"; 21 25 22 $lang['size_help'] = "Tamaño carácteres : [size=X]texto[/size]"; 23 $lang['tiny'] = "Todo pequeño"; 24 $lang['small'] = "Pequeño"; 25 $lang['normal'] = "Normal"; 26 $lang['large'] = "Grande"; 27 $lang['huge'] = "Muy grande"; 26 $lang['fc_help'] = "Color de los carácteres : [color=color]texto[/color]"; 27 $lang['default_help'] = "Defecto"; 28 $lang['maroon_help'] = "Rojo oscuro"; 29 $lang['red_help'] = "Rojo"; 30 $lang['orange_help'] = "Naranja"; 31 $lang['brown_help'] = "Castaño"; 32 $lang['yellow_help'] = "amarillo"; 33 $lang['green_help'] = "Verde"; 34 $lang['olive_help'] = "Aceituna"; 35 $lang['cyan_help'] = "Cian"; 36 $lang['blue_help'] = "Azul"; 37 $lang['darkblue_help']= "Azul oscuro"; 38 $lang['indigo_help'] = "Índigo"; 39 $lang['violet_help'] = "Morado"; 40 $lang['white_help'] = "Blanco"; 41 $lang['black_help'] = "Negro"; 28 42 29 $lang['fc_help'] = "Color de los carácteres : [color=color]texto[/color]"; 30 $lang['default_help'] = "Defecto"; 31 $lang['maroon_help'] = "Rojo oscuro"; 32 $lang['red_help'] = "Rojo"; 33 $lang['orange_help'] = "Naranja"; 34 $lang['brown_help'] = "Castaño"; 35 $lang['yellow_help'] = "amarillo"; 36 $lang['green_help'] = "Verde"; 37 $lang['olive_help'] = "Aceituna"; 38 $lang['cyan_help'] = "Cian"; 39 $lang['blue_help'] = "Azul"; 40 $lang['darkblue_help'] = "Azul oscuro"; 41 $lang['indigo_help'] = "Índigo"; 42 $lang['violet_help'] = "Morado"; 43 $lang['white_help'] = "Blanco"; 44 $lang['black_help'] = "Negro"; 43 $lang['help'] = "Astucia: un formato puede ser aplicado sobre el texto seleccionado."; 45 44 46 $lang['preview'] = "Visualizar";45 $lang['repicon'] = "Repertorio de los iconos."; 47 46 48 $lang['help'] = "Astucia: un formato puede ser aplicado sobre el texto seleccionado.";49 50 $lang['repicon'] = "Repertorio de los iconos.";51 52 $lang['bbcb_config_saved'] = "Configuración registrada";53 47 ?> -
extensions/bbcode_bar/language/fr_FR/index.php
r3632 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 8 // | last update : $Date$ 9 // | last modifier : $Author$ 10 // | revision : $Revision$ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/fr_FR/plugin.lang.php
r3305 r9682 1 1 <?php 2 global $lang;3 4 $lang['admin_liste'] = "Liste :";5 2 6 3 $lang['p_help'] = "Paragraphe : [p]Paragraphe[/p]"; … … 15 12 $lang['ol_help'] = "Liste Numéroté : [ol][li]élément[/li][/ol]"; 16 13 17 $lang['quote_help'] = "Cit é: [quote]Citation[/quote]";14 $lang['quote_help'] = "Citation : [quote]Citation[/quote]"; 18 15 $lang['img_help'] = "Image : [img]Image[/img]"; 19 16 $lang['url_help'] = "URL : [url=Page URL]Nom de la page[/url]"; … … 21 18 22 19 $lang['size_help'] = "Taille des caractères : [size=X]texte[/size]"; 23 $lang['tiny'] = "Tout petit";24 $lang['small'] = "Petit";25 $lang['normal'] = "Normale";26 $lang['large'] = "Grand";27 $lang['huge'] = "Très grand";20 $lang['tiny'] = "Tout petit"; 21 $lang['small'] = "Petit"; 22 $lang['normal'] = "Normale"; 23 $lang['large'] = "Grand"; 24 $lang['huge'] = "Très grand"; 28 25 29 $lang['fc_help'] = "Couleur des caractères : [color=couleur]texte[/color]";26 $lang['fc_help'] = "Couleur des caractères : [color=couleur]texte[/color]"; 30 27 $lang['default_help'] = "Défaut"; 31 28 $lang['maroon_help'] = "Rouge foncé"; … … 37 34 $lang['olive_help'] = "Olive"; 38 35 $lang['cyan_help'] = "Cyan"; 39 $lang['blue_help'] = "Bleu e";40 $lang['darkblue_help'] = "Bleu eFoncé";36 $lang['blue_help'] = "Bleu"; 37 $lang['darkblue_help'] = "Bleu Foncé"; 41 38 $lang['indigo_help'] = "Indigo"; 42 39 $lang['violet_help'] = "Violet"; 43 40 $lang['white_help'] = "Blanc"; 44 41 $lang['black_help'] = "Noir"; 45 46 $lang['preview'] = "Prévisualiser"; 47 42 48 43 $lang['help'] = "Astuce : Une mise en forme peut être appliquée au texte sélectionné."; 49 44 50 $lang['repicon'] = "Répertoire des ic ons.";45 $lang['repicon'] = "Répertoire des icônes."; 51 46 52 $lang['bbcb_config_saved'] = "Configuration enregistrée";53 47 ?> -
extensions/bbcode_bar/language/hu_HU/index.php
r6352 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id: index.php 3632 2009-07-19 08:45:36Z ddtddt $ 8 // | last update : $Date: 2009-07-19 10:45:36 +0200 (v, 19 júl 2009) $ 9 // | last modifier : $Author: ddtddt $ 10 // | revision : $Revision: 3632 $ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/hu_HU/plugin.lang.php
r6352 r9682 1 1 <?php 2 global $lang;3 4 $lang['admin_liste'] = "BB kód lista :";5 2 6 3 $lang['p_help'] = "Új bekezdés : [p]bekezdés[/p]"; … … 21 18 22 19 $lang['size_help'] = "Betűméret : [size=X]betű mérete[/size]"; 23 $lang['tiny'] = "Apró";24 $lang['small'] = "Kicsi";25 $lang['normal'] = "Normál";26 $lang['large'] = "Közepes";27 $lang['huge'] = "Nagy";20 $lang['tiny'] = "Apró"; 21 $lang['small'] = "Kicsi"; 22 $lang['normal'] = "Normál"; 23 $lang['large'] = "Közepes"; 24 $lang['huge'] = "Nagy"; 28 25 29 $lang['fc_help'] = "Betűszín : [color=szín]betű színe[/color]";26 $lang['fc_help'] = "Betűszín : [color=szín]betű színe[/color]"; 30 27 $lang['default_help'] = "Alapértelmezett"; 31 28 $lang['maroon_help'] = "Gesztenyebarna"; … … 43 40 $lang['white_help'] = "Fehér"; 44 41 $lang['black_help'] = "Fekete"; 45 46 $lang['preview'] = "Megtekint"; 47 42 48 43 $lang['help'] = "Automatikus használat: A kód a kijelölt szövegre alkalmazható."; 49 44 50 45 $lang['repicon'] = "Ikon könyvtár."; 51 46 52 $lang['bbcb_config_saved'] = "Beállítások mentése sikeres";53 47 ?> -
extensions/bbcode_bar/language/index.php
r3632 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 8 // | last update : $Date$ 9 // | last modifier : $Author$ 10 // | revision : $Revision$ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/it_IT/index.php
r3632 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 8 // | last update : $Date$ 9 // | last modifier : $Author$ 10 // | revision : $Revision$ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/it_IT/plugin.lang.php
r5694 r9682 1 1 <?php 2 global $lang; 3 4 $lang['admin_liste'] = "Elenco :"; 5 2 6 3 $lang['p_help'] = "Paragrafo : [p]paragrafo[/p]"; 7 4 $lang['b_help'] = "Grassetto : [b]grassetto[/b]"; … … 21 18 22 19 $lang['size_help'] = "Dimensione testo : [size=X]testo[/size]"; 23 $lang['tiny'] = "Piccolissimo";24 $lang['small'] = "Piccolo";25 $lang['normal'] = "Normale";26 $lang['large'] = "Grande";27 $lang['huge'] = "Grandissimo";20 $lang['tiny'] = "Piccolissimo"; 21 $lang['small'] = "Piccolo"; 22 $lang['normal'] = "Normale"; 23 $lang['large'] = "Grande"; 24 $lang['huge'] = "Grandissimo"; 28 25 29 $lang['fc_help'] = "Colore del testo : [color=couleur]testo[/color]";26 $lang['fc_help'] = "Colore del testo : [color=couleur]testo[/color]"; 30 27 $lang['default_help'] = "Default"; 31 28 $lang['maroon_help'] = "Rosso scuro"; … … 44 41 $lang['black_help'] = "Nero"; 45 42 46 $lang['preview'] = "Previsualisare";47 48 43 $lang['help'] = "Trucco : Un formattaggio può essere applicato ad un testo selezionato."; 49 44 50 45 $lang['repicon'] = "Directory delle icone"; 51 52 $lang['bbcb_config_saved'] = "Configurazione registrata"; 46 53 47 ?> -
extensions/bbcode_bar/language/lv_LV/index.php
r7854 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 8 // | last update : $Date$ 9 // | last modifier : $Author$ 10 // | revision : $Revision$ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/lv_LV/plugin.lang.php
r7854 r9682 1 1 <?php 2 global $lang;3 $lang['admin_liste'] = "Saraksts :";4 2 5 6 7 8 9 3 $lang['p_help'] = "Paragrāfs : [p]Paragraph[/p]"; 4 $lang['b_help'] = "Boldēts : [b]bold[/b]"; 5 $lang['i_help'] = "Sīpraksts : [i]italic[/i]"; 6 $lang['u_help'] = "Pasvītrots : [u]underline[/u]"; 7 $lang['s_help'] = "Svītrains : [s]striped [/s]"; 10 8 11 12 13 14 9 $lang['center_help'] = "Centrēts : [center]center[/center]"; 10 $lang['right_help'] = "Līdzināts pa labi : [right]right[/right]"; 11 $lang['ul_help'] = "Nesakārtots saraksts : [ul][li]element[/li][/ul]"; 12 $lang['ol_help'] = "Sakārtots Saraksts : [ol][li]element[/li][/ol]"; 15 13 16 17 18 19 14 $lang['quote_help'] = "Pēdiņas : [quote]quote[/quote]"; 15 $lang['img_help'] = "Att : [img]img[/img]"; 16 $lang['url_help'] = "URL : [url=URL]Title[/url]"; 17 $lang['mail_help'] = "E-pasts : [email]Email[/email]"; 20 18 21 22 23 24 25 26 19 $lang['size_help'] = "Fonta lielums : [size=X]text[/size]"; 20 $lang['tiny'] = "Sīks"; 21 $lang['small'] = "Mazs"; 22 $lang['normal'] = "Normāls"; 23 $lang['large'] = "Liels"; 24 $lang['huge'] = "Milzīgs"; 27 25 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 26 $lang['fc_help'] = "Fonta krāsa : [color=color]text[/color]"; 27 $lang['default_help'] = "Pēc noklusējuma"; 28 $lang['maroon_help'] = "Kastaņbrūna"; 29 $lang['red_help'] = "Sarkana"; 30 $lang['orange_help'] = "Oranža"; 31 $lang['brown_help'] = "Brūna"; 32 $lang['yellow_help'] = "Dzeltena"; 33 $lang['green_help'] = "Zaļa"; 34 $lang['olive_help'] = "Olīva"; 35 $lang['cyan_help'] = "Ciāna"; 36 $lang['blue_help'] = "Zila"; 37 $lang['darkblue_help'] = "Tumši Zila"; 38 $lang['indigo_help'] = "Indigo"; 39 $lang['violet_help'] = "Violēta"; 40 $lang['white_help'] = "Balta"; 41 $lang['black_help'] = "Melna"; 44 42 45 $lang['preview'] = "Priekšskats"; 43 $lang['help'] = "Pavisam viegli: Formatējumu iespējams pielietot tieši izvēlētajam tekstam."; 44 45 $lang['repicon'] = "Ikonu mape."; 46 46 47 $lang['help'] = "Pavisam viegli: Formatējumu iespējams pielietot tieši izvēlētajam tekstam.";48 $lang['repicon'] = "Ikonu mape.";49 $lang['bbcb_config_saved'] = "Konfigurācija saglabāta";50 47 ?> -
extensions/bbcode_bar/language/no_NO/index.php
r9082 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 8 // | last update : $Date$ 9 // | last modifier : $Author$ 10 // | revision : $Revision$ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/no_NO/plugin.lang.php
r9082 r9682 1 1 <?php 2 global $lang;3 4 $lang['admin_liste'] = "Liste :";5 2 6 $lang['p_help'] = "Paragraf : [p]Paragraf[/p]";7 $lang['b_help'] = "Fet : [b]Fet[/b]";8 $lang['i_help'] = "Italic : [i]italic[/i]";9 $lang['u_help'] = "Understreket : [u]understreket[/u]";10 $lang['s_help'] = "Stripet : [s]stripet [/s]";3 $lang['p_help'] = "Paragraf : [p]Paragraf[/p]"; 4 $lang['b_help'] = "Fet : [b]Fet[/b]"; 5 $lang['i_help'] = "Italic : [i]italic[/i]"; 6 $lang['u_help'] = "Understreket : [u]understreket[/u]"; 7 $lang['s_help'] = "Stripet : [s]stripet [/s]"; 11 8 12 $lang['center_help'] = "Senter : [center]senter[/center]"; 13 $lang['right_help'] = "Høyre : [right]høyre[/right]"; 14 $lang['ul_help'] = "Uordnet Liste : [ul][li]element[/li][/ul]"; 15 $lang['ol_help'] = "Ordnet Liste : [ol][li]element[/li][/ol]"; 16 $lang['quote_help'] = "Spørring : [quote]spørring[/quote]"; 17 $lang['img_help'] = "Img : [img]img[/img]"; 18 $lang['url_help'] = "URL : [url=URL]Tittel[/url]"; 19 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 9 $lang['center_help'] = "Senter : [center]senter[/center]"; 10 $lang['right_help'] = "Høyre : [right]høyre[/right]"; 11 $lang['ul_help'] = "Uordnet Liste : [ul][li]element[/li][/ul]"; 12 $lang['ol_help'] = "Ordnet Liste : [ol][li]element[/li][/ol]"; 20 13 21 $lang['size_help'] = "Skrift størrelse : [size=X]tekst[/size]"; 22 $lang['tiny'] = "Mini"; 23 $lang['small'] = "Liten"; 24 $lang['normal'] = "Normal"; 25 $lang['large'] = "Stor"; 26 $lang['huge'] = "Mega"; 14 $lang['quote_help'] = "Spørring : [quote]spørring[/quote]"; 15 $lang['img_help'] = "Img : [img]img[/img]"; 16 $lang['url_help'] = "URL : [url=URL]Tittel[/url]"; 17 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 27 18 28 $lang['fc_help'] = "Font farge : [color=color]tekst[/color]"; 29 $lang['default_help'] = "Standard"; 30 $lang['maroon_help'] = "Maroon"; 31 $lang['red_help'] = "Rød"; 32 $lang['orange_help'] = "Orange"; 33 $lang['brown_help'] = "Brun"; 34 $lang['yellow_help'] = "Gul"; 35 $lang['green_help'] = "Grønn"; 36 $lang['olive_help'] = "Oliven"; 37 $lang['cyan_help'] = "Cyan"; 38 $lang['blue_help'] = "Blå"; 39 $lang['darkblue_help'] = "Mørk Blå"; 40 $lang['indigo_help'] = "Indigo"; 41 $lang['violet_help'] = "Fiolett"; 42 $lang['white_help'] = "Vit"; 43 $lang['black_help'] = "Svart"; 19 $lang['size_help'] = "Skrift størrelse : [size=X]tekst[/size]"; 20 $lang['tiny'] = "Mini"; 21 $lang['small'] = "Liten"; 22 $lang['normal'] = "Normal"; 23 $lang['large'] = "Stor"; 24 $lang['huge'] = "Mega"; 44 25 45 $lang['preview'] = "Forhåndsvis"; 26 $lang['fc_help'] = "Font farge : [color=color]tekst[/color]"; 27 $lang['default_help'] = "Standard"; 28 $lang['maroon_help'] = "Maroon"; 29 $lang['red_help'] = "Rød"; 30 $lang['orange_help'] = "Orange"; 31 $lang['brown_help'] = "Brun"; 32 $lang['yellow_help'] = "Gul"; 33 $lang['green_help'] = "Grønn"; 34 $lang['olive_help'] = "Oliven"; 35 $lang['cyan_help'] = "Cyan"; 36 $lang['blue_help'] = "Blå"; 37 $lang['darkblue_help'] = "Mørk Blå"; 38 $lang['indigo_help'] = "Indigo"; 39 $lang['violet_help'] = "Fiolett"; 40 $lang['white_help'] = "Vit"; 41 $lang['black_help'] = "Svart"; 46 42 47 $lang['help'] = "Enkel måte: En formatering kan gjøres på den valgte teksten.";43 $lang['help'] = "Enkel måte: En formatering kan gjøres på den valgte teksten."; 48 44 49 $lang['repicon'] = "Ikon mappe.";45 $lang['repicon'] = "Ikon mappe."; 50 46 51 $lang['bbcb_config_saved'] = "Konfigurasjon lagret";52 47 ?> -
extensions/bbcode_bar/language/ru_RU/index.php
r7484 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 8 // | last update : $Date$ 9 // | last modifier : $Author$ 10 // | revision : $Revision$ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/ru_RU/plugin.lang.php
r7484 r9682 1 1 <?php 2 global $lang; /*é*/3 4 $lang['admin_liste'] = "Список:";5 2 6 3 $lang['p_help'] = "Параграф: [p]параграф[/p]"; … … 21 18 22 19 $lang['size_help'] = "Размер шрифта: [size=X]текст[/size]"; 23 $lang['tiny'] = "Крошечный";24 $lang['small'] = "Маленький";25 $lang['normal'] = "Нормальный";26 $lang['large'] = "Большой";27 $lang['huge'] = "Громадный";20 $lang['tiny'] = "Крошечный"; 21 $lang['small'] = "Маленький"; 22 $lang['normal'] = "Нормальный"; 23 $lang['large'] = "Большой"; 24 $lang['huge'] = "Громадный"; 28 25 29 $lang['fc_help'] = "Цвет шрифта : [color=color]текст[/color]";26 $lang['fc_help'] = "Цвет шрифта : [color=color]текст[/color]"; 30 27 $lang['default_help'] = "По умолчанию"; 31 28 $lang['maroon_help'] = "Бордовый"; … … 44 41 $lang['black_help'] = "Черный"; 45 42 46 $lang['preview'] = "Предпросмотр";47 48 43 $lang['help'] = "Легко: Форматирование может быть применено к выбранному тексту."; 49 44 50 45 $lang['repicon'] = "Директория с иконками"; 51 46 52 $lang['bbcb_config_saved'] = "Конфигурация сохранена";53 47 ?> -
extensions/bbcode_bar/language/sk_SK/index.php
r7201 r9682 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based photo gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id$ 8 // | last update : $Date$ 9 // | last modifier : $Author$ 10 // | revision : $Revision$ 5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/bbcode_bar/language/sk_SK/plugin.lang.php
r7201 r9682 1 1 <?php 2 global $lang;3 4 $lang['admin_liste'] = "Zoznam:";5 2 6 $lang['p_help'] = "Písmo : [p]Písmo[/p]";7 $lang['b_help'] = "Tučné : tučné";8 $lang['i_help'] = "Kurzíva : kurzíva";9 $lang['u_help'] = "Podčiarknutie : podčiarknutie";10 $lang['s_help'] = "Prečiarknuté : [s]prečiarknuté [/s]";11 12 $lang['center_help'] = "Centrovať : [center]centrovať[/center]";13 $lang['right_help'] = "Vpravo : [right]vpravo[/right]";14 $lang['ul_help'] = "Nezoradený zoznam : [ul][li]element[/li][/ul]";15 $lang['ol_help'] = "Zoradený zoznam : [ol][li]element[/li][/ol]";16 17 $lang['quote_help'] = "Citácia : [quote]Citácia[/quote]";18 $lang['img_help'] = "Img : [img]img[/img]";19 $lang['url_help'] = "URL : [url=Page URL]Názov[/url]";20 $lang['mail_help'] = "E-mail : [email]Email[/email]";3 $lang['p_help'] = "Písmo : [p]Písmo[/p]"; 4 $lang['b_help'] = "Tučné : tučné"; 5 $lang['i_help'] = "Kurzíva : kurzíva"; 6 $lang['u_help'] = "Podčiarknutie : podčiarknutie"; 7 $lang['s_help'] = "Prečiarknuté : [s]prečiarknuté [/s]"; 8 9 $lang['center_help'] = "Centrovať : [center]centrovať[/center]"; 10 $lang['right_help'] = "Vpravo : [right]vpravo[/right]"; 11 $lang['ul_help'] = "Nezoradený zoznam : [ul][li]element[/li][/ul]"; 12 $lang['ol_help'] = "Zoradený zoznam : [ol][li]element[/li][/ol]"; 13 14 $lang['quote_help'] = "Citácia : [quote]Citácia[/quote]"; 15 $lang['img_help'] = "Img : [img]img[/img]"; 16 $lang['url_help'] = "URL : [url=Page URL]Názov[/url]"; 17 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 21 18 22 $lang['size_help'] = "Veľkosť písma : [size=X]text[/size]"; 23 $lang['tiny'] = "Najmenšie"; 24 $lang['small'] = "Malé"; 25 $lang['normal'] = "Normálne"; 26 $lang['large'] = "Väčšie"; 27 $lang['huge'] = "Najväčšie"; 28 29 $lang['fc_help'] = "Farba písma : [color=couleur]text[/color]"; 30 $lang['default_help'] = "Predvolená"; 31 $lang['maroon_help'] = "Gaštanovo hnedá"; 32 $lang['red_help'] = "Červená"; 33 $lang['orange_help'] = "Oranžová"; 34 $lang['brown_help'] = "Hnedá"; 35 $lang['yellow_help'] = "Žltá"; 36 $lang['green_help'] = "Zelená"; 37 $lang['olive_help'] = "Olivová"; 38 $lang['cyan_help'] = "Zelenomodrá"; 39 $lang['blue_help'] = "Modrá"; 40 $lang['darkblue_help'] = "Dark Blue"; 41 $lang['indigo_help'] = "InTmavomodrá"; 42 $lang['violet_help'] = "Fialová"; 43 $lang['white_help'] = "Biela"; 44 $lang['black_help'] = "Čierna"; 45 46 $lang['preview'] = "Náhľad"; 47 48 $lang['help'] = "Ľahko: Formátovanie môže byť použité na označený text."; 49 50 $lang['repicon'] = "Adresár ikon."; 51 52 $lang['bbcb_config_saved'] = "Konfigurácia uložená"; 19 $lang['size_help'] = "Veľkosť písma : [size=X]text[/size]"; 20 $lang['tiny'] = "Najmenšie"; 21 $lang['small'] = "Malé"; 22 $lang['normal'] = "Normálne"; 23 $lang['large'] = "Väčšie"; 24 $lang['huge'] = "Najväčšie"; 25 26 $lang['fc_help'] = "Farba písma : [color=couleur]text[/color]"; 27 $lang['default_help'] = "Predvolená"; 28 $lang['maroon_help'] = "Gaštanovo hnedá"; 29 $lang['red_help'] = "Červená"; 30 $lang['orange_help'] = "Oranžová"; 31 $lang['brown_help'] = "Hnedá"; 32 $lang['yellow_help'] = "Žltá"; 33 $lang['green_help'] = "Zelená"; 34 $lang['olive_help'] = "Olivová"; 35 $lang['cyan_help'] = "Zelenomodrá"; 36 $lang['blue_help'] = "Modrá"; 37 $lang['darkblue_help'] = "Dark Blue"; 38 $lang['indigo_help'] = "InTmavomodrá"; 39 $lang['violet_help'] = "Fialová"; 40 $lang['white_help'] = "Biela"; 41 $lang['black_help'] = "Čierna"; 42 43 $lang['help'] = "Ľahko: Formátovanie môže byť použité na označený text."; 44 45 $lang['repicon'] = "Adresár ikon."; 46 53 47 ?> -
extensions/bbcode_bar/main.inc.php
r6297 r9682 1 <?php /* 1 <?php 2 /* 2 3 Plugin Name: BBCode Bar 3 Version: auto4 Version: 2.2.0 4 5 Description: Allow use BBCode for comments and descriptions. 5 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=140 6 Author: Atadilo & P@t 7 Author: Atadilo & P@t & Mistic 7 8 */ 8 9 9 10 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 10 11 11 include_once(dirname(__FILE__).'/bbcode_bar.inc.php'); 12 define('BBcode_DIR' , basename(dirname(__FILE__))); 13 define('BBcode_PATH' , PHPWG_PLUGINS_PATH . BBcode_DIR . '/'); 12 14 15 include_once(BBcode_PATH.'bbcode_bar.inc.php'); 13 16 add_event_handler('init', 'init_bbcode_bar'); 14 17 15 18 function init_bbcode_bar() 16 19 { 17 remove_event_handler('render_comment_content', 'parse_comment_content');18 19 20 remove_event_handler('render_comment_content', 'render_comment_content'); 21 add_event_handler('render_comment_content', 'BBCodeParse'); 22 add_event_handler('loc_begin_picture', 'set_bbcode_bar'); 20 23 } 21 24 22 25 if (script_basename() == 'admin') 23 26 { 24 25 26 function bbcode_bar_admin_menu($menu) 27 { 28 array_push($menu,29 array('NAME' => 'BBCode Bar', 30 'URL' => get_admin_plugin_menu_link(dirname(__FILE__) . '/bbcode_bar_admin.php')));31 32 27 add_event_handler('get_admin_plugin_menu_links', 'bbcode_bar_admin_menu'); 28 function bbcode_bar_admin_menu($menu) 29 { 30 array_push($menu, array( 31 'NAME' => 'BBCode Bar', 32 'URL' => get_root_url().'admin.php?page=plugin-' . BBcode_DIR 33 )); 34 return $menu; 35 } 33 36 } 34 37 ?> -
extensions/bbcode_bar/maintain.inc.php
r3305 r9682 5 5 function plugin_install() 6 6 { 7 7 global $conf; 8 8 9 10 11 12 VALUES ("bbcode_bar","1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,plugins/bbcode_bar/icon","Parametres BBCode_bar");';13 14 9 if (!isset($conf['bbcode_bar'])) 10 { 11 $q = 'INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment) 12 VALUES ("bbcode_bar","1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,plugins/bbcode_bar/icon","Parametres BBCode_bar");'; 13 pwg_query($q); 14 } 15 15 } 16 16 17 17 function plugin_uninstall() 18 18 { 19 19 global $conf; 20 20 21 22 23 24 21 if (isset($conf['bbcode_bar'])) 22 { 23 pwg_query('DELETE FROM ' . CONFIG_TABLE . ' WHERE param="bbcode_bar" LIMIT 1;'); 24 } 25 25 } 26 27 ?>
Note: See TracChangeset
for help on using the changeset viewer.