Сьогодн╕: 12-бер-2010 На сайт╕ працю╓ система Орфо. В╕дм╕тьте текст та натисн╕ть Ctrl-Enter Пошук на Google:
Linux.org.ua
укра╖н╕зац╕я в╕льного ПЗ
новини перекладачам правопис
словник розсилки форум
Домашня | Запрошу╓мо | Ре╓страц╕я | Зм╕ни | ╤ндекс | Пошук | Перейти до 


Розд╕ли:

╤нш╕ матер╕али цього сайту:
*Служба новин @ linux.org.ua
*Укра╖н╕зац╕я програмного забезпечення
*Засоби для перекладач╕в
*Перев╕рка правопису
*Переклад з рос╕йсько╖ на укра╖нську
*Проект англо-укра╖нського словника техн╕чних терм╕н╕в
*Документац╕я
*Поштов╕ розсилки
*Форум
*Рекомендован╕ посилання
*Команда

linux.org.ua

linux.org.ua Site-Level Preferences

The following settings are site-level preferences , e.g. affecting all users in all linux.org.ua webs. These preferences can be overwritten by web preferences (topic Web Preferences in each linux.org.ua web) and user preferences (your personal topic, i.e. TWiki Guest in the linux.org.ua.Main web)

Preferences:

    • Set SKIN = flexible

  • Copyright notice:
    • Set WEBCOPYRIGHT = Copyright (c) 2002 by the contributing authors.
      \nВс╕ матер╕али на цьому сайт╕ ╓ власн╕стю ╖х автор╕в.
      \n╤де╖, запити, проблеми щодо linux.org.ua? Над╕шл╕ть ваш╕ зауваження.

  • Exclude web from a web="all" search: (Set to on for hidden webs; is overwritten by web preferences)
    • Set NOSEARCHALL =

  • Web specific background color: (is overwritten by web preferences)
    • Set WEBBGCOLOR = #C0C0C0

  • Preview Background image:
    • Set PREVIEWBGIMAGE = /twiki/pub/TWiki/PreviewBackground/previewbg.gif

  • Background color of non existing topic: ( default cornsilk or #FFFFCE )
    • Set NEWTOPICBGCOLOR = #FFFFCE

  • Font color of non existing topic: ( default #0000FF )
    • Set NEWTOPICFONTCOLOR = #0000FF

  • Horizontal size of text edit box: (can be overwritten by user preferences)
    • Set EDITBOXWIDTH = 70

  • Vertical size of text edit box: (can be overwritten by user preferences)
    • Set EDITBOXHEIGHT = 20

  • Default state of the Release edit lock (Unlock Topic) check box in preview. Checkbox is initially checked if Set RELEASEEDITLOCKCHECKBOX = checked="checked", or unchecked if empty. If checked, make sure to click on Edit to do more changes; do not go back in your browser to the edit page, or you risk that someone else will edit the topic at the same time: (can be overwritten by user preferences)
    • Set RELEASEEDITLOCKCHECKBOX = checked

  • Default state of the Minor Changes, Don't Notify (Dont Notify) check box in preview. Check box is initially checked if Set DONTNOTIFYCHECKBOX = checked="checked", or unchecked if empty: (can be overwritten by user preferences)
    • Set DONTNOTIFYCHECKBOX =

  • Default state of the link check box in the attach file page. Checkbox is initially checked if Set ATTACHLINKBOX = checked="checked", or unchecked if empty (Set ATTACHLINKBOX =). If checked, a link is created to the attached file at the end of the topic: (can be overwritten by user preferences)
    • Set ATTACHLINKBOX =

  • Format of file link when the link check box is checked: (can be overwritten by user preferences)
    • Set ATTACHEDFILELINKFORMAT = \t* $name: $comment
    • Note: Keyword $name gets expanded to filename; $comment to comment; \t to tab (3 spaces for bullets).

  • Format of images when the link check box is checked: (can be overwritten by user preferences)
    • Set ATTACHEDIMAGEFORMAT = \t* $comment:
      $name
    • Note: Above image is shown as broken, it gets expanded correctly when you attach an image.
    • Note: Keyword $name gets expanded to filename; $comment to comment; $size to width="..." height="..." attribute of img tag; \t to tab (3 spaces for bullets).

  • Mail host for outgoing mail. This is used for Web Changes Alert if Perl module Net::SMTP is installed. If not, or if SMTPMAILHOST is empty, the external sendmail program is used instead (defined by $mailProgram in TWiki.cfg). Examples: mail.your.company or localhost
    • Set SMTPMAILHOST =

  • Mail domain sending mail. SMTP requires that you identify the TWiki server sending mail. If not set, Net::SMTP will guess it for you. Examples: twiki.your.company
    • Set SMTPSENDERHOST = linux.org.ua

  • http-equiv meta tags for view, rdiff, attach, search* scripts:
      * Set HTTP_EQUIV_ON_VIEW = 

  • http-equiv meta tags for edit script. Example to expire immediately:
    Set HTTP_EQUIV_ON_EDIT = <meta http-equiv="Expires" content="%GMTIME{"$day $month, $year - $hour:$min:$sec"}% GMT">
      * Set HTTP_EQUIV_ON_EDIT = 

  • http-equiv meta tags for preview script:
      * Set HTTP_EQUIV_ON_PREVIEW = 

  • Site-level preferences that are not allowed to be overridden by Web Preferences and user preferences:
    • Set FINALPREFERENCES = PREVIEWBGIMAGE, WIKIWEBMASTER, SMTPMAILHOST , SMTPSENDERHOST

Notes:

  • A preference is defined as:
    6 spaces * Set NAME = value
    Example:
    • Set WEBBGCOLOR = #FFFFC0
  • Preferences are used as TWiki Variables by enclosing the name in percent signs. Example:
    • When you write variable %WEBBGCOLOR% , it gets expanded to #FFE0B0 .
  • The sequential order of the preference settings is significant. Define preferences that use other preferences first, i.e. set WEBCOPYRIGHT before WIKIWEBMASTER since %WEBCOPYRIGHT% uses the %WIKIWEBMASTER% variable.
  • You can introduce new variables and use them in your topics and templates. There is no need to change the linux.org.ua engine (Perl scripts).

Related Topics:

  • Web Preferences has preferences of the linux.org.ua.TWiki web.
  • TWiki Users? has a list of user topics. User topics can have optional user preferences.
  • TWiki Variables has a list of common %VARIABLES% .
  • TWiki Access Control explains how to restrict access by users or groups.

| Редагувати | Долучити | Для друку | Зм╕ни | Б╕льше |

Тема TWiki.TWikiPreferences; Верс╕я : r1.31 - 12-гру-2002 17:37 GMT - Volodymyr Lisivka