Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for Metafox/lib/phpWebFileManager/config-local.inc.php between version 1.4 and 1.5

version 1.4, 2007/03/06 22:29:02 version 1.5, 2007/07/19 19:05:41
Line 50  function fm_header($var_ar) /* {{{ */
Line 50  function fm_header($var_ar) /* {{{ */
         extract($var_ar);          extract($var_ar);
         $message = htmlspecialchars(join("\n", $fm_action_message));          $message = htmlspecialchars(join("\n", $fm_action_message));
         if (stristr($ezin_cfg['admin_buttons_pos'], 'U')) {          if (stristr($ezin_cfg['admin_buttons_pos'], 'U')) {
                 // TODO: classify this                  echo '<table class="pme-navigation">',"\n";
                 echo '<table border=0 cellpadding=0 cellspacing=0 width="100%" style="border:0;padding:0;">';                  echo '<tr class="pme-buttons">',"\n";
                 echo '<tr><td align=left style="text-align:left;border:0;padding:0;" nowrap>' . "\n";                  echo '<td class="pme-buttons">',"\n";
                 if ($fm_cfg['perm']['dir']['create']) {                  if ($fm_cfg['perm']['dir']['create']) {
                         echo '<input type="submit" name="'.$fm_cfg['cgi'].'action" value="'._FM_DIR_CREATE.'"> ';                          echo '<input type="submit" name="'.$fm_cfg['cgi'].'action" value="'._FM_DIR_CREATE.'"> ';
                 }                  }
Line 62  function fm_header($var_ar) /* {{{ */
Line 62  function fm_header($var_ar) /* {{{ */
                 if ($fm_cfg['perm']['file']['upload']) {                  if ($fm_cfg['perm']['file']['upload']) {
                         echo '<input type="submit" name="'.$fm_cfg['cgi'].'action" value="'._FM_FILE_UPLOAD.'"> ';                          echo '<input type="submit" name="'.$fm_cfg['cgi'].'action" value="'._FM_FILE_UPLOAD.'"> ';
                 }                  }
                 echo '</td><td align=right style="text-align:right;border:0;padding:0;" nowrap>' . "\n";                  echo '</td>',"\n";
                   echo '<td class="pme-stats">',"\n";
                 echo strlen($message) > 0 ? $message : '<b>'. _FM_DIR. ':</b> /'. @$fm_dir_he2;                  echo strlen($message) > 0 ? $message : '<b>'. _FM_DIR. ':</b> /'. @$fm_dir_he2;
                 echo '</td></tr></table>';                  echo '</td></tr></table>',"\n";
                 echo '<hr>' . "\n";                  echo '<hr>',"\n";
         }          }
 } /* }}} */  } /* }}} */
   
Line 75  function fm_footer($var_ar) /* {{{ */
Line 76  function fm_footer($var_ar) /* {{{ */
         global $ezin_cfg;          global $ezin_cfg;
         extract($var_ar);          extract($var_ar);
         $message = htmlspecialchars(join("\n", $fm_action_message));          $message = htmlspecialchars(join("\n", $fm_action_message));
         echo '<hr>' . "\n";          echo '<hr>',"\n";
         if (stristr($ezin_cfg['admin_buttons_pos'], 'D')          if (stristr($ezin_cfg['admin_buttons_pos'], 'D')
                         || ! stristr($ezin_cfg['admin_buttons_pos'], 'U')) {                          || ! stristr($ezin_cfg['admin_buttons_pos'], 'U')) {
                 // TODO: classify this                  echo '<table class="pme-navigation">',"\n";
                 echo '<table border=0 cellpadding=0 cellspacing=0 width="100%" style="border:0;padding:0;">';                  echo '<tr class="pme-buttons">',"\n";
                 echo '<tr><td align=left style="text-align:left;border:0;padding:0;" nowrap>' . "\n";                  echo '<td class="pme-buttons">',"\n";
                 if ($fm_cfg['perm']['dir']['create']) {                  if ($fm_cfg['perm']['dir']['create']) {
                         echo '<input type="submit" name="'.$fm_cfg['cgi'].'action" value="'._FM_DIR_CREATE.'"> ';                          echo '<input type="submit" name="'.$fm_cfg['cgi'].'action" value="'._FM_DIR_CREATE.'"> ';
                 }                  }
Line 90  function fm_footer($var_ar) /* {{{ */
Line 91  function fm_footer($var_ar) /* {{{ */
                 if ($fm_cfg['perm']['file']['upload']) {                  if ($fm_cfg['perm']['file']['upload']) {
                         echo '<input type="submit" name="'.$fm_cfg['cgi'].'action" value="'._FM_FILE_UPLOAD.'"> ';                          echo '<input type="submit" name="'.$fm_cfg['cgi'].'action" value="'._FM_FILE_UPLOAD.'"> ';
                 }                  }
                 echo '</td><td align=right style="text-align:right;border:0;padding:0;" nowrap>' . "\n";                  echo '</td>',"\n";
                   echo '<td class="pme-stats">',"\n";
                 if (stristr($ezin_cfg['admin_buttons_pos'], 'U')) {                  if (stristr($ezin_cfg['admin_buttons_pos'], 'U')) {
                         echo '<b>'. _FM_DIR. ':</b> /'. @$fm_dir_he2;                          echo '<b>'. _FM_DIR. ':</b> /'. @$fm_dir_he2;
                 } else {                  } else {
                         echo strlen($message) > 0 ? $message : '<b>'. _FM_DIR. ':</b> /'. @$fm_dir_he2;                          echo strlen($message) > 0 ? $message : '<b>'. _FM_DIR. ':</b> /'. @$fm_dir_he2;
                 }                  }
                 echo '</td></tr></table>';                  echo '</td></tr></table>',"\n";
         } else {          } else {
                 echo '<table border=0 cellpadding=0 cellspacing=0 width="100%" style="border:0;padding:0;">';                  echo '<table class="pme-navigation">',"\n";
                 echo '<tr><td align=left style="text-align:left;border:0;padding:0;" nowrap>' . "\n";                  echo '<tr class="pme-buttons">',"\n";
                   echo '<td class="pme-stats">',"\n";
                 echo $message;                  echo $message;
                 echo '</td><td align=right style="text-align:right;border:0;padding:0;" nowrap>' . "\n";                  echo '</td>',"\n";
                   echo '<td class="pme-stats">',"\n";
                 echo '<b>'. _FM_DIR. ':</b> /'. @$fm_dir_he2;                  echo '<b>'. _FM_DIR. ':</b> /'. @$fm_dir_he2;
                 echo '</td></tr></table>';                  echo '</td></tr></table>',"\n";
         }          }
 } /* }}} */  } /* }}} */
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top