hi list
could someone tell me what I'm doing wrong here
$TimeFmt = '%Y-%m-%d %H:%M:%S';
$FmtPV['$timenow'] = time();
$MarkupExpr['timefmt'] = 'ShowTimeFmt($args[0])';
function ShowTimeFmt($unixtime) {
34-$timefmt = strftime(\$GLOBALS['TimeFmt'],$unixtime);
return
oky I found the problem .. .
noskule schrieb:
hi list
could someone tell me what I'm doing wrong here
$TimeFmt = '%Y-%m-%d %H:%M:%S';
$FmtPV['$timenow'] = time();
$MarkupExpr['timefmt'] = 'ShowTimeFmt($args[0])';
function ShowTimeFmt($unixtime) {
34-$timefmt =
hi list
I have some trouble to get this php code to runn properly, could please
someone giving me a hand?
I try to get the basename of a page:
SomeGroup.SomeName-Topic-12 - SomeGroup.SomeName
GLOBAL $TopicBaseName,$CommentBaseName;
$name = PageVar($pagename, '$Name');
$backnametopic =
On Monday 16 July 2007, noskule wrote:
SomeGroup.SomeName-Topic-12-Comment-3 - SomeGroup.SomeName-Topic-12
$name = PageVar($pagename, '$Name');
$backnamecomment = explode('-Comment-',$name);
$backnamecomment = $backnamecomment[0];
$FmtPV['$CommentBaseName'] = $backnamecomment;
this don't
Petko Yotov schrieb:
On Monday 16 July 2007, noskule wrote:
SomeGroup.SomeName-Topic-12-Comment-3 - SomeGroup.SomeName-Topic-12
$name = PageVar($pagename, '$Name');
$backnamecomment = explode('-Comment-',$name);
$backnamecomment = $backnamecomment[0];
$FmtPV['$CommentBaseName'] =
On 7/16/07, noskule [EMAIL PROTECTED] wrote:
hi list
I have some trouble to get this php code to runn properly, could please
someone giving me a hand?
I try to get the basename of a page:
SomeGroup.SomeName-Topic-12 - SomeGroup.SomeName
GLOBAL $TopicBaseName,$CommentBaseName;
$name
noskule schrieb:
I figured out that I have to make a markup expression to do something
like that:
({topicbasename {$editgroup}.{$editname}})
I took a look at the markup expression script but couldn't realy
understand it. Works this so that I could define a function like
topicbasebame and call