Шаблоны

Шаблоны - это кубики из которых система управления сайтом конструирует страницы отправляемые посетителям сайта. НА самом деле шаблоны могут использоваться не только для создания страниц сайта, но и для других целей, например для отправки писем зарегистрированным пользователям.

Каждый шаблон имеет уникальное имя. Шаблон может быть привязан либо к классу объектов либо объявлен как внеклассовый для отрисовки страниц, модулей или констант.
Шаблоны, привязанные к классу объекта, при сборке автоматически наследуют названия атрибутов объекта в текущей локализации.

Шаблон может быть объявлен как недоступный, тогда он не будет появляться в списке допустимых шаблонов при редактировании объектов соответствующего класса.
Простой пример: шаблоны для отображения раздела, для отрисовки списка подразделов и для отрисовки элемента списка подразделов могут быть объявлены как шаблоны связанные с классом Раздел. Однако разумно определить доступным только шаблон для отрисовки раздела.

К каждому шаблону может быть привязан набор модулей для отрисовки элементов шаблона типа переменная. При выполнении процесса отрисовки модулю передаётся контекст текущего объекта, команда отрисовки, дополнительные параметры, заданные в редакторе шаблонов и цель. Цель это элемент шаблона (переменная) которая будет заменена на результат выполнения метода generate() модуля. Существует 3 специальных параметра определяющих цель замены:

  • [no injection] - не использовать результат работы модуля, например если модуль должен просто выполнить некоторые действия без видимого результата.
  • [prepend] - добавить результат метода в начало шаблона
  • [append] - добавить результат метода в конец шаблона

Собственно шаблон представляет из себя фрагмент HTML или XML кода, содержащий специальные вставки. Существует 4 типа вставок:

<!--[VariableName]-->

обычная переменная, как правило заменяется значением $HASH[‘VariableName’];
может заменяться результатом выполнения присоединённого модуля

<!--[@SubtemplateName]-->

заменяется сборкой шаблона ‘SubtemplateName’

