You are not logged in Log in Join
You are here: Home » Members » adytumsolutions » Documentation » UserOptions

Log in
Name

Password

 
 

History for UserOptions

??changed:
-
<dtml-if inCMF>
As this wiki is in a CMF site, zwiki user options have been disabled.
<dtml-else>
<dtml-comment>this form calls itself.</dtml-comment>
<dtml-let cookielist="(
'zwiki_username',
'email',
'zwiki_height',
'zwiki_width',
'zwiki_timezone',
'zwiki_bookmarks',
'zwiki_showlogo',
'zwiki_showquote',
'zwiki_showsearch',
'zwiki_showhierarchy',
'zwiki_displaymode',
)
">
<dtml-if setcookies>
<dtml-let e="(ZopeTime() + 365).rfc822()">
<dtml-in cookielist prefix=x>
<dtml-if "_.has_key(x_sequence_item)">
<dtml-call "RESPONSE.setCookie(x_sequence_item, REQUEST.get(x_sequence_item), 
                               path='/', expires=e)">
<dtml-comment>use path=wiki_url() if you want per-wiki cookies</dtml-comment>
</dtml-if>
</dtml-in>
</dtml-let>
<dtml-if redirectURL>
<dtml-call "RESPONSE.redirect(redirectURL)">
<dtml-else>
*Cookies configured.*
</dtml-if>
<dtml-elif clearcookies>
<dtml-in cookielist prefix=x>
<dtml-call "RESPONSE.expireCookie(x_sequence_item,path='/')">
</dtml-in>

*Cookies removed.*
<dtml-comment>
reload UserOptions since old cookie values are still in this REQUEST
</dtml-comment>
<dtml-call "RESPONSE.redirect(REQUEST.get('redirectURL',URL))">
</dtml-if>
</dtml-let>

Set your site preferences below. You can also change your display 
mode by clicking the links at bottom-left.

<form action="&dtml-wiki_page_url;" METHOD="POST" ENCTYPE="multipart/form-data"
style="border:none;">
User name: <input type="text" name="zwiki_username" size=20
maxlength=20 tabindex=3 value="<dtml-var zwiki_username missing>">
(identifies your edits in RecentChanges etc.)

Email address: <input type="text" name="email" size=20 maxlength=40 tabindex=4
value="<dtml-var email missing>"> 
(saves  time when subscribing)

Editform
width: <input type="text" name="zwiki_width" size=3 maxlength=3 tabindex=1
value="<dtml-var zwiki_width missing=60>"> 
height: <input type="text" name="zwiki_height" size=3 maxlength=3 tabindex=2
value="<dtml-var zwiki_height missing=25>">
(textarea dimensions; width will be 100% if supported)

Time zone: 
<dtml-let 
now=ZopeTime
timezones="(
'GMT-1130',
'GMT-1100',
'GMT-1030',
'GMT-1000',
'GMT-0930',
'GMT-0900',
'GMT-0830',
'GMT-0800',
'GMT-0730',
'GMT-0700',
'GMT-0630',
'GMT-0600',
'GMT-0530',
'GMT-0500',
'GMT-0430',
'GMT-0400',
'GMT-0330',
'GMT-0300',
'GMT-0230',
'GMT-0200',
'GMT-0130',
'GMT-0100',
'GMT',
'GMT+0100',
'GMT+0130',
'GMT+0200',
'GMT+0230',
'GMT+0300',
'GMT+0330',
'GMT+0400',
'GMT+0430',
'GMT+0500',
'GMT+0530',
'GMT+0600',
'GMT+0630',
'GMT+0700',
'GMT+0730',
'GMT+0800',
'GMT+0830',
'GMT+0900',
'GMT+0930',
'GMT+1000',
'GMT+1030',
'GMT+1100',
'GMT+1130',
)"
userzone="REQUEST.get('zwiki_timezone',None)"
userzone="((userzone in timezones) and userzone) or 'GMT'"
>
Your local time is 
<select name="zwiki_timezone" tabindex=5>
<dtml-in timezones prefix=x>
<option value="&dtml-x_sequence_item;"
<dtml-if "userzone == x_sequence_item">selected</dtml-if>
>
<dtml-var "now.toZone(x_sequence_item).ISO()"> (&dtml-x_sequence_item;)
</dtml-in>
</select>
(localizes page modification times)
</dtml-let>

Bookmarks: 
<input type="text" name="zwiki_bookmarks" size=60 maxlength=1000 tabindex=6
value="<dtml-var zwiki_bookmarks html_quote 
missing="">">
<br>
(appear in footer; konqueror users, separate your bookmarks with , not space)

Show page hierarchy ?
<select name="zwiki_showhierarchy" tabindex=7>
  <option value="">No</option>
  <option value="1" 
  <dtml-if zwiki_showhierarchy>selected</dtml-if>
  >Yes</option>
</select>
(This wiki maintains a page hierarchy. You can use this or ignore it.)

Show search field ? (except in minimal mode)
<select name="zwiki_showsearch" tabindex=8>
  <option value="">No</option>
  <option value="1" 
  <dtml-if "REQUEST.get('zwiki_showsearch',1)">selected</dtml-if>
  >Yes</option>
</select>

Show AnnoyingQuote ? (in full mode)
<select name="zwiki_showquote" tabindex=9>
  <option value="">No</option>
  <option value="1" 
  <dtml-if "REQUEST.get('zwiki_showquote',1)">selected</dtml-if>
  >Yes</option>
</select>

Show logo ? 
<select name="zwiki_showlogo" tabindex=10>
  <option value="">No</option>
  <option value="1" 
  <dtml-if "REQUEST.get('zwiki_showlogo',1)">selected</dtml-if>
  >Yes</option>
</select>

<div align="right"> 
<b><input type="submit" name="setcookies" value="Save options" tabindex=12
style="font-weight:bold"></b>
<input type="submit" name="clearcookies" value="Forget options"
tabindex=13> 
</div>
<input type="hidden" name="zwiki_displaymode" 
value="<dtml-var zwiki_displaymode missing=simple>">
</form>
</dtml-if>