summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-pbx_extension.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-01-18 19:13:14 -0800
committerIvan Kohler <ivan@freeside.biz>2014-01-18 19:13:14 -0800
commit6ac45d15e85b10e3d63645c26a0a2acbad103df1 (patch)
tree79ffb548e9018b9512fe31740e6ab8911e08ff2a /httemplate/elements/tr-pbx_extension.html
parent5fbd483ef56737fad894f18ec311a817c40054f0 (diff)
FS/FS/pbx_extension.pm
Diffstat (limited to 'httemplate/elements/tr-pbx_extension.html')
-rw-r--r--httemplate/elements/tr-pbx_extension.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/httemplate/elements/tr-pbx_extension.html b/httemplate/elements/tr-pbx_extension.html
new file mode 100644
index 000000000..a9d640d51
--- /dev/null
+++ b/httemplate/elements/tr-pbx_extension.html
@@ -0,0 +1,24 @@
+% unless ( $opt{'js_only'} ) {
+
+ <% include('tr-td-label.html', %opt) %>
+ <TD <% $cell_style %>>
+
+% }
+%
+ <% include( '/elements/pbx_extension.html', %opt ) %>
+%
+% unless ( $opt{'js_only'} ) {
+
+ </TD>
+ </TR>
+
+% }
+<%init>
+
+my( %opt ) = @_;
+
+my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
+
+$opt{'label'} ||= 'Extension';
+
+</%init>