Initialize body_classes in common.inc.php
Add class for section and section id
also add class with search id
Class is added to $page in section_init now
Also add tis info to the body dataset for javascript use
Adds class to body, get id for category tag or picture, add dynamic class to body using id
Also used on page where albums and tags are combined
TODO make compatible with modus
- fix content margin on password register
- purge derivative cache by type of derivative
- session saved infos/messages are not given to the page on html redirections
- shorter/faster code in functions_xxx
git-svn-id: http://piwigo.org/svn/trunk@13074 68402e56-0260-453c-a942-63ccdbb3a9ee
use only $page['infos'] and $page['errors'] vars and and necessary template to all main pages
git-svn-id: http://piwigo.org/svn/trunk@12764 68402e56-0260-453c-a942-63ccdbb3a9ee
Just write %gallery_title% in the page banner (this is written by default).
The default gallery title and tagline are now localized.
git-svn-id: http://piwigo.org/svn/trunk@12008 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 2344 fixed: all "Go to Home" links depends on the user defined "Gallery URL".
git-svn-id: http://piwigo.org/svn/trunk@11368 68402e56-0260-453c-a942-63ccdbb3a9ee
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"
git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
$conf['reverse_home_title'] is false by default.
On reverse_home_title = true, only index page will reverse its title.
Compare to prior releases all titles are reversed.
- Croatian flag
merge -c3091 from branch 2.0 to trunk
git-svn-id: http://piwigo.org/svn/trunk@3095 68402e56-0260-453c-a942-63ccdbb3a9ee
Meta tags for description, author, and keywords are generated,
except if meta robots "noindex" is forced (with some pages like search, recent cats, etc.).
In addition, $conf['meta_ref'] = false is forcing "noindex, nofollow".
merge -c3040 from branch 2.0 to trunk
git-svn-id: http://piwigo.org/svn/trunk@3041 68402e56-0260-453c-a942-63ccdbb3a9ee
- session security improvement: now the sessions are valid only for originating ip addr (with mask 255.255.0.0 to allow users behind load balancing proxies) -> stealing the session cookie is almost a non issue (with the exception of the 65536 machines in range)
- metadata sync from the sync button does not overwrite valid data with empty metadata
- other small fixes/enhancements:
- added event get_category_image_orders
- fix display issue with redirect.tpl (h1/h2 within h1)
- fix known_script smarty function registration
- query search form not submitted if q is empty
- better admin css rules
- some other minor changes (ws_core, rest_handler, functions_search...)
git-svn-id: http://piwigo.org/svn/trunk@2521 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
Add second parameter for render_category_description to differentiate both triggers in category_cats.inc.php and section_init.inc.php.
Add render_page_banner trigger.
git-svn-id: http://piwigo.org/svn/trunk@2175 68402e56-0260-453c-a942-63ccdbb3a9ee
fix: in page_header.php U_HOME template var was overwriting the ones from every page -> now it is always make_index_url
fix: unvalidated comments use start end for RSS instead of end only (otherwise google reader creates a new item every time it downloads the feed)
git-svn-id: http://piwigo.org/svn/trunk@2159 68402e56-0260-453c-a942-63ccdbb3a9ee
- Hidden in subcatify area with dark
- Small and normal font with p0w0
- Hidden with wipi
- Clear wasn't changed.
Bugs in header: href in link rel="start" was empty.
Which meant a wrong tag (e.g. for google)
git-svn-id: http://piwigo.org/svn/trunk@1856 68402e56-0260-453c-a942-63ccdbb3a9ee
2 - Previous version of p0w0 is replaced by a close version to the phpwebgallery.net web site.
git-svn-id: http://piwigo.org/svn/trunk@1778 68402e56-0260-453c-a942-63ccdbb3a9ee
- mass_inserts does not requires keys to start at 0
- recent_cats categories are sorted by global_rank (consistency)
- removed warning from page_header.php (when included from redirect)
- added 2 template functions for plugins (get_var and concat_var)
- removed unused code from profile.php
- changed css width for tag selection (search page) from 55em to almost 100%
git-svn-id: http://piwigo.org/svn/trunk@1719 68402e56-0260-453c-a942-63ccdbb3a9ee
- syntax error (action.php)
- language (call to l10n_dec and English language)
- replace some fetch_array with fetch_assoc (less memory used)
- removed one unnecessary assign_block_vars
- removed meta name="robots" (conflict with notification.php)
git-svn-id: http://piwigo.org/svn/trunk@1678 68402e56-0260-453c-a942-63ccdbb3a9ee
It's a finalized version.
Obsolete code of draft are removed.
You can filter categories and images with recent date period on your screen selection.
In the future, filter could be easy done on other type data (plugin?)
You can flat categories and sub-categories with a recent date period of your choice.
Next, perhaps, a panel to choice recent date for the 2 features.
On draft, there have problem with MySql 5, be careful!
Css problem not resolved:
- Menu "Categories" is bad centered
- Icon on dark too on the top
git-svn-id: http://piwigo.org/svn/trunk@1677 68402e56-0260-453c-a942-63ccdbb3a9ee
first implementation of meta tags and rel links (see the wiki specs)
some code improvements are still need.
git-svn-id: http://piwigo.org/svn/trunk@1627 68402e56-0260-453c-a942-63ccdbb3a9ee
Simple redirect.tpl in template-common
Simplification of function redirect()
git-svn-id: http://piwigo.org/svn/trunk@1508 68402e56-0260-453c-a942-63ccdbb3a9ee
o Sorry but reverse r1299/1300
Issue ID 0000356:
o Add new html properties tags on adviser mode
git-svn-id: http://piwigo.org/svn/trunk@1303 68402e56-0260-453c-a942-63ccdbb3a9ee
Removed calls to htmlentities()
improvement : charset added in HTTP header so browser's automatic encoding works even if httpd
is not netto latin1
revert to original l10n() : use of htmlentities() didn't solve bug in IE tooltips
git-svn-id: http://piwigo.org/svn/trunk@1290 68402e56-0260-453c-a942-63ccdbb3a9ee
o Change NBM configuration in order to avoid lose treatment action when occurred timeout
o Add news redirect/repost functions
git-svn-id: http://piwigo.org/svn/trunk@1156 68402e56-0260-453c-a942-63ccdbb3a9ee