Commit c532a85d authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier

Fixes: #2511 FusionDirectory should provide valid HTML

parent 3683ceb1
<table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
<table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
<tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
<td align=left width="100%">
<LABEL for="storage_base">
......@@ -16,26 +16,26 @@
</tr>
<tr style="background-color: white">
<td colspan=2>
<table summary="" width="100%" cellspacing=2 cellpadding=4>
<table width="100%" cellspacing=2 cellpadding=4>
<tr>
<td style="width:50%; vertical-align:top; background-color: #F0F0F0">
<h2>
<img class="center" alt="" src="{$personal_image}" align=middle>
&nbsp;{t}Personal{/t}
</h2>
<table summary="" width="100%">
<table width="100%">
<tr>
<td>
<LABEL for="sn">
{t}Last name{/t}{$must}
</LABEL>,
</LABEL>,
<LABEL for="givenName">
{t}First name{/t}{$must}
</LABEL>
</td>
<td>
{render acl=$snACL}
<input type='text' id="sn" name="sn" size=10 maxlength=60 value="{$info_sn}">,
{render acl=$snACL}
<input type='text' id="sn" name="sn" size=10 maxlength=60 value="{$info_sn}">,
{/render}
{render acl=$givenNameACL}
<input type='text' id="givenName" name="givenName" size=10 maxlength=60 value="{$info_givenName}">
......@@ -73,7 +73,7 @@
<img class="center" alt="" src="{$home_image}" align=middle>
&nbsp;{t}Private{/t}
</h2>
<table summary="" width="100%">
<table width="100%">
<tr>
<td>
<LABEL for="homePostalAddress">
......@@ -133,13 +133,13 @@
<img class="center" alt="" src="{$company_image}" align=middle>
&nbsp;{t}Organizational{/t}
</h2>
<table summary="" width="100%">
<table width="100%">
<tr>
<td>
<table summary="" width="100%">
<table width="100%">
<tr>
<td>
<LABEL for="">
<LABEL for="">
{t}Company{/t}
</LABEL>
</td>
......@@ -200,7 +200,7 @@
</table>
</td>
<td style="vertical-align:top">
<table summary="" width="100%">
<table width="100%">
<tr>
<td>
<LABEL for="">
......@@ -218,7 +218,7 @@
<tr>
<td>
<LABEL for="">
{t}Phone{/t}
{t}Phone{/t}
</LABEL>
</td>
<td>
......
<table summary="" style="table-layout:fixed; width:100%; vertical-align:top; text-align:left; table-layout:auto;" cellpadding="4" border="0">
<table style="table-layout:fixed; width:100%; vertical-align:top; text-align:left; table-layout:auto;" cellpadding="4" border="0">
<tr>
<td style="vertical-align:top;">
<table summary="" style="border:1px solid #B0B0B0; width:100%; vertical-align:top; text-align:left;" cellpadding="4" cellspacing="0">
<table style="border:1px solid #B0B0B0; width:100%; vertical-align:top; text-align:left;" cellpadding="4" cellspacing="0">
<colgroup>
<col width="32%">
<col width="14%">
......@@ -17,7 +17,7 @@
{$search_result}
</table>
<table summary="" style="vertical-align:top; text-align:center; width:100%;" cellpadding="4" cellspacing="0" border="0">
<table style="vertical-align:top; text-align:center; width:100%;" cellpadding="4" cellspacing="0" border="0">
<tr>
<td>{$range_selector}</td>
</tr>
......@@ -30,17 +30,17 @@
</td>
<td style="vertical-align:top; width:270px;">
<div class="contentboxh" style="border-bottom:1px solid #B0B0B0;">
<p class="contentboxh"><img src="{$infoimage}" align="right" alt="[i]">{t}Information{/t}</p>
<p class="contentboxh"><img src="{$infoimage}" alt="[i]"/>{t}Information{/t}</p>
</div>
<div class="contentboxb">
<p class="contentboxb">
{t}The telephone list plugin provides list and search facilities for the people in your site. You may want to specify the asterisk [*] like in
{t}The telephone list plugin provides list and search facilities for the people in your site. You may want to specify the asterisk [*] like in
'Fu*ry' to find 'FusionDirectory'. Use the filters below to narrow down your search.{/t}
</p>
</div>
<br>
<div class="contentboxh">
<p class="contentboxh" style="vertical-align:middle;"><img src="{$actionimage}" style="vertical-align:middle;" align="right" alt="[a]">{t}Actions{/t}</p>
<p class="contentboxh" style="vertical-align:middle;"><img src="{$actionimage}" style="vertical-align:middle;" alt="[a]"/>{t}Actions{/t}</p>
</div>
<div class="contentboxb">
<p class="contentboxb" style="vertical-align:middle;">
......@@ -63,14 +63,14 @@
</div>
<br>
<div class="contentboxh">
<p class="contentboxh"><img src="{$launchimage}" align="right" alt="[F]">{t}Filters{/t}</p>
<p class="contentboxh"><img src="{$launchimage}" alt="[F]"/>{t}Filters{/t}</p>
</div>
<div class="contentboxb">
<table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
<table style="width:100%;border-top:1px solid #B0B0B0;">
{$alphabet}
</table>
<table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
<table style="width:100%;border-top:1px solid #B0B0B0;">
<tr>
<td>
<input type="checkbox" name="organizational" value="1" {$organizational} onClick="mainform.submit()" title="{t}Select to see regular users{/t}">{t}Show organizational entries{/t}<br>
......@@ -79,10 +79,10 @@
</tr>
</table>
<table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
<table style="width:100%;border-top:1px solid #B0B0B0;">
<tr>
<td>
<label for="search_base"><img class="center" alt="" src="{$tree_image}" align=middle title='{t}Display results for department{/t}'></label>
<label for="search_base"><img class="center" alt="" src="{$tree_image}" title='{t}Display results for department{/t}'></label>
</td>
<td>
<select name="search_base" style='width:220px' onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
......@@ -92,10 +92,10 @@
</td>
</tr>
</table>
<table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
<table style="width:100%;border-top:1px solid #B0B0B0;">
<tr>
<td>
<label for="object_type"><img class="center" alt="" src="{$obj_image}" align=middle title='{t}Match object{/t}'></label>
<label for="object_type"><img class="center" alt="" src="{$obj_image}" title='{t}Match object{/t}'></label>
</td>
<td>
<select id="object_type" style='width:220px' name="object_type" onChange="mainform.submit()" title="{t}Choose the object that will be searched in{/t}">
......@@ -105,7 +105,7 @@
</td>
</tr>
</table>
<table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
<table style="width:100%;border-top:1px solid #B0B0B0;">
<tr>
<td><label for="search_for"><img class="center" alt="" src="{$search_image}" style="text-align:center;" title='{t}Search for{/t}'></label>
</td>
......@@ -121,7 +121,7 @@
</table>
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<script type="text/javascript">
<!-- // First input field on page
focus_field('search_for');
-->
......
<table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
<table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
<tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
<td align=left width="100%"><LABEL for="dial">{t}Dial connection...{/t}</LABEL></td>
</tr>
......
......@@ -8,7 +8,7 @@
{$SCOPE}
<table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
<table style="width:100%;border-top:1px solid #B0B0B0;">
<tr>
<td>
<label for="NAME">
......@@ -21,9 +21,9 @@
</tr>
</table>
<table summary="" width="100%" style="background:#EEEEEE;border-top:1px solid #B0B0B0;">
<table width="100%" style="background:#EEEEEE;border-top:1px solid #B0B0B0;">
<tr>
<td width="100%" align="right">
<td style="width:100%;text-align:right;">
{$APPLY}
</td>
</tr>
......
<table summary="" style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
<table style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
<tr>
<td style="vertical-align:top; width:100%;">
<div class="contentboxh">
......
<table summary="" style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
<table style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
<tr>
<td style="vertical-align:top; width:100%;">
<div class="contentboxh">
......
......@@ -15,7 +15,7 @@
<div style="display:block;width=100%;border-top:1px solid #AAAAAA;"></div>
{$SCOPE}
<table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
<table style="width:100%;border-top:1px solid #B0B0B0;">
<tr>
<td>
<label for="NAME">
......@@ -48,9 +48,9 @@
</tr>
</table>
<table summary="" width="100%" style="background:#EEEEEE;border-top:1px solid #B0B0B0;">
<table width="100%" style="background:#EEEEEE;border-top:1px solid #B0B0B0;">
<tr>
<td width="100%" align="right">
<td style="width:100%;text-align:right;">
{$APPLY}
</td>
</tr>
......
......@@ -3,7 +3,7 @@
</div>
<div class="contentboxb">
<p class="contentboxb" style="border-top:1px solid #B0B0B0; padding-top:5px;">
<img class="center" alt="" align="middle" border=0 src="{$search_image}">&nbsp;{t}Search for{/t}
<img class="center" alt="" border=0 src="{$search_image}">&nbsp;{t}Search for{/t}
<input type='text' name="search_for" size=25 maxlength=60 value="{$search_for}" title="{t}Enter user name to search for{/t}" onChange="mainform.submit()">
{t}in{/t}
<select size="1" name="search_base" title="{t}Select subtree to base search on{/t}" onChange="mainform.submit()">
......@@ -17,7 +17,7 @@
<select size="1" name="month" onChange="mainform.submit()">
{html_options options=$months selected=$month_select}
</select>
{t}in{/t}
{t}in{/t}
<select size="1" name="year" onChange="mainform.submit()">
{html_options values=$years output=$years selected=$year_select}
</select>
......@@ -29,20 +29,20 @@
<br>
{if $search_result}
<table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=2 cellspacing=1 border=0 rules="cols" summary="">
<table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=2 cellspacing=1 border=0 rules="cols">
<tr style="background-color: #E8E8E8; height:26px; font-weight:bold">
<td><a href="main.php{$plug}&amp;sort=0">{t}Date{/t} {$mode0}</a></td>
<td><a href="main.php{$plug}&amp;sort=1">{t}Source{/t} {$mode1}</a></td>
<td><a href="main.php{$plug}&amp;sort=2">{t}Destination{/t} {$mode2}</a></td>
<td><a href="main.php{$plug}&amp;sort=3">{t}Channel{/t} {$mode3}</a></td>
<td><a href="main.php{$plug}&amp;sort=4">{t}Application{/t} {$mode4}</a></td>
<td><a href="main.php{$plug}&amp;sort=5">{t}Status{/t} {$mode5}</a></td>
<td><a href="main.php{$plug}&amp;sort=6">{t}Duration{/t} {$mode6}</a></td>
<td><a href="main.php{$plug}&amp;sort=2">{t}Destination{/t} {$mode2}</a></td>
<td><a href="main.php{$plug}&amp;sort=3">{t}Channel{/t} {$mode3}</a></td>
<td><a href="main.php{$plug}&amp;sort=4">{t}Application{/t} {$mode4}</a></td>
<td><a href="main.php{$plug}&amp;sort=5">{t}Status{/t} {$mode5}</a></td>
<td><a href="main.php{$plug}&amp;sort=6">{t}Duration{/t} {$mode6}</a></td>
</tr>
{$search_result}
</table>
<table style="width:100%; vertical-align:top; text-align:center;" cellpadding=4 cellspacing=0 border=0 summary="">
<table style="width:100%; vertical-align:top; text-align:center;" cellpadding=4 cellspacing=0 border=0>
<tr>
<td>{$range_selector}</td>
</tr>
......@@ -56,7 +56,7 @@
{/if}
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<script type="text/javascript">
<!-- // First input field on page
focus_field('search_for');
-->
......
......@@ -8,7 +8,7 @@
{$SCOPE}
<table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
<table style="width:100%;border-top:1px solid #B0B0B0;">
<tr>
<td>
<label for="NAME">
......@@ -21,9 +21,9 @@
</tr>
</table>
<table summary="" width="100%" style="background:#EEEEEE;border-top:1px solid #B0B0B0;">
<table width="100%" style="background:#EEEEEE;border-top:1px solid #B0B0B0;">
<tr>
<td width="100%" align="right">
<td style="width:100%;text-align:right;">
{$APPLY}
</td>
</tr>
......
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
<tr>
<td colspan=3>
<h2 style='margin:0px; padding:0px;'><img class="center" alt="" align="middle" src="images/rightarrow.png">
<h2 style='margin:0px; padding:0px;'><img class="center" alt="" src="images/rightarrow.png">
{t}Properties{/t}
</h2>
</td>
</tr>
<tr>
<td style="vertical-align:top">
<table summary="">
<table>
<tr>
<td>
<LABEL for="cn">
......@@ -85,7 +85,7 @@
&nbsp;
</td>
<td width="50%">
<table summary="">
<table>
<tr>
<td>
<LABEL for="description">
......@@ -131,7 +131,7 @@
</tr>
<tr>
<td colspan=3>
<h2 style='margin:0px; padding:0px;'><img class="center" alt="" align="middle" src="plugins/asterisk/images/options.png">
<h2 style='margin:0px; padding:0px;'><img class="center" alt="" src="plugins/asterisk/images/options.png">
{t}Options{/t}
</h2>
</td>
......@@ -139,7 +139,7 @@
<tr>
<td>
<table summary="">
<table>
<tr>
<td>
{render acl=$goFonConferenceOptionPACL}
......@@ -193,7 +193,7 @@
</td>
<td>
<table summary="">
<table>
<tr>
<td>
{render acl=$goFonConferenceOptionMACL}
......@@ -235,7 +235,7 @@
<input type='hidden' name='phoneConferenceGeneric' value='1'>
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<script type="text/javascript">
<!-- // First input field on page
focus_field('cn');
-->
......
<table summary="">
<table>
<tr>
<td>
<LABEL for="cn">
......
<table width="100%" summary="">
<table width="100%">
<tr>
<td>
<table summary="">
<table>
<tr>
<td><LABEL for="cn">{t}Macro name{/t}</LABEL>{$must}</td>
<td>
......@@ -14,7 +14,7 @@
<td><LABEL for="displayName">{t}Display name{/t}</LABEL>{$must}</td>
<td>
{render acl=$displayNameACL}
<input name="displayName" id="displayName" size=35 maxlength=60 value="{$displayName}"
<input name="displayName" id="displayName" size=35 maxlength=60 value="{$displayName}"
title="{t}Macro name to be displayed{/t}">
{/render}
</td>
......@@ -37,7 +37,7 @@
&nbsp;
</td>
<td style="vertical-align:top;">
<table summary="">
<table>
<tr>
<td><LABEL for="description">{t}Description{/t}</LABEL></td>
<td>
......@@ -49,7 +49,7 @@
<tr>
<td colspan=2>
{render acl=$goFonMacroVisibleACL}
<input type="checkbox" name="goFonMacroVisible" size=35 maxlength=60 value="1"
<input type="checkbox" name="goFonMacroVisible" size=35 maxlength=60 value="1"
{$goFonMacroVisibleChecked}> {t}Visible for user{/t}
{/render}
</td>
......@@ -69,7 +69,7 @@
<input type='hidden' name='gofonMacroGenericPosted' value='1'>
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<script type="text/javascript">
<!-- // First input field on page
focus_field('cn');
-->
......
......@@ -8,7 +8,7 @@
{$SCOPE}
<table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
<table style="width:100%;border-top:1px solid #B0B0B0;">
<tr>
<td>
<label for="NAME">
......@@ -21,9 +21,9 @@
</tr>
</table>
<table summary="" width="100%" style="background:#EEEEEE;border-top:1px solid #B0B0B0;">
<table width="100%" style="background:#EEEEEE;border-top:1px solid #B0B0B0;">
<tr>
<td width="100%" align="right">
<td style="width:100%;text-align:right;">
{$APPLY}
</td>
</tr>
......
{if $readable}
<table width="100%" summary="">
<table width="100%">
<tr>
<td>{t}Argument{/t}
</td>
......@@ -21,7 +21,7 @@
<input type="hidden" name="phoneparemeters">
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<script type="text/javascript">
<!-- // First input field on page
focus_field('cn');
-->
......
<table summary="">
<table>
<tr>
<td>
<LABEL for="cn">{t}Macro name{/t}</LABEL>{$must}</td>
......
......@@ -2,14 +2,14 @@
<img class='center' src='images/lists/on.png' alt='!'>&nbsp;<b>{t}Only users with the same asterisk home server will be included to this queue.{/t}</b>
</p>
<table summary="{t}Queue Settings{/t}" style="width: 100%; vertical-align: top; text-align: left;" border="0" cellpadding="4">
<table style="width: 100%; vertical-align: top; text-align: left;" border="0" cellpadding="4">
<tr>
<td valign='top'>
<h2><img class="center" alt="" src="plugins/asterisk/images/iconMini.png" align="middle">&nbsp;{t}Phone numbers{/t}</h2>
<table summary="">
<table>
<tr>
<td colspan=2>
<table summary="{t}Generic queue Settings{/t}">
<table>
<tr>
<td>
{render acl=$telephoneNumberACL}
......@@ -132,7 +132,7 @@
<img class="center" alt="" src="plugins/asterisk/images/sound.png" align="middle">
{t}Queue sound setup{/t}
</h2>
<table summary="{t}Generic queue Settings{/t}">
<table>
<!--<tr>
<td>
{t}Use music on hold instead of ringing{/t}
......@@ -268,7 +268,7 @@
</tr>
<tr>
<td>
<table summary="" style="width: 100%; vertical-align: top; text-align: left;" border="0" cellpadding="0">
<table style="width: 100%; vertical-align: top; text-align: left;" border="0" cellpadding="0">
<tr>
<td colspan=2>
{render acl=$goFonQueueAnnounceHoldtimeACL}
......@@ -296,7 +296,7 @@
</td>
<td valign='top' style="border-left: 1px solid rgb(160, 160, 160);">
<table summary="" style="width: 100%; vertical-align: top; text-align: left;" border="0" cellpadding="0">
<table style="width: 100%; vertical-align: top; text-align: left;" border="0" cellpadding="0">
<tr>
<td colspan=2>
{render acl=$goFonDialOptionhACL}
......
<table summary="" width="100%">
<table width="100%">
<tr>
<td style="vertical-align:top; width:50%; border-right:1px solid #A0A0A0">
<table summary="">
<table>
<tr>
<td><LABEL for="cn">{t}Phone name{/t}</LABEL>{$must}</td>
<td>
......@@ -24,7 +24,7 @@
</table>
</td>
<td style="vertical-align:top">
<table summary="">
<table>
<tr>
<td><LABEL for="description">{t}Description{/t}</LABEL></td>
<td>
......@@ -45,7 +45,7 @@
{$netconfig}
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<script type="text/javascript">
<!-- // First input field on page
focus_field('cn');
-->
......
<h2><img class="center" alt="" align="middle" src="plugins/asterisk/images/iconMini.png"> {t}Advanced phone settings{/t}</h2>
<table summary="" style="width:100%" border=0>
<table style="width:100%" border=0>
<tr>
<td colspan="2">
<LABEL for="selected_categorie">{t}Phone type{/t}</LABEL>{$staticAddress}
......@@ -16,7 +16,7 @@
{if $selected_categorie eq '0'}
<tr>
<td style="width:50%; border-right:1px solid #A0A0A0">
<table summary="" border=0>
<table border=0>
<tr>
<td>
<LABEL for="goFonType">{t}Mode{/t}</LABEL>{$staticAddress}
......@@ -45,7 +45,7 @@
</table>
</td>
<td>
<table summary="" border=0>
<table border=0>
<tr>
<td >
<LABEL for="goFonDefaultIP">{t}Default IP{/t}</LABEL>
......@@ -78,7 +78,7 @@
<tr>
<td style="vertical-align:top; width:50%; border-right:1px solid #A0A0A0">
<table summary="" width="100%">
<table width="100%">
<tr>
<td>
<LABEL for="goFonType">{t}Modus{/t}{$staticAddress}</LABEL>
......@@ -185,7 +185,7 @@
</table>
</td>
<td valign="top" style="vertical-align:top">
<table summary="" width="100%">
<table width="100%">
<tr>
<td style="vertical-align:top;">
<LABEL for="goFonPermitS">{t}Hosts that are allowed to connect{/t}</LABEL><br>
......@@ -238,7 +238,7 @@
{if $selected_categorie eq '2'}
<tr>
<td style="width:50%">
<table summary="" width="100%">