Commit Graph

48 Commits

Author SHA1 Message Date
rvelices 9aec2fb5e7 - fix typing error in index.tpl
- added template smarty function known_script (e.g.{known_script id="x" src"y.js"}) - useful to avoid double inclusion of a script such as prototype,jquery,... when a template and plugin need it independently (see the use in admin.tpl for example)
- removed unused themeconf.template_dir 

git-svn-id: http://piwigo.org/svn/trunk@2513 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-09 09:53:31 +00:00
rvelices 0b32dd4c0b - further reduce css rules and remove unused ones
- added a smarty prefilter so that html output is nicely indented now ...

git-svn-id: http://piwigo.org/svn/trunk@2481 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-08-22 00:45:03 +00:00
rvelices 685f4e2998 - tried to reduce the number of css rules and selectors (most gains on menubar and usercomments) tested with IE6,IE7,FF,Opera9,Safari3
git-svn-id: http://piwigo.org/svn/trunk@2480 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-08-21 01:14:03 +00:00
patdenice eb975a8cda Change all #content by .content in css files.
In tpl files, id="content" stay here for backward compatibilities.
Add some plugins triggers in index.tpl and picture.tpl.

git-svn-id: http://piwigo.org/svn/trunk@2352 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-20 00:27:26 +00:00
plegall 524011bfa6 Bug fixed: as rvelices notified me by email, my header replacement script was
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
2008-04-05 14:14:07 +00:00
plegall 3f235497f3 Modification: new header on PHP files, PhpWebGallery renamed Piwigo.
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-04 22:57:23 +00:00
rvelices cab98df776 - smarty for more mail templates/css
git-svn-id: http://piwigo.org/svn/trunk@2285 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-18 23:43:38 +00:00
rub 618158aca4 Add comment tags in order to know tpl to migrate
# tag
for f in `find . -name \*.tpl`
do 
  echo $f
  mv $f $f.tmp
  echo '<!-- DEV TAG: not smarty migrated -->' > $f
  cat $f.tmp >> $f
  rm -f $f.tmp
done

#find file not migrated
for f in `find . -name \*.tpl`
do 
  grep -i '<!-- DEV TAG: not smarty migrated -->' $f > /dev/null && echo $f
done


git-svn-id: http://piwigo.org/svn/trunk@2222 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-27 23:08:44 +00:00
rvelices 00d39fe8ba - css change tabsheet is nicer than before (especially IE7); also tested in FF2 and IE6
git-svn-id: http://piwigo.org/svn/trunk@2116 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-01 23:39:21 +00:00
rvelices 179106efaf - removed unused code from the calendar
- removed some unused css rules, simplified css a bit and made some rule grouping (nothing important)

git-svn-id: http://piwigo.org/svn/trunk@2101 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-20 23:45:23 +00:00
rvelices 9decd4b30f removed the quick search text in the menubar (above the input)
git-svn-id: http://piwigo.org/svn/trunk@2045 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-26 01:23:39 +00:00
rub d4c1e505c5 Change the hover color of image border on clean mail.
git-svn-id: http://piwigo.org/svn/trunk@1918 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-17 21:49:57 +00:00
rub e78d0fde73 Update svn properties (svn:eol-style and svn:keywords)
git-svn-id: http://piwigo.org/svn/trunk@1912 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-16 06:30:07 +00:00
rub cad4270a4d Update index.php header.
Don't use explicitly index.php on the recursive call.

Add missing index.php.

Chang tags.php svn properties.

git-svn-id: http://piwigo.org/svn/trunk@1909 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-16 06:15:27 +00:00
rub 4577278acc Apply property svn:eol-style Value: LF
git-svn-id: http://piwigo.org/svn/trunk@1900 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-12 22:33:53 +00:00
vdigital c0de91eb56 Bug on admin tabsheets under IE7
git-svn-id: http://piwigo.org/svn/trunk@1886 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-09 23:30:03 +00:00
rub fd50890049 Add tabsheet on administration pages.
Step 1: Refactoring tabsheet on NBM and introduce generic method to add tabsheet.tpl

On next commit, use of this new method in order to reduce # of link menu.

CSS friend don't hesitate to modify tabsheet css.

git-svn-id: http://piwigo.org/svn/trunk@1874 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-06 23:02:02 +00:00
vdigital 8cbe4e631f Bug: Minor HTML change to keep HTML 4.01 Strict level (category_cats.inc.php)
New: Label over quick search (and different display solutions in themes: center, left, italic, hidden, pre-filling hidden).


git-svn-id: http://piwigo.org/svn/trunk@1869 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-04 19:00:43 +00:00
vdigital 7b5386f0dd 0000497: (facultative) themeconf.inc.php can build additional about text for PWG about page (see wipi theme).
git-svn-id: http://piwigo.org/svn/trunk@1834 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-17 18:52:17 +00:00
vdigital 273ea4de5c Some css changes to reach CSS3 Conformity (even not official)
(New): mozilla family hacks are all in a not-ie.css
(New): HTTP Upload has been moved (enhanced visibility).

git-svn-id: http://piwigo.org/svn/trunk@1832 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-17 10:38:21 +00:00
vdigital 92192fdd7c 0000645: HTML Conformity (Temporary fixed)
Description 	1- tags.php/tags.tpl    Need to be fixed more... see FIXME in tags.tpl
when no tags are available.

2- search.php => Remove class="bouton" : Done


 0000648: CSS Conformity (1) (Partly fixed)
Description
clear/theme.css + dark/theme
54 #content UL.thumbnails SPAN.wrap2:hover Propriété érronée : background-color AntiqueWhite n'est pas une valeur de color : AntiqueWhite
60 #content UL.thumbnailCategories DIV.thumbnailCategory:hover Propriété érronée : background-color AntiqueWhite n'est pas une valeur de color : AntiqueWhite
66 #content UL.thumbnailCategories DIV.thumbnailCategory:hover A Propriété érronée : background-color AntiqueWhite n'est pas une valeur de color : AntiqueWhite

wipi/theme.css et p0w0
274 .2nmore En CSS1, il était possible d'avoir un nom de classe commençant par un chiffre (".55xx") sauf s'il s'agissait d'une dimension (".55cm"). En CSS2, de tels noms sont analysés comme étant des dimensions inconnues, pour permettre l'ajout de nouvelles unités).To make ".2nmore" a valid class, CSS2 requires the first digit to be escaped (".\32nmore")

w0p0
247 Le pseudo-élément ::after ne peut apparaitre dans le contexte css2
247 #content H2 Propriété érronée : content leader(dotted) n'est pas une valeur de content : leader(dotted)

git-svn-id: http://piwigo.org/svn/trunk@1830 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-16 21:28:50 +00:00
rub 1ddc82e510 - reduced size of clear/wipi theme.css by combining selectors with identical
content
- don't send comment/user notification to admin/adviser

git-svn-id: http://piwigo.org/svn/trunk@1828 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-16 06:24:25 +00:00
rub dcc509b7d0 Hover touch experiment on themes!
git-svn-id: http://piwigo.org/svn/trunk@1812 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-13 22:42:27 +00:00
rub f02ef033ad Issue 0000598: NBM: Add new informations
VDigital structure applied!

git-svn-id: http://piwigo.org/svn/trunk@1807 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-11 12:17:41 +00:00
vdigital 3c540c2d6f Dynamic templates for NBM
Just a second round...
I didn't test what's append for new pictures or comments.

git-svn-id: http://piwigo.org/svn/trunk@1805 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-11 08:50:43 +00:00
vdigital 042f9fc51c First try on clear theme for mail...
And xml template in yoga.

git-svn-id: http://piwigo.org/svn/trunk@1798 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-10 20:34:10 +00:00
rub 9adbcc7d13 Issue 0000598: NBM: Add new informations
Css style including on mail are save on separated files.
Default and local can be defined!

git-svn-id: http://piwigo.org/svn/trunk@1797 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-10 17:43:11 +00:00
vdigital 76a5808225 Evolution request 0000497: Insert information about theme on about.php
To mention Creative Commons pictures, Free for private use, ...
Totally optional.
Just precise what you want in About field (see any template/yoga/theme/.../themeconf.inc.php

git-svn-id: http://piwigo.org/svn/trunk@1779 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-04 20:42:26 +00:00
vdigital 4bcb544d8b Fix for 0000629: Adding display differences between physical and virtual categories
(Icon is displayed for people who have deficient vision).

git-svn-id: http://piwigo.org/svn/trunk@1755 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-25 07:26:28 +00:00
vdigital 073ab4a9e3 Feature "Admin Advices !" (Standard plugin) : May give you always now an advice on the administration page.
Quick solved list:
1 - Wording on EXIF/IPTC Advices
2 - Default language is English
3 - Some Transparency issues under IE
4 - Some Border issues
5 - PWG Menu moved from Advices Box to Intro.
6 - phpwebgallery.net URLs are available thru a new admin function pwg_URL()
7 - PWG Menu URL open in a new target (XHTML strict compliant (JS)).

git-svn-id: http://piwigo.org/svn/trunk@1724 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-15 22:44:48 +00:00
vdigital 551e803213 To solve a background issue in plugin perspective class="content" has been introduced and now it is spread to other distributed themes.
Don't be surprised by #content and .content they are different.

git-svn-id: http://piwigo.org/svn/trunk@1713 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-11 05:49:19 +00:00
rub cab8f98c4a Feature Issue ID 0000601: Filter all public pages with only recent elements
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
2006-12-21 21:38:20 +00:00
rvelices eae01904a5 feature 603: rating buttons presented with stars (full Javascript
on compatible browsers, otherwise default presentation)

git-svn-id: http://piwigo.org/svn/trunk@1657 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-15 04:57:45 +00:00
chrisaga 7e35acd1cd fix bug 484 : (again) fix rateButtons display broken by svn:1491
fix radio and checkbox display with Opera and IE (related to bug 490)

git-svn-id: http://piwigo.org/svn/trunk@1515 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-29 09:57:24 +00:00
rub 27aeab97e9 Resolved Issue ID 0000474 (Step 1):
o Rename index.htm into index.php
  o Add index.php on all sub-directories
  o Use an uniform source code of index.php (like /include/index.php)

(/index.php is of course not changed)




git-svn-id: http://piwigo.org/svn/trunk@1481 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-18 21:38:54 +00:00
nikrou a08cd1a583 svn merge -r1366:1371 from branch 1.6 into trunk
git-svn-id: http://piwigo.org/svn/trunk@1377 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-22 19:21:56 +00:00
nikrou ad45eccd33 issue 426 step 1 reverted:
svn merge -r1466:1465 .
svn merge -r1463:1462 .


git-svn-id: http://piwigo.org/svn/trunk@1376 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-22 18:17:47 +00:00
nikrou 57cf3ba758 Issue 426: first step; separation of admin and public into two templates
Need to simplify and delete files not needed


git-svn-id: http://piwigo.org/svn/trunk@1363 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-18 12:04:59 +00:00
chrisaga 5223db6a50 fix bug 400 : <td nowrap> dans l'historique, and improve history tables, plus some code formating
git-svn-id: http://piwigo.org/svn/trunk@1339 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-04 10:13:38 +00:00
rvelices 0510cfdc5a merge -r1285 in from branch-1_6 to trunk
bug 359: transform rating html A links to FORM because some bots rate 
pictures (even if rel="nofollow" is set)

git-svn-id: http://piwigo.org/svn/trunk@1286 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-28 04:38:36 +00:00
rvelices 18570279ef merge r1175 from branch-1_6 into trunk
fix: sessions

css 3px image border goes from both clear and dark to image.css

git-svn-id: http://piwigo.org/svn/trunk@1176 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-14 22:15:24 +00:00
chrisaga ba711b68b3 - Improve thumbnailCategories display : This new display looks quite good with both themes.
Handle long category description with automatic scrollbars.
	Got rid of the hr.separation which mess the display sometimes.

git-svn-id: http://piwigo.org/svn/trunk@1136 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-09 10:53:14 +00:00
rvelices 0971ce48d2 URL rewriting: capable of fully working with urls without ?
URL rewriting: works with image file instead of image id (change
make_picture_url to generate urls with file name instead of image id)

URL rewriting: completely works with category/best_rated and
picture/best_rated/534 (change 'category.php?' to 'category' in make_index_url
and 'picture.php?' to 'picture' in make_picture_url to see it)

fix: picture category display in upper bar

fix: function rate_picture variables and use of the new user type

fix: caddie icon appears now on category page

fix: admin element_set sql query was using storage_category_id column
(column has moved to #image_categories)

fix: replaced some old $_GET[xxx] with $page[xxx]

fix: pictures have metadata url (use ? parameter - might change later)

git-svn-id: http://piwigo.org/svn/trunk@1092 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-22 01:01:47 +00:00
rvelices 2a3d501213 improvement: calendar navigation now uses at maximum one navigation bar
together with a next/previous date links 

improvement: calendar view styles now shown in DIV.titrePage (I still need 
to move padding from H2 to DIV.titrePage ...)

fix: moved all calendar css colors from template to the theme

git-svn-id: http://piwigo.org/svn/trunk@1062 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-03 01:57:39 +00:00
rvelices 8f33338fed calendar improvement: month calendar view a la flickr
fix: html 4.01 compliant in rating.tpl

fix: issue with IE from version 1052 (redirect on access denied)

git-svn-id: http://piwigo.org/svn/trunk@1061 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-01 04:33:52 +00:00
rvelices 0e78db47de - remake of Remote sites and Synchronize:
- synchronization for remote and local sites are done by the same code
  - remote sites can update metadata now (not before) - bug 279
  - fixes bug 82: has_high column

- improve feature 280: user sort by filename

- fix path to template mimetypes icons

- bug 284: session cookie lifetime, deletion on logout and corrected issue 
when db upgrades were missing 

git-svn-id: http://piwigo.org/svn/trunk@1029 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-02-08 01:17:07 +00:00
plegall 4816aafc78 - manual merge -r976:977 from branch 1.5 (background color for comments)
git-svn-id: http://piwigo.org/svn/trunk@978 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-12-09 23:07:29 +00:00
chrisaga dc3c040399 improve template : split theme from template itself
rest of the job : template (yoga), themes (clear dark), and php to handle them


git-svn-id: http://piwigo.org/svn/trunk@960 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-12-03 17:33:38 +00:00