You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(43) |
Nov
(73) |
Dec
(10) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(34) |
Feb
(110) |
Mar
(24) |
Apr
(44) |
May
(37) |
Jun
(22) |
Jul
(20) |
Aug
(28) |
Sep
(50) |
Oct
(11) |
Nov
(132) |
Dec
(595) |
2002 |
Jan
(1099) |
Feb
(579) |
Mar
(63) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(125) |
Sep
(101) |
Oct
(25) |
Nov
(34) |
Dec
(47) |
2003 |
Jan
(82) |
Feb
(182) |
Mar
(71) |
Apr
(3) |
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
(14) |
Oct
(6) |
Nov
(124) |
Dec
(68) |
2004 |
Jan
(64) |
Feb
(191) |
Mar
(199) |
Apr
(298) |
May
(252) |
Jun
(426) |
Jul
(134) |
Aug
(13) |
Sep
(96) |
Oct
(75) |
Nov
(232) |
Dec
(171) |
2005 |
Jan
(205) |
Feb
(165) |
Mar
(8) |
Apr
(74) |
May
(21) |
Jun
(19) |
Jul
(37) |
Aug
(69) |
Sep
(141) |
Oct
(118) |
Nov
(31) |
Dec
(7) |
2006 |
Jan
(5) |
Feb
(10) |
Mar
(35) |
Apr
(24) |
May
(34) |
Jun
(29) |
Jul
(5) |
Aug
(38) |
Sep
(30) |
Oct
(37) |
Nov
(30) |
Dec
(86) |
2007 |
Jan
(414) |
Feb
(40) |
Mar
(18) |
Apr
(10) |
May
(66) |
Jun
(60) |
Jul
(105) |
Aug
(55) |
Sep
(64) |
Oct
(7) |
Nov
(11) |
Dec
(5) |
2008 |
Jan
(26) |
Feb
(28) |
Mar
(79) |
Apr
(34) |
May
(61) |
Jun
(24) |
Jul
(29) |
Aug
(160) |
Sep
(62) |
Oct
(70) |
Nov
(32) |
Dec
(14) |
2009 |
Jan
(140) |
Feb
(135) |
Mar
(153) |
Apr
(53) |
May
(24) |
Jun
(138) |
Jul
(90) |
Aug
(46) |
Sep
(72) |
Oct
(84) |
Nov
(32) |
Dec
(4) |
2010 |
Jan
(13) |
Feb
(7) |
Mar
(14) |
Apr
(55) |
May
(89) |
Jun
(131) |
Jul
(41) |
Aug
(38) |
Sep
(42) |
Oct
(11) |
Nov
(27) |
Dec
(54) |
2011 |
Jan
(127) |
Feb
(16) |
Mar
(71) |
Apr
(52) |
May
(32) |
Jun
(31) |
Jul
(4) |
Aug
|
Sep
(45) |
Oct
(26) |
Nov
(36) |
Dec
(10) |
2012 |
Jan
(23) |
Feb
(6) |
Mar
(13) |
Apr
(18) |
May
(1) |
Jun
(4) |
Jul
(3) |
Aug
(12) |
Sep
(57) |
Oct
(96) |
Nov
(163) |
Dec
(124) |
2013 |
Jan
(11) |
Feb
(17) |
Mar
(7) |
Apr
(48) |
May
(15) |
Jun
(29) |
Jul
(12) |
Aug
|
Sep
(9) |
Oct
|
Nov
|
Dec
(3) |
2014 |
Jan
(4) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(8) |
Jun
(90) |
Jul
(104) |
Aug
(12) |
Sep
(81) |
Oct
(139) |
Nov
(111) |
Dec
(64) |
2015 |
Jan
(46) |
Feb
(74) |
Mar
(56) |
Apr
(61) |
May
(3) |
Jun
(7) |
Jul
(11) |
Aug
(5) |
Sep
(15) |
Oct
(1) |
Nov
(1) |
Dec
(15) |
2016 |
Jan
(25) |
Feb
(33) |
Mar
(24) |
Apr
(4) |
May
(24) |
Jun
(3) |
Jul
(75) |
Aug
|
Sep
(2) |
Oct
(38) |
Nov
(4) |
Dec
(18) |
2017 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
|
May
(14) |
Jun
|
Jul
(5) |
Aug
(9) |
Sep
|
Oct
(23) |
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(9) |
Apr
(60) |
May
(1) |
Jun
|
Jul
(13) |
Aug
|
Sep
(11) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
(15) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(47) |
2021 |
Jan
(24) |
Feb
(33) |
Mar
(1) |
Apr
|
May
(1) |
Jun
(64) |
Jul
(71) |
Aug
(114) |
Sep
(82) |
Oct
(32) |
Nov
(76) |
Dec
(86) |
2022 |
Jan
(162) |
Feb
(41) |
Mar
(11) |
Apr
(9) |
May
|
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(7) |
2023 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(25) |
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
|
2024 |
Jan
(7) |
Feb
(3) |
Mar
(3) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
(90) |
Mar
(19) |
Apr
|
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <var...@us...> - 2015-04-10 13:12:23
|
Revision: 9651 http://sourceforge.net/p/phpwiki/code/9651 Author: vargenau Date: 2015-04-10 13:12:21 +0000 (Fri, 10 Apr 2015) Log Message: ----------- Update translations Modified Paths: -------------- trunk/locale/Makefile trunk/locale/de/LC_MESSAGES/phpwiki.mo trunk/locale/es/LC_MESSAGES/phpwiki.mo trunk/locale/fr/LC_MESSAGES/phpwiki.mo trunk/locale/it/LC_MESSAGES/phpwiki.mo trunk/locale/ja/LC_MESSAGES/phpwiki.mo trunk/locale/nl/LC_MESSAGES/phpwiki.mo trunk/locale/po/de.po trunk/locale/po/es.po trunk/locale/po/fr.po trunk/locale/po/it.po trunk/locale/po/ja.po trunk/locale/po/nl.po trunk/locale/po/phpwiki.pot trunk/locale/po/sv.po trunk/locale/po/zh.po trunk/locale/sv/LC_MESSAGES/phpwiki.mo trunk/locale/zh/LC_MESSAGES/phpwiki.mo Modified: trunk/locale/Makefile =================================================================== --- trunk/locale/Makefile 2015-04-10 13:09:11 UTC (rev 9650) +++ trunk/locale/Makefile 2015-04-10 13:12:21 UTC (rev 9651) @@ -392,12 +392,15 @@ ${POT_FILE}: .././RPC2.php ${POT_FILE}: .././SOAP.php ${POT_FILE}: .././themes/alphatest.php +${POT_FILE}: .././themes/blog/jscalendar/calendar.php +${POT_FILE}: .././themes/blog/jscalendar/test.php ${POT_FILE}: .././themes/blog/lib/RecentChanges.php ${POT_FILE}: .././themes/blog/templates/actionbar.tmpl ${POT_FILE}: .././themes/blog/templates/body.tmpl ${POT_FILE}: .././themes/blog/templates/bottom.tmpl ${POT_FILE}: .././themes/blog/templates/browse-footer.tmpl ${POT_FILE}: .././themes/blog/templates/browse.tmpl +${POT_FILE}: .././themes/blog/templates/calendar.tmpl ${POT_FILE}: .././themes/blog/templates/debug.tmpl ${POT_FILE}: .././themes/blog/templates/info.tmpl ${POT_FILE}: .././themes/blog/templates/navbar.tmpl @@ -507,7 +510,6 @@ ${POT_FILE}: .././themes/Sidebar/hyperwiki.php ${POT_FILE}: .././themes/Sidebar/templates/actionbar.tmpl ${POT_FILE}: .././themes/Sidebar/templates/body.tmpl -${POT_FILE}: .././themes/Sidebar/templates/calendar.tmpl ${POT_FILE}: .././themes/Sidebar/templates/content.tmpl ${POT_FILE}: .././themes/Sidebar/templates/debug.tmpl ${POT_FILE}: .././themes/Sidebar/templates/dump-footer.tmpl Modified: trunk/locale/de/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/es/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/fr/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/it/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/ja/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/nl/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/po/de.po =================================================================== --- trunk/locale/po/de.po 2015-04-10 13:09:11 UTC (rev 9650) +++ trunk/locale/po/de.po 2015-04-10 13:12:21 UTC (rev 9651) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-11 16:01+0100\n" +"POT-Creation-Date: 2015-04-10 15:10+0200\n" "PO-Revision-Date: 2000-10-31 02:23+0200\n" "Last-Translator: Reini Urban <ru...@x-...>, Carsten Klapp " "<car...@us...>, Helmer Pardun <pardunpress@t-online." @@ -5300,15 +5300,6 @@ "Wenn Sie diese Seite jetzt speichern, wird die aktuelle Version " "überschrieben." -msgid "H" -msgstr "H." - -msgid "W" -msgstr "Br." - -msgid "Adjust" -msgstr "Justieren" - msgid "Page Content: " msgstr "Inhalt: " @@ -6104,6 +6095,15 @@ msgid "Y-m-d H:i" msgstr "" +#~ msgid "H" +#~ msgstr "H." + +#~ msgid "W" +#~ msgstr "Br." + +#~ msgid "Adjust" +#~ msgstr "Justieren" + #~ msgid "PgsrcTranslation" #~ msgstr "PgsrcTranslation" Modified: trunk/locale/po/es.po =================================================================== --- trunk/locale/po/es.po 2015-04-10 13:09:11 UTC (rev 9650) +++ trunk/locale/po/es.po 2015-04-10 13:12:21 UTC (rev 9651) @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-11 16:01+0100\n" +"POT-Creation-Date: 2015-04-10 15:10+0200\n" "PO-Revision-Date: 2000-02-01 00:50-0500\n" "Last-Translator: Pablo Roca <pr...@cl...>\n" "Language-Team: \n" @@ -5175,15 +5175,6 @@ msgid "Saving this page will overwrite the current version." msgstr "Ahorrando esta página sobreescribirá la versión actual." -msgid "H" -msgstr "Al" - -msgid "W" -msgstr "An" - -msgid "Adjust" -msgstr "" - msgid "Page Content: " msgstr "Contenido De la Página: " @@ -5928,6 +5919,12 @@ msgid "Y-m-d H:i" msgstr "" +#~ msgid "H" +#~ msgstr "Al" + +#~ msgid "W" +#~ msgstr "An" + #~ msgid "Columns: %s." #~ msgstr "Columnas: %s." Modified: trunk/locale/po/fr.po =================================================================== --- trunk/locale/po/fr.po 2015-04-10 13:09:11 UTC (rev 9650) +++ trunk/locale/po/fr.po 2015-04-10 13:12:21 UTC (rev 9651) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-11 16:01+0100\n" +"POT-Creation-Date: 2015-04-10 15:10+0200\n" "PO-Revision-Date: 2004-06-22 21:10+0200\n" "Last-Translator: Pierrick Meignen <mei...@wa...>, Roland " "Trique <rol...@fr...>, Stéphane Gourichon <stephane.gourichon@lip6." @@ -5244,15 +5244,6 @@ msgid "Saving this page will overwrite the current version." msgstr "Enregistrer cette page écrasera la version actuelle." -msgid "H" -msgstr "H" - -msgid "W" -msgstr "L" - -msgid "Adjust" -msgstr "Ajuster" - msgid "Page Content: " msgstr "Contenu de la page : " @@ -6016,6 +6007,15 @@ msgid "Y-m-d H:i" msgstr "" +#~ msgid "H" +#~ msgstr "H" + +#~ msgid "W" +#~ msgstr "L" + +#~ msgid "Adjust" +#~ msgstr "Ajuster" + #~ msgid "PgsrcTranslation" #~ msgstr "TraductionPgsrc" Modified: trunk/locale/po/it.po =================================================================== --- trunk/locale/po/it.po 2015-04-10 13:09:11 UTC (rev 9650) +++ trunk/locale/po/it.po 2015-04-10 13:12:21 UTC (rev 9651) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-11 16:01+0100\n" +"POT-Creation-Date: 2015-04-10 15:10+0200\n" "PO-Revision-Date: 2005-02-12 16:23+0100\n" "Last-Translator: Antonio Bonifati ant[(at)]monitor.deis.unical.it\n" "Language-Team: \n" @@ -5120,15 +5120,6 @@ msgid "Saving this page will overwrite the current version." msgstr "" -msgid "H" -msgstr "A" - -msgid "W" -msgstr "L" - -msgid "Adjust" -msgstr "" - msgid "Page Content: " msgstr "" @@ -5869,6 +5860,12 @@ msgid "Y-m-d H:i" msgstr "" +#~ msgid "H" +#~ msgstr "A" + +#~ msgid "W" +#~ msgstr "L" + #~ msgid "Columns: %s." #~ msgstr "Caratteri: %s." Modified: trunk/locale/po/ja.po =================================================================== --- trunk/locale/po/ja.po 2015-04-10 13:09:11 UTC (rev 9650) +++ trunk/locale/po/ja.po 2015-04-10 13:12:21 UTC (rev 9651) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-11 16:01+0100\n" +"POT-Creation-Date: 2015-04-10 15:10+0200\n" "PO-Revision-Date: 2003-06-07 09:01+0900\n" "Last-Translator: Tadashi Jokagi <web...@el...>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -5277,15 +5277,6 @@ msgid "Saving this page will overwrite the current version." msgstr "" -msgid "H" -msgstr "高さ" - -msgid "W" -msgstr "幅" - -msgid "Adjust" -msgstr "調整" - msgid "Page Content: " msgstr "" @@ -6065,6 +6056,15 @@ msgid "Y-m-d H:i" msgstr "" +#~ msgid "H" +#~ msgstr "高さ" + +#~ msgid "W" +#~ msgstr "幅" + +#~ msgid "Adjust" +#~ msgstr "調整" + #~ msgid "Count" #~ msgstr "カウント" Modified: trunk/locale/po/nl.po =================================================================== --- trunk/locale/po/nl.po 2015-04-10 13:09:11 UTC (rev 9650) +++ trunk/locale/po/nl.po 2015-04-10 13:12:21 UTC (rev 9651) @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-11 16:01+0100\n" +"POT-Creation-Date: 2015-04-10 15:10+0200\n" "PO-Revision-Date: 2000-09-30 02:23+0200\n" "Last-Translator: Jan Nieuwenhuizen <ja...@gn...>\n" "Language-Team: Dutch <nl...@li...>\n" @@ -5112,15 +5112,6 @@ msgid "Saving this page will overwrite the current version." msgstr "" -msgid "H" -msgstr "H" - -msgid "W" -msgstr "B" - -msgid "Adjust" -msgstr "" - msgid "Page Content: " msgstr "" @@ -5859,6 +5850,12 @@ msgid "Y-m-d H:i" msgstr "" +#~ msgid "H" +#~ msgstr "H" + +#~ msgid "W" +#~ msgstr "B" + #~ msgid "Wanted Pages in this wiki (%d total):" #~ msgstr "De %d meestbezochte pagina's van deze Wiki:" Modified: trunk/locale/po/phpwiki.pot =================================================================== --- trunk/locale/po/phpwiki.pot 2015-04-10 13:09:11 UTC (rev 9650) +++ trunk/locale/po/phpwiki.pot 2015-04-10 13:12:21 UTC (rev 9651) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki-1.5.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-11 16:01+0100\n" +"POT-Creation-Date: 2015-04-10 15:10+0200\n" "PO-Revision-Date: 2002-12-14 17:51-0500\n" "Last-Translator: Reini Urban <ru...@us...>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -5104,15 +5104,6 @@ msgid "Saving this page will overwrite the current version." msgstr "" -msgid "H" -msgstr "" - -msgid "W" -msgstr "" - -msgid "Adjust" -msgstr "" - msgid "Page Content: " msgstr "" Modified: trunk/locale/po/sv.po =================================================================== --- trunk/locale/po/sv.po 2015-04-10 13:09:11 UTC (rev 9650) +++ trunk/locale/po/sv.po 2015-04-10 13:12:21 UTC (rev 9651) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-11 16:01+0100\n" +"POT-Creation-Date: 2015-04-10 15:10+0200\n" "PO-Revision-Date: 2001-01-27 01:58+0200\n" "Last-Translator: Jon Åslund <jo...@he...>\n" "Language-Team: \n" @@ -5105,15 +5105,6 @@ msgid "Saving this page will overwrite the current version." msgstr "" -msgid "H" -msgstr "H" - -msgid "W" -msgstr "B" - -msgid "Adjust" -msgstr "Justera" - msgid "Page Content: " msgstr "" @@ -5851,3 +5842,12 @@ msgid "Y-m-d H:i" msgstr "" + +#~ msgid "H" +#~ msgstr "H" + +#~ msgid "W" +#~ msgstr "B" + +#~ msgid "Adjust" +#~ msgstr "Justera" Modified: trunk/locale/po/zh.po =================================================================== --- trunk/locale/po/zh.po 2015-04-10 13:09:11 UTC (rev 9650) +++ trunk/locale/po/zh.po 2015-04-10 13:12:21 UTC (rev 9651) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-11 16:01+0100\n" +"POT-Creation-Date: 2015-04-10 15:10+0200\n" "PO-Revision-Date: 2004-04-21 10:08+0800\n" "Last-Translator: DruryL <dr...@us...>\n" "Language-Team: DruryL <dr...@us...>\n" @@ -5367,15 +5367,6 @@ msgid "Saving this page will overwrite the current version." msgstr "儲存此頁面將會覆寫掉目前版本." -msgid "H" -msgstr "高" - -msgid "W" -msgstr "寬" - -msgid "Adjust" -msgstr "調整" - #, fuzzy msgid "Page Content: " msgstr "內容: " @@ -6169,6 +6160,15 @@ msgid "Y-m-d H:i" msgstr "" +#~ msgid "H" +#~ msgstr "高" + +#~ msgid "W" +#~ msgstr "寬" + +#~ msgid "Adjust" +#~ msgstr "調整" + #~ msgid "Wanted Pages for %s (%d total):" #~ msgstr "%s 所需要的頁面 (共 %d):" Modified: trunk/locale/sv/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/zh/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-10 13:09:14
|
Revision: 9650 http://sourceforge.net/p/phpwiki/code/9650 Author: vargenau Date: 2015-04-10 13:09:11 +0000 (Fri, 10 Apr 2015) Log Message: ----------- Remove unused icon ed_redo.png Modified Paths: -------------- trunk/lib/EditToolbar.php Removed Paths: ------------- trunk/themes/default/images/ed_redo.png Modified: trunk/lib/EditToolbar.php =================================================================== --- trunk/lib/EditToolbar.php 2015-04-10 13:07:49 UTC (rev 9649) +++ trunk/lib/EditToolbar.php 2015-04-10 13:09:11 UTC (rev 9650) @@ -252,7 +252,6 @@ if (defined('JS_SEARCHREPLACE') and JS_SEARCHREPLACE) { $undo_d_btn = $WikiTheme->getImageURL("ed_undo_d.png"); - //$redo_btn = $WikiTheme->getImageURL("ed_redo.png"); $sr_btn = $WikiTheme->getImageURL("ed_replace.png"); //TODO: generalize the UNDO button and fix it for Search & Replace $sr_html = HTML(HTML::img @@ -261,8 +260,6 @@ 'src' => $undo_d_btn, 'title' => _("Undo Search & Replace"), 'alt' => _("Undo Search & Replace"), - //'disabled'=>"disabled", //non-XHTML conform - //'onfocus' =>"if(this.blur && undo_buffer_index==0) this.blur()", 'onclick' => "do_undo()")), HTML::img (array('class' => "toolbar", Deleted: trunk/themes/default/images/ed_redo.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-10 13:07:52
|
Revision: 9649 http://sourceforge.net/p/phpwiki/code/9649 Author: vargenau Date: 2015-04-10 13:07:49 +0000 (Fri, 10 Apr 2015) Log Message: ----------- Better icons Modified Paths: -------------- trunk/themes/default/images/ed_pages.png trunk/themes/default/images/ed_replace.png trunk/themes/default/images/ed_template.png trunk/themes/default/images/ed_undo.png trunk/themes/default/images/ed_undo_d.png Modified: trunk/themes/default/images/ed_pages.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_replace.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_template.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_undo.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_undo_d.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-10 09:42:25
|
Revision: 9648 http://sourceforge.net/p/phpwiki/code/9648 Author: vargenau Date: 2015-04-10 09:42:17 +0000 (Fri, 10 Apr 2015) Log Message: ----------- Remove Width and Height preferences modification in Edit Toolbar Modified Paths: -------------- trunk/pgsrc/ReleaseNotes trunk/themes/Crao/templates/editpage.tmpl trunk/themes/Portland/templates/editpage.tmpl trunk/themes/Wordpress/templates/editpage.tmpl trunk/themes/default/templates/editpage.tmpl trunk/themes/fusionforge/templates/editpage.tmpl Modified: trunk/pgsrc/ReleaseNotes =================================================================== --- trunk/pgsrc/ReleaseNotes 2015-04-09 09:16:25 UTC (rev 9647) +++ trunk/pgsrc/ReleaseNotes 2015-04-10 09:42:17 UTC (rev 9648) @@ -1,4 +1,4 @@ -Date: Wed, 1 Apr 2015 18:29:22 +0000 +Date: Wed, 10 Apr 2015 11:29:22 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.3) Content-Type: application/x-phpwiki; pagename=ReleaseNotes; @@ -14,6 +14,7 @@ * Remove ~WantedPagesOld (use ~WantedPages instead) * Add WebM format in Video plugin * Update jscalendar to 1.0 +* Remove Width and Height preferences modification in Edit Toolbar == 1.5.3 2015-03-04 Marc-Etienne Vargenau == Modified: trunk/themes/Crao/templates/editpage.tmpl =================================================================== --- trunk/themes/Crao/templates/editpage.tmpl 2015-04-09 09:16:25 UTC (rev 9647) +++ trunk/themes/Crao/templates/editpage.tmpl 2015-04-10 09:42:17 UTC (rev 9648) @@ -20,19 +20,9 @@ accept-charset="UTF-8"> <?php if (!empty($_GET['start_debug'])) echo '<input type="hidden" name="start_debug" value="1" >'; ?> <br class="clear-floats" /> - <table class="fullwidth"> - <tr> - <td> - <?php if (isset($EDIT_TOOLBAR)) { ?> - <?php echo $EDIT_TOOLBAR ?> - <?php } ?> - </td> - <td class="align-right"><div id="editarea-size"> - <?php echo _("Size")._(":") ?> - <label for="pref-editHeight"><b><?php echo _("H")?></b></label> <?php echo $HEIGHT_PREF?> - <label for="pref-editWidth"><b><?php echo _("W")?></b></label> <?php echo $WIDTH_PREF?> - <noscript><?php echo Button("submit:", _("Adjust"), 'wikiaction')?></noscript> - </div></td></tr></table> + <?php if (isset($EDIT_TOOLBAR)) { ?> + <?php echo $EDIT_TOOLBAR ?> + <?php } ?> <fieldset class="editarea"> <legend><?php echo _("Page Content: ")?></legend> <a id="editarea"></a><?php echo $EDIT_TEXTAREA?> Modified: trunk/themes/Portland/templates/editpage.tmpl =================================================================== --- trunk/themes/Portland/templates/editpage.tmpl 2015-04-09 09:16:25 UTC (rev 9647) +++ trunk/themes/Portland/templates/editpage.tmpl 2015-04-10 09:42:17 UTC (rev 9648) @@ -29,12 +29,6 @@ <?php echo fmt("I'm just doing minor edits. Please divert the usual logging to %s instead.", WikiLink(_("RecentEdits"))) ?> <br /> -<p> - <?php echo _("Edit Area Size")?>: <b><?php echo _("H")?></b> <?php echo $HEIGHT_PREF?> - <b><?php echo _("W")?></b> <?php echo $WIDTH_PREF?> - <?php echo Button("submit:", _("Adjust"), 'wikiaction')?> -</p> - <?php if (isset($PREVIEW_CONTENT)) { ?> <hr /> <p><strong><?php echo _("Preview only! Changes not saved.")?></strong></p> Modified: trunk/themes/Wordpress/templates/editpage.tmpl =================================================================== --- trunk/themes/Wordpress/templates/editpage.tmpl 2015-04-09 09:16:25 UTC (rev 9647) +++ trunk/themes/Wordpress/templates/editpage.tmpl 2015-04-10 09:42:17 UTC (rev 9648) @@ -21,19 +21,9 @@ </td> </tr> </table> -<table class="fullwidth"> - <tr> - <td> - <?php if (isset($EDIT_TOOLBAR)) { ?> - <?php echo $EDIT_TOOLBAR ?> - <?php } ?> - </td> - <td class="align-right"><div id="editarea-size"> - <?php echo _("Size")._(":") ?> - <label for="pref-editHeight"><b><?php echo _("H")?></b></label> <?php echo $HEIGHT_PREF?> - <label for="pref-editWidth"><b><?php echo _("W")?></b></label> <?php echo $WIDTH_PREF?> - <noscript><?php echo Button("submit:", _("Adjust"), 'wikiaction')?></noscript> - </div></td></tr></table> +<?php if (isset($EDIT_TOOLBAR)) { ?> + <?php echo $EDIT_TOOLBAR ?> +<?php } ?> <a id="editarea"></a><?php echo $EDIT_TEXTAREA?> <br /><small> <?php echo _("Summary")._(":") ?><?php echo $SUMMARY_INPUT ?> Modified: trunk/themes/default/templates/editpage.tmpl =================================================================== --- trunk/themes/default/templates/editpage.tmpl 2015-04-09 09:16:25 UTC (rev 9647) +++ trunk/themes/default/templates/editpage.tmpl 2015-04-10 09:42:17 UTC (rev 9648) @@ -20,19 +20,9 @@ accept-charset="UTF-8"> <?php if (!empty($_GET['start_debug'])) echo '<input type="hidden" name="start_debug" value="1" >'; ?> <br class="clear-floats" /> - <table class="fullwidth"> - <tr> - <td> - <?php if (isset($EDIT_TOOLBAR)) { ?> - <?php echo $EDIT_TOOLBAR ?> - <?php } ?> - </td> - <td class="align-right"><div id="editarea-size"> - <?php echo _("Size")._(":") ?> - <label for="pref-editHeight"><b><?php echo _("H")?></b></label> <?php echo $HEIGHT_PREF?> - <label for="pref-editWidth"><b><?php echo _("W")?></b></label> <?php echo $WIDTH_PREF?> - <noscript><?php echo Button("submit:", _("Adjust"), 'wikiaction')?></noscript> - </div></td></tr></table> + <?php if (isset($EDIT_TOOLBAR)) { ?> + <?php echo $EDIT_TOOLBAR ?> + <?php } ?> <?php if (!empty($WYSIWYG_B)) { ?> <br /><div class="hint"><strong>Warning:</strong> Switching to the Wysiwyg editor will not keep your changes.</div> <?php } ?> Modified: trunk/themes/fusionforge/templates/editpage.tmpl =================================================================== --- trunk/themes/fusionforge/templates/editpage.tmpl 2015-04-09 09:16:25 UTC (rev 9647) +++ trunk/themes/fusionforge/templates/editpage.tmpl 2015-04-10 09:42:17 UTC (rev 9648) @@ -63,19 +63,9 @@ accept-charset="UTF-8"> <?php if (!empty($_GET['start_debug'])) echo '<input type="hidden" name="start_debug" value="1" >'; ?> <br class="clear-floats" /> - <table class="fullwidth"> - <tr> - <td> - <?php if (isset($EDIT_TOOLBAR)) { ?> - <?php echo $EDIT_TOOLBAR ?> - <?php } ?> - </td> - <td class="align-right"><div id="editarea-size"> - <?php echo _("Size")._(":") ?> - <label for="pref-editHeight"><b><?php echo _("H")?></b></label> <?php echo $HEIGHT_PREF?> - <label for="pref-editWidth"><b><?php echo _("W")?></b></label> <?php echo $WIDTH_PREF?> - <noscript><?php echo Button("submit:", _("Adjust"), 'wikiaction')?></noscript> - </div></td></tr></table> + <?php if (isset($EDIT_TOOLBAR)) { ?> + <?php echo $EDIT_TOOLBAR ?> + <?php } ?> <a id="editarea"></a><?php echo $EDIT_TEXTAREA?> <div style="text-align: center;"> <label for="edit-summary"><?php echo _("Summary")._(":") ?></label> <?php echo $SUMMARY_INPUT ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-09 09:16:33
|
Revision: 9647 http://sourceforge.net/p/phpwiki/code/9647 Author: vargenau Date: 2015-04-09 09:16:25 +0000 (Thu, 09 Apr 2015) Log Message: ----------- JS_SEARCHREPLACE is false for Fusionforge Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2015-04-09 08:15:42 UTC (rev 9646) +++ trunk/g 2015-04-09 09:16:25 UTC (rev 9647) @@ -67,6 +67,7 @@ // Disable Toolbar for tests define('ENABLE_EDIT_TOOLBAR', false); } +define('JS_SEARCHREPLACE', false); if (defined('WIKI_SOAP')) { $help = group_get_object_by_name('help'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-09 08:15:49
|
Revision: 9646 http://sourceforge.net/p/phpwiki/code/9646 Author: vargenau Date: 2015-04-09 08:15:42 +0000 (Thu, 09 Apr 2015) Log Message: ----------- cursor: pointer for toolbar Modified Paths: -------------- trunk/themes/Crao/crao.css trunk/themes/Hawaiian/Hawaiian.css trunk/themes/MacOSX/MacOSX.css trunk/themes/MonoBook/monobook.css trunk/themes/Portland/portland.css trunk/themes/Sidebar/sidebar.css trunk/themes/SpaceWiki/SpaceWiki.css trunk/themes/Wordpress/Wordpress.css trunk/themes/blog/Kubrick.css trunk/themes/default/phpwiki-modern.css trunk/themes/default/phpwiki.css trunk/themes/fusionforge/fusionforge.css trunk/themes/shamino_com/shamino_com.css trunk/themes/wikilens/wikilens.css Modified: trunk/themes/Crao/crao.css =================================================================== --- trunk/themes/Crao/crao.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/Crao/crao.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -377,6 +377,10 @@ margin: 0; } +img.toolbar:hover { + cursor: pointer; +} + .edit-toolbar { padding: 0; margin: 0; Modified: trunk/themes/Hawaiian/Hawaiian.css =================================================================== --- trunk/themes/Hawaiian/Hawaiian.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/Hawaiian/Hawaiian.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -296,6 +296,10 @@ margin: 0; } +img.toolbar:hover { + cursor: pointer; +} + /* Prevent buttons from overlapping when wrapped */ #navbar, #actionbar { line-height: 140%; Modified: trunk/themes/MacOSX/MacOSX.css =================================================================== --- trunk/themes/MacOSX/MacOSX.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/MacOSX/MacOSX.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -1106,6 +1106,10 @@ margin: 0.5ex 0; } +img.toolbar:hover { + cursor: pointer; +} + /* Link icons */ img.linkicon { vertical-align: middle; Modified: trunk/themes/MonoBook/monobook.css =================================================================== --- trunk/themes/MonoBook/monobook.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/MonoBook/monobook.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -1165,8 +1165,8 @@ } /* -** the personal toolbar -*/ + ** the personal toolbar + */ #p-personal { position: absolute; @@ -1686,6 +1686,10 @@ margin-right: 0.33em; } +img.toolbar:hover { + cursor: pointer; +} + #editform .editOptions { display: inline; } Modified: trunk/themes/Portland/portland.css =================================================================== --- trunk/themes/Portland/portland.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/Portland/portland.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -77,6 +77,10 @@ /* --------------------------------------------------------------- */ +img.toolbar:hover { + cursor: pointer; +} + /* * "DL tables" */ Modified: trunk/themes/Sidebar/sidebar.css =================================================================== --- trunk/themes/Sidebar/sidebar.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/Sidebar/sidebar.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -1220,8 +1220,8 @@ } /* -** the personal toolbar -*/ + ** the personal toolbar + */ #p-personal { width: 100%; @@ -1717,6 +1717,10 @@ margin-right: 0.33em; } +img.toolbar:hover { + cursor: pointer; +} + #editform .editOptions { display: inline; } Modified: trunk/themes/SpaceWiki/SpaceWiki.css =================================================================== --- trunk/themes/SpaceWiki/SpaceWiki.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/SpaceWiki/SpaceWiki.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -296,6 +296,10 @@ color: #5791ff; } +img.toolbar:hover { + cursor: pointer; +} + h2, h3, h4, h5, h6 { display: inline; padding-top: 0.25ex; Modified: trunk/themes/Wordpress/Wordpress.css =================================================================== --- trunk/themes/Wordpress/Wordpress.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/Wordpress/Wordpress.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -328,6 +328,10 @@ margin: 0; } +img.toolbar:hover { + cursor: pointer; +} + .edit-toolbar { padding: 0; margin: 0; Modified: trunk/themes/blog/Kubrick.css =================================================================== --- trunk/themes/blog/Kubrick.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/blog/Kubrick.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -930,6 +930,10 @@ font-size: 11px } +img.toolbar:hover { + cursor: pointer; +} + .wikiwyg_toolbar { background: #D3D3D3; border: 1px outset; Modified: trunk/themes/default/phpwiki-modern.css =================================================================== --- trunk/themes/default/phpwiki-modern.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/default/phpwiki-modern.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -237,6 +237,10 @@ font-family: Arial, Helvetica, sans-serif; } +img.toolbar:hover { + cursor: pointer; +} + #navbuttons, #actionbar { color: black; background: #ddd; /* dark gray */ Modified: trunk/themes/default/phpwiki.css =================================================================== --- trunk/themes/default/phpwiki.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/default/phpwiki.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -338,6 +338,10 @@ margin: 0; } +img.toolbar:hover { + cursor: pointer; +} + .edit-toolbar { padding: 0; margin: 0; Modified: trunk/themes/fusionforge/fusionforge.css =================================================================== --- trunk/themes/fusionforge/fusionforge.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/fusionforge/fusionforge.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -413,6 +413,11 @@ /** * Toolbar */ + +img.toolbar:hover { + cursor: pointer; +} + input.button { font-family: Verdana, Arial, Helvetica, sans-serif; } Modified: trunk/themes/shamino_com/shamino_com.css =================================================================== --- trunk/themes/shamino_com/shamino_com.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/shamino_com/shamino_com.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -254,6 +254,10 @@ font-size: 8pt; } +img.toolbar:hover { + cursor: pointer; +} + .debug { padding: 2px; margin-left: 10px; Modified: trunk/themes/wikilens/wikilens.css =================================================================== --- trunk/themes/wikilens/wikilens.css 2015-04-03 16:14:20 UTC (rev 9645) +++ trunk/themes/wikilens/wikilens.css 2015-04-09 08:15:42 UTC (rev 9646) @@ -42,6 +42,10 @@ margin: 1.5ex 1em 0 1em; } +img.toolbar:hover { + cursor: pointer; +} + table.sortable th.header { background-image: url(../default/buttons/sort_none.gif); cursor: pointer; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-03 16:14:22
|
Revision: 9645 http://sourceforge.net/p/phpwiki/code/9645 Author: vargenau Date: 2015-04-03 16:14:20 +0000 (Fri, 03 Apr 2015) Log Message: ----------- Better icons for toolbar Modified Paths: -------------- trunk/themes/default/images/ed_category.png trunk/themes/default/images/ed_enumlist.png trunk/themes/default/images/ed_format_bold.png trunk/themes/default/images/ed_format_color.png trunk/themes/default/images/ed_format_italic.png trunk/themes/default/images/ed_format_strike.png trunk/themes/default/images/ed_headline.png trunk/themes/default/images/ed_hr.png trunk/themes/default/images/ed_image.png trunk/themes/default/images/ed_link.png trunk/themes/default/images/ed_list.png trunk/themes/default/images/ed_pagelink.png trunk/themes/default/images/ed_plugins.png trunk/themes/default/images/ed_preview.png trunk/themes/default/images/ed_redirect.png trunk/themes/default/images/ed_save.png trunk/themes/default/images/ed_table.png trunk/themes/default/images/ed_templateplugin.png trunk/themes/default/images/ed_toc.png Modified: trunk/themes/default/images/ed_category.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_enumlist.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_format_bold.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_format_color.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_format_italic.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_format_strike.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_headline.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_hr.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_image.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_link.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_list.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_pagelink.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_plugins.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_preview.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_redirect.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_save.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_table.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_templateplugin.png =================================================================== (Binary files differ) Modified: trunk/themes/default/images/ed_toc.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-03 15:44:11
|
Revision: 9644 http://sourceforge.net/p/phpwiki/code/9644 Author: vargenau Date: 2015-04-03 15:44:09 +0000 (Fri, 03 Apr 2015) Log Message: ----------- Remove unused icon Removed Paths: ------------- trunk/themes/default/images/ed_help.png Deleted: trunk/themes/default/images/ed_help.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-03 11:45:15
|
Revision: 9643 http://sourceforge.net/p/phpwiki/code/9643 Author: vargenau Date: 2015-04-03 11:45:13 +0000 (Fri, 03 Apr 2015) Log Message: ----------- Do not force image size in toolbar Modified Paths: -------------- trunk/themes/default/toolbar.js Modified: trunk/themes/default/toolbar.js =================================================================== --- trunk/themes/default/toolbar.js 2015-04-03 11:28:26 UTC (rev 9642) +++ trunk/themes/default/toolbar.js 2015-04-03 11:45:13 UTC (rev 9643) @@ -19,8 +19,7 @@ if (i>0) document.write(","); document.write("'"+escapeQuotes(args[i])+"'"); } - //width=\"23\" height=\"22\" - document.write(");\"><img src=\""+imageFile+"\" width=\"18\" height=\"18\" border=\"0\" alt=\""+speedTip+"\" title=\""+speedTip+"\">"); + document.write(");\"><img src=\""+imageFile+"\" alt=\""+speedTip+"\" title=\""+speedTip+"\">"); document.write("</a>"); } function addTagButton(imageFile, speedTip, tagOpen, tagClose, sampleText) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-03 11:28:33
|
Revision: 9642 http://sourceforge.net/p/phpwiki/code/9642 Author: vargenau Date: 2015-04-03 11:28:26 +0000 (Fri, 03 Apr 2015) Log Message: ----------- Remove unused icons Removed Paths: ------------- trunk/themes/default/images/ed_indent.png trunk/themes/default/images/ed_outdent.png Deleted: trunk/themes/default/images/ed_indent.png =================================================================== (Binary files differ) Deleted: trunk/themes/default/images/ed_outdent.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-02 13:56:29
|
Revision: 9641 http://sourceforge.net/p/phpwiki/code/9641 Author: vargenau Date: 2015-04-02 13:56:20 +0000 (Thu, 02 Apr 2015) Log Message: ----------- Add themes/blog/jscalendar/lang/calendar-lv.js Added Paths: ----------- trunk/themes/blog/jscalendar/lang/calendar-lv.js Added: trunk/themes/blog/jscalendar/lang/calendar-lv.js =================================================================== --- trunk/themes/blog/jscalendar/lang/calendar-lv.js (rev 0) +++ trunk/themes/blog/jscalendar/lang/calendar-lv.js 2015-04-02 13:56:20 UTC (rev 9641) @@ -0,0 +1,123 @@ +// ** I18N + +// Calendar LV language +// Author: Juris Valdovskis, <ju...@dc...> +// Encoding: cp1257 +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Sv\xE7tdiena", + "Pirmdiena", + "Otrdiena", + "Tre\xF0diena", + "Ceturdiena", + "Piektdiena", + "Sestdiena", + "Sv\xE7tdiena"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Sv", + "Pr", + "Ot", + "Tr", + "Ce", + "Pk", + "Se", + "Sv"); + +// full month names +Calendar._MN = new Array +("Janv\xE2ris", + "Febru\xE2ris", + "Marts", + "Apr\xEElis", + "Maijs", + "J\xFBnijs", + "J\xFBlijs", + "Augusts", + "Septembris", + "Oktobris", + "Novembris", + "Decembris"); + +// short month names +Calendar._SMN = new Array +("Jan", + "Feb", + "Mar", + "Apr", + "Mai", + "J\xFBn", + "J\xFBl", + "Aug", + "Sep", + "Okt", + "Nov", + "Dec"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Par kalend\xE2ru"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Datuma izv\xE7le:\n" + +"- Izmanto \xab, \xbb pogas, lai izv\xE7l\xE7tos gadu\n" + +"- Izmanto " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "pogas, lai izv\xE7l\xE7tos m\xE7nesi\n" + +"- Turi nospiestu peles pogu uz jebkuru no augst\xE2k min\xE7taj\xE2m pog\xE2m, lai pa\xE2trin\xE2tu izv\xE7li."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Laika izv\xE7le:\n" + +"- Uzklik\xF0\xEDini uz jebkuru no laika da\xEF\xE2m, lai palielin\xE2tu to\n" + +"- vai Shift-klik\xF0\xEDis, lai samazin\xE2tu to\n" + +"- vai noklik\xF0\xEDini un velc uz attiec\xEEgo virzienu lai main\xEEtu \xE2tr\xE2k."; + +Calendar._TT["PREV_YEAR"] = "Iepr. gads (turi izv\xE7lnei)"; +Calendar._TT["PREV_MONTH"] = "Iepr. m\xE7nesis (turi izv\xE7lnei)"; +Calendar._TT["GO_TODAY"] = "\xD0odien"; +Calendar._TT["NEXT_MONTH"] = "N\xE2ko\xF0ais m\xE7nesis (turi izv\xE7lnei)"; +Calendar._TT["NEXT_YEAR"] = "N\xE2ko\xF0ais gads (turi izv\xE7lnei)"; +Calendar._TT["SEL_DATE"] = "Izv\xE7lies datumu"; +Calendar._TT["DRAG_TO_MOVE"] = "Velc, lai p\xE2rvietotu"; +Calendar._TT["PART_TODAY"] = " (\xF0odien)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Att\xE7lot %s k\xE2 pirmo"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "1,7"; + +Calendar._TT["CLOSE"] = "Aizv\xE7rt"; +Calendar._TT["TODAY"] = "\xD0odien"; +Calendar._TT["TIME_PART"] = "(Shift-)Klik\xF0\xEDis vai p\xE2rvieto, lai main\xEEtu"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d-%m-%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %e %b"; + +Calendar._TT["WK"] = "wk"; +Calendar._TT["TIME"] = "Laiks:"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-01 16:31:17
|
Revision: 9640 http://sourceforge.net/p/phpwiki/code/9640 Author: vargenau Date: 2015-04-01 16:31:14 +0000 (Wed, 01 Apr 2015) Log Message: ----------- Update ReleaseNotes Modified Paths: -------------- trunk/pgsrc/ReleaseNotes Modified: trunk/pgsrc/ReleaseNotes =================================================================== --- trunk/pgsrc/ReleaseNotes 2015-04-01 16:26:34 UTC (rev 9639) +++ trunk/pgsrc/ReleaseNotes 2015-04-01 16:31:14 UTC (rev 9640) @@ -1,4 +1,4 @@ -Date: Wed, 25 Mar 2015 13:48:38 +0000 +Date: Wed, 1 Apr 2015 18:29:22 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.3) Content-Type: application/x-phpwiki; pagename=ReleaseNotes; @@ -8,11 +8,12 @@ <<CreateToc with_toclink||=1 headers||=1,2,3 width=300px position=right>> -== 1.5.4 2015-03-XX Marc-Etienne Vargenau == +== 1.5.4 2015-04-XX Marc-Etienne Vargenau == * Fix ~WantedPages for Fusionforge * Remove ~WantedPagesOld (use ~WantedPages instead) * Add WebM format in Video plugin +* Update jscalendar to 1.0 == 1.5.3 2015-03-04 Marc-Etienne Vargenau == This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-01 16:26:36
|
Revision: 9639 http://sourceforge.net/p/phpwiki/code/9639 Author: vargenau Date: 2015-04-01 16:26:34 +0000 (Wed, 01 Apr 2015) Log Message: ----------- sortables_init no longer exists (was in sortable.js) Modified Paths: -------------- trunk/themes/default/wikicommon.js Modified: trunk/themes/default/wikicommon.js =================================================================== --- trunk/themes/default/wikicommon.js 2015-04-01 14:33:34 UTC (rev 9638) +++ trunk/themes/default/wikicommon.js 2015-04-01 16:26:34 UTC (rev 9639) @@ -125,8 +125,6 @@ // might cause the function to terminate prematurely doneOnloadHook = true; - sortables_init(); - // Run any added-on functions for (var i = 0; i < onloadFuncts.length; i++) { onloadFuncts[i](); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-01 14:33:52
|
Revision: 9638 http://sourceforge.net/p/phpwiki/code/9638 Author: vargenau Date: 2015-04-01 14:33:34 +0000 (Wed, 01 Apr 2015) Log Message: ----------- Update jscalendar to 1.0 Modified Paths: -------------- trunk/themes/blog/jscalendar/calendar-setup.js trunk/themes/blog/jscalendar/calendar-win2k-1.css trunk/themes/blog/jscalendar/calendar-win2k-cold-1.css trunk/themes/blog/jscalendar/calendar.js trunk/themes/blog/jscalendar/lang/calendar-br.js trunk/themes/blog/jscalendar/lang/calendar-ca.js trunk/themes/blog/jscalendar/lang/calendar-cs-win.js trunk/themes/blog/jscalendar/lang/calendar-da.js trunk/themes/blog/jscalendar/lang/calendar-el.js trunk/themes/blog/jscalendar/lang/calendar-es.js trunk/themes/blog/jscalendar/lang/calendar-fi.js trunk/themes/blog/jscalendar/lang/calendar-fr.js trunk/themes/blog/jscalendar/lang/calendar-hr-utf8.js trunk/themes/blog/jscalendar/lang/calendar-hr.js trunk/themes/blog/jscalendar/lang/calendar-hu.js trunk/themes/blog/jscalendar/lang/calendar-it.js trunk/themes/blog/jscalendar/lang/calendar-ko-utf8.js trunk/themes/blog/jscalendar/lang/calendar-ko.js trunk/themes/blog/jscalendar/lang/calendar-lt-utf8.js trunk/themes/blog/jscalendar/lang/calendar-lt.js trunk/themes/blog/jscalendar/lang/calendar-nl.js trunk/themes/blog/jscalendar/lang/calendar-no.js trunk/themes/blog/jscalendar/lang/calendar-pl-utf8.js trunk/themes/blog/jscalendar/lang/calendar-pl.js trunk/themes/blog/jscalendar/lang/calendar-pt.js trunk/themes/blog/jscalendar/lang/calendar-ro.js trunk/themes/blog/jscalendar/lang/calendar-ru.js trunk/themes/blog/jscalendar/lang/calendar-si.js trunk/themes/blog/jscalendar/lang/calendar-sk.js trunk/themes/blog/jscalendar/lang/calendar-sp.js trunk/themes/blog/jscalendar/lang/calendar-sv.js trunk/themes/blog/jscalendar/lang/calendar-tr.js trunk/themes/blog/jscalendar/lang/calendar-zh.js Added Paths: ----------- trunk/themes/blog/jscalendar/ChangeLog trunk/themes/blog/jscalendar/bugtest-hidden-selects.html trunk/themes/blog/jscalendar/calendar-blue.css trunk/themes/blog/jscalendar/calendar-blue2.css trunk/themes/blog/jscalendar/calendar-brown.css trunk/themes/blog/jscalendar/calendar-green.css trunk/themes/blog/jscalendar/calendar-system.css trunk/themes/blog/jscalendar/calendar-tas.css trunk/themes/blog/jscalendar/calendar-win2k-2.css trunk/themes/blog/jscalendar/calendar-win2k-cold-2.css trunk/themes/blog/jscalendar/calendar.php trunk/themes/blog/jscalendar/dayinfo.html trunk/themes/blog/jscalendar/doc/ trunk/themes/blog/jscalendar/doc/html/ trunk/themes/blog/jscalendar/doc/html/field-button.jpg trunk/themes/blog/jscalendar/doc/html/reference-Z-S.css trunk/themes/blog/jscalendar/doc/html/reference.css trunk/themes/blog/jscalendar/doc/html/reference.html trunk/themes/blog/jscalendar/doc/reference.pdf trunk/themes/blog/jscalendar/img.gif trunk/themes/blog/jscalendar/index.html trunk/themes/blog/jscalendar/lang/calendar-al.js trunk/themes/blog/jscalendar/lang/calendar-bg.js trunk/themes/blog/jscalendar/lang/calendar-big5-utf8.js trunk/themes/blog/jscalendar/lang/calendar-big5.js trunk/themes/blog/jscalendar/lang/calendar-cs-utf8.js trunk/themes/blog/jscalendar/lang/calendar-he-utf8.js trunk/themes/blog/jscalendar/lang/calendar-ru_win_.js trunk/themes/blog/jscalendar/lang/cn_utf8.js trunk/themes/blog/jscalendar/menuarrow.gif trunk/themes/blog/jscalendar/menuarrow2.gif trunk/themes/blog/jscalendar/multiple-dates.html trunk/themes/blog/jscalendar/release-notes.html trunk/themes/blog/jscalendar/simple-1.html trunk/themes/blog/jscalendar/simple-2.html trunk/themes/blog/jscalendar/simple-3.html trunk/themes/blog/jscalendar/skins/ trunk/themes/blog/jscalendar/skins/aqua/ trunk/themes/blog/jscalendar/skins/aqua/active-bg.gif trunk/themes/blog/jscalendar/skins/aqua/dark-bg.gif trunk/themes/blog/jscalendar/skins/aqua/hover-bg.gif trunk/themes/blog/jscalendar/skins/aqua/menuarrow.gif trunk/themes/blog/jscalendar/skins/aqua/normal-bg.gif trunk/themes/blog/jscalendar/skins/aqua/rowhover-bg.gif trunk/themes/blog/jscalendar/skins/aqua/status-bg.gif trunk/themes/blog/jscalendar/skins/aqua/theme.css trunk/themes/blog/jscalendar/skins/aqua/title-bg.gif trunk/themes/blog/jscalendar/skins/aqua/today-bg.gif trunk/themes/blog/jscalendar/test-position.html trunk/themes/blog/jscalendar/test.php Added: trunk/themes/blog/jscalendar/ChangeLog =================================================================== --- trunk/themes/blog/jscalendar/ChangeLog (rev 0) +++ trunk/themes/blog/jscalendar/ChangeLog 2015-04-01 14:33:34 UTC (rev 9638) @@ -0,0 +1,761 @@ +2005-03-07 Mihai Bazon <mih...@ya...> + + * skins/aqua/theme.css: *** empty log message *** + + * release-notes.html: updated release notes + + * calendar-setup.js: + use a better approach to initialize the calendar--don't call _init twice, + it's the most time consuming function in the calendar. Instead, determine + the date beforehand if possible and pass it to the calendar at constructor. + + * calendar.js: + avoid keyboard operation when 'multiple dates' is set (very buggy for now) + + * calendar.js: + fixed keyboard handling problems: now it works fine when "showsOtherMonths" + is passed; it also seems to be fine with disabled dates (won't normally + allow selection)--however this area is still likely to be buggy, i.e. in a + month that has all the dates disabled. + + * calendar.js: + some trivial performance improvements in the _init function + Added Date.parseDate (old Calendar.prototype.parseDate now calls this one) + +2005-03-05 Mihai Bazon <mih...@ya...> + + * release-notes.html: updated release notes + + * dayinfo.html: *** empty log message *** + + * calendar-setup.js: + bugfix--update an inputField even if flat calendar is selected + + * calendar.js: + fixed bugs in parseDate function (if for some reason the input string is + totally broken, then check numbers for NaN and use values from the current + date instead) + + * make-release.pl: copy the skins subdirectory and all skins + + * index.html: added Aqua skin + + * skins/aqua/active-bg.gif, skins/aqua/dark-bg.gif, skins/aqua/hover-bg.gif, skins/aqua/menuarrow.gif, skins/aqua/normal-bg.gif, skins/aqua/rowhover-bg.gif, skins/aqua/status-bg.gif, skins/aqua/theme.css, skins/aqua/title-bg.gif, skins/aqua/today-bg.gif: + in the future, skins will go to this directory, each in a separate subdir; for now there's only Aqua, an excellent new skin + + * calendar.js: workaround IE bug, needed in the Aqua theme + don't hide select elements unless browser is IE or Opera + + * lang/calendar-bg.js, lang/calendar-big5-utf8.js, lang/calendar-big5.js, lang/calendar-br.js, lang/calendar-ca.js, lang/calendar-cs-utf8.js, lang/calendar-cs-win.js, lang/calendar-da.js, lang/calendar-de.js, lang/calendar-el.js, lang/calendar-en.js, lang/calendar-es.js, lang/calendar-fi.js, lang/calendar-fr.js, lang/calendar-he-utf8.js, lang/calendar-hu.js, lang/calendar-it.js, lang/calendar-ko-utf8.js, lang/calendar-ko.js, lang/calendar-lt-utf8.js, lang/calendar-lt.js, lang/calendar-lv.js, lang/calendar-nl.js, lang/calendar-no.js, lang/calendar-pl-utf8.js, lang/calendar-pl.js, lang/calendar-pt.js, lang/calendar-ro.js, lang/calendar-ru.js, lang/calendar-ru_win_.js, lang/calendar-si.js, lang/calendar-sk.js, lang/calendar-sp.js, lang/calendar-sv.js, lang/calendar-zh.js, lang/cn_utf8.js: + updated urls, copyright notices + + * doc/reference.tex: updated documentation + + * calendar.js, index.html: + renamed the global variable to _dynarch_popupCalendar to avoid name clashes + + * multiple-dates.html: start with an empty array + + * calendar.js: + fixed bugs in the time selector (12:XX pm was wrongfully understood as 12:XX am) + + * calendar.js: + using innerHTML instead of text nodes; works better in Safari and also makes + a smaller, cleaner code + +2005-03-04 Mihai Bazon <mih...@ya...> + + * calendar.js: + fixed a performance regression that occurred after adding support for multiple dates + fixed the time selection bug (now it keeps time correctly) + clicking today will close the calendar if "today" is already selected + + * lang/cn_utf8.js: new translation + +2005-02-17 Mihai Bazon <mih...@ya...> + + * lang/calendar-ar-utf8.zip: Added arabic translation + +2004-10-19 Mihai Bazon <mih...@ya...> + + * lang/calendar-zh.js: updated + +2004-09-20 Mihai Bazon <mih...@ya...> + + * lang/calendar-no.js: updated (Daniel Holmen) + +2004-09-20 Mihai Bazon <mih...@ya...> + + * lang/calendar-no.js: updated (Daniel Holmen) + +2004-08-11 Mihai Bazon <mih...@ya...> + + * lang/calendar-nl.js: updated language file (thanks to Arjen Duursma) + + * lang/calendar-sp.js: updated (thanks to Rafael Velasco) + +2004-07-21 Mihai Bazon <mih...@ya...> + + * lang/calendar-br.js: updated + + * calendar-setup.js: fixed bug (dateText) + +2004-07-21 Mihai Bazon <mih...@ya...> + + * lang/calendar-br.js: updated + + * calendar-setup.js: fixed bug (dateText) + +2004-07-04 Mihai Bazon <mih...@ya...> + + * lang/calendar-lv.js: + added LV translation (thanks to Juris Valdovskis) + +2004-06-25 Mihai Bazon <mih...@ya...> + + * calendar.js: + fixed bug in IE (el.calendar.tooltips is null or not an object) + +2004-06-24 Mihai Bazon <mih...@ya...> + + * doc/reference.tex: fixed latex compilation + + * index.html: linking other sample files + + * calendar-setup.js, calendar.js, dayinfo.html: + ability to display day info (dateText parameter) + sample file + +2004-06-23 Mihai Bazon <mih...@ya...> + + * doc/reference.tex, lang/calendar-bg.js, lang/calendar-br.js, lang/calendar-ca.js, lang/calendar-en.js, lang/calendar-es.js, lang/calendar-fr.js, lang/calendar-it.js, lang/calendar-ko-utf8.js, lang/calendar-ko.js, lang/calendar-nl.js, lang/calendar-sv.js, README, calendar.js, index.html: + email address changed + +2004-06-14 Mihai Bazon <mih...@ya...> + + * lang/calendar-cs-utf8.js, lang/calendar-cs-win.js: + updated translations + + * calendar-system.css: added z-index to drop downs + + * lang/calendar-en.js: + first day of week can now be part of the language file + + * lang/calendar-es.js: + updated language file (thanks to Servilio Afre Puentes) + + * calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-tas.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css, calendar-blue.css: + added z-index property to drop downs (fixes bug) + +2004-06-13 Mihai Bazon <mih...@ya...> + + * calendar-setup.js: fixed bug (apply showOthers to flat calendars too) + +2004-06-06 Mihai Bazon <mih...@ya...> + + * calendar-setup.js: + firstDay defaults to "null", in which case the value in the language file + will be used + + * calendar.js: + firstDayOfWeek can now default to a value specified in the language definition file + + * index.html: first day of week is now numeric + +2004-06-02 Mihai Bazon <mih...@ya...> + + * calendar.js: added date tooltip function + +2004-05-28 Mihai Bazon <mih...@ya...> + + * lang/calendar-br.js: updated (thanks to Marcos Pont) + + * calendar-setup.js: fixed small bug + +2004-05-01 Mihai Bazon <mih...@ya...> + + * calendar-setup.js: returns the calendar object + +2004-04-28 Mihai Bazon <mih...@ya...> + + * calendar-setup.js: + patch to read the date value from the inputField, according to ifFormat (if + both are passed), for flat calendars. (thanks Colin T. Hill) + +2004-04-20 Mihai Bazon <mih...@ya...> + + * calendar-setup.js, calendar.js, multiple-dates.html: + added support for multiple dates selection + + * lang/calendar-nl.js: + updated Dutch translation, thanks to Jeroen Wolsink + + * lang/calendar-big5-utf8.js, lang/calendar-big5.js: + Traditional Chinese language (thanks GaryFu) + +2004-03-26 Mihai Bazon <mih...@ya...> + + * lang/calendar-fr.js, lang/calendar-pt.js: updated + + * lang/calendar-ru_win_.js, lang/calendar-ru.js: + updated, thanks to Sly Golovanov + +2004-03-25 Mihai Bazon <mih...@ya...> + + * lang/calendar-fr.js: updated (thanks to David Duret) + +2004-03-24 Mihai Bazon <mih...@ya...> + + * lang/calendar-da.js: updated (thanks to Michael Thingmand Henriksen) + +2004-03-21 Mihai Bazon <mih...@ya...> + + * lang/calendar-ca.js: updated (thanks to David Valls) + +2004-03-17 Mihai Bazon <mih...@ya...> + + * lang/calendar-de.js: updated to UTF8 (thanks to Jack (tR)) + +2004-03-09 Mihai Bazon <mih...@ya...> + + * lang/calendar-bg.js: Bulgarian translation + +2004-03-08 Mihai Bazon <mih...@ya...> + + * lang/calendar-he-utf8.js: Hebrew translation (thanks to Idan Sofer) + + * lang/calendar-hu.js: updated (thanks to Istvan Karaszi) + +2004-02-27 Mihai Bazon <mih...@ya...> + + * lang/calendar-it.js: updated (thanks to Fabio Di Bernardini) + +2004-02-25 Mihai Bazon <mih...@ya...> + + * calendar.js: fix for Safari (thanks to Olivier Chirouze / XPWeb) + +2004-02-22 Mihai Bazon <mih...@ya...> + + * lang/calendar-al.js: Albanian language file + +2004-02-17 Mihai Bazon <mih...@ya...> + + * lang/calendar-fr.js: fixed + + * lang/calendar-fr.js: + FR translation updated (thanks to SIMON Alexandre) + + * lang/calendar-es.js: ES translation updated, thanks to David Gonzales + +2004-02-10 Mihai Bazon <mih...@ya...> + + * lang/calendar-pt.js: + updated Portugese translation, thanks to Elcio Ferreira + +2004-02-09 Mihai Bazon <mih...@ya...> + + * TODO: updated + +2004-02-06 Mihai Bazon <mih...@ya...> + + * README: describe the PHP files + + * make-release.pl: includes php files + + * make-release.pl: ChangeLog included in the distribution (if found) + + * calendar.js, doc/reference.tex, index.html: switched to version 0.9.6 + + * doc/Calendar.setup.tex, doc/reference.tex: updated documentation + + * release-notes.html: updated release notes + + * calendar.js: Fixed bug: Feb/29 and year change now keeps Feb in view + + * calendar.js: fixed the "ESC" problem (call the close handler) + + * calendar.js: fixed day of year range (1 to 366 instead of 0 to 365) + + * calendar.js: fixed week number calculations + + * doc/reference.tex: fixed (date input format) + + * calendar.php: removed comment + + * calendar-blue.css, calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-tas.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css, calendar.js: + workaround for IE bug (you can't normally specify through CSS the style for + an element having two classes or more; we had to change a classname) + + * calendar-blue.css, calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-tas.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css: + smaller fonts on days that are in neighbor months + +2004-02-04 Mihai Bazon <mih...@ya...> + + * index.html: first demo shows the "showOtherMonths" capability + + * calendar-setup.js: support new parameters in the calendar. + added: firstDay, showOthers, cache. + + * calendar-blue.css, calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css, calendar.js, lang/calendar-en.js, lang/calendar-ro.js: + new parameters: firstDayOfWeek, showsOtherMonths; removed mondayFirst. + This adds support for setting any day to be the first day of week (by just + clicking the day name in the display); also, if showsOtherMonths is enabled + then dates belonging to adjacent months that are in the current view will be + displayed and the calendar will have a fixed height. + + all themes updated. + + * test.php: test for calendar.php + + * calendar.php: fixed bug (pass numeric values as numbers) + +2004-02-01 Mihai Bazon <mih...@ya...> + + * calendar.php: added PHP wrapper + + * img.gif: icon updated + + * TODO: updated TODO list + +2004-01-27 Mihai Bazon <mih...@ya...> + + * calendar.js: + Janusz Piwowarski sent over a patch for IE5 compatibility which is much more + elegant than the atrocities that I had wrote :-D I'm gettin' old.. Thanks Janusz! + + * lang/calendar-fi.js: updated + +2004-01-15 Mihai Bazon <mih...@ya...> + + * TODO: updated TODO list + + * calendar-setup.js: default align changed to "Br" + + * doc/reference.tex: changed default value for "align" + + * calendar-setup.js: calling onchange event handler, if available + + * calendar-setup.js: added "position" option + + * simple-1.html: demonstrates "step" option + + * calendar-setup.js: added "step" option + + * calendar.js: added yearStep config parameter + + * calendar.js: + fixed parseDate routine (the NaN bug which occurred when there was a space + after the date and no time) + +2004-01-14 Mihai Bazon <mih...@ya...> + + * lang/calendar-en.js: added "Time:" + + * test-position.html: test for the new position algorithm + + * index.html: do not destroy() the calendar + avoid bug in parseDate (%p must be separated by non-word characters) + + * menuarrow2.gif: for calendar-blue2.css + + * calendar-setup.js: honor "date" parameter if passed + + * calendar.js: IE5 support is back + performance improvements in IE6 (mouseover combo boxes) + display "Time:" beside the clock area, if defined in the language file + new positioning algorithm (try to keep the calendar in page) + rewrote parseDate a little cleaner + + * lang/calendar-el.js: + updated Greek translation (thanks Alexandros Pappas) + +2004-01-13 Mihai Bazon <mih...@ya...> + + * index.html: added style blue2, using utf-8 instead of iso-8859-2 + + * calendar.js: performance under IE (which sucks, by the way) + + * doc/reference.tex: Sunny added to sponsor list + + * doc/Calendar.setup.tex: documenting parameter 'electric' + + * calendar-blue.css, calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css: + fixed IE text size problems + +2004-01-08 Mihai Bazon <mih...@ya...> + + * lang/calendar-pl.js: + Polish translation updated to UTF-8 (thanks to Artur Filipiak) + +2004-01-07 Mihai Bazon <mih...@ya...> + + * lang/calendar-si.js: updated (David Milost) + + * lang/calendar-si.js: Slovenian translation (thanks to David Milost) + +2003-12-21 Mihai Bazon <mih...@ya...> + + * TODO: updated TODO list + + * lang/calendar-de.js: German translation (thanks to Peter Strotmann) + +2003-12-19 Mihai Bazon <mih...@ya...> + + * doc/reference.tex: Thank you, Ian Barrak + +2003-12-18 Mihai Bazon <mih...@ya...> + + * doc/reference.tex: fixed documentation bug (thanks Mike) + +2003-12-05 Mihai Bazon <mih...@ya...> + + * lang/calendar-ko-utf8.js: + UTF8 version of the Korean language (hopefully correct) + + * lang/calendar-pl-utf8.js, lang/calendar-pl.js: + updated Polish translation (thanks to Janusz Piwowarski) + +2003-12-04 Mihai Bazon <mih...@ya...> + + * lang/calendar-fr.js: + French translation updated (thanks to Angiras Rama) + +2003-11-22 Mihai Bazon <mih...@ya...> + + * lang/calendar-da.js: updated (thanks to Jesper M. Christensen) + +2003-11-20 Mihai Bazon <mih...@ya...> + + * calendar-blue2.css, calendar-tas.css: + new styles (thanks to Wendall Mosemann for blue2, Mark Lynch for tas) + + * lang/calendar-lt-utf8.js, lang/calendar-lt.js: + Lithuanian translation (thanks to Martynas Majeris) + + * lang/calendar-sp.js: updated + +2003-11-17 Mihai Bazon <mih...@ya...> + + * TODO: added TODO list + +2003-11-14 Mihai Bazon <mih...@ya...> + + * lang/calendar-ko.js: Korean translation (thanks to Yourim Yi) + +2003-11-12 Mihai Bazon <mih...@ya...> + + * lang/calendar-jp.js: small bug fixed (thanks to TAHARA Yusei) + +2003-11-10 Mihai Bazon <mih...@ya...> + + * lang/calendar-fr.js: translation updated, thanks to Florent Ramiere + + * calendar-setup.js: + added new parameter: electric (if false then the field will not get updated on each move) + + * index.html: fixed DOCTYPE + +2003-11-07 Mihai Bazon <mih...@ya...> + + * calendar-setup.js: + fixed minor problem (maybe we're passing object reference instead of ID for + the flat calendar parent) + +2003-11-06 Mihai Bazon <mih...@ya...> + + * lang/calendar-fi.js: + added Finnish translation (thanks to Antti Tuppurainen) + +2003-11-05 Mihai Bazon <mih...@ya...> + + * release-notes.html: fixed typo + + * doc/reference.tex, index.html, calendar.js: 0.9.5 + + * README: fixed license statement + + * release-notes.html: updated release notes (0.9.5) + +2003-11-03 Mihai Bazon <mih...@ya...> + + * lang/calendar-de.js: + updated German translation (thanks to Gerhard Neiner) + + * calendar-setup.js: fixed license statement + + * calendar.js: whitespace + + * calendar.js: fixed license statement + + * calendar.js: + fixed positioning problem when input field is inside scrolled divs + +2003-11-01 Mihai Bazon <mih...@ya...> + + * lang/calendar-af.js: Afrikaan language (thanks to Derick Olivier) + +2003-10-31 Mihai Bazon <mih...@ya...> + + * lang/calendar-it.js: + updated IT translation (thanks to Christian Blaser) + + * lang/calendar-es.js: updated ES translation, thanks to Raul + +2003-10-30 Mihai Bazon <mih...@ya...> + + * lang/calendar-hu.js: updated thanks to Istvan Karaszi + + * index.html, simple-1.html, simple-2.html, simple-3.html: + switched to utf-8 all encodings + + * lang/calendar-sk.js: + added Slovak translation (thanks to Peter Valach) + + * lang/calendar-ro.js: switched to utf-8 + +2003-10-29 Mihai Bazon <mih...@ya...> + + * lang/calendar-es.js: + updated translation, thanks to Jose Ma. Martinez Miralles + + * doc/reference.tex: + fixed the footnote problem (thanks Dominique de Waleffe for the tip) + + * lang/calendar-ro.js: fixed typo + + * lang/calendar-sv.js: oops, license should be LGPL + + * lang/calendar-sw.js: new swedish translation is calendar-sv.js + + * menuarrow.gif, menuarrow.png: + oops, forgot little drop-down menu arrows + + * lang/calendar-sv.js: swedish translation thanks to Leonard Norrgard + + * index.html: oops, some other minor changes + + * index.html, release-notes.html: + latest changes in release-notes and index page for 0.9.4 + + * doc/reference.tex, calendar.js: + added %s date format (# of seconds since Epoch) + + * calendar.js: + A click on TODAY will not close the calendar, even in single-click mode + +2003-10-28 Mihai Bazon <mih...@ya...> + + * index.html: previous cal.html + + * cal.html: moved to index.html + + * README, cal.html, doc/reference.tex, lang/calendar-de.js, lang/calendar-en.js, lang/calendar-ro.js, release-notes.html: + LGPL license, forever. + + * doc/Calendar.setup.tex, simple-1.html: + doc updated for the onUpdate parameter to Calendar.setup + +2003-10-26 Mihai Bazon <mih...@ya...> + + * calendar.js: fixed bug (correct display of the dropdown menus) + + * doc/Calendar.setup.tex, doc/reference.tex, lang/calendar-de.js, lang/calendar-en.js, lang/calendar-ro.js, README, cal.html, calendar-blue.css, calendar-brown.css, calendar-green.css, calendar-setup.js, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css, calendar.js, release-notes.html, simple-1.html, simple-3.html: + lots of changes for the 0.9.4 release (see the release-notes.html) + +2003-10-15 Mihai Bazon <mih...@ya...> + + * doc/reference.tex: + documentation updated for 0.9.4 (not yet finished though) + +2003-10-07 Mihai Bazon <mih...@ya...> + + * calendar.js, doc/reference.tex, release-notes.html, README, cal.html, calendar-setup.js: + modified project website + +2003-10-06 Mihai Bazon <mih...@ya...> + + * calendar-setup.js: + added some properties (onSelect, onClose, date) (thanks altblue) + +2003-09-24 Mihai Bazon <mih...@ya...> + + * simple-3.html: dateIsSpecial does not need the "date" argument ;-) + +2003-09-24 fsoft <fsoft@mishoo> + + * calendar.js, simple-3.html: + added year, month, day to getDateStatus() function + +2003-09-24 Mihai Bazon <mih...@ya...> + + * simple-3.html: example on how to use special dates + + * calendar-setup.js, calendar.js, simple-1.html: + support for special dates (thanks fabio) + +2003-09-17 Mihai Bazon <mih...@ya...> + + * doc/reference.tex: fixed error in section 3. + +2003-08-01 Mihai Bazon <mih...@ya...> + + * lang/calendar-jp.js: added Japanese translation + +2003-07-16 Mihai Bazon <mih...@ya...> + + * simple-1.html: fixed problem with first example [IE,Opera] + +2003-07-09 Mihai Bazon <mih...@ya...> + + * doc/Calendar.setup.tex: fixed typo (closing parenthesis) + + * lang/calendar-de.js: + added German translation, thanks to Hartwig Weinkauf + +2003-07-08 Mihai Bazon <mih...@ya...> + + * cal.html: added link to release-notes + + * release-notes.html: 0.9.3 release notes + + * make-release.pl: + Script to create distribution archive. It needs some additional packages: + + - LaTeX + - tex2page + - jscrunch (JS compressor) + + * doc/html/makedoc.sh, doc/html/reference.css, doc/reference.tex, doc/makedoc.sh: + documentation updates... + + * calendar.js: added semicolon to make the code "compressible" + +2003-07-06 Mihai Bazon <mih...@ya...> + + * doc/reference.tex: spell checked + + * doc/reference.tex: [minor] changed credits order + + * doc/reference.tex: various improvements and additions + + * doc/html/reference.css: minor eye-candy tweaks + +2003-07-05 Mihai Bazon <mih...@ya...> + + * doc/html/Calendar.setup.html.tex, doc/html/makedoc.sh, doc/html/reference.css, doc/html/reference.t2p, doc/hyperref.cfg, doc/makedoc.sh, doc/reference.tex, doc/Calendar.setup.tex, doc/Calendar.setup.pdf.tex: + full documentation in LaTeX, for PDF and HTML formats + + * simple-2.html: + added demonstration of flat calendar with Calendar.setup + + * simple-1.html: + modified some links, added link to documentation, added demonstration of + disableFunc property + + * calendar-setup.js: added the ability to create flat calendar too + + * cal.html: added links to documentation and simple-[12].html pages + + * README: up-to-date... + + * calendar-setup.html: removed: the documentation is unified + +2003-07-03 Mihai Bazon <mih...@ya...> + + * cal.html: some links to newly added files + + * calendar-setup.html, calendar-setup.js, img.gif, simple-1.html: + added some files to simplify calendar creation for non-(JS)-programmers + + * lang/calendar-zh.js: added simplified chinese (thanks ATang) + +2003-07-02 Mihai Bazon <mih...@ya...> + + * calendar.js: * "yy"-related... [small fix] + + * calendar.js: + * #721833 fixed (yy format will understand years prior to 29 as 20xx) + + * calendar.js: * added refresh() function + + * calendar.js: * fixed bug when in single click mode + * added alignment options to "showAtElement" member function + +2003-06-25 Mihai Bazon <mih...@ya...> + + * lang/calendar-pt.js: + added portugese translation (thanks Nuno Barreto) + +2003-06-24 Mihai Bazon <mih...@ya...> + + * calendar.js: + call user handler when the date was changed using the keyboard + + * bugtest-hidden-selects.html: + file to test bug with hidden select-s (thanks Ying Zhang for reporting and for this test file) + + * lang/calendar-hr-utf8.js: + added croatian translation in utf8 (thanks Krunoslav Zubrinic) + +2003-06-23 Mihai Bazon <mih...@ya...> + + * lang/calendar-hu.js: added hungarian translation + + * lang/calendar-hr.js: + added croatian translation (thanks to Krunoslav Zubrinic) + +2003-06-22 Mihai Bazon <mih...@ya...> + + * calendar.js: + * #723335 fixed (clicking TODAY will not select the today date if the + disabledHandler rejects it) + + * cal.html: * new code for to work with fix for bug #703238 + * switch to new version + + * calendar.js: + * some patches to make code compatible with Opera 7 (well, almost compatible) + * bug #703238 fixed (fix breaks compatibility with older code that uses + calendar in single-click mode) + * bug #703814 fixed + +2003-04-09 Mihai Bazon <mih...@ya...> + + * lang/calendar-tr.js: added turkish lang file + +2003-03-19 Mihai Bazon <mih...@ya...> + + * lang/calendar-ru.js: russian translation added + + * lang/calendar-no.js: norwegian translation added + +2003-03-15 Mihai Bazon <mih...@ya...> + + * lang/calendar-no.js: norwegian translation + +2003-03-12 Mihai Bazon <mih...@ya...> + + * lang/calendar-pl.js: added polish translation + +2003-03-11 Mihai Bazon <mih...@ya...> + + * calendar.js: + bugfix in parseDate (added base to parseInt, thanks Alan!) + +2003-03-05 Mihai Bazon <mih...@ya...> + + * calendar.js, lang/calendar-br.js, lang/calendar-ca.js, lang/calendar-cs-win.js, lang/calendar-da.js, lang/calendar-du.js, lang/calendar-el.js, lang/calendar-en.js, lang/calendar-es.js, lang/calendar-fr.js, lang/calendar-it.js, lang/calendar-nl.js, lang/calendar-ro.js, lang/calendar-sp.js, lang/calendar-sw.js: + New file. + + * calendar.js, lang/calendar-br.js, lang/calendar-ca.js, lang/calendar-cs-win.js, lang/calendar-da.js, lang/calendar-du.js, lang/calendar-el.js, lang/calendar-en.js, lang/calendar-es.js, lang/calendar-fr.js, lang/calendar-it.js, lang/calendar-nl.js, lang/calendar-ro.js, lang/calendar-sp.js, lang/calendar-sw.js: + moved to CVS at sourceforge.net + release: 0.9.2 + new language packs + + + * README, cal.html, calendar-blue.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css: + New file. + + * README, cal.html, calendar-blue.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css: + moved to CVS at sourceforge.net + release: 0.9.2 + new language packs + + Added: trunk/themes/blog/jscalendar/bugtest-hidden-selects.html =================================================================== --- trunk/themes/blog/jscalendar/bugtest-hidden-selects.html (rev 0) +++ trunk/themes/blog/jscalendar/bugtest-hidden-selects.html 2015-04-01 14:33:34 UTC (rev 9638) @@ -0,0 +1,108 @@ +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ro" lang="ro"> + +<head> +<title>Bug</title> +<link rel="stylesheet" type="text/css" media="all" href="calendar-win2k-1.css" title="win2k-1" /> + +<!-- import the calendar script --> +<script type="text/javascript" src="calendar.js"></script> + +<!-- import the language module --> +<script type="text/javascript" src="lang/calendar-en.js"></script> + +<!-- helper script that uses the calendar --> +<script type="text/javascript"> +// This function gets called when the end-user clicks on some date. +function selected(cal, date) { + cal.sel.value = date; // just update the date in the input field. + if (cal.sel.id == "sel1" || cal.sel.id == "sel3") + // if we add this call we close the calendar on single-click. + // just to exemplify both cases, we are using this only for the 1st + // and the 3rd field, while 2nd and 4th will still require double-click. + cal.callCloseHandler(); +} + +// And this gets called when the end-user clicks on the _selected_ date, +// or clicks on the "Close" button. It just hides the calendar without +// destroying it. +function closeHandler(cal) { + cal.hide(); // hide the calendar +} + +// This function shows the calendar under the element having the given id. +// It takes care of catching "mousedown" signals on document and hiding the +// calendar if the click was outside. +function showCalendar(id, format) { + var el = document.getElementById(id); + if (calendar != null) { + // we already have some calendar created + calendar.hide(); // so we hide it first. + } else { + // first-time call, create the calendar. + var cal = new Calendar(false, null, selected, closeHandler); + // uncomment the following line to hide the week numbers + // cal.weekNumbers = false; + calendar = cal; // remember it in the global var + cal.setRange(1900, 2070); // min/max year allowed. + cal.create(); + } + calendar.setDateFormat(format); // set the specified date format + calendar.parseDate(el.value); // try to parse the text in field + calendar.sel = el; // inform it what input field we use + calendar.showAtElement(el); // show the calendar below it + + return false; +} + +var MINUTE = 60 * 1000; +var HOUR = 60 * MINUTE; +var DAY = 24 * HOUR; +var WEEK = 7 * DAY; + +// If this handler returns true then the "date" given as +// parameter will be disabled. In this example we enable +// only days within a range of 10 days from the current +// date. +// You can use the functions date.getFullYear() -- returns the year +// as 4 digit number, date.getMonth() -- returns the month as 0..11, +// and date.getDate() -- returns the date of the month as 1..31, to +// make heavy calculations here. However, beware that this function +// should be very fast, as it is called for each day in a month when +// the calendar is (re)constructed. +function isDisabled(date) { + var today = new Date(); + return (Math.abs(date.getTime() - today.getTime()) / DAY) > 10; +} +</script> +</head> + +<body> +<form> +<b>Date:</b> +<br> +<input type="text" name="date1" id="sel1" size="30"> +<input type="button" value="..." onclick="return showCalendar('sel1', 'y-m-d');"> +<p> +<br> +<br><b>Visible <select>, hides and unhides as expected</b> +<br> +<select name="foo" multiple> +<option value="1">can use the functions date.getFullYear() -- returns</option> +<option value="2">4 digit number, date.getMonth() -- returns the month</option> +<option value="3">heavy calculations here. However, beware that this</option> +</select> + +<p> +<br><b>Hidden <select>, it should stay hidden (but doesn't)</b> +<br> +<select name="foo2" multiple style="visibility: hidden"> +<option value="1">this should</option> +<option value="2">remain hidden right?</option> +</select> + +<p> +<br><b>Hidden textbox below, it stays hidden as expected</b> +<br> +<input type="text" name="foo3" value="this stays hidden just fine" style="visibility: hidden"> +</form> +</body></html> Added: trunk/themes/blog/jscalendar/calendar-blue.css =================================================================== --- trunk/themes/blog/jscalendar/calendar-blue.css (rev 0) +++ trunk/themes/blog/jscalendar/calendar-blue.css 2015-04-01 14:33:34 UTC (rev 9638) @@ -0,0 +1,232 @@ +/* The main calendar widget. DIV containing a table. */ + +div.calendar { position: relative; } + +.calendar, .calendar table { + border: 1px solid #556; + font-size: 11px; + color: #000; + cursor: default; + background: #eef; + font-family: tahoma,verdana,sans-serif; +} + +/* Header part -- contains navigation buttons and day names. */ + +.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ + text-align: center; /* They are the navigation buttons */ + padding: 2px; /* Make the buttons seem like they're pressing */ +} + +.calendar .nav { + background: #778 url(menuarrow.gif) no-repeat 100% 100%; +} + +.calendar thead .title { /* This holds the current "month, year" */ + font-weight: bold; /* Pressing it will take you to the current date */ + text-align: center; + background: #fff; + color: #000; + padding: 2px; +} + +.calendar thead .headrow { /* Row <TR> containing navigation buttons */ + background: #778; + color: #fff; +} + +.calendar thead .daynames { /* Row <TR> containing the day names */ + background: #bdf; +} + +.calendar thead .name { /* Cells <TD> containing the day names */ + border-bottom: 1px solid #556; + padding: 2px; + text-align: center; + color: #000; +} + +.calendar thead .weekend { /* How a weekend day name shows in header */ + color: #a66; +} + +.calendar thead .hilite { /* How do the buttons in header appear when hover */ + background-color: #aaf; + color: #000; + border: 1px solid #04f; + padding: 1px; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + background-color: #77c; + padding: 2px 0px 0px 2px; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells <TD> containing month days dates */ + width: 2em; + color: #456; + text-align: right; + padding: 2px 4px 2px 2px; +} +.calendar tbody .day.othermonth { + font-size: 80%; + color: #bbb; +} +.calendar tbody .day.othermonth.oweekend { + color: #fbb; +} + +.calendar table .wn { + padding: 2px 3px 2px 2px; + border-right: 1px solid #000; + background: #bdf; +} + +.calendar tbody .rowhilite td { + background: #def; +} + +.calendar tbody .rowhilite td.wn { + background: #eef; +} + +.calendar tbody td.hilite { /* Hovered cells <TD> */ + background: #def; + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} + +.calendar tbody td.active { /* Active (pressed) cells <TD> */ + background: #cde; + padding: 2px 2px 0px 2px; +} + +.calendar tbody td.selected { /* Cell showing today date */ + font-weight: bold; + border: 1px solid #000; + padding: 1px 3px 1px 1px; + background: #fff; + color: #000; +} + +.calendar tbody td.weekend { /* Cells showing weekend days */ + color: #a66; +} + +.calendar tbody td.today { /* Cell showing selected date */ + font-weight: bold; + color: #00f; +} + +.calendar tbody .disabled { color: #999; } + +.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ + visibility: hidden; +} + +.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ + display: none; +} + +/* The footer part -- status bar and "Close" button */ + +.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ + text-align: center; + background: #556; + color: #fff; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ + background: #fff; + color: #445; + border-top: 1px solid #556; + padding: 1px; +} + +.calendar tfoot .hilite { /* Hover style for buttons in footer */ + background: #aaf; + border: 1px solid #04f; + color: #000; + padding: 1px; +} + +.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ + background: #77c; + padding: 2px 0px 0px 2px; +} + +/* Combo boxes (menus that display months/years for direct selection) */ + +.calendar .combo { + position: absolute; + display: none; + top: 0px; + left: 0px; + width: 4em; + cursor: default; + border: 1px solid #655; + background: #def; + color: #000; + font-size: 90%; + z-index: 100; +} + +.calendar .combo .label, +.calendar .combo .label-IEfix { + text-align: center; + padding: 1px; +} + +.calendar .combo .label-IEfix { + width: 4em; +} + +.calendar .combo .hilite { + background: #acf; +} + +.calendar .combo .active { + border-top: 1px solid #46a; + border-bottom: 1px solid #46a; + background: #eef; + font-weight: bold; +} + +.calendar td.time { + border-top: 1px solid #000; + padding: 1px 0px; + text-align: center; + background-color: #f4f0e8; +} + +.calendar td.time .hour, +.calendar td.time .minute, +.calendar td.time .ampm { + padding: 0px 3px 0px 4px; + border: 1px solid #889; + font-weight: bold; + background-color: #fff; +} + +.calendar td.time .ampm { + text-align: center; +} + +.calendar td.time .colon { + padding: 0px 2px 0px 3px; + font-weight: bold; +} + +.calendar td.time span.hilite { + border-color: #000; + background-color: #667; + color: #fff; +} + +.calendar td.time span.active { + border-color: #f00; + background-color: #000; + color: #0f0; +} Added: trunk/themes/blog/jscalendar/calendar-blue2.css =================================================================== --- trunk/themes/blog/jscalendar/calendar-blue2.css (rev 0) +++ trunk/themes/blog/jscalendar/calendar-blue2.css 2015-04-01 14:33:34 UTC (rev 9638) @@ -0,0 +1,236 @@ +/* The main calendar widget. DIV containing a table. */ + +div.calendar { position: relative; } + +.calendar, .calendar table { + border: 1px solid #206A9B; + font-size: 11px; + color: #000; + cursor: default; + background: #F1F8FC; + font-family: tahoma,verdana,sans-serif; +} + +/* Header part -- contains navigation buttons and day names. */ + +.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ + text-align: center; /* They are the navigation buttons */ + padding: 2px; /* Make the buttons seem like they're pressing */ +} + +.calendar .nav { + background: #007ED1 url(menuarrow2.gif) no-repeat 100% 100%; +} + +.calendar thead .title { /* This holds the current "month, year" */ + font-weight: bold; /* Pressing it will take you to the current date */ + text-align: center; + background: #000; + color: #fff; + padding: 2px; +} + +.calendar thead tr { /* Row <TR> containing navigation buttons */ + background: #007ED1; + color: #fff; +} + +.calendar thead .daynames { /* Row <TR> containing the day names */ + background: #C7E1F3; +} + +.calendar thead .name { /* Cells <TD> containing the day names */ + border-bottom: 1px solid #206A9B; + padding: 2px; + text-align: center; + color: #000; +} + +.calendar thead .weekend { /* How a weekend day name shows in header */ + color: #a66; +} + +.calendar thead .hilite { /* How do the buttons in header appear when hover */ + background-color: #34ABFA; + color: #000; + border: 1px solid #016DC5; + padding: 1px; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + background-color: #006AA9; + border: 1px solid #008AFF; + padding: 2px 0px 0px 2px; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells <TD> containing month days dates */ + width: 2em; + color: #456; + text-align: right; + padding: 2px 4px 2px 2px; +} +.calendar tbody .day.othermonth { + font-size: 80%; + color: #bbb; +} +.calendar tbody .day.othermonth.oweekend { + color: #fbb; +} + +.calendar table .wn { + padding: 2px 3px 2px 2px; + border-right: 1px solid #000; + background: #C7E1F3; +} + +.calendar tbody .rowhilite td { + background: #def; +} + +.calendar tbody .rowhilite td.wn { + background: #F1F8FC; +} + +.calendar tbody td.hilite { /* Hovered cells <TD> */ + background: #def; + padding: 1px 3px 1px 1px; + border: 1px solid #8FC4E8; +} + +.calendar tbody td.active { /* Active (pressed) cells <TD> */ + background: #cde; + padding: 2px 2px 0px 2px; +} + +.calendar tbody td.selected { /* Cell showing today date */ + font-weight: bold; + border: 1px solid #000; + padding: 1px 3px 1px 1px; + background: #fff; + color: #000; +} + +.calendar tbody td.weekend { /* Cells showing weekend days */ + color: #a66; +} + +.calendar tbody td.today { /* Cell showing selected date */ + font-weight: bold; + color: #D50000; +} + +.calendar tbody .disabled { color: #999; } + +.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ + visibility: hidden; +} + +.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ + display: none; +} + +/* The footer part -- status bar and "Close" button */ + +.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ + text-align: center; + background: #206A9B; + color: #fff; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ + background: #000; + color: #fff; + border-top: 1px solid #206A9B; + padding: 1px; +} + +.calendar tfoot .hilite { /* Hover style for buttons in footer */ + background: #B8DAF0; + border: 1px solid #178AEB; + color: #000; + padding: 1px; +} + +.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ + background: #006AA9; + padding: 2px 0px 0px 2px; +} + +/* Combo boxes (menus that display months/years for direct selection) */ + +.calendar .combo { + position: absolute; + display: none; + top: 0px; + left: 0px; + width: 4em; + cursor: default; + border: 1px solid #655; + background: #def; + color: #000; + font-size: 90%; + z-index: 100; +} + +.calendar .combo .label, +.calendar .combo .label-IEfix { + text-align: center; + padding: 1px; +} + +.calendar .combo .label-IEfix { + width: 4em; +} + +.calendar .combo .hilite { + background: #34ABFA; + border-top: 1px solid #46a; + border-bottom: 1px solid #46a; + font-weight: bold; +} + +.calendar .combo .active { + border-top: 1px solid #46a; + border-bottom: 1px solid #46a; + background: #F1F8FC; + font-weight: bold; +} + +.calendar td.time { + border-top: 1px solid #000; + padding: 1px 0px; + text-align: center; + background-color: #E3F0F9; +} + +.calendar td.time .hour, +.calendar td.time .minute, +.calendar td.time .ampm { + padding: 0px 3px 0px 4px; + border: 1px solid #889; + font-weight: bold; + background-color: #F1F8FC; +} + +.calendar td.time .ampm { + text-align: center; +} + +.calendar td.time .colon { + padding: 0px 2px 0px 3px; + font-weight: bold; +} + +.calendar td.time span.hilite { + border-color: #000; + background-color: #267DB7; + color: #fff; +} + +.calendar td.time span.active { + border-color: red; + background-color: #000; + color: #A5FF00; +} Added: trunk/themes/blog/jscalendar/calendar-brown.css =================================================================== --- trunk/themes/blog/jscalendar/calendar-brown.css (rev 0) +++ trunk/themes/blog/jscalendar/calendar-brown.css 2015-04-01 14:33:34 UTC (rev 9638) @@ -0,0 +1,225 @@ +/* The main calendar widget. DIV containing a table. */ + +div.calendar { position: relative; } + +.calendar, .calendar table { + border: 1px solid #655; + font-size: 11px; + color: #000; + cursor: default; + background: #ffd; + font-family: tahoma,verdana,sans-serif; +} + +/* Header part -- contains navigation buttons and day names. */ + +.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ + text-align: center; /* They are the navigation buttons */ + padding: 2px; /* Make the buttons seem like they're pressing */ +} + +.calendar .nav { + background: #edc url(menuarrow.gif) no-repeat 100% 100%; +} + +.calendar thead .title { /* This holds the current "month, year" */ + font-weight: bold; /* Pressing it will take you to the current date */ + text-align: center; + background: #654; + color: #fed; + padding: 2px; +} + +.calendar thead .headrow { /* Row <TR> containing navigation buttons */ + background: #edc; + color: #000; +} + +.calendar thead .name { /* Cells <TD> containing the day names */ + border-bottom: 1px solid #655; + padding: 2px; + text-align: center; + color: #000; +} + +.calendar thead .weekend { /* How a weekend day name shows in header */ + color: #f00; +} + +.calendar thead .hilite { /* How do the buttons in header appear when hover */ + background-color: #faa; + color: #000; + border: 1px solid #f40; + padding: 1px; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + background-color: #c77; + padding: 2px 0px 0px 2px; +} + +.calendar thead .daynames { /* Row <TR> containing the day names */ + background: #fed; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells <TD> containing month days dates */ + width: 2em; + text-align: right; + padding: 2px 4px 2px 2px; +} +.calendar tbody .day.othermonth { + font-size: 80%; + color: #bbb; +} +.calendar tbody .day.othermonth.oweekend { + color: #fbb; +} + +.calendar table .wn { + padding: 2px 3px 2px 2px; + border-right: 1px solid #000; + background: #fed; +} + +.calendar tbody .rowhilite td { + background: #ddf; +} + +.calendar tbody .rowhilite td.wn { + background: #efe; +} + +.calendar tbody td.hilite { /* Hovered cells <TD> */ + background: #ffe; + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} + +.calendar tbody td.active { /* Active (pressed) cells <TD> */ + background: #ddc; + padding: 2px 2px 0px 2px; +} + +.calendar tbody td.selected { /* Cell showing today date */ + font-weight: bold; + border: 1px solid #000; + padding: 1px 3px 1px 1px; + background: #fea; +} + +.calendar tbody td.weekend { /* Cells showing weekend days */ + color: #f00; +} + +.calendar tbody td.today { font-weight: bold; } + +.calendar tbody .disabled { color: #999; } + +.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ + visibility: hidden; +} + +.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ + display: none; +} + +/* The footer part -- status bar and "Close" button */ + +.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ + text-align: center; + background: #988; + color: #000; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ + border-top: 1px solid #655; + background: #dcb; + color: #840; +} + +.calendar tfoot .hilite { /* Hover style for buttons in footer */ + background: #faa; + border: 1px solid #f40; + padding: 1px; +} + +.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ + background: #c77; + padding: 2px 0px 0px 2px; +} + +/* Combo boxes (menus that display months/years for direct selection) */ + +.calendar .combo { + position: absolute; + display: none; + top: 0px; + left: 0px; + width: 4em; + cursor: default; + border: 1px solid #655; + background: #ffe; + color: #000; + font-size: 90%; + z-index: 100; +} + +.calendar .combo .label, +.calendar .combo .label-IEfix { + text-align: center; + padding: 1px; +} + +.calendar .combo .label-IEfix { + width: 4em; +} + +.calendar .combo .hilite { + background: #fc8; +} + +.calendar .combo .active { + border-top: 1px solid #a64; + border-bottom: 1px solid #a64; + background: #fee; + font-weight: bold; +} + +.calendar td.time { + border-top: 1px solid #a88; + padding: 1px 0px; + text-align: center; + background-color: #fed; +} + +.calendar td.time .hour, +.calendar td.time .minute, +.calendar td.time .ampm { + padding: 0px 3px 0px 4px; + border: 1px solid #988; + font-weight: bold; + background-color: #fff; +} + +.calendar td.time .ampm { + text-align: center; +} + +.calendar td.time .colon { + padding: 0px 2px 0px 3px; + font-weight: bold; +} + +.calendar td.time span.hilite { + border-color: #000; + background-color: #866; + color: #fff; +} + +.calendar td.time span.active { + border-color: #f00; + background-color: #000; + color: #0f0; +} Added: trunk/themes/blog/jscalendar/calendar-green.css =================================================================== --- trunk/themes/blog/jscalendar/calendar-green.css (rev 0) +++ trunk/themes/blog/jscalendar/calendar-green.css 2015-04-01 14:33:34 UTC (rev 9638) @@ -0,0 +1,229 @@ +/* The main calendar widget. DIV containing a table. */ + +div.calendar { position: relative; } + +.calendar, .calendar table { + border: 1px solid #565; + font-size: 11px; + color: #000; + cursor: default; + background: #efe; + font-family: tahoma,verdana,sans-serif; +} + +/* Header part -- contains navigation buttons and day names. */ + +.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ + text-align: center; /* They are the navigation buttons */ + padding: 2px; /* Make the buttons seem like they're pressing */ + background: #676; + color: #fff; + font-size: 90%; +} + +.calendar .nav { + background: #676 url(menuarrow.gif) no-repeat 100% 100%; +} + +.calendar thead .title { /* This holds the current "month, year" */ + font-weight: bold; /* Pressing it will take you to the current date */ + text-align: center; + padding: 2px; + background: #250; + color: #efa; +} + +.calendar thead .headrow { /* Row <TR> containing navigation buttons */ +} + +.calendar thead .name { /* Cells <TD> containing the day names */ + border-bottom: 1px solid #565; + padding: 2px; + text-align: center; + color: #000; +} + +.calendar thead .weekend { /* How a weekend day name shows in header */ + color: #a66; +} + +.calendar thead .hilite { /* How do the buttons in header appear when hover */ + background-color: #afa; + color: #000; + border: 1px solid #084; + padding: 1px; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + background-color: #7c7; + padding: 2px 0px 0px 2px; +} + +.calendar thead .daynames { /* Row <TR> containing the day names */ + background: #dfb; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells <TD> containing month days dates */ + width: 2em; + color: #564; + text-align: right; + padding: 2px 4px 2px 2px; +} +.calendar tbody .day.othermonth { + font-size: 80%; + color: #bbb; +} +.calendar tbody .day.othermonth.oweekend { + color: #fbb; +} + +.calendar table .wn { + padding: 2px 3px 2px 2px; + border-right: 1px solid #8a8; + background: #dfb; +} + +.calendar tbody .rowhilite td { + background: #dfd; +} + +.calendar tbody .rowhilite td.wn { + background: #efe; +} + +.calendar tbody td.hilite { /* Hovered cells <TD> */ + background: #efd; + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} + +.calendar tbody td.active { /* Active (pressed) cells <TD> */ + background: #dec; + padding: 2px 2px 0px 2px; +} + +.calendar tbody td.selected { /* Cell showing today date */ + font-weight: bold; + border: 1px solid #000; + padding: 1px 3px 1px 1px; + background: #f8fff8; + color: #000; +} + +.calendar tbody td.weekend { /* Cells showing weekend days */ + color: #a66; +} + +.calendar tbody td.today { font-weight: bold; color: #0a0; } + +.calendar tbody .disabled { color: #999; } + +.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ + visibility: hidden; +} + +.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ + display: none; +} + +/* The footer part -- status bar and "Close" button */ + +.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ + text-align: center; + background: #565; + color: #fff; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ + padding: 2px; + background: #250; + color: #efa; +} + +.calendar tfoot .hilite { /* Hover style for buttons in footer */ + background: #afa; + border: 1px solid #084; + color: #000; + padding: 1px; +} + +.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ + background: #7c7; + padding: 2px 0px 0px 2px; +} + +/* Combo boxes (menus that display months/years for direct selection) */ + +.calendar .combo { + position: absolute; + display: none; + top: 0px; + left: 0px; + width: 4em; + cursor: default; + border: 1px solid #565; + background: #efd; + color: #000; + font-size: 90%; + z-index: 100; +} + +.calendar .combo .label, +.calendar .combo .label-IEfix { + text-align: center; + padding: 1px; +} + +.calendar .combo .label-IEfix { + width: 4em; +} + +.calendar .combo .hilite { + background: #af8; +} + +.calendar .combo .active { + border-top: 1px solid #6a4; + border-bottom: 1px solid #6a4; + background: #efe; + font-weight: bold; +} + +.calendar td.time { + border-top: 1px solid #8a8; + padding: 1px 0px; + text-align: center; + background-color: #dfb; +} + +.calendar td.time .hour, +.calendar td.time .minute, +.calendar td.time .ampm { + padding: 0px 3px 0px 4px; + border: 1px solid #898; + font-weight: bold; + background-color: #fff; +} + +.calendar td.time .ampm { + text-align: center; +} + +.calendar td.time .colon { + padding: 0px 2px 0px 3px; + font-weight: bold; +} + +.calendar td.time span.hilite { + border-color: #000; + background-color: #686; + color: #fff; +} + +.calendar td.time span.active { + border-color: #f00; + background-color: #000; + color: #0f0; +} Modified: trunk/themes/blog/jscalendar/calendar-setup.js =================================================================== --- trunk/themes/blog/jscalendar/calendar-setup.js 2015-04-01 13:52:48 UTC (rev 9637) +++ trunk/themes/blog/jscalendar/calendar-setup.js 2015-04-01 14:33:34 UTC (rev 9638) @@ -198,203 +198,3 @@ return cal; }; -/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/ - * --------------------------------------------------------------------------- - * - * The DHTML Calendar - * - * Details and latest version at: - * http://dynarch.com/mishoo/calendar.epl - * - * This script is distributed under the GNU Lesser General Public License. - * Read the entire license text here: http://www.gnu.org/licenses/lgpl.html - * - * This file defines helper functions for setting up the calendar. They are - * intended to help non-programmers get a working calendar on their site - * quickly. This script should not be seen as part of the calendar. It just - * shows you what one can do with the calendar, while in the same time - * providing a quick and simple method for setting it up. If you need - * exhaustive customization of the calendar creation process feel free to - * modify this code to suit your needs (this is recommended and much better - * than modifying calendar.js itself). - */ - -// $Id$ - -/** - * This function "patches" an input field (or other element) to use a calendar - * widget for date selection. - * - * The "params" is a single object that can have the following properties: - * - * prop. name | description - * ------------------------------------------------------------------------------------------------- - * inputField | the ID of an input field to store the date - * displayArea | the ID of a DIV or other element to show the date - * button | ID of a button or other element that will trigger the calendar - * eventName | event that will trigger the calendar, without the "on" prefix (default: "click") - * ifFormat | date format that will be stored in the input field - * daFormat | the date format that will be used to display the date in displayArea - * singleClick | (true/false) wether the calendar is in single click mode or not (default: true) - * firstDay | numeric: 0 to 6. "0" means display Sunday first, "1" means display Monday first, etc. - * align | alignment (default: "Br"); if you don't know what's this see the calendar documentation - * range | array with 2 elements. Default: [1900, 2999] -- the range of years available - * weekNumbers | (true/false) if it's true (default) the calendar will display week numbers - * flat | null or element ID; if not null the calendar will be a flat calendar having the parent with the given ID - * flatCallback | function that receives a JS Date object and returns an URL to point the browser to (for flat calendar) - * disableFunc | function that receives a JS Date object and should return true if that date has to be disabled in the calendar - * onSelect | function that gets called when a date is selected. You don't _have_ to supply this (the default is generally okay) - * onClose | function that gets called when the calendar is closed. [default] - * onUpdate | function that gets called after the date is updated in the input field. Receives a reference to the calendar. - * date | the date that the calendar will be initially displayed to - * showsTime | default: false; if true the calendar will include a time selector - * timeFormat | the time format; can be "12" or "24", default is "12" - * electric | if true (default) then given fields/date areas are updated for each move; otherwise they're updated only on close - * step | configures the step of the years in drop-down boxes; default: 2 - * position | configures the calendar absolute position; default: null - * cache | ... [truncated message content] |
From: <var...@us...> - 2015-04-01 13:52:56
|
Revision: 9637 http://sourceforge.net/p/phpwiki/code/9637 Author: vargenau Date: 2015-04-01 13:52:48 +0000 (Wed, 01 Apr 2015) Log Message: ----------- Move jscalendar from Sidebar to blog theme Modified Paths: -------------- trunk/themes/blog/themeinfo.php Added Paths: ----------- trunk/themes/blog/jscalendar/ trunk/themes/blog/templates/calendar.tmpl Removed Paths: ------------- trunk/themes/Sidebar/jscalendar/ trunk/themes/Sidebar/templates/calendar.tmpl Deleted: trunk/themes/Sidebar/templates/calendar.tmpl =================================================================== --- trunk/themes/Sidebar/templates/calendar.tmpl 2015-04-01 13:44:45 UTC (rev 9636) +++ trunk/themes/Sidebar/templates/calendar.tmpl 2015-04-01 13:52:48 UTC (rev 9637) @@ -1,13 +0,0 @@ -<div id="calendar"></div> -<?php echo JavaScript(' -function dateChanged(calendar) { - if (calendar.dateClicked) { - var y = calendar.date.getFullYear(); - var m = calendar.date.getMonth() + 1; // integer, 0..11 - var d = calendar.date.getDate(); // integer, 1..31 - m = m < 10 ? "0" + m : m; - d = d < 10 ? "0" + d : d; - window.location = "' . WikiUrl($WikiTheme->calendarBase(),0,1) . '/' . '" + y + "-" + m + "-" + d; - } -}; -Calendar.setup({flat : "calendar", flatCallback : dateChanged, setDateStatusFunc : dateStatusFunc, weekNumbers : false})') ?> Copied: trunk/themes/blog/templates/calendar.tmpl (from rev 9635, trunk/themes/Sidebar/templates/calendar.tmpl) =================================================================== --- trunk/themes/blog/templates/calendar.tmpl (rev 0) +++ trunk/themes/blog/templates/calendar.tmpl 2015-04-01 13:52:48 UTC (rev 9637) @@ -0,0 +1,13 @@ +<div id="calendar"></div> +<?php echo JavaScript(' +function dateChanged(calendar) { + if (calendar.dateClicked) { + var y = calendar.date.getFullYear(); + var m = calendar.date.getMonth() + 1; // integer, 0..11 + var d = calendar.date.getDate(); // integer, 1..31 + m = m < 10 ? "0" + m : m; + d = d < 10 ? "0" + d : d; + window.location = "' . WikiUrl($WikiTheme->calendarBase(),0,1) . '/' . '" + y + "-" + m + "-" + d; + } +}; +Calendar.setup({flat : "calendar", flatCallback : dateChanged, setDateStatusFunc : dateStatusFunc, weekNumbers : false})') ?> Modified: trunk/themes/blog/themeinfo.php =================================================================== --- trunk/themes/blog/themeinfo.php 2015-04-01 13:44:45 UTC (rev 9636) +++ trunk/themes/blog/themeinfo.php 2015-04-01 13:52:48 UTC (rev 9637) @@ -42,16 +42,6 @@ $this->calendarInit(); } - /* overload to load from Sidebar */ - function _findFile($file, $missing_okay = false) - { - if (file_exists($this->_path . "themes/" . $this->_name . "/$file")) - return "themes/" . $this->_name . "/$file"; - if (file_exists($this->_path . "themes/Sidebar/$file")) - return "themes/Sidebar/$file"; - return parent::_findFile($file, $missing_okay); - } - /* Display up/down button with persistent state */ /* persistent state per block in cookie for 30 days */ function folderArrow($id, $init = 'Open') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-01 13:44:47
|
Revision: 9636 http://sourceforge.net/p/phpwiki/code/9636 Author: vargenau Date: 2015-04-01 13:44:45 +0000 (Wed, 01 Apr 2015) Log Message: ----------- Fix test Modified Paths: -------------- trunk/lib/WikiTheme.php Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2015-04-01 13:31:30 UTC (rev 9635) +++ trunk/lib/WikiTheme.php 2015-04-01 13:44:45 UTC (rev 9636) @@ -1638,35 +1638,33 @@ $dbi = $request->getDbh(); // display flat calender dhtml in the sidebar - if ($dbi->isWikiPage($this->calendarBase())) { - $jslang = @$GLOBALS['LANG']; - $this->addMoreHeaders - ( + $jslang = @$GLOBALS['LANG']; + $this->addMoreHeaders( $this->_CSSlink(0, $this->_findFile('jscalendar/calendar-phpwiki.css'), 'all')); - $this->addMoreHeaders + $this->addMoreHeaders (JavaScript('', array('src' => $this->_findData('jscalendar/calendar' . (DEBUG ? '' : '_stripped') . '.js')))); - if (!($langfile = $this->_findData("jscalendar/lang/calendar-$jslang.js"))) + if (!($langfile = $this->_findData("jscalendar/lang/calendar-$jslang.js"))) $langfile = $this->_findData("jscalendar/lang/calendar-en.js"); - $this->addMoreHeaders(JavaScript('', array('src' => $langfile))); - $this->addMoreHeaders + $this->addMoreHeaders(JavaScript('', array('src' => $langfile))); + $this->addMoreHeaders (JavaScript('', array('src' => $this->_findData('jscalendar/calendar-setup' . (DEBUG ? '' : '_stripped') . '.js')))); - // Get existing date entries for the current user - require_once 'lib/TextSearchQuery.php'; - $iter = $dbi->titleSearch(new TextSearchQuery("^" . $this->calendarBase() . '/', true, "auto")); - $existing = array(); - while ($page = $iter->next()) { - if ($page->exists()) - $existing[] = basename($page->_pagename); - } - if (!empty($existing)) { - $js_exist = '{"' . join('":1,"', $existing) . '":1}'; - //var SPECIAL_DAYS = {"2004-05-11":1,"2004-05-12":1,"2004-06-01":1} - $this->addMoreHeaders(JavaScript(' + // Get existing date entries for the current user + require_once 'lib/TextSearchQuery.php'; + $iter = $dbi->titleSearch(new TextSearchQuery("^" . $this->calendarBase() . '/', true, "auto")); + $existing = array(); + while ($page = $iter->next()) { + if ($page->exists()) + $existing[] = basename($page->_pagename); + } + if (!empty($existing)) { + $js_exist = '{"' . join('":1,"', $existing) . '":1}'; + //var SPECIAL_DAYS = {"2004-05-11":1,"2004-05-12":1,"2004-06-01":1} + $this->addMoreHeaders(JavaScript(' /* This table holds the existing calender entries for the current user * calculated from the database */ @@ -1692,10 +1690,9 @@ else return false; } ')); - } else { - $this->addMoreHeaders(JavaScript(' + } else { + $this->addMoreHeaders(JavaScript(' function dateStatusFunc(date, y, m, d) { return false;}')); - } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-01 13:31:32
|
Revision: 9635 http://sourceforge.net/p/phpwiki/code/9635 Author: vargenau Date: 2015-04-01 13:31:30 +0000 (Wed, 01 Apr 2015) Log Message: ----------- No parameter for calendarInit Modified Paths: -------------- trunk/lib/WikiTheme.php trunk/themes/Sidebar/themeinfo.php trunk/themes/blog/themeinfo.php Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2015-04-01 08:04:48 UTC (rev 9634) +++ trunk/lib/WikiTheme.php 2015-04-01 13:31:30 UTC (rev 9635) @@ -1629,7 +1629,7 @@ return $UserCalPageTitle; } - function calendarInit($force = false) + function calendarInit() { /** * @var WikiRequest $request @@ -1638,7 +1638,7 @@ $dbi = $request->getDbh(); // display flat calender dhtml in the sidebar - if ($force or $dbi->isWikiPage($this->calendarBase())) { + if ($dbi->isWikiPage($this->calendarBase())) { $jslang = @$GLOBALS['LANG']; $this->addMoreHeaders ( Modified: trunk/themes/Sidebar/themeinfo.php =================================================================== --- trunk/themes/Sidebar/themeinfo.php 2015-04-01 08:04:48 UTC (rev 9634) +++ trunk/themes/Sidebar/themeinfo.php 2015-04-01 13:31:30 UTC (rev 9635) @@ -11,7 +11,6 @@ * which can be used as parent class for all sidebar themes. See MonoBook and blog. * It is now an extension of the MonoBook theme. * - * This uses the dynamic jscalendar, which doesn't need extra requests per month/year change. * This is a complete rewrite and not related to the old Sidebar theme. * It is derived from MonoBook, includes the calendar and can derive from wikilens. * Modified: trunk/themes/blog/themeinfo.php =================================================================== --- trunk/themes/blog/themeinfo.php 2015-04-01 08:04:48 UTC (rev 9634) +++ trunk/themes/blog/themeinfo.php 2015-04-01 13:31:30 UTC (rev 9635) @@ -39,7 +39,7 @@ function __construct($theme_name = 'blog') { $this->WikiTheme($theme_name); - $this->calendarInit(true); + $this->calendarInit(); } /* overload to load from Sidebar */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-01 08:04:50
|
Revision: 9634 http://sourceforge.net/p/phpwiki/code/9634 Author: vargenau Date: 2015-04-01 08:04:48 +0000 (Wed, 01 Apr 2015) Log Message: ----------- Remove MockRequest Modified Paths: -------------- trunk/lib/MailNotify.php trunk/lib/WikiDB.php trunk/lib/loadsave.php trunk/lib/plugin/PasswordReset.php trunk/lib/plugin/UserPreferences.php trunk/lib/plugin/WatchPage.php Modified: trunk/lib/MailNotify.php =================================================================== --- trunk/lib/MailNotify.php 2015-03-31 13:37:40 UTC (rev 9633) +++ trunk/lib/MailNotify.php 2015-04-01 08:04:48 UTC (rev 9634) @@ -330,22 +330,15 @@ */ public function onChangePage(&$wikidb, &$wikitext, $version, &$meta) { - /** - * @var WikiRequest $request - */ - global $request; - - if (!is_a($request, 'MockRequest')) { - $notify = $wikidb->get('notify'); - /* Generate notification emails? */ - if (!empty($notify) and is_array($notify)) { - if (empty($this->pagename)) - $this->pagename = $meta['pagename']; - // TODO: Should be used for ModeratePage and RSS2 Cloud xml-rpc also. - $this->getPageChangeEmails($notify); - if (!empty($this->emails)) { - $this->sendPageChangeNotification($wikitext, $version, $meta); - } + $notify = $wikidb->get('notify'); + /* Generate notification emails? */ + if (!empty($notify) and is_array($notify)) { + if (empty($this->pagename)) + $this->pagename = $meta['pagename']; + // TODO: Should be used for ModeratePage and RSS2 Cloud xml-rpc also. + $this->getPageChangeEmails($notify); + if (!empty($this->emails)) { + $this->sendPageChangeNotification($wikitext, $version, $meta); } } } @@ -357,14 +350,9 @@ */ public function onDeletePage(&$wikidb, $pagename) { - /** - * @var WikiRequest $request - */ - global $request; - $result = true; /* Generate notification emails? */ - if (!$wikidb->isWikiPage($pagename) and !is_a($request, 'MockRequest')) { + if (!$wikidb->isWikiPage($pagename)) { $notify = $wikidb->get('notify'); if (!empty($notify) and is_array($notify)) { //TODO: deferr it (quite a massive load if you remove some pages). @@ -385,19 +373,12 @@ */ public function onRenamePage(&$wikidb, $oldpage, $new_pagename) { - /** - * @var WikiRequest $request - */ - global $request; - - if (!is_a($request, 'MockRequest')) { - $notify = $wikidb->get('notify'); - if (!empty($notify) and is_array($notify)) { - $this->getPageChangeEmails($notify); - if (!empty($this->emails)) { - $this->pagename = $oldpage; - $this->sendPageRenameNotification($new_pagename); - } + $notify = $wikidb->get('notify'); + if (!empty($notify) and is_array($notify)) { + $this->getPageChangeEmails($notify); + if (!empty($this->emails)) { + $this->pagename = $oldpage; + $this->sendPageRenameNotification($new_pagename); } } } Modified: trunk/lib/WikiDB.php =================================================================== --- trunk/lib/WikiDB.php 2015-03-31 13:37:40 UTC (rev 9633) +++ trunk/lib/WikiDB.php 2015-04-01 08:04:48 UTC (rev 9634) @@ -577,7 +577,7 @@ E_USER_WARNING); } /* Generate notification emails? */ - if ($result and ENABLE_MAILNOTIFY and !is_a($request, 'MockRequest')) { + if ($result and ENABLE_MAILNOTIFY) { $notify = $this->get('notify'); if (!empty($notify) and is_array($notify)) { include_once 'lib/MailNotify.php'; @@ -1083,7 +1083,6 @@ $notify = $this->_wikidb->get('notify'); if (!empty($notify) and is_array($notify) - and !is_a($request, 'MockRequest') ) { include_once 'lib/MailNotify.php'; $MailNotify = new MailNotify($newrevision->getName()); @@ -1697,7 +1696,7 @@ $this->getMetaData()); if ($possibly_cache_results and !WIKIDB_NOCACHE_MARKUP) { - // If we're still the current version, cache the transfomed page. + // If we're still the current version, cache the transformed page. //$backend->lock(); if ($this->isCurrent()) { $page->set('_cached_html', $this->_transformedContent->pack()); Modified: trunk/lib/loadsave.php =================================================================== --- trunk/lib/loadsave.php 2015-03-31 13:37:40 UTC (rev 9633) +++ trunk/lib/loadsave.php 2015-04-01 08:04:48 UTC (rev 9634) @@ -37,12 +37,14 @@ return true; // Ignore error } -function StartLoadDump(&$request, $title, $html = '') +/** + * @param WikiRequest $request + * @param string $title + * @param HTML $html + */ + +function StartLoadDump(&$request, $title, $html = null) { - // MockRequest is from the unit testsuite, a faked request. (may be cmd-line) - // We are silent on unittests. - if (is_a($request, 'MockRequest')) - return; // FIXME: This is a hack. This really is the worst overall hack in phpwiki. if ($html) $html->pushContent('%BODY%'); @@ -56,12 +58,13 @@ $request->_deferredPageChangeNotification = array(); } +/** + * @param WikiRequest $request + */ function EndLoadDump(&$request) { global $WikiTheme; - if (is_a($request, 'MockRequest')) - return; $action = $request->getArg('action'); if ($action == 'browse') // loading virgin $pagelink = WikiLink(HOME_PAGE); @@ -140,6 +143,10 @@ * (RFC 1521 has been superceeded by RFC 2045 & others). * * Also see http://www.faqs.org/rfcs/rfc2822.html +/* + * @param WikiDB_Page $page + * @param int $nversions + * @return string */ function MailifyPage($page, $nversions = 1) { @@ -215,6 +222,8 @@ * If $include_archive is false, only the current version of each page * is included in the zip file; otherwise all archived versions are * included as well. + * + * @param WikiRequest $request */ function MakeWikiZip(&$request) { @@ -304,6 +313,9 @@ exit; } +/** + * @param WikiRequest $request + */ function DumpToDir(&$request) { $directory = $request->getArg('directory'); @@ -352,16 +364,12 @@ longer_timeout($timeout); // Reset watchdog $pagename = $page->getName(); - if (!is_a($request, 'MockRequest')) { - PrintXML(HTML::br(), $pagename, ' ... '); - flush(); - } + PrintXML(HTML::br(), $pagename, ' ... '); + flush(); if (in_array($pagename, $excludeList)) { - if (!is_a($request, 'MockRequest')) { - PrintXML(_("Skipped.")); - flush(); - } + PrintXML(_("Skipped.")); + flush(); continue; } $filename = FilenameForPage($pagename); @@ -384,10 +392,8 @@ $num = fwrite($fd, $data, strlen($data)); $msg->pushContent(HTML::small(fmt("%s bytes written", $num))); - if (!is_a($request, 'MockRequest')) { - PrintXML($msg); - flush(); - } + PrintXML($msg); + flush(); assert($num == strlen($data)); fclose($fd); } @@ -397,12 +403,10 @@ function _copyMsg($page, $smallmsg) { - if (!is_a($GLOBALS['request'], 'MockRequest')) { - if ($page) $msg = HTML(HTML::br(), HTML($page), HTML::small($smallmsg)); - else $msg = HTML::small($smallmsg); - PrintXML($msg); - flush(); - } + if ($page) $msg = HTML(HTML::br(), HTML($page), HTML::small($smallmsg)); + else $msg = HTML::small($smallmsg); + PrintXML($msg); + flush(); } function mkdir_p($pathname, $permission = 0777) @@ -485,7 +489,8 @@ EndLoadDump($request); } -/* Known problem: any plugins or other code which echo()s text will +/** + * Known problem: any plugins or other code which echo()s text will * lead to a corrupted html zip file which may produce the following * errors upon unzipping: * @@ -494,7 +499,10 @@ * (attempting to re-compensate) * * However, the actual wiki page data should be unaffected. + * + * @param WikiRequest $request */ + function MakeWikiZipHtml(&$request) { global $WikiTheme; @@ -634,13 +642,11 @@ if ($page->get('locked')) $attrib['write_protected'] = 1; } elseif (!$silent) { - if (!is_a($request, 'MockRequest')) { - PrintXML(HTML::br(), $pagename, ' ... '); - flush(); - } + PrintXML(HTML::br(), $pagename, ' ... '); + flush(); } if (in_array($pagename, $excludeList)) { - if (!$silent and !is_a($request, 'MockRequest')) { + if (!$silent) { PrintXML(_("Skipped.")); flush(); } @@ -723,9 +729,7 @@ } $msg->pushContent(HTML::small(fmt("%s bytes written", $num), "\n")); if (!$silent) { - if (!is_a($request, 'MockRequest')) { - PrintXML($msg); - } + PrintXML($msg); flush(); $request->chunkOutput(); } @@ -1019,10 +1023,8 @@ if (!$skip) { // in case of failures print the culprit: - if (!is_a($request, 'MockRequest')) { - PrintXML(HTML::span(WikiLink($pagename))); - flush(); - } + PrintXML(HTML::span(WikiLink($pagename))); + flush(); $new = $page->save($content, WIKIDB_FORCE_CREATE, $versiondata); $dbi->touch(); $mesg->pushContent(' ', fmt("- saved to database as version %d", @@ -1065,13 +1067,11 @@ } } - if (!is_a($request, 'MockRequest')) { - if ($skip) - PrintXML(HTML::em(WikiLink($pagename)), $mesg); - else - PrintXML($mesg); - flush(); - } + if ($skip) + PrintXML(HTML::em(WikiLink($pagename)), $mesg); + else + PrintXML($mesg); + flush(); } // action=revert (by diff) @@ -1169,9 +1169,7 @@ if ($goback) return $content; - // if loading from virgin setup do echo, otherwise trigger_error E_USER_NOTICE - if (!is_a($GLOBALS['request'], 'MockRequest')) - echo sprintf(_("Loading InterWikiMap from external file %s."), $mapfile), "<br />"; + echo sprintf(_("Loading InterWikiMap from external file %s."), $mapfile), "<br />"; $fd = fopen($mapfile, "rb"); $data = fread($fd, filesize($mapfile)); @@ -1420,6 +1418,12 @@ return $magic == ZIP_LOCHEAD_MAGIC || $magic == ZIP_CENTHEAD_MAGIC; } +/** + * @param WikiRequest $request + * @param string $file_or_dir + * @param array $files + * @param array $exclude + */ function LoadAny(&$request, $file_or_dir, $files = array(), $exclude = array()) { // Try urlencoded filename for accented characters. @@ -1464,13 +1468,15 @@ } } +/** + * @param WikiRequest $request + */ function LoadFileOrDir(&$request) { $source = $request->getArg('source'); $finder = new FileFinder; $source = $finder->slashifyPath($source); - StartLoadDump($request, - sprintf(_("Loading “%s”"), $source)); + StartLoadDump($request, sprintf(_("Loading “%s”"), $source)); LoadAny($request, $source); EndLoadDump($request); } @@ -1479,6 +1485,8 @@ * HomePage was not found so first-time install is supposed to run. * - import all pgsrc pages. * - Todo: installer interface to edit config/config.ini settings + * + * @param WikiRequest $request */ function SetupWiki(&$request) { Modified: trunk/lib/plugin/PasswordReset.php =================================================================== --- trunk/lib/plugin/PasswordReset.php 2015-03-31 13:37:40 UTC (rev 9633) +++ trunk/lib/plugin/PasswordReset.php 2015-04-01 08:04:48 UTC (rev 9634) @@ -65,6 +65,10 @@ $alert->show(); } + /** + * @param WikiRequest $request + * @param string $userid + */ private function doEmail(&$request, $userid) { @@ -87,6 +91,13 @@ $alert->show(); } + /** + * @param WikiRequest $request + * @param string $userid + * @param string $header + * @param string $footer + * @return HtmlElement + */ private function doForm(&$request, $userid = '', $header = '', $footer = '') { if (!$header) { @@ -123,9 +134,6 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); - if (is_a($request, 'MockRequest')) - return ''; - $user =& $request->_user; $post_args = $request->getArg('admin_reset'); $userid = $args['user']; Modified: trunk/lib/plugin/UserPreferences.php =================================================================== --- trunk/lib/plugin/UserPreferences.php 2015-03-31 13:37:40 UTC (rev 9633) +++ trunk/lib/plugin/UserPreferences.php 2015-04-01 08:04:48 UTC (rev 9634) @@ -73,8 +73,6 @@ $args = $this->getArgs($argstr, $request); $user =& $request->_user; $user->_request = $request; - if (is_a($request, 'MockRequest')) - return ''; if (defined('FUSIONFORGE') && FUSIONFORGE) { if (!($user->isAuthenticated())) { return HTML::p(array('class' => 'error'), Modified: trunk/lib/plugin/WatchPage.php =================================================================== --- trunk/lib/plugin/WatchPage.php 2015-03-31 13:37:40 UTC (rev 9633) +++ trunk/lib/plugin/WatchPage.php 2015-04-01 08:04:48 UTC (rev 9634) @@ -104,10 +104,7 @@ */ function run($dbi, $argstr, &$request, $basepage) { - $args = $this->getArgs($argstr, $request); - if (is_a($request, 'MockRequest')) - return ''; $user =& $request->_user; $userid = $user->UserName(); $page = $args['page']; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-03-31 13:37:51
|
Revision: 9633 http://sourceforge.net/p/phpwiki/code/9633 Author: vargenau Date: 2015-03-31 13:37:40 +0000 (Tue, 31 Mar 2015) Log Message: ----------- Use unlimited memory for SOAP (Fusionforge) Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2015-03-30 10:43:29 UTC (rev 9632) +++ trunk/g 2015-03-31 13:37:40 UTC (rev 9633) @@ -41,7 +41,11 @@ * ALONE BASIS." */ -ini_set("memory_limit", "256M"); +if (defined('WIKI_SOAP')) { + ini_set('memory_limit', -1); +} else { + ini_set('memory_limit', "256M"); +} ini_set('pcre.backtrack_limit', 100000000); // Disable compression, seems needed to get all the messages. @@ -65,7 +69,13 @@ } if (defined('WIKI_SOAP')) { - $group_id = 6; + $help = group_get_object_by_name('help'); + if ($help) { + $group_id = $help->getID(); + } else { + // Test system don't have help project, use projecta instead. + $group_id = 6; + } } if (isset($group_id) && $group_id) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-03-30 10:43:36
|
Revision: 9632 http://sourceforge.net/p/phpwiki/code/9632 Author: vargenau Date: 2015-03-30 10:43:29 +0000 (Mon, 30 Mar 2015) Log Message: ----------- Remove xa0 (non breaking space), it prevented to create create pages containing "?\195?\160" in UTF-8 Modified Paths: -------------- trunk/lib/stdlib.php Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2015-03-25 13:56:37 UTC (rev 9631) +++ trunk/lib/stdlib.php 2015-03-30 10:43:29 UTC (rev 9632) @@ -923,7 +923,7 @@ private function _check($pagename) { // Compress internal white-space to single space character. - $pagename = preg_replace('/[\s\xa0]+/', ' ', $orig = $pagename); + $pagename = preg_replace('/[\s]+/', ' ', $orig = $pagename); if ($pagename != $orig) $this->_warnings[] = _("White space converted to single space"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-03-25 13:56:43
|
Revision: 9631 http://sourceforge.net/p/phpwiki/code/9631 Author: vargenau Date: 2015-03-25 13:56:37 +0000 (Wed, 25 Mar 2015) Log Message: ----------- WebM Video for Internet Explorer Modified Paths: -------------- trunk/pgsrc/Help%2FVideoPlugin Modified: trunk/pgsrc/Help%2FVideoPlugin =================================================================== --- trunk/pgsrc/Help%2FVideoPlugin 2015-03-25 12:52:58 UTC (rev 9630) +++ trunk/pgsrc/Help%2FVideoPlugin 2015-03-25 13:56:37 UTC (rev 9631) @@ -1,4 +1,4 @@ -Date: Wed, 25 Mar 2015 12:24:09 +0000 +Date: Wed, 25 Mar 2015 14:34:19 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.3) Content-Type: application/x-phpwiki; pagename=Help%2FVideoPlugin; @@ -78,6 +78,7 @@ * [[Help:Images]] * [[Help:Adobe Flash]] * [[Help:Wikicreole]] +* [[http://tools.google.com/dlpage/webmmf/|WebM Video for Internet Explorer 9+]] <noinclude> ---- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-03-25 12:53:01
|
Revision: 9630 http://sourceforge.net/p/phpwiki/code/9630 Author: vargenau Date: 2015-03-25 12:52:58 +0000 (Wed, 25 Mar 2015) Log Message: ----------- Update ReleaseNotes Modified Paths: -------------- trunk/pgsrc/ReleaseNotes Modified: trunk/pgsrc/ReleaseNotes =================================================================== --- trunk/pgsrc/ReleaseNotes 2015-03-25 11:32:00 UTC (rev 9629) +++ trunk/pgsrc/ReleaseNotes 2015-03-25 12:52:58 UTC (rev 9630) @@ -1,4 +1,4 @@ -Date: Fri, 6 Mar 2015 18:20:19 +0000 +Date: Wed, 25 Mar 2015 13:48:38 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.3) Content-Type: application/x-phpwiki; pagename=ReleaseNotes; @@ -12,6 +12,7 @@ * Fix ~WantedPages for Fusionforge * Remove ~WantedPagesOld (use ~WantedPages instead) +* Add WebM format in Video plugin == 1.5.3 2015-03-04 Marc-Etienne Vargenau == This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-03-25 11:32:03
|
Revision: 9629 http://sourceforge.net/p/phpwiki/code/9629 Author: vargenau Date: 2015-03-25 11:32:00 +0000 (Wed, 25 Mar 2015) Log Message: ----------- Improve Video plugin Modified Paths: -------------- trunk/lib/BlockParser.php trunk/lib/InlineParser.php trunk/lib/plugin/Video.php trunk/lib/stdlib.php trunk/pgsrc/Help%2FVideoPlugin Modified: trunk/lib/BlockParser.php =================================================================== --- trunk/lib/BlockParser.php 2015-03-18 14:19:38 UTC (rev 9628) +++ trunk/lib/BlockParser.php 2015-03-25 11:32:00 UTC (rev 9629) @@ -1193,7 +1193,12 @@ // It's a video if (is_video($imagename)) { - $pi = '<' . '?plugin Video file="' . $pi . '" ?>'; + if ((strpos($imagename, 'http://') === 0) + || (strpos($imagename, 'https://') === 0)) { + $pi = '<' . '?plugin Video url="' . $pi . '" ?>'; + } else { + $pi = '<' . '?plugin Video file="' . $pi . '" ?>'; + } $this->_element = new Cached_PluginInvocation($pi); return true; } Modified: trunk/lib/InlineParser.php =================================================================== --- trunk/lib/InlineParser.php 2015-03-18 14:19:38 UTC (rev 9628) +++ trunk/lib/InlineParser.php 2015-03-25 11:32:00 UTC (rev 9629) @@ -1106,7 +1106,12 @@ // It's a video if (is_video($imagename)) { - $s = '<' . '?plugin Video file="' . $imagename . '" ?' . '>'; + if ((strpos($imagename, 'http://') === 0) + || (strpos($imagename, 'https://') === 0)) { + $s = '<' . '?plugin Video url="' . $imagename . '" ?' . '>'; + } else { + $s = '<' . '?plugin Video file="' . $imagename . '" ?' . '>'; + } return new Cached_PluginInvocation($s); } Modified: trunk/lib/plugin/Video.php =================================================================== --- trunk/lib/plugin/Video.php 2015-03-18 14:19:38 UTC (rev 9628) +++ trunk/lib/plugin/Video.php 2015-03-25 11:32:00 UTC (rev 9629) @@ -72,7 +72,11 @@ global $WikiTheme; $args = $this->getArgs($argstr, $request); - extract($args); + $url = $args['url']; + $file = $args['file']; + $width = $args['width']; + $height = $args['height']; + $autoplay = $args['autoplay']; if (!$url && !$file) { return $this->error(_("Both 'url' or 'file' parameters missing.")); @@ -83,9 +87,18 @@ $url = getUploadDataPath() . '/' . $file; } - if (string_ends_with($url, ".ogg")) { - return HTML::video(array('autoplay' => 'true', 'controls' => 'true', 'src' => $url), + if (string_ends_with($url, ".ogg") + || string_ends_with($url, ".mp4") + || string_ends_with($url, ".webm")) { + $video = HTML::video(array('controls' => 'controls', + 'width' => $width, + 'height' => $height, + 'src' => $url), _("Your browser does not understand the HTML 5 video tag.")); + if ($autoplay == 'true') { + $video->setAttr('autoplay', 'autoplay'); + } + return $video; } $html = HTML(); Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2015-03-18 14:19:38 UTC (rev 9628) +++ trunk/lib/stdlib.php 2015-03-25 11:32:00 UTC (rev 9629) @@ -2089,13 +2089,15 @@ /** * Returns true if the filename ends with an video suffix. - * Currently only FLV and OGG + * Currently FLV, OGG, MP4 and WebM. */ function is_video($filename) { return string_ends_with(strtolower($filename), ".flv") - or string_ends_with(strtolower($filename), ".ogg"); + or string_ends_with(strtolower($filename), ".ogg") + or string_ends_with(strtolower($filename), ".mp4") + or string_ends_with(strtolower($filename), ".webm"); } /** Modified: trunk/pgsrc/Help%2FVideoPlugin =================================================================== --- trunk/pgsrc/Help%2FVideoPlugin 2015-03-18 14:19:38 UTC (rev 9628) +++ trunk/pgsrc/Help%2FVideoPlugin 2015-03-25 11:32:00 UTC (rev 9629) @@ -1,4 +1,4 @@ -Date: Wed, 18 Mar 2015 15:14:44 +0000 +Date: Wed, 25 Mar 2015 12:24:09 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.3) Content-Type: application/x-phpwiki; pagename=Help%2FVideoPlugin; @@ -8,9 +8,9 @@ The **~Video** [[Help:WikiPlugin|plugin]] allows to include video in a wiki page. Video file must be encoded in FLV format ([[WikiPedia:Flash Video|Flash Video]]) or in an HTML 5 format: -* [[WikiPedia:Ogg|Ogg]], -* [[WikiPedia:MP4|MP4]], -* [[WikiPedia:WebM|WebM]]. +* [[WikiPedia:Ogg|Ogg]] (##.ogg## suffix), +* [[WikiPedia:MP4|MP4]] (##.mp4## suffix), +* [[WikiPedia:WebM|WebM]] (##.webm## suffix). The Video plugin can also be called with the ~{~{video.flv~}~} syntax. @@ -41,11 +41,11 @@ | 320 |- | **autoplay** -| Auto play the video when page is displayed. +| Auto play the video when page is displayed (boolean). | false |} -== Example == +== Examples == A video: {{{ @@ -62,6 +62,13 @@ {{another_video.flv}} }}} +=== Big Buck Bunny === + +{{{ +{{http://video.webmfiles.org/big-buck-bunny_trailer.webm}} +}}} +{{http://video.webmfiles.org/big-buck-bunny_trailer.webm}} + == Authors == * Roger Guignard, Alcatel-Lucent This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-03-18 14:19:40
|
Revision: 9628 http://sourceforge.net/p/phpwiki/code/9628 Author: vargenau Date: 2015-03-18 14:19:38 +0000 (Wed, 18 Mar 2015) Log Message: ----------- Revert RateIt fusionforge font-size Modified Paths: -------------- trunk/themes/fusionforge/fusionforge.css Modified: trunk/themes/fusionforge/fusionforge.css =================================================================== --- trunk/themes/fusionforge/fusionforge.css 2015-03-18 14:15:57 UTC (rev 9627) +++ trunk/themes/fusionforge/fusionforge.css 2015-03-18 14:19:38 UTC (rev 9628) @@ -1325,6 +1325,7 @@ /* RateIt plugin ====================================================== */ .rateit { + font-size: 60%; font-weight: bold; vertical-align: middle; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-03-18 14:16:05
|
Revision: 9627 http://sourceforge.net/p/phpwiki/code/9627 Author: vargenau Date: 2015-03-18 14:15:57 +0000 (Wed, 18 Mar 2015) Log Message: ----------- Update Video help: add HTML 5 formats Modified Paths: -------------- trunk/pgsrc/Help%2FVideoPlugin Modified: trunk/pgsrc/Help%2FVideoPlugin =================================================================== --- trunk/pgsrc/Help%2FVideoPlugin 2015-03-11 15:02:44 UTC (rev 9626) +++ trunk/pgsrc/Help%2FVideoPlugin 2015-03-18 14:15:57 UTC (rev 9627) @@ -1,4 +1,4 @@ -Date: Wed, 4 Mar 2015 14:20:06 +0000 +Date: Wed, 18 Mar 2015 15:14:44 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.3) Content-Type: application/x-phpwiki; pagename=Help%2FVideoPlugin; @@ -7,7 +7,10 @@ Content-Transfer-Encoding: binary The **~Video** [[Help:WikiPlugin|plugin]] allows to include video in a wiki page. -Video file must be encoded in FLV format. +Video file must be encoded in FLV format ([[WikiPedia:Flash Video|Flash Video]]) or in an HTML 5 format: +* [[WikiPedia:Ogg|Ogg]], +* [[WikiPedia:MP4|MP4]], +* [[WikiPedia:WebM|WebM]]. The Video plugin can also be called with the ~{~{video.flv~}~} syntax. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |