mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-23 19:51:13 +00:00
74 lines
1 KiB
Text
74 lines
1 KiB
Text
|
ViewCondition: GSWConditional
|
||
|
{
|
||
|
condition = isViewEnabled;
|
||
|
};
|
||
|
|
||
|
ViewPathCondition: GSWConditional
|
||
|
{
|
||
|
condition = ^isURLView;
|
||
|
negate = YES;
|
||
|
};
|
||
|
|
||
|
ViewURLCondition: GSWConditional
|
||
|
{
|
||
|
condition = ^isURLView;
|
||
|
};
|
||
|
|
||
|
LinkViewCondition: GSWConditional
|
||
|
{
|
||
|
condition = ^isImageView;
|
||
|
negate = YES;
|
||
|
};
|
||
|
|
||
|
ImageViewCondition: GSWConditional
|
||
|
{
|
||
|
condition = ^isImageView;
|
||
|
};
|
||
|
|
||
|
ImageWithPath: GSWImage
|
||
|
{
|
||
|
filename = fileInfo.filePath;
|
||
|
border = 0;
|
||
|
};
|
||
|
|
||
|
ImageWithURL: GSWImage
|
||
|
{
|
||
|
src = fileInfo.fileURL;
|
||
|
border = 0;
|
||
|
};
|
||
|
|
||
|
UploadFile: GSWFileUpload
|
||
|
{
|
||
|
data = fileInfo.data;
|
||
|
filePath = fileInfo.fileName;
|
||
|
enabled=^isUploadEnabled;
|
||
|
};
|
||
|
|
||
|
FileLinkWithPath: GSWHyperlink
|
||
|
{
|
||
|
filename=fileInfo.filePath;
|
||
|
data=fileInfo.data;
|
||
|
mimeType=fileInfo.mimeType;
|
||
|
key=fileInfo.filePath;
|
||
|
string= ^string;
|
||
|
target = ^target;
|
||
|
};
|
||
|
|
||
|
FileLinkWithURL: GSWHyperlink
|
||
|
{
|
||
|
src=fileInfo.fileURL;
|
||
|
string= ^string;
|
||
|
target = ^target;
|
||
|
};
|
||
|
|
||
|
DeleteCondition: GSWConditional
|
||
|
{
|
||
|
condition = isDeleteEnabled;
|
||
|
};
|
||
|
|
||
|
DeleteCheckBox: GSWCheckBox
|
||
|
{
|
||
|
enabled=isDeleteEnabled;
|
||
|
checked= fileInfo.isDeleted;
|
||
|
};
|