diff options
Diffstat (limited to '')
-rw-r--r-- | etherpad/src/templates/pad/pad_body2.ejs | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/etherpad/src/templates/pad/pad_body2.ejs b/etherpad/src/templates/pad/pad_body2.ejs index c359b14..004c4c1 100644 --- a/etherpad/src/templates/pad/pad_body2.ejs +++ b/etherpad/src/templates/pad/pad_body2.ejs @@ -103,16 +103,21 @@ limitations under the License. */ %> <div id="docbar"> <table border="0" cellpadding="0" cellspacing="0" width="100%" id="docbartable"> + <tr> <td><img src="/static/img/jun09/pad/roundcorner_left.gif"></td> <td id="docbarpadtitle"><span><%= initialTitle %></span></td> <td width="100%"> </td> -<% if (isProAccountHolder) { %> - <td id="docbarsecurity-outer" class="docbarbutton" nowrap> - <a href="javascript:void(0)" id="docbarsecurity"> - <img src="/static/img/jun09/pad/icon_security.gif">Security - </a> - </td> -<% } /* isProAccountHolder */ %> + <% + plugins.callHookStr('docbarItemsAll', {}, '', '<td class="docbarbutton" nowrap>', '</td>'); + plugins.callHookStr('docbarItemsPad', {}, '', '<td class="docbarbutton" nowrap>', '</td>'); + %> + <% if (isProAccountHolder) { %> + <td id="docbarsecurity-outer" class="docbarbutton" nowrap> + <a href="javascript:void(0)" id="docbarsecurity"> + <img src="/static/img/jun09/pad/icon_security.gif">Security + </a> + </td> + <% } /* isProAccountHolder */ %> <td id="docbaroptions-outer" class="docbarbutton" nowrap> <a href="javascript:void(0)" id="docbaroptions"> <img src="/static/img/jun09/pad/icon_pad_options.gif">Pad Options @@ -134,12 +139,13 @@ limitations under the License. */ %> </a> </td> <td><img src="/static/img/jun09/pad/roundcorner_right_orange.gif"></td> + </tr> </table> -<% if (isProAccountHolder) { %> - <div id="docbarrenamelink"> - <a href="javascript:void(0)">(rename)</a> - </div> -<% } /* isProAccountHolder */ %> + <% if (isProAccountHolder) { %> + <div id="docbarrenamelink"> + <a href="javascript:void(0)">(rename)</a> + </div> + <% } /* isProAccountHolder */ %> <input type="text" id="padtitleedit"/> <div id="padtitlebuttons"> <a id="padtitlesave" href="javascript:void(0)">Save</a> |