<commit_before><a class="pagetitle" href="tiki-user_preferences.php">{tr}User Preferences{/tr}</a><br/><br/>
[<a href="tiki-user_preferences.php" class="link">{tr}User Preferences{/tr}</a>
{if $feature_user_bookmarks eq 'y'}|<a href="tiki-user_bookmarks.php" class="link">{tr}User Bookmarks{/tr}</a>{/if}
|<a href="tiki-pick_avatar.php" class="link">{tr}Pick user Avatar{/tr}</a>
{if $user_assigned_modules eq 'y'}|<a href="tiki-user_assigned_modules.php" class="link">{tr}Configure modules{/tr}</a>{/if}]<br/><br/>
<table width="100%">
<tr>
  <!--The line below was <td valign="top" width="50%"> for no real reason-->
  <td valign="top">
  <div class="cbox">
  <div class="cbox-title">{tr}User Information{/tr}</div>
  <div class="cbox-data">
  <div class="simplebox">
  <form action="tiki-user_preferences.php" method="post">
  <input type="hidden" name="view_user" value="{$userwatch}" />
  <input type="hidden" name="user" value="{$userwatch}" /> 
  <table>
  <tr><td class="form">{tr}Name{/tr}:</td><td>{$userinfo.login}</td></tr>
  <tr><td class="form">{tr}Last login{/tr}:</td><td>{$userinfo.lastLogin|tiki_short_datetime}</td></tr>
  <tr><td class="form">{tr}Email{/tr}:</td><td><input type="text" name="email" value="{$userinfo.email}" /></td></tr>
  <tr><td class="form">{tr}Country{/tr}:</td><td>
  <img alt="flag" src="img/flags/{$country}.gif" />
  <select name="country">
  {section name=ix loop=$flags}
  <option name="{$flags[ix]}" {if $country eq $flags[ix]}selected="selected"{/if}>{$flags[ix]}</option>
  {/section}
  </select>
  </td></tr>
  {if $change_theme eq 'y'}
  <tr><td class="form">{tr}Theme{/tr}:</td><td><select name="style">
        {section name=ix loop=$styles}
        <option value="{$styles[ix]}" {if $style eq $styles[ix]}selected="selected"{/if}>{$styles[ix]}</option>
        {/section}
        </select></td></tr>
  {/if}
  {if $change_language eq 'y'}      
  <tr><td  class="form">{tr}Language{/tr}:</td><td>
        <select name="language">
        {section name=ix loop=$languages}
        <option value="{$languages[ix]}" {if $language eq $languages[ix]}selected="selected"{/if}>{$languages[ix]}</option>
        {/section}
        </select></td></tr>
  {/if}      
  <tr><td class="form">{tr}Real Name{/tr}:</td><td><input type="text" name="realName" value="{$realName}" /></td></tr>
  <tr><td class="form">{tr}Avatar{/tr}:</td><td>{$avatar}</td></tr>
  <tr><td class="form">{tr}Number of visited pages to remember{/tr}:</td><td>
  <select name="userbreadCrumb">
  <option value="1" {if $userbreadCrumb eq 1}selected="selected"{/if}>1</option>
  <option value="2" {if $userbreadCrumb eq 2}selected="selected"{/if}>2</option>
  <option value="3" {if $userbreadCrumb eq 3}selected="selected"{/if}>3</option>
  <option value="4" {if $userbreadCrumb eq 4}selected="selected"{/if}>4</option>
  <option value="5" {if $userbreadCrumb eq 5}selected="selected"{/if}>5</option>
  <option value="10" {if $userbreadCrumb eq 10}selected="selected"{/if}>10</option>
  </select>
  </td></tr>
  <tr><td class="form">{tr}HomePage{/tr}:</td><td><input type="text" name="homePage" value="{$homePage}" /></td></tr>
  {if $feature_wiki eq 'y'}
  <tr><td class="form">{tr}Your personal Wiki Page{/tr}:</td><td><a class="link" href="tiki-index.php?page=UserPage{$userinfo.login}">UserPage{$userinfo.login}</a>(<a class="link" href="tiki-editpage.php?page=UserPage{$userinfo.login}">{tr}edit{/tr}</a>)</td></tr>
  {/if}
  
  <tr><td class="form">{tr}Displayed time zone{/tr}:</td><td>
  <select name='display_timezone'>
  	{html_options options=$timezone_options selected=$display_timezone}
  </select>
  </td>
  </tr>
  <tr><td class="form">{tr}User information{/tr}:</td><td>
  <select name="user_information">
    <option value='private' {if $user_information eq 'private'}selected="selected"{/if}>{tr}private{/tr}</option>
    <option value='public' {if $user_information eq 'public'}selected="selected"{/if}>{tr}public{/tr}</option>
  </select>
  </td></tr>

  <tr><td align="center" colspan="2"><input type="submit" name="prefs" value="{tr}set{/tr}" /></td></tr>
  </table>
  </form>
  </div>
    
  <div class="simplebox">
  {tr}Change your password{/tr}<br/>
  <form action="tiki-user_preferences.php" method="post">
  <input type="hidden" name="view_user" value="{$userwatch}" />
  <table>
  <tr><td>{tr}Old password{/tr}:</td><td><input type="password" name="old" /></td></tr>
  <tr><td>{tr}New password{/tr}:</td><td><input type="password" name="pass1" /></td></tr>
  <tr><td>{tr}Again please{/tr}:</td><td><input type="password" name="pass2" /></td></tr>
  <tr><td align="center" colspan="2"><input type="submit" name="chgpswd" value="{tr}change{/tr}"></td></tr>
  </table>
  </form>
  </div>
  </div>
  </td>
  <!--The line below was <td valign="top" width="50%"> for no real reason-->
  <td valign="top">
  <!--
  <div class="cbox">
  <div class="cbox-title">{tr}Configure this page{/tr}</div>
  <div class="cbox-data">
  <div class="simplebox">
 
  </div>
  </div>
  -->
  </td>
