REM {Hhide if user has less than editor access and is not the author of the document};
公式为真时隐藏
Filename := @DbName;
Level := @V4UserAccess(Filename);
Getlevel := @TextToNumber(@Subset(Level; 1)); '判断是否为管理者
abUser := @Name([Abbreviate]; @UserName);
abAuthor := @Name([Abbreviate]; From);
hw := @RightBack(QUERY_STRING_DECODED; "hw=");
@UserName = "Anonymous" | (GetLevel < 4 & abUser != abAuthor) | hw="1"
hw := @RightBack(QUERY_STRING_DECODED; "hw="); '判断是否在editmode下 如果是返回值1 ; QUERY_STRING_DECODED返回
在 引用这个URL的脚本中,紧随问号之后的信息 .
转载于:https://www.cnblogs.com/xuxu7325/archive/2005/12/26/304822.html