linpha-cvs Mailing List for LinPHA PHP Photo Gallery (Page 44)
Status: Inactive
Brought to you by:
bzrudi
You can subscribe to this list here.
2006 |
Jan
|
Feb
(143) |
Mar
(104) |
Apr
(127) |
May
(20) |
Jun
(10) |
Jul
(28) |
Aug
(48) |
Sep
(55) |
Oct
(85) |
Nov
(57) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(16) |
Feb
(41) |
Mar
(56) |
Apr
(8) |
May
(1) |
Jun
(9) |
Jul
(54) |
Aug
(24) |
Sep
(2) |
Oct
(14) |
Nov
(30) |
Dec
(7) |
2008 |
Jan
(48) |
Feb
(52) |
Mar
(18) |
Apr
(30) |
May
(4) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: bzrudi <bz...@us...> - 2006-02-09 09:27:44
|
Update of /cvsroot/linpha/linpha/plugins/guestbook In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12048/plugins/guestbook Modified Files: guestbook_view.php Log Message: Don't rely on just removing all hrefs when a plugin is disabled, as we still have access if href is known. Thanks to quixy for this hint! Index: guestbook_view.php =================================================================== RCS file: /cvsroot/linpha/linpha/plugins/guestbook/guestbook_view.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** guestbook_view.php 1 Feb 2006 05:51:06 -0000 1.16 --- guestbook_view.php 9 Feb 2006 09:27:35 -0000 1.17 *************** *** 31,49 **** $menu->buildMenu(); $menu->generateTableFooter(); ?> ! <td class='adminpages' colspan='2' style='vertical-align: top;'> <?php ! /*########################################################## ! ## Guestbook view starts here ! ##########################################################*/ ! if(!isset($_GET['mode'])){$_GET['mode']="view";} // set default to view mesages ! switch($_GET['mode']){ ! /*########################################################## ! ## add new guestbook entry ! ##########################################################*/ case("insert"): echo "<script language=\"JavaScript\" type=\"text/javascript\">"; --- 31,54 ---- $menu->buildMenu(); $menu->generateTableFooter(); + ?> ! <td class='adminpages' colspan='2' style='vertical-align: top;'> <?php ! /** ! * Guestbook view starts here ! */ if(!isset($_GET['mode'])){$_GET['mode']="view";} // set default to view mesages ! /** ! * Exit if plugin is disabled ! */ ! plugin_is_really_active('guestbook'); ! ! switch($_GET['mode']){ ! /** ! * add new guestbook entry ! */ case("insert"): echo "<script language=\"JavaScript\" type=\"text/javascript\">"; *************** *** 104,112 **** <?php break; ! ! ! /*########################################################## ! ## insert comment (DB action) ! ##########################################################*/ case("store"): --- 109,115 ---- <?php break; ! /** ! * insert comment (DB action) ! */ case("store"): *************** *** 148,155 **** } break; ! ! /*########################################################## ! ## the main guestbook view ! ##########################################################*/ case("view"): $result = $GLOBALS['db']->Execute("SELECT id FROM ".PREFIX."guestbook"); --- 151,157 ---- } break; ! /** ! * the main guestbook view ! */ case("view"): $result = $GLOBALS['db']->Execute("SELECT id FROM ".PREFIX."guestbook"); |
From: bzrudi <bz...@us...> - 2006-02-09 09:27:44
|
Update of /cvsroot/linpha/linpha In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12048 Modified Files: ChangeLog Log Message: Don't rely on just removing all hrefs when a plugin is disabled, as we still have access if href is known. Thanks to quixy for this hint! Index: ChangeLog =================================================================== RCS file: /cvsroot/linpha/linpha/ChangeLog,v retrieving revision 1.1173 retrieving revision 1.1174 diff -C2 -d -r1.1173 -r1.1174 *** ChangeLog 7 Feb 2006 17:39:20 -0000 1.1173 --- ChangeLog 9 Feb 2006 09:27:35 -0000 1.1174 *************** *** 1,2 **** --- 1,6 ---- + 2006-02-09 bzrudi71 <linpha_AT_tuxpower_DOT_de> + * Don't rely on just removing all hrefs when a plugin is disabled, as we + still have access if href is known. Thanks to quixy for this hint! + 2006-02-07 bzrudi71 <linpha_AT_tuxpower_DOT_de> * db_api.php: make var $mydirectory global and add linpha_addslashes() for path compare in |
From: bzrudi <bz...@us...> - 2006-02-09 09:27:44
|
Update of /cvsroot/linpha/linpha/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12048/functions Modified Files: other.php Log Message: Don't rely on just removing all hrefs when a plugin is disabled, as we still have access if href is known. Thanks to quixy for this hint! Index: other.php =================================================================== RCS file: /cvsroot/linpha/linpha/functions/other.php,v retrieving revision 1.139 retrieving revision 1.140 diff -C2 -d -r1.139 -r1.140 *** other.php 6 Jan 2006 06:58:49 -0000 1.139 --- other.php 9 Feb 2006 09:27:35 -0000 1.140 *************** *** 27,30 **** --- 27,50 ---- /** + * Don't rely on just removing all hrefs when a plugin is disabled as we can + * still call it if href is known. Thanks to quixy for this hint! + * + * @param string $plugin name of plugin to check for + */ + function plugin_is_really_active($plugin) + { + if(read_plugins_config($plugin)) + { + return true; + } + else + { + echo "! ACCESS DENIED !"; + include_once(TOP_DIR.'/footer.php'); + exit(); + } + } + + /** * This method is used to format a new config line (HTML) with two radio buttons * as input on/off |
From: Marco H. <dok...@us...> - 2006-02-08 10:46:17
|
Update of /cvsroot/linpha/linpha/docs/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4661/linpha/docs/lang Modified Files: lang_doc.German.php Log Message: Update. Fehler bitte an marco at linpha dot org Index: lang_doc.German.php =================================================================== RCS file: /cvsroot/linpha/linpha/docs/lang/lang_doc.German.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** lang_doc.German.php 15 Dec 2005 13:58:52 -0000 1.9 --- lang_doc.German.php 8 Feb 2006 10:45:59 -0000 1.10 *************** *** 34,37 **** --- 34,39 ---- $lang['search_and_or_info'] = "Such Informationen"; $lang['rss']="RSS"; + $lang['stats']="Statistik"; + $lang['statscaching']="Ein/Ausschalten der Echtzeit-Statistik"; $lang['doc_entry_search_and_or_info'] = "Um die gewünschten Suchergebnisse zu bekommen, " . *************** *** 534,537 **** --- 536,550 ---- Diese Option erlaubt es Ihnen den Bild-Cache aufzuräumen und zu optimieren. "; + $lang['doc_entry_stats'] = " + Diese PlugIn ermöglicht das Anzeigen verschiedener Statistiken. Auch für Besucher.<br /> + Zum Beispiel: Anzahl der Kommentare, Anzahl der Downloads, meist besuchte Bild oder Album, usw. + "; + $lang['doc_entry_statscaching'] = " + Speziell bei großen Bildersammlungen und/oder bei Seiten mit sehr hohem Datenaufkommen, haben sie die Möglichkeit + die Option \"Echtzeit-Statistik\" abzuschalten.<br> + Diese Option <b>wirkt sich nur auf die \"Downloadgröße\", im Bereich </b> \"Benutzer\"aus. + Es reicht meist aus, die \"Echtzeit-Statistik\" abzuschalten um eine hohe Server Auslastung zu verhindern!<br> + Wichtig: Auch wenn diese Option ausgeschalten ist, werden <b>alle Statistiken, ausser \"Downloads size\" in Echtzeit</b> angezeigt. + "; ?> \ No newline at end of file |
From: Marco H. <dok...@us...> - 2006-02-08 10:46:17
|
Update of /cvsroot/linpha/linpha/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4661/linpha/lang Modified Files: lang.German.php Log Message: Update. Fehler bitte an marco at linpha dot org Index: lang.German.php =================================================================== RCS file: /cvsroot/linpha/linpha/lang/lang.German.php,v retrieving revision 1.250 retrieving revision 1.251 diff -C2 -d -r1.250 -r1.251 *** lang.German.php 20 Jan 2006 06:04:51 -0000 1.250 --- lang.German.php 8 Feb 2006 10:46:00 -0000 1.251 *************** *** 1050,1056 **** $str_entire_path="Vollständiger Pfad"; /* (search.php) -- */ $mail_format="Nachrichtenformat:"; /* (basket_mail.php) -- */ ! $mail_format_is_txt="TXT (Bilder angehängt)"; /* (basket_mail.php) -- */ $mail_format_is_html="HTML (Bilder im Text)"; /* (basket_mail.php) -- */ ! $mail_toggle_active="Toggle Active"; /* (mail.php) -- */ $statistics="Statistik"; /* (various) -- */ $stats_total_images="Summe der Bilder"; /* () -- */ --- 1050,1056 ---- $str_entire_path="Vollständiger Pfad"; /* (search.php) -- */ $mail_format="Nachrichtenformat:"; /* (basket_mail.php) -- */ ! $mail_format_is_txt="TXT (Bilder angehängt)"; /* (basket_mail.php) -- */ $mail_format_is_html="HTML (Bilder im Text)"; /* (basket_mail.php) -- */ ! $mail_toggle_active="Mail ja/nein"; /* (mail.php) -- */ $statistics="Statistik"; /* (various) -- */ $stats_total_images="Summe der Bilder"; /* () -- */ *************** *** 1060,1085 **** $stats_total_downs_selected="Summe der Augewählten Bilderdownloads"; /* () -- */ $stats_downloads="Downloads"; /* () -- */ ! $stats_downl_size="Downloads grösse"; /* () -- */ $stats_coments_total="Summe Kommentare"; /* () -- */ $stats_coments_sel="Kommentare ausgewählt"; /* () -- */ ! $str_log_events['guestbook']="Guestbook"; /* (log.php) -- */ ! $stats_realtime="Enable/disable realtime Statistics"; /* (build_stats.php) -- */ ! $stats_realtime_info="<-- display all Statistics information realtime (no caching)"; /* (build_stats.php) -- */ ! $stats_cache_time="Statistics cache time"; /* (build_stats.php) -- */ ! $stats_cache_time_info="<-- refresh (download size) Statistics only after given time"; /* (build_stats.php) -- */ ! $stats_user_info="User"; /* (stats_view.php) -- */ ! $stats_image_info="Image"; /* (stats_view.php) -- */ ! $stats_comments_info="Comments"; /* (stats_view.php) -- */ ! $stats_general_info="General"; /* (stats_view.php) -- */ ! $spam_blocked="Blocked SPAM attacks"; /* () -- */ ! $mail_current_status="Current Status"; /* (mailing.php) -- */ ! $mail_sending_to="Sending to: "; /* (mailing.php) -- */ ! $mail_counters="Counters (Success/Fail/Total)"; /* (mailing.php) -- */ ! $mail_send_fail="Send FAIL: "; /* (mailing.php) -- */ ! $mail_send_ok="Send OK: "; /* (mailing.php) -- */ $mail_all_complete="All Completed!"; /* (mailing.php) -- */ ! $mail_failed_list="List of failed addresses"; /* (mailing.php) -- */ ! $mail_ok_list="List of sent addresses"; /* (mailing.php) -- */ ! $mail_mailer_error=" - Mailer Error: "; /* (mailing.php) -- */ ! $str_log_events['comments']="Comment Entry"; /* (log.php) -- */ ?> \ No newline at end of file --- 1060,1085 ---- $stats_total_downs_selected="Summe der Augewählten Bilderdownloads"; /* () -- */ $stats_downloads="Downloads"; /* () -- */ ! $stats_downl_size="Download grösse"; /* () -- */ $stats_coments_total="Summe Kommentare"; /* () -- */ $stats_coments_sel="Kommentare ausgewählt"; /* () -- */ ! $str_log_events['guestbook']="Gästebuch"; /* (log.php) -- */ ! $stats_realtime="Ein/Ausschalten der Echtzeit-Statistik"; /* (build_stats.php) -- */ ! $stats_realtime_info="<-- zeigt die Statistik in Echtzeit an. (keine Zwischenspeicherung)"; /* (build_stats.php) -- */ ! $stats_cache_time="Statistik-Intervall"; /* (build_stats.php) -- */ ! $stats_cache_time_info="<-- Legt den Intervall der Statistik (Downloadgröße) fest"; /* (build_stats.php) -- */ ! $stats_user_info="Benutzer"; /* (stats_view.php) -- */ ! $stats_image_info="Bild"; /* (stats_view.php) -- */ ! $stats_comments_info="Kommentar"; /* (stats_view.php) -- */ ! $stats_general_info="Allgemein"; /* (stats_view.php) -- */ ! $spam_blocked="Verhinderte SPAM-Angriffe"; /* () -- */ ! $mail_current_status="Aktueller Status"; /* (mailing.php) -- */ ! $mail_sending_to="Senden nach: "; /* (mailing.php) -- */ ! $mail_counters="Zäler (Erfolgreich/Fehler/Gesamt)"; /* (mailing.php) -- */ ! $mail_send_fail="Sende Fehler: "; /* (mailing.php) -- */ ! $mail_send_ok="Senden OK: "; /* (mailing.php) -- */ $mail_all_complete="All Completed!"; /* (mailing.php) -- */ ! $mail_failed_list="List der fehlerhaften Adressen"; /* (mailing.php) -- */ ! $mail_ok_list="Liste gesendeter Adressen"; /* (mailing.php) -- */ ! $mail_mailer_error=" - Mail Fehler: "; /* (mailing.php) -- */ ! $str_log_events['comments']="Kommentar-Eintrag"; /* (log.php) -- */ ?> \ No newline at end of file |
From: bzrudi <bz...@us...> - 2006-02-07 18:30:25
|
Update of /cvsroot/linpha/linpha/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25756/include Modified Files: img_view.class.php Log Message: removed warning about unitialised var $prev:name Index: img_view.class.php =================================================================== RCS file: /cvsroot/linpha/linpha/include/img_view.class.php,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -d -r1.76 -r1.77 *** img_view.class.php 26 Nov 2005 07:48:41 -0000 1.76 --- img_view.class.php 7 Feb 2006 16:47:53 -0000 1.77 *************** *** 1683,1687 **** if($data[0]==$_GET['imgid']) //id { ! if(isset($prev_id)) { $this->prev_next_id['prev'] = $prev_id; $this->prev_next_name['prev'] = $prev_name; --- 1683,1687 ---- if($data[0]==$_GET['imgid']) //id { ! if(isset($prev_id) && isset($prev_name)) { $this->prev_next_id['prev'] = $prev_id; $this->prev_next_name['prev'] = $prev_name; |
From: bzrudi <bz...@us...> - 2006-02-07 18:21:55
|
Update of /cvsroot/linpha/linpha In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20301 Modified Files: ChangeLog Log Message: make var $mydirectory global and add linpha_addslashes() for path compare in function calculate_images() Index: ChangeLog =================================================================== RCS file: /cvsroot/linpha/linpha/ChangeLog,v retrieving revision 1.1171 retrieving revision 1.1172 diff -C2 -d -r1.1171 -r1.1172 *** ChangeLog 2 Feb 2006 16:51:55 -0000 1.1171 --- ChangeLog 7 Feb 2006 16:32:51 -0000 1.1172 *************** *** 1,2 **** --- 1,7 ---- + 2006-02-07 bzrudi71 <linpha_AT_tuxpower_DOT_de> + * make var $mydirectory global and add linpha_addslashes() for path compare in + function calculate_images(). + *may/should* fix : [ 1211172 ] Wrong number of calculated photos + 2006-02-02 bzrudi71 <linpha_AT_tuxpower_DOT_de> * (still) just testing new mailing list... |
From: bzrudi <bz...@us...> - 2006-02-07 18:21:26
|
Update of /cvsroot/linpha/linpha/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20301/functions Modified Files: db_api.php Log Message: make var $mydirectory global and add linpha_addslashes() for path compare in function calculate_images() Index: db_api.php =================================================================== RCS file: /cvsroot/linpha/linpha/functions/db_api.php,v retrieving revision 1.93 retrieving revision 1.94 diff -C2 -d -r1.93 -r1.94 *** db_api.php 30 Jan 2006 14:42:45 -0000 1.93 --- db_api.php 7 Feb 2006 16:32:52 -0000 1.94 *************** *** 900,903 **** --- 900,905 ---- ##########################################################*/ + global $mydirectory; + if($split) { *************** *** 907,911 **** $album=linpha_addslashes($album); $img_query=$GLOBALS['db']->$GLOBALS['query_statement']("SELECT COUNT(filename) FROM ".PREFIX."photos ! WHERE prev_path LIKE '%".@$mydirectory."/".$album."%' "); $number=$img_query->FetchRow(); --- 909,913 ---- $album=linpha_addslashes($album); $img_query=$GLOBALS['db']->$GLOBALS['query_statement']("SELECT COUNT(filename) FROM ".PREFIX."photos ! WHERE prev_path LIKE '%".linpha_addslashes($mydirectory."/".$album)."%' "); $number=$img_query->FetchRow(); |
From: bzrudi <bz...@us...> - 2006-02-07 18:11:35
|
Update of /cvsroot/linpha/linpha In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14522 Modified Files: ChangeLog Log Message: Index: ChangeLog =================================================================== RCS file: /cvsroot/linpha/linpha/ChangeLog,v retrieving revision 1.1172 retrieving revision 1.1173 diff -C2 -d -r1.1172 -r1.1173 *** ChangeLog 7 Feb 2006 16:32:51 -0000 1.1172 --- ChangeLog 7 Feb 2006 17:39:20 -0000 1.1173 *************** *** 1,4 **** 2006-02-07 bzrudi71 <linpha_AT_tuxpower_DOT_de> ! * make var $mydirectory global and add linpha_addslashes() for path compare in function calculate_images(). *may/should* fix : [ 1211172 ] Wrong number of calculated photos --- 1,4 ---- 2006-02-07 bzrudi71 <linpha_AT_tuxpower_DOT_de> ! * db_api.php: make var $mydirectory global and add linpha_addslashes() for path compare in function calculate_images(). *may/should* fix : [ 1211172 ] Wrong number of calculated photos |
From: bzrudi <bz...@us...> - 2006-02-07 18:02:56
|
Update of /cvsroot/linpha/linpha/plugins/stats In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv770/plugins/stats Modified Files: stats_view.php Log Message: ":" missing in "number of downloads" Index: stats_view.php =================================================================== RCS file: /cvsroot/linpha/linpha/plugins/stats/stats_view.php,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** stats_view.php 1 Feb 2006 05:51:06 -0000 1.32 --- stats_view.php 7 Feb 2006 17:06:49 -0000 1.33 *************** *** 436,440 **** <span style="padding-top: 5px; padding-left: 3px;"> <?php ! ($n==2) ? $stats_info = $no_downloads: $stats_info = $stats_no_views; echo $stats_info.' '.$data['nr_count'].'<br /> '; echo $thumb_order_date.': '.linpha_strftime('',$data['max_time']).'<br />'; --- 436,440 ---- <span style="padding-top: 5px; padding-left: 3px;"> <?php ! ($n==2) ? $stats_info = $no_downloads.":": $stats_info = $stats_no_views; echo $stats_info.' '.$data['nr_count'].'<br /> '; echo $thumb_order_date.': '.linpha_strftime('',$data['max_time']).'<br />'; |
From: bzrudi <bz...@ce...> - 2006-02-07 14:31:10
|
Hi all, I found a hour to play arround with this. No matter where or what I changed it does not work. I decided to do a pg reinstall and - all works as expected. I now wonder if there was an update issue or whatever - anyway I did also an additional test with sqlite and it works for both now :-) So all in all - the last open issue now is the thing with RSS generation and the /tmp access problem (IMHO). Anyone going to fix this? cheers bzrudi > i don't know if that was the answer i was looking for.... :-) > > bzrudi schrieb: > >> it's up to you, >> >> there is currently one issue left concerning the german umlaute in >> stats plugin and hidden images ;-) >> So we can release as soon as this issue is fixed. >> >> cheers bzrudi >> >>> hi rudi >>> >>> when do you think the next linpha release could be published? >>> >>> my friend has asked, he needs the statistic plugin.... >>> >>> flo >>> >>> >>> >>> ___________________________________________________________ >>> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. Do you grep through >>> log files >>> for problems? Stop! Download the new AJAX search engine that makes >>> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >>> _______________________________________________ >>> Linpha-cvs mailing list >>> Lin...@li... >>> https://lists.sourceforge.net/lists/listinfo/linpha-cvs >> >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through log >> files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >> _______________________________________________ >> Linpha-cvs mailing list >> Lin...@li... >> https://lists.sourceforge.net/lists/listinfo/linpha-cvs > > > > > > > > > > ___________________________________________________________ Telefonate > ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Linpha-cvs mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linpha-cvs |
From: Florian A. <fan...@us...> - 2006-02-06 17:24:42
|
Update of /cvsroot/linpha/linpha2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15650 Modified Files: albums.php Log Message: show some images Index: albums.php =================================================================== RCS file: /cvsroot/linpha/linpha2/albums.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** albums.php 2 Feb 2006 22:31:07 -0000 1.3 --- albums.php 6 Feb 2006 17:24:34 -0000 1.4 *************** *** 46,49 **** --- 46,50 ---- var img_spacer_width = 12; var img_spacer_height = 9; + var img_div_spacer_height = 20; *************** *** 226,229 **** --- 227,248 ---- myDiv.setAttributeNode(myAttribute); + /** + * img + */ + var myImg = document.createElement("img"); + + var myAttribute=document.createAttribute("src"); + myAttribute.nodeValue = './albums/test2/' + img_ids[i] + '.jpg'; + myImg.setAttributeNode(myAttribute); + + var myAttribute=document.createAttribute("height"); + myAttribute.nodeValue = tn_size-img_div_spacer_height; + myImg.setAttributeNode(myAttribute); + + myDiv.appendChild(myImg); + + + myBr = document.createElement("br"); + myDiv.appendChild(myBr); var myText = document.createTextNode('div' + img_ids[i]); *************** *** 234,239 **** img_nr++; } - - } } --- 253,256 ---- |
From: Florian A. <fl...@an...> - 2006-02-06 14:09:45
|
i don't know if that was the answer i was looking for.... :-) bzrudi schrieb: > it's up to you, > > there is currently one issue left concerning the german umlaute in > stats plugin and hidden images ;-) > So we can release as soon as this issue is fixed. > > cheers bzrudi > >> hi rudi >> >> when do you think the next linpha release could be published? >> >> my friend has asked, he needs the statistic plugin.... >> >> flo >> >> >> >> >> ___________________________________________________________ >> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >> _______________________________________________ >> Linpha-cvs mailing list >> Lin...@li... >> https://lists.sourceforge.net/lists/listinfo/linpha-cvs > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Linpha-cvs mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linpha-cvs ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: bzrudi <bz...@ce...> - 2006-02-06 13:42:02
|
it's up to you, there is currently one issue left concerning the german umlaute in stats plugin and hidden images ;-) So we can release as soon as this issue is fixed. cheers bzrudi > hi rudi > > when do you think the next linpha release could be published? > > my friend has asked, he needs the statistic plugin.... > > flo > > > > > > > ___________________________________________________________ Telefonate > ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Linpha-cvs mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linpha-cvs |
From: Florian A. <fl...@an...> - 2006-02-06 12:43:21
|
hi rudi when do you think the next linpha release could be published? my friend has asked, he needs the statistic plugin.... flo ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: Tadashi J. <el...@us...> - 2006-02-05 15:05:41
|
Update of /cvsroot/linpha/linpha/plugins/ftp/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12449/includes Modified Files: editor.inc.php viewer.inc.php Log Message: o rawurlencode to urlencode. Index: viewer.inc.php =================================================================== RCS file: /cvsroot/linpha/linpha/plugins/ftp/includes/viewer.inc.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** viewer.inc.php 10 Jul 2004 08:37:17 -0000 1.4 --- viewer.inc.php 5 Feb 2006 15:05:33 -0000 1.5 *************** *** 20,24 **** "page=ftp" . AMP . $sortpass . AMP . ! "f=".rawurlencode($filename). "'>".STR_EDIT."</A>". ' '.$filename.' '; --- 20,24 ---- "page=ftp" . AMP . $sortpass . AMP . ! "f=".urlencode($filename). "'>".STR_EDIT."</A>". ' '.$filename.' '; *************** *** 103,107 **** "page=ftp" . AMP . $sortpass . AMP . ! "f=".rawurlencode($filename). "'>".STR_EDIT."</A>". ' '.$filename.' '; --- 103,107 ---- "page=ftp" . AMP . $sortpass . AMP . ! "f=".urlencode($filename). "'>".STR_EDIT."</A>". ' '.$filename.' '; *************** *** 154,158 **** "page=ftp" . AMP . $sortpass . AMP . ! "f=".rawurlencode($filename). "'>".STR_EDIT."</A>". " $filename "; --- 154,158 ---- "page=ftp" . AMP . $sortpass . AMP . ! "f=".urlencode($filename). "'>".STR_EDIT."</A>". " $filename "; Index: editor.inc.php =================================================================== RCS file: /cvsroot/linpha/linpha/plugins/ftp/includes/editor.inc.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** editor.inc.php 13 Feb 2005 15:33:51 -0000 1.3 --- editor.inc.php 5 Feb 2006 15:05:33 -0000 1.4 *************** *** 182,186 **** "page=ftp" . AMP . $sortpass . AMP . ! "f=".rawurlencode($filename). "'>".STR_VIEW."</A>". ' '.$filename.' '; --- 182,186 ---- "page=ftp" . AMP . $sortpass . AMP . ! "f=".urlencode($filename). "'>".STR_VIEW."</A>". ' '.$filename.' '; |
From: Tadashi J. <el...@us...> - 2006-02-05 15:05:41
|
Update of /cvsroot/linpha/linpha/plugins/ftp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12449 Modified Files: index.php Log Message: o rawurlencode to urlencode. Index: index.php =================================================================== RCS file: /cvsroot/linpha/linpha/plugins/ftp/index.php,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** index.php 1 Feb 2006 13:13:01 -0000 1.47 --- index.php 5 Feb 2006 15:05:33 -0000 1.48 *************** *** 528,532 **** $nav = '<A HREF="'.$_SERVER['PHP_SELF'].'?'. ! 'lt='.rawurlencode($dirleft).AMP. 'page=ftp'.AMP. $sortpass . '">'.STR_BACK.'</A> '; --- 528,532 ---- $nav = '<A HREF="'.$_SERVER['PHP_SELF'].'?'. ! 'lt='.urlencode($dirleft).AMP. 'page=ftp'.AMP. $sortpass . '">'.STR_BACK.'</A> '; *************** *** 964,972 **** $thisfileWithPath = $dirleft . '/' . $filename; ! $link = $_SERVER['PHP_SELF']."?lt=".rawurlencode($passdirleft). AMP . "page=ftp" . AMP . $sortpass . ($dir ? ! '' : AMP . 'todo=openfile' . AMP . 'f=' . rawurlencode($thisfileWithPath)); $stat = stat($thisfileWithPath); --- 964,972 ---- $thisfileWithPath = $dirleft . '/' . $filename; ! $link = $_SERVER['PHP_SELF']."?lt=".urlencode($passdirleft). AMP . "page=ftp" . AMP . $sortpass . ($dir ? ! '' : AMP . 'todo=openfile' . AMP . 'f=' . urlencode($thisfileWithPath)); $stat = stat($thisfileWithPath); *************** *** 1032,1038 **** if($uid == $stat['uid']) { ! $files['rights'][$i] = '<a href="'.$_SERVER['PHP_SELF'].'?lt='.rawurlencode($dirleft). AMP . 'todo=change_perm_form'. AMP . ! 'f='.rawurlencode($thisfileWithPath). AMP . 'page=ftp">'. $perm . '</a>'; --- 1032,1038 ---- if($uid == $stat['uid']) { ! $files['rights'][$i] = '<a href="'.$_SERVER['PHP_SELF'].'?lt='.urlencode($dirleft). AMP . 'todo=change_perm_form'. AMP . ! 'f='.urlencode($thisfileWithPath). AMP . 'page=ftp">'. $perm . '</a>'; |
From: Tadashi J. <el...@us...> - 2006-02-04 11:21:17
|
Update of /cvsroot/linpha/linpha/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31998 Modified Files: lang.Japanese.php Log Message: o translation updated. Index: lang.Japanese.php =================================================================== RCS file: /cvsroot/linpha/linpha/lang/lang.Japanese.php,v retrieving revision 1.166 retrieving revision 1.167 diff -C2 -d -r1.166 -r1.167 *** lang.Japanese.php 1 Feb 2006 09:16:59 -0000 1.166 --- lang.Japanese.php 4 Feb 2006 11:21:09 -0000 1.167 *************** *** 976,981 **** $general_thumb_border_color="ãµã ãã¤ã«ã®ãã¼ãã¼è²"; /* (build_general_conf.php) -- */ $general_thumb_border_color_info="<-- è©³ç´°ã®æ å ±ãåç §ãã¾ã"; /* (build_general_conf.php) -- */ ! $str_recipient="Recipient"; /* (basket_mail.php) -- */ ! $str_sender="Sender"; /* (basket_mail.php) -- */ $str_mail_too_big="ã¨ã©ã¼: é»åã¡ã¼ã«ã大ãããã¾ãã<br /><br />許å¯ãµã¤ãº: %s ãã¤ã/鏿ãããç»å㯠%s ãã¤ãã<br /><br />ããã¤ãã®ç»åãåé¤ããããzipåã¢ã«ãã æ©è½ã使ã£ã¦ãã¦ã³ãã¼ããã¦ãã ãã!"; /* (basket_mail.php) -- */ $str_size_of_email="é»åã¡ã¼ã«ã®ãµã¤ãº: %s."; /* (basket_mail.php) -- */ --- 976,981 ---- $general_thumb_border_color="ãµã ãã¤ã«ã®ãã¼ãã¼è²"; /* (build_general_conf.php) -- */ $general_thumb_border_color_info="<-- è©³ç´°ã®æ å ±ãåç §ãã¾ã"; /* (build_general_conf.php) -- */ ! $str_recipient="åä¿¡è "; /* (basket_mail.php) -- */ ! $str_sender="éä¿¡è "; /* (basket_mail.php) -- */ $str_mail_too_big="ã¨ã©ã¼: é»åã¡ã¼ã«ã大ãããã¾ãã<br /><br />許å¯ãµã¤ãº: %s ãã¤ã/鏿ãããç»å㯠%s ãã¤ãã<br /><br />ããã¤ãã®ç»åãåé¤ããããzipåã¢ã«ãã æ©è½ã使ã£ã¦ãã¦ã³ãã¼ããã¦ãã ãã!"; /* (basket_mail.php) -- */ $str_size_of_email="é»åã¡ã¼ã«ã®ãµã¤ãº: %s."; /* (basket_mail.php) -- */ *************** *** 1003,1008 **** $str_all_albums_but_without_these="ããã以å¤ã®ãã¹ã¦ã®ã¢ã«ãã :"; /* () -- */ $str_only_on_these_albums="ãããã®ã¢ã«ãã ã§ã®ã¿:"; /* () -- */ ! $str_allow_these_persons="Allow these persons"; /* (db_api.php) -- */ ! $str_no_watermarks="No watermarks for these persons"; /* (db_api.php) -- */ $str_watermark_perm_part1="Define image watermarks for a single user, multiple user, and/or album based here."; /* (watermark.php) -- */ $str_watermark_perm_part2="ããã©ã«ãã®è¨å®ã¯ããã°ã¤ã³ã¦ã¼ã¶ã¼ã®ã¿ãã§ããã¹ã¦ã®ã¢ã«ãã ãã§ãã"; /* (watermark.php) -- */ --- 1003,1008 ---- $str_all_albums_but_without_these="ããã以å¤ã®ãã¹ã¦ã®ã¢ã«ãã :"; /* () -- */ $str_only_on_these_albums="ãããã®ã¢ã«ãã ã§ã®ã¿:"; /* () -- */ ! $str_allow_these_persons="ãã®äººãã¡ã許å¯ãã"; /* (db_api.php) -- */ ! $str_no_watermarks="ãã®äººãã¡ã®ã¦ã©ã¼ã¿ã¼ãã¼ã¯ã¯ããã¾ãã"; /* (db_api.php) -- */ $str_watermark_perm_part1="Define image watermarks for a single user, multiple user, and/or album based here."; /* (watermark.php) -- */ $str_watermark_perm_part2="ããã©ã«ãã®è¨å®ã¯ããã°ã¤ã³ã¦ã¼ã¶ã¼ã®ã¿ãã§ããã¹ã¦ã®ã¢ã«ãã ãã§ãã"; /* (watermark.php) -- */ *************** *** 1025,1029 **** $log_title="LinPHA ãã°è¨é²"; /* (log.php) -- */ $log_options="LinPHA ãã°è¨é²ãªãã·ã§ã³"; /* (log.php) -- */ ! $log_method_label="Log to:"; /* (log.php) -- */ $str_extra_headers="ãã®ä»ã®ãããã¼:"; /* (log.php) -- */ $str_log_events['login']="ã¦ã¼ã¶ã¼ãã°ã¤ã³"; /* (log.php) -- */ --- 1025,1029 ---- $log_title="LinPHA ãã°è¨é²"; /* (log.php) -- */ $log_options="LinPHA ãã°è¨é²ãªãã·ã§ã³"; /* (log.php) -- */ ! $log_method_label="ãã°è¨é²å¯¾è±¡:"; /* (log.php) -- */ $str_extra_headers="ãã®ä»ã®ãããã¼:"; /* (log.php) -- */ $str_log_events['login']="ã¦ã¼ã¶ã¼ãã°ã¤ã³"; /* (log.php) -- */ |
From: bzrudi <bz...@ce...> - 2006-02-03 18:01:54
|
> really good idea :-) > > we would have to delete all old messages in the mail archive... will see how to do... > > i hope you have changed the display resolution in the javascript > thumbnail viewer without reloading the page :-) sure! and I even tried a lot more :-)) cheers bzrudi > > yes of course we need a html fallback > > flo > > bzrudi schrieb: > >> Update of /cvsroot/linpha/linpha2 >> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv667 >> >> Modified Files: >> ChangeLog Log Message: >> we should save our email address from being spamed ;-) >> >> Index: ChangeLog >> =================================================================== >> RCS file: /cvsroot/linpha/linpha2/ChangeLog,v >> retrieving revision 1.10 >> retrieving revision 1.11 >> diff -C2 -d -r1.10 -r1.11 >> *** ChangeLog 2 Feb 2006 22:31:50 -0000 1.10 >> --- ChangeLog 3 Feb 2006 13:44:19 -0000 1.11 >> *************** >> *** 1,7 **** >> ! 2006-02-02 flo <li...@an...> >> * finished testings with javascript based thumbnail viewer >> have a look at /albums.php! >> >> ! 2005-12-05 bzrudi <li...@tu...> >> * added new LinPHA2 default theme kindly provided by Bastiaan! >> * I setup a new mainfolder to hold the themes. The following folders >> --- 1,7 ---- >> ! 2006-02-02 flo <linpha_AT_angehrn_DOT_com> >> * finished testings with javascript based thumbnail viewer >> have a look at /albums.php! >> >> ! 2005-12-05 bzrudi <linpha2_AT_tuxpower_DOT_de> >> * added new LinPHA2 default theme kindly provided by Bastiaan! >> * I setup a new mainfolder to hold the themes. The following folders >> *************** >> *** 12,39 **** >> /lib/themes >> ! 2005-09-19 bzrudi <li...@tu...> >> * commit of new theme (reflex). This time splitted in several files. >> Any ideas on this are highly appreciated... >> ! 2005-09-15 flo <li...@an...> >> * finished (?) installer >> >> ! 2005-09-14 bzrudi <li...@tu...> >> * first commit of new theme (reflex) highly experimental and not >> even 15% complete... >> ! 2005-09-13 flo <li...@an...> >> * nearly finished new installer >> >> ! 2005-09-12 flo <li...@an...> >> * heavy work on new installer >> >> ! 2005-09-11 flo <li...@an...> >> * heavy work on new installer >> >> ! 2005-09-10 flo <li...@an...> >> * heavy work on new installer >> >> ! 2005-09-10 bzrudi <li...@tu...> >> * initial import of the new LinPHA2 branch >> * added basic folder structure >> --- 12,39 ---- >> /lib/themes >> ! 2005-09-19 bzrudi <linpha2_AT_tuxpower_DOT_de> >> * commit of new theme (reflex). This time splitted in several files. >> Any ideas on this are highly appreciated... >> ! 2005-09-15 flo <linpha_AT_angehrn_DOT_com> >> * finished (?) installer >> >> ! 2005-09-14 bzrudi <linpha2_AT_tuxpower_DOT_de> >> * first commit of new theme (reflex) highly experimental and not >> even 15% complete... >> ! 2005-09-13 flo <linpha_AT_angehrn_DOT_com> >> * nearly finished new installer >> >> ! 2005-09-12 flo <linpha_AT_angehrn_DOT_com> >> * heavy work on new installer >> >> ! 2005-09-11 flo <linpha_AT_angehrn_DOT_com> >> * heavy work on new installer >> >> ! 2005-09-10 flo <linpha_AT_angehrn_DOT_com> >> * heavy work on new installer >> >> ! 2005-09-10 bzrudi <linpha2_AT_tuxpower_DOT_de> >> * initial import of the new LinPHA2 branch >> * added basic folder structure >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through log >> files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >> _______________________________________________ >> Linpha-cvs mailing list >> Lin...@li... >> https://lists.sourceforge.net/lists/listinfo/linpha-cvs >> >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Linpha-cvs mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linpha-cvs |
From: Florian A. <fl...@an...> - 2006-02-03 17:42:54
|
really good idea we would have to delete all old messages in the mail archive... i hope you have changed the display resolution in the javascript thumbnail viewer without reloading the page :-) yes of course we need a html fallback flo bzrudi schrieb: >Update of /cvsroot/linpha/linpha2 >In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv667 > >Modified Files: > ChangeLog >Log Message: >we should save our email address from being spamed ;-) > >Index: ChangeLog >=================================================================== >RCS file: /cvsroot/linpha/linpha2/ChangeLog,v >retrieving revision 1.10 >retrieving revision 1.11 >diff -C2 -d -r1.10 -r1.11 >*** ChangeLog 2 Feb 2006 22:31:50 -0000 1.10 >--- ChangeLog 3 Feb 2006 13:44:19 -0000 1.11 >*************** >*** 1,7 **** >! 2006-02-02 flo <li...@an...> > * finished testings with javascript based thumbnail viewer > have a look at /albums.php! > >! 2005-12-05 bzrudi <li...@tu...> > * added new LinPHA2 default theme kindly provided by Bastiaan! > * I setup a new mainfolder to hold the themes. The following folders >--- 1,7 ---- >! 2006-02-02 flo <linpha_AT_angehrn_DOT_com> > * finished testings with javascript based thumbnail viewer > have a look at /albums.php! > >! 2005-12-05 bzrudi <linpha2_AT_tuxpower_DOT_de> > * added new LinPHA2 default theme kindly provided by Bastiaan! > * I setup a new mainfolder to hold the themes. The following folders >*************** >*** 12,39 **** > /lib/themes > >! 2005-09-19 bzrudi <li...@tu...> > * commit of new theme (reflex). This time splitted in several files. > Any ideas on this are highly appreciated... > >! 2005-09-15 flo <li...@an...> > * finished (?) installer > >! 2005-09-14 bzrudi <li...@tu...> > * first commit of new theme (reflex) > highly experimental and not even 15% complete... > >! 2005-09-13 flo <li...@an...> > * nearly finished new installer > >! 2005-09-12 flo <li...@an...> > * heavy work on new installer > >! 2005-09-11 flo <li...@an...> > * heavy work on new installer > >! 2005-09-10 flo <li...@an...> > * heavy work on new installer > >! 2005-09-10 bzrudi <li...@tu...> > * initial import of the new LinPHA2 branch > * added basic folder structure >--- 12,39 ---- > /lib/themes > >! 2005-09-19 bzrudi <linpha2_AT_tuxpower_DOT_de> > * commit of new theme (reflex). This time splitted in several files. > Any ideas on this are highly appreciated... > >! 2005-09-15 flo <linpha_AT_angehrn_DOT_com> > * finished (?) installer > >! 2005-09-14 bzrudi <linpha2_AT_tuxpower_DOT_de> > * first commit of new theme (reflex) > highly experimental and not even 15% complete... > >! 2005-09-13 flo <linpha_AT_angehrn_DOT_com> > * nearly finished new installer > >! 2005-09-12 flo <linpha_AT_angehrn_DOT_com> > * heavy work on new installer > >! 2005-09-11 flo <linpha_AT_angehrn_DOT_com> > * heavy work on new installer > >! 2005-09-10 flo <linpha_AT_angehrn_DOT_com> > * heavy work on new installer > >! 2005-09-10 bzrudi <linpha2_AT_tuxpower_DOT_de> > * initial import of the new LinPHA2 branch > * added basic folder structure > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >_______________________________________________ >Linpha-cvs mailing list >Lin...@li... >https://lists.sourceforge.net/lists/listinfo/linpha-cvs > > |
From: bzrudi <bz...@ce...> - 2006-02-03 13:31:16
|
Hi, I find this a good attemp, as it would reduce the number of config options and let the users choose options on-the-fly. For sure we need a fallback to plain HTML for those who disabled or don't like javascript - but a good approach so far. Would be nice to have it aplied to default template together with some images, to get a better impression how it look & feels. cheers bzrudi > Update of /cvsroot/linpha/linpha2 > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21275 > > Modified Files: > ChangeLog > Log Message: > finished testings with javascript based thumbnail viewer > have a look at /albums.php! > > Index: ChangeLog > =================================================================== > RCS file: /cvsroot/linpha/linpha2/ChangeLog,v > retrieving revision 1.9 > retrieving revision 1.10 > diff -C2 -d -r1.9 -r1.10 > *** ChangeLog 5 Dec 2005 16:51:46 -0000 1.9 > --- ChangeLog 2 Feb 2006 22:31:50 -0000 1.10 > *************** > *** 1,2 **** > --- 1,6 ---- > + 2006-02-02 flo <li...@an...> > + * finished testings with javascript based thumbnail viewer > + have a look at /albums.php! > + > 2005-12-05 bzrudi <li...@tu...> > * added new LinPHA2 default theme kindly provided by Bastiaan! > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Linpha-cvs mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linpha-cvs |
From: Florian A. <fan...@us...> - 2006-02-02 22:31:19
|
Update of /cvsroot/linpha/linpha2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21108 Modified Files: albums.php Log Message: finished testings with javascript based thumbnail viewer have a look at /albums.php! Index: albums.php =================================================================== RCS file: /cvsroot/linpha/linpha2/albums.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** albums.php 1 Feb 2006 20:42:58 -0000 1.2 --- albums.php 2 Feb 2006 22:31:07 -0000 1.3 *************** *** 1,33 **** <!-- http://de.selfhtml.org/javascript/beispiele/fensterueberwachen.htm // --> <html> <head> <style type="text/css"> .div { border: 1px #000000 solid; - width: 200px; - height: 200px; margin: 3px; text-align: center; float: left; } </style> <script language="JavaScript" type="text/javascript"> ! var tot_photos = 25; img_ids = new Array(tot_photos); ! for(var i = 0; i < tot_photos; i++) { img_ids[i] = i; } - var img_height = 200; - var img_width = 200; var img_spacer_width = 12; ! var img_spacer_heigth = 9; --- 1,49 ---- <!-- http://de.selfhtml.org/javascript/beispiele/fensterueberwachen.htm + http://www.quirksmode.org/viewport/ !! // --> + <?php + $def_tn_size = 200; + $array_tn_sizes = Array(50,75,100,150,200,250,300,400,500); + ?> <html> <head> <style type="text/css"> + body { + margin-left: 50px; + + } + .div { border: 1px #000000 solid; margin: 3px; text-align: center; float: left; } + + .infodiv { + float: left; + border: 1px #000000 solid; + margin-right: 10px; + padding: 5px; + height: 50px; + } </style> <script language="JavaScript" type="text/javascript"> ! var tot_photos = 100; ! var startup_page = 1; ! var current_page = startup_page img_ids = new Array(tot_photos); ! for(var i = 1; i <= tot_photos; i++) { img_ids[i] = i; } var img_spacer_width = 12; ! var img_spacer_height = 9; *************** *** 35,60 **** </head> ! <body> <div id="maindiv"></div> <script language="JavaScript" type="text/javascript"> window.onresize = display_images; function display_images() { ! var nr_rows = Math.floor( window.innerWidth / (img_width + img_spacer_width) ); ! var nr_cols = Math.floor( window.innerHeight / (img_height + img_spacer_heigth) ); ! ! var max_photos_per_page = nr_rows * nr_cols; ! //alert(nr_rows + " " + nr_cols + " " + max_photos_per_page); ! var img_nr = 0; document.getElementById("maindiv").innerHTML=''; for (i in img_ids) { ! if(img_nr < max_photos_per_page) { var myDiv = document.createElement("div"); --- 51,214 ---- </head> ! <body onload="init()"> ! ! <div id='info1' class="infodiv">info1</div> ! <div id='info2' class="infodiv">info2</div> ! <div id='info3' class="infodiv">info3</div> ! <div id='page_nr' class="infodiv">page nr</div> ! <div class="infodiv"> ! ! <select id="tn_size" name="tn_size" onchange="display_images();"> ! <?php ! foreach($array_tn_sizes AS $value) ! { ! if($value == $def_tn_size) ! { ! $str_selected = ' selected="selected"'; ! } ! else ! { ! $str_selected = ''; ! } ! echo '<option value="'.$value.'"'.$str_selected.'>'.$value.' Pixel</option>'."\n"; ! } ! ?> ! </select> ! </div> ! <div class="infodiv"> ! <select id="nr_tn" name="nr_tn" onchange="display_images()"> ! <option selected="selected">Auto</option> ! <option>10</option> ! <option>25</option> ! <option>50</option> ! <option>100</option> ! <option>200</option> ! <option>All</option> ! </select> ! </div> ! ! ! <div id='mainmaindiv' class='div' style="width: 100%; bottom: 25px;"> <div id="maindiv"></div> + </div> + + <script language="JavaScript" type="text/javascript"> window.onresize = display_images; + function init() + { + display_images(); + } + function display_images() { ! /** ! * set correct maindiv height ! */ ! document.getElementById('mainmaindiv').style.height = window.innerHeight - document.getElementById('info1')['offsetHeight'] - 20; ! /** ! * set correct tn size (from select form) ! */ ! var tn_size = parseInt( document.getElementById('tn_size').options[document.getElementById('tn_size').selectedIndex].value ); ! /** ! * calculate nr of photos per page (from select form) ! */ ! var photos_per_page = document.getElementById('nr_tn').options[document.getElementById('nr_tn').selectedIndex].value; ! switch( photos_per_page ) ! { ! case 'Auto': ! var nr_cols = Math.floor( document.getElementById('mainmaindiv')['offsetWidth'] / (tn_size + img_spacer_width) ); ! var nr_rows = Math.floor( document.getElementById('mainmaindiv')['offsetHeight'] / (tn_size + img_spacer_height) ); ! var max_photos_per_page = nr_rows * nr_cols; ! break; ! case 'All': ! var nr_cols = Math.floor( document.getElementById('mainmaindiv')['offsetWidth'] / (tn_size + img_spacer_width) ); ! var max_photos_per_page = tot_photos; ! var nr_rows = Math.ceil(max_photos_per_page / nr_cols); ! break; ! default: ! /** ! * ceil max_photos_per_page to complet the row! ! */ ! var nr_cols = Math.floor( document.getElementById('mainmaindiv')['offsetWidth'] / (tn_size + img_spacer_width) ); ! var nr_rows = Math.ceil( photos_per_page / nr_cols); ! var max_photos_per_page = nr_rows * nr_cols; ! break; ! } ! ! /** ! * prepare page numbers ! */ ! nr_pages = Math.ceil( tot_photos / max_photos_per_page ); ! document.getElementById("info3").innerHTML = tot_photos + " " + max_photos_per_page + " " + nr_pages; ! ! ! /** ! * check if our current page still exists (maybe we changed the tn_size and now there arent so much pages anymore) ! */ ! if(current_page > nr_pages) ! { ! current_page = nr_pages; ! } + /** + * write page numbers + */ + DivPageNr = document.getElementById("page_nr"); + DivPageNr.innerHTML=''; + var myDiv = document.createElement("div"); + for (var i=1; i <= nr_pages; i++) + { + if(i == current_page) + { + var myText = document.createTextNode(i); + } + else + { + var myText = document.createElement('a'); + + var myAttribute=document.createAttribute("href"); + myAttribute.nodeValue = 'javascript:goto_page('+i+')'; + myText.setAttributeNode(myAttribute); + + var myText2 = document.createTextNode(i); + myText.appendChild(myText2); + } + DivPageNr.appendChild(myText); + + if(i != nr_pages) + { + var myText = document.createTextNode(' '); + DivPageNr.appendChild(myText); + } + } + + + + /** + * write out some debugging infos + */ + document.getElementById("info1").innerHTML = document.getElementById('mainmaindiv')['offsetWidth'] + " " + document.getElementById('mainmaindiv')['offsetHeight']; + document.getElementById("info2").innerHTML = nr_rows + " " + nr_cols + " " + max_photos_per_page; + document.getElementById("info3").innerHTML = tot_photos + " " + max_photos_per_page + " " + nr_pages; + + + + + + /** + * write divs + */ + var img_nr = 1; + var startup_img_nr = (current_page - 1)*max_photos_per_page+1; document.getElementById("maindiv").innerHTML=''; for (i in img_ids) { ! if(i >= startup_img_nr && img_nr <= max_photos_per_page) { var myDiv = document.createElement("div"); *************** *** 67,70 **** --- 221,228 ---- myAttribute.nodeValue = 'div'; myDiv.setAttributeNode(myAttribute); + + var myAttribute=document.createAttribute("style"); + myAttribute.nodeValue = 'width: ' + tn_size + '; height: ' + tn_size + ';'; + myDiv.setAttributeNode(myAttribute); *************** *** 73,82 **** document.getElementById("maindiv").appendChild(myDiv); } ! img_nr++; } } ! display_images(); </script> --- 231,247 ---- document.getElementById("maindiv").appendChild(myDiv); + + img_nr++; } ! } } ! ! function goto_page(nr) ! { ! current_page = nr; ! display_images(); ! } </script> |
From: bzrudi <bz...@us...> - 2006-02-02 16:52:04
|
Update of /cvsroot/linpha/linpha In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23488 Modified Files: ChangeLog Log Message: just testing new mailing list - does it work? Index: ChangeLog =================================================================== RCS file: /cvsroot/linpha/linpha/ChangeLog,v retrieving revision 1.1170 retrieving revision 1.1171 diff -C2 -d -r1.1170 -r1.1171 *** ChangeLog 2 Feb 2006 16:42:47 -0000 1.1170 --- ChangeLog 2 Feb 2006 16:51:55 -0000 1.1171 *************** *** 1,4 **** 2006-02-02 bzrudi71 <linpha_AT_tuxpower_DOT_de> ! * just testing new mailing list... 2006-02-02 vytautas <krivickas AT vic DOT australis DOT com DOT au> --- 1,4 ---- 2006-02-02 bzrudi71 <linpha_AT_tuxpower_DOT_de> ! * (still) just testing new mailing list... 2006-02-02 vytautas <krivickas AT vic DOT australis DOT com DOT au> |
From: bzrudi <bz...@us...> - 2006-02-02 16:42:54
|
Update of /cvsroot/linpha/linpha In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20059 Modified Files: ChangeLog Log Message: just testing new mailing list - does it work? Index: ChangeLog =================================================================== RCS file: /cvsroot/linpha/linpha/ChangeLog,v retrieving revision 1.1169 retrieving revision 1.1170 diff -C2 -d -r1.1169 -r1.1170 *** ChangeLog 2 Feb 2006 06:17:22 -0000 1.1169 --- ChangeLog 2 Feb 2006 16:42:47 -0000 1.1170 *************** *** 1,2 **** --- 1,5 ---- + 2006-02-02 bzrudi71 <linpha_AT_tuxpower_DOT_de> + * just testing new mailing list... + 2006-02-02 vytautas <krivickas AT vic DOT australis DOT com DOT au> * Mailing list plugin: Fix bug where all mail would fail after the first failed |