summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 18125d6)
raw | patch | inline | side by side (parent: 18125d6)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Dec 2005 14:03:52 +0000 (14:03 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Dec 2005 14:03:52 +0000 (14:03 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2274 594d385d-05f5-0310-b6e9-bd551577e9d8
12 files changed:
index 180d7bfb9f3e401a0e30dd8302dc79af04addf92..e9c74ba00223db8b95bdfb0edda5b4433179ca44 100644 (file)
}
}
- // if fewer than 19 Entries (list not full), print row to fill empty space
- //if($this->_numEntries()<=18){
+ // if fewer than 22 Entries (list not full), print row to fill empty space
+ if($this->_numEntries()<=22){
$fill= "";
for ($i= 1; $i <= $this->cols; $i++){
if ($i == $this->cols){
}
}
$s_return.="\n<tr>$fill</tr>";
- //}
+ }
$s_return .= "\n</table></div></td></tr>";
return $s_return;
}
diff --git a/include/functions.inc b/include/functions.inc
index 23413b8b931948c64137aff5e1046345f7398323..6151838bc1bfa4221355fd874f561b2cff40b881 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
}
if(($post_var)&&($numpages)){
- $output.= "</td><td style='width:25%;text-align:right'> "._("Entries per page")." <select name='".$post_var."' onChange='javascript:document.mainform.submit()'>";
+ $output.= "</td><td style='width:25%;text-align:right;vertical-align:middle;'> "._("Entries per page")." <select style='vertical-align:middle;' name='".$post_var."' onChange='javascript:document.mainform.submit()'>";
foreach(array(20,50,100,200,"all") as $num){
if($num == "all"){
$var = 10000;
$var = $num;
}
if($var == $range){
- $output.="\n<option selected value='".$var."'>".$num."</option>";
+ $output.="\n<option selected='selected' value='".$var."'>".$num."</option>";
}else{
$output.="\n<option value='".$var."'>".$num."</option>";
}
diff --git a/plugins/admin/applications/class_applicationManagement.inc b/plugins/admin/applications/class_applicationManagement.inc
index 86e5891fd13b971a071e5e1231169fc8baa842b8..8d33c59394bd615a7473c9df43e1204c0d5949db 100644 (file)
/* Don't show buttons if tab dialog requests this */
if (!$this->apptabs->by_object[$this->apptabs->current]->dialog){
$display.= "<p style=\"text-align:right\">\n";
- $display.= "<input type=submit name=\"edit_finish\" value=\""._("Finish")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_finish\" value=\""._("Finish")."\">\n";
$display.= " \n";
- $display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
$display.= "</p>";
}
return ($display);
$options= "";
foreach ($this->config->idepartments as $key => $value){
if ($appfilter['depselect'] == $key){
- $options.= "<option selected value='$key'>$value</option>";
+ $options.= "<option selected='selected' value='$key'>$value</option>";
} else {
$options.= "<option value='$key'>$value</option>";
}
"</div>";
- $actions = "<input type='image' src='images/edit.png' alt='"._("edit")."' name='appl_edit_%KEY%' title='"._("Edit this entry")."'>";
- $actions.= "<input type='image' src='images/edittrash.png' alt='"._("delete")."' name='appl_del_%KEY%' title='"._("Delete this entry")."'>";
+ $actions = "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."' name='appl_edit_%KEY%' title='"._("Edit this entry")."'>";
+ $actions.= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."' name='appl_del_%KEY%' title='"._("Delete this entry")."'>";
// Defining Links
$linkopen = "<a href='?plug=".$_GET['plug']."&act=dep_open&dep_id=%s'>%s</a>";
// image Buttons
$editlink = "<a href='?plug=".$_GET['plug']."&id=%s&act=edit_entry'>%s</a>";
- $userimg = "<img src='images/select_groups.png' alt='User' title='%s'>";
+ $userimg = "<img class='center' src='images/select_groups.png' alt='User' title='%s'>";
// Extension images
- $applimg = "<img src='images/select_application.png' alt='A' title='"._("Application")."'>";
+ $applimg = "<img class='center' src='images/select_application.png' alt='A' title='"._("Application")."'>";
// Space
- $empty = "<img src='images/empty.png' style='width:16px;height:16px;' alt=''>";
+ $empty = "<img class='center' src='images/empty.png' style='width:16px;height:16px;' alt=''>";
$divlist = new divlist("applicationtabs");
diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc
index 52ff0768c352863f7e39768e8fa2583b03bd5787..4b8ef66653ee89be1ab345f8d0f196097b261a72 100644 (file)
$divlist = new divlist("departmenttabs");
$divlist->SetSummary(_("This table displays all departments, in the selected tree."));
$divlist->SetEntriesPerPage(0);
- $actions= "<input type='image' src='images/edit.png' alt='"._("edit")."' name='dep_edit_%KEY%' title='"._("Edit this entry")."'>";
- $actions.= "<input type='image' src='images/edittrash.png' alt='"._("delete")."' name='dep_del_%KEY%' title='"._("Delete this entry")."'>";
+ $actions= "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."' name='dep_edit_%KEY%' title='"._("Edit this entry")."'>";
+ $actions.= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."' name='dep_del_%KEY%' title='"._("Delete this entry")."'>";
$linkopen = "<a href='?plug=".$_GET['plug']."&act=dep_open&dep_id=%s'>%s</a>";
index b652106d37112511088548344850011e21d732cf..d9db64056da148264891a7f448ace7a8d9f058bb 100644 (file)
}elseif(((isset($this->dialog->current))&&(!$this->dialog->by_object[$this->dialog->current]->is_dialog))){
$display.= "<p style=\"text-align:right\">\n";
- $display.= "<input type=submit name=\"edit_finish\" value=\""._("Finish")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_finish\" value=\""._("Finish")."\">\n";
$display.= " \n";
- $display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
$display.= "</p>";
}elseif(!isset($this->dialog->current)){
$display.= "<p style=\"text-align:right\">\n";
- $display.= "<input type=submit name=\"edit_continue\" value=\""._("Continue")."\"> ";
- $display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_continue\" value=\""._("Continue")."\"> ";
+ $display.= "<input type=\"submit\" name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
$display.= "</p>";
}
return($display);
$options= "";
foreach ($this->config->idepartments as $key => $value){
if ($faifilter['base'] == $key){
- $options.= "<option selected value='$key'>$value</option>";
+ $options.= "<option selected='selected' value='$key'>$value</option>";
} else {
$options.= "<option value='$key'>$value</option>";
}
array("string" => _("Actions"), "attach" => "style='width:60px;border-right:0px;text-align:right;'")));
- $action = "<input type='image' src='images/edit.png' alt='"._("edit")."' name='entry_edit_%KEY%' title='"._("Edit class")."'>";
- $action .= "<input type='image' src='images/edittrash.png' alt='"._("delete")."' name='entry_delete_%KEY%' title='"._("Delete class")."'>";
+ $action = "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."' name='entry_edit_%KEY%' title='"._("Edit class")."'>";
+ $action .= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."' name='entry_delete_%KEY%' title='"._("Delete class")."'>";
$editlink ="<a href='?plug=".$_GET['plug']."&edit_entry=%KEY%'>%NAME%</a>";
$linkopen = "<a href='?plug=".$_GET['plug']."&act=dep_open&dep_id=%s'>%s</a>";
if(!$faifilter['ShowPartitions']){
$abort = true;
}
- $img="<img src='images/fai_partitionTable.png' title='"._("Partition table")."' alt='PT'>";
+ $img="<img class='center' src='images/fai_partitionTable.png' title='"._("Partition table")."' alt='PT'>";
$info = _("Partition table");
break;
case "FAIpackageList" :
if(!$faifilter['ShowPackages']){
$abort = true;
}
- $img="<img src='images/fai_packages.png' title='"._("Package list")."' alt='PL'>";
+ $img="<img class='center' src='images/fai_packages.png' title='"._("Package list")."' alt='PL'>";
$info = _("Package list");
break;
case "FAIscript" :
if(!$faifilter['ShowScripts']){
$abort = true;
}
- $img="<img src='images/fai_script.png' title='"._("Scripts")."' alt='S'>";
+ $img="<img class='center' src='images/fai_script.png' title='"._("Scripts")."' alt='S'>";
$info = _("Scripts");
break;
case "FAIvariable" :
if(!$faifilter['ShowVariables']){
$abort = true;
}
- $img="<img src='images/fai_variable.png' title='"._("Variables")."' alt='V'>";
+ $img="<img class='center' src='images/fai_variable.png' title='"._("Variables")."' alt='V'>";
$info = _("Variables");
break;
case "FAIhook" :
if(!$faifilter['ShowHooks']){
$abort = true;
}
- $img="<img src='images/fai_hook.png' title='"._("Hooks")."' alt='H'>";
+ $img="<img class='center' src='images/fai_hook.png' title='"._("Hooks")."' alt='H'>";
$info = _("Hooks");
break;
case "FAIprofile" :
if(!$faifilter['ShowProfiles']){
$abort = true;
}
- $img="<img src='images/fai_profile.png' title='"._("Profile")."' alt='P'>";
+ $img="<img class='center' src='images/fai_profile.png' title='"._("Profile")."' alt='P'>";
$info = _("Profile");
break;
case "FAItemplate" :
if(!$faifilter['ShowTemplates']){
$abort = true;
}
- $img="<img src='images/fai_template.png' title='"._("Templates")."' alt='T'>";
+ $img="<img class='center' src='images/fai_template.png' title='"._("Templates")."' alt='T'>";
$info = _("Templates");
break;
default :
- $img="<img src='images/empty.png' alt=''>";$info = "";break;
+ $img="<img class='center' src='images/empty.png' alt=''>";$info = "";break;
}
diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc
index 4f9dd781968b6387e30d0d1e3b0c34ea279dbbc6..83010bc768e0dbd75198c8e91c4b5994f0030fa9 100644 (file)
"</div>";
- $actions = "<input type='image' src='images/edit.png' alt='"._("edit")."' name='group_edit_%KEY%' title='"._("Edit this entry")."'>";
- $actions.= "<input type='image' src='images/edittrash.png' alt='"._("delete")."' name='group_del_%KEY%' title='"._("Delete this entry")."'>";
+ $actions = "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."' name='group_edit_%KEY%' title='"._("Edit this entry")."'>";
+ $actions.= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."' name='group_del_%KEY%' title='"._("Delete this entry")."'>";
// Defining Links
$linkopen = "<a href='?plug=".$_GET['plug']."&act=dep_open&dep_id=%s'>%s</a>";
// image Buttons
$editlink = "<a href='?plug=".$_GET['plug']."&id=%s&act=edit_entry'>%s</a>";
- $userimg = "<img src='images/select_groups.png' alt='User' title='%s'>";
+ $userimg = "<img class='center' src='images/select_groups.png' alt='User' title='%s'>";
// Extension images
- $posiximg = "<img src='images/select_groups.png' alt='P' title='"._("Posix") ."'>";
- $mailimg = "<img src='images/mailto.png' alt='M' title='"._("Mail") ."'>";
- $sambaimg = "<img src='images/select_winstation.png' alt='S' title='"._("Samba") ."'>";
- $applimg = "<img src='images/select_application.png' alt='A' title='"._("Application")."'>";
- $phoneimg = "<img src='images/select_phone.png' alt='Ph' title='"._("Phone") ."'>";
- $envimg = "<img src='images/network.png' alt='E' title='"._("Environment") ."'>";
+ $posiximg = "<img class='center' src='images/select_groups.png' alt='P' title='"._("Posix") ."'>";
+ $mailimg = "<img class='center' src='images/mailto.png' alt='M' title='"._("Mail") ."'>";
+ $sambaimg = "<img class='center' src='images/select_winstation.png' alt='S' title='"._("Samba") ."'>";
+ $applimg = "<img class='center' src='images/select_application.png' alt='A' title='"._("Application")."'>";
+ $phoneimg = "<img class='center' src='images/select_phone.png' alt='Ph' title='"._("Phone") ."'>";
+ $envimg = "<img class='center' src='images/network.png' alt='E' title='"._("Environment") ."'>";
// Space
- $empty = "<img src='images/empty.png' style='width:16px;height:16px;' alt=''>";
+ $empty = "<img class='center' src='images/empty.png' style='width:16px;height:16px;' alt=''>";
$divlist = new divlist("groupstab");
diff --git a/plugins/admin/ogroups/class_ogroupManagement.inc b/plugins/admin/ogroups/class_ogroupManagement.inc
index 577bd17423ccc974d0c93470d68ad443f497ce24..d6288d1dac8c5329a314ec33476e8f945f983a74 100644 (file)
"</div>";
- $actions = "<input type='image' src='images/edit.png' alt='"._("edit")."' name='group_edit_%KEY%' title='"._("Edit this entry")."'>";
- $actions.= "<input type='image' src='images/edittrash.png' alt='"._("delete")."' name='group_del_%KEY%' title='"._("Delete this entry")."'>";
+ $actions = "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."' name='group_edit_%KEY%' title='"._("Edit this entry")."'>";
+ $actions.= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."' name='group_del_%KEY%' title='"._("Delete this entry")."'>";
// Defining Links
$linkopen = "<a href='?plug=".$_GET['plug']."&act=dep_open&dep_id=%s'>%s</a>";
// image Buttons
$editlink = "<a href='?plug=".$_GET['plug']."&id=%s&act=edit_entry'>%s</a>";
- $userimg = "<img src='images/select_groups.png' alt='User' title='%s'>";
+ $userimg = "<img class='center' src='images/select_groups.png' alt='User' title='%s'>";
// Extension images
- $mailimg = "<img src='images/mailto.png' alt='M' title='"._("Mail") ."'>";
+ $mailimg = "<img class='center' src='images/mailto.png' alt='M' title='"._("Mail") ."'>";
// Space
- $empty = "<img src='images/empty.png' style='width:16px;height:16px;' alt=''>";
+ $empty = "<img class='center' src='images/empty.png' style='width:16px;height:16px;' alt=''>";
// List Setup
$divlist = new divlist("ogroubstab");
$p2['alt']= "";
$p2['tit']= "";
}
- $temp = "<img src='images/".$p1['pic']."' alt='".$p1['alt']."' title='".$p1['tit']."'>";
- $temp.= "<img src='images/".$p2['pic']."' alt='".$p2['alt']."' title='".$p2['tit']."'>";
+ $temp = "<img class='center' src='images/".$p1['pic']."' alt='".$p1['alt']."' title='".$p1['tit']."'>";
+ $temp.= "<img class='center' src='images/".$p2['pic']."' alt='".$p2['alt']."' title='".$p2['tit']."'>";
return ($temp);
}
diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc
index 6be034cbb4ea1082f168f535afcc0e2c5cfc21e6..99d841ebc0e10a6900bbf8d8db49a6cb8d4bafac 100644 (file)
/* Don't show buttons if tab dialog requests this */
if (!$this->systab->by_object[$this->systab->current]->dialog){
$display.= "<p style=\"text-align:right\">\n";
- $display.= "<input type=submit name=\"edit_finish\" value=\""._("Finish")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_finish\" value=\""._("Finish")."\">\n";
$display.= " \n";
- $display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
$display.= "</p>";
}
return ($display);
$options= "";
foreach ($this->config->idepartments as $key => $value){
if ($terminalfilter['depselect'] == $key){
- $options.= "<option selected value='$key'>$value</option>";
+ $options.= "<option selected='selected' value='$key'>$value</option>";
} else {
$options.= "<option value='$key'>$value</option>";
}
- $action= "<input type='image' src='images/edit.png' alt='"._("edit")."' name='user_edit_%KEY%' title='"._("Edit system")."'>";
- $action.= "<input type='image' src='images/edittrash.png' alt='"._("delete")."' name='user_del_%KEY%' title='"._("Delete system")."'>";
+ $action= "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."' name='user_edit_%KEY%' title='"._("Edit system")."'>";
+ $action.= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."' name='user_del_%KEY%' title='"._("Delete system")."'>";
$divlist = new divlist("systemstab");
$editlink = "<a href='?plug=".$_GET['plug']."&id=%s&act=edit_entry'>%s</a>";
// Pictures for Extensions
- $img1 = "<img src='images/printer.png' alt='C' title='"._("Cups Server") ."'>";
- $img2 = "<img src='images/scanner.png' alt='L' title='"._("Log Db") ."'>";
- $img3 = "<img src='images/select_terminal.png' alt='L' title='"._("Syslog Server") ."'>";
- $img4 = "<img src='images/mailto.png' alt='M' title='"._("Mail Server") ."'>";
- $img5 = "<img src='images/select_phone.png' alt='I' title='"._("Imap Server") ."'>";
- $img6 = "<img src='images/fax_small.png' alt='F' title='"._("Nfs Server") ."'>";
- $img7 = "<img src='images/select_winstation.png' alt='K' title='"._("Kerberos Server") ."'>";
- $img8 = "<img src='images/select_phone.png' alt='A' title='"._("Asterisk Server") ."'>";
- $img9 = "<img src='images/fax_small.png' alt='F' title='"._("Fax Server") ."'>";
- $img10 = "<img src='images/save.png' alt='L' title='"._("Ldap Server") ."'>";
+ $img1 = "<img class='center' src='images/printer.png' alt='C' title='"._("Cups Server") ."'>";
+ $img2 = "<img class='center' src='images/scanner.png' alt='L' title='"._("Log Db") ."'>";
+ $img3 = "<img class='center' src='images/select_terminal.png' alt='L' title='"._("Syslog Server") ."'>";
+ $img4 = "<img class='center' src='images/mailto.png' alt='M' title='"._("Mail Server") ."'>";
+ $img5 = "<img class='center' src='images/select_phone.png' alt='I' title='"._("Imap Server") ."'>";
+ $img6 = "<img class='center' src='images/fax_small.png' alt='F' title='"._("Nfs Server") ."'>";
+ $img7 = "<img class='center' src='images/select_winstation.png' alt='K' title='"._("Kerberos Server") ."'>";
+ $img8 = "<img class='center' src='images/select_phone.png' alt='A' title='"._("Asterisk Server") ."'>";
+ $img9 = "<img class='center' src='images/fax_small.png' alt='F' title='"._("Fax Server") ."'>";
+ $img10 = "<img class='center' src='images/save.png' alt='L' title='"._("Ldap Server") ."'>";
// Test Every Entry and generate divlist Array
foreach($this->terminals as $key => $val){
}
if((in_array("gotoTerminal",$val['objectClass']))||(in_array("gotoWorkstation",$val['objectClass']))){
- $action2 = "<input type='image' src='images/certs.png' alt='"._("Password")."' name='user_setpwd_%KEY%' title='"._("Set root password")."'>";
+ $action2 = "<input class='center' type='image' src='images/certs.png' alt='"._("Password")."' name='user_setpwd_%KEY%' title='"._("Set root password")."'>";
}else{
$action2 = "";
}
}
foreach ($conv as $key => $value){
if($input['type']==$key){
- $tmp['img'] ="<img src='images/".$value[0]."' alt='".$key."' title='".$value['1']."'>";
+ $tmp['img'] ="<img class='center' src='images/".$value[0]."' alt='".$key."' title='".$value['1']."'>";
$tmp['class']=$key;
return $tmp;
}
diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc
index fbc3ab56b9cf4df74d5b90d7de1b40ffb2cf73f6..7a09f8a2a280ae17fe3d2517e4187370ac9846f2 100644 (file)
" <input class='center' type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'> ".
"</div>";
- $action= "<input type='image' src='images/edit.png' alt='"._("edit")."' name='user_edit_%KEY%' title='"._("Edit user")."'>";
- $action.= "<input type='image' src='images/list_password.png' alt='"._("password")."' name='user_chgpw_%KEY%' title='"._("Change password")."'>";
- $action.= "<input type='image' src='images/edittrash.png' alt='"._("delete")."' name='user_del_%KEY%' title='"._("Delete user")."'>";
+ $action= "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."' name='user_edit_%KEY%' title='"._("Edit user")."'>";
+ $action.= "<input class='center' type='image' src='images/list_password.png' alt='"._("password")."' name='user_chgpw_%KEY%' title='"._("Change password")."'>";
+ $action.= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."' name='user_del_%KEY%' title='"._("Delete user")."'>";
}
/* Pictures for Extensions */
- $usrimg ="<input type='image' src='images/penguin.png' alt='"._("GOsa")."'
+ $usrimg ="<input class='center' type='image' src='images/penguin.png' alt='"._("GOsa")."'
name='user_edit_%KEY%-user' title='"._("Edit generic properties")."'>";
- $posiximg = "<input type='image' src='images/select_user.png' alt='"._("Posix")."'
+ $posiximg = "<input class='center' type='image' src='images/select_user.png' alt='"._("Posix")."'
name='user_edit_%KEY%-posixAccount' title='"._("Edit UNIX properties")."'>";
- $eviroimg = "<input type='image' src='images/smallenv.png' alt='"._("Environment")."'
+ $eviroimg = "<input class='center' type='image' src='images/smallenv.png' alt='"._("Environment")."'
name='user_edit_%KEY%-environment' title='"._("Edit environment properties")."'>";
- $mailimg = "<input type='image' src='images/mailto.png' alt='"._("Mail")."'
+ $mailimg = "<input class='center' type='image' src='images/mailto.png' alt='"._("Mail")."'
name='user_edit_%KEY%-mailAccount' title='"._("Edit mail properties")."'>";
- $fonimg = "<input type='image' src='images/%image%' alt='"._("Phone")."'
+ $fonimg = "<input class='center' type='image' src='images/%image%' alt='"._("Phone")."'
name='user_edit_%KEY%-phoneAccount' title='"._("Edit phone properties")."%title%'>";
- $faximg = "<input type='image' src='images/fax_small.png' alt='"._("Fax")."'
+ $faximg = "<input class='center' type='image' src='images/fax_small.png' alt='"._("Fax")."'
name='user_edit_%KEY%-gofaxAccount' title='"._("Edit fax properies")."'>";
- $sambaimg = "<input type='image' src='images/select_winstation.png' alt='"._("Samba")."'
+ $sambaimg = "<input class='center' type='image' src='images/select_winstation.png' alt='"._("Samba")."'
name='user_edit_%KEY%-sambaAccount' title='"._("Edit samba properties")."'>";
- $tplcreateuserimg = "<input type='image' src='images/list_new.png' alt='"._("Create user from template")."'
+ $tplcreateuserimg = "<input type='image' class='center' src='images/list_new.png' alt='"._("Create user from template")."'
name='userfrom_tpl_%KEY%' title='"._("Create user with this template")."'>";
- $empty = "<img src='images/empty.png' style='width:16px;height:16px;' alt=''>";
+ $empty = "<img class='center' src='images/empty.png' style='width:16px;height:16px;' alt=''>";
// User and Template Images
- $userimg = "<img src='images/select_user.png' alt='User' title='%s'>";
- $tplimg = "<img src='images/select_template.png' alt='Template' title='%s'>";
+ $userimg = "<img class='center' src='images/select_user.png' alt='User' title='%s'>";
+ $tplimg = "<img class='center' src='images/select_template.png' alt='Template' title='%s'>";
$editlink = "<a href='?plug=".$_GET['plug']."&id=%s&act=edit_entry'>%s</a>";
// Defines Arrays to save User and Templates
diff --git a/plugins/gofax/blocklists/class_blocklistManagement.inc b/plugins/gofax/blocklists/class_blocklistManagement.inc
index e9c5e01ab693ae790fe7e5ccb397b6df87cb6d60..af37e1b76d6918281137dc33e3f9743f2b941f56 100644 (file)
" <input class='center' type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'> ".
"</div>";
- $action= "<input type='image' src='images/edit.png' alt='"._("edit")."' name='user_edit_%KEY%' title='"._("Edit user")."'>";
- $action.= "<input type='image' src='images/edittrash.png' alt='"._("delete")."' name='user_del_%KEY%' title='"._("Delete user")."'>";
+ $action= "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."' name='user_edit_%KEY%' title='"._("Edit user")."'>";
+ $action.= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."' name='user_del_%KEY%' title='"._("Delete user")."'>";
$divlist = new divlist("faxtabs");
}
// User and Template Images
- $blockimg = "<img src='images/list_blocklist.png' alt='User' title='%s'>";
+ $blockimg = "<img class='center' src='images/list_blocklist.png' alt='User' title='%s'>";
$editlink = "<a href='?plug=".$_GET['plug']."&id=%s&act=edit_entry'>%s</a>";
foreach($this->blocklists as $key => $val){
diff --git a/plugins/gofon/conference/class_phoneConferenceManagment.inc b/plugins/gofon/conference/class_phoneConferenceManagment.inc
index 9c3229d60a500c76bc8387707f2d23723f655b2b..8e1287b99a27caa3dfd5b30ce54decc590d6133b 100644 (file)
/* Don't show buttons if tab dialog requests this */
if (!$this->conftab->by_object[$this->conftab->current]->dialog){
$display.= "<p style=\"text-align:right\">\n";
- $display.= "<input type=submit name=\"edit_finish\" value=\""._("Finish")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_finish\" value=\""._("Finish")."\">\n";
$display.= " \n";
- $display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
$display.= "</p>";
}
return ($display);
$options= "";
foreach ($this->config->idepartments as $key => $value){
if ($conferencefilter['depselect'] == $key){
- $options.= "<option selected value='$key'>$value</option>";
+ $options.= "<option selected='selected' value='$key'>$value</option>";
} else {
$options.= "<option value='$key'>$value</option>";
}
"</div>";
/* Images for delete / edit */
- $actions = "<input type='image' src='images/edit.png' alt='"._("edit")."' name='conf_edit_%KEY%' title='"._("Edit this entry")."'>";
- $actions.= "<input type='image' src='images/edittrash.png' alt='"._("delete")."' name='conf_del_%KEY%' title='"._("Delete this entry")."'>";
+ $actions = "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."' name='conf_edit_%KEY%' title='"._("Edit this entry")."'>";
+ $actions.= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."' name='conf_del_%KEY%' title='"._("Delete this entry")."'>";
- $actions2= "<input type='image' src='images/edittrash.png' alt='"._("delete")."' name='conf_del_%KEY%' title='"._("Delete this entry")."'>";
+ $actions2= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."' name='conf_del_%KEY%' title='"._("Delete this entry")."'>";
/* open an entry */
$linkopen= "<a href='?plug=".$_GET['plug']."&act=dep_open&dep_id=%s'>%s</a>";
}
/* Image shown in divlist */
- $userimg = "<img src='images/select_conference.png' alt='User' title='%s'>";
+ $userimg = "<img class='center' src='images/select_conference.png' alt='User' title='%s'>";
/* Edit entry link*/
$editlink = "<a href='?plug=".$_GET['plug']."&id=%s&act=edit_entry'>%s</a>";
foreach($this->conferences as $conferencekey => $conference ){
if((isset($conference['goFonPIN'][0]))&&(($this->ui->dn==$conference['goFonConferenceOwner'][0])||($this->acl=="#all#"))){
- $pin = "<img src='images/list_password.png' title='PIN : ".$conference['goFonPIN'][0]."' alt='PIN'>";
+ $pin = "<img class='center' src='images/list_password.png' title='PIN : ".$conference['goFonPIN'][0]."' alt='PIN'>";
}else{
$pin = " ";
}
diff --git a/plugins/gofon/macro/class_gofonMacroManagement.inc b/plugins/gofon/macro/class_gofonMacroManagement.inc
index 0f5d782557fc4fdb9af64feefa90ac0dcb9a67b3..2a6a14b129e6429443a151068182bf523b546e00 100755 (executable)
/* Don't show buttons if tab dialog requests this */
if (!$this->macrotabs->by_object[$this->macrotabs->current]->dialog){
$display.= "<p style=\"text-align:right\">\n";
- $display.= "<input type=submit name=\"edit_finish\" value=\""._("Finish")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_finish\" value=\""._("Finish")."\">\n";
$display.= " \n";
- $display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
$display.= "</p>";
}
return ($display);
$options= "";
foreach ($this->config->idepartments as $key => $value){
if ($macrofilter['depselect'] == $key){
- $options.= "<option selected value='$key'>$value</option>";
+ $options.= "<option selected='selected' value='$key'>$value</option>";
} else {
$options.= "<option value='$key'>$value</option>";
}
/* Options */
- $action= "<input type='image' src='images/edit.png' alt='"._("edit")."' name='user_edit_%KEY%' title='"._("Edit user")."'>";
- $action.= "<input type='image' src='images/edittrash.png' alt='"._("delete")."' name='user_del_%KEY%' title='"._("Delete user")."'>";
+ $action= "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."' name='user_edit_%KEY%' title='"._("Edit user")."'>";
+ $action.= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."' name='user_del_%KEY%' title='"._("Delete user")."'>";
$divlist = new divlist("macrotabs");
$divlist->SetHeader(array(
}
// Pictures for Extensions
- $empty = "<img src='images/nothing.png' style='width:16px;height:16px;' alt=''>";
+ $empty = "<img class='center' src='images/nothing.png' style='width:16px;height:16px;' alt=''>";
// User and Template Images
- $macroimg = "<img src='images/list_macro.png' alt='"._("Macro")."' title='%s'>";
- $visible = "<img src='images/true.png' alt='"._("yes")."' title='"._("visible")."'>";
- $invisible = "<img src='images/false.png' alt='"._("no")."'title='"._("invisible")."'>";
+ $macroimg = "<img class='center' src='images/list_macro.png' alt='"._("Macro")."' title='%s'>";
+ $visible = "<img class='center' src='images/true.png' alt='"._("yes")."' title='"._("visible")."'>";
+ $invisible = "<img class='center' src='images/false.png' alt='"._("no")."'title='"._("invisible")."'>";
// Link for edit
$editlink = "<a href='?plug=".$_GET['plug']."&id=%s&act=edit_entry'>%s</a>";