Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv6266
Modified Files:
stdlib.php
Log Message:
Undefined links will now have a question mark at the start instead of
at the end of the link; this idea comes from the book The Wiki Way and
it's supposed to be a bit clearer to the user.
Index: stdlib.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/stdlib.php,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** stdlib.php 2001/06/26 18:08:32 1.40
--- stdlib.php 2001/08/12 23:57:37 1.41
***************
*** 158,166 ****
return Element('span', array('class' => 'wikiunknown'),
! Element('u', $linktext) .
! QElement('a',
! array('href' => WikiURL($wikiword, array('action' => 'edit')),
! 'class' => 'wikiunknown'),
! '?'));
}
--- 158,164 ----
return Element('span', array('class' => 'wikiunknown'),
! QElement('a', array('href' => WikiURL($wikiword, array('action' => 'edit')),'class' => 'wikiunknown'),'?')
! . Element('u', $linktext)
! );
}
|