├── BUGS ├── CREDITS ├── DEVELOPERS ├── FAQ ├── HISTORY ├── INSTALL ├── LICENSE ├── TODO ├── TRANSLATORS ├── admin.php ├── aggregates.php ├── ajax-ac-insert.php ├── all_db.php ├── browser.php ├── casts.php ├── classes ├── ArrayRecordSet.php ├── Gui.php ├── Misc.php ├── Plugin.php ├── PluginManager.php ├── class.select.php └── database │ ├── ADODB_base.php │ ├── Connection.php │ ├── Postgres.php │ ├── Postgres10.php │ ├── Postgres11.php │ ├── Postgres12.php │ ├── Postgres13.php │ ├── Postgres74.php │ ├── Postgres80.php │ ├── Postgres81.php │ ├── Postgres82.php │ ├── Postgres83.php │ ├── Postgres84.php │ ├── Postgres90.php │ ├── Postgres91.php │ ├── Postgres92.php │ ├── Postgres93.php │ ├── Postgres94.php │ ├── Postgres95.php │ └── Postgres96.php ├── colproperties.php ├── composer.json ├── conf └── config.inc.php-dist ├── constraints.php ├── conversions.php ├── database.php ├── dataexport.php ├── dataimport.php ├── dbexport.php ├── display.php ├── domains.php ├── fulltext.php ├── functions.js ├── functions.php ├── groups.php ├── help.php ├── help ├── PostgresDoc10.php ├── PostgresDoc11.php ├── PostgresDoc12.php ├── PostgresDoc13.php ├── PostgresDoc14.php ├── PostgresDoc74.php ├── PostgresDoc80.php ├── PostgresDoc81.php ├── PostgresDoc82.php ├── PostgresDoc83.php ├── PostgresDoc84.php ├── PostgresDoc90.php ├── PostgresDoc91.php ├── PostgresDoc92.php ├── PostgresDoc93.php ├── PostgresDoc94.php ├── PostgresDoc95.php └── PostgresDoc96.php ├── history.php ├── images └── themes │ ├── bootstrap │ ├── Favicon.ico │ ├── Introduction.png │ └── title.png │ ├── cappuccino │ ├── Lminus.png │ ├── Lplus.png │ ├── Tminus.png │ ├── Tplus.png │ ├── inputbckg.png │ ├── openListe.png │ └── title.png │ └── default │ ├── AddArguments.png │ ├── Admin.png │ ├── Aggregate.png │ ├── Aggregates.png │ ├── AllUsers.png │ ├── AvailableReplicationSet.png │ ├── AvailableSubscription.png │ ├── Backup.png │ ├── Cast.png │ ├── Casts.png │ ├── CheckConstraint.png │ ├── Cluster.png │ ├── Column.png │ ├── Columns.png │ ├── Constraints.png │ ├── Conversion.png │ ├── Conversions.png │ ├── Copy.png │ ├── CorruptedDatabase.png │ ├── Cut.png │ ├── Database.png │ ├── Databases.png │ ├── Definition.png │ ├── Delete.png │ ├── DisabledJob.png │ ├── DisconnectedDatabase.png │ ├── DisconnectedServer.png │ ├── Domain.png │ ├── Domains.png │ ├── EnableArgument.png │ ├── Erase.png │ ├── Execute.png │ ├── ExecuteSave.png │ ├── Explain.png │ ├── Export.png │ ├── Favicon.ico │ ├── Filter.png │ ├── ForeignKey.png │ ├── Fts.png │ ├── FtsCfg.png │ ├── FtsDict.png │ ├── FtsParser.png │ ├── Function.png │ ├── Functions.png │ ├── GurusHint.png │ ├── Help.png │ ├── Histories.png │ ├── History.png │ ├── I.png │ ├── Import.png │ ├── Index.png │ ├── Indexes.png │ ├── Introduction.png │ ├── Job.png │ ├── Jobs.png │ ├── Key.png │ ├── L.png │ ├── Language.png │ ├── Languages.png │ ├── Listen.png │ ├── Listens.png │ ├── Lminus.png │ ├── Loading.gif │ ├── LowerArgument.png │ ├── Lplus.png │ ├── Node.png │ ├── Nodes.png │ ├── ObjectNotFound.png │ ├── OfferedReplicationSet.png │ ├── OfferedSubscription.png │ ├── Open.png │ ├── Operator.png │ ├── OperatorClass.png │ ├── OperatorClasses.png │ ├── Operators.png │ ├── Paste.png │ ├── Path.png │ ├── Paths.png │ ├── PrimaryKey.png │ ├── Privileges.png │ ├── Processes.png │ ├── Property.png │ ├── RaiseArgument.png │ ├── Record.png │ ├── Records.png │ ├── Redo.png │ ├── Refresh.png │ ├── RemoveArgument.png │ ├── Replication.png │ ├── ReplicationSets.png │ ├── Restore.png │ ├── Roles.png │ ├── Rule.png │ ├── Rules.png │ ├── Save.png │ ├── Schedule.png │ ├── Schedules.png │ ├── Schema.png │ ├── Schemas.png │ ├── Search.png │ ├── Sequence.png │ ├── Sequences.png │ ├── Server.png │ ├── Servers.png │ ├── SqlEditor.png │ ├── Statistics.png │ ├── Step.png │ ├── Steps.png │ ├── Stop.png │ ├── Subscriptions.png │ ├── T.png │ ├── Table.png │ ├── Tables.png │ ├── Tablespace.png │ ├── Tablespaces.png │ ├── Tminus.png │ ├── Tplus.png │ ├── Trigger.png │ ├── TriggerFunction.png │ ├── TriggerFunctions.png │ ├── Triggers.png │ ├── Type.png │ ├── Types.png │ ├── Undo.png │ ├── UniqueConstraint.png │ ├── User.png │ ├── UserGroup.png │ ├── UserGroups.png │ ├── Users.png │ ├── Variables.png │ ├── View.png │ ├── Views.png │ ├── blank.png │ └── title.png ├── index.php ├── indexes.js ├── indexes.php ├── info.php ├── intro.php ├── js ├── ac_insert_row.js ├── database.js └── display.js ├── lang ├── README ├── afrikaans.php ├── arabic.php ├── catalan.php ├── chinese-zh-CN.php ├── chinese-zh-TW.php ├── czech.php ├── danish.php ├── dutch.php ├── english.php ├── french.php ├── galician.php ├── german.php ├── greek.php ├── hebrew.php ├── hungarian.php ├── italian.php ├── japanese.php ├── langcheck ├── lithuanian.php ├── mongol.php ├── polish.php ├── portuguese-br.php ├── portuguese-pt.php ├── romanian.php ├── russian-utf8.php ├── russian.php ├── slovak.php ├── spanish.php ├── swedish.php ├── synch ├── translations.php ├── turkish.php └── ukrainian.php ├── languages.php ├── libraries ├── adodb │ ├── .editorconfig │ ├── LICENSE.md │ ├── README.md │ ├── SECURITY.md │ ├── adodb-active-record.inc.php │ ├── adodb-active-recordx.inc.php │ ├── adodb-csvlib.inc.php │ ├── adodb-datadict.inc.php │ ├── adodb-error.inc.php │ ├── adodb-errorhandler.inc.php │ ├── adodb-errorpear.inc.php │ ├── adodb-exceptions.inc.php │ ├── adodb-lib.inc.php │ ├── adodb-loadbalancer.inc.php │ ├── adodb-memcache.lib.inc.php │ ├── adodb-pager.inc.php │ ├── adodb-pear.inc.php │ ├── adodb-perf.inc.php │ ├── adodb-time.inc.php │ ├── adodb-xmlschema.inc.php │ ├── adodb-xmlschema03.inc.php │ ├── adodb.inc.php │ ├── composer.json │ ├── datadict │ │ ├── datadict-access.inc.php │ │ ├── datadict-db2.inc.php │ │ ├── datadict-firebird.inc.php │ │ ├── datadict-generic.inc.php │ │ ├── datadict-ibase.inc.php │ │ ├── datadict-informix.inc.php │ │ ├── datadict-mssql.inc.php │ │ ├── datadict-mssqlnative.inc.php │ │ ├── datadict-mysql.inc.php │ │ ├── datadict-oci8.inc.php │ │ ├── datadict-postgres.inc.php │ │ ├── datadict-sapdb.inc.php │ │ ├── datadict-sqlite.inc.php │ │ └── datadict-sybase.inc.php │ ├── docs │ │ ├── README.md │ │ ├── adodb.gif │ │ ├── adodb2.gif │ │ ├── changelog.md │ │ ├── changelog_v2.x.md │ │ ├── changelog_v3.x.md │ │ ├── changelog_v4+5.md │ │ └── changelog_v4.x.md │ ├── drivers │ │ ├── adodb-access.inc.php │ │ ├── adodb-ado.inc.php │ │ ├── adodb-ado5.inc.php │ │ ├── adodb-ado_access.inc.php │ │ ├── adodb-ado_mssql.inc.php │ │ ├── adodb-ads.inc.php │ │ ├── adodb-borland_ibase.inc.php │ │ ├── adodb-csv.inc.php │ │ ├── adodb-db2.inc.php │ │ ├── adodb-db2oci.inc.php │ │ ├── adodb-db2ora.inc.php │ │ ├── adodb-fbsql.inc.php │ │ ├── adodb-firebird.inc.php │ │ ├── adodb-ibase.inc.php │ │ ├── adodb-informix.inc.php │ │ ├── adodb-informix72.inc.php │ │ ├── adodb-ldap.inc.php │ │ ├── adodb-mssql.inc.php │ │ ├── adodb-mssql_n.inc.php │ │ ├── adodb-mssqlnative.inc.php │ │ ├── adodb-mssqlpo.inc.php │ │ ├── adodb-mysqli.inc.php │ │ ├── adodb-netezza.inc.php │ │ ├── adodb-oci8.inc.php │ │ ├── adodb-oci805.inc.php │ │ ├── adodb-oci8po.inc.php │ │ ├── adodb-oci8quercus.inc.php │ │ ├── adodb-odbc.inc.php │ │ ├── adodb-odbc_db2.inc.php │ │ ├── adodb-odbc_mssql.inc.php │ │ ├── adodb-odbc_mssql2012.inc.php │ │ ├── adodb-odbc_oracle.inc.php │ │ ├── adodb-odbtp.inc.php │ │ ├── adodb-odbtp_unicode.inc.php │ │ ├── adodb-oracle.inc.php │ │ ├── adodb-pdo.inc.php │ │ ├── adodb-pdo_dblib.inc.php │ │ ├── adodb-pdo_firebird.inc.php │ │ ├── adodb-pdo_mssql.inc.php │ │ ├── adodb-pdo_mysql.inc.php │ │ ├── adodb-pdo_oci.inc.php │ │ ├── adodb-pdo_pgsql.inc.php │ │ ├── adodb-pdo_sqlite.inc.php │ │ ├── adodb-pdo_sqlsrv.inc.php │ │ ├── adodb-postgres.inc.php │ │ ├── adodb-postgres64.inc.php │ │ ├── adodb-postgres7.inc.php │ │ ├── adodb-postgres8.inc.php │ │ ├── adodb-postgres9.inc.php │ │ ├── adodb-proxy.inc.php │ │ ├── adodb-sapdb.inc.php │ │ ├── adodb-sqlanywhere.inc.php │ │ ├── adodb-sqlite.inc.php │ │ ├── adodb-sqlite3.inc.php │ │ ├── adodb-sqlitepo.inc.php │ │ ├── adodb-sybase.inc.php │ │ ├── adodb-sybase_ase.inc.php │ │ ├── adodb-text.inc.php │ │ └── adodb-vfp.inc.php │ ├── lang │ │ ├── adodb-ar.inc.php │ │ ├── adodb-bg.inc.php │ │ ├── adodb-ca.inc.php │ │ ├── adodb-cn.inc.php │ │ ├── adodb-cz.inc.php │ │ ├── adodb-da.inc.php │ │ ├── adodb-de.inc.php │ │ ├── adodb-en.inc.php │ │ ├── adodb-eo.inc.php │ │ ├── adodb-es.inc.php │ │ ├── adodb-fa.inc.php │ │ ├── adodb-fr.inc.php │ │ ├── adodb-hu.inc.php │ │ ├── adodb-id.inc.php │ │ ├── adodb-it.inc.php │ │ ├── adodb-nl.inc.php │ │ ├── adodb-oc.inc.php │ │ ├── adodb-pl.inc.php │ │ ├── adodb-pt-br.inc.php │ │ ├── adodb-ro.inc.php │ │ ├── adodb-ru.inc.php │ │ ├── adodb-sv.inc.php │ │ ├── adodb-th.inc.php │ │ └── adodb-uk.inc.php │ ├── pear │ │ ├── Auth │ │ │ └── Container │ │ │ │ └── ADOdb.php │ │ ├── auth_adodb_example.php │ │ └── readme.Auth.txt │ ├── perf │ │ ├── perf-db2.inc.php │ │ ├── perf-informix.inc.php │ │ ├── perf-mssql.inc.php │ │ ├── perf-mssqlnative.inc.php │ │ ├── perf-mysql.inc.php │ │ ├── perf-oci8.inc.php │ │ ├── perf-postgres.inc.php │ │ └── perf-sqlite3.inc.php │ ├── phpdoc │ ├── phpdoc.dist.xml │ ├── pivottable.inc.php │ ├── rsfilter.inc.php │ ├── session │ │ ├── adodb-compress-bzip2.php │ │ ├── adodb-compress-gzip.php │ │ ├── adodb-cryptsession.php │ │ ├── adodb-cryptsession2.php │ │ ├── adodb-encrypt-mcrypt.php │ │ ├── adodb-encrypt-md5.php │ │ ├── adodb-encrypt-secret.php │ │ ├── adodb-encrypt-sha1.php │ │ ├── adodb-sess.txt │ │ ├── adodb-session-clob.php │ │ ├── adodb-session-clob2.php │ │ ├── adodb-session.php │ │ ├── adodb-session2.php │ │ ├── adodb-sessions.mysql.sql │ │ ├── adodb-sessions.oracle.clob.sql │ │ ├── adodb-sessions.oracle.sql │ │ ├── crypt.inc.php │ │ ├── old │ │ │ ├── adodb-cryptsession.php │ │ │ ├── adodb-session-clob.php │ │ │ ├── adodb-session.php │ │ │ └── crypt.inc.php │ │ ├── session_schema.xml │ │ └── session_schema2.xml │ ├── toexport.inc.php │ ├── tohtml.inc.php │ ├── xmlschema.dtd │ ├── xmlschema03.dtd │ └── xsl │ │ ├── convert-0.1-0.2.xsl │ │ ├── convert-0.1-0.3.xsl │ │ ├── convert-0.2-0.1.xsl │ │ ├── convert-0.2-0.3.xsl │ │ ├── remove-0.2.xsl │ │ └── remove-0.3.xsl ├── decorator.inc.php ├── errorhandler.inc.php ├── highlight.php ├── js │ └── jquery.js └── lib.inc.php ├── links.js ├── login.php ├── logout.php ├── multiactionform.js ├── opclasses.php ├── operators.php ├── plugin.php ├── plugins ├── GuiControl │ ├── conf │ │ └── config.inc.php │ └── plugin.php └── Report │ ├── INSTALL │ ├── README │ ├── classes │ └── Reports.php │ ├── conf │ └── config.inc.php │ ├── images │ ├── Report.png │ └── Reports.png │ ├── lang │ ├── afrikaans.php │ ├── arabic.php │ ├── catalan.php │ ├── chinese-sim.php │ ├── chinese-tr.php │ ├── chinese-utf8-zh_CN.php │ ├── chinese-utf8-zh_TW.php │ ├── czech.php │ ├── danish.php │ ├── dutch.php │ ├── english.php │ ├── french.php │ ├── galician.php │ ├── german.php │ ├── greek.php │ ├── hebrew.php │ ├── hungarian.php │ ├── italian.php │ ├── japanese.php │ ├── lithuanian.php │ ├── mongol.php │ ├── polish.php │ ├── portuguese-br.php │ ├── portuguese-pt.php │ ├── romanian.php │ ├── russian.php │ ├── slovak.php │ ├── spanish.php │ ├── swedish.php │ ├── turkish.php │ └── ukrainian.php │ ├── plugin.php │ └── sql │ └── reports-pgsql.sql ├── privileges.php ├── redirect.php ├── robots.txt ├── roles.php ├── rules.php ├── schemas.php ├── sequences.php ├── servers.php ├── sql.php ├── sqledit.php ├── tables.js ├── tables.php ├── tablespaces.php ├── tblproperties.php ├── themes ├── bootstrap │ ├── global.css │ └── title.png ├── cappuccino │ └── global.css ├── dark │ └── global.css ├── default │ └── global.css ├── global.css ├── gotar │ └── global.css └── themes.php ├── triggers.php ├── types.php ├── users.php ├── viewproperties.php ├── views.php └── xloadtree ├── xloadtree2.js └── xtree2.js /BUGS: -------------------------------------------------------------------------------- 1 | Internal Bugs List 2 | ------------------ 3 | 4 | This file is used to track current working tasks - just ignore it! 5 | 6 | conditional testing for user visible fields across postgres versions in selenium. 7 | 8 | dump sequences when dumping tables 9 | fix dumping clustering info 10 | 11 | Need to fix: 12 | * After changing password need to update data structures to avoid logouts 13 | * Report login errors 14 | * Don't offer owner change feature if user is not superuser 15 | * check use of apostrophes, etc. in tree menu 16 | * add different null formats to import and export 17 | * make browser language detection only happen when language is set 18 | to 'auto'. make that the default. 19 | * float and decimal types aren't listed. 20 | * Click 'Run' on this report doesn't work (only column 2 is displayed): 21 | 22 | SELECT 23 | 1, 24 | 2; 25 | 26 | * redirect.php doesn't work for database's after certain tabs have been 27 | selected, eg. 'Variables', 'Processes'. 28 | 29 | NEEDS TESTING 30 | ------------- 31 | 32 | * COPY should work in normal sql screen and sql popup window 33 | * notice on viewing reports page - does this still occur? 34 | * highlight things on the info stats page 35 | * advanced stats functions 36 | * prevent the user from dropping all the superusers 37 | * rename function in 7.2 and below doesn't come back to the correct function 38 | * Fix SQL window parent update to not update any random window 39 | * Show owner on privileges screen? 40 | * Allows tabs in textareas on IE: http://devilock.mine.nu/textarea_tab.html 41 | * add help links everywhere. fix formatting of help links. 42 | * Deal with named parameters that have ',' in the type name 43 | * make sure composite types are found in the find feature 44 | -------------------------------------------------------------------------------- /HISTORY: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/HISTORY -------------------------------------------------------------------------------- /INSTALL: -------------------------------------------------------------------------------- 1 | phpPgAdmin Installation Guide 2 | ----------------------------- 3 | 4 | 1. Unpack your download 5 | 6 | If you've downloaded a tar.gz package, execute from a terminal: 7 | 8 | gunzip phpPgAdmin-*.tar.gz 9 | tar -xvf phpPgAdmin-*.tar 10 | 11 | Else, if you've downloaded a tar.bz2 package, execute from a terminal: 12 | 13 | bunzip2 phpPgAdmin-*.tar.bz2 14 | tar -xvf phpPgAdmin-*.tar 15 | 16 | Else, if you've downloaded a zip package, execute from a terminal: 17 | 18 | unzip phpPgAdmin-*.zip 19 | 20 | 2. Configure phpPgAdmin 21 | 22 | edit phpPgAdmin/conf/config.inc.php 23 | 24 | If you mess up the configuration file, you can recover it from the 25 | config.inc.php-dist file. 26 | 27 | 3. Ensure the statistics collector is enabled in PostgreSQL. phpPgAdmin will 28 | display table, index performance, and usage statistics if you have enabled 29 | the PostgreSQL statistics collector. While this is normally enabled by 30 | default, to ensure it is running, make sure the following lines in your 31 | postgresql.conf are uncommented: 32 | 33 | track_activities 34 | track_counts 35 | 36 | 4. Browse to the phpPgAdmin installation using a web browser. You might 37 | need cookies enabled for phpPgAdmin to work. 38 | 39 | 5. IMPORTANT - SECURITY 40 | 41 | PostgreSQL by default does not require you to use a password to log in. 42 | We STRONGLY recommend that you enable md5 passwords for local connections 43 | in your pg_hba.conf, and set a password for the default superuser account. 44 | 45 | Due to the large number of phpPgAdmin installations that have not set 46 | passwords on local connections, there is now a configuration file 47 | option called 'extra_login_security', which is TRUE by default. While 48 | this option is enabled, you will be unable to log in to phpPgAdmin as 49 | the 'root', 'administrator', 'pgsql' or 'postgres' users and empty passwords 50 | will not work. 51 | 52 | Once you are certain you have properly secured your database server, you 53 | can then disable 'extra_login_security' so that you can log in as your 54 | database administrator using the administrator password. 55 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002 - 2019 The phpPgAdmin Project 2 | 3 | This program is free software; you can redistribute it and/or modify 4 | it under the terms of the GNU General Public License as published by 5 | the Free Software Foundation; either version 2 of the License, or 6 | (at your option) any later version. 7 | This program is distributed in the hope that it will be useful, 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | GNU General Public License 11 | for more details. 12 | 13 | -------------------------------------------------------------------------------- /TRANSLATORS: -------------------------------------------------------------------------------- 1 | Translator Info 2 | --------------- 3 | 4 | If you like phpPgAdmin, then why not translate it into your native language? 5 | 6 | There are quite a large number of strings to be translated. Partial 7 | translations are better than no translations at all, and a rough guide is that 8 | the strings are in the order from most important to least important in the 9 | language file. You can ask the developers list if you don't know what a 10 | certain string means. 11 | 12 | We tried keeping translation easy in phpPgAdmin by using ONLY the UTF-8 charset. 13 | Make sure to always work on UTF-8 files when creating a new translation or 14 | editing an existing one. 15 | 16 | To Create a new translation: 17 | 18 | 1. Go to the lang/ subdirectory 19 | 20 | 2. Copy english.php to yourlanguage.php 21 | 22 | 3. Update the comment at the top of the file. Put yourself as the language 23 | maintainer. Edit the 'applang' variable and put your language's name in it, 24 | in your language. 25 | Edit the 'applocale' and put your language code according to the standard: 26 | http://www.ietf.org/rfc/rfc1766.txt 27 | 28 | Basically, you just need to put your language code [1] and optionally country 29 | code [2] separated by a '-'. As instance for french canadian, it is: fr-CA 30 | [1]: http://www.w3.org/WAI/ER/IG/ert/iso639.htm 31 | [2]: http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm 32 | 33 | 4. Go through as much of the rest of the file as you wish, replacing the 34 | English strings with strings in your native language. 35 | 36 | At this point, you can send the yourlanguage.php file to us and we will take 37 | care of testing and recoding the translation. Please only do that if you 38 | find the rest of these steps too difficult. 39 | 40 | 5. To add your language to phpPgAdmin, edit the lang/translations.php file 41 | and add your language to the $appLangFiles array. 42 | Also, add your language to the $availableLanguages array for 43 | browser auto detection. 44 | 45 | 6. Send your contribution to us. We need the lang/translations.php entry as 46 | well as the lang/yourlanguage.php file. Email to the developers list: 47 | phppgadmin-devel@lists.sourceforge.net 48 | 49 | 7. There exists a tool named 'langcheck' in the lang/ directory. To run it, 50 | just type 'php langcheck '. It will give you a report about 51 | which strings are missing from your language file and which need to be 52 | deleted. 53 | 54 | Thank you for your contribution! You have just made phpPgAdmin accessible 55 | to thousands more users! 56 | -------------------------------------------------------------------------------- /classes/ArrayRecordSet.php: -------------------------------------------------------------------------------- 1 | _array = $data; 17 | $this->_count = count($this->_array); 18 | $this->fields = reset($this->_array); 19 | if ($this->fields === false) $this->EOF = true; 20 | } 21 | 22 | function recordCount() { 23 | return $this->_count; 24 | } 25 | 26 | function moveNext() { 27 | $this->fields = next($this->_array); 28 | if ($this->fields === false) $this->EOF = true; 29 | } 30 | } 31 | 32 | ?> 33 | -------------------------------------------------------------------------------- /classes/Gui.php: -------------------------------------------------------------------------------- 1 | Value 17 | * @param $szName string to specify the name of the form element 18 | * @param (optional) $bBlankEntry bool to specify whether or not we want a blank selection 19 | * @param (optional) $szDefault string to specify the default VALUE selected 20 | * @param (optional) $bMultiple bool to specify whether or not we want a multi select combo box 21 | * @param (optional) $iSize int to specify the size IF a multi select combo 22 | * @return string with the generated HTML select box 23 | */ 24 | static function printCombo(&$arrOptions, $szName, $bBlankEntry = true, $szDefault = '', $bMultiple = false, $iSize = 10) { 25 | $htmlOut = ''; 26 | if ($bMultiple) // If multiple select combo 27 | $htmlOut .= "\n"; 30 | if ($bBlankEntry) 31 | $htmlOut .= "\n"; 32 | 33 | foreach ($arrOptions as $curKey => $curVal) { 34 | $curVal = htmlspecialchars($curVal); 35 | $curKey = htmlspecialchars($curKey); 36 | if ($curVal == $szDefault) { 37 | $htmlOut .= "\n"; 38 | } 39 | else { 40 | $htmlOut .= "\n"; 41 | } 42 | } 43 | $htmlOut .= "\n"; 44 | 45 | return $htmlOut; 46 | } 47 | } 48 | ?> 49 | -------------------------------------------------------------------------------- /classes/Plugin.php: -------------------------------------------------------------------------------- 1 | get_name(); 12 | 13 | if (file_exists("{$plugin_directory}/lang")) { 14 | if (file_exists("{$plugin_directory}/lang/english.php")) { 15 | require_once("{$plugin_directory}/lang/english.php"); 16 | } 17 | 18 | if (file_exists("{$plugin_directory}/lang/{$language}.php")) { 19 | include_once("{$plugin_directory}/lang/{$language}.php"); 20 | } 21 | 22 | $this->lang = $plugin_lang; 23 | } 24 | 25 | if (file_exists("{$plugin_directory}/conf/config.inc.php")) { 26 | include_once("{$plugin_directory}/conf/config.inc.php"); 27 | $this->conf = $plugin_conf; 28 | } 29 | } 30 | 31 | abstract function get_hooks(); 32 | 33 | abstract function get_actions(); 34 | 35 | /** 36 | * In some page (display, sql, ...), a "return" link will show up if 37 | * $_GET['return'] = 'plugin' is given. The "get_subject_params" method 38 | * of the plugin designated by $_GET['plugin'] is then called to add needed 39 | * parameters in the href URL. 40 | * This method can returns parameters based on context from $_REQUEST. See 41 | * plugin Report as example. 42 | * 43 | * @returns an associative of parameter_name => value 44 | */ 45 | function get_subject_params() { 46 | $vars = array(); 47 | return $vars; 48 | } 49 | 50 | /** 51 | * Get the plugin name, that will be used as identification 52 | * @return $name 53 | */ 54 | function get_name() { 55 | return $this->name; 56 | } 57 | 58 | /** 59 | * Returns the structure suitable for the method $misc->icon() to print 60 | * the given icon. 61 | * @param $img - The icon name 62 | * @return the information suitable for the method $misc->icon() 63 | */ 64 | function icon($img) { 65 | return array($this->name, $img); 66 | } 67 | } 68 | ?> 69 | -------------------------------------------------------------------------------- /classes/database/Postgres11.php: -------------------------------------------------------------------------------- 1 | selectField($sql, 'default_with_oids'); 31 | } 32 | 33 | /** 34 | * Checks to see whether or not a table has a unique id column 35 | * @param $table The table name 36 | * @return True if it has a unique id, false otherwise 37 | * @return null error 38 | **/ 39 | function hasObjectID($table) { 40 | $c_schema = $this->_schema; 41 | $this->clean($c_schema); 42 | $this->clean($table); 43 | 44 | $sql = "SELECT relhasoids FROM pg_catalog.pg_class WHERE relname='{$table}' 45 | AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname='{$c_schema}')"; 46 | 47 | $rs = $this->selectSet($sql); 48 | if ($rs->recordCount() != 1) return null; 49 | else { 50 | $rs->fields['relhasoids'] = $this->phpBool($rs->fields['relhasoids']); 51 | return $rs->fields['relhasoids']; 52 | } 53 | } 54 | 55 | 56 | // Help functions 57 | 58 | function getHelpPages() { 59 | include_once('./help/PostgresDoc11.php'); 60 | return $this->help_page; 61 | } 62 | 63 | 64 | // Capabilities 65 | function hasServerOids() { return true; } 66 | 67 | } 68 | ?> 69 | -------------------------------------------------------------------------------- /classes/database/Postgres12.php: -------------------------------------------------------------------------------- 1 | help_page; 27 | } 28 | 29 | 30 | // Capabilities 31 | 32 | } 33 | ?> 34 | -------------------------------------------------------------------------------- /classes/database/Postgres13.php: -------------------------------------------------------------------------------- 1 | help_page; 27 | } 28 | 29 | 30 | // Capabilities 31 | 32 | } 33 | ?> 34 | -------------------------------------------------------------------------------- /classes/database/Postgres90.php: -------------------------------------------------------------------------------- 1 | help_page; 28 | } 29 | 30 | // Capabilities 31 | 32 | } 33 | ?> 34 | -------------------------------------------------------------------------------- /classes/database/Postgres92.php: -------------------------------------------------------------------------------- 1 | help_page; 27 | } 28 | 29 | } 30 | ?> 31 | -------------------------------------------------------------------------------- /classes/database/Postgres93.php: -------------------------------------------------------------------------------- 1 | help_page; 27 | } 28 | 29 | } 30 | ?> 31 | -------------------------------------------------------------------------------- /classes/database/Postgres94.php: -------------------------------------------------------------------------------- 1 | help_page; 27 | } 28 | 29 | } 30 | ?> 31 | -------------------------------------------------------------------------------- /classes/database/Postgres95.php: -------------------------------------------------------------------------------- 1 | help_page; 27 | } 28 | 29 | 30 | /** 31 | * Returns all available process information. 32 | * @param $database (optional) Find only connections to specified database 33 | * @return A recordset 34 | */ 35 | function getProcesses($database = null) { 36 | if ($database === null) 37 | $sql = "SELECT datname, usename, pid, waiting, state_change as query_start, 38 | case when state='idle in transaction' then ' in transaction' when state = 'idle' then '' else query end as query 39 | FROM pg_catalog.pg_stat_activity 40 | ORDER BY datname, usename, pid"; 41 | else { 42 | $this->clean($database); 43 | $sql = "SELECT datname, usename, pid, waiting, state_change as query_start, 44 | case when state='idle in transaction' then ' in transaction' when state = 'idle' then '' else query end as query 45 | FROM pg_catalog.pg_stat_activity 46 | WHERE datname='{$database}' 47 | ORDER BY usename, pid"; 48 | } 49 | 50 | return $this->selectSet($sql); 51 | } 52 | 53 | 54 | } 55 | ?> 56 | -------------------------------------------------------------------------------- /classes/database/Postgres96.php: -------------------------------------------------------------------------------- 1 | help_page; 27 | } 28 | 29 | // Sequence functions 30 | 31 | /** 32 | * Returns properties of a single sequence 33 | * @param $sequence Sequence name 34 | * @return A recordset 35 | */ 36 | function getSequence($sequence) { 37 | $c_schema = $this->_schema; 38 | $this->clean($c_schema); 39 | $c_sequence = $sequence; 40 | $this->fieldClean($sequence); 41 | $this->clean($c_sequence); 42 | 43 | $sql = " 44 | SELECT c.relname AS seqname, s.*, 45 | pg_catalog.obj_description(s.tableoid, 'pg_class') AS seqcomment, 46 | u.usename AS seqowner, n.nspname 47 | FROM \"{$sequence}\" AS s, pg_catalog.pg_class c, pg_catalog.pg_user u, pg_catalog.pg_namespace n 48 | WHERE c.relowner=u.usesysid AND c.relnamespace=n.oid 49 | AND c.relname = '{$c_sequence}' AND c.relkind = 'S' AND n.nspname='{$c_schema}' 50 | AND n.oid = c.relnamespace"; 51 | 52 | return $this->selectSet( $sql ); 53 | } 54 | 55 | 56 | } 57 | ?> 58 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "phppgadmin/phppgadmin", 3 | "description": "phpPgAdmin is a web-based administration tool for PostgreSQL. It is perfect for PostgreSQL DBAs, newbies, and hosting services.", 4 | "type": "Application", 5 | "license": "GPL-2.0+", 6 | "require": { 7 | "php": ">=7.1", 8 | "ext-pgsql": "*", 9 | "ext-mbstring": "*" 10 | }, 11 | "minimum-stability": "stable", 12 | "autoload": { 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /conversions.php: -------------------------------------------------------------------------------- 1 | printTrail('schema'); 23 | $misc->printTabs('schema', 'conversions'); 24 | $misc->printMsg($msg); 25 | 26 | $conversions = $data->getconversions(); 27 | 28 | $columns = array( 29 | 'conversion' => array( 30 | 'title' => $lang['strname'], 31 | 'field' => field('conname'), 32 | ), 33 | 'source_encoding' => array( 34 | 'title' => $lang['strsourceencoding'], 35 | 'field' => field('conforencoding'), 36 | ), 37 | 'target_encoding' => array( 38 | 'title' => $lang['strtargetencoding'], 39 | 'field' => field('contoencoding'), 40 | ), 41 | 'default' => array( 42 | 'title' => $lang['strdefault'], 43 | 'field' => field('condefault'), 44 | 'type' => 'yesno', 45 | ), 46 | 'comment' => array( 47 | 'title' => $lang['strcomment'], 48 | 'field' => field('concomment'), 49 | ), 50 | ); 51 | 52 | $actions = array(); 53 | 54 | $misc->printTable($conversions, $columns, $actions, 'conversions-conversions', $lang['strnoconversions']); 55 | } 56 | 57 | /** 58 | * Generate XML for the browser tree. 59 | */ 60 | function doTree() { 61 | global $misc, $data; 62 | 63 | $conversions = $data->getconversions(); 64 | 65 | $attrs = array( 66 | 'text' => field('conname'), 67 | 'icon' => 'Conversion', 68 | 'toolTip'=> field('concomment') 69 | ); 70 | 71 | $misc->printTree($conversions, $attrs, 'conversions'); 72 | exit; 73 | } 74 | 75 | if ($action == 'tree') doTree(); 76 | 77 | $misc->printHeader($lang['strconversions']); 78 | $misc->printBody(); 79 | 80 | switch ($action) { 81 | default: 82 | doDefault(); 83 | break; 84 | } 85 | 86 | $misc->printFooter(); 87 | 88 | ?> 89 | -------------------------------------------------------------------------------- /help.php: -------------------------------------------------------------------------------- 1 | getHelp($_REQUEST['help']); 20 | 21 | if (is_array($url)) { 22 | doChoosePage($url); 23 | return; 24 | } 25 | 26 | if ($url) { 27 | header("Location: $url"); 28 | exit; 29 | } 30 | } 31 | 32 | doBrowse($lang['strinvalidhelppage']); 33 | } 34 | 35 | function doBrowse($msg = '') { 36 | global $misc, $data, $lang; 37 | 38 | $misc->printHeader($lang['strhelppagebrowser']); 39 | $misc->printBody(); 40 | 41 | $misc->printTitle($lang['strselecthelppage']); 42 | 43 | echo $misc->printMsg($msg); 44 | 45 | echo "
\n"; 46 | 47 | $pages = $data->getHelpPages(); 48 | foreach ($pages as $page => $dummy) { 49 | echo "
{$page}
\n"; 50 | 51 | $urls = $data->getHelp($page); 52 | if (!is_array($urls)) $urls = array($urls); 53 | foreach ($urls as $url) { 54 | echo "
{$url}
\n"; 55 | } 56 | } 57 | 58 | echo "
\n"; 59 | 60 | $misc->printFooter(); 61 | } 62 | 63 | function doChoosePage($urls) { 64 | global $misc, $lang; 65 | 66 | $misc->printHeader($lang['strhelppagebrowser']); 67 | $misc->printBody(); 68 | 69 | $misc->printTitle($lang['strselecthelppage']); 70 | 71 | echo "
    \n"; 72 | foreach($urls as $url) { 73 | echo "
  • {$url}
  • \n"; 74 | } 75 | echo "
