Code

last files, added summary
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 24 Jun 2005 11:06:47 +0000 (11:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 24 Jun 2005 11:06:47 +0000 (11:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@846 594d385d-05f5-0310-b6e9-bd551577e9d8

15 files changed:
html/helpviewer.php
html/main.php
include/class_plugin.inc
include/class_pluglist.inc
include/class_tabs.inc
include/functions.inc
include/functions_debug.inc
include/functions_helpviewer.inc
include/functions_setup.inc
include/php_setup.inc
plugins/admin/applications/class_applicationParameters.inc
plugins/admin/groups/class_groupAcl.inc
plugins/admin/groups/class_groupApplication.inc
plugins/admin/systems/phone.tpl
plugins/personal/generic/class_user.inc

index 4e031663283feb4827216e9dc25e08185f6fc0ce..308500d0aa1da9fe7d56d1980ffc71a401a197a9 100644 (file)
@@ -114,7 +114,7 @@ $replacements['to']=array("",
     "",
     "",
     "",
-    "<table border=1 cellspacing=0 bgcolor=\"#E0E0E0\" width=\"95%\" align=\"center\" cellpadding=\"3\">",
+    "<table border=1 cellspacing=0 bgcolor=\"#E0E0E0\" width=\"95%\" align=\"center\" cellpadding=\"3\" summary=\"\">",
     "src=\"",
     "src=\"images/",
     "<H1>",
index 8743d378c3ce95928156212ba1c7d0ef2c08fd71..bb9ad7c16fb56bab23cbf148c7d3eedf299b6ba2 100644 (file)
@@ -289,7 +289,7 @@ if (isset($config->data['MAIN']['W3CTEST']) && preg_match('/true/i', $config->da
   tidy_clean_repair($display);
   $cnt =  (tidy_error_count($display))+(tidy_warning_count($display));
   if($cnt != 0){
-    echo "<table width=\"100%\" style='background-color:#E0E0E0;border-bottom:1px solid black'><tr><td><img alt=\"\" align=\"middle\" src='images/warning.png'>&nbsp;<font style='font-size:14px;font-weight:bold'>"._("Generating this page caused the W3C conformance checker to raise some errors!")."</font></td><td align=right><button onClick='toggle(\"w3cbox\")'>"._("Toggle information")."</button></td></tr></table><div id='w3cbox' style='width:100%; position:absolute; z-index:0; visibility: hidden; background-color:white; border-bottom:1px solid black;'>";
+    echo "<table summary=\"\" width=\"100%\" style='background-color:#E0E0E0;border-bottom:1px solid black'><tr><td><img alt=\"\" align=\"middle\" src='images/warning.png'>&nbsp;<font style='font-size:14px;font-weight:bold'>"._("Generating this page caused the W3C conformance checker to raise some errors!")."</font></td><td align=right><button onClick='toggle(\"w3cbox\")'>"._("Toggle information")."</button></td></tr></table><div id='w3cbox' style='width:100%; position:absolute; z-index:0; visibility: hidden; background-color:white; border-bottom:1px solid black;'>";
 
     echo nl2br(htmlentities($display->errorBuffer))."</div>";
   }
index fb5e55d4a60f42b5e4b4e144dca3b4b460a6039f..55cb82162a41a1a91e4981a99507fdb9af0f4571 100644 (file)
@@ -355,7 +355,7 @@ class plugin
     } else {
       $state= "";
     }
-    $display= "<table width=\"100%\"><tr>\n<td colspan=2><p><b>$text</b></p>\n";
+    $display= "<table summary=\"\" width=\"100%\"><tr>\n<td colspan=2><p><b>$text</b></p>\n";
     $display.= "<input type=submit value=\"$button_text\" name=\"modify_state\" ".
       chkacl($this->acl, "all")." ".$state.
       "><p class=\"seperator\">&nbsp;</p></td></tr></table>";
index 18f442c9e7cee2b77a316b6ba2c40e7ed36afa0b..26b71d707c45ba833fb19bd5f5419eead0bc476c 100644 (file)
@@ -116,7 +116,7 @@ class pluglist {
                                                _($plHeadline)."</a></p>\n";
 
                                /* Generate icon entry with description */
-                               $this->menuparts[_($headline)][]= '<table class="menuitem" onClick=\'location.href="'.$href.'"\'><tr><td style="background-color:#F0F0F0;"><a href="'.$href.'"><img alt=\"\" border=0 src="'.$image.'"></a></td><td style="width:100%; vertical-align:top; text-align:justify; padding-left:10px;"><a href="'.$href.'"><b>'._($plHeadline).'</b></a><br><a href="'.$href.'">'._($plDescription).'</a></td></tr></table>';
+                               $this->menuparts[_($headline)][]= '<table summary=\"\" class="menuitem" onClick=\'location.href="'.$href.'"\'><tr><td style="background-color:#F0F0F0;"><a href="'.$href.'"><img alt=\"\" border=0 src="'.$image.'"></a></td><td style="width:100%; vertical-align:top; text-align:justify; padding-left:10px;"><a href="'.$href.'"><b>'._($plHeadline).'</b></a><br><a href="'.$href.'">'._($plDescription).'</a></td></tr></table>';
 
                                }
                        }
@@ -142,7 +142,7 @@ class pluglist {
        }
 
        /* Fill current array */
-       $result= "<table width=\"100%\">";
+       $result= "<table width=\"100%\" summary=\"\">";
        $count= 0;
        foreach ($this->menuparts[$this->current] as $entry){
                if ($count == 2){
@@ -182,7 +182,7 @@ class pluglist {
                foreach ($cfg as $headline => $plug){
                        $col= 1;
                        $menu= "<h1 class=\"menuheader\">".
-                                       _($headline)."</h1>\n<table style=\"width:100%;".
+                                       _($headline)."</h1>\n<table summary=\"\" style=\"width:100%;".
                                        "font-size: 14px;\" cellpadding=7 border=0>\n<tr>\n";
                        $entries= "";
 
index 94a9dd1f311cdf1a7bcf1ac0474bfb05a1ffa2a9..e008c73c0758103b33dc8f8ecefb76228610de8f 100644 (file)
@@ -74,7 +74,7 @@ class tabs
        $display= $this->gen_tabs();
 
        /* Show object */
-       $display.= "<table cellpadding=4 cellspacing=0 border=0 style=\"width:100%; background-color:#F0F0F0; border-style:solid; border-color:black; border-top-width:0px; border-bottom-width:1px; border-left-width:1px; border-right-width:1px;\">\n";
+       $display.= "<table summary=\"\" cellpadding=4 cellspacing=0 border=0 style=\"width:100%; background-color:#F0F0F0; border-style:solid; border-color:black; border-top-width:0px; border-bottom-width:1px; border-left-width:1px; border-right-width:1px;\">\n";
        $display.= "<tr><td>\n";
 
        $obj= $this->by_object[$this->current];
@@ -119,7 +119,7 @@ class tabs
   function gen_tabs()
   {
        $display= "<input type=\"hidden\" name=\"arg\" value=\"\">";
-       $display.= "<table cellpadding=0 cellspacing=0 border=0 style=\"width:100%;\"><tr>";
+       $display.= "<table summary=\"\" cellpadding=0 cellspacing=0 border=0 style=\"width:100%;\"><tr>";
        $index= 0;
        $style= array("tab_left", "tab_active", "tab_near_active", "tab_right");
        foreach ($this->by_name as $class => $name){
index 86783d98640239186b7830e6766a13ff4f567d55..2810e186e9f5cd0b579979cd5263816260432671 100644 (file)
@@ -896,7 +896,7 @@ function print_red()
   if (isset($_SESSION['DEBUGLEVEL'])){
     $_SESSION['errors'].= "<div align=\"left\" style=\"border-width:5px;".
       "border-style:solid;border-color:red; background-color:black;".
-      "margin-bottom:10px; padding:8px;\"><table><tr><td><img alt=\"\" src=\"".
+      "margin-bottom:10px; padding:8px;\"><table summary=\"\" ><tr><td><img alt=\"\" src=\"".
       get_template_path('images/warning.png')."\"></td>".
       "<td width=\"100%\" align=\"center\"><font color=\"#FFFFFF\">".
       "<b style='font-size:16px;'>$string</b></font></td><td>".
@@ -1191,7 +1191,7 @@ function apply_filter()
   $apply= "";
 
   $apply= ''.
-    '<table width="100%"  style="background:#EEEEEE;border-top:1px solid #B0B0B0;"><tr><td width="100%" align="right">'.
+    '<table summary=\"\"  width="100%"  style="background:#EEEEEE;border-top:1px solid #B0B0B0;"><tr><td width="100%" align="right">'.
     '<input type="submit" name="apply" value="'._("Apply").'"></td></tr></table>';
 
   return ($apply);
index 9fd5d8bcdeca087e7da243a49d7dcbea03385e17..472ad7f7fca2f64f3d33b7c6b29d88519ea09989 100644 (file)
@@ -127,7 +127,7 @@ class Print_a_class {
                }
                
                # build a single table ... may be nested
-               $this->output .= '<table style="border:none;" cellspacing="1" '.( !$iteration && $this->export_flag ? 'onClick="document.getElementById(\'pa_form_'.$this->export_hash.'\').submit();" )' : '' ).'>';
+               $this->output .= '<table summary=\"\" style="border:none;" cellspacing="1" '.( !$iteration && $this->export_flag ? 'onClick="document.getElementById(\'pa_form_'.$this->export_hash.'\').submit();" )' : '' ).'>';
                foreach( $array as $key => $value ) {
                        
                        $value_style = 'color:black;';
@@ -272,7 +272,7 @@ function print_result($RESULT) {
                </script>
        ';
 
-       print '<table border="0" bgcolor="#000000" cellspacing="1" cellpadding="1">';
+       print '<table summary=\"\" border="0" bgcolor="#000000" cellspacing="1" cellpadding="1">';
        
        print '<tr>';
        foreach($tables as $tableName => $tableCount) {
index d1a3f69e81b36f4004fedc65474f3cf01ff748a4..98040658a770f72f5a2b458c393ad3bb590e13c2 100644 (file)
@@ -322,7 +322,7 @@ function createResultEntry($entry,$res,$name,$max)
   /* the object tag is needed for W3c */
   $str =  "<a href=\"?pg=".$name."&amp;mark=1\" title=\"".$percentage."% ".$entry['headline']."\">
           <object>
-          <table width=\"98%\" align=\"center\">
+          <table summary=\"\"  width=\"98%\" align=\"center\">
             <tr>
               <td height=15>
                 <b>".$entry['headline']."</b> -".htmlentities( substr(strip_tags($entry['content']),0,120))."...
index fe42e27e3e06a72f716ba31fbde4014908b8e447..0a165b2f65cce0f08ddea6f3ddedbeb77da70a07 100644 (file)
@@ -10,7 +10,7 @@ function check_schema_version($description, $version)
 
 function view_schema_check($table)
 {
-  $message="<table class=\"check\">";
+  $message="<table summary=\"\" class=\"check\">";
 
   foreach ($table as $key => $values){
     $msg = $values['msg'];
@@ -223,7 +223,7 @@ function schema_check($server, $admin, $password, $aff=0)
 
 function check(&$faults, $message, $description, $test, $required= TRUE)
 {
-  $msg= "<table class='check'><tr><td class='check' style='font-size:14px;'>$message</td>
+  $msg= "<table summary=\"\" class='check'><tr><td class='check' style='font-size:14px;'>$message</td>
     <td rowspan=2 style='vertical-align:middle; text-align:center;width:45px;'>";
   if ($test){
     $msg.= _("OK")."<br>";
@@ -862,7 +862,7 @@ function show_setup_page5($withoutput=true)
   $info= posix_getgrgid(posix_getgid());
   $smarty->assign("webgroup", $info['name']);
   $smarty->assign("path", CONFIG_DIR);
-  $message= "<table class=\"check\">";
+  $message= "<table summary=\"\" class=\"check\">";
   $m= schema_check($ldapconf['uri'], $ldapconf['admin'], $ldapconf['password'],1);
 
   if($withoutput) {
index a27f032ddedfb989342ca5bda2c2281f0c5e7d4b..08f75dfc1360279ca3ebdbc03822d41e030631f7 100644 (file)
@@ -58,12 +58,12 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline)
     if ($_SESSION['js']==FALSE){
       $error_collector= "<div>";
     } else {
-      $error_collector= "<table width=\"100%\" style='background-color:#E0E0E0;border-bottom:1px solid black'><tr><td><img alt=\"\" align=\"middle\" src='".get_template_path('images/warning.png')."'>&nbsp;<font style='font-size:14px;font-weight:bold'>"._("Generating this page caused the PHP interpreter to raise some errors!")."</font></td><td align=right><button onClick='toggle(\"errorbox\")'>"._("Toggle information")."</button></td></tr></table><div id='errorbox' style='position:absolute; z-index:0; visibility: hidden'>";
+      $error_collector= "<table summary=\"\" width=\"100%\" style='background-color:#E0E0E0;border-bottom:1px solid black'><tr><td><img alt=\"\" align=\"middle\" src='".get_template_path('images/warning.png')."'>&nbsp;<font style='font-size:14px;font-weight:bold'>"._("Generating this page caused the PHP interpreter to raise some errors!")."</font></td><td align=right><button onClick='toggle(\"errorbox\")'>"._("Toggle information")."</button></td></tr></table><div id='errorbox' style='position:absolute; z-index:0; visibility: hidden'>";
     }
   }
  
   /* Create error header */
-  $error_collector.= "<table width=\"100%\" cellspacing=0 style='background-color:#402005;color:white;border:2px solid red'><tr><td colspan=3><h1 style='color:white'>"._("PHP error")." \"$errstr\"</h1></td></tr>";
+  $error_collector.= "<table summary=\"\" width=\"100%\" cellspacing=0 style='background-color:#402005;color:white;border:2px solid red'><tr><td colspan=3><h1 style='color:white'>"._("PHP error")." \"$errstr\"</h1></td></tr>";
   
   /* Extract traceback data - if available */
   if (function_exists('debug_backtrace')){
index 4b229c8f7a4fccb8c53b952923215ebf02ebc9e7..de1d0495c967a052f4efeb48bfd8f568f53d1ede 100644 (file)
@@ -84,7 +84,7 @@ class applicationParameters extends plugin
                $this->option_name[]= "";
                $this->option_value[]= "";
        }
-       $table= "<table><tr><td>"._("Variable")."</td><td>"._("Default value")."</td><td></td></tr>";
+       $table= "<table summary=\"\"><tr><td>"._("Variable")."</td><td>"._("Default value")."</td><td></td></tr>";
        if (count ($this->option_name)){
                for ($i= 0; $i < count($this->option_name); $i++){
                        $table.="<tr><td><input name=\"option$i\" size=25 maxlength=50 ".
index c56dd69c711bcfec4fd1584bf2d4733cead7e63c..cc5c435823d6421c55c76a864dc77c2e871c5e75 100644 (file)
@@ -202,7 +202,7 @@ class acl extends plugin
        asort ($name);
 
        # Generate checklist
-       $display.= "<table style=\"width:100%;\">\n";
+       $display.= "<table summary=\"\" style=\"width:100%;\">\n";
        $switch= 0;
        foreach ($name as $key => $val){
                if ($switch == 0){
index 403bf2eb9cb55be8fa60362c3ba746ceef5dd0fb..a57969d68238f32d5089577306c184b7a599f186 100644 (file)
@@ -126,7 +126,7 @@ class appgroup extends plugin
           }
 
           /* Create edit field */
-          $table= "<table>";
+          $table= "<table summary=\"\">";
           for ($i= 0; $i < count($this->option_name); $i++){
             if (isset($this->option_value[$i])){
               $value= $this->option_value[$i];
index 317a9b7ec4f46f0b6afc3fc50505b080c7746a99..d1080bd5f762de1ce9e3aace6041f7cac41c60c0 100644 (file)
@@ -1,7 +1,7 @@
-<table width="100%">
+<table summary="" width="100%">
  <tr>
   <td style="vertical-align:top; width:50%;">
-       <table>
+       <table summary="">
         <tr>
          <td>{t}Phone name{/t}{$must}</td>
          <td><input name="cn" size=20 maxlength=60 value="{$cn}"></td>
@@ -19,7 +19,7 @@
        </table>
   </td>
   <td style="vertical-align:top">
-       <table>
+       <table summary="">
         <tr>
          <td>{t}Description{/t}</td>
          <td><input name="description" size=25 maxlength=80 value="{$description}"></td>
index 39c50fc2d5d9b44a31c201242d0c419d69bb137e..ec70c7531c9871e9ad7acc4bf7c151bfecb0baa4 100644 (file)
@@ -392,7 +392,7 @@ class user extends plugin
           /* Read out data*/
           $timeto   = $certificate->getvalidto_date();
           $timefrom = $certificate->getvalidfrom_date();
-          $str = "<table border=0><tr><td style='vertical-align:top'>CN</td><td>".preg_replace("/ /", "&nbsp;", $certificate->getname())."</td></tr></table><br>".
+          $str = "<table summary=\"\" border=0><tr><td style='vertical-align:top'>CN</td><td>".preg_replace("/ /", "&nbsp;", $certificate->getname())."</td></tr></table><br>".
                   sprintf(_("Certificate is valid from <b>%s</b> to <b>%s</b> and is currently <b>%s</b>."), date('d M Y',$timefrom),date('d M Y',$timeto), $certificate->isvalid()?"<font style='color:green'>"._("valid")."</font>":"<font style='color:red'>"._("invalid")."</font>");
           $smarty->assign($cert."info",$str);
           $smarty->assign($cert."_state","true");