source: extensions/bbcode_bar/bbcode_bar.tpl @ 9752

Last change on this file since 9752 was 9682, checked in by mistic100, 13 years ago

[extentions] BBcode Bar

  • compatibility with Piwigo 2.2.0
  • many corrections
File size: 8.1 KB
Line 
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"}
3
4<div id="outils" width="500pt">
5        <table class="outils"> 
6                <tr>                   
7                        {if isset($BBCode_bar_button_00)}
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>
9                        {/if}
10                        {if isset($BBCode_bar_button_01)}
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>
12                        {/if}
13                        {if isset($BBCode_bar_button_02)}
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>
15                        {/if}
16                        {if isset($BBCode_bar_button_03)}
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>
18                        {/if}
19                        {if isset($BBCode_bar_button_04)}
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>
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)}
24                        <td> &nbsp; &nbsp; </td>
25                        {/if}
26                       
27                        {if isset($BBCode_bar_button_05)}
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>
29                        {/if}
30                        {if isset($BBCode_bar_button_06)}
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>
32                        {/if}
33                        {if isset($BBCode_bar_button_07)}
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>
35                        {/if}
36                        {if isset($BBCode_bar_button_08)}
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>
38                        {/if}
39                       
40                        {if isset($BBCode_bar_SmiliesSupport)}
41                        <td> &nbsp; &nbsp; </td>
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)}
46                        <td> &nbsp; &nbsp; </td>
47                        {/if}
48                       
49                        {if isset($BBCode_bar_button_09)}       
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>
51                        {/if}
52                        {if isset($BBCode_bar_button_10)}
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>
54                        {/if}
55                        {if isset($BBCode_bar_button_11)}
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>
57                        {/if}
58                        {if isset($BBCode_bar_button_12)}
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>
60                        {/if}
61                       
62                        {if isset($BBCode_bar_button_13) OR isset($BBCode_bar_button_14)}
63                        <td> &nbsp; &nbsp; </td>
64                        {/if}
65                       
66                        {if isset($BBCode_bar_button_13)}
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>
73                                </select>
74                        </td>
75                        {/if}
76                        {if isset($BBCode_bar_button_14)}
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>
93                                </select>
94                        </td>                   
95                        {/if}
96                </tr>
97        </table>
98        {if isset($BBCode_bar_button_15)}
99        <input class="helpline" type="text" value="{'help'|@translate}" maxlength="150" size="80" name="helpbox"/>
100        {/if}
101</div>
Note: See TracBrowser for help on using the repository browser.