Menu

[f1bb48]: / examples / pme_changelog.php  Maximize  Restore  History

Download this file

137 lines (118 with data), 3.5 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?php
include(dirname(__FILE__).'/phpMyEditHeader.php');
/*
* IMPORTANT NOTE: This generated file contains only a subset of huge amount
* of options that can be used with phpMyEdit. To get information about all
* features offered by phpMyEdit, please check the documentation. It is available
* on the phpMyEdit pages or in the manuals folder. Some information can also be
* found in the examples/configoptions.md file.
*
* https://sourceforge.net/projects/phpmariaedit/
*
* This file was generated by:
*
* phpMyEdit version: 5.7.6
* lib/phpMyEdit.class.php class: 5.7.6
* phpMyEditSetup.php script: 5.7.6
* generated script: 5.7.6
*
* This file was manually updated.
*/
require_once(dirname(__FILE__).'/../lib/phpMyEdit.class.php');
require_once(dirname(__FILE__).'/../lib/phpMyEditDB.php');
require_once(dirname(__FILE__).'/../phpMyEditDefaults.php');
$opts['tb'] = 'pme_changelog';
// custom settings overwriting general edit defaults
$opts['options'] = 'VF';
$opts['navigation'] = 'GD';
$opts['buttons']['L']['down'] = array('<<','<','-add','-view','-change','-copy','-delete',
'>','>>','-goto','-goto_combo');
$opts['url'] = array('images' => '../images/');
$opts['display']['sort'] = false;
// Name of field which is the unique key
$opts['key'] = 'rowid';
// Type of key field (int/real/string/date etc.)
$opts['key_type'] = 'int';
// Sorting field(s)
$opts['sort_field'] = array('rowid');
/* please refer to lib/phpMyEditInfo.php for additional options
that can be added in this file
*/
$opts['fdd']['rowid'] = array(
'name' => 'ID',
'select' => 'T',
'options' => 'AVCPDR', // auto increment
'maxlen' => 10,
'default' => '0',
'sort' => true
);
$opts['fdd']['updated'] = array(
'name' => 'Updated on',
'select' => 'T',
'options' => 'AVCPDR', // updated automatically (MySQL feature)
'maxlen' => 22,
'default' => 'CURRENT_TIMESTAMP',
'sort' => false
);
$opts['fdd']['user'] = array(
'name' => 'User',
'select' => 'T',
'maxlen' => 255,
'sort' => false
);
$opts['fdd']['host'] = array(
'name' => 'Host',
'select' => 'T',
'maxlen' => 255,
'sort' => false
);
$opts['fdd']['operation'] = array(
'name' => 'Operation',
'select' => 'T',
'maxlen' => 255,
'sort' => false
);
$opts['fdd']['tab'] = array(
'name' => 'Table',
'select' => 'T',
'maxlen' => 255,
'sort' => false
);
$opts['fdd']['rowkey'] = array(
'name' => 'record key',
'select' => 'T',
'maxlen' => 255,
'sort' => false
);
$opts['fdd']['col'] = array(
'name' => 'Column',
'select' => 'T',
'maxlen' => 255,
'sort' => false
);
$opts['fdd']['oldval'] = array(
'name' => 'Old value',
'select' => 'T',
'maxlen' => 0,
'trimlen|FL' => 40,
'escape' => false,
'sort' => false
);
$opts['fdd']['newval'] = array(
'name' => 'New value',
'select' => 'T',
'maxlen' => 0,
'trimlen|FL' => 40,
'escape' => false,
'sort' => false
);
// possibly initialise page further before going to main function
if (function_exists('phpMyEditHeaderInit')) { phpMyEditHeaderInit($opts); }
echo '
<script>
PME_js_setPageTitle("ChangeLog");
</script>
';
// Now important call to phpMyEdit
new phpMyEdit($opts);
//eof
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.