Commit Graph

52 Commits

Author SHA1 Message Date
Jason
c24e96f1a3 Optimize logic in tbl_gis_visualization.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-17 01:50:10 +08:00
Jason
cb771052c8 Finish refactoring tbl_*.lib.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-17 01:14:27 +08:00
Rahul Kadyan
4d308ba364 Remove unneeded closing tags
Closing tags at the end of file are not mandatory. It is often
suggested to omit to closing tags at the end of file to prevent
unwanted effects as PHP will start output buffering if there is
any character after closing tag.

Reference: http://php.net/manual/en/language.basic-syntax.phptags.php

Signed-off-by: Rahul Kadyan <hi@znck.me>
2015-03-06 23:37:35 +05:30
Hugues Peccatte
49ababac08 Replace mb functions by standard string functions.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-04 10:09:06 +02:00
Hugues Peccatte
3de88162ff Replace PMA_String uses by mb_* calls.
Remove part of unused  variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-28 20:53:01 +02:00
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Michal Čihař
9d17a602f5 Better messasge after creating a bookmark
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-02 11:32:15 +01:00
Madhura Jayaratne
16587a8c6b Suffix files containing classes with .class.php file extension
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-22 18:19:48 +05:30
Madhura Jayaratne
3c9f6a6890 Space around . operator - mroe instances
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-08 18:56:30 +05:30
Madhura Jayaratne
6335b10574 Fix coding style
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-08 14:35:15 +05:30
Hugues Peccatte
7bd1bf23d3 Fix PHPCS errors.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-11 22:13:10 +01:00
Hugues Peccatte
464ec23ad8 Huge PHPDoc update. 2013-11-10 23:04:58 +01:00
Spun Nakandala
883c8ad73d gis insert/edit error corrected 2013-09-28 01:19:30 +05:30
Michal Čihař
0fecb355da Add explaining comment 2013-08-24 09:11:24 +02:00
Michal Čihař
aa0c22d348 Fix include path 2013-08-23 16:20:18 +02:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Michal Čihař
2fbb4cee0d Consistently include colon in strings to translate
In some languages this makes difference in translating, so it's better
to give translators full context.
2013-04-25 14:22:31 +02:00
Madhura Jayaratne
7b12b12aee Avoid PHP, HTML mix. Improve doc comments 2012-09-04 21:32:11 +05:30
Dieter Adriaenssens
b947fd63c3 improve message 2012-09-03 18:05:01 +02:00
Dieter Adriaenssens
1136a46c74 improve coding style, fix indentation 2012-09-03 18:05:01 +02:00
Rouslan Placella
a16e723048 Dropped PMA_ajaxResponse() 2012-06-11 17:58:35 +01:00
Rouslan Placella
3d18fb588a Got rid of some dead code from gis_data_editor.php 2012-06-11 14:06:03 +01:00
Dieter Adriaenssens
3a3da2987e add vim directive for indenting with spaces 2012-04-11 16:18:53 +02:00
Rouslan Placella
c985fec282 Drop non-JS version of the "GIS data editor" 2012-04-10 21:50:34 +01:00
Jo Michael
b2fd866d87 Leading ./ paths for includes can be omitted, part 2 2012-03-16 23:11:57 +01:00
Marc Delisle
4a48e5d825 Typo 2012-01-07 09:03:59 -05:00
Dieter Adriaenssens
87459a5cf6 use include() instead of require() when including file conditionally 2011-09-06 22:04:51 +02:00
Michal Čihař
1b8018e436 Use format string for point number, otherwise the translation is wrong in some languages 2011-08-25 08:36:05 +02:00
Michal Čihař
eb37c00260 Avoid two messages for same thing 2011-08-23 10:50:11 +02:00
Madhura Jayaratne
d67165f7bc Fix code style 2011-08-17 23:42:43 +05:30
Madhura Jayaratne
cb0eca28e4 Rename functions to match PEAR coding style 2011-08-12 13:50:28 +05:30
Madhura Jayaratne
b67c913fad Avoid undefined variable notice. 2011-08-10 00:23:43 +05:30
Madhura Jayaratne
dc82360242 Prepares and insert GIS data to the input field on pressing 'enter' 2011-08-02 00:32:32 +05:30
Madhura Jayaratne
f00b473c17 Accept WKTs without SRID 2011-07-31 23:14:43 +05:30
Madhura Jayaratne
e62c03f7a5 Avoid undefined index 2011-07-31 22:28:02 +05:30
Madhura Jayaratne
d3bd2d5d91 Refractor common code to gis_data_editor.js. Remove hidden input to track null checkbox. 2011-07-31 18:33:02 +05:30
Madhura Jayaratne
47762d7b14 Better organized JS code 2011-07-20 23:07:53 +05:30
Madhura Jayaratne
0e4435266b Change of classes to avoid conflicts with classes used in tbl_gis_visualization.js 2011-07-18 14:03:21 +05:30
Madhura Jayaratne
2a402a3103 OpenStreetMaps based data visualization for GIS data editor 2011-07-18 13:43:46 +05:30
Madhura Jayaratne
5a6379f93e SVG based data visualization for GIS data editor 2011-07-17 16:59:25 +05:30
Madhura Jayaratne
d85c777c78 Chose the correct GIS type 2011-07-16 14:17:17 +05:30
Madhura Jayaratne
ed23518a44 Handle adding polygons and geometry objects 2011-07-16 10:50:22 +05:30
Madhura Jayaratne
83d8d3a8ed Handle adding linestrings and inner rings. Better comments 2011-07-16 02:11:18 +05:30
Madhura Jayaratne
b2d703dbea Add points with JavaScript 2011-07-16 00:29:00 +05:30
Madhura Jayaratne
166b571964 Non JS version does not need this parameters. 2011-07-15 23:13:00 +05:30
Madhura Jayaratne
0c9301f7db Corrected order of includes. 2011-07-15 00:04:32 +05:30
Madhura Jayaratne
b1634f80fd GIS data editor extended for JS enabled browsers 2011-07-14 19:39:39 +05:30
Madhura Jayaratne
4d111205b1 A polygon needs to have atleast 4 points - more instances 2011-07-03 22:46:48 +05:30
Madhura Jayaratne
93ab68dd13 A polygon needs to have atleast 4 points - more instances 2011-07-03 22:41:52 +05:30
Madhura Jayaratne
cfeb031d1f A polygon needs to have atleast 4 points. 2011-07-03 22:36:34 +05:30