</tr>
</table>

{if $feature_messages eq 'y'}
    <div class="cbox">
      <div class="cbox-title">{tr}User Messages{/tr}</div>
      <div class="cbox-data">
        <div class="simplebox">
        <form action="tiki-user_preferences.php" method="post">
<table class="normal">
<tr>
  <td class="form">Messages per page</td>
  <td class="form">
    <select name="mess_maxRecords">
      <option value="2" {if $mess_maxRecords eq 2}selected="selected"{/if}>2</option>
      <option value="5" {if $mess_maxRecords eq 5}selected="selected"{/if}>5</option>
      <option value="10" {if $mess_maxRecords eq 10}selected="selected"{/if}>10</option>
      <option value="20" {if $mess_maxRecords eq 20}selected="selected"{/if}>20</option>
      <option value="30" {if $mess_maxRecords eq 30}selected="selected"{/if}>30</option>
      <option value="40" {if $mess_maxRecords eq 40}selected="selected"{/if}>40</option>
      <option value="50" {if $mess_maxRecords eq 50}selected="selected"{/if}>50</option>
    </select>
  </td>
</tr>
<tr>
  <td class="form">Allow messages from other users</td>
  <td class="form"><input type="checkbox" name="allowMsgs" {if $allowMsgs eq 'y'}checked="checked"{/if}/></td>
</tr>
<tr>
  <td class="form">Send me an email for messages with priority equal or greater than:</td>
  <td class="form">
    <select name="minPrio">
      <option value="1" {if $minPrio eq 1}selected="selected"{/if}>1</option>
      <option value="2" {if $minPrio eq 2}selected="selected"{/if}>2</option>
      <option value="3" {if $minPrio eq 3}selected="selected"{/if}>3</option>
      <option value="4" {if $minPrio eq 4}selected="selected"{/if}>4</option>
      <option value="5" {if $minPrio eq 5}selected="selected"{/if}>5</option>
      <option value="6" {if $minPrio eq 6}selected="selected"{/if}>none</option>
    </select>
  </td>
</tr>
<tr>
  <td class="form">&nbsp;</td>
  <td class="form"><input type="submit" name="messprefs" value="set" /></td>
</tr>
</table>
</form>

        </div>
      </div>
    </div>
  
  {/if}

  

<br/>