\n"; 76 | 77 | $misc->printFooter(); 78 | } 79 | 80 | switch ($action) { 81 | case 'browse': 82 | doBrowse(); 83 | break; 84 | default: 85 | doDefault(); 86 | break; 87 | } 88 | ?> 89 | -------------------------------------------------------------------------------- /help/PostgresDoc10.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '10'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc11.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '11'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc12.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '12'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc13.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '13'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc14.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], 'devel'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc80.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '8.0'); 12 | 13 | $this->help_page['pg.column.add'][0] = 'ddl-alter.html#AEN2217'; 14 | $this->help_page['pg.column.drop'][0] = 'ddl-alter.html#AEN2226'; 15 | 16 | $this->help_page['pg.constraint.add'] = 'ddl-alter.html#AEN2217'; 17 | $this->help_page['pg.constraint.check'] = 'ddl-constraints.html#AEN1978'; 18 | $this->help_page['pg.constraint.drop'] = 'ddl-alter.html#AEN2226'; 19 | $this->help_page['pg.constraint.primary_key'] = 'ddl-constraints.html#AEN2055'; 20 | $this->help_page['pg.constraint.unique_key'] = 'ddl-constraints.html#AEN2033'; 21 | 22 | $this->help_page['pg.domain'] = 'extend-type-system.html#AEN27940'; 23 | 24 | $this->help_page['pg.function'][2] = 'sql-expressions.html#AEN1652'; 25 | 26 | $this->help_page['pg.operator'][2] = 'sql-expressions.html#AEN1623'; 27 | 28 | ?> 29 | -------------------------------------------------------------------------------- /help/PostgresDoc81.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '8.1'); 12 | 13 | $this->help_page['pg.role'] = 'user-manag.html'; 14 | $this->help_page['pg.role.create'] = array('sql-createrole.html','user-manag.html#DATABASE-ROLES'); 15 | $this->help_page['pg.role.alter'] = array('sql-alterrole.html','role-attributes.html'); 16 | $this->help_page['pg.role.drop'] = array('sql-droprole.html','user-manag.html#DATABASE-ROLES'); 17 | 18 | ?> 19 | -------------------------------------------------------------------------------- /help/PostgresDoc82.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '8.2'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc83.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '8.3'); 12 | 13 | $this->help_page['pg.fts'] = 'textsearch.html'; 14 | 15 | $this->help_page['pg.ftscfg'] = 'textsearch-intro.html#TEXTSEARCH-INTRO-CONFIGURATIONS'; 16 | $this->help_page['pg.ftscfg.example'] = 'textsearch-configuration.html'; 17 | $this->help_page['pg.ftscfg.drop'] = 'sql-droptsconfig.html'; 18 | $this->help_page['pg.ftscfg.create'] = 'sql-createtsconfig.html'; 19 | $this->help_page['pg.ftscfg.alter'] = 'sql-altertsconfig.html'; 20 | 21 | $this->help_page['pg.ftsdict'] = 'textsearch-dictionaries.html'; 22 | $this->help_page['pg.ftsdict.drop'] = 'sql-droptsdictionary.html'; 23 | $this->help_page['pg.ftsdict.create'] = array('sql-createtsdictionary.html', 'sql-createtstemplate.html'); 24 | $this->help_page['pg.ftsdict.alter'] = 'sql-altertsdictionary.html'; 25 | 26 | $this->help_page['pg.ftsparser'] = 'textsearch-parsers.html'; 27 | ?> 28 | -------------------------------------------------------------------------------- /help/PostgresDoc84.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '8.4'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc90.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '9.0'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc91.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '9.1'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc92.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '9.2'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc93.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '9.3'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc94.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '9.4'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc95.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '9.5'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /help/PostgresDoc96.php: -------------------------------------------------------------------------------- 1 | help_base = sprintf($GLOBALS['conf']['help_base'], '9.6'); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /images/themes/bootstrap/Favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/bootstrap/Favicon.ico -------------------------------------------------------------------------------- /images/themes/bootstrap/Introduction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/bootstrap/Introduction.png -------------------------------------------------------------------------------- /images/themes/bootstrap/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/bootstrap/title.png -------------------------------------------------------------------------------- /images/themes/cappuccino/Lminus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/cappuccino/Lminus.png -------------------------------------------------------------------------------- /images/themes/cappuccino/Lplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/cappuccino/Lplus.png -------------------------------------------------------------------------------- /images/themes/cappuccino/Tminus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/cappuccino/Tminus.png -------------------------------------------------------------------------------- /images/themes/cappuccino/Tplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/cappuccino/Tplus.png -------------------------------------------------------------------------------- /images/themes/cappuccino/inputbckg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/cappuccino/inputbckg.png -------------------------------------------------------------------------------- /images/themes/cappuccino/openListe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/cappuccino/openListe.png -------------------------------------------------------------------------------- /images/themes/cappuccino/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/cappuccino/title.png -------------------------------------------------------------------------------- /images/themes/default/AddArguments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/AddArguments.png -------------------------------------------------------------------------------- /images/themes/default/Admin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Admin.png -------------------------------------------------------------------------------- /images/themes/default/Aggregate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Aggregate.png -------------------------------------------------------------------------------- /images/themes/default/Aggregates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Aggregates.png -------------------------------------------------------------------------------- /images/themes/default/AllUsers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/AllUsers.png -------------------------------------------------------------------------------- /images/themes/default/AvailableReplicationSet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/AvailableReplicationSet.png -------------------------------------------------------------------------------- /images/themes/default/AvailableSubscription.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/AvailableSubscription.png -------------------------------------------------------------------------------- /images/themes/default/Backup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Backup.png -------------------------------------------------------------------------------- /images/themes/default/Cast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Cast.png -------------------------------------------------------------------------------- /images/themes/default/Casts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Casts.png -------------------------------------------------------------------------------- /images/themes/default/CheckConstraint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/CheckConstraint.png -------------------------------------------------------------------------------- /images/themes/default/Cluster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Cluster.png -------------------------------------------------------------------------------- /images/themes/default/Column.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Column.png -------------------------------------------------------------------------------- /images/themes/default/Columns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Columns.png -------------------------------------------------------------------------------- /images/themes/default/Constraints.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Constraints.png -------------------------------------------------------------------------------- /images/themes/default/Conversion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Conversion.png -------------------------------------------------------------------------------- /images/themes/default/Conversions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Conversions.png -------------------------------------------------------------------------------- /images/themes/default/Copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Copy.png -------------------------------------------------------------------------------- /images/themes/default/CorruptedDatabase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/CorruptedDatabase.png -------------------------------------------------------------------------------- /images/themes/default/Cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Cut.png -------------------------------------------------------------------------------- /images/themes/default/Database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Database.png -------------------------------------------------------------------------------- /images/themes/default/Databases.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Databases.png -------------------------------------------------------------------------------- /images/themes/default/Definition.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Definition.png -------------------------------------------------------------------------------- /images/themes/default/Delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Delete.png -------------------------------------------------------------------------------- /images/themes/default/DisabledJob.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/DisabledJob.png -------------------------------------------------------------------------------- /images/themes/default/DisconnectedDatabase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/DisconnectedDatabase.png -------------------------------------------------------------------------------- /images/themes/default/DisconnectedServer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/DisconnectedServer.png -------------------------------------------------------------------------------- /images/themes/default/Domain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Domain.png -------------------------------------------------------------------------------- /images/themes/default/Domains.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Domains.png -------------------------------------------------------------------------------- /images/themes/default/EnableArgument.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/EnableArgument.png -------------------------------------------------------------------------------- /images/themes/default/Erase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Erase.png -------------------------------------------------------------------------------- /images/themes/default/Execute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Execute.png -------------------------------------------------------------------------------- /images/themes/default/ExecuteSave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/ExecuteSave.png -------------------------------------------------------------------------------- /images/themes/default/Explain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Explain.png -------------------------------------------------------------------------------- /images/themes/default/Export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Export.png -------------------------------------------------------------------------------- /images/themes/default/Favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Favicon.ico -------------------------------------------------------------------------------- /images/themes/default/Filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Filter.png -------------------------------------------------------------------------------- /images/themes/default/ForeignKey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/ForeignKey.png -------------------------------------------------------------------------------- /images/themes/default/Fts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Fts.png -------------------------------------------------------------------------------- /images/themes/default/FtsCfg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/FtsCfg.png -------------------------------------------------------------------------------- /images/themes/default/FtsDict.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/FtsDict.png -------------------------------------------------------------------------------- /images/themes/default/FtsParser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/FtsParser.png -------------------------------------------------------------------------------- /images/themes/default/Function.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Function.png -------------------------------------------------------------------------------- /images/themes/default/Functions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Functions.png -------------------------------------------------------------------------------- /images/themes/default/GurusHint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/GurusHint.png -------------------------------------------------------------------------------- /images/themes/default/Help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Help.png -------------------------------------------------------------------------------- /images/themes/default/Histories.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Histories.png -------------------------------------------------------------------------------- /images/themes/default/History.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/History.png -------------------------------------------------------------------------------- /images/themes/default/I.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/I.png -------------------------------------------------------------------------------- /images/themes/default/Import.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Import.png -------------------------------------------------------------------------------- /images/themes/default/Index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Index.png -------------------------------------------------------------------------------- /images/themes/default/Indexes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Indexes.png -------------------------------------------------------------------------------- /images/themes/default/Introduction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Introduction.png -------------------------------------------------------------------------------- /images/themes/default/Job.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Job.png -------------------------------------------------------------------------------- /images/themes/default/Jobs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Jobs.png -------------------------------------------------------------------------------- /images/themes/default/Key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Key.png -------------------------------------------------------------------------------- /images/themes/default/L.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/L.png -------------------------------------------------------------------------------- /images/themes/default/Language.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Language.png -------------------------------------------------------------------------------- /images/themes/default/Languages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Languages.png -------------------------------------------------------------------------------- /images/themes/default/Listen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Listen.png -------------------------------------------------------------------------------- /images/themes/default/Listens.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Listens.png -------------------------------------------------------------------------------- /images/themes/default/Lminus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Lminus.png -------------------------------------------------------------------------------- /images/themes/default/Loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Loading.gif -------------------------------------------------------------------------------- /images/themes/default/LowerArgument.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/LowerArgument.png -------------------------------------------------------------------------------- /images/themes/default/Lplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Lplus.png -------------------------------------------------------------------------------- /images/themes/default/Node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Node.png -------------------------------------------------------------------------------- /images/themes/default/Nodes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Nodes.png -------------------------------------------------------------------------------- /images/themes/default/ObjectNotFound.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/ObjectNotFound.png -------------------------------------------------------------------------------- /images/themes/default/OfferedReplicationSet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/OfferedReplicationSet.png -------------------------------------------------------------------------------- /images/themes/default/OfferedSubscription.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/OfferedSubscription.png -------------------------------------------------------------------------------- /images/themes/default/Open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Open.png -------------------------------------------------------------------------------- /images/themes/default/Operator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Operator.png -------------------------------------------------------------------------------- /images/themes/default/OperatorClass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/OperatorClass.png -------------------------------------------------------------------------------- /images/themes/default/OperatorClasses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/OperatorClasses.png -------------------------------------------------------------------------------- /images/themes/default/Operators.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Operators.png -------------------------------------------------------------------------------- /images/themes/default/Paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Paste.png -------------------------------------------------------------------------------- /images/themes/default/Path.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Path.png -------------------------------------------------------------------------------- /images/themes/default/Paths.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Paths.png -------------------------------------------------------------------------------- /images/themes/default/PrimaryKey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/PrimaryKey.png -------------------------------------------------------------------------------- /images/themes/default/Privileges.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Privileges.png -------------------------------------------------------------------------------- /images/themes/default/Processes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Processes.png -------------------------------------------------------------------------------- /images/themes/default/Property.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Property.png -------------------------------------------------------------------------------- /images/themes/default/RaiseArgument.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/RaiseArgument.png -------------------------------------------------------------------------------- /images/themes/default/Record.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Record.png -------------------------------------------------------------------------------- /images/themes/default/Records.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Records.png -------------------------------------------------------------------------------- /images/themes/default/Redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Redo.png -------------------------------------------------------------------------------- /images/themes/default/Refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Refresh.png -------------------------------------------------------------------------------- /images/themes/default/RemoveArgument.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/RemoveArgument.png -------------------------------------------------------------------------------- /images/themes/default/Replication.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Replication.png -------------------------------------------------------------------------------- /images/themes/default/ReplicationSets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/ReplicationSets.png -------------------------------------------------------------------------------- /images/themes/default/Restore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Restore.png -------------------------------------------------------------------------------- /images/themes/default/Roles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Roles.png -------------------------------------------------------------------------------- /images/themes/default/Rule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Rule.png -------------------------------------------------------------------------------- /images/themes/default/Rules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Rules.png -------------------------------------------------------------------------------- /images/themes/default/Save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Save.png -------------------------------------------------------------------------------- /images/themes/default/Schedule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Schedule.png -------------------------------------------------------------------------------- /images/themes/default/Schedules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Schedules.png -------------------------------------------------------------------------------- /images/themes/default/Schema.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Schema.png -------------------------------------------------------------------------------- /images/themes/default/Schemas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Schemas.png -------------------------------------------------------------------------------- /images/themes/default/Search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Search.png -------------------------------------------------------------------------------- /images/themes/default/Sequence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Sequence.png -------------------------------------------------------------------------------- /images/themes/default/Sequences.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Sequences.png -------------------------------------------------------------------------------- /images/themes/default/Server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Server.png -------------------------------------------------------------------------------- /images/themes/default/Servers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Servers.png -------------------------------------------------------------------------------- /images/themes/default/SqlEditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/SqlEditor.png -------------------------------------------------------------------------------- /images/themes/default/Statistics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Statistics.png -------------------------------------------------------------------------------- /images/themes/default/Step.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Step.png -------------------------------------------------------------------------------- /images/themes/default/Steps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Steps.png -------------------------------------------------------------------------------- /images/themes/default/Stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Stop.png -------------------------------------------------------------------------------- /images/themes/default/Subscriptions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Subscriptions.png -------------------------------------------------------------------------------- /images/themes/default/T.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/T.png -------------------------------------------------------------------------------- /images/themes/default/Table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Table.png -------------------------------------------------------------------------------- /images/themes/default/Tables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Tables.png -------------------------------------------------------------------------------- /images/themes/default/Tablespace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Tablespace.png -------------------------------------------------------------------------------- /images/themes/default/Tablespaces.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Tablespaces.png -------------------------------------------------------------------------------- /images/themes/default/Tminus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Tminus.png -------------------------------------------------------------------------------- /images/themes/default/Tplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Tplus.png -------------------------------------------------------------------------------- /images/themes/default/Trigger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Trigger.png -------------------------------------------------------------------------------- /images/themes/default/TriggerFunction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/TriggerFunction.png -------------------------------------------------------------------------------- /images/themes/default/TriggerFunctions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/TriggerFunctions.png -------------------------------------------------------------------------------- /images/themes/default/Triggers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Triggers.png -------------------------------------------------------------------------------- /images/themes/default/Type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Type.png -------------------------------------------------------------------------------- /images/themes/default/Types.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Types.png -------------------------------------------------------------------------------- /images/themes/default/Undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Undo.png -------------------------------------------------------------------------------- /images/themes/default/UniqueConstraint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/UniqueConstraint.png -------------------------------------------------------------------------------- /images/themes/default/User.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/User.png -------------------------------------------------------------------------------- /images/themes/default/UserGroup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/UserGroup.png -------------------------------------------------------------------------------- /images/themes/default/UserGroups.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/UserGroups.png -------------------------------------------------------------------------------- /images/themes/default/Users.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Users.png -------------------------------------------------------------------------------- /images/themes/default/Variables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Variables.png -------------------------------------------------------------------------------- /images/themes/default/View.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/View.png -------------------------------------------------------------------------------- /images/themes/default/Views.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/Views.png -------------------------------------------------------------------------------- /images/themes/default/blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/blank.png -------------------------------------------------------------------------------- /images/themes/default/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/images/themes/default/title.png -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | printHeader('', null, true); 13 | 14 | $rtl = (strcasecmp($lang['applangdir'], 'rtl') == 0); 15 | 16 | $cols = $rtl ? '*,'.$conf['left_width'] : $conf['left_width'].',*'; 17 | 18 | if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['_originalPath'])) { 19 | $newPath = basename($_POST['_originalPath']); 20 | $mainframe = ''; 21 | } else { 22 | $mainframe = ''; 23 | } 24 | ?> 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | <body> 35 | <?php echo $lang['strnoframes'] ?><br /> 36 | <a href="intro.php"><?php echo $lang['strnoframeslink'] ?></a> 37 | </body> 38 | 39 | 40 | 41 | 42 | printFooter(false); 44 | ?> 45 | -------------------------------------------------------------------------------- /indexes.js: -------------------------------------------------------------------------------- 1 | // Globals 2 | // 3 | 4 | 5 | /* 6 | * Multiple Selection lists in HTML Document 7 | */ 8 | var tableColumnList; 9 | var indexColumnList; 10 | 11 | /* 12 | * Two Array vars 13 | */ 14 | 15 | var indexColumns, tableColumns; 16 | 17 | 18 | function buttonPressed(object) { 19 | 20 | if (object.name == "add") { 21 | from = tableColumnList; 22 | to = indexColumnList; 23 | } 24 | else { 25 | to = tableColumnList; 26 | from = indexColumnList; 27 | } 28 | 29 | var selectedOptions = getSelectedOptions(from); 30 | 31 | for (i = 0; i < selectedOptions.length; i++) { 32 | option = new Option(selectedOptions[i].text); 33 | addToArray(to, option); 34 | removeFromArray(from, selectedOptions[i].index); 35 | } 36 | } 37 | 38 | function doSelectAll() { 39 | for(var x = 0; x < indexColumnList.options.length; x++){ 40 | indexColumnList.options[x].selected = true; 41 | } 42 | } 43 | 44 | function init() { 45 | tableColumnList = document.formIndex.TableColumnList; 46 | indexColumnList = document.getElementById("IndexColumnList"); 47 | indexColumns = indexColumnList.options; 48 | tableColumns = tableColumnList.options; 49 | } 50 | 51 | 52 | function getSelectedOptions(obj) { 53 | var selectedOptions = new Array(); 54 | 55 | for (i = 0; i < obj.options.length; i++) { 56 | if (obj.options[i].selected) { 57 | selectedOptions.push(obj.options[i]); 58 | } 59 | } 60 | 61 | return selectedOptions; 62 | } 63 | 64 | function removeFromArray(obj, index) { 65 | obj.remove(index); 66 | } 67 | 68 | function addToArray(obj, item) { 69 | obj.options[obj.options.length] = item; 70 | } -------------------------------------------------------------------------------- /intro.php: -------------------------------------------------------------------------------- 1 | printHeader(); 15 | $misc->printBody(); 16 | 17 | $misc->printTrail('root'); 18 | $misc->printTabs('root','intro'); 19 | ?> 20 | 21 |

