Über den Kalender

diaRice ist ein kostenloser PHP Bild Kalender in validem XHTML strict mehrsprachig, suchmaschinen-freundlich und template-basiert.

diarice0.5.0.zip (181,17 KB)

Automatische Überblend-Diaschau, Newsfeed RSS1.0, RSS2.0, Atom.

Multiples Design - skinbar, reines CSS-Layout, tabellenfrei!

Features

  • Internationalisierung/Lokalisierung
  • Ausgabe in Deutsch und Englisch sofort möglich
  • Weitere Sprachen möglich
  • MySQL-Datenbank nicht erforderlich
  • Einbindung der GD-Bibliothek nicht erforderlich
  • Automatische Diashow in Überblendtechnik
  • Komfortabler Adminbereich zum Verwalten der Bilder und Einstellungen
  • Mehrfachbenutzer-Unterstützung
  • Abgestufte Benutzerrechte-Vergabe
  • Multi-Uploads - bis zu 31 Bilder gleichzeitig hochladen
  • Bildbeschreibungen in mehreren Sprachen möglich
  • Besucherkommentare - Manuelle Spam-Filtereinstellungen möglich
  • Eigene Avatare
  • Drei unterschiedliche Skins zur Auswahl
  • Unterschiedliche Bildgrößen für Kalenderbilder möglich
  • Bilder und Kommentare zeitweilig offline stellen
  • Automatischer Wikipedialink des aktuellen Tages
  • Automatische Links für Social Bookmarks
  • Automatisches Newsfeed in den Versionen RSS1/RSS2/Atom
  • Strikt objektorientierte Programmierung
  • Module und Templates online modifizierbar
  • Suchmaschinen freundliches Umschreiben der URLs möglich

Screenshots

Design

Design theme dark Design theme grey Design theme white

Admin Section

Bilder ersetzen, offline stellen, umbenennen, löschen / zum Bildupload Neuen Order erstellen» Eigenes Profil anlegen / aktualisieren Benutzerrechte einsehen / ändern Besucher-Kommentare redaktionell bearbeiten / freigeben

Anleitung

Der folgende Text ist identisch mit dem Inhalt der Datei "liesmich.txt" im Stammordner des derzeit empfohlenen Installationspakets.

Wichtigste Änderungen
ab Version 0.5.0 (Sprache: Englisch)

Wenn Ihnen dieser Auszug nich genügt, können Sie hier sämtliche Änderungen seit 0.3.0 nachlesen:
Changelog

0.5.0
**********

07.30.2008 12:45 mda

modules/meta.php line 9
use local language for login link
alternate sequence of links in the meta menu

include/login.php, include/config.php
improved script-performance by conversion of double quotes to single quotes
redirects in above files now use absolute URI

lang/en.lang, lang/de.lang, lang/fr.lang line 134 - 144
Added some new items, eliminated spelling errors

07.30.2008 14:30 mda

feed.php
use current day for elem <updated>
improved script-performance by conversion of double quotes to single quotes

classes/calendar.inc.php line 851
bug fix: modification to c_combine_path() refresh functionality to make feed work again for logged in users
back ported that to the previous release!

07.30.2008 16:23 mda

classes/calendar.inc.php line 866
c_thumb() advanced creation of thumbnails:
added new property c_thumb_size to shrink images proportionally
added new hidden input to send preferred thumbnail size to the JavaScript file main.js via calendar_send_cofig_data

include/config.php line 163
added new input to edit the preferred thumbnail size

css/templates/dark.css line 253
added new class .upright to style upright thumbnails
use 9 instead of 10 pixels for padding

js/main.js line 565
added new var c_thumb_size in function extract_data() for preferred thumbnail size
function do_preview(ele) now resizes images to thumbnail size proportionally, too

classes/calendar.inc.php line 1044
added missing double quote :-( in function calendar_build_nav_year()
back ported that to the previous release!

templates/comment.php lines 162, 251
use of $_GET['submit'] instead of $_REQUEST['submit'] for the sake of Firefox
back ported that to the previous release!

js/main.js line 584
function do_preview(ele) uses className instead of setAttribute for IE's sake

classes/calendar.inc.php line 163
added check for chosen thumbnail-size (minimum 30px) when loading config file

07.31.2008 12:50 mda
liesmich.txt line 177, readme.txt line 176
removed instruction to reload the page after renaming/moving an image :-)
as this is no longer necessary :-)

liesmich.txt line 236 readme.txt line 236
updated download information: additional languages are available

include/lang_install.php
improved script-performance by conversion of double quotes to single quotes
redirects now use absolute URI

08.03.2008 01:05
classes/calendar.inc.php line 499
use method c_thumb() to create property c_thumb

