| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- single quotes in queries
- start using $conf['dblayer']
git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
Replace all mysql functions in core code by ones independant of database engine
Fix small php code synxtax : hash must be accessed with [ ] and not { }.
git-svn-id: http://piwigo.org/svn/trunk@4325 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
Replace include/mysql.inc.php by include/config_database.inc.php to be independant of database engine
Rename database configurations variables by ones in $conf array.
git-svn-id: http://piwigo.org/svn/trunk@4280 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
online, PHPWG_DOMAIN updated inside Piwigo.
git-svn-id: http://piwigo.org/svn/trunk@4047 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
bug 1187: set_magic_quote_runtime and get_magic_quote_gpc are depreciated and can produce notices from PHP 5.3.
Add a @ to avoid this notices.
This functions need to be removed with PHP 6
git-svn-id: http://piwigo.org/svn/trunk@4006 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
| |
ereg() -> preg_match()
ereg_replace() -> preg_replace()
eregi() -> preg_match() with the 'i' modifier
eregi_replace() -> preg_replace() with the 'i' modifier
set_magic_quotes_runtime() -> No more usefull. Fixed it by adding "@" prefix.
git-svn-id: http://piwigo.org/svn/trunk@3747 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
| |
bug 968 fixed: charset is set in HTTP header.
improvement: in the "this gallery is locked" message, the link to the
"sign in" page is on the whole sentence, not only on the final dot.
git-svn-id: http://piwigo.org/svn/trunk@3277 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
Add forum link in upgrade page.
Install and upgrade try to configure PHP5.
git-svn-id: http://piwigo.org/svn/trunk@3203 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
| |
bug 926 fixed: change links to piwigo.org so that they go to existing URLs.
new: if the current language is french, the links go to fr.piwigo.org instead.
git-svn-id: http://piwigo.org/svn/trunk@3197 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
- refactored some code (shorter and somehow faster - but nothing revolutionary)
- decrease lost space in permalinks.tpl and hard coded column width (was illisible)
git-svn-id: http://piwigo.org/svn/trunk@3136 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
- some trigger improvements (render_category_description)
- improved perf of duplicate_xxx_url ( rewrote func params_for_duplication and remove some vars from $page )
git-svn-id: http://piwigo.org/svn/trunk@3126 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
merge -c3023 from branch 2.0 to trunk
git-svn-id: http://piwigo.org/svn/trunk@3024 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
See topic #99192 on the forum.
git-svn-id: http://piwigo.org/svn/trunk@2859 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
- removed some unused constants from constants.php
- removed some unused css rules
- removed unused code
git-svn-id: http://piwigo.org/svn/trunk@2824 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
* 2765 mysql potential injection paranoia + code compaction in common.inc.php
* 2769 added an image sort order by privacy level (admins only)
* 2769 fix an IE6 display issue with quick search on index page
git-svn-id: http://piwigo.org/svn/trunk@2770 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
- try to get rid of some JS strict warnings in FF (hope it's fixed)
- template.class.php is included from functions.inc.php instead of common,upgrade,install (maybe later I will try to see the perf impact of compacting/compiling functions.inc.php together with the included files from itself)
git-svn-id: http://piwigo.org/svn/trunk@2700 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
development upgrades, not PHPWG_IN_UPGRADE constant any longer.
git-svn-id: http://piwigo.org/svn/trunk@2544 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
- sql optims in feed /notification
- dont send cookie for 10 years from admin/history.php
git-svn-id: http://piwigo.org/svn/trunk@2543 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
use fatal_error ...)
git-svn-id: http://piwigo.org/svn/trunk@2502 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
| |
bar to pwg
- the menubar is composed now of dynamic blocks that can be ordered/hidden
- plugins can add their own blocks
git-svn-id: http://piwigo.org/svn/trunk@2488 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
- security fix : when conf['question_mark_in_urls']=true , $_SERVER['PATH_INFO'] was not sanitized against sql injection
- mysql errors are now dumped using trigger_error instead of echo and die -> allow admins to see later on if someone tries funny stuff
git-svn-id: http://piwigo.org/svn/trunk@2484 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
| |
PHPWG_DEFAULT_LANGUAGE (needed to change the signature of load_language which became a little too big)
- move a function from functions.inc.php to functions_picture.inc.php (included only when necessary)
- removed some css (not as much as I wanted)
git-svn-id: http://piwigo.org/svn/trunk@2479 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
- eng lang small change
- remove link to unexisting admin css
git-svn-id: http://piwigo.org/svn/trunk@2476 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
the picture page
git-svn-id: http://piwigo.org/svn/trunk@2413 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@2394 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
(Before previous admin templates removal).
Some of css simplification (in admin only currently.
git-svn-id: http://piwigo.org/svn/trunk@2390 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
| |
bugged (r2297 was repeating new and old header).
By the way, I've also removed the replacement keywords. We were using them
because it was a common usage with CVS but it is advised not to use them with
Subversion. Personnaly, it is a problem when I search differences between 2
Piwigo installations outside Subversion.
git-svn-id: http://piwigo.org/svn/trunk@2299 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@2290 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@2240 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@2215 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
Merge branch-1_7 2211:2212 into BSF
git-svn-id: http://piwigo.org/svn/trunk@2213 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@2127 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@2126 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
refactoring
git-svn-id: http://piwigo.org/svn/trunk@2117 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
systems
git-svn-id: http://piwigo.org/svn/trunk@2111 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@2055 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
- small improvement in admin template (text near checkboxes goes inside <label> element)
git-svn-id: http://piwigo.org/svn/trunk@2046 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
Resolved issue 0000709: Error with $conf['default_admin_layout']
git-svn-id: http://piwigo.org/svn/trunk@2038 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@2030 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
| |
comment picture.
+ Change way to determinate if user is a guest (use functions like is_admin)
git-svn-id: http://piwigo.org/svn/trunk@2029 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
- Copyrights 2003-2007
- help
- Some HTML comform requests
git-svn-id: http://piwigo.org/svn/trunk@1903 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
| |
correctly (and also nbm.php and feed.php)
git-svn-id: http://piwigo.org/svn/trunk@1850 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
- web service: added the possibility to enter a user comment using the service...
- new comment functions from picture_comment.inc.php
git-svn-id: http://piwigo.org/svn/trunk@1849 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
| |
correct)
- prepare a bit some url functions so that later we can fully embed pwg in
scripts located outside pwg
- remove some unnecessary language strings
git-svn-id: http://piwigo.org/svn/trunk@1750 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
| |
done by a plugin
- create a "standard" way to define PHP functions that we use but might not be
available in the current php version
- when a comment is rejected (spam, anti-flood etc), put the content back to the
browser in case there is a real user behind it
- now a comment can be entered only if the page was retrieved between 2 seconds
ago and 1 hour ago
git-svn-id: http://piwigo.org/svn/trunk@1744 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions, ...)
New system for the filter page configuration
View mode flat_recent_cat becomes flat_cat (recent period is removed because global filter is sufficient)
Recent period of global filter must be defined "after" start parameter (default value is $user['recent_period']).
git-svn-id: http://piwigo.org/svn/trunk@1722 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add some plugin triggers:
o for help
o for language
o for site manager
o for advanced features
Allow to launch directly plugin page (without section key)
Add add_index plugin, available on site manager and advanced features
Configuration page and best help must be coming soon.
git-svn-id: http://piwigo.org/svn/trunk@1699 68402e56-0260-453c-a942-63ccdbb3a9ee
|