22 | 23 |
24 | 25 | 26 | 27 | 39 | 40 | 41 | 42 | 53 | 54 |
28 | 38 |
43 | 52 |
55 | 56 |
57 | 58 |

59 | 60 | 67 | 68 | printFooter(); 71 | ?> 72 | -------------------------------------------------------------------------------- /js/database.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | 3 | var timeid = query = null; 4 | var controlLink = $('#control'); 5 | var errmsg = $('

'+Database.errmsg+'

') 6 | .insertBefore(controlLink) 7 | .hide(); 8 | var loading = $('[loading]') 9 | .insertAfter(controlLink) 10 | .hide(); 11 | 12 | function refreshTable() { 13 | if (Database.ajax_time_refresh > 0) { 14 | loading.show(); 15 | query = $.ajax({ 16 | type: 'GET', 17 | dataType: 'html', 18 | data: {server: Database.server, database: Database.dbname, action: Database.action}, 19 | url: 'database.php', 20 | cache: false, 21 | contentType: 'application/x-www-form-urlencoded', 22 | success: function(html) { 23 | $('#data_block').html(html); 24 | timeid = window.setTimeout(refreshTable, Database.ajax_time_refresh) 25 | }, 26 | error: function() { 27 | controlLink.click(); 28 | errmsg.show(); 29 | }, 30 | complete: function () { 31 | loading.hide(); 32 | } 33 | }); 34 | } 35 | } 36 | 37 | controlLink.on('click', function() { 38 | if (!timeid) { 39 | $(errmsg).hide(); 40 | timeid = window.setTimeout(refreshTable, Database.ajax_time_refresh); 41 | controlLink.html(' ' 42 | + Database.str_stop.text + '   ' 43 | ); 44 | } else { 45 | $(errmsg).hide(); 46 | $(loading).hide(); 47 | window.clearInterval(timeid); 48 | timeid = null; 49 | if (query) query.abort(); 50 | controlLink.html(' ' 51 | + Database.str_start.text 52 | ); 53 | } 54 | return false; /* disable event propagation */ 55 | }); 56 | 57 | /* preload images */ 58 | $('#control img').hide() 59 | .attr('src', Database.str_start.icon) 60 | .attr('src', Database.str_stop.icon) 61 | .show(); 62 | 63 | /* start refreshing */ 64 | controlLink.trigger('click'); 65 | }); 66 | -------------------------------------------------------------------------------- /lang/README: -------------------------------------------------------------------------------- 1 | Translators 2 | ----------- 3 | 4 | Please read the TRANSLATORS file in the top directory. 5 | 6 | To check your translation: 7 | 8 | cd lang 9 | php langcheck (eg. 'french'); 10 | 11 | To synchronize your translation with english.php: 12 | 13 | cd lang 14 | ./synch (eg. 'polish'); 15 | -------------------------------------------------------------------------------- /lang/langcheck: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/php -q 2 | \n\n"; 19 | echo " is the filename without the .php extension\n"; 20 | exit; 21 | } 22 | elseif (!file_exists("{$_SERVER['argv'][1]}.php")) { 23 | echo "Error: File not found.\n"; 24 | exit; 25 | } 26 | 27 | // Include english source file 28 | include('./english.php'); 29 | 30 | $master = $lang; 31 | $master_keys = array_keys($lang); 32 | unset($lang); 33 | 34 | // Include target language file 35 | include("./{$_SERVER['argv'][1]}.php"); 36 | $slave = $lang; 37 | $slave_keys = array_keys($lang); 38 | 39 | echo "Source file: english.php\n"; 40 | echo "Target file: {$_SERVER['argv'][1]}.php\n\n"; 41 | 42 | // Find missing values 43 | $diff = array_diff($master_keys, $slave_keys); 44 | echo "Missing Strings\n"; 45 | echo "---------------\n\n"; 46 | if (sizeof($diff) > 0) { 47 | foreach ($diff as $v) { 48 | echo "\$lang['{$v}'] = '", str_replace("'", "\\'", $master[$v]), "';\n"; 49 | } 50 | echo "\n"; 51 | echo "Translations: ", sizeof($master_keys) - sizeof($diff), "/", sizeof($master_keys), "\n\n"; 52 | 53 | } 54 | else echo "None\n\n"; 55 | 56 | // Find extra values (to be deleted) 57 | $diff = array_diff($slave_keys, $master_keys); 58 | echo "Deleted Strings\n"; 59 | echo "---------------\n\n"; 60 | if (sizeof($diff) > 0) { 61 | foreach ($diff as $v) { 62 | echo "\$lang['{$v}'] = '", str_replace("'", "\\'", $slave[$v]), "';\n"; 63 | } 64 | } 65 | else echo "None\n"; 66 | 67 | ?> 68 | -------------------------------------------------------------------------------- /lang/synch: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # This script will synchronize language file with the master 3 | # english translation using diff(1) utility. 4 | # It doesn't translate strings, only inserts english versions 5 | # to proper positions and deletes removed. And it doesn't 6 | # synchronize commented lines. 7 | # You need to have GNU ed and diff installed in $PATH. 8 | # 9 | # Usage: synch 10 | # 11 | # is the filename without the .php extension 12 | # 13 | # BTW, diff should create better ed scripts than previous 14 | # version of synch (that one with awk code). If it will not, 15 | # be frightened about patching Linux kernel sources ;-) 16 | 17 | if [ -z $1 ] ; then 18 | echo "You must tell me which language I should synchronize." 19 | echo -e "for example: \n\t$0 polish" 20 | exit 21 | fi 22 | 23 | if [ ! -f $1.php ] ; then 24 | echo "Sorry, I cannot find $1.php" 25 | exit 26 | fi 27 | 28 | echo "Making backup of $1.php" 29 | cp $1.php $1.php.old 30 | 31 | # Find variables names ( "$lang['strfoo']" part ) 32 | cat english.php | awk -F"=" '{print $1}' > english.tmp 33 | cat $1.php | awk -F"=" '{print $1}' > $1.tmp 34 | 35 | # diff variable names and create ed script 36 | diff --ignore-case --ignore-all-space --ignore-blank-lines \ 37 | --ignore-matching-lines="*" \ 38 | --ignore-matching-lines="[^:]//" \ 39 | --ed \ 40 | $1.tmp english.tmp > diff.ed 41 | 42 | # No more need for .tmp files 43 | rm *.tmp 44 | 45 | # Add english values and ed destination file 46 | cat diff.ed | awk ' 47 | function grep_n(what, where, n, ln) { 48 | # Returns line with searched text 49 | 50 | while ( (getline line < where ) > 0 ) { 51 | if (index(line, what)>0) { 52 | gsub("^\t","",what); 53 | split(line,a,"="); 54 | print what" = "a[2]; 55 | } 56 | } 57 | close(where); 58 | } 59 | 60 | BEGIN { FS="=" } 61 | 62 | /\$lang/{ grep_n($1, "english.php") ; 63 | next; } 64 | 65 | { print } 66 | END { print "w" }' \ 67 | | ed $1.php 68 | 69 | # Clean temporary files 70 | rm diff.ed 71 | 72 | -------------------------------------------------------------------------------- /languages.php: -------------------------------------------------------------------------------- 1 | printTrail('database'); 23 | $misc->printTabs('database','languages'); 24 | $misc->printMsg($msg); 25 | 26 | $languages = $data->getLanguages(); 27 | 28 | $columns = array( 29 | 'language' => array( 30 | 'title' => $lang['strname'], 31 | 'field' => field('lanname'), 32 | ), 33 | 'trusted' => array( 34 | 'title' => $lang['strtrusted'], 35 | 'field' => field('lanpltrusted'), 36 | 'type' => 'yesno', 37 | ), 38 | 'function' => array( 39 | 'title' => $lang['strfunction'], 40 | 'field' => field('lanplcallf'), 41 | ), 42 | ); 43 | 44 | $actions = array(); 45 | 46 | $misc->printTable($languages, $columns, $actions, 'languages-languages', $lang['strnolanguages']); 47 | } 48 | 49 | /** 50 | * Generate XML for the browser tree. 51 | */ 52 | function doTree() { 53 | global $misc, $data; 54 | 55 | $languages = $data->getLanguages(); 56 | 57 | $attrs = array( 58 | 'text' => field('lanname'), 59 | 'icon' => 'Language' 60 | ); 61 | 62 | $misc->printTree($languages, $attrs, 'languages'); 63 | exit; 64 | } 65 | 66 | if ($action == 'tree') doTree(); 67 | 68 | $misc->printHeader($lang['strlanguages']); 69 | $misc->printBody(); 70 | 71 | switch ($action) { 72 | default: 73 | doDefault(); 74 | break; 75 | } 76 | 77 | $misc->printFooter(); 78 | 79 | ?> 80 | -------------------------------------------------------------------------------- /libraries/adodb/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig file for ADOdb 2 | # https://editorconfig.org/ 3 | 4 | root = true 5 | 6 | # Default file settings 7 | [*] 8 | indent_style = tab 9 | indent_size = 4 10 | end_of_line = lf 11 | trim_trailing_whitespace = true 12 | insert_final_newline = true 13 | charset = utf-8 14 | 15 | # Python build scripts 16 | [*.py] 17 | indent_style = space 18 | 19 | # Markdown files 20 | [*.md] 21 | indent_style = space 22 | trim_trailing_whitespace = false 23 | -------------------------------------------------------------------------------- /libraries/adodb/SECURITY.md: -------------------------------------------------------------------------------- 1 | # ADOdb Security Policy 2 | 3 | ## Supported Versions 4 | 5 | The following releases of the library are currently being supported with 6 | security updates. Please refer to the [project's home page](https://adodb.org) 7 | for actual version numbers. 8 | 9 | - Stable 10 | - Legacy 11 | - Development (Git *master* branch) 12 | 13 | Older releases are no longer supported. 14 | 15 | 16 | ## Reporting a Vulnerability 17 | 18 | If you discover a vulnerability in ADOdb, please contact 19 | the [project's maintainer](https://github.com/dregad) 20 | 21 | - by e-mail (look for it in the Git history) 22 | - via private chat on [Gitter](https://gitter.im/dregad) 23 | 24 | Kindly provide the following information in your report: 25 | 26 | - Affected ADOdb version(s) or Git revision 27 | - A clear and detailed description of the issue, including if possible a code 28 | snippet to demonstrate or reproduce the vulnerability 29 | - A patch for the issue if you have one, preferably in *Git diff* format 30 | 31 | ### CVE handling 32 | 33 | To ensure a comprehensive and detailed declaration of the issue, we generally 34 | prefer requesting CVE IDs ourselves, which usually happens after our analysis 35 | confirms the vulnerability. 36 | 37 | In case you have already obtained a CVE ID, do not forget to reference it in 38 | your report. 39 | 40 | ### Credits 41 | 42 | Let us know if and how you wish to be credited for the finding. 43 | 44 | Your name, e-mail, company, etc. will be included as specified in the CVE 45 | report, as well as in the Git commit message patching the issue. 46 | -------------------------------------------------------------------------------- /libraries/adodb/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "adodb/adodb-php", 3 | "description" : "ADOdb is a PHP database abstraction layer library", 4 | "license" : [ "BSD-3-Clause", "LGPL-2.1-or-later" ], 5 | "authors" : [ 6 | { 7 | "name": "John Lim", 8 | "email" : "jlim@natsoft.com", 9 | "role": "Author" 10 | }, 11 | { 12 | "name": "Damien Regad", 13 | "role": "Current maintainer" 14 | }, 15 | { 16 | "name": "Mark Newnham", 17 | "role": "Developer" 18 | } 19 | ], 20 | 21 | "keywords" : [ "database", "abstraction", "layer", "library", "php" ], 22 | 23 | "homepage": "https://adodb.org/", 24 | "support" : { 25 | "issues" : "https://github.com/ADOdb/ADOdb/issues", 26 | "source" : "https://github.com/ADOdb/ADOdb" 27 | }, 28 | 29 | "require" : { 30 | "php" : "^7.0 || ^8.0" 31 | }, 32 | 33 | "require-dev" : { 34 | "phpunit/phpunit": "^8.5" 35 | }, 36 | 37 | "autoload" : { 38 | "files" : ["adodb.inc.php"] 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /libraries/adodb/datadict/datadict-ibase.inc.php: -------------------------------------------------------------------------------- 1 | connection->customMetaTypes[$meta])) 40 | return $this->connection->customMetaTypes[$meta]['actual']; 41 | 42 | switch($meta) { 43 | case 'C': return 'VARCHAR'; 44 | case 'XL': 45 | case 'X': return 'VARCHAR(4000)'; 46 | 47 | case 'C2': return 'VARCHAR'; // up to 32K 48 | case 'X2': return 'VARCHAR(4000)'; 49 | 50 | case 'B': return 'BLOB'; 51 | 52 | case 'D': return 'DATE'; 53 | case 'TS': 54 | case 'T': return 'TIMESTAMP'; 55 | 56 | case 'L': return 'SMALLINT'; 57 | case 'I': return 'INTEGER'; 58 | case 'I1': return 'SMALLINT'; 59 | case 'I2': return 'SMALLINT'; 60 | case 'I4': return 'INTEGER'; 61 | case 'I8': return 'INTEGER'; 62 | 63 | case 'F': return 'DOUBLE PRECISION'; 64 | case 'N': return 'DECIMAL'; 65 | default: 66 | return $meta; 67 | } 68 | } 69 | 70 | function AlterColumnSQL($tabname, $flds, $tableflds='', $tableoptions='') 71 | { 72 | if ($this->debug) ADOConnection::outp("AlterColumnSQL not supported"); 73 | return array(); 74 | } 75 | 76 | 77 | function DropColumnSQL($tabname, $flds, $tableflds='', $tableoptions='') 78 | { 79 | if ($this->debug) ADOConnection::outp("DropColumnSQL not supported"); 80 | return array(); 81 | } 82 | 83 | } 84 | -------------------------------------------------------------------------------- /libraries/adodb/docs/README.md: -------------------------------------------------------------------------------- 1 | # ADOdb Documentation 2 | 3 | ADOdb documentation is available in the following locations: 4 | 5 | - [Online](https://adodb.org/) 6 | - [Download](https://sourceforge.net/projects/adodb/files/Documentation/) for offline use 7 | 8 | ## Legacy documentation 9 | 10 | The old HTML files are available in 11 | [GitHub](https://github.com/ADOdb/ADOdb/tree/8b8133771ecbe9c95e57abbe5dc3757f0226bfcd/docs), 12 | or in the release zip/tarballs for version 5.20 and before on 13 | [Sourceforge](https://sourceforge.net/projects/adodb/files/adodb-php5-only/). 14 | 15 | ## Changelog 16 | 17 | The full historical [Changelog](changelog.md) is available on GitHub. 18 | -------------------------------------------------------------------------------- /libraries/adodb/docs/adodb.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/libraries/adodb/docs/adodb.gif -------------------------------------------------------------------------------- /libraries/adodb/docs/adodb2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/libraries/adodb/docs/adodb2.gif -------------------------------------------------------------------------------- /libraries/adodb/drivers/adodb-access.inc.php: -------------------------------------------------------------------------------- 1 | _connectionID); 63 | $rs = new ADORecordSet_odbc($qid); 64 | $ADODB_FETCH_MODE = $savem; 65 | if (!$rs) return false; 66 | 67 | $arr = $rs->GetArray(); 68 | //print_pre($arr); 69 | $arr2 = array(); 70 | for ($i=0; $i < sizeof($arr); $i++) { 71 | if ($arr[$i][2] && $arr[$i][3] != 'SYSTEM TABLE') 72 | $arr2[] = $arr[$i][2]; 73 | } 74 | return $arr2; 75 | }*/ 76 | } 77 | 78 | 79 | class ADORecordSet_access extends ADORecordSet_odbc { 80 | 81 | var $databaseType = "access"; 82 | 83 | } // class 84 | 85 | } 86 | -------------------------------------------------------------------------------- /libraries/adodb/drivers/adodb-ado_access.inc.php: -------------------------------------------------------------------------------- 1 | _connectionID); 35 | if (!$stmt) return $sql; 36 | return array($sql,$stmt); 37 | } 38 | 39 | function _query($sql,$inputarr=false) 40 | { 41 | if (is_string($sql)) $sql = str_replace('||','+',$sql); 42 | return ADODB_mssql::_query($sql,$inputarr); 43 | } 44 | } 45 | 46 | class ADORecordset_mssqlpo extends ADORecordset_mssql { 47 | var $databaseType = "mssqlpo"; 48 | } 49 | -------------------------------------------------------------------------------- /libraries/adodb/drivers/adodb-oci805.inc.php: -------------------------------------------------------------------------------- 1 | 0) { 48 | if ($offset > 0) $nrows += $offset; 49 | $sql = "select * from ($sql) where rownum <= $nrows"; 50 | $nrows = -1; 51 | } 52 | */ 53 | 54 | return ADOConnection::SelectLimit($sql,$nrows,$offset,$inputarr,$secs2cache); 55 | } 56 | } 57 | 58 | class ADORecordset_oci805 extends ADORecordset_oci8 { 59 | var $databaseType = "oci805"; 60 | } 61 | -------------------------------------------------------------------------------- /libraries/adodb/drivers/adodb-odbc_mssql2012.inc.php: -------------------------------------------------------------------------------- 1 | 11 | * Also, all SQL query strings must be submitted as UTF-8 encoded text. 12 | * 13 | * This file is part of ADOdb, a Database Abstraction Layer library for PHP. 14 | * 15 | * @package ADOdb 16 | * @link https://adodb.org Project's web site and documentation 17 | * @link https://github.com/ADOdb/ADOdb Source code and issue tracker 18 | * 19 | * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause 20 | * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, 21 | * any later version. This means you can use it in proprietary products. 22 | * See the LICENSE.md file distributed with this source code for details. 23 | * @license BSD-3-Clause 24 | * @license LGPL-2.1-or-later 25 | * 26 | * @copyright 2000-2013 John Lim 27 | * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community 28 | * @author Robert Twitty 29 | */ 30 | 31 | // security - hide paths 32 | if (!defined('ADODB_DIR')) die(); 33 | 34 | if (!defined('_ADODB_ODBTP_LAYER')) { 35 | include_once(ADODB_DIR."/drivers/adodb-odbtp.inc.php"); 36 | } 37 | 38 | class ADODB_odbtp_unicode extends ADODB_odbtp { 39 | var $databaseType = 'odbtp'; 40 | var $_useUnicodeSQL = true; 41 | } 42 | -------------------------------------------------------------------------------- /libraries/adodb/drivers/adodb-pdo_mssql.inc.php: -------------------------------------------------------------------------------- 1 | hasTransactions = false; ## <<< BUG IN PDO mssql driver 33 | $parentDriver->_bindInputArray = false; 34 | $parentDriver->hasInsertID = true; 35 | } 36 | 37 | function ServerInfo() 38 | { 39 | return ADOConnection::ServerInfo(); 40 | } 41 | 42 | function SelectLimit($sql,$nrows=-1,$offset=-1,$inputarr=false,$secs2cache=0) 43 | { 44 | $ret = ADOConnection::SelectLimit($sql,$nrows,$offset,$inputarr,$secs2cache); 45 | return $ret; 46 | } 47 | 48 | function SetTransactionMode( $transaction_mode ) 49 | { 50 | $this->_transmode = $transaction_mode; 51 | if (empty($transaction_mode)) { 52 | $this->Execute('SET TRANSACTION ISOLATION LEVEL READ COMMITTED'); 53 | return; 54 | } 55 | if (!stristr($transaction_mode,'isolation')) $transaction_mode = 'ISOLATION LEVEL '.$transaction_mode; 56 | $this->Execute("SET TRANSACTION ".$transaction_mode); 57 | } 58 | 59 | function MetaTables($ttype=false,$showSchema=false,$mask=false) 60 | { 61 | return false; 62 | } 63 | 64 | function MetaColumns($table,$normalize=true) 65 | { 66 | return false; 67 | } 68 | 69 | } 70 | -------------------------------------------------------------------------------- /libraries/adodb/drivers/adodb-postgres.inc.php: -------------------------------------------------------------------------------- 1 | GetOne("SELECT lastval()") 52 | : $this->GetOne("SELECT currval(pg_get_serial_sequence('$table', '$column'))"); 53 | } 54 | } 55 | 56 | class ADORecordSet_postgres8 extends ADORecordSet_postgres7 57 | { 58 | var $databaseType = "postgres8"; 59 | } 60 | 61 | class ADORecordSet_assoc_postgres8 extends ADORecordSet_assoc_postgres7 62 | { 63 | var $databaseType = "postgres8"; 64 | } 65 | -------------------------------------------------------------------------------- /libraries/adodb/drivers/adodb-postgres9.inc.php: -------------------------------------------------------------------------------- 1 | 28 | */ 29 | 30 | if (!defined('ADODB_DIR')) die(); 31 | 32 | include_once(ADODB_DIR.'/drivers/adodb-sqlite.inc.php'); 33 | 34 | class ADODB_sqlitepo extends ADODB_sqlite { 35 | var $databaseType = 'sqlitepo'; 36 | } 37 | 38 | /*-------------------------------------------------------------------------------------- 39 | Class Name: Recordset 40 | --------------------------------------------------------------------------------------*/ 41 | 42 | class ADORecordset_sqlitepo extends ADORecordset_sqlite { 43 | 44 | var $databaseType = 'sqlitepo'; 45 | 46 | // Modified to strip table names from returned fields 47 | function _fetch($ignore_fields=false) 48 | { 49 | $this->fields = array(); 50 | $fields = @sqlite_fetch_array($this->_queryID,$this->fetchMode); 51 | if(is_array($fields)) 52 | foreach($fields as $n => $v) 53 | { 54 | if(($p = strpos($n, ".")) !== false) 55 | $n = substr($n, $p+1); 56 | $this->fields[$n] = $v; 57 | } 58 | 59 | return !empty($this->fields); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /libraries/adodb/lang/adodb-ar.inc.php: -------------------------------------------------------------------------------- 1 | 21 | */ 22 | 23 | $ADODB_LANG_ARRAY = array ( 24 | 'LANG' => 'ar', 25 | DB_ERROR => 'خطأ غير محدد', 26 | DB_ERROR_ALREADY_EXISTS => 'موجود مسبقا', 27 | DB_ERROR_CANNOT_CREATE => 'لا يمكن إنشاء', 28 | DB_ERROR_CANNOT_DELETE => 'لا يمكن حذف', 29 | DB_ERROR_CANNOT_DROP => 'لا يمكن حذف', 30 | DB_ERROR_CONSTRAINT => 'عملية إدخال ممنوعة', 31 | DB_ERROR_DIVZERO => 'عملية التقسيم على صفر', 32 | DB_ERROR_INVALID => 'غير صحيح', 33 | DB_ERROR_INVALID_DATE => 'صيغة وقت أو تاريخ غير صحيحة', 34 | DB_ERROR_INVALID_NUMBER => 'صيغة رقم غير صحيحة', 35 | DB_ERROR_MISMATCH => 'غير متطابق', 36 | DB_ERROR_NODBSELECTED => 'لم يتم إختيار قاعدة البيانات بعد', 37 | DB_ERROR_NOSUCHFIELD => 'ليس هنالك حقل بهذا الاسم', 38 | DB_ERROR_NOSUCHTABLE => 'ليس هنالك جدول بهذا الاسم', 39 | DB_ERROR_NOT_CAPABLE => 'قاعدة البيانات المرتبط بها غير قادرة', 40 | DB_ERROR_NOT_FOUND => 'لم يتم إيجاده', 41 | DB_ERROR_NOT_LOCKED => 'غير مقفول', 42 | DB_ERROR_SYNTAX => 'خطأ في الصيغة', 43 | DB_ERROR_UNSUPPORTED => 'غير مدعوم', 44 | DB_ERROR_VALUE_COUNT_ON_ROW => 'عدد القيم في السجل', 45 | DB_ERROR_INVALID_DSN => 'DSN غير صحيح', 46 | DB_ERROR_CONNECT_FAILED => 'فشل عملية الإتصال', 47 | 0 => 'ليس هنالك أخطاء', // DB_OK 48 | DB_ERROR_NEED_MORE_DATA => 'البيانات المزودة غير كافية', 49 | DB_ERROR_EXTENSION_NOT_FOUND=> 'لم يتم إيجاد الإضافة المتعلقة', 50 | DB_ERROR_NOSUCHDB => 'ليس هنالك قاعدة بيانات بهذا الاسم', 51 | DB_ERROR_ACCESS_VIOLATION => 'سماحيات غير كافية' 52 | ); 53 | -------------------------------------------------------------------------------- /libraries/adodb/lang/adodb-cn.inc.php: -------------------------------------------------------------------------------- 1 | 21 | */ 22 | 23 | $ADODB_LANG_ARRAY = array ( 24 | 'LANG' => 'cn', 25 | DB_ERROR => '未知错误', 26 | DB_ERROR_ALREADY_EXISTS => '已经存在', 27 | DB_ERROR_CANNOT_CREATE => '不能创建', 28 | DB_ERROR_CANNOT_DELETE => '不能删除', 29 | DB_ERROR_CANNOT_DROP => '不能丢弃', 30 | DB_ERROR_CONSTRAINT => '约束限制', 31 | DB_ERROR_DIVZERO => '被0除', 32 | DB_ERROR_INVALID => '无效', 33 | DB_ERROR_INVALID_DATE => '无效的日期或者时间', 34 | DB_ERROR_INVALID_NUMBER => '无效的数字', 35 | DB_ERROR_MISMATCH => '不匹配', 36 | DB_ERROR_NODBSELECTED => '没有数据库被选择', 37 | DB_ERROR_NOSUCHFIELD => '没有相应的字段', 38 | DB_ERROR_NOSUCHTABLE => '没有相应的表', 39 | DB_ERROR_NOT_CAPABLE => '数据库后台不兼容', 40 | DB_ERROR_NOT_FOUND => '没有发现', 41 | DB_ERROR_NOT_LOCKED => '没有被锁定', 42 | DB_ERROR_SYNTAX => '语法错误', 43 | DB_ERROR_UNSUPPORTED => '不支持', 44 | DB_ERROR_VALUE_COUNT_ON_ROW => '在行上累计值', 45 | DB_ERROR_INVALID_DSN => '无效的数据源 (DSN)', 46 | DB_ERROR_CONNECT_FAILED => '连接失败', 47 | 0 => '没有错误', // DB_OK 48 | DB_ERROR_NEED_MORE_DATA => '提供的数据不能符合要求', 49 | DB_ERROR_EXTENSION_NOT_FOUND=> '扩展没有被发现', 50 | DB_ERROR_NOSUCHDB => '没有相应的数据库', 51 | DB_ERROR_ACCESS_VIOLATION => '没有合适的权限' 52 | ); 53 | -------------------------------------------------------------------------------- /libraries/adodb/lang/adodb-de.inc.php: -------------------------------------------------------------------------------- 1 | 21 | */ 22 | 23 | $ADODB_LANG_ARRAY = array ( 24 | 'LANG' => 'de', 25 | DB_ERROR => 'unbekannter Fehler', 26 | DB_ERROR_ALREADY_EXISTS => 'existiert bereits', 27 | DB_ERROR_CANNOT_CREATE => 'kann nicht erstellen', 28 | DB_ERROR_CANNOT_DELETE => 'kann nicht löschen', 29 | DB_ERROR_CANNOT_DROP => 'Tabelle oder Index konnte nicht gelöscht werden', 30 | DB_ERROR_CONSTRAINT => 'Randbedingung verletzt', 31 | DB_ERROR_DIVZERO => 'Division durch Null', 32 | DB_ERROR_INVALID => 'ungültig', 33 | DB_ERROR_INVALID_DATE => 'ungültiges Datum oder Zeit', 34 | DB_ERROR_INVALID_NUMBER => 'ungültige Zahl', 35 | DB_ERROR_MISMATCH => 'Unverträglichkeit', 36 | DB_ERROR_NODBSELECTED => 'Keine Datenbank ausgewählt', 37 | DB_ERROR_NOSUCHFIELD => 'Feld nicht vorhanden', 38 | DB_ERROR_NOSUCHTABLE => 'Tabelle nicht vorhanden', 39 | DB_ERROR_NOT_CAPABLE => 'Funktion nicht installiert', 40 | DB_ERROR_NOT_FOUND => 'nicht gefunden', 41 | DB_ERROR_NOT_LOCKED => 'nicht gesperrt', 42 | DB_ERROR_SYNTAX => 'Syntaxfehler', 43 | DB_ERROR_UNSUPPORTED => 'nicht unterstützt', 44 | DB_ERROR_VALUE_COUNT_ON_ROW => 'Anzahl der zurückgelieferten Felder entspricht nicht der Anzahl der Felder in der Abfrage', 45 | DB_ERROR_INVALID_DSN => 'ungültiger DSN', 46 | DB_ERROR_CONNECT_FAILED => 'Verbindung konnte nicht hergestellt werden', 47 | 0 => 'kein Fehler', // DB_OK 48 | DB_ERROR_NEED_MORE_DATA => 'Nicht genügend Daten geliefert', 49 | DB_ERROR_EXTENSION_NOT_FOUND=> 'Erweiterung nicht gefunden', 50 | DB_ERROR_NOSUCHDB => 'keine Datenbank', 51 | DB_ERROR_ACCESS_VIOLATION => 'ungenügende Rechte' 52 | ); 53 | -------------------------------------------------------------------------------- /libraries/adodb/lang/adodb-fr.inc.php: -------------------------------------------------------------------------------- 1 | 'fr', 24 | DB_ERROR => 'erreur inconnue', 25 | DB_ERROR_ALREADY_EXISTS => 'existe déjà', 26 | DB_ERROR_CANNOT_CREATE => 'création impossible', 27 | DB_ERROR_CANNOT_DELETE => 'effacement impossible', 28 | DB_ERROR_CANNOT_DROP => 'suppression impossible', 29 | DB_ERROR_CONSTRAINT => 'violation de contrainte', 30 | DB_ERROR_DIVZERO => 'division par zéro', 31 | DB_ERROR_INVALID => 'invalide', 32 | DB_ERROR_INVALID_DATE => 'date ou heure invalide', 33 | DB_ERROR_INVALID_NUMBER => 'nombre invalide', 34 | DB_ERROR_MISMATCH => 'erreur de concordance', 35 | DB_ERROR_NODBSELECTED => 'pas de base de données sélectionnée', 36 | DB_ERROR_NOSUCHFIELD => 'nom de colonne invalide', 37 | DB_ERROR_NOSUCHTABLE => 'table ou vue inexistante', 38 | DB_ERROR_NOT_CAPABLE => 'fonction optionnelle non installée', 39 | DB_ERROR_NOT_FOUND => 'pas trouvé', 40 | DB_ERROR_NOT_LOCKED => 'non verrouillé', 41 | DB_ERROR_SYNTAX => 'erreur de syntaxe', 42 | DB_ERROR_UNSUPPORTED => 'non supporté', 43 | DB_ERROR_VALUE_COUNT_ON_ROW => 'valeur insérée trop grande pour colonne', 44 | DB_ERROR_INVALID_DSN => 'DSN invalide', 45 | DB_ERROR_CONNECT_FAILED => 'échec à la connexion', 46 | 0 => "pas d'erreur", // DB_OK 47 | DB_ERROR_NEED_MORE_DATA => 'données fournies insuffisantes', 48 | DB_ERROR_EXTENSION_NOT_FOUND=> 'extension non trouvée', 49 | DB_ERROR_NOSUCHDB => 'base de données inconnue', 50 | DB_ERROR_ACCESS_VIOLATION => 'droits insuffisants' 51 | ); 52 | -------------------------------------------------------------------------------- /libraries/adodb/lang/adodb-oc.inc.php: -------------------------------------------------------------------------------- 1 | 'oc', 24 | DB_ERROR => 'error desconeguda', 25 | DB_ERROR_ALREADY_EXISTS => 'existís ja', 26 | DB_ERROR_CANNOT_CREATE => 'creacion impossibla', 27 | DB_ERROR_CANNOT_DELETE => 'escafament impossible', 28 | DB_ERROR_CANNOT_DROP => 'supression impossibla', 29 | DB_ERROR_CONSTRAINT => 'violacion de constrenta', 30 | DB_ERROR_DIVZERO => 'division per zèro', 31 | DB_ERROR_INVALID => 'invalid', 32 | DB_ERROR_INVALID_DATE => 'data o ora invalida', 33 | DB_ERROR_INVALID_NUMBER => 'nombre invalid', 34 | DB_ERROR_MISMATCH => 'error de concordància', 35 | DB_ERROR_NODBSELECTED => 'pas de basa de donadas de seleccionada', 36 | DB_ERROR_NOSUCHFIELD => 'nom de colomna invalid', 37 | DB_ERROR_NOSUCHTABLE => 'taula o vista inexistenta', 38 | DB_ERROR_NOT_CAPABLE => 'foncion opcionala pas installada', 39 | DB_ERROR_NOT_FOUND => 'pas trobat', 40 | DB_ERROR_NOT_LOCKED => 'pas verrolhat', 41 | DB_ERROR_SYNTAX => 'error de sintaxi', 42 | DB_ERROR_UNSUPPORTED => 'pas suportat', 43 | DB_ERROR_VALUE_COUNT_ON_ROW => 'valor inserida tròp granda per colomna', 44 | DB_ERROR_INVALID_DSN => 'DSN invalid', 45 | DB_ERROR_CONNECT_FAILED => 'fracàs a la connexion', 46 | 0 => "pas d'error", // DB_OK 47 | DB_ERROR_NEED_MORE_DATA => 'donadas provesidas insufisentas', 48 | DB_ERROR_EXTENSION_NOT_FOUND=> 'extension pas trobada', 49 | DB_ERROR_NOSUCHDB => 'basa de donadas desconeguda', 50 | DB_ERROR_ACCESS_VIOLATION => 'dreits insufisents' 51 | ); 52 | -------------------------------------------------------------------------------- /libraries/adodb/lang/adodb-th.inc.php: -------------------------------------------------------------------------------- 1 | 21 | */ 22 | 23 | $ADODB_LANG_ARRAY = array ( 24 | 'LANG' => 'th', 25 | DB_ERROR => 'error ไม่รู้สาเหตุ', 26 | DB_ERROR_ALREADY_EXISTS => 'มี�?ล้ว', 27 | DB_ERROR_CANNOT_CREATE => 'สร้างไม่ได้', 28 | DB_ERROR_CANNOT_DELETE => 'ลบไม่ได้', 29 | DB_ERROR_CANNOT_DROP => 'drop ไม่ได้', 30 | DB_ERROR_CONSTRAINT => 'constraint violation', 31 | DB_ERROR_DIVZERO => 'หา�?ด้วยสู�?', 32 | DB_ERROR_INVALID => 'ไม่ valid', 33 | DB_ERROR_INVALID_DATE => 'วันที่ เวลา ไม่ valid', 34 | DB_ERROR_INVALID_NUMBER => 'เลขไม่ valid', 35 | DB_ERROR_MISMATCH => 'mismatch', 36 | DB_ERROR_NODBSELECTED => 'ไม่ได้เลือ�?�?านข้อมูล', 37 | DB_ERROR_NOSUCHFIELD => 'ไม่มีฟีลด์นี้', 38 | DB_ERROR_NOSUCHTABLE => 'ไม่มีตารางนี้', 39 | DB_ERROR_NOT_CAPABLE => 'DB backend not capable', 40 | DB_ERROR_NOT_FOUND => 'ไม่พบ', 41 | DB_ERROR_NOT_LOCKED => 'ไม่ได้ล๊อ�?', 42 | DB_ERROR_SYNTAX => 'ผิด syntax', 43 | DB_ERROR_UNSUPPORTED => 'ไม่ support', 44 | DB_ERROR_VALUE_COUNT_ON_ROW => 'value count on row', 45 | DB_ERROR_INVALID_DSN => 'invalid DSN', 46 | DB_ERROR_CONNECT_FAILED => 'ไม่สามารถ connect', 47 | 0 => 'no error', 48 | DB_ERROR_NEED_MORE_DATA => 'ข้อมูลไม่เพียงพอ', 49 | DB_ERROR_EXTENSION_NOT_FOUND=> 'ไม่พบ extension', 50 | DB_ERROR_NOSUCHDB => 'ไม่มีข้อมูลนี้', 51 | DB_ERROR_ACCESS_VIOLATION => 'permissions ไม่พอ' 52 | ); 53 | -------------------------------------------------------------------------------- /libraries/adodb/pear/auth_adodb_example.php: -------------------------------------------------------------------------------- 1 | 28 |
29 | 30 | 31 | 32 |
33 | $dsn, 'table' => 'auth', 'cryptType' => 'none', 39 | 'usernamecol' => 'username', 'passwordcol' => 'password'); 40 | $a = new Auth("ADOdb", $params, "loginFunction"); 41 | $a->start(); 42 | 43 | if ($a->getAuth()) { 44 | echo "Success"; 45 | // * The output of your site goes here. 46 | } 47 | -------------------------------------------------------------------------------- /libraries/adodb/pear/readme.Auth.txt: -------------------------------------------------------------------------------- 1 | From: Rich Tango-Lowy (richtl#arscognita.com) 2 | Date: Sat, May 29, 2004 11:20 am 3 | 4 | OK, I hacked out an ADOdb container for PEAR-Auth. The error handling's 5 | a bit of a mess, but all the methods work. 6 | 7 | Copy ADOdb.php to your pear/Auth/Container/ directory. 8 | 9 | Use the ADOdb container exactly as you would the DB 10 | container, but specify 'ADOdb' instead of 'DB': 11 | 12 | $dsn = "mysql://myuser:mypass@localhost/authdb"; 13 | $a = new Auth("ADOdb", $dsn, "loginFunction"); 14 | 15 | 16 | ------------------- 17 | 18 | John Lim adds: 19 | 20 | See http://pear.php.net/manual/en/package.authentication.php 21 | -------------------------------------------------------------------------------- /libraries/adodb/perf/perf-sqlite3.inc.php: -------------------------------------------------------------------------------- 1 | conn = $conn; 24 | } 25 | 26 | function tables($orderby='1') 27 | { 28 | if (!$this->tablesSQL){ 29 | return false; 30 | } 31 | 32 | $rs = $this->conn->execute($this->tablesSQL); 33 | if (!$rs) { 34 | return false; 35 | } 36 | 37 | $html = rs2html($rs, false, false, false, false); 38 | return $html; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /libraries/adodb/phpdoc: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | docs/api 10 | docs/cache 11 | 12 | 13 | 14 | 15 | 16 | 17 | scripts 18 | tests 19 | vendor/**/* 20 | xsl 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /libraries/adodb/rsfilter.inc.php: -------------------------------------------------------------------------------- 1 | $v) { 38 | $arr[$k] = ucwords($v); 39 | } 40 | } 41 | $rs = RSFilter($rs,'do_ucwords'); 42 | */ 43 | function RSFilter($rs,$fn) 44 | { 45 | if ($rs->databaseType != 'array') { 46 | if (!$rs->connection) return false; 47 | 48 | $rs = $rs->connection->_rs2rs($rs); 49 | } 50 | $rows = $rs->RecordCount(); 51 | for ($i=0; $i < $rows; $i++) { 52 | if (is_array ($fn)) { 53 | $obj = $fn[0]; 54 | $method = $fn[1]; 55 | $obj->$method ($rs->_array[$i],$rs); 56 | } else { 57 | $fn($rs->_array[$i],$rs); 58 | } 59 | 60 | } 61 | if (!$rs->EOF) { 62 | $rs->_currentRow = 0; 63 | $rs->fields = $rs->_array[0]; 64 | } 65 | 66 | return $rs; 67 | } 68 | -------------------------------------------------------------------------------- /libraries/adodb/session/adodb-compress-gzip.php: -------------------------------------------------------------------------------- 1 | _level; 42 | } 43 | 44 | /** 45 | */ 46 | function setLevel($level) { 47 | assert($level >= 0); 48 | assert($level <= 9); 49 | $this->_level = (int) $level; 50 | } 51 | 52 | /** 53 | */ 54 | function getMinLength() { 55 | return $this->_min_length; 56 | } 57 | 58 | /** 59 | */ 60 | function setMinLength($min_length) { 61 | assert($min_length >= 0); 62 | $this->_min_length = (int) $min_length; 63 | } 64 | 65 | /** 66 | */ 67 | function __construct($level = null, $min_length = null) { 68 | if (!is_null($level)) { 69 | $this->setLevel($level); 70 | } 71 | 72 | if (!is_null($min_length)) { 73 | $this->setMinLength($min_length); 74 | } 75 | } 76 | 77 | /** 78 | */ 79 | function write($data, $key) { 80 | if (strlen($data) < $this->_min_length) { 81 | return $data; 82 | } 83 | 84 | if (!is_null($this->_level)) { 85 | return gzcompress($data, $this->_level); 86 | } else { 87 | return gzcompress($data); 88 | } 89 | } 90 | 91 | /** 92 | */ 93 | function read($data, $key) { 94 | return $data ? gzuncompress($data) : $data; 95 | } 96 | 97 | } 98 | 99 | return 1; 100 | -------------------------------------------------------------------------------- /libraries/adodb/session/adodb-cryptsession.php: -------------------------------------------------------------------------------- 1 | encrypt($data, $key); 35 | } 36 | 37 | /** 38 | */ 39 | function read($data, $key) { 40 | $md5crypt = new MD5Crypt(); 41 | return $md5crypt->decrypt($data, $key); 42 | } 43 | 44 | } 45 | 46 | return 1; 47 | -------------------------------------------------------------------------------- /libraries/adodb/session/adodb-encrypt-secret.php: -------------------------------------------------------------------------------- 1 | encrypt($data, $key); 31 | 32 | } 33 | 34 | 35 | function read($data, $key) 36 | { 37 | $sha1crypt = new SHA1Crypt(); 38 | return $sha1crypt->decrypt($data, $key); 39 | 40 | } 41 | } 42 | 43 | 44 | 45 | return 1; 46 | -------------------------------------------------------------------------------- /libraries/adodb/session/adodb-session-clob.php: -------------------------------------------------------------------------------- 1 | 23 | */ 24 | 25 | if (!defined('ADODB_SESSION')) { 26 | require_once dirname(__FILE__) . '/adodb-session2.php'; 27 | } 28 | ADODB_Session::clob('CLOB'); 29 | -------------------------------------------------------------------------------- /libraries/adodb/session/adodb-sessions.mysql.sql: -------------------------------------------------------------------------------- 1 | -- $CVSHeader$ 2 | 3 | CREATE DATABASE /*! IF NOT EXISTS */ adodb_sessions; 4 | 5 | USE adodb_sessions; 6 | 7 | DROP TABLE /*! IF EXISTS */ sessions; 8 | 9 | CREATE TABLE /*! IF NOT EXISTS */ sessions ( 10 | sesskey CHAR(32) /*! BINARY */ NOT NULL DEFAULT '', 11 | expiry INT(11) /*! UNSIGNED */ NOT NULL DEFAULT 0, 12 | expireref VARCHAR(64) DEFAULT '', 13 | data LONGTEXT DEFAULT '', 14 | PRIMARY KEY (sesskey), 15 | INDEX expiry (expiry) 16 | ); 17 | -------------------------------------------------------------------------------- /libraries/adodb/session/adodb-sessions.oracle.clob.sql: -------------------------------------------------------------------------------- 1 | -- $CVSHeader$ 2 | 3 | DROP TABLE adodb_sessions; 4 | 5 | CREATE TABLE sessions ( 6 | sesskey CHAR(32) DEFAULT '' NOT NULL, 7 | expiry INT DEFAULT 0 NOT NULL, 8 | expireref VARCHAR(64) DEFAULT '', 9 | data CLOB DEFAULT '', 10 | PRIMARY KEY (sesskey) 11 | ); 12 | 13 | CREATE INDEX ix_expiry ON sessions (expiry); 14 | 15 | QUIT; 16 | -------------------------------------------------------------------------------- /libraries/adodb/session/adodb-sessions.oracle.sql: -------------------------------------------------------------------------------- 1 | -- $CVSHeader$ 2 | 3 | DROP TABLE adodb_sessions; 4 | 5 | CREATE TABLE sessions ( 6 | sesskey CHAR(32) DEFAULT '' NOT NULL, 7 | expiry INT DEFAULT 0 NOT NULL, 8 | expireref VARCHAR(64) DEFAULT '', 9 | data VARCHAR(4000) DEFAULT '', 10 | PRIMARY KEY (sesskey), 11 | INDEX expiry (expiry) 12 | ); 13 | 14 | CREATE INDEX ix_expiry ON sessions (expiry); 15 | 16 | QUIT; 17 | -------------------------------------------------------------------------------- /libraries/adodb/session/old/crypt.inc.php: -------------------------------------------------------------------------------- 1 | 23 | */ 24 | 25 | class MD5Crypt{ 26 | function keyED($txt,$encrypt_key) 27 | { 28 | $encrypt_key = md5($encrypt_key); 29 | $ctr=0; 30 | $tmp = ""; 31 | for ($i=0;$ikeyED($tmp,$key)); 52 | } 53 | 54 | function Decrypt($txt,$key) 55 | { 56 | $txt = $this->keyED(base64_decode($txt),$key); 57 | $tmp = ""; 58 | for ($i=0;$i= 58 && $randnumber <= 64) || ($randnumber >= 91 && $randnumber <= 96)) 74 | { 75 | $randnumber = rand(48,120); 76 | } 77 | 78 | $randomPassword .= chr($randnumber); 79 | } 80 | return $randomPassword; 81 | } 82 | 83 | } 84 | -------------------------------------------------------------------------------- /libraries/adodb/session/session_schema.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | table for ADOdb session-management 5 | 6 | 7 | session key 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 |
27 | -------------------------------------------------------------------------------- /libraries/adodb/session/session_schema2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Table for ADOdb session management 5 | 6 | Session key to identify a user's browser session. 7 | 8 | 9 | 10 | 11 | Slightly redundant as it can be dynamically calculated by NOW() and MODIFIED field, 12 | but it enables forcing a fixed timeout for specific sessions. 13 | 14 | 15 | 16 | 17 | New session creation Timestamp. 18 | 19 | 20 | 21 | Timestamp which is usually updated when the user interacts with a site, to extend the expire time. 22 | 23 | 24 | 25 | Usually a User Id or unique username of your application. 26 | The name EXPIREREF is a bit weird, it may be better to call it USERREF? 27 | 28 | 29 | 30 | PHP's serialized session data or encrypted serialized session data. 31 | 32 | 33 |
34 |
35 | -------------------------------------------------------------------------------- /libraries/adodb/xmlschema.dtd: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 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 | ] > -------------------------------------------------------------------------------- /libraries/adodb/xmlschema03.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /libraries/adodb/xsl/remove-0.2.xsl: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | ADODB XMLSchema 11 | http://adodb-xmlschema.sourceforge.net 12 | 13 | 14 | 15 | Uninstallation Schema 16 | 17 | 18 | 19 | 0.2 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 | -------------------------------------------------------------------------------- /libraries/adodb/xsl/remove-0.3.xsl: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | ADODB XMLSchema 11 | http://adodb-xmlschema.sourceforge.net 12 | 13 | 14 | 15 | Uninstallation Schema 16 | 17 | 18 | 19 | 0.3 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 | -------------------------------------------------------------------------------- /links.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Function for updating browser frame and topbar frame so that sqledit window 3 | * pops up with properly selected database. 4 | * 5 | * $Id: links.js,v 1.4 2004/07/13 15:24:41 jollytoad Exp $ 6 | */ 7 | function updateLinks(getVars) { 8 | var topbarLink = 'topbar.php' + getVars; 9 | var browserLink = 'browser.php' + getVars; 10 | var detailLink = 'redirect.php' + getVars + 'section=database'; 11 | 12 | parent.frames.topbar.location = topbarLink; 13 | parent.frames.detail.location = detailLink; 14 | parent.frames.browser.location = browserLink; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /login.php: -------------------------------------------------------------------------------- 1 | printHeader($lang['strlogin']); 18 | $misc->printBody(); 19 | $misc->printTrail('root'); 20 | 21 | $server_info = $misc->getServerInfo($_REQUEST['server']); 22 | 23 | $misc->printTitle(sprintf($lang['strlogintitle'], $server_info['desc'])); 24 | 25 | if (isset($msg)) $misc->printMsg($msg); 26 | 27 | $md5_server = md5($_REQUEST['server']); 28 | ?> 29 | 30 |
31 | $val) { 36 | if (substr($key,0,5) == 'login') continue; 37 | echo "\n"; 38 | } 39 | ?> 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 1) : ?> 52 |