{if $feature_tasks eq 'y'}
    <div class="cbox">
      <div class="cbox-title">{tr}User Tasks{/tr}</div>
      <div class="cbox-data">
        <div class="simplebox">
        <form action="tiki-user_preferences.php" method="post">
<table class="normal">
<tr>
  <td class="form">Tasks per page</td>
  <td class="form">
    <select name="tasks_maxRecords">
      <option value="2" {if $mess_maxRecords eq 2}selected="selected"{/if}>2</option>
      <option value="5" {if $mess_maxRecords eq 5}selected="selected"{/if}>5</option>
      <option value="10" {if $mess_maxRecords eq 10}selected="selected"{/if}>10</option>
      <option value="20" {if $mess_maxRecords eq 20}selected="selected"{/if}>20</option>
      <option value="30" {if $mess_maxRecords eq 30}selected="selected"{/if}>30</option>
      <option value="40" {if $mess_maxRecords eq 40}selected="selected"{/if}>40</option>
      <option value="50" {if $mess_maxRecords eq 50}selected="selected"{/if}>50</option>
    </select>
  </td>
</tr>

<tr>
  <td class="form">Use dates</td>
  <td class="form"><input type="checkbox" name="tasks_useDates" {if $tasks_useDates eq 'y'}checked="checked"{/if}/></td>
</tr>


<tr>
  <td class="form">&nbsp;</td>
  <td class="form"><input type="submit" name="tasksprefs" value="set" /></td>
</tr>
</table>
</form>

        </div>
      </div>
    </div>
  
  {/if}

<br/>

  <div class="cbox">
  <div class="cbox-title">{tr}User Pages{/tr}</div>
  <div class="cbox-data">
  <table width="100%">
  {section name=ix loop=$user_pages}
  <tr><td>
  <a class="link" title="{$user_pages[ix].pageName}" href="tiki-index.php?page={$user_pages[ix].pageName}">{$user_pages[ix].pageName|truncate:30:"(...)"}</a>
  </td><td align="right">
  (<a class="link" href="tiki-editpage.php?page={$user_pages[ix].pageName}">{tr}edit{/tr}</a>)
  </td></tr>
  {/section}
  </table>
  </div>
  </div>
<br/>  
  <div class="cbox">
  <div class="cbox-title">{tr}User Blogs{/tr}</div>
  <table width="100%">
  {section name=ix loop=$user_blogs}
  <tr><td>
  <a class="link" href="tiki-view_blog.php?blogId={$user_blogs[ix].blogId}">{$user_blogs[ix].title}</a>
  </td><td align="right">
  (<a class="link" href="tiki-edit_blog.php?blogId={$user_blogs[ix].blogId}">{tr}edit{/tr}</a>)
  </td></tr>
  {/section}
  </table>
  </div>
<br/>
  <div class="cbox">
  <div class="cbox-title">{tr}User Galleries{/tr}</div>
  <div class="cbox-data">
  <table width="100%">
  {section name=ix loop=$user_galleries}
  <tr><td>
  <a class="link" href="tiki-browse_gallery.php?galleryId={$user_galleries[ix].galleryId}">{$user_galleries[ix].name}</a>
  </td><td align="right">
  <a class="link" href="tiki-galleries.php?editgal={$user_galleries[ix].galleryId}">({tr}edit{/tr})</a>
  </td></tr>
  {/section}
  </table>
  </div>
  </div>
<br/>
  <div class="cbox">
  <div class="cbox-title">{tr}Assigned items{/tr}</div>
  <div class="cbox-data">
  <table width="100%">
  {section name=ix loop=$user_items}
  <tr><td>
  <b>{$user_items[ix].value}</b> {tr}at tracker{/tr} {$user_items[ix].name}  
  </td><td align="right">
  <a class="link" href="tiki-view_tracker_item.php?trackerId={$user_items[ix].trackerId}&amp;itemId={$user_items[ix].itemId}">({tr}edit{/tr})</a>
  </td>
  </tr>
  {/section}
  </table>
  </div>
  </div>