08.03.2008 12:35
include/multi_uploader.php
conversion of double quotes to single quotes
redirect in above file now uses absolute URI
added new options for the amount of upload fields
display 2 upload fields by default (used to be 5)
remember the number of upload fields
use variable for output now

include/index.php line
multi_uploader.php is included (processed) now before the image output
in order to instantly display the uploaded images instead of the older images in the browser cache

classes/calendar.inc.php line 878
function c_thumb() now appends the className "refreshed" to freshly UPLOADED images as well

08.03.2008 13:43
include/uploader.php
Bug fix: Added missing parameters!!! in form attribute 'action' - the form is now being processed
conversion of double quotes to single quotes
redirect now uses absolute URI
use variable for output now
removed server info

include/index.php line 216-217
uploader.php is included (processed) now before the image output
in order to instantly display the uploaded image instead of the older image in the browser cache
in addition use of clearstatcache() to update the image information

08.12.2008 17:00
files/spamwords.txt line 21
some more spam words were added :-)

RC2_0.5.0
**********
10.05.2008 19:00 mda
modules/head.php line 43
fix for broken link: removed a typing error in the quick forwarding link

11.08.2008 20:30 mda
include/multi_uploader.php
line 42 added auto increment for var $start_num in order to auto-update the starting index
NEW: the multi upload form shows up automatically after a successful upload

11.08.2008 17:20
files/spamwords.txt line 24
some more spam words were added :-)

12.10.2008 22.30 mda
css/admin/black.css line 626
value for width of 'ul.gallery a image' increased to 76px

include/multi_uploader.php line 45 - 52
use of p class=server-message instead of br class=clear for server messages

12.31.2008 13:33 mda
lang/de.lang line 333
eliminated a spelling error

12.31.2008 14:05 mda
Due to a user request, I implemented as a principal change
an option in the configuration file 'config.php' to enable the
CALENDAR DISPLAY OF DATES IN THE FUTURE!!!, this being impossible
in all previous versions until now.
Certain changes had to be implemented in the core class calender.inc.php
for that purpose.
To bring the new functionality to the JavaScript version also,
some functions in the main.js had to be slightly modified as well.

classes/calendar.inc.php line 197
added constant CALENDER_NEVER_ENDS

classes/calendar.inc.php
function check_date ($year, $month, $day)
added check for constant CALENDER_NEVER_ENDS to enable display of days in the future

classes/calendar.inc.php line 392
added check for constant CALENDER_NEVER_ENDS to switch $this->c_end

classes/calendar.inc.php
function build_nav_year()
added check for constant CALENDER_NEVER_ENDS when building year navigation

classes/calendar.inc.php
function calendar_build_nav_month($my_year)
added check for constant CALENDER_NEVER_ENDS when building month navigation

classes/calendar.inc.php
function calendar_calendar_build_nav_day($my_year,$my_month)
added check for constant CALENDER_NEVER_ENDS when building day navigation

classes/calendar.inc.php
function send_config_data()
Modification to the Javascript import form - new hidden input added to
export the new CALENDAR_NEVER_ENDS setting

js/main.js line 160
function calendar_build_nav_year()
added check for global var c_never_ends

js/main.js line 177
function calendar_build_nav_month(my_year)
added check for global var c_never_ends

js/main.js line 209
function calendar_build_nav_day(my_year,my_month)
added check for global var c_never_ends

js/main.js line 291
calendar_show_date(my_year,my_month,my_day)
added check for global var c_never_ends

12.31.2008 17:07 mda
include/config.php line 146
added new option for CALENDER_NEVER_ENDS
NEW: use single quotes when saving the updated config_data.php

12.31.2008 17:40 mda
lang/en.lang, lang/de.lang, lang/fr.lang
added 3 new terms used for the calender delimiter option in the include/config.php

12.31.2008 19:20 mda
include/login.php, include/logout.php
added common shortcut icon to head of those documents

0.5.0
**********
01.01.2009 15:00 mda
classes/calendar.inc.php line 846
function combine_path(year,month,day)
bug fix: to prevent the failure in copying an empty image into a non existent folder
create those folders (year,month) on the fly
in case they don't exist

20:25 02.01.2009 mda
classes/calendar.inc.php line 16
Added new constant C_HOUR_OFFSET
classes/calendar.inc.php line 124
Use new constant C_HOUR_OFFSET to modify $this->c_todays_date

21:43 02.01.2009 mda
modules/navigation.php line 1
use long tag <?php instead of short tag <?

09:23 12.01.2009 mda
js/main.js line 146
rename calender_check_feb() to calendar_check_feb()
improvement: function calendar_check_feb() use modulo operation to check for leap year

