Changeset 10983
- Timestamp:
- May 22, 2011, 12:23:03 PM (14 years ago)
- Location:
- extensions/bbcode_bar
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/bbcode_bar/admin.php
r9965 r10983 8 8 if (strpos($conf['bbcode_bar'],',') !== false) 9 9 { 10 11 10 include(BBcode_PATH .'maintain.inc.php'); 11 plugin_activate(); 12 12 } 13 13 … … 16 16 // Enregistrement de la configuration 17 17 if (isset($_POST['submit'])) 18 { 19 // nouveau tableau de config 20 unset($conf_bbcode_bar); 21 foreach(unserialize(BBcode_codes) as $key) { 22 $conf_bbcode_bar[$key] = (isset($_POST[$key])) ? true : false; 23 } 24 25 // enregistrement 26 $query = "UPDATE " . CONFIG_TABLE . " 27 SET value='" . serialize($conf_bbcode_bar) . "' 28 WHERE param='bbcode_bar'"; 29 pwg_query($query); 30 array_push($page['infos'], l10n('Information data registered in database')); 18 { 19 // nouveau tableau de config 20 unset($conf_bbcode_bar); 21 foreach(unserialize(BBcode_codes) as $key) { 22 $conf_bbcode_bar[$key] = (isset($_POST[$key])) ? true : false; 23 } 24 25 // enregistrement 26 conf_update_param('bbcode_bar', serialize($conf_bbcode_bar)); 27 array_push($page['infos'], l10n('Information data registered in database')); 31 28 } 32 29 33 30 // Parametrage du template 34 31 foreach(unserialize(BBcode_codes) as $key) { 35 32 $template->assign(strtoupper($key).'_STATUS', ($conf_bbcode_bar[$key] == 1) ? 'checked="checked"' : null); 36 33 } 37 34 -
extensions/bbcode_bar/bbcode_bar.inc.php
r10597 r10983 4 4 function set_bbcode_bar() 5 5 { 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 $template->parse('bbcode_bar', true); 33 34 35 36 37 } 6 global $template, $conf, $pwg_loaded_plugins, $page; 7 load_language('plugin.lang', dirname(__FILE__) . '/'); 8 $conf_bbcode_bar = unserialize($conf['bbcode_bar']); 9 10 // buttons 11 foreach(unserialize(BBcode_codes) as $key) { 12 if ($conf_bbcode_bar[$key]) $template->assign('BBC_'.$key, true); 13 } 14 15 // edit field has different id 16 // if ( 17 // (isset($_GET['action']) AND $_GET['action'] == 'edit_comment') 18 // OR (isset($page['body_id']) AND $page['body_id'] == 'theCommentsPage') 19 // ) { 20 // $template->assign('form_name', 'editComment'); 21 // } else { 22 // $template->assign('form_name', 'addComment'); 23 // } 24 $template->assign('form_name', 'addComment'); 25 26 if (isset($pwg_loaded_plugins['SmiliesSupport'])) { 27 $template->assign('BBC_smilies', true); 28 } 29 30 $template->assign('BBCODE_PATH', BBcode_PATH); 31 $template->set_filename('bbcode_bar', dirname(__FILE__).'/template/bbcode_bar.tpl'); 32 $template->parse('bbcode_bar', true); 33 34 // smilies support >2.2.a ## must be parsed after bbcode_bar, because the javascript must be after bbc's one 35 if (isset($pwg_loaded_plugins['SmiliesSupport']) AND strcmp($pwg_loaded_plugins['SmiliesSupport']['version'], '2.2.a') != -1) { 36 set_smiliessupport(); 37 } 38 38 } 39 39 … … 42 42 function CheckTags($str) 43 43 { 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 $tag = substr($tag, 1); 64 65 $after_tag = substr($str, $end_pos+1); 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 $pos = $end_pos; 83 84 85 86 87 { 88 89 90 44 //storage stack 45 $tags = array(); 46 47 for ($pos = 0; $pos<strlen($str); $pos++) 48 { 49 if ($str{$pos} == '[') 50 { 51 $end_pos = strpos($str, ']', $pos); 52 $tag = substr($str, ++$pos, $end_pos-$pos); 53 //deals with tags which contains arguments (ie quote) 54 if ( ($equal_pos = strpos($tag, '=', 0)) !== FALSE) 55 $tag = substr($tag, 0, $equal_pos); 56 //check whether we have a defined tag or not. 57 if (in_array(strtolower($tag),unserialize(BBcode_codes)) || in_array(strtolower(substr($tag,1)),unserialize(BBcode_codes))) 58 { 59 //closing tag 60 if ($tag{0} == '/') 61 { 62 //cleaned tag 63 $tag = substr($tag, 1); 64 $before_tag = substr($str, 0, $pos-1); 65 $after_tag = substr($str, $end_pos+1); 66 //pop stack 67 while (($temp = array_pop($tags))) 68 { 69 if ($temp != $tag) { 70 $before_tag.='[/'.$temp.']'; 71 } else { 72 $before_tag.='[/'.$tag.']'; 73 break; 74 } 75 } 76 $end_pos += strlen($before_tag)+strlen($after_tag)-strlen($str); 77 $str = $before_tag.$after_tag; 78 } else { // push stack 79 array_push($tags,$tag); 80 } 81 } 82 $pos = $end_pos; 83 } 84 } 85 // empty stack and closing tags 86 while ($temp = array_pop($tags)) 87 { 88 $str.='[/'.$temp.']'; 89 } 90 return $str; 91 91 } 92 92 … … 94 94 function BBCodeParse($str) 95 95 { 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 //Underline 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 96 global $conf; 97 98 $conf_bbcode_bar = unserialize($conf['bbcode_bar']); 99 $str = CheckTags(nl2br($str)); 100 101 $patterns = array(); 102 $replacements = array(); 103 104 if ($conf_bbcode_bar['p']) 105 { 106 //Paragraph 107 $patterns[] = '#\[p\](.*?)\[/p\]#is'; 108 $replacements[] = '<p>\\1</p>'; 109 } 110 if ($conf_bbcode_bar['b']) 111 { 112 // Bold 113 $patterns[] = '#\[b\](.*?)\[/b\]#is'; 114 $replacements[] = '<b>\\1</b>'; 115 } 116 if ($conf_bbcode_bar['i']) 117 { 118 //Italic 119 $patterns[] = '#\[i\](.*?)\[/i\]#is'; 120 $replacements[] = '<i>\\1</i>'; 121 } 122 if ($conf_bbcode_bar['u']) 123 { 124 //Underline 125 $patterns[] = '#\[u\](.*?)\[\/u\]#is'; 126 $replacements[] = '<u>\\1</u>'; 127 } 128 if ($conf_bbcode_bar['s']) 129 { 130 //Strikethrough 131 $patterns[] = '#\[s\](.*?)\[/s\]#is'; 132 $replacements[] = '<s>\\1</s>'; 133 } 134 if ($conf_bbcode_bar['center']) 135 { 136 //Center 137 $patterns[] = '#\[center\](.*?)\[/center\]#is'; 138 $replacements[] = '<div align="center"><p>\\1</p></div>'; 139 } 140 if ($conf_bbcode_bar['right']) 141 { 142 //Right 143 $patterns[] = '#\[right\](.*?)\[/right\]#is'; 144 $replacements[] = '<div align="right"><p>\\1</p></div>'; 145 } 146 if ($conf_bbcode_bar['ol']) 147 { 148 //Olist 149 $patterns[] = '#\[ol\](.*?)\[/ol\]#is'; 150 $replacements[] = '<ol>\\1</ol>'; 151 } 152 if ($conf_bbcode_bar['ul']) 153 { 154 //Ulist 155 $patterns[] = '#\[ul\](.*?)\[/ul\]#is'; 156 $replacements[] = '<ul>\\1</ul>'; 157 } 158 if ($conf_bbcode_bar['ol'] || $conf_bbcode_bar['ul']) 159 { 160 //List 161 $patterns[] = '#\[li\](.*?)\[/li\]#is'; 162 $replacements[] = '<li>\\1</li>'; 163 } 164 if ($conf_bbcode_bar['quote']) 165 { 166 // Quotes 167 $patterns[] = "#\[quote\](.*?)\[/quote\]#is"; 168 $replacements[] = '<blockquote><span style="font-size:11px;line-height:normal">\\1</span></blockquote>'; 169 170 //Quotes with "user" 171 $patterns[] = "#\[quote="(.*?)"\](.*?)\[/quote\]#is"; 172 $replacements[] = '<blockquote><span style="font-size:11px;line-height:normal"><b>\\1 : </b><br/>\\2</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 if ($conf_bbcode_bar['img']) 179 { 180 //Images 181 $patterns[] = "#\[img\](.*?)\[/img\]#si"; 182 $replacements[] = '<img src="\\1" />'; 183 } 184 if ($conf_bbcode_bar['url']) 185 { 186 //[url]xxxx://www.zzzz.yyy[/url] 187 $patterns[] = "#\[url\]([\w]+?://[^ \"\n\r\t<]*?)\[/url\]#is"; 188 $replacements[] = '<a href="\\1" target="_blank">\\1</a>'; 189 190 //[url]www.zzzzz.yyy[/url] 191 $patterns[] = "#\[url\]((www|ftp)\.[^ \"\n\r\t<]*?)\[/url\]#is"; 192 $replacements[] = '<a href="http://\\1" target="_blank">\\1</a>'; 193 194 //[url=xxxx://www.zzzzz.yyy]ZzZzZ[/url] 195 $patterns[] = "#\[url=([\w]+?://[^ \"\n\r\t<]*?)\](.*?)\[/url\]#is"; 196 $replacements[] = '<a href="\\1" target="_blank">\\2</a>'; 197 198 //[url=www.zzzzz.yyy]zZzZz[/url] 199 $patterns[] = "#\[url=((www|ftp)\.[^ \"\n\r\t<]*?)\](.*?)\[/url\]#is"; 200 $replacements[] = '<a href="http://\\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">\\3</a>'; 205 206 //[url="http://www.zzzzz.yyy"]zZzZz[/url] 207 $patterns[] = "#\[url="([\w]+?://[^ \n\r\t<]*?)"\](.*?)\[/url\]#is"; 208 $replacements[] = '<a href="\\1" target="_blank">\\2</a>'; 209 } 210 if ($conf_bbcode_bar['email']) 211 { 212 //[email]samvure@gmail.com[/email] 213 $patterns[] = "#\[email\]([a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#is"; 214 $replacements[] = '<a href="mailto:\\1">\\1</a>'; 215 } 216 if ($conf_bbcode_bar['size']) 217 { 218 //Size 219 $patterns[] = "#\[size=([1-2]?[0-9])\](.*?)\[/size\]#si"; 220 $replacements[] = '<span style="font-size: \\1px; line-height: normal">\\2</span>'; 221 } 222 if ($conf_bbcode_bar['color']) 223 { 224 //Colours 225 $patterns[] = "#\[color=(\#[0-9A-F]{6}|[a-z]+)\](.*?)\[/color\]#si"; 226 $replacements[] = '<span style="color: \\1">\\2</span>'; 227 } 228 229 return preg_replace($patterns, $replacements, $str); 230 230 } 231 231 -
extensions/bbcode_bar/language/ar_SA/plugin.lang.php
r10263 r10983 1 1 <?php 2 2 3 3 $lang['p_help'] = "فقرة: [p]فقرة[/p]"; 4 4 $lang['b_help'] = "واضح: [b]واضح[/b]"; -
extensions/bbcode_bar/language/cs_CZ/plugin.lang.php
r9965 r10983 1 1 <?php 2 3 $lang['p_help'] = "Odstavec : [p]odstavec[/p]"; 4 $lang['b_help']= "Tučné : [b]tučné[/b]";5 $lang['i_help']= "Kurzíva : [i]kurzíva[/i]";6 $lang['u_help'] = "Podtržené : [u]podtržené[/u]"; 7 $lang['s_help']= "Přeškrtnuté : [s]přeškrtnuto[/s]";8 9 $lang['center_help']= "Uprostřed : [center]uprostřed[/center]";10 $lang['right_help']= "Na pravo : [right]na pravo[/right]";11 $lang['ul_help']= "Jednoduchý seznam : [ul][li]element[/li][/ul]";12 $lang['ol_help']= "Číslovaný seznam: [ol][li]element[/li][/ol]";13 $lang['li_help']= "List element : [li]element[/li]";14 15 $lang['quote_help']= "Citace : [quote]citát[/quote]";16 $lang['img_help']= "Obrázek : [img]obrázek[/img]";17 $lang['url_help']= "URL : [url=URL]Nadpis[/url]";18 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 19 20 $lang['size_help']= "Velikost fontu : [size=X]text[/size]";21 $lang['tiny']= "Drobná";22 $lang['small']= "Malá";23 $lang['normal']= "Normální";24 $lang['large']= "Veliký";25 $lang['huge'] = "Obří"; 26 27 $lang['color_help'] = "Barva písma : [color=color]text[/color]"; 28 $lang['red_help'] = "Červená"; 29 $lang['orange_help'] = "Oranžová"; 30 $lang['yellow_help'] = "Žlutá"; 31 $lang['green_help'] = "Zelená"; 32 $lang['blue_help'] = "Modrá"; 33 $lang['purple_help']= "Fialková";34 $lang['white_help']= "Bílá";35 $lang['grey_help']= "Grey";36 $lang['black_help']= "Černá";2 3 $lang['p_help'] = "Odstavec : [p]odstavec[/p]"; 4 $lang['b_help'] = "Tučné : [b]tučné[/b]"; 5 $lang['i_help'] = "Kurzíva : [i]kurzíva[/i]"; 6 $lang['u_help'] = "Podtržené : [u]podtržené[/u]"; 7 $lang['s_help'] = "Přeškrtnuté : [s]přeškrtnuto[/s]"; 8 9 $lang['center_help'] = "Uprostřed : [center]uprostřed[/center]"; 10 $lang['right_help'] = "Na pravo : [right]na pravo[/right]"; 11 $lang['ul_help'] = "Jednoduchý seznam : [ul][li]element[/li][/ul]"; 12 $lang['ol_help'] = "Číslovaný seznam: [ol][li]element[/li][/ol]"; 13 $lang['li_help'] = "List element : [li]element[/li]"; 14 15 $lang['quote_help'] = "Citace : [quote]citát[/quote]"; 16 $lang['img_help'] = "Obrázek : [img]obrázek[/img]"; 17 $lang['url_help'] = "URL : [url=URL]Nadpis[/url]"; 18 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 19 20 $lang['size_help'] = "Velikost fontu : [size=X]text[/size]"; 21 $lang['tiny'] = "Drobná"; 22 $lang['small'] = "Malá"; 23 $lang['normal'] = "Normální"; 24 $lang['large'] = "Veliký"; 25 $lang['huge'] = "Obří"; 26 27 $lang['color_help'] = "Barva písma : [color=color]text[/color]"; 28 $lang['red_help'] = "Červená"; 29 $lang['orange_help'] = "Oranžová"; 30 $lang['yellow_help'] = "Žlutá"; 31 $lang['green_help'] = "Zelená"; 32 $lang['blue_help'] = "Modrá"; 33 $lang['purple_help'] = "Fialková"; 34 $lang['white_help'] = "Bílá"; 35 $lang['grey_help'] = "Grey"; 36 $lang['black_help'] = "Černá"; 37 37 38 38 ?> -
extensions/bbcode_bar/language/de_DE/plugin.lang.php
r9965 r10983 1 1 <?php 2 3 $lang['p_help'] = "Paragraph : [p]Paragraph[/p]"; 4 $lang['b_help']= "Fett : [b]fett[/b]";5 $lang['i_help']= "Kursiv : [i]kursiv[/i]";6 $lang['u_help'] = "Unterstrichen : [u]unterstrichen[/u]"; 7 $lang['s_help']= "Durchgestrichen : [s]durchgestrichen [/s]";8 9 $lang['center_help']= "Mittig : [center]mittig[/center]";10 $lang['right_help']= "Rechts : [right]rechts[/right]";11 $lang['ul_help']= "Un-nummerierte Liste : [ul][li]Element[/li][/ul]";12 $lang['ol_help']= "Nummerierte Liste : [ol][li]Element[/li][/ol]";13 $lang['li_help']= "List element : [li]element[/li]";14 15 $lang['quote_help']= "Zitat : [quote]Zitat[/quote]";16 $lang['img_help']= "Bild : [img]Bild[/img]";17 $lang['url_help']= "URL : [url=URL]Titel[/url]";18 $lang['mail_help'] = "E-mail : [email]E-mail[/email]"; 19 20 $lang['size_help']= "Textgröße : [size=X]Text[/size]";21 $lang['tiny']= "Winzig";22 $lang['small']= "Klein";23 $lang['normal']= "Normal";24 $lang['large']= "Groß";25 $lang['huge'] = "Riesig"; 26 27 $lang['color_help'] = "Textfarbe : [color=farbe]Text[/color]"; 28 $lang['red_help'] = "Rot"; 29 $lang['orange_help'] = "Orange"; 30 $lang['yellow_help'] = "Gelb"; 31 $lang['green_help'] = "Grün"; 32 $lang['blue_help'] = "Blau"; 33 $lang['purple_help']= "Violett";34 $lang['white_help']= "Weiß";35 $lang['grey_help']= "Grey";36 $lang['black_help']= "Schwarz";2 3 $lang['p_help'] = "Paragraph : [p]Paragraph[/p]"; 4 $lang['b_help'] = "Fett : [b]fett[/b]"; 5 $lang['i_help'] = "Kursiv : [i]kursiv[/i]"; 6 $lang['u_help'] = "Unterstrichen : [u]unterstrichen[/u]"; 7 $lang['s_help'] = "Durchgestrichen : [s]durchgestrichen [/s]"; 8 9 $lang['center_help'] = "Mittig : [center]mittig[/center]"; 10 $lang['right_help'] = "Rechts : [right]rechts[/right]"; 11 $lang['ul_help'] = "Un-nummerierte Liste : [ul][li]Element[/li][/ul]"; 12 $lang['ol_help'] = "Nummerierte Liste : [ol][li]Element[/li][/ol]"; 13 $lang['li_help'] = "List element : [li]element[/li]"; 14 15 $lang['quote_help'] = "Zitat : [quote]Zitat[/quote]"; 16 $lang['img_help'] = "Bild : [img]Bild[/img]"; 17 $lang['url_help'] = "URL : [url=URL]Titel[/url]"; 18 $lang['mail_help'] = "E-mail : [email]E-mail[/email]"; 19 20 $lang['size_help'] = "Textgröße : [size=X]Text[/size]"; 21 $lang['tiny'] = "Winzig"; 22 $lang['small'] = "Klein"; 23 $lang['normal'] = "Normal"; 24 $lang['large'] = "Groß"; 25 $lang['huge'] = "Riesig"; 26 27 $lang['color_help'] = "Textfarbe : [color=farbe]Text[/color]"; 28 $lang['red_help'] = "Rot"; 29 $lang['orange_help'] = "Orange"; 30 $lang['yellow_help'] = "Gelb"; 31 $lang['green_help'] = "Grün"; 32 $lang['blue_help'] = "Blau"; 33 $lang['purple_help'] = "Violett"; 34 $lang['white_help'] = "Weiß"; 35 $lang['grey_help'] = "Grey"; 36 $lang['black_help'] = "Schwarz"; 37 37 38 38 ?> -
extensions/bbcode_bar/language/en_UK/plugin.lang.php
r9965 r10983 1 1 <?php 2 3 $lang['p_help'] = "Paragraph : [p]Paragraph[/p]"; 4 $lang['b_help']= "Bold : [b]bold[/b]";5 $lang['i_help']= "Italic : [i]italic[/i]";6 $lang['u_help'] = "Underline : [u]underline[/u]"; 7 $lang['s_help']= "Striped : [s]striped[/s]";8 9 $lang['center_help']= "Center : [center]center[/center]";10 $lang['right_help']= "Right : [right]right[/right]";11 $lang['ul_help']= "Unordered list : [ul][li]element[/li][/ul]";12 $lang['ol_help']= "Ordered list : [ol][li]element[/li][/ol]";13 $lang['li_help']= "List element : [li]element[/li]";14 15 $lang['quote_help']= "Quote : [quote]quote[/quote]";16 $lang['img_help']= "Picture : [img]picture[/img]";17 $lang['url_help']= "URL : [url=URL]Title[/url]";18 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 19 20 $lang['size_help']= "Font size : [size=X]text[/size]";21 $lang['tiny']= "Tiny";22 $lang['small']= "Small";23 $lang['normal']= "Normal";24 $lang['large']= "Large";25 $lang['huge'] = "Huge"; 26 27 $lang['color_help']= "Font color : [color=color]text[/color]";28 $lang['red_help'] = "Red"; 29 $lang['orange_help'] = "Orange"; 30 $lang['yellow_help'] = "Yellow"; 31 $lang['green_help'] = "Green"; 32 $lang['blue_help'] = "Blue"; 33 $lang['purple_help']= "Purple";34 $lang['white_help']= "White";35 $lang['grey_help']= "Grey";36 $lang['black_help']= "Black";2 3 $lang['p_help'] = "Paragraph : [p]Paragraph[/p]"; 4 $lang['b_help'] = "Bold : [b]bold[/b]"; 5 $lang['i_help'] = "Italic : [i]italic[/i]"; 6 $lang['u_help'] = "Underline : [u]underline[/u]"; 7 $lang['s_help'] = "Striped : [s]striped[/s]"; 8 9 $lang['center_help'] = "Center : [center]center[/center]"; 10 $lang['right_help'] = "Right : [right]right[/right]"; 11 $lang['ul_help'] = "Unordered list : [ul][li]element[/li][/ul]"; 12 $lang['ol_help'] = "Ordered list : [ol][li]element[/li][/ol]"; 13 $lang['li_help'] = "List element : [li]element[/li]"; 14 15 $lang['quote_help'] = "Quote : [quote]quote[/quote]"; 16 $lang['img_help'] = "Picture : [img]picture[/img]"; 17 $lang['url_help'] = "URL : [url=URL]Title[/url]"; 18 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 19 20 $lang['size_help'] = "Font size : [size=X]text[/size]"; 21 $lang['tiny'] = "Tiny"; 22 $lang['small'] = "Small"; 23 $lang['normal'] = "Normal"; 24 $lang['large'] = "Large"; 25 $lang['huge'] = "Huge"; 26 27 $lang['color_help'] = "Font color : [color=color]text[/color]"; 28 $lang['red_help'] = "Red"; 29 $lang['orange_help'] = "Orange"; 30 $lang['yellow_help'] = "Yellow"; 31 $lang['green_help'] = "Green"; 32 $lang['blue_help'] = "Blue"; 33 $lang['purple_help'] = "Purple"; 34 $lang['white_help'] = "White"; 35 $lang['grey_help'] = "Grey"; 36 $lang['black_help'] = "Black"; 37 37 38 38 ?> -
extensions/bbcode_bar/language/es_ES/plugin.lang.php
r9965 r10983 1 1 <?php 2 2 3 4 5 6 7 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]"; 8 8 9 10 11 12 13 $lang['li_help']= "List element : [li]element[/li]";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]"; 13 $lang['li_help'] = "List element : [li]element[/li]"; 14 14 15 16 17 18 15 $lang['quote_help'] = "Citada : [quote]Citación[/quote]"; 16 $lang['img_help'] = "Imagen : [img]Imagen[/img]"; 17 $lang['url_help'] = "URL : [url=Page URL]Nombre de la página[/url]"; 18 $lang['mail_help'] = "Email : [email]Email[/email]"; 19 19 20 21 22 23 24 25 20 $lang['size_help'] = "Tamaño carácteres : [size=X]texto[/size]"; 21 $lang['tiny'] = "Todo pequeño"; 22 $lang['small'] = "Pequeño"; 23 $lang['normal'] = "Normal"; 24 $lang['large'] = "Grande"; 25 $lang['huge'] = "Muy grande"; 26 26 27 28 29 30 31 32 33 34 35 $lang['grey_help']= "Grey";36 27 $lang['color_help'] = "Color de los carácteres : [color=color]texto[/color]"; 28 $lang['red_help'] = "Rojo"; 29 $lang['orange_help'] = "Naranja"; 30 $lang['yellow_help'] = "amarillo"; 31 $lang['green_help'] = "Verde"; 32 $lang['blue_help'] = "Azul"; 33 $lang['purple_help'] = "Morado"; 34 $lang['white_help'] = "Blanco"; 35 $lang['grey_help'] = "Grey"; 36 $lang['black_help'] = "Negro"; 37 37 38 38 ?> -
extensions/bbcode_bar/language/fr_FR/plugin.lang.php
r9965 r10983 1 1 <?php 2 3 $lang['p_help'] = "Paragraphe : [p]Paragraphe[/p]"; 4 $lang['b_help']= "Gras : [b]gras[/b]";5 $lang['i_help']= "Italique : [i]italique[/i]";6 $lang['u_help'] = "Souligné : [u]souligné[/u]"; 7 $lang['s_help']= "Barré : [s]barré[/s]";8 9 $lang['center_help']= "Centré : [center]centré[/center]";10 $lang['right_help']= "Droite : [right]droite[/right]";11 $lang['ul_help']= "Liste : [ul][li]élément[/li][/ul]";12 $lang['ol_help']= "Liste Numéroté : [ol][li]élément[/li][/ol]";13 $lang['li_help']= "Element de liste : [li]élément[/li]";14 15 $lang['quote_help']= "Citation : [quote]Citation[/quote]";16 $lang['img_help']= "Image : [img]Image[/img]";17 $lang['url_help']= "URL : [url=Page URL]Nom de la page[/url]";18 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 19 20 $lang['size_help']= "Taille des caractères : [size=X]texte[/size]";21 $lang['tiny']= "Tout petit";22 $lang['small']= "Petit";23 $lang['normal']= "Normale";24 $lang['large']= "Grand";25 $lang['huge'] = "Très grand"; 26 27 $lang['color_help'] = "Couleur : [color=couleur]texte[/color]"; 28 $lang['red_help'] = "Rouge"; 29 $lang['orange_help'] = "Orange"; 30 $lang['yellow_help'] = "Jaune"; 31 $lang['green_help'] = "Vert"; 32 $lang['blue_help'] = "Bleu"; 33 $lang['purple_help']= "Violet";34 $lang['white_help']= "Blanc";35 $lang['grey_help']= "Gris";36 $lang['black_help']= "Noir";2 3 $lang['p_help'] = "Paragraphe : [p]Paragraphe[/p]"; 4 $lang['b_help'] = "Gras : [b]gras[/b]"; 5 $lang['i_help'] = "Italique : [i]italique[/i]"; 6 $lang['u_help'] = "Souligné : [u]souligné[/u]"; 7 $lang['s_help'] = "Barré : [s]barré[/s]"; 8 9 $lang['center_help'] = "Centré : [center]centré[/center]"; 10 $lang['right_help'] = "Droite : [right]droite[/right]"; 11 $lang['ul_help'] = "Liste : [ul][li]élément[/li][/ul]"; 12 $lang['ol_help'] = "Liste Numéroté : [ol][li]élément[/li][/ol]"; 13 $lang['li_help'] = "Element de liste : [li]élément[/li]"; 14 15 $lang['quote_help'] = "Citation : [quote]Citation[/quote]"; 16 $lang['img_help'] = "Image : [img]Image[/img]"; 17 $lang['url_help'] = "URL : [url=Page URL]Nom de la page[/url]"; 18 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 19 20 $lang['size_help'] = "Taille des caractères : [size=X]texte[/size]"; 21 $lang['tiny'] = "Tout petit"; 22 $lang['small'] = "Petit"; 23 $lang['normal'] = "Normale"; 24 $lang['large'] = "Grand"; 25 $lang['huge'] = "Très grand"; 26 27 $lang['color_help'] = "Couleur : [color=couleur]texte[/color]"; 28 $lang['red_help'] = "Rouge"; 29 $lang['orange_help'] = "Orange"; 30 $lang['yellow_help'] = "Jaune"; 31 $lang['green_help'] = "Vert"; 32 $lang['blue_help'] = "Bleu"; 33 $lang['purple_help'] = "Violet"; 34 $lang['white_help'] = "Blanc"; 35 $lang['grey_help'] = "Gris"; 36 $lang['black_help'] = "Noir"; 37 37 38 38 ?> -
extensions/bbcode_bar/language/hu_HU/plugin.lang.php
r10600 r10983 1 1 <?php 2 3 $lang['p_help'] = "Új bekezdés : [p]bekezdés[/p]"; 4 $lang['b_help']= "Félkövér : [b]félkövér szöveg[/b]";5 $lang['i_help']= "Dőlt : [i]dőlt szöveg[/i]";6 $lang['u_help'] = "Aláhúzott : [u]aláhúzott szöveg[/u]"; 7 $lang['s_help']= "Áthúzott : [s]áthúzott szöveg[/s]";8 9 $lang['center_help']= "Középre : [center]illesztés középre[/center]";10 $lang['right_help']= "Jobbra : [right]illesztés jobbra[/right]";11 $lang['ul_help']= "Számozatlan lista : [ul][li]elem[/li][/ul]";12 $lang['ol_help']= "Számozott lista : [ol][li]elem[/li][/ol]";13 $lang['li_help'] = "Lista elem : [li]elem[/li]";14 15 $lang['quote_help']= "Idézet : [quote]idézett szöveg[/quote]";16 $lang['img_help']= "Kép : [img]kép fájlnév[/img]";17 $lang['url_help']= "URL : [url=URL cím]megjelenő szöveg[/url]";18 $lang['mail_help'] = "E-mail : [email]e-mail cím[/email]"; 19 20 $lang['size_help']= "Betűméret : [size=X]betű mérete[/size]";21 $lang['tiny']= "Apró";22 $lang['small']= "Kicsi";23 $lang['normal']= "Normál";24 $lang['large']= "Közepes";25 $lang['huge'] = "Nagy"; 26 27 $lang['color_help'] = "Betűszín : [color=szín]betű színe[/color]"; 28 $lang['red_help'] = "Piros"; 29 $lang['orange_help'] = "Narancssárga"; 30 $lang['yellow_help'] = "Sárga"; 31 $lang['green_help'] = "Zöld"; 32 $lang['blue_help'] = "Kék"; 33 $lang['purple_help']= "Ibolya";34 $lang['white_help']= "Fehér";35 $lang['grey_help'] = "Szürke";36 $lang['black_help']= "Fekete";2 3 $lang['p_help'] = "Új bekezdés : [p]bekezdés[/p]"; 4 $lang['b_help'] = "Félkövér : [b]félkövér szöveg[/b]"; 5 $lang['i_help'] = "Dőlt : [i]dőlt szöveg[/i]"; 6 $lang['u_help'] = "Aláhúzott : [u]aláhúzott szöveg[/u]"; 7 $lang['s_help'] = "Áthúzott : [s]áthúzott szöveg[/s]"; 8 9 $lang['center_help'] = "Középre : [center]illesztés középre[/center]"; 10 $lang['right_help'] = "Jobbra : [right]illesztés jobbra[/right]"; 11 $lang['ul_help'] = "Számozatlan lista : [ul][li]elem[/li][/ul]"; 12 $lang['ol_help'] = "Számozott lista : [ol][li]elem[/li][/ol]"; 13 $lang['li_help'] = "List element : [li]element[/li]"; 14 15 $lang['quote_help'] = "Idézet : [quote]idézett szöveg[/quote]"; 16 $lang['img_help'] = "Kép : [img]kép fájlnév[/img]"; 17 $lang['url_help'] = "URL : [url=URL cím]megjelenő szöveg[/url]"; 18 $lang['mail_help'] = "E-mail : [email]e-mail cím[/email]"; 19 20 $lang['size_help'] = "Betűméret : [size=X]betű mérete[/size]"; 21 $lang['tiny'] = "Apró"; 22 $lang['small'] = "Kicsi"; 23 $lang['normal'] = "Normál"; 24 $lang['large'] = "Közepes"; 25 $lang['huge'] = "Nagy"; 26 27 $lang['color_help'] = "Betűszín : [color=szín]betű színe[/color]"; 28 $lang['red_help'] = "Piros"; 29 $lang['orange_help'] = "Narancssárga"; 30 $lang['yellow_help'] = "Sárga"; 31 $lang['green_help'] = "Zöld"; 32 $lang['blue_help'] = "Kék"; 33 $lang['purple_help'] = "Ibolya"; 34 $lang['white_help'] = "Fehér"; 35 $lang['grey_help'] = "Grey"; 36 $lang['black_help'] = "Fekete"; 37 37 38 38 ?> -
extensions/bbcode_bar/language/it_IT/plugin.lang.php
r10138 r10983 1 1 <?php 2 2 3 $lang['p_help'] = "Paragrafo : [p]paragrafo[/p]"; 4 $lang['b_help']= "Grassetto : [b]grassetto[/b]";5 $lang['i_help']= "Corsivo : [i]Corsivo[/i]";6 $lang['u_help'] = "Sottolineato : [u]sottolineato[/u]"; 7 $lang['s_help']= "Barrato : [s]Barrato[/s]";8 9 $lang['center_help']= "Centrato : [center]centrato[/center]";10 $lang['right_help']= "Destra : [right]destra[/right]";11 $lang['ul_help']= "Elenco : [ul][li]elemento[/li][/ul]";12 $lang['ol_help']= "Elenco Numerico : [ol][li]elemento[/li][/ol]";13 $lang['li_help']= "Elementi di lista : [li]element[/li]";14 15 $lang['quote_help']= "Citazione : [quote]citazione[/quote]";16 $lang['img_help']= "Immagine : [img]immagine[/img]";17 $lang['url_help']= "URL : [url=Page URL]Nome della pagina[/url]";18 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 19 20 $lang['size_help']= "Dimensione testo : [size=X]testo[/size]";21 $lang['tiny']= "Piccolissimo";22 $lang['small']= "Piccolo";23 $lang['normal']= "Normale";24 $lang['large']= "Grande";25 $lang['huge'] = "Grandissimo"; 26 27 $lang['color_help'] = "Colore del testo : [color=couleur]testo[/color]"; 28 $lang['red_help'] = "Rosso"; 29 $lang['orange_help'] = "Arancione"; 30 $lang['yellow_help'] = "Giallo"; 31 $lang['green_help'] = "Verde"; 32 $lang['blue_help'] = "Blu"; 33 $lang['purple_help']= "Viola";34 $lang['white_help']= "Bianco";35 $lang['grey_help']= "Grigio";36 $lang['black_help']= "Nero";3 $lang['p_help'] = "Paragrafo : [p]paragrafo[/p]"; 4 $lang['b_help'] = "Grassetto : [b]grassetto[/b]"; 5 $lang['i_help'] = "Corsivo : [i]Corsivo[/i]"; 6 $lang['u_help'] = "Sottolineato : [u]sottolineato[/u]"; 7 $lang['s_help'] = "Barrato : [s]Barrato[/s]"; 8 9 $lang['center_help'] = "Centrato : [center]centrato[/center]"; 10 $lang['right_help'] = "Destra : [right]destra[/right]"; 11 $lang['ul_help'] = "Elenco : [ul][li]elemento[/li][/ul]"; 12 $lang['ol_help'] = "Elenco Numerico : [ol][li]elemento[/li][/ol]"; 13 $lang['li_help'] = "Elementi di lista : [li]element[/li]"; 14 15 $lang['quote_help'] = "Citazione : [quote]citazione[/quote]"; 16 $lang['img_help'] = "Immagine : [img]immagine[/img]"; 17 $lang['url_help'] = "URL : [url=Page URL]Nome della pagina[/url]"; 18 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 19 20 $lang['size_help'] = "Dimensione testo : [size=X]testo[/size]"; 21 $lang['tiny'] = "Piccolissimo"; 22 $lang['small'] = "Piccolo"; 23 $lang['normal'] = "Normale"; 24 $lang['large'] = "Grande"; 25 $lang['huge'] = "Grandissimo"; 26 27 $lang['color_help'] = "Colore del testo : [color=couleur]testo[/color]"; 28 $lang['red_help'] = "Rosso"; 29 $lang['orange_help'] = "Arancione"; 30 $lang['yellow_help'] = "Giallo"; 31 $lang['green_help'] = "Verde"; 32 $lang['blue_help'] = "Blu"; 33 $lang['purple_help'] = "Viola"; 34 $lang['white_help'] = "Bianco"; 35 $lang['grey_help'] = "Grigio"; 36 $lang['black_help'] = "Nero"; 37 37 38 38 ?> -
extensions/bbcode_bar/language/lv_LV/plugin.lang.php
r9965 r10983 1 1 <?php 2 2 3 4 5 6 7 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]"; 8 8 9 10 11 12 13 $lang['li_help']= "List element : [li]element[/li]";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]"; 13 $lang['li_help'] = "List element : [li]element[/li]"; 14 14 15 16 17 18 15 $lang['quote_help'] = "Pēdiņas : [quote]quote[/quote]"; 16 $lang['img_help'] = "Att : [img]img[/img]"; 17 $lang['url_help'] = "URL : [url=URL]Title[/url]"; 18 $lang['mail_help'] = "E-pasts : [email]Email[/email]"; 19 19 20 21 22 23 24 25 20 $lang['size_help'] = "Fonta lielums : [size=X]text[/size]"; 21 $lang['tiny'] = "Sīks"; 22 $lang['small'] = "Mazs"; 23 $lang['normal'] = "Normāls"; 24 $lang['large'] = "Liels"; 25 $lang['huge'] = "Milzīgs"; 26 26 27 28 29 30 31 32 33 34 35 $lang['grey_help']= "Grey";36 27 $lang['color_help'] = "Fonta krāsa : [color=color]text[/color]"; 28 $lang['red_help'] = "Sarkana"; 29 $lang['orange_help'] = "Oranža"; 30 $lang['yellow_help'] = "Dzeltena"; 31 $lang['green_help'] = "Zaļa"; 32 $lang['blue_help'] = "Zila"; 33 $lang['purple_help'] = "Violēta"; 34 $lang['white_help'] = "Balta"; 35 $lang['grey_help'] = "Grey"; 36 $lang['black_help'] = "Melna"; 37 37 38 38 ?> -
extensions/bbcode_bar/language/no_NO/plugin.lang.php
r9965 r10983 1 1 <?php 2 2 3 4 5 6 7 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]"; 8 8 9 10 11 12 13 $lang['li_help']= "List element : [li]element[/li]";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]"; 13 $lang['li_help'] = "List element : [li]element[/li]"; 14 14 15 16 17 18 15 $lang['quote_help'] = "Spørring : [quote]spørring[/quote]"; 16 $lang['img_help'] = "Img : [img]img[/img]"; 17 $lang['url_help'] = "URL : [url=URL]Tittel[/url]"; 18 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 19 19 20 21 22 23 24 25 20 $lang['size_help'] = "Skrift størrelse : [size=X]tekst[/size]"; 21 $lang['tiny'] = "Mini"; 22 $lang['small'] = "Liten"; 23 $lang['normal'] = "Normal"; 24 $lang['large'] = "Stor"; 25 $lang['huge'] = "Mega"; 26 26 27 28 29 30 31 32 33 34 35 $lang['grey_help']= "Grey";36 27 $lang['color_help'] = "Font farge : [color=color]tekst[/color]"; 28 $lang['red_help'] = "Rød"; 29 $lang['orange_help'] = "Orange"; 30 $lang['yellow_help'] = "Gul"; 31 $lang['green_help'] = "Grønn"; 32 $lang['blue_help'] = "Blå"; 33 $lang['purple_help'] = "Fiolett"; 34 $lang['white_help'] = "Vit"; 35 $lang['grey_help'] = "Grey"; 36 $lang['black_help'] = "Svart"; 37 37 38 38 ?> -
extensions/bbcode_bar/language/ru_RU/plugin.lang.php
r9965 r10983 1 1 <?php 2 3 $lang['p_help'] = "Параграф: [p]параграф[/p]"; 4 $lang['b_help']= "Жирный: [b]жирный[/b]";5 $lang['i_help']= "Италик: [i]италик[/i]";6 $lang['u_help'] = "Подчернутый: [u]подчеркнутый[/u]"; 7 $lang['s_help']= "Зачеркнутый: [s]зачеркнутый [/s]";8 9 $lang['center_help']= "Центр: [center]центр[/center]";10 $lang['right_help']= "Право: [right]право[/right]";11 $lang['ul_help']= "Список ненумерованный: [ul][li]элемент[/li][/ul]";12 $lang['ol_help']= "Список нумерованный: [ol][li]элемент[/li][/ol]";13 $lang['li_help']= "List element : [li]element[/li]";14 15 $lang['quote_help']= "Цитата: [quote]цитата[/quote]";16 $lang['img_help']= "Картинка: [img]картинка[/img]";17 $lang['url_help']= "URL: [url=URL]Название[/url]";18 $lang['mail_help'] = "E-mail: [email]электронный адрес[/email]"; 19 20 $lang['size_help']= "Размер шрифта: [size=X]текст[/size]";21 $lang['tiny']= "Крошечный";22 $lang['small']= "Маленький";23 $lang['normal']= "Нормальный";24 $lang['large']= "Большой";25 $lang['huge'] = "Громадный"; 26 27 $lang['color_help'] = "Цвет шрифта : [color=color]текст[/color]"; 28 $lang['red_help'] = "Красный"; 29 $lang['orange_help'] = "Оранжевый"; 30 $lang['yellow_help'] = "Желтый"; 31 $lang['green_help'] = "Зеленый"; 32 $lang['blue_help'] = "Голубой"; 33 $lang['purple_help']= "Фиолетовый";34 $lang['white_help']= "Белый";35 $lang['grey_help']= "Grey";36 $lang['black_help']= "Черный";2 3 $lang['p_help'] = "Параграф: [p]параграф[/p]"; 4 $lang['b_help'] = "Жирный: [b]жирный[/b]"; 5 $lang['i_help'] = "Италик: [i]италик[/i]"; 6 $lang['u_help'] = "Подчернутый: [u]подчеркнутый[/u]"; 7 $lang['s_help'] = "Зачеркнутый: [s]зачеркнутый [/s]"; 8 9 $lang['center_help'] = "Центр: [center]центр[/center]"; 10 $lang['right_help'] = "Право: [right]право[/right]"; 11 $lang['ul_help'] = "Список ненумерованный: [ul][li]элемент[/li][/ul]"; 12 $lang['ol_help'] = "Список нумерованный: [ol][li]элемент[/li][/ol]"; 13 $lang['li_help'] = "List element : [li]element[/li]"; 14 15 $lang['quote_help'] = "Цитата: [quote]цитата[/quote]"; 16 $lang['img_help'] = "Картинка: [img]картинка[/img]"; 17 $lang['url_help'] = "URL: [url=URL]Название[/url]"; 18 $lang['mail_help'] = "E-mail: [email]электронный адрес[/email]"; 19 20 $lang['size_help'] = "Размер шрифта: [size=X]текст[/size]"; 21 $lang['tiny'] = "Крошечный"; 22 $lang['small'] = "Маленький"; 23 $lang['normal'] = "Нормальный"; 24 $lang['large'] = "Большой"; 25 $lang['huge'] = "Громадный"; 26 27 $lang['color_help'] = "Цвет шрифта : [color=color]текст[/color]"; 28 $lang['red_help'] = "Красный"; 29 $lang['orange_help'] = "Оранжевый"; 30 $lang['yellow_help'] = "Желтый"; 31 $lang['green_help'] = "Зеленый"; 32 $lang['blue_help'] = "Голубой"; 33 $lang['purple_help'] = "Фиолетовый"; 34 $lang['white_help'] = "Белый"; 35 $lang['grey_help'] = "Grey"; 36 $lang['black_help'] = "Черный"; 37 37 38 38 ?> -
extensions/bbcode_bar/language/sk_SK/plugin.lang.php
r9965 r10983 1 1 <?php 2 2 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 $lang['li_help'] = "List element : [li]element[/li]"; 14 15 $lang['quote_help'] = "Citácia : [quote]Citácia[/quote]"; 16 $lang['img_help'] = "Img : [img]img[/img]"; 17 $lang['url_help'] = "URL : [url=Page URL]Názov[/url]"; 18 $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 $lang['li_help'] = "List element : [li]element[/li]"; 19 14 20 $lang['size_help'] = "Veľkosť písma : [size=X]text[/size]"; 21 $lang['tiny'] = "Najmenšie"; 22 $lang['small'] = "Malé"; 23 $lang['normal'] = "Normálne"; 24 $lang['large'] = "Väčšie"; 25 $lang['huge'] = "Najväčšie"; 26 27 $lang['color_help'] = "Farba písma : [color=couleur]text[/color]"; 28 $lang['red_help'] = "Červená"; 29 $lang['orange_help'] = "Oranžová"; 30 $lang['yellow_help'] = "Žltá"; 31 $lang['green_help'] = "Zelená"; 32 $lang['blue_help'] = "Modrá"; 33 $lang['purple_help'] = "Fialová"; 34 $lang['white_help'] = "Biela"; 35 $lang['grey_help'] = "Grey"; 36 $lang['black_help'] = "Čierna"; 37 15 $lang['quote_help'] = "Citácia : [quote]Citácia[/quote]"; 16 $lang['img_help'] = "Img : [img]img[/img]"; 17 $lang['url_help'] = "URL : [url=Page URL]Názov[/url]"; 18 $lang['mail_help'] = "E-mail : [email]Email[/email]"; 19 20 $lang['size_help'] = "Veľkosť písma : [size=X]text[/size]"; 21 $lang['tiny'] = "Najmenšie"; 22 $lang['small'] = "Malé"; 23 $lang['normal'] = "Normálne"; 24 $lang['large'] = "Väčšie"; 25 $lang['huge'] = "Najväčšie"; 26 27 $lang['color_help'] = "Farba písma : [color=couleur]text[/color]"; 28 $lang['red_help'] = "Červená"; 29 $lang['orange_help'] = "Oranžová"; 30 $lang['yellow_help'] = "Žltá"; 31 $lang['green_help'] = "Zelená"; 32 $lang['blue_help'] = "Modrá"; 33 $lang['purple_help'] = "Fialová"; 34 $lang['white_help'] = "Biela"; 35 $lang['grey_help'] = "Grey"; 36 $lang['black_help'] = "Čierna"; 37 38 38 ?> -
extensions/bbcode_bar/main.inc.php
r10597 r10983 19 19 function init_bbcode_bar() 20 20 { 21 22 23 21 remove_event_handler('render_comment_content', 'render_comment_content'); 22 add_event_handler('render_comment_content', 'BBCodeParse'); 23 add_event_handler('loc_after_page_header', 'add_bbcode_bar'); 24 24 } 25 25 26 26 function add_bbcode_bar() { 27 28 29 30 31 27 global $page; 28 29 if (isset($page['body_id']) AND $page['body_id'] == 'thePicturePage') { 30 set_bbcode_bar(); 31 } 32 32 } 33 33 34 34 if (script_basename() == 'admin') 35 35 { 36 37 38 39 40 41 42 43 44 45 46 47 48 49 36 add_event_handler('get_admin_plugin_menu_links', 'bbcode_bar_admin_menu'); 37 function bbcode_bar_admin_menu($menu) 38 { 39 array_push($menu, array( 40 'NAME' => 'BBCode Bar', 41 'URL' => get_root_url().'admin.php?page=plugin-' . BBcode_DIR 42 )); 43 return $menu; 44 } 45 46 // version 2.2.a or greater of SmiliesSupport is required 47 add_event_handler('loc_end_admin', 'bbcode_bar_check_smilies'); 48 function bbcode_bar_check_smilies() { 49 global $page, $template, $pwg_loaded_plugins; 50 50 51 52 53 54 55 56 57 58 59 60 51 if ( 52 ((isset($_GET['page']) AND $_GET['page'] == 'plugins_list') OR (isset($_GET['section']) AND $_GET['section'] == 'bbcode_bar/admin.php')) 53 AND isset($pwg_loaded_plugins['SmiliesSupport']) 54 AND strcmp($pwg_loaded_plugins['SmiliesSupport']['version'], '2.2.a') == -1 55 ) { 56 $page['warnings'][] = "BBCode Bar : SmiliesSupport has been detected, but is not up to date. Version 2.2.a or greater is required. Please update."; 57 $template->assign('warnings', $page['warnings']); 58 } 59 } 60 61 61 } 62 62 -
extensions/bbcode_bar/maintain.inc.php
r10011 r10983 4 4 function plugin_install() 5 5 { 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 6 global $conf; 7 8 $BBcode_default = array( 9 'b' => true, 10 'i' => true, 11 'u' => true, 12 's' => true, 13 'p' => true, 14 'center' => true, 15 'right' => true, 16 'quote' => true, 17 'ul' => true, 18 'ol' => true, 19 'img' => true, 20 'url' => true, 21 'email' => true, 22 'size' => true, 23 'color' => true, 24 ); 25 25 26 27 28 29 30 31 26 if (!isset($conf['bbcode_bar'])) 27 { 28 $q = "INSERT INTO " . CONFIG_TABLE . " (param,value,comment) 29 VALUES ('bbcode_bar','" . serialize($BBcode_default) . "','Parametres BBCode Bar');"; 30 pwg_query($q); 31 } 32 32 } 33 33 34 34 function plugin_activate() 35 35 { 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 36 global $conf; 37 38 if (strpos($conf['bbcode_bar'],',') !== false) 39 { 40 $conf_bbcode_bar = explode(',', $conf['bbcode_bar']); 41 42 $new_bbcode_bar = array( 43 'b' => $conf_bbcode_bar[1] == '1' ? true : false, 44 'i' => $conf_bbcode_bar[2] == '1' ? true : false, 45 'u' => $conf_bbcode_bar[3] == '1' ? true : false, 46 's' => $conf_bbcode_bar[4] == '1' ? true : false, 47 'p' => $conf_bbcode_bar[0] == '1' ? true : false, 48 'center' => $conf_bbcode_bar[5] == '1' ? true : false, 49 'right' => $conf_bbcode_bar[6] == '1' ? true : false, 50 'quote' => $conf_bbcode_bar[9] == '1' ? true : false, 51 'ul' => $conf_bbcode_bar[7] == '1' ? true : false, 52 'ol' => $conf_bbcode_bar[8] == '1' ? true : false, 53 'img' => $conf_bbcode_bar[10] == '1' ? true : false, 54 'url' => $conf_bbcode_bar[11] == '1' ? true : false, 55 'email' => $conf_bbcode_bar[12] == '1' ? true : false, 56 'size' => $conf_bbcode_bar[13] == '1' ? true : false, 57 'color' => $conf_bbcode_bar[14] == '1' ? true : false, 58 ); 59 60 $q = "UPDATE " . CONFIG_TABLE . " 61 SET value='" . serialize($new_bbcode_bar) . "' 62 WHERE param='bbcode_bar';"; 63 pwg_query($q); 64 } 65 65 } 66 66 67 67 function plugin_uninstall() 68 68 { 69 69 global $conf; 70 70 71 72 73 74 71 if (isset($conf['bbcode_bar'])) 72 { 73 pwg_query('DELETE FROM ' . CONFIG_TABLE . ' WHERE param="bbcode_bar";'); 74 } 75 75 } 76 76 -
extensions/bbcode_bar/template/bbcode_bar.tpl
r10024 r10983 4 4 {footer_script require='jquery'} 5 5 BBCodeBar = {ldelim} 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 {ldelim}name:'{'yellow_help'|@translate}', openWith:'[color=yellow]',closeWith:'[/color]', className:"col1-1" },48 {ldelim}name:'{'orange_help'|@translate}', openWith:'[color=orange]',closeWith:'[/color]', className:"col1-2" },49 {ldelim}name:'{'red_help'|@translate}', openWith:'[color=red]',closeWith:'[/color]', className:"col1-3" },50 51 {ldelim}name:'{'blue_help'|@translate}', openWith:'[color=blue]',closeWith:'[/color]', className:"col2-1" },52 {ldelim}name:'{'purple_help'|@translate}', openWith:'[color=purple]',closeWith:'[/color]', className:"col2-2" },53 {ldelim}name:'{'green_help'|@translate}', openWith:'[color=green]',closeWith:'[/color]', className:"col2-3" },54 55 {ldelim}name:'{'white_help'|@translate}', openWith:'[color=white]',closeWith:'[/color]', className:"col3-1" },56 {ldelim}name:'{'grey_help'|@translate}', openWith:'[color=gray]',closeWith:'[/color]', className:"col3-2" },57 {ldelim}name:'{'black_help'|@translate}', openWith:'[color=black]',closeWith:'[/color]', className:"col3-3" }58 59 60 61 6 markupSet: [ 7 {if isset($BBC_b)}{ldelim}name:'{'b_help'|@translate}', key:'B', openWith:'[b]', closeWith:'[/b]', className:'markItUpBold'},{/if} 8 {if isset($BBC_i)}{ldelim}name:'{'i_help'|@translate}', key:'I', openWith:'[i]', closeWith:'[/i]', className:'markItUpItalic'},{/if} 9 {if isset($BBC_u)}{ldelim}name:'{'u_help'|@translate}', key:'U', openWith:'[u]', closeWith:'[/u]', className:'markItUpUnderline'},{/if} 10 {if isset($BBC_s)}{ldelim}name:'{'s_help'|@translate}', key:'S', openWith:'[s]', closeWith:'[/s]', className:'markItUpStroke'},{/if} 11 12 {if isset($BBC_p) OR isset($BBC_center) OR isset($BBC_right) OR isset($BBC_quote)}{ldelim}separator:'|'},{/if} 13 14 {if isset($BBC_p)}{ldelim}name:'{'p_help'|@translate}', openWith:'[p]', closeWith:'[/p]', className:'markItUpParagraph'},{/if} 15 {if isset($BBC_center)}{ldelim}name:'{'center_help'|@translate}', openWith:'[center]', closeWith:'[/center]', className:'markItUpCenter'},{/if} 16 {if isset($BBC_right)}{ldelim}name:'{'right_help'|@translate}', openWith:'[right]', closeWith:'[/right]', className:'markItUpRight'},{/if} 17 {if isset($BBC_quote)}{ldelim}name:'{'quote_help'|@translate}', openWith:'[quote]', closeWith:'[/quote]', className:'markItUpQuote'},{/if} 18 19 {if isset($BBC_ul) OR isset($BBC_ol) OR isset($BBC_li)}{ldelim}separator:'|'},{/if} 20 21 {if isset($BBC_ul)}{ldelim}name:'{'ul_help'|@translate}', openWith:'[ul]\n', closeWith:'\n[/ul]', className:'markItUpListUL'},{/if} 22 {if isset($BBC_ol)}{ldelim}name:'{'ol_help'|@translate}', openWith:'[ol]\n', closeWith:'\n[/ol]', className:'markItUpListOL'},{/if} 23 {if isset($BBC_ul) OR isset($BBC_ol)}{ldelim}name:'{'li_help'|@translate}', openWith:'[li]', closeWith:'[/li]', className:'markItUpListLI'},{/if} 24 25 {if isset($BBC_img) OR isset($BBC_url) OR isset($BBC_mail)}{ldelim}separator:'|' },{/if} 26 27 {if isset($BBC_img)}{ldelim}name:'{'img_help'|@translate}', key:'P', replaceWith:'[img][![Url]!][/img]', className:'markItUpPicture'},{/if} 28 {if isset($BBC_url)}{ldelim}name:'{'url_help'|@translate}', key:'L', openWith:'[url=[![Url]!]]', closeWith:'[/url]', className:'markItUpLink'},{/if} 29 {if isset($BBC_email)}{ldelim}name:'{'mail_help'|@translate}', key:'M', replaceWith:'[email][![Mail]!][/email]', className:'markItUpMail'},{/if} 30 31 {if isset($BBC_size) OR isset($BBC_color) OR isset($BBC_smilies)}{ldelim}separator:'|'},{/if} 32 33 {if isset($BBC_size)} 34 {ldelim}name:'{'size_help'|@translate}', className:'markItUpSize', 35 dropMenu :[ 36 {ldelim}name:'{'tiny'|@translate}', openWith:'[size=7]', closeWith:'[/size]' }, 37 {ldelim}name:'{'small'|@translate}', openWith:'[size=9]', closeWith:'[/size]' }, 38 {ldelim}name:'{'normal'|@translate}', openWith:'[size=12]', closeWith:'[/size]' }, 39 {ldelim}name:'{'large'|@translate}', openWith:'[size=18]', closeWith:'[/size]' }, 40 {ldelim}name:'{'huge'|@translate}', openWith:'[size=24]', closeWith:'[/size]' }, 41 ] 42 }, 43 {/if} 44 {if isset($BBC_color)} 45 {ldelim}name:'{'color_help'|@translate}', className:'markItUpColors', openWith:'[color=[![Color]!]]', closeWith:'[/color]', 46 dropMenu: [ 47 {ldelim}name:'{'yellow_help'|@translate}', openWith:'[color=yellow]', closeWith:'[/color]', className:"col1-1" }, 48 {ldelim}name:'{'orange_help'|@translate}', openWith:'[color=orange]', closeWith:'[/color]', className:"col1-2" }, 49 {ldelim}name:'{'red_help'|@translate}', openWith:'[color=red]', closeWith:'[/color]', className:"col1-3" }, 50 51 {ldelim}name:'{'blue_help'|@translate}', openWith:'[color=blue]', closeWith:'[/color]', className:"col2-1" }, 52 {ldelim}name:'{'purple_help'|@translate}', openWith:'[color=purple]', closeWith:'[/color]', className:"col2-2" }, 53 {ldelim}name:'{'green_help'|@translate}', openWith:'[color=green]', closeWith:'[/color]', className:"col2-3" }, 54 55 {ldelim}name:'{'white_help'|@translate}', openWith:'[color=white]', closeWith:'[/color]', className:"col3-1" }, 56 {ldelim}name:'{'grey_help'|@translate}', openWith:'[color=gray]', closeWith:'[/color]', className:"col3-2" }, 57 {ldelim}name:'{'black_help'|@translate}', openWith:'[color=black]', closeWith:'[/color]', className:"col3-3" } 58 ] 59 }, 60 {/if} 61 ] 62 62 }; 63 63 64 64 jQuery(document).ready(function() {ldelim} 65 65 jQuery('#{$form_name} textarea').markItUp(BBCodeBar); 66 66 }); 67 67 {/footer_script} -
extensions/bbcode_bar/template/bbcode_bar_admin.tpl
r9965 r10983 1 1 {html_head} 2 2 {literal} 3 4 5 6 7 3 <style type="text/css"> 4 form.properties span.property { 5 width:60%; 6 } 7 </style> 8 8 {/literal} 9 9 {/html_head} 10 10 11 11 <div class="titrePage"> 12 12 <h2>BBCode Bar</h2> 13 13 </div> 14 14 15 15 <form method="post" action="" class="properties" ENCTYPE="multipart/form-data"> 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 </li> 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 16 <fieldset> 17 <legend>{'Parameters'|@translate}</legend> 18 <ul> 19 <li> 20 <label><span class="property">{'b_help'|@translate}</span> 21 <input type="checkbox" name="b" {$B_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/bold.png"></label> 22 </li> 23 <li> 24 <label><span class="property">{'i_help'|@translate}</span> 25 <input type="checkbox" name="i" {$I_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/italic.png"></label> 26 </li> 27 <li> 28 <label><span class="property">{'u_help'|@translate}</span> 29 <input type="checkbox" name="u" {$U_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/underline.png"></label> 30 </li> 31 <li> 32 <label><span class="property">{'s_help'|@translate}</span> 33 <input type="checkbox" name="s" {$S_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/stroke.png"></label> 34 </li> 35 <li> 36 <label><span class="property">{'p_help'|@translate}</span> 37 <input type="checkbox" name="p" {$P_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/p.png"></label> 38 </li> 39 <li> 40 <label><span class="property">{'center_help'|@translate}</span> 41 <input type="checkbox" name="center" {$CENTER_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/center.png"></label> 42 </li> 43 <li> 44 <label><span class="property">{'right_help'|@translate}</span> 45 <input type="checkbox" name="right" {$RIGHT_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/right.png"></label> 46 </li> 47 <li> 48 <label><span class="property">{'quote_help'|@translate}</span> 49 <input type="checkbox" name="quote" {$QUOTE_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/quote.png"></label> 50 </li> 51 <li> 52 <label><span class="property">{'ul_help'|@translate}</span> 53 <input type="checkbox" name="ul" {$UL_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/list-bullet.png"></label> 54 </li> 55 <li> 56 <label><span class="property">{'ol_help'|@translate}</span> 57 <input type="checkbox" name="ol" {$OL_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/list-numeric.png"></label> 58 </li> 59 <li> 60 <label><span class="property">{'img_help'|@translate}</span> 61 <input type="checkbox" name="img" {$IMG_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/picture.png"></label> 62 </li> 63 <li> 64 <label><span class="property">{'url_help'|@translate}</span> 65 <input type="checkbox" name="url" {$URL_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/link.png"></label> 66 </li> 67 <li> 68 <label><span class="property">{'mail_help'|@translate}</span> 69 <input type="checkbox" name="email" {$EMAIL_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/mail.png"></label> 70 </li> 71 <li> 72 <label><span class="property">{'size_help'|@translate}</span> 73 <input type="checkbox" name="size" {$SIZE_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/fonts.png"></label> 74 </li> 75 <li> 76 <label><span class="property">{'color_help'|@translate}</span> 77 <input type="checkbox" name="color" {$COLOR_STATUS} value="1"/> <img src="{$BBCODE_PATH}template/markitup/images/colors.png"></label> 78 </li> 79 </ul> 80 </fieldset> 81 82 <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit"/></p> 83 83 </form>
Note: See TracChangeset
for help on using the changeset viewer.