<commit_msg>User tasks devel<commit_after><a class="pagetitle" href="tiki-user_preferences.php">{tr}User Preferences{/tr}</a><br/><br/>
[<a href="tiki-user_preferences.php" class="link">{tr}User Preferences{/tr}</a>
{if $feature_user_bookmarks eq 'y'}|<a href="tiki-user_bookmarks.php" class="link">{tr}User Bookmarks{/tr}</a>{/if}
|<a href="tiki-pick_avatar.php" class="link">{tr}Pick user Avatar{/tr}</a>
{if $user_assigned_modules eq 'y'}|<a href="tiki-user_assigned_modules.php" class="link">{tr}Configure modules{/tr}</a>{/if}]<br/><br/>
<table width="100%">
<tr>
  <!--The line below was <td valign="top" width="50%"> for no real reason-->
  <td valign="top">
  <div class="cbox">
  <div class="cbox-title">{tr}User Information{/tr}</div>
  <div class="cbox-data">
  <div class="simplebox">
  <form action="tiki-user_preferences.php" method="post">
  <input type="hidden" name="view_user" value="{$userwatch}" />
  <input type="hidden" name="user" value="{$userwatch}" /> 
  <table>
  <tr><td class="form">{tr}Name{/tr}:</td><td>{$userinfo.login}</td></tr>
  <tr><td class="form">{tr}Last login{/tr}:</td><td>{$userinfo.lastLogin|tiki_short_datetime}</td></tr>
  <tr><td class="form">{tr}Email{/tr}:</td><td><input type="text" name="email" value="{$userinfo.email}" /></td></tr>
  <tr><td class="form">{tr}Country{/tr}:</td><td>
  <img alt="flag" src="img/flags/{$country}.gif" />
  <select name="country">
  {section name=ix loop=$flags}
  <option name="{$flags[ix]}" {if $country eq $flags[ix]}selected="selected"{/if}>{$flags[ix]}</option>
  {/section}
  </select>
  </td></tr>
  {if $change_theme eq 'y'}
  <tr><td class="form">{tr}Theme{/tr}:</td><td><select name="style">
        {section name=ix loop=$styles}
        <option value="{$styles[ix]}" {if $style eq $styles[ix]}selected="selected"{/if}>{$styles[ix]}</option>
        {/section}
        </select></td></tr>
  {/if}
  {if $change_language eq 'y'}      
  <tr><td  class="form">{tr}Language{/tr}:</td><td>
        <select name="language">
        {section name=ix loop=$languages}
        <option value="{$languages[ix]}" {if $language eq $languages[ix]}selected="selected"{/if}>{$languages[ix]}</option>
        {/section}
        </select></td></tr>
  {/if}      
  <tr><td class="form">{tr}Real Name{/tr}:</td><td><input type="text" name="realName" value="{$realName}" /></td></tr>
  <tr><td class="form">{tr}Avatar{/tr}:</td><td>{$avatar}</td></tr>
  <tr><td class="form">{tr}Number of visited pages to remember{/tr}:</td><td>
  <select name="userbreadCrumb">
  <option value="1" {if $userbreadCrumb eq 1}selected="selected"{/if}>1</option>
  <option value="2" {if $userbreadCrumb eq 2}selected="selected"{/if}>2</option>
  <option value="3" {if $userbreadCrumb eq 3}selected="selected"{/if}>3</option>
  <option value="4" {if $userbreadCrumb eq 4}selected="selected"{/if}>4</option>
  <option value="5" {if $userbreadCrumb eq 5}selected="selected"{/if}>5</option>
  <option value="10" {if $userbreadCrumb eq 10}selected="selected"{/if}>10</option>
  </select>
  </td></tr>
  <tr><td class="form">{tr}HomePage{/tr}:</td><td><input type="text" name="homePage" value="{$homePage}" /></td></tr>
  {if $feature_wiki eq 'y'}
  <tr><td class="form">{tr}Your personal Wiki Page{/tr}:</td><td><a class="link" href="tiki-index.php?page=UserPage{$userinfo.login}">UserPage{$userinfo.login}</a>(<a class="link" href="tiki-editpage.php?page=UserPage{$userinfo.login}">{tr}edit{/tr}</a>)</td></tr>
  {/if}
  
  <tr><td class="form">{tr}Displayed time zone{/tr}:</td><td>
  <select name='display_timezone'>
  	{html_options options=$timezone_options selected=$display_timezone}
  </select>
  </td>
  </tr>
  <tr><td class="form">{tr}User information{/tr}:</td><td>
  <select name="user_information">
    <option value='private' {if $user_information eq 'private'}selected="selected"{/if}>{tr}private{/tr}</option>
    <option value='public' {if $user_information eq 'public'}selected="selected"{/if}>{tr}public{/tr}</option>
  </select>
  </td></tr>

  <tr><td align="center" colspan="2"><input type="submit" name="prefs" value="{tr}set{/tr}" /></td></tr>
  </table>
  </form>
  </div>
    
  <div class="simplebox">
  {tr}Change your password{/tr}<br/>
  <form action="tiki-user_preferences.php" method="post">
  <input type="hidden" name="view_user" value="{$userwatch}" />
  <table>
  <tr><td>{tr}Old password{/tr}:</td><td><input type="password" name="old" /></td></tr>
  <tr><td>{tr}New password{/tr}:</td><td><input type="password" name="pass1" /></td></tr>
  <tr><td>{tr}Again please{/tr}:</td><td><input type="password" name="pass2" /></td></tr>
  <tr><td align="center" colspan="2"><input type="submit" name="chgpswd" value="{tr}change{/tr}"></td></tr>
  </table>
  </form>
  </div>
  </div>
  </td>
  <!--The line below was <td valign="top" width="50%"> for no real reason-->
  <td valign="top">
  <!--
  <div class="cbox">
  <div class="cbox-title">{tr}Configure this page{/tr}</div>
  <div class="cbox-data">
  <div class="simplebox">
 
  </div>
  </div>
  -->
  </td>