15:05 13.01.2009 mda
classes/calendar.inc.php line 890
function c_thumb() add check for $_POST['filename']

classes/calendar.inc.php line 323
bug fix: class calendar() set to global $_LANG;

include/index.php on line 58
added check for $_GET['mode']
performance: use single quotes for strings now

classes/calendar.inc.php on line 1367
function admin_build_sidebar()
added check for $_GET['year']) and $_GET['month']
added action=show to comment hyperlink

include/multi_uploader.php on line 21
added check for $_FILES['file']

classes/editor.inc.php
performance: use single quotes for strings now

templates/comment.php
performance: use single quotes for strings now

include/logout.php on line 25
added check for $_GET['set_online']

include/index.php on line 394
added check for $_GET['action']

classes/comment.inc.php
usability: added params for month and year to enable highlighted menu-items
to the editing link's query string in function info()
and to the form action, the delete button, the add note button
in the function frontend()

classes/calendar.inc.php on line 538
refine check for $_GET['go']

classes/calendar.inc.php on line 540
added check for c_image_description[$this->c_day]
when checking for comments

templates/comment.php
bug fix: form-field text, editor and form submit button now show up
when check for anti spam is disabled

classes/calendar.inc.php
function status_link_switch(),
function dele_button()
usability: added params for month and year
to enable highlighted menu-items