/>

53 | 54 |

55 |
56 | 57 | 66 | 67 | printFooter(); 70 | ?> 71 | -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /multiactionform.js: -------------------------------------------------------------------------------- 1 | function checkAll(bool) { 2 | 3 | var inputs = document.getElementById('multi_form').getElementsByTagName('input'); 4 | 5 | for (var i=0; iprintTrail('schema'); 23 | $misc->printTabs('schema','opclasses'); 24 | $misc->printMsg($msg); 25 | 26 | $opclasses = $data->getOpClasses(); 27 | 28 | $columns = array( 29 | 'accessmethod' => array( 30 | 'title' => $lang['straccessmethod'], 31 | 'field' => field('amname'), 32 | ), 33 | 'opclass' => array( 34 | 'title' => $lang['strname'], 35 | 'field' => field('opcname'), 36 | ), 37 | 'type' => array( 38 | 'title' => $lang['strtype'], 39 | 'field' => field('opcintype'), 40 | ), 41 | 'default' => array( 42 | 'title' => $lang['strdefault'], 43 | 'field' => field('opcdefault'), 44 | 'type' => 'yesno', 45 | ), 46 | 'comment' => array( 47 | 'title' => $lang['strcomment'], 48 | 'field' => field('opccomment'), 49 | ), 50 | ); 51 | 52 | $actions = array(); 53 | 54 | $misc->printTable($opclasses, $columns, $actions, 'opclasses-opclasses', $lang['strnoopclasses']); 55 | } 56 | 57 | /** 58 | * Generate XML for the browser tree. 59 | */ 60 | function doTree() { 61 | global $misc, $data; 62 | 63 | $opclasses = $data->getOpClasses(); 64 | 65 | // OpClass prototype: "op_class/access_method" 66 | $proto = concat(field('opcname'),'/',field('amname')); 67 | 68 | $attrs = array( 69 | 'text' => $proto, 70 | 'icon' => 'OperatorClass', 71 | 'toolTip'=> field('opccomment'), 72 | ); 73 | 74 | $misc->printTree($opclasses, $attrs, 'opclasses'); 75 | exit; 76 | } 77 | 78 | if ($action == 'tree') doTree(); 79 | 80 | $misc->printHeader($lang['stropclasses']); 81 | $misc->printBody(); 82 | 83 | switch ($action) { 84 | default: 85 | doDefault(); 86 | break; 87 | } 88 | 89 | $misc->printFooter(); 90 | 91 | ?> 92 | -------------------------------------------------------------------------------- /plugin.php: -------------------------------------------------------------------------------- 1 | do_action($_REQUEST['plugin'], $_REQUEST['action']); 5 | ?> 6 | -------------------------------------------------------------------------------- /plugins/Report/INSTALL: -------------------------------------------------------------------------------- 1 | phpPgAdmin Report Plugin Installation Guide 2 | ------------------------------------------- 3 | 1. Report Plugin activation 4 | 5 | Open conf/config.inc.php and add the 'Report' value in the $conf['plugins'] array: 6 | 7 | $conf['plugins'] = array('Report'); 8 | 9 | 2. Set up the reports database. 10 | 11 | If you want to enable reports (which are a useful feature) then go to 12 | the 'sql' subdirectory and view the SQL script for your database. It 13 | will contain instructions on how to set up the reports database. 14 | -------------------------------------------------------------------------------- /plugins/Report/README: -------------------------------------------------------------------------------- 1 | About the phpPgAdmin Report Plugin 2 | ---------------------------------- 3 | 4 | The Report plugin is the old report feature of phpPgAdmins removed in 5 | version 5.1 and refactored as a plugin. 6 | 7 | It enables you to create and save ad-hoc SQL queries as reports which 8 | can be easily be executed from within phpPgAdmin. 9 | 10 | To save reports, this plugin requires the creation of a dedicated 11 | database containing a single table; see the INSTALL file and the 12 | sql/reports.sql file for details. 13 | 14 | Following installation, an icon for the Report plugin will appear 15 | on the main overview page for each connected server. This provides 16 | an overview of all reports saved for the entire server, and enables 17 | executionm, editing and deletion of reports, as well as creation of 18 | new reports from scratch. 19 | 20 | New reports can also be created while browsing table and view data, 21 | a "create report" link is provided at the bottom of each data page 22 | which pre-populates the report with the SQL used to generate the 23 | data. 24 | 25 | -------------------------------------------------------------------------------- /plugins/Report/conf/config.inc.php: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /plugins/Report/images/Report.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/plugins/Report/images/Report.png -------------------------------------------------------------------------------- /plugins/Report/images/Reports.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpPgAdmin2/phpPgAdmin/ca6be5c65037e8fb38b2dad11ec2daf4db54d6f7/plugins/Report/images/Reports.png -------------------------------------------------------------------------------- /plugins/Report/lang/afrikaans.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/arabic.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/catalan.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/chinese-sim.php: -------------------------------------------------------------------------------- 1 | 23 | -------------------------------------------------------------------------------- /plugins/Report/lang/chinese-tr.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/chinese-utf8-zh_CN.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/chinese-utf8-zh_TW.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/czech.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/danish.php: -------------------------------------------------------------------------------- 1 | 26 | -------------------------------------------------------------------------------- /plugins/Report/lang/dutch.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /plugins/Report/lang/english.php: -------------------------------------------------------------------------------- 1 | 25 | -------------------------------------------------------------------------------- /plugins/Report/lang/french.php: -------------------------------------------------------------------------------- 1 | 25 | -------------------------------------------------------------------------------- /plugins/Report/lang/galician.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/german.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/greek.php: -------------------------------------------------------------------------------- 1 | 25 | -------------------------------------------------------------------------------- /plugins/Report/lang/hebrew.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/hungarian.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/italian.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/japanese.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/lithuanian.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/mongol.php: -------------------------------------------------------------------------------- 1 | 23 | -------------------------------------------------------------------------------- /plugins/Report/lang/polish.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/portuguese-br.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/portuguese-pt.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/romanian.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/russian.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/slovak.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/spanish.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/swedish.php: -------------------------------------------------------------------------------- 1 | 26 | -------------------------------------------------------------------------------- /plugins/Report/lang/turkish.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/lang/ukrainian.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /plugins/Report/sql/reports-pgsql.sql: -------------------------------------------------------------------------------- 1 | -- SQL script to create reports database for PostgreSQL 2 | -- 3 | -- To run, type: psql template1 < reports-pgsql.sql 4 | -- 5 | -- $Id: reports-pgsql.sql,v 1.4 2007/04/16 11:02:36 mr-russ Exp $ 6 | 7 | CREATE DATABASE phppgadmin; 8 | 9 | \connect phppgadmin 10 | 11 | CREATE TABLE ppa_reports ( 12 | report_id SERIAL, 13 | report_name varchar(255) NOT NULL, 14 | db_name varchar(255) NOT NULL, 15 | date_created date DEFAULT NOW() NOT NULL, 16 | created_by varchar(255) NOT NULL, 17 | descr text, 18 | report_sql text NOT NULL, 19 | paginate boolean NOT NULL, 20 | PRIMARY KEY (report_id) 21 | ); 22 | 23 | -- Allow everyone to do everything with reports. This may 24 | -- or may not be what you want. 25 | GRANT SELECT,INSERT,UPDATE,DELETE ON ppa_reports TO PUBLIC; 26 | GRANT SELECT,UPDATE ON ppa_reports_report_id_seq TO PUBLIC; 27 | 28 | -------------------------------------------------------------------------------- /redirect.php: -------------------------------------------------------------------------------- 1 | getLastTabURL($subject); 10 | 11 | // Load query vars into superglobal arrays 12 | if (isset($url['urlvars'])) { 13 | $urlvars = array(); 14 | 15 | foreach($url['urlvars'] as $k => $urlvar) { 16 | $urlvars[$k] = value($urlvar, $_REQUEST); 17 | } 18 | 19 | $_REQUEST = array_merge($_REQUEST, $urlvars); 20 | $_GET = array_merge($_GET, $urlvars); 21 | } 22 | 23 | require $url['url']; 24 | -------------------------------------------------------------------------------- /robots.txt: -------------------------------------------------------------------------------- 1 | # Prevent web robots from indexing your phpPgAdmin installation 2 | # See: http://www.searchengineworld.com/robots/robots_tutorial.htm 3 | # 4 | # $Id: robots.txt,v 1.1 2003/09/01 03:02:17 chriskl Exp $ 5 | 6 | User-agent: * 7 | Disallow: / 8 | 9 | -------------------------------------------------------------------------------- /tables.js: -------------------------------------------------------------------------------- 1 | var predefined_lengths = null; 2 | var sizesLength = false; 3 | 4 | function checkLengths(sValue,idx) { 5 | if(predefined_lengths) { 6 | if(sizesLength==false) { 7 | sizesLength = predefined_lengths.length; 8 | } 9 | for(var i=0;i 'Default', 12 | 'cappuccino' => 'Cappuccino', 13 | 'gotar' => 'Blue/Green', 14 | 'bootstrap' => 'Bootstrap3', 15 | 'dark' => 'Dark' 16 | ); 17 | ?> 18 | --------------------------------------------------------------------------------