</tr>
</table>

{if $feature_messages eq 'y'}
    <div class="cbox">
      <div class="cbox-title">{tr}User Messages{/tr}</div>
      <div class="cbox-data">
        <div class="simplebox">
        <form action="tiki-user_preferences.php" method="post">
<table class="normal">
<tr>
  <td class="form">Messages per page</td>
  <td class="form">
    <select name="mess_maxRecords">
      <option value="2" {if $mess_maxRecords eq 2}selected="selected"{/if}>2</option>
      <option value="5" {if $mess_maxRecords eq 5}selected="selected"{/if}>5</option>
      <option value="10" {if $mess_maxRecords eq 10}selected="selected"{/if}>10</option>
      <option value="20" {if $mess_maxRecords eq 20}selected="selected"{/if}>20</option>
      <option value="30" {if $mess_maxRecords eq 30}selected="selected"{/if}>30</option>
      <option value="40" {if $mess_maxRecords eq 40}selected="selected"{/if}>40</option>
      <option value="50" {if $mess_maxRecords eq 50}selected="selected"{/if}>50</option>
    </select>
  </td>
</tr>
<tr>
  <td class="form">Allow messages from other users</td>
  <td class="form"><input type="checkbox" name="allowMsgs" {if $allowMsgs eq 'y'}checked="checked"{/if}/></td>
</tr>
<tr>
  <td class="form">Send me an email for messages with priority equal or greater than:</td>
  <td class="form">
    <select name="minPrio">
      <option value="1" {if $minPrio eq 1}selected="selected"{/if}>1</option>
      <option value="2" {if $minPrio eq 2}selected="selected"{/if}>2</option>
      <option value="3" {if $minPrio eq 3}selected="selected"{/if}>3</option>
      <option value="4" {if $minPrio eq 4}selected="selected"{/if}>4</option>
      <option value="5" {if $minPrio eq 5}selected="selected"{/if}>5</option>
      <option value="6" {if $minPrio eq 6}selected="selected"{/if}>none</option>
    </select>
  </td>
</tr>
<tr>
  <td class="form">&nbsp;</td>
  <td class="form"><input type="submit" name="messprefs" value="set" /></td>
</tr>
</table>
</form>

        </div>
      </div>
    </div>
  
  {/if}

  

<br/>


{if $feature_tasks eq 'y'}
    <div class="cbox">
      <div class="cbox-title">{tr}User Tasks{/tr}</div>
      <div class="cbox-data">
        <div class="simplebox">
        <form action="tiki-user_preferences.php" method="post">