<!--[#PredefinedMacroName]-->

  • SLANG – current site language
  • TEMPLATEID – current template ID
  • SELF – relative link to current script
  • BASE – absolute links to current script with GET arguments
  • FILEMOD – current script file modification date
  • DATE – current date (Y-m-d)
  • TIME – current time (H:i)
  • TIMES – current time with seconds (H:i:S)
  • RAND – pseudo random integer 0..100000
  • NAVIGATIONBAR – path to current document with links
  • SUBFOLDERS – list of sub containers of current container
  • CURRENT_USER_ID
  • CURRENT_USER_LOGIN
  • PROLOG – default, static page prolog (/utils/prolog.html)
  • EPILOG – default, static page epilog (/utils/epilog.html)

<!--[~ClassLocaleConstantName]-->

константы локализации, связанные с классом базового объекта шаблона

<!--[:TemplateLocaleConstantName]-->

константы локализации шаблона

Правльный перечень шагов для создания шаблона:

  1. создаём шаблон с набором переменных
  2. обновляем/сохраняем
  3. компилируем
  4. можно посмотреть превью
  5. добавляем модули, для каждого модуля определяем:
    • параметр вызова
    • дополнительные параметры
    • место вставки
  6. повторяем шаги с 1го или с 5го по необходимости
  7. завершающее обновление
  8. завершающая компиляция
  9. готово!

 

Перечень стандартных шаблонов системы DynaCont-II

Name/Class/ActiveComponents
<!--[@Advertisement block]-->
Class: Advertisement
Active: Y
Arg: Advertisement.Image
Arg: Advertisement.Link
Arg: Advertisement.Text
Arg: Advertisement._id
<!--[@AdvertisementColumnEnvelope]-->
Class: Advertisement
Active: Y
TLocale: ADVERTISEMENTS
Arg: Advertisements
<!--[@ArticleDisplayPage]-->
Class: Article
Active: Y
Uses: @AuthUtilsBlock
Uses: @TopBlock
Uses: @_DefaultPageFooter
Uses: @_DefaultPageHeader
Arg: Article.Text
Arg: Article._Title
Arg: Article._id
Arg: Article._pathLinks
Arg: ArticleList
Arg: ArticleTAGs
Arg: CalendarTool
Arg: Category._pathLinks
Arg: CommentTopic._pathLinks
Arg: DynamicMenu
Arg: GalleryList
Arg: TAGs
Arg: TopNews

Modules:
advertiser(10)=>Advertisements
AssetCalendar(Display)=>CalendarTool
MenuGenerator(MainMenuBarDynamic,ModuleArg2=>)=>DynamicMenu
gallery(GetGalleryList)=>GalleryList
category(GetNodeArticleList)=>ArticleList
news(Top)=>TopNews
TAGs(GetTAGsCloud)=>TAGs
TAGs(GetObjectTAGs)=>ArticleTAGs
<!--[@ArticleListEnvelope]-->
Class: Article
Active: N
template to display article list
TLocale: HideArticleList
TLocale: ShowArticleList
Arg: ArticleListContainer
Arg: ArticleListLabel
Arg: SubParts
<!--[@ArticleListItem]-->
Class: Article
Active: N
template to display article lists
TLocale: ArticleBy
TLocale: ReadAndDiscuss
Arg: Article.Annotation
Arg: Article._Author
Arg: Article._Title
Arg: Article._id
Arg: Article._pathLink
<!--[@CategoryListEnvelope]-->
Class: Category
Active: Y
TLocale: HideCategoryList
TLocale: LBL_ProjectParts
TLocale: ShowCategoryList
Arg: CategoryListContainer
Arg: SubParts
<!--[@CategoryListItem]-->
Class: Category
Active: Y
template to display list of sub categories
TLocale: CategoryBy
TLocale: CategoryReadAndDiscuss
Arg: Category._Author
Arg: Category._Description
Arg: Category._Title
Arg: Category._pathLink
<!--[@CategoryListItemNoView]-->
Class: Category
Active: Y
TLocale: CategoryBy
Arg: Category._Author
Arg: Category._Description
Arg: Category._Title
<!--[@Index page]-->
Class: Category
Active: Y
default index page
Uses: @AuthUtilsBlock
Uses: @TopBlock
Uses: @_DefaultPageFooter
Uses: @_DefaultPageHeader
Arg: Article._pathLinks
Arg: ArticleList
Arg: CalendarTool
Arg: Category.Text
Arg: Category._Title
Arg: Category._pathLinks
Arg: CommentTopic._pathLinks
Arg: GalleryList
Arg: SubParts
Arg: TAGs
Arg: TopNews

Modules:
category(GetSubParts)=>SubParts
AssetCalendar(Display)=>CalendarTool
TAGs(GetTAGsCloud)=>TAGs
category(GetNodeArticleList)=>ArticleList
gallery(GetGalleryList)=>GalleryList
news(Actual)=>TopNews
MenuGenerator(MainMenuBarDynamic)=>DynamicMenu
<!--[@IndexPageForum]-->
Class: Category
Active: Y
Index page (Forums)
Uses: @AuthUtilsBlock
Uses: @TopBlock
Uses: @_DefaultPageFooter
Uses: @_DefaultPageHeader
Arg: Article._pathLinks
Arg: Category.Text
Arg: Category._Title
Arg: Category._pathLinks
Arg: CommentTopic._pathLinks
Arg: SubParts
Arg: TopNews
Arg: TopicsList

Modules:
news(Top)=>TopNews
category(GetSubParts)=>SubParts
comments(GetTopicsContainer)=>TopicsList
MenuGenerator(MainMenuBarDynamic)=>DynamicMenu
<!--[@IndexPageNewsArchive]-->
Class: Category
Active: Y
Index page (News Archive)
Uses: @AuthUtilsBlock
Uses: @TopBlock
Uses: @_DefaultPageFooter
Uses: @_DefaultPageHeader
Arg: Article._pathLinks
Arg: Category.Text
Arg: Category._Title
Arg: Category._pathLinks
Arg: CommentTopic._pathLinks
Arg: NewsArchiveNavigator
Arg: archive

Modules:
news(archive)=>archive
news(NewsArchiveNavigator)=>NewsArchiveNavigator
MenuGenerator(MainMenuBarDynamic)=>DynamicMenu
<!--[@IndexPageSiteMap]-->
Class: Category
Active: Y
Index page (Site Map)
Uses: @AuthUtilsBlock
Uses: @TopBlock
Uses: @_DefaultPageFooter
Uses: @_DefaultPageHeader
Arg: Article._pathLinks
Arg: Category.Text
Arg: Category._Title
Arg: Category._pathLinks
Arg: CommentTopic._pathLinks
Arg: SiteMap
Arg: TopNews

Modules:
news(Top)=>TopNews
category(GetSiteMap)=>SiteMap
MenuGenerator(MainMenuBarDynamic)=>DynamicMenu
<!--[@NullTemplate]-->
Class: Category
Active: Y
NullTemplate for RPC calls
Uses: @TopBlock
Uses: @_DefaultPageFooter
Uses: @_DefaultPageHeader
Arg: Category.Text
Arg: Category._Title
<!--[@ToolsPage]-->
Class: Category
Active: Y
default tools page
Uses: @AuthUtilsBlock
Uses: @TopBlock
Uses: @_DefaultPageFooter
Uses: @_DefaultPageHeader
Arg: Article._pathLinks
Arg: CalendarTool
Arg: Category._pathLinks
Arg: CommentTopic._pathLinks
Arg: Object.RelatedDocuments
Arg: Object.Text
Arg: Object._Title
Arg: Object._pathLinks
Arg: TAGs
Arg: TopNews

Modules:
AssetCalendar(Display)=>CalendarTool
TAGs(GetTAGsCloud)=>TAGs
category(GetNodeArticleList)=>ArticleList
news(Actual)=>TopNews
MenuGenerator(MainMenuBarDynamic)=>DynamicMenu
<!--[@CommentForm]-->
Class: Comment
Active: Y
template to display comment edit form
TLocale: Author
TLocale: EMail
TLocale: LBL_XD_CANCEL
TLocale: LBL_XD_CONFIRM
TLocale: Message
Arg: CaptchaHash
Arg: CaptchaName
Arg: Comment.Author
Arg: Comment.EMail
Arg: Comment.Message
Arg: Comment._id
Arg: Comment._pid
<!--[@CommentListEnvelope]-->
Class: Comment
Active: Y
template to display comments list
Arg: CommentList
<!--[@CommentListItem]-->
Class: Comment
Active: Y
template to display comments list item
TLocale: InReplyTo
Arg: Comment.Author
Arg: Comment.Flags
Arg: Comment.InReplyToID
Arg: Comment.MemberProfileID
Arg: Comment.MemberProfilePath
Arg: Comment.Message
Arg: Comment.Options
Arg: Comment._created
Arg: Comment._id
Arg: ordNumber
<!--[@CommentListItemActions]-->
Class: Comment
Active: Y
template to display comments list item actions
TLocale: Access
TLocale: Delete
TLocale: Edit
Arg: Comment._id
Arg: Comment._pid
<!--[@CommentListItemActionsAnswer]-->
Class: Comment
Active: Y
template to display comment list item answer action
TLocale: Answer
Arg: Comment._id
Arg: Comment._pid
<!--[@CommentsContainer ]-->
Class: Comment
Active: Y
Comments Container
TLocale: AuthorRequired
TLocale: CreateNewCommentDialogTitle
TLocale: EditCommentDialogTitle
TLocale: EmailRequired
TLocale: EraseComment
TLocale: NEW_COMMENT
Arg: ContainerComments
Arg: ContainerID
<!--[@IndexPageForumTopic]-->
Class: CommentTopic
Active: Y
Index page (Forum Topic)
TLocale: NEW_COMMENT
Uses: @TopBlock
Uses: @_DefaultPageFooter
Uses: @_DefaultPageHeader
Arg: CommentTopic.Author
Arg: CommentTopic.Flags
Arg: CommentTopic.MemberProfileID
Arg: CommentTopic.MemberProfilePath
Arg: CommentTopic.Message
Arg: CommentTopic.Options
Arg: CommentTopic.Title
Arg: CommentTopic._created
Arg: CommentTopic._id
Arg: DynamicMenu
Arg: GetSWFHint
Arg: GetTitleHint
Arg: TopNews
Arg: TopicCommentsList

Modules:
MenuGenerator(MainMenuDynamic)=>DynamicMenu
news(Top)=>TopNews
category(GetSWFHint)=>GetSWFHint
category(GetTitleHint)=>GetTitleHint
category(GetSubParts)=>SubParts
comments(GetCommentsContainer)=>TopicCommentsList
<!--[@TopicForm]-->
Class: CommentTopic
Active: Y
template to display topic edit form
TLocale: Author
TLocale: EMail
TLocale: LBL_XD_CANCEL
TLocale: LBL_XD_CONFIRM
TLocale: Sticky
TLocale: Title
Arg: CaptchaHash
Arg: CaptchaName
Arg: CommentTopic.Author
Arg: CommentTopic.EMail
Arg: CommentTopic.Message
Arg: CommentTopic.Sticky
Arg: CommentTopic.Title
Arg: CommentTopic._id
Arg: CommentTopic._pid
<!--[@TopicListEnvelope]-->
Class: CommentTopic
Active: Y
template to display topic list
Arg: TopicList
<!--[@TopicListItem]-->
Class: CommentTopic
Active: Y
template to display topic list item
TLocale: CLICK_TO_DISPLAY_TOPIC
TLocale: NumberOfAnswers
Arg: CommentTopic.Author
Arg: CommentTopic.Flags
Arg: CommentTopic.MemberProfilePath
Arg: CommentTopic.Options
Arg: CommentTopic.Title
Arg: CommentTopic._created
Arg: CommentTopic._id
Arg: CommentTopic._pathLink
Arg: CommentTopic.nAnswers
<!--[@TopicListItemActions]-->
Class: CommentTopic
Active: Y
template to display topic list item actions
TLocale: Access
TLocale: Delete
TLocale: Edit
Arg: CommentTopic._id
Arg: CommentTopic._pid
<!--[@TopicListItemActionsAnswer]-->
Class: CommentTopic
Active: Y
template to display topic list item answer action
TLocale: Answer
Arg: CommentTopic._id
Arg: CommentTopic._pid
<!--[@TopicsContainer]-->
Class: CommentTopic
Active: Y
TLocale: AuthorRequired
TLocale: CreateNewTopicDialogTitle
TLocale: EditTopicDialogTitle
TLocale: EmailRequired
TLocale: EraseTopicAndAllComments
TLocale: NEW_TOPIC
TLocale: TitleRequired
Arg: ContainerID
Arg: ContainerTopics
<!--[@FileArchiveEditForm]-->
Class: FileArchive
Active: Y
File archive edit form
TLocale: CancelEditFile
TLocale: File
TLocale: FileDescription
TLocale: UploadFile
Arg: FileDescription
Arg: FileImage
Arg: FileInfoType
Arg: context
Arg: id
<!--[@FileArchiveEnvelope]-->
Class: FileArchive
Active: Y
File Archive Envelope form
TLocale: DC2_Storage_Object.created
TLocale: DC2_Storage_Object.modified
TLocale: DC2_Storage__FileArchive.FileName
TLocale: DC2_Storage__FileArchive.note
TLocale: GridAppendFile
TLocale: GridClearFilters
TLocale: GridFilter
TLocale: GridFind
TLocale: GridPage
TLocale: GridPageOf
TLocale: GridSOAsc
TLocale: GridSODesc
TLocale: GridSize
TLocale: GridToFirstPage
TLocale: GridToNextPage
TLocale: GridToPrevPage
Arg: Context
Arg: GridPageSelector
Arg: GridSizeSelector
Arg: Grid_Data
Arg: filter
Arg: npages
Arg: pg
Arg: sf
Arg: so
<!--[@FileArchiveHistoryItem]-->
Class: FileArchive
Active: Y
File Archive History Item
TLocale: DeleteFile
TLocale: SetPermissions
Arg: Author
Arg: FileComment
Arg: FileID
Arg: FileIcon
Arg: FileName
Arg: FileType
Arg: ModDate
Arg: RootFileID
Arg: _ROW_STYLE_
<!--[@FileArchiveItem]-->
Class: FileArchive
Active: Y
File Archive Item
TLocale: Anonymous
TLocale: DownloadFile
TLocale: GridDeleteFile
TLocale: GridEditFile
TLocale: GridFileRevisionHistory
TLocale: SetPermissions
Arg: ArchiveFilesList.DC2_Storage_Object.created
Arg: ArchiveFilesList.DC2_Storage_Object.creator
Arg: ArchiveFilesList.DC2_Storage_Object.id
Arg: ArchiveFilesList.DC2_Storage_Object.last_editor
Arg: ArchiveFilesList.DC2_Storage_Object.modified
Arg: ArchiveFilesList.DC2_Storage__FileArchive.FileName
Arg: ArchiveFilesList.DC2_Storage__FileArchive.note
Arg: ArchiveFilesList.FileCreatorEMail
Arg: ArchiveFilesList.FileEditorEMail
Arg: Context
Arg: _ROW_NUMBER_
Arg: _ROW_STYLE_
<!--[@LatestFilesEnvelope]-->
Class: FileArchive
Active: Y
template to display list of latest files
TLocale: CategoryName
TLocale: DisplayAll
TLocale: FileModDate
TLocale: FileName
TLocale: FileNote
TLocale: GridClearFilters
TLocale: GridFilter
TLocale: GridFind
TLocale: GridPage
TLocale: GridPageOf
TLocale: GridSOAsc
TLocale: GridSODesc
TLocale: GridSize
TLocale: GridToFirstPage
TLocale: GridToNextPage
TLocale: GridToPrevPage
Arg: GridPageSelector
Arg: GridSizeSelector
Arg: Grid_Data
Arg: LatestFilesDisplayAll
Arg: LatestFilesDisplayAllHTML
Arg: filter
Arg: npages
Arg: pg
Arg: sf
Arg: so
<!--[@LatestFilesItem]-->
Class: FileArchive
Active: Y
template to display element of list of latest files
Arg: LatestFilesList.CategoryID
Arg: LatestFilesList.CategoryName
Arg: LatestFilesList.FileEditorEMail
Arg: LatestFilesList.FileID
Arg: LatestFilesList.FileModDate
Arg: LatestFilesList.FileName
Arg: LatestFilesList.FileNote
Arg: LatestFilesList.FileType
Arg: LatestFilesList.FileTypeIcon
Arg: _ROW_STYLE_
<!--[@GalleryEditForm]-->
Class: Gallery
Active: Y
template to display gallery edit form
TLocale: LBL_XD_CANCEL
TLocale: LBL_XD_CONFIRM
Arg: DescriptionEditControl
Arg: GalleryID
Arg: Title
CLocale: _Description
CLocale: _Title
<!--[@GalleryImagesEnvelope]-->
Class: Gallery
Active: Y
Arg: SubParts
<!--[@GalleryListEnvelope]-->
Class: Gallery
Active: Y
template to display gallery images
TLocale: EditGalleryDialogTitle
TLocale: EditImageDialogTitle
TLocale: EraseGalleryAreYouShure
TLocale: EraseGalleryImageAreYouShure
TLocale: LoadImageDialogTitle
Arg: SubParts
<!--[@GalleryListItem]-->
Class: Gallery
Active: Y
Arg: Gallery._Description
Arg: Gallery._Title
Arg: Gallery._id
<!--[@GalleryImageEditForm]-->
Class: GalleryImage
Active: Y
TLocale: LBL_XD_CANCEL
TLocale: LBL_XD_CONFIRM
Arg: Description
Arg: GalleryID
Arg: ImageID
Arg: Title
CLocale: _Description
CLocale: _Title
<!--[@GalleryImageItem]-->
Class: GalleryImage
Active: Y
Arg: EditOptions
Arg: GalleryImage._Description
Arg: GalleryImage._Title
Arg: GalleryImage._id
Arg: GalleryImage.h
Arg: GalleryImage.t
Arg: GalleryImage.w
Arg: GalleryThumbnail.h
Arg: GalleryThumbnail.t
Arg: GalleryThumbnail.w
<!--[@GalleryImageUploadForm]-->
Class: GalleryImage
Active: Y
TLocale: DoNotChange
TLocale: ImageResize
TLocale: LBL_XD_CANCEL
TLocale: LBL_XD_CONFIRM
Arg: GalleryID
CLocale: Image
CLocale: _Description
CLocale: _Title
<!--[@MessageComposeForm]-->
Class: Message
Active: Y
TLocale: Attachment
TLocale: CancelMessage
TLocale: NewMessage
TLocale: Recipient
TLocale: SendMessage
TLocale: Subject
Arg: Message
Arg: Recipients
Arg: Subject
<!--[@MessageDisplayForm]-->
Class: Message
Active: Y
TLocale: Attachment
TLocale: ComposeReply
TLocale: Date
TLocale: Message
TLocale: MessageNo
TLocale: Recipient
TLocale: Subject
TLocale: from
Arg: Message.AttachmentExist
Arg: Message.AttachmentLink
Arg: Message.Message
Arg: Message.Recipient
Arg: Message.RecipientAdress
Arg: Message.Subject
Arg: Message._created
Arg: Message._creator
Arg: Message._creatorAdress
Arg: Message._id
<!--[@MessageListEnvelope]-->
Class: Message
Active: Y
User messages list and edit form
TLocale: ComposeMessage
TLocale: DeleteMessage
TLocale: DownloadAttachment
TLocale: GridFilter
TLocale: GridFind
TLocale: GridPage
TLocale: GridPageOf
TLocale: GridSOAsc
TLocale: GridSODesc
TLocale: GridSize
TLocale: GridToFirstPage
TLocale: GridToNextPage
TLocale: GridToPrevPage
TLocale: MsgDate
TLocale: RecipientEMail
TLocale: SenderEMail
TLocale: Subject
Arg: GridPageSelector
Arg: GridSizeSelector
Arg: Grid_Data
Arg: filter
Arg: npages
Arg: pg
Arg: sf
Arg: so
<!--[@MessageListItem]-->
Class: Message
Active: Y
TLocale: AnswerTo
TLocale: DeleteMessage
TLocale: DisplayMessage
Arg: MessagesList.DC2_Storage_Object.created
Arg: MessagesList.DC2_Storage_Object.creator
Arg: MessagesList.DC2_Storage_Object.id
Arg: MessagesList.DC2_Storage__Message.Attachment
Arg: MessagesList.DC2_Storage__Message.Subject
Arg: MessagesList.MLength
Arg: MessagesList.RecipientInfo.id
Arg: MessagesList.RecipientInfo.prime_email
Arg: MessagesList.SenderInfo.prime_email
Arg: _ROW_STYLE_
<!--[@NewsAnnotation]-->
Class: News
Active: Y
News list. News annotation
Arg: AncorID
Arg: News.Annotation
Arg: News.PubDate
Arg: News._Title
Arg: year
<!--[@NewsColumnArchiveEnvelope]-->
Class: News
Active: Y
TLocale: NEWS_ARCHIVE
Arg: NewsArchiveByYearAndMonth
<!--[@NewsColumnEnvelope]-->
Class: News
Active: Y
TLocale: LATEST_NEWS
Arg: LatestNews
<!--[@NewsItem]-->
Class: News
Active: Y
News list. News item.
Arg: AncorID
Arg: News.PubDate
Arg: News.Text
Arg: News._Author
Arg: News._Title
<!--[@NewsItemAdminTools]-->
Class: News
Active: N
News list. News item. Admin tools.
TLocale: EDIT
TLocale: SET_ACCESS
Arg: id
Arg: pid
<!--[@ProfileEditForm]-->
Class: UserProfile
Active: Y
template to display profile edit form
TLocale: EraseProfileFileAreYouShure
TLocale: LBL_XD_CANCEL
TLocale: LBL_XD_CONFIRM
TLocale: LockProfileAreYouShure
TLocale: UnlockProfileAreYouShure
Arg: CaptchaHash
Arg: CaptchaName
Arg: UserProfile.About
Arg: UserProfile.AgeRange
Arg: UserProfile.AvatarExist
Arg: UserProfile.BirthDate
Arg: UserProfile.Business
Arg: UserProfile.Education
Arg: UserProfile.PhotoExist
Arg: UserProfile.Profession
Arg: UserProfile.Signature
Arg: UserProfile.Status
Arg: UserProfile._id
Arg: UserProfile.first_name
Arg: UserProfile.last_name
Arg: UserProfile.login
Arg: UserProfile.middle_name
Arg: UserProfile.prime_email
CLocale: About
CLocale: AgeRange
CLocale: Avatar
CLocale: BirthDate
CLocale: Business
CLocale: Education
CLocale: MemberID
CLocale: Memberfirst_name
CLocale: Memberlast_name
CLocale: Membermiddle_name
CLocale: Photo
CLocale: Profession
CLocale: Signature
CLocale: Status
<!--[@ProfilePage]-->
Class: UserProfile
Active: Y
default index page
Uses: @AuthUtilsBlock
Uses: @TopBlock
Uses: @_DefaultPageFooter
Uses: @_DefaultPageHeader
Arg: Article._pathLinks
Arg: Category._pathLinks
Arg: CommentTopic._pathLinks
Arg: TopNews
Arg: UserProfile.About
Arg: UserProfile.ArticleList
Arg: UserProfile.FullName
Arg: UserProfile.GalleryList
Arg: UserProfile._Title
Arg: UserProfile._id

Modules:
AssetCalendar(Display)=>CalendarTool
TAGs(GetTAGsCloud)=>TAGs
news(Actual)=>TopNews
MenuGenerator(MainMenuBarDynamic)=>DynamicMenu
<!--[@CopyRightNotice]-->
Class: __Constant
Active: Y
Copyright string (!!!ATTENTION!!! no HTML tags here! This template used in META tags!!!)
Uses: @_ServerName
<!--[@_ServerName]-->
Class: __Constant
Active: Y
 
<!--[@ACL_Editor]-->
Class: __Module
Active: Y
Server name can be fixed or scripted
TLocale: AcceptChanges
TLocale: DeleteRule
TLocale: ObjectOrModule
TLocale: Options
TLocale: UserOrGroup
Arg: ObjectModuleSelector
Arg: OptionsSelector
Arg: UserGroupSelector
Arg: id
<!--[@ACL_EditorEnvelope]-->
Class: __Module
Active: Y
ACL Editor, table envelope
TLocale: DC2_ACL.grants
TLocale: DC2_ACL.id
TLocale: DC2_ACL.options
TLocale: DC2_ACL.status
TLocale: DC2_Member.login
TLocale: DC2_Storage_Object.name
TLocale: GridAppendRule
TLocale: GridClearFilters
TLocale: GridFilter
TLocale: GridFind
TLocale: GridPage
TLocale: GridPageOf
TLocale: GridSOAsc
TLocale: GridSODesc
TLocale: GridSize
TLocale: GridToFirstPage
TLocale: GridToNextPage
TLocale: GridToPrevPage
Arg: Context
Arg: GridPageSelector
Arg: GridSizeSelector
Arg: Grid_Action_URL
Arg: Grid_Data
Arg: filter
Arg: npages
Arg: pg
Arg: sf
Arg: so
<!--[@ACL_EditorItem]-->
Class: __Module
Active: Y
TLocale: GridEditRule
Arg: AccessControlList.DC2_ACL.grants
Arg: AccessControlList.DC2_ACL.id
Arg: AccessControlList.DC2_ACL.oid
Arg: AccessControlList.DC2_ACL.options
Arg: AccessControlList.DC2_ACL.status
Arg: AccessControlList.DC2_Member.login
Arg: AccessControlList.DC2_Member.prime_email
Arg: AccessControlList.DC2_Storage_Object.name
Arg: Context
Arg: _ROW_NUMBER_
Arg: _ROW_STYLE_
<!--[@ArticleListEnvelopeAdmin]-->
Class: __Module
Active: Y
TLocale: DC2_Storage_Class.name
TLocale: DC2_Storage_Object.created
TLocale: DC2_Storage_Object.modified
TLocale: DC2_Storage_Object.name
TLocale: GridFilter
TLocale: GridFind
TLocale: GridPage
TLocale: GridPageOf
TLocale: GridSOAsc
TLocale: GridSODesc
TLocale: GridSize
TLocale: GridToFirstPage
TLocale: GridToNextPage
TLocale: GridToPrevPage
Arg: GridPageSelector
Arg: GridSizeSelector
Arg: Grid_Action_URL
Arg: Grid_Data
Arg: filter
Arg: npages
Arg: pg
Arg: sf
Arg: so
<!--[@ArticleListItemAdmin]-->
Class: __Module
Active: Y
TLocale: Edit class
TLocale: Edit object
Arg: ARTICLE_LIST.DC2_Storage_Class.id
Arg: ARTICLE_LIST.DC2_Storage_Class.name
Arg: ARTICLE_LIST.DC2_Storage_Object.base_lang
Arg: ARTICLE_LIST.DC2_Storage_Object.created
Arg: ARTICLE_LIST.DC2_Storage_Object.id
Arg: ARTICLE_LIST.DC2_Storage_Object.modified
Arg: ARTICLE_LIST.DC2_Storage_Object.name
Arg: _ROW_NUMBER_
Arg: _ROW_STYLE_
<!--[@AuthUtilsBlock]-->
Class: __Module
Active: Y
TLocale: CreateAccount
TLocale: CreateAccountHint
TLocale: EditProfile
TLocale: FileArchive_APPEND
TLocale: FileArchive_FOR_CONTAINER
TLocale: FileArchive_LIST
TLocale: FileArchive_UPLOAD
TLocale: LoginForm
TLocale: LoginHint
TLocale: Logout
TLocale: ManageFileArchive
TLocale: PasswordReminder
TLocale: PasswordReminderHint
TLocale: Welcome
TLocale: YourPersonalPage
Arg: ActionExtra
Arg: Article._Title
Arg: Category._Title
Arg: CommentTopic.Title
Arg: Object._Title
Arg: Object._id
<!--[@DC2_CSS_COLLECTION]-->
Class: __Module
Active: Y
Common CSS collection
 
<!--[@DC2_JS_COLLECTION]-->
Class: __Module
Active: Y
Common JS collection
 
<!--[@DC2_SITE_CONFIG_FORM]-->
Class: __Module
Active: Y
Site configuration parameters form
TLocale: DC2_SiteConfig_CreateProcessing
TLocale: DC2_SiteConfig_EditForm_CREATE_BUTTON_TEXT
TLocale: DC2_SiteConfig_EditForm_ConfirmDeleteText
TLocale: DC2_SiteConfig_EditForm_CopyValuesText
TLocale: DC2_SiteConfig_EditForm_DELETE_BUTTON_TEXT
TLocale: DC2_SiteConfig_EditForm_NEW_BUTTON_TEXT
TLocale: DC2_SiteConfig_EditForm_SELECT_BUTTON_TEXT
TLocale: DC2_SiteConfig_EditForm_UPDATE_BUTTON_TEXT
TLocale: DC2_SiteConfig_Label_id
TLocale: DC2_SiteConfig_Label_name
TLocale: DC2_SiteConfig_Label_value
Arg: DC2_SiteConfig.id
Arg: DC2_SiteConfig.name
Arg: DC2_SiteConfig.value
<!--[@EMAIL_STANDARD_TEMPLATE]-->
Class: __Module
Active: Y
Email template
Arg: TEXT_HTML_BODY
Arg: TEXT_SUBJECT
Arg: TEXT_TIMESTAMP
<!--[@REGISTRATION_Login]-->
Class: __Module
Active: Y
Login form
TLocale: LoginForm_ClickToLogin
TLocale: LoginForm_Login
TLocale: LoginForm_Password
TLocale: LoginForm_PasswordReminderHint
TLocale: LoginForm_PasswordReminderText
TLocale: LoginForm_RegistrationText
TLocale: LoginForm_RegistrationTextHint
Uses: @_ServerName
Arg: Login_message
Arg: RetPath
Arg: prime_email
<!--[@REGISTRATION_Registration]-->
Class: __Module
Active: Y
Main registration template
TLocale: RegForm_Age
TLocale: RegForm_Business
TLocale: RegForm_EMail
TLocale: RegForm_Education
TLocale: RegForm_EnterVerificationCode
TLocale: RegForm_Err_EnterFamilyName
TLocale: RegForm_Err_EnterFirstName
TLocale: RegForm_Err_EnterVerificationCode
TLocale: RegForm_Err_InvalidEmail
TLocale: RegForm_Err_PasswordCantBeEmpty
TLocale: RegForm_Err_PasswordsMismatch
TLocale: RegForm_Err_PleaseAgreeTOS
TLocale: RegForm_Err_PleaseEnterLogin
TLocale: RegForm_FamilyName
TLocale: RegForm_Login
TLocale: RegForm_LoginLength
TLocale: RegForm_Name
TLocale: RegForm_NewsLetter
TLocale: RegForm_Password
TLocale: RegForm_PasswordLength
TLocale: RegForm_PasswordRepeat
TLocale: RegForm_Profession
TLocale: RegForm_RequiredFields
TLocale: RegForm_SecName
TLocale: RegForm_TOS
TLocale: RegForm_TOS_AGREE
TLocale: RegForm_VerificationCode
Uses: @_ServerName
Arg: Member.Age
Arg: Member.Business
Arg: Member.Education
Arg: Member.Profession
Arg: RegHint
Arg: SubmitButtonName
Arg: first_name
Arg: last_name
Arg: lid
Arg: login
Arg: middle_name
Arg: prime_email
<!--[@REGISTRATION_Reminder]-->
Class: __Module
Active: Y
Password reminder form
TLocale: REG_PASSWORD_REMINDER_ENTEREMAIL
TLocale: REG_PASSWORD_REMINDER_ENTERKEY
TLocale: REG_PASSWORD_REMINDER_FORM
TLocale: REG_PASSWORD_REMINDER_KEY
TLocale: REG_PASSWORD_REMINDER_REASSIGN
Uses: @_ServerName
Arg: RegHint
<!--[@SimpleTemplate]-->
Class: __Module
Active: Y
Uses: @_DefaultPageHeader
Arg: PageContent
<!--[@SITE_EPILOG_ADM]-->
Class: __Module
Active: Y
 
<!--[@SITE_PROLOG_ADM]-->
Class: __Module
Active: Y
TLocale: AuthentificatedPrompt
Uses: @DC2_CSS_COLLECTION
Uses: @DC2_JS_COLLECTION
Arg: DocumentTitle
Arg: HEADEXTRA
<!--[@SITE_PROLOG_ADM_SHORT]-->
Class: __Module
Active: Y
Uses: @DC2_CSS_COLLECTION
Uses: @DC2_JS_COLLECTION
Arg: DocumentTitle
Arg: HEADEXTRA
<!--[@TopBlock]-->
Class: __Module
Active: Y
Top (visual) part of the site
Arg: DynamicMenu
<!--[@UserEditForm]-->
Class: __Module
Active: Y
TLocale: DC2_Member_CreateProcessing
TLocale: DC2_Member_EditForm_CREATE_BUTTON_TEXT
TLocale: DC2_Member_EditForm_ConfirmDeleteText
TLocale: DC2_Member_EditForm_CopyValuesText
TLocale: DC2_Member_EditForm_DELETE_BUTTON_TEXT
TLocale: DC2_Member_EditForm_NEW_BUTTON_TEXT
TLocale: DC2_Member_EditForm_SELECT_BUTTON_TEXT
TLocale: DC2_Member_EditForm_UPDATE_BUTTON_TEXT
TLocale: DC2_Member_Label_CreatedBy
TLocale: DC2_Member_Label_CreatedBySystem
TLocale: DC2_Member_Label_Lang
TLocale: DC2_Member_Label_ManagerComments
TLocale: DC2_Member_Label_ManagerFlag
TLocale: DC2_Member_Label_UserClass
TLocale: DC2_Member_Label_auth_date
TLocale: DC2_Member_Label_auth_ip
TLocale: DC2_Member_Label_first_name
TLocale: DC2_Member_Label_forum_nummessages
TLocale: DC2_Member_Label_id
TLocale: DC2_Member_Label_last_name
TLocale: DC2_Member_Label_login
TLocale: DC2_Member_Label_middle_name
TLocale: DC2_Member_Label_password
TLocale: DC2_Member_Label_prime_email
TLocale: DC2_Member_Label_refresh_date
TLocale: DC2_Member_Label_refresh_ip
TLocale: DC2_Member_Label_registry_date
TLocale: DC2_Member_Label_registry_ip
TLocale: DC2_Member_Label_site_news
TLocale: DC2_Member_Label_status
TLocale: enum_ManagerFlag_
TLocale: enum_ManagerFlag_Important
TLocale: enum_ManagerFlag_Later
TLocale: enum_ManagerFlag_Work
TLocale: enum_UserClass_Administrator
TLocale: enum_UserClass_Editor
TLocale: enum_UserClass_Group
TLocale: enum_UserClass_Member
TLocale: enum_UserClass_Nobody
TLocale: enum_UserClass_Writer
TLocale: enum_site_news_N
TLocale: enum_site_news_Y
TLocale: enum_status_Confirmed
TLocale: enum_status_Locked
TLocale: enum_status_New
TLocale: enum_status_Verified
TLocale: enum_status_Virtual
Arg: DC2_Member.CreatedBy
Arg: DC2_Member.Lang
Arg: DC2_Member.ManagerComments
Arg: DC2_Member.ManagerFlag
Arg: DC2_Member.UserClass
Arg: DC2_Member.__Message__
Arg: DC2_Member.auth_date
Arg: DC2_Member.auth_ip
Arg: DC2_Member.first_name
Arg: DC2_Member.forum_nummessages
Arg: DC2_Member.id
Arg: DC2_Member.last_name
Arg: DC2_Member.login
Arg: DC2_Member.middle_name
Arg: DC2_Member.prime_email
Arg: DC2_Member.refresh_date
Arg: DC2_Member.refresh_ip
Arg: DC2_Member.registry_date
Arg: DC2_Member.registry_ip
Arg: DC2_Member.site_news
Arg: DC2_Member.status
Arg: GroupLinks

Modules:
group(DisplayGroupEditForm)=>GroupLinks
<!--[@UserGroupListEnvelope]-->
Class: __Module
Active: Y
TLocale: DC2_Member.UserClass
TLocale: DC2_Member.auth_date
TLocale: DC2_Member.auth_ip
TLocale: DC2_Member.first_name
TLocale: DC2_Member.login
TLocale: DC2_Member.prime_email
TLocale: DC2_Member.registry_date
TLocale: DC2_Member.registry_ip
TLocale: DC2_Member.status
TLocale: GridFilter
TLocale: GridFind
TLocale: GridPage
TLocale: GridPageOf
TLocale: GridSOAsc
TLocale: GridSODesc
TLocale: GridSize
TLocale: GridToFirstPage
TLocale: GridToNextPage
TLocale: GridToPrevPage
Arg: GridPageSelector
Arg: GridSizeSelector
Arg: Grid_Action_URL
Arg: Grid_Data
Arg: filter
Arg: npages
Arg: pg
Arg: sf
Arg: so
<!--[@UserGroupListItem]-->
Class: __Module
Active: Y
Arg: UsersGroups.DC2_Member.UserClass
Arg: UsersGroups.DC2_Member.auth_date
Arg: UsersGroups.DC2_Member.auth_ip
Arg: UsersGroups.DC2_Member.first_name
Arg: UsersGroups.DC2_Member.id
Arg: UsersGroups.DC2_Member.last_name
Arg: UsersGroups.DC2_Member.login
Arg: UsersGroups.DC2_Member.middle_name
Arg: UsersGroups.DC2_Member.prime_email
Arg: UsersGroups.DC2_Member.registry_date
Arg: UsersGroups.DC2_Member.registry_ip
Arg: UsersGroups.DC2_Member.status
Arg: _ROW_NUMBER_
Arg: _ROW_STYLE_
<!--[@UtilityPage]-->
Class: __Module
Active: Y
Uses: @_DefaultPageHeader
Arg: DocumentTitle
Arg: PageContent
<!--[@_DefaultPageFooter]-->
Class: __Module
Active: Y
Arg: _DEBUG_INFO_
Arg: _DEBUG_WIDTH_
<!--[@_DefaultPageHeader]-->
Class: __Module
Active: Y
Uses: @CopyRightNotice
Uses: @DC2_CSS_COLLECTION
Uses: @DC2_JS_COLLECTION
Uses: @_ServerName
Arg: Author
Arg: Description
Arg: DocumentTitle
Arg: HEADEXTRA
Arg: Keywords
<!--[@__GADS__]-->
Class: __Module
Active: Y
Google ADS
 

 

Далее в этом разделе...

  • «Прототипы шаблонов»

    Прототипы шаблонов

  • «Fine palette»

: шаблоны