FAQ-OMatic

 view release on metacpan or  search on metacpan

lib/FAQ/OMatic/install.pm  view on Meta::CPAN

		'-default'=>"'".which('crontab')."'"),
	ci('RCSci',		'-sort'=>'a-r1', '-free', '-cmd',
		'-default'=>"'".which('ci')."'", '-desc'=>
		gettext("Path to the <b>ci</b> command from the RCS package.")),
	ci('RCSco',		'-sort'=>'a-r2', '-free', '-cmd',
		'-default'=>"'".which('co')."'", '-desc'=>
		gettext("Path to the <b>co</b> command from the RCS package.")),

	ci('sep_c', '-sort'=>'c--sep', '-separator', '-desc'=>
		gettext("<b>Mandatory:</b> Server directory configuration")),
	ci('serverBase', '-sort'=>'c-a1', '-free', '-desc'=>
		gettext("Protocol, host, and port parts of the URL to your site. This will be used to construct link URLs. Omit the trailing '/'; for example: <tt>http://www.dartmouth.edu</tt>"),
		'-default'=>"'".FAQ::OMatic::serverBase()."'" ),
	ci('cgiURL', '-sort'=>'c-a2', '-free', '-desc'=>
		gettext("The path part of the URL used to access this CGI script, beginning with '/' and omitting any parameters after the '?'. For example: <tt>/cgi-bin/cgiwrap/jonh/faq.pl</tt>"),
		'-default'=>"'".FAQ::OMatic::cgiURL()."'" ),
	ci('serveDir', '-sort'=>'c-c1', '-free', '-desc'=>
		gettext("Filesystem directory where FAQ-O-Matic will keep item files, image and other bit-bag files, and a cache of generated HTML files. This directory must be accessible directly via the http server. It might be something like /home/faqomatic/pub...
	ci('serveURL', '-sort'=>'c-c2', '-free', '-desc'=>
		gettext("The path prefix of the URL needed to access files in <b>\$serveDir</b>. It should be relative to the root of the server (omit http://hostname:port, but include a leading '/'). It should also end with a '/'.") , '-default'=>"''" ),

	ci('sep_e', '-sort'=>'e--sep', '-separator', '-desc'=>
		gettext("<i>Optional:</i> Miscellaneous configurations")),
	ci('language',		'-sort'=>'k-m00',
		'-choices'=>[ "'en'", "'de_iso8859_1'", "'fr'", "'ru'",
					  "'uk'", "'fi'", "'ja_JP.EUC'" , "'hu'"],
		'-desc'=>
		gettext("Select the display language."),
		'-default'=>gettext("'en'")),
	ci('dateFormat',	'-sort'=>'k-m01',
		'-choices'=>[ "''", "'24'"],
		'-desc'=>
		gettext("Show dates in 24-hour time or am/pm format."),
		'-default'=>"''"),
	ci('mirrorURL',		'-sort'=>'k-m1', '-free', '-choices'=>[ "''"],
		'-default'=>"''", '-desc'=>
		gettext("If this parameter is set, this FAQ will become a mirror of the one at the given URL. The URL should be the base name of the CGI script of the master FAQ-O-Matic.")),
	ci('pageHeader',	'-sort'=>'m-p1', '-free', '-mirror', '-desc'=>
		gettext("An HTML fragment inserted at the top of each page. You might use this to place a corporate logo.")
		." "
		.gettext("If this field begins with <tt>file=</tt>, the text will come from the named file in the meta directory; otherwise, this field is included verbatim.")),
	# THANKS to Vicki Brown <vlb@cfcl.com> for demanding a configurable
	# tableWidth tag. It's a workaround for Netscape's buggy page layout;
	# it doesn't even help with align=right images.
	ci('tableWidth',	'-sort'=>'m-p15',
		'-choices'=>[ "'width=\"100%\"'" ],
		'-default'=>"'width=\"100%\"'",
		'-free', '-mirror', '-desc'=>
		gettext("The <tt>width=</tt> tag in a table. If your <b>\$pageHeader</b> has <tt>align=left</tt>, you will want to make this empty.")),
	ci('pageFooter',	'-sort'=>'m-p2', '-free', '-mirror',
		'-default' => "'This FAQ administered by ...'", '-desc'=>
		gettext("An HTML fragment appended to the bottom of each page. You might use this to identify the webmaster for this site.")
		." "
		.gettext("If this field begins with <tt>file=</tt>, the text will come from the named file in the meta directory; otherwise, this field is included verbatim.")),
	ci('adminEmail','-sort'=>'n-e2', '-free', '-choices'=>[ '$adminAuth' ],
		'-default' => "\$adminAuth",
		'-desc'=> gettext("Where FAQ-O-Matic should send email when it wants to alert the administrator (usually same as \$adminAuth)")),
	ci('maintSendErrors',	'-sort'=>'n-m2', '-choices'=>[ "'true'", "''" ],
		'-desc'=> gettext("If true, FAQ-O-Matic will mail the log file to the administrator whenever it is truncated."),
		'-default'=>"'true'"),
	ci('RCSuser',	'-sort'=>'r-r3', '-free', '-choices'=>['getpwuid($>)'],
		'-desc'=> gettext("User to use for RCS ci command (default is process UID)"),
		'-default'=>'getpwuid($>)'),
	ci('useServerRelativeRefs', '-sort'=>'r-s1',
		'-choices'=>[ "'true'", "''" ], '-default'=>"''", '-desc'=>
		gettext("Links from cache to CGI are relative to the server root, rather than absolute URLs including hostname:")),
	ci('antiSpam', '-sort'=>'r-s7', '-mirror',
		'-choices'=>[ "'off'", "'cheesy'", "'nameonly'", "'hide'" ],
		'-default'=>"'off'", '-desc'=>
		gettext("mailto: links can be rewritten such as jonhATdartmouthDOTedu (cheesy), jonh (nameonly), or e-mail addresses suppressed entirely (hide).")),
	ci('cookieLife', '-sort'=>'r-s8', '-free',
		'-choices'=>[ "'3600'" ],
		'-default'=>"'3600'",
		'-desc'=> gettext("Number of seconds that authentication cookies remain valid. These cookies are stored in URLs, and so can be retrieved from a browser history file. Hence they should usually time-out fairly quickly.")),
	ci('trashTime', '-sort'=>'r-s9', '-free',
		'-choices'=>[ "'14'" ],
		'-default'=>"'14'",
		'-desc'=> gettext("Number of days that trash sits in the trash category before maintenance cleans it up. '0' lets it stay forever.")),

	ci('sep_t', '-sort'=>'t--sep', '-separator', '-desc'=>
			gettext("<i>Optional:</i> These options set the default [Appearance] modes.")),

	ci('renderDefault', '-sort'=>'t-t1', '-mirror',
		'-choices'=>[ "'tables'", "'simple'", "'text'" ],
		'-default'=> "'tables'", '-desc'=>
		      gettext("Page rendering scheme. Do not choose 'text' as the default.")),

	ci('editCmdsDefault', '-sort'=>'t-t2', '-mirror',
		'-choices'=>[ "'show'", "'compact'", "'hide'" ],
		'-default'=>"'hide'", '-desc'=>
			gettext("expert editing commands")),

	ci('showModeratorDefault', '-sort'=>'t-t3', '-mirror',
		'-choices'=>[ "'show'", "'hide'" ],
		'-default'=>"'hide'", '-desc'=>
			gettext("name of moderator who organizes current category")),

	ci('showLastModifiedDefault', '-sort'=>'t-t4', '-mirror',
		'-choices'=>[ "'show'", "'hide'" ],
		'-default'=>"'hide'", '-desc'=>
			gettext("last modified date")),

	ci('showAttributionsDefault', '-sort'=>'t-t5', '-mirror',
		'-choices'=>[ "'all'", "'default'", "'hide'" ],
		'-default'=>"'default'", '-desc'=>
			gettext("attributions")),

	ci('textCmdsDefault', '-sort'=>'t-t6', '-mirror',
		'-choices'=>[ "'show'", "'hide'" ],
		'-default'=>"'hide'", '-desc'=>
			gettext("commands for generating text output")),

	ci('sep_u', '-sort'=>'v--sep', '-separator', '-desc'=>
			gettext("<i>Optional:</i> These options fine-tune the appearance of editing features.")),
	ci('showEditOnFaq', '-sort'=>'v-s3', '-mirror',
		'-choices'=>[ "'show'", "'compact'", "''" ], '-default'=>"''", '-desc'=>
	                gettext("The old [Show Edit Commands] button appears in the navigation bar.")),

	ci('navigationBlockAtTop', '-sort'=>'v-s35', '-mirror',
		'-choices'=>[ "'true'", "''" ], '-default'=>"''", '-desc'=>
			gettext("Navigation links appear at top of page as well as at the bottom.")),

	ci('hideEasyEdits', '-sort'=>'v-s4', '-mirror',



( run in 1.169 second using v1.01-cache-2.11-cpan-39bf76dae61 )