<table class="normal">
<tr>
  <td class="form">Tasks per page</td>
  <td class="form">
    <select name="tasks_maxRecords">
      <option value="2" {if $tasks_maxRecords eq 2}selected="selected"{/if}>2</option>
      <option value="5" {if $tasks_maxRecords eq 5}selected="selected"{/if}>5</option>
      <option value="10" {if $tasks_maxRecords eq 10}selected="selected"{/if}>10</option>
      <option value="20" {if $tasks_maxRecords eq 20}selected="selected"{/if}>20</option>
      <option value="30" {if $tasks_maxRecords eq 30}selected="selected"{/if}>30</option>
      <option value="40" {if $tasks_maxRecords eq 40}selected="selected"{/if}>40</option>
      <option value="50" {if $tasks_maxRecords eq 50}selected="selected"{/if}>50</option>
    </select>
  </td>
</tr>

<tr>
  <td class="form">Use dates</td>
  <td class="form"><input type="checkbox" name="tasks_useDates" {if $tasks_useDates eq 'y'}checked="checked"{/if}/></td>
</tr>


<tr>
  <td class="form">&nbsp;</td>
  <td class="form"><input type="submit" name="tasksprefs" value="set" /></td>
</tr>
</table>
</form>

        </div>
      </div>
    </div>
  
  {/if}

<br/>

  <div class="cbox">
  <div class="cbox-title">{tr}User Pages{/tr}</div>
  <div class="cbox-data">
  <table width="100%">
  {section name=ix loop=$user_pages}
  <tr><td>
  <a class="link" title="{$user_pages[ix].pageName}" href="tiki-index.php?page={$user_pages[ix].pageName}">{$user_pages[ix].pageName|truncate:30:"(...)"}</a>
  </td><td align="right">
  (<a class="link" href="tiki-editpage.php?page={$user_pages[ix].pageName}">{tr}edit{/tr}</a>)
  </td></tr>
  {/section}
  </table>
  </div>
  </div>
<br/>  
  <div class="cbox">
  <div class="cbox-title">{tr}User Blogs{/tr}</div>
  <table width="100%">
  {section name=ix loop=$user_blogs}
  <tr><td>
  <a class="link" href="tiki-view_blog.php?blogId={$user_blogs[ix].blogId}">{$user_blogs[ix].title}</a>
  </td><td align="right">
  (<a class="link" href="tiki-edit_blog.php?blogId={$user_blogs[ix].blogId}">{tr}edit{/tr}</a>)
  </td></tr>
  {/section}
  </table>
  </div>
<br/>
  <div class="cbox">
  <div class="cbox-title">{tr}User Galleries{/tr}</div>
  <div class="cbox-data">
  <table width="100%">
  {section name=ix loop=$user_galleries}
  <tr><td>
  <a class="link" href="tiki-browse_gallery.php?galleryId={$user_galleries[ix].galleryId}">{$user_galleries[ix].name}</a>
  </td><td align="right">
  <a class="link" href="tiki-galleries.php?editgal={$user_galleries[ix].galleryId}">({tr}edit{/tr})</a>
  </td></tr>
  {/section}
  </table>
  </div>
  </div>
<br/>
  <div class="cbox">
  <div class="cbox-title">{tr}Assigned items{/tr}</div>
  <div class="cbox-data">
  <table width="100%">
  {section name=ix loop=$user_items}
  <tr><td>
  <b>{$user_items[ix].value}</b> {tr}at tracker{/tr} {$user_items[ix].name}  
  </td><td align="right">
  <a class="link" href="tiki-view_tracker_item.php?trackerId={$user_items[ix].trackerId}&amp;itemId={$user_items[ix].itemId}">({tr}edit{/tr})</a>
  </td>
  </tr>
  {/section}
  </table>
  </div>
  </div>

{'fraction_non_alphanumeric': 0.2437940693518787, 'fraction_numerical': 0.01303969863807592, 'mean_word_length': 4.86434437836307, 'pattern_counts': {'":': 0, '<': 797, '<?xml version=': 0, '>': 797, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4999083', 'n_tokens_mistral': 8213, 'n_tokens_neox': 7937, 'n_words': 1378}