Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, March 28, 2024

Diff for phpMyEdit/phpMyEditSetup.php between version 1.12 and 1.13

version 1.12, 2002/10/21 21:30:41 version 1.13, 2002/10/23 19:10:07
Line 19 
Line 19 
  * http://www.platon.sk/projects/phpMyEdit/   * http://www.platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEditSetup.php,v 1.11 2002/10/20 22:04:20 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEditSetup.php,v 1.12 2002/10/21 21:30:41 nepto Exp $ */
   
 // setup.php version 3.5 27-Apr-01  // setup.php version 3.5 27-Apr-01
 // Heavily updated by Ondrej Jombik in 9-Aug-2002.  // Heavily updated by Ondrej Jombik in 9-Aug-2002.
Line 288  echo_buffer("
Line 288  echo_buffer("
         ['maxlen'] maximum length to display add/edit/search input boxes          ['maxlen'] maximum length to display add/edit/search input boxes
         ['trimlen'] maximum length of string content to display in row listing          ['trimlen'] maximum length of string content to display in row listing
                 if strlen(value) > trimlen, display substr($value,0,trimlen-3).'...'                  if strlen(value) > trimlen, display substr($value,0,trimlen-3).'...'
           ['strip_tags'] true or false. whether to strip tags from content
         ['width'] is an optional display width specification for the column,          ['width'] is an optional display width specification for the column,
                 e.g.  ['width'] = '100px';                  e.g.  ['width'] = '100px';
                 or \$fdd['colname']['width'] = (\$fdd['colname']['trimlen'] * 8).'px';                  or \$fdd['colname']['width'] = (\$fdd['colname']['trimlen'] * 8).'px';
Line 443  echo_buffer("
Line 444  echo_buffer("
      \$opts['filters'] = \"Table0.sessions_count > 200\";       \$opts['filters'] = \"Table0.sessions_count > 200\";
  */   */
   
   /* CGI variables. You can optionally append or overwrite particular variables
      returned from CGI environment (GET/POST HTTP protocol data). Use these two
      arrays for this purpose, where array key mean CGI variable name and value
      means CGI variable value.
   
      Examples:
        // This will cause descending sorting according first field if other
            // type of sort was not specified/selected by user.
        \$opts['cgi']['append']    = array('sfn' => '-0');
            // This will cause the same sort allways in all cases.
        \$opts['cgi']['overwrite'] = array('sfn' => '-0');
    */
   
 /*  /*
 Triggers are files that are included (via require) that perform  Triggers are files that are included (via require) that perform
 actions (before or after) X (inserts, updates, or deletes).  actions (before or after) X (inserts, updates, or deletes).
Line 503  CREATE TABLE changelog (
Line 517  CREATE TABLE changelog (
 */  */
 ");  ");
   
   
         echo_buffer("          echo_buffer("
 /* Get the user's default language and use it if possible or you can specify  /* Get the user's default language and use it if possible or you can specify
    language particular one you want to use. Available languages are:     language particular one you want to use. Available languages are:
    DE EN-US EN FR IT NL PG SK SP */     DE EN-US EN FR IT NL PG SK SP */
 \$opts['language']= \$HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'];  \$opts['language']= \$HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'];
   
   /* Code execution. Since version 4.0 phpMyEdit will automatically starts its
      execution. You can turn this feature off by setting \$opts['execute'] to 0.
      Default value is 1. */
   
 //  and now the all-important call to phpMyEdit  //  and now the all-important call to phpMyEdit
 //  warning - beware of case-sensitive operating systems!  //  warning - beware of case-sensitive operating systems!
 require_once 'phpMyEdit.class.php';  require_once 'phpMyEdit.class.php';

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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