classes/calendar.inc.php on line 121
bug fix: use string 'index.php' instead of
basename($_SERVER['PHP_SELF']) for c_filename
So urls in feed.php will point to the calendar
and not to the feed itself :-( :angry!

18:55 14.01.2009 mda
Added new functionality to regulate the server's time:

NOTE: It's the adjusted server time from now on
that is been displayed in the header
of all pages in the admin section!

classes/calendar.inc.php on line 156
config: don't block setting c_first_year to a year in the future anymore
(as this might make sense for somebody maybe)

moved code block setting the calendar's current date
below the block loading the config settings
to enable adjusting the server time via config.php
(var $hour_offset, constant C_HOUR_OFFSET)

include/config.php on line 157
added new input field for hour_offset to adjust server time

lang/de.lang, lang/en.lang
added 2 new definitions for server time management

css/admin/admin.css, css/admin/black.css
added new class .short to modify display of new input field hour_offset

include/setup.php
bugfix: added auto-fill in for config values
$calendar_never_ends and $hour_offset to step 6 of the setup
(minor bugfix as default value for both is 0)

11:47 15.01.2009 mda
classes/calendar.inc.php
moved the code block that creates the constant C_TODAYS_DATE
- as it should be regulated by the value of C_HOUR_OFFSET -
from the very top to a later position on line 190
classes/calendar.inc.php on line 185
create config vars $calendar_never_ends and $hour_offset
for cofig file upgrades (all versions <5)

classes/calendar.inc.php
rename var $calender_never_ends to $never_ends
rename CALENDER_NEVER_ENDS to C_NEVER_ENDS
func send_config_data() rename form-field calendar_never_ends to never_ends
on line 543: added check for $this->c_image_description[$this->c_day]

include/config.php on line 147 - 150
rename var $calender_never_ends to $never_ends
rename form-field calendar_never_ends to never_ends

js/main.js line 103 func extract_data() use form.elements["never_ends"]

14:08 15.01.2009
Brought in new functionality to select the first day of the week
(this was Sunday by default)
classes/calendar.inc.php
added new constant C_FIRST_WDAY on line 196;
func calendar_build_nav_day() create help array: w_s_o = week sort order
func calendar_build_nav_day() create 7 <col /> elements to highlight the Sunday col
func calendar_build_nav_day() create <th> elements in sequence of w_s_o
func calendar_build_nav_day() day name of the first day of month
is now regulated by the flipping of w_s_o
func send_config_data() added new input first_wday to the export form

js/main.js line 100 func extract_data() use form.elements["first_wday"]
on line 216 function calendar_build_nav_day() create help array w_s_o
in dependence from c_first_wday setting

include/config.php
added new input field first_wday

lang/de.lang, lang/en.lang
added 2 new _LANG[] vars for first day of the week: time_wday and dfn_first_wday

include/profile_edit.php
conversion from double to single quotes
bug fix: removed uninitialized var $PHP_SELF from form action attribute

classes/profile_inc.php
performance: conversion from double to single quotes

include/setup.php
performance: conversion from double to single quotes
on line 313 replace $image_path with $_POST['image_path']

12:01 16.01.2009 mda
include/setup.php step 6
added auto-fill in for config value $first_wday
bug fix: added two missing config values $meta_description and $thumb_size

include/config.php
usability: use select list to feed config value $first_wday
instead of an input field

classes/calendar.inc.php
bug fix: use $_GET['year'] not $this->c_year to add a 29th day to Feb and so
make Feb 29 appear in file include/index.php when in monthly overview.
Moved that code block up to line 258 where most calendar's date vars are constructed
By the way: use a modulo operation instead of func checkdate() from now on

modules/footer.php
starting year of the calendar is now indicated in the images' copyright notice

classes/calendar.inc.php
bug fix: function set_online() now works correctly with values both in single and
double quotes

15:14 17.01.2009 mda
include/multi_uploader.php
default number of file upload fields is now set to 1 (used to be 2)

14:19 19.01.2009 mda
new file added: classes/upload_mngr.inc.php
new class added: upload_mngr
removed file include/multi_uploader.php and file include/uploader.php
as obsolet
using a class makes file uploads now even more user friendly:
the upload_mngr will auto suggest a first (empty) image to be replaced by
the user's upload via the multi upload form

include/index.php
use the class upload_mngr instead of the old files
for single/multi image uploads to the month directories
on line 306 replaced <br class="clear" /> by <br style="clear:left" />
to move the upload form up (important in case the menu list gets very long)

16:41 19.01.2009 mda
classes/calendar.inc.php
new method added: img_is_dummy()
this helps decide whether an existing image
is a simple empty substitute to be preferebly replaced by an upload

include/profile_edit.php
display: added style="height:auto;" to preserve image select list height

13:30 20.01.2009 mda
css/template/dark.css
display: #image-comtainer, #navigation li.back-forward
moved both 40px down
added default highlight background color for h1 a:hover span

css/template/diaRice_dark.jpg
brighten up the dark version of the diaRice logo (reflection & shadow)

modules/meta.php
use maroon color, markup <strong> and attribute rel="external"
for the diaRice support link

templates/profile.php,
templates/calendar.php,
templates/editorial.php,
templates/main.php,
templates/people.php,
templates/privacy.php,
templates/thanks.php
performance: conversion from double to single quotes

templates/comments.php
bugfix: fixed $url_to_edit (the quick link for the admin
to edit a new comment that is sent by email)
bugfix: line 168, 264: check for $_POST['submit'] instead of $_GET['submit']
don't set _POST['submit'] to 1 for _SESSION['auth'] anymore;
check with isset(_SESSION['auth']) for auto fill the submit form

use methods build_head() and build_banner() to create the top of the comment page
when the form is processed after submit

line 174: use id #comment for the body of ?go=comment
line 183: therefore renamed div#comment to div#comment-wrap

templates/calendar.php
line 74: also renamed div#comment to div#comment-wrap

css/template/dark.css,
css/template/grey.css,
css/template/white.css
all comment rules changed according to change from div#comment to div#comment-wrap

js/main.js
func calendar_show_date()
line 393: check for element with id #comment-wrap instead of #comment before checking comments
line 395 bugfix: unescape querystring &go=comments when resetting the form action attribute

22:34 20.01.2009 mda
include/menu.php added param action=show to querystring menu comments

include/index.php on line 433
performance: check for $_GET['action']!='show', then save down
extlinks and comments to database

modules/head.php on line 53: added current year to the copyright notice

13:47 21.01.2009 mda
include/credits.php
performance: conversion from double to single quotes
download supporting link now points to url http://webdaum.de/diarice/#a-download

new file added: include/help.php

include/menu.php added new menu item help
modules/footer.php added new menu item help

classes/calendar.inc.php
added new internal url c_url['help']
added new external url c_url['support']
added new external url c_url['download']
added new external url c_url['version_compare']
this brings in a new functionality: easily check for
version upgrades at the diaRice support page! :-)

lang/de.lang, lang/en.lang
added new tooltip tt_help
added new tooltip tt_upgrade
added new title title_help
added new definition dfn_version
added new definition dfn_version_compare

lang/translate.php
performance: reduce use of function trim()

include/config.php
display: document heading after form submit is now wrapped in h1 tag

module/head.php use strip_tags() for document title

Fotokalender - Version herunterladen

Direkter Link zur derzeit empfohlenen, neuesten stabilen Version 0.5.0: diarice0.5.0.zip (181,17 KB)

Es stehen auch noch ältere Versionen zur Verfügung:

Sie können gerne auch eine experimentelle Version des Kalenders herunterladen:

Kontakt

Michael Daum
Sportplatzstraße 10

D-86494 Emersacker

diaRice(at)webdaum(dot)de


Sie können diaRice unterstützen, indem Sie die Sprachdateien in eine Landessprache übersetzen.
Jede Art von Hilfe - z.B. Fehlermeldungen - ist willkommen!