Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 694 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  481   Fri Feb 27 03:48:05 2004 Entry RajElog+rajelio@yahoo.comQuestionWindows2.5Instant Edit Link
How I can dynamically create a link when a new submission is entered that 
will have a value of <ELOG_URL$message id?=Edit>
I want the users to be able to go straight from the main page to an edit 
page. This would skip 1 step to get to the edit page.
Is this possible. 
If that link could use one of the icons for the src image that would be 
great. 
Thanks.
:-)
  482   Fri Feb 27 09:15:07 2004 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.5Re: Instant Edit Link
I have added that functionality according to your request. In elogd.cfg, you 
can specify

List Display = ID, Edit, Delete, Date, Author, ... <other attributes>

which gives you two colums, one to edit and entry and one to delete one. See 
the attached picture. I presume that's what you want. This works on the 
newest version 

http://midas.psi.ch/cgi-bin/cvsweb/elog/src/elogd.c?rev=1.272

and you need the two icons

http://midas.psi.ch/cgi-bin/cvsweb/elog/themes/default/edit.gif?rev=1.1
http://midas.psi.ch/cgi-bin/cvsweb/elog/themes/default/delete.gif?rev=1.1

to be put under your elog/themes/default/ directory. Or you wait for the 
next official release (;-)
Attachment 1: moz.gif
moz.gif
  423   Thu Aug 7 15:21:40 2003 Question Davidbenutzersupport@bkitech.deQuestionWindows2.38 (?)email Notification
Good day! I´m a german guy so my english is not the best sorry for this...  
I have my Elog completely configured now have I still another problem I 
would like with a new entry a E-Mail address to select to be able itself 
where the again provided entry am then hang-sent can me there someone 
help?  already the whole has after forum answers scanned.  Thanks David
  425   Fri Sep 5 17:13:07 2003 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.38 (?)Re: email Notification
> Good day! I´m a german guy so my english is not the best sorry for this...  
> I have my Elog completely configured now have I still another problem I 
> would like with a new entry a E-Mail address to select to be able itself 
> where the again provided entry am then hang-sent can me there someone 
> help?  already the whole has after forum answers scanned.  Thanks David

I'm German as well, but cannot understand your question. Can you write an 
email in German directly to me?

Ich kann Deine Frage leider nicht verstehen. Kannst Du sie mir direkt in 
Deutsch per Email schicken?
  420   Fri Aug 1 13:18:42 2003 Warning Heiko Scheith.scheit@mpi-hd.mpg.deBug fixLinux2.3.9.problem with boolean attributes
Boolean attributes were not displayed correctly in version 2.3.9.
Patch is attached.
Attachment 1: elog.diff
--- elogd.c     Fri Aug  1 13:13:09 2003
+++ elogd.c_    Fri Aug  1 13:12:59 2003
@@ -11275,10 +11275,10 @@
         {
         if (atoi(attrib[i]) == 1)
           rsprintf("%s:</td><td class=\"%s\"><input type=checkbox checked disabled></td>\n",
-                   attr_list[i], class_value);
+                   class_value, attr_list[i]);
         else
           rsprintf("%s:</td><td class=\"%s\"><input type=checkbox disabled></td>\n",
-                   attr_list[i], class_value);
+                   class_value, attr_list[i]);
         }
       /* display image for icon */
       else if (attr_flags[i] & AF_ICON)
  421   Mon Aug 4 14:02:52 2003 Warning Heiko Scheith.scheit@mpi-hd.mpg.deBug fixLinux2.3.9.width of the textarea is too large (after reply)
The width of the textarea after pressing reply is too large. 
The problem is that the algorithm that searches for the longes line
looks for the next '\r' which it does not find and therefore takes the
number of characters in the text to be the width of the longest line.
To search for '\n' instead should solve the problem.  Please find the 
diff output below.


$ diff -c elogd.c elogd.c~
*** elogd.c     Mon Aug  4 13:57:35 2003
--- elogd.c~    Fri Aug  1 13:13:09 2003
***************
*** 6028,6035 ****
      p = text;
      do
        {
!       /*      pend = strchr(p, '\r'); */
!       pend = strchr(p, '\n');
        if (pend == NULL)
          pend = p+strlen(p);
  
--- 6028,6034 ----
      p = text;
      do
        {
!       pend = strchr(p, '\r');
        if (pend == NULL)
          pend = p+strlen(p);
  
  426   Fri Sep 5 17:17:03 2003 Reply Stefan Rittstefan.ritt@psi.chBug fixLinux2.3.9.Re: width of the textarea is too large (after reply)
> The width of the textarea after pressing reply is too large. 
> The problem is that the algorithm that searches for the longes line
> looks for the next '\r' which it does not find and therefore takes the
> number of characters in the text to be the width of the longest line.
> To search for '\n' instead should solve the problem.  Please find the 
> diff output below.

Ok, implemented, thanks.
  427   Fri Sep 5 17:19:11 2003 Reply Stefan Rittstefan.ritt@psi.chBug fixLinux2.3.9.Re: problem with boolean attributes
> Boolean attributes were not displayed correctly in version 2.3.9.
> Patch is attached.

Yes, implemented, thank you.
ELOG V3.1.5-3fb85fa6