<commit_before>{* $Header: /cvsroot/tikiwiki/tiki/templates/tiki-my_tiki.tpl,v 1.20 2006-12-21 16:16:23 sylvieg Exp $ *}

<h1><a class="pagetitle" href="tiki-my_tiki.php">{tr}My Tiki{/tr}</a>

{if $feature_help eq 'y'}
<a href="{$helpurl}MyTiki" target="tikihelp" class="tikihelp" title="{tr}MyTiki{/tr}">
<img src="pics/icons/help.png" border="0" height="16" width="16" alt='{tr}help{/tr}' /></a>
{/if}

{if $feature_view_tpl eq 'y'}
<a href="tiki-edit_templates.php?template=tiki-my_tiki.tpl" target="tikihelp" class="tikihelp" title="{tr}View tpl{/tr}: {tr}my tiki tpl{/tr}">
<img src="pics/icons/shape_square_edit.png" border="0" width="16" height="16" alt='{tr}edit template{/tr}' /></a>
{/if}</h1>

{include file=tiki-mytiki_bar.tpl}
<br />

{if $feature_actionlog == 'y' and !empty($user)}

{/if}

{if $feature_wiki eq 'y' and $mytiki_pages eq 'y'}
<div id="content1" class="content">
  <div class="cbox">
  <div class="cbox-title">{if $userwatch eq $user}{tr}My pages{/tr}{else}{tr}User Pages{/tr}{/if}</div>
  <div class="cbox-data">
  <table class="normal">
  <tr>
  <th class="heading"><a class="tableheading" href="tiki-my_tiki.php?sort_mode={if $sort_mode eq 'pageName_desc'}pageName_asc{else}pageName_desc{/if}">{tr}Page{/tr}</a></th>
  <th class="heading">{tr}Creator{/tr}</th>
  <th class="heading">{tr}Last editor{/tr}</th>
  <th class="heading"><a class="tableheading" href="tiki-my_tiki.php?sort_mode={if $sort_mode eq 'date_desc'}date_asc{else}date_desc{/if}">{tr}Last modification{/tr}</a></th><th class="heading">{tr}Actions{/tr}</th></tr>
  {cycle values="even,odd" print=false}
  {section name=ix loop=$user_pages}
  <tr>
  <td class="{cycle advance=false}"><a class="link" title="{tr}view{/tr}: {$user_pages[ix].pageName}" href="tiki-index.php?page={$user_pages[ix].pageName|escape:"url"}">{$user_pages[ix].pageName|truncate:40:"(...)"}</a></td>
  <td class="{cycle advance=false}" style="text-align:center;">{if $userwatch eq $user_pages[ix].creator}{tr}y{/tr}{else}&nbsp;{/if}</td>
  <td class="{cycle advance=false}" style="text-align:center;">{if $userwatch eq $user_pages[ix].lastEditor}{tr}y{/tr}{else}&nbsp;{/if}</td>
  <td class="{cycle advance=false}">{$user_pages[ix].date|tiki_short_datetime}</td>
  <td class="{cycle}" style="text-align:center;"><a class="link" href="tiki-editpage.php?page={$user_pages[ix].pageName|escape:"url"}"><img border="0" alt="{tr}edit{/tr}" title="{tr}edit{/tr}: {$user_pages[ix].pageName}" src="pics/icons/page_edit.png" width="16" height="16" /></a></td>
  </tr>
  {/section}
  </table>
  </div>
  </div>
</div>
{/if}

{if $feature_galleries eq 'y' and $mytiki_gals eq 'y'}
<div id="content2" class="content">
  <div class="cbox">
  <div class="cbox-title">{if $userwatch eq $user}{tr}My galleries{/tr}{else}{tr}User Galleries{/tr}{/if}</div>
  <div class="cbox-data">
  <table class="normal">
  {cycle values="even,odd" print=false}
  {section name=ix loop=$user_galleries}
  <tr><td class="{cycle advance=false}">
  <a class="link" href="tiki-browse_gallery.php?galleryId={$user_galleries[ix].galleryId}">{$user_galleries[ix].name}</a>
  </td><td class="{cycle}" style="text-align:center;">
  <a class="link" href="tiki-galleries.php?editgal={$user_galleries[ix].galleryId}"><img border="0" alt="{tr}edit{/tr}" title="{tr}edit{/tr}" src="pics/icons/page_edit.png" width="16" height="16" /></a>
  </td></tr>
  {/section}
  </table>
  </div>
  </div>
</div>
{/if}

{if $feature_trackers eq 'y' and $mytiki_items eq 'y'}
<div id="content3" class="content">
  <div class="cbox">
  <div class="cbox-title">{if $userwatch eq $user}{tr}My items{/tr}{else}{tr}Assigned items{/tr}{/if}</div>
  <div class="cbox-data">
  <table class="normal">
  <tr><th class="heading">{tr}Item{/tr}</th><th class="heading">{tr}Tracker{/tr}</th></tr>
  {cycle values="even,odd" print=false}
   {section name=ix loop=$user_items}
  <tr><td class="{cycle advance=false}">
  <a class="link" title="{tr}view{/tr}" href="tiki-view_tracker_item.php?trackerId={$user_items[ix].trackerId}&amp;itemId={$user_items[ix].itemId}">{$user_items[ix].value}</a></td>
   <td class="{cycle}"><a class="link" title="{tr}view{/tr}" href="tiki-view_tracker.php?trackerId={$user_items[ix].trackerId}">{$user_items[ix].name}</a></td>
  </tr>
  {/section}
  </table>
  </div>
  </div>
</div>
{/if}

{if $feature_messages eq 'y' and $mytiki_msgs eq 'y'}
<div id="content4" class="content">
  <div class="cbox">
  <div class="cbox-title">{tr}Unread Messages{/tr}</div>
  <table  class="normal">
  <tr><th class="heading">{tr}Subject{/tr}</th><th class="heading">{tr}From{/tr}</th><th class="heading">{tr}Date{/tr}</th></tr>
  {cycle values="even,odd" print=false}
  {section name=ix loop=$msgs}
  <tr><td class="{cycle advance=false}">
  <a class="link" title="{tr}view{/tr}" href="messu-read.php?offset=0&amp;flag=&amp;flagval=&amp;find=&amp;sort_mode=date_desc&amp;priority=&amp;msgId={$msgs[ix].msgId}">{$msgs[ix].subject}</a>
  </td>
  <td class="{cycle advance=false}">{$msgs[ix].user_from}</td><td class="{cycle}">{$msgs[ix].date|tiki_short_datetime}</td></tr>
  {/section}
  </table>
  </div>
</div>
{/if}

{if $feature_tasks eq 'y' and $mytiki_tasks eq 'y'}
<div id="content5" class="content">
  <div class="cbox">
  <div class="cbox-title">{if $userwatch eq $user}{tr}My tasks{/tr}{else}{tr}User tasks{/tr}{/if}</div>
  <table  class="normal">
  {cycle values="even,odd" print=false}
  {section name=ix loop=$tasks}
  <tr><td class="{cycle}">
  <a class="link" href="tiki-user_tasks.php?taskId={$tasks[ix].taskId}">{$tasks[ix].title}</a>
  </td></tr>
  {/section}
  </table>
  </div>
</div>
{/if}



{if $feature_blogs eq y && $mytiki_blogs eq 'y'}
<div id="content6" class="content">
  <div class="cbox">
  <div class="cbox-title">{if $userwatch eq $user}{tr}My blogs{/tr}{else}{tr}User Blogs{/tr}{/if}</div>
  <table  class="normal">
  {cycle values="even,odd" print=false}
  {section name=ix loop=$user_blogs}
  <tr><td class="{cycle advance=false}">
  <a class="link" title="{tr}view{/tr}" href="tiki-view_blog.php?blogId={$user_blogs[ix].blogId}">{$user_blogs[ix].title}</a>
  </td><td class="{cycle}" style="text-align:center;">
  <a class="link" href="tiki-edit_blog.php?blogId={$user_blogs[ix].blogId}"><img border="0" alt="{tr}edit{/tr}" title="{tr}edit{/tr}" src="pics/icons/page_edit.png" width="16" height="16" /></a>
  </td></tr>
  {/section}
  </table>
  </div>
</div>
{/if}

{if $feature_workflow eq 'y' && $tiki_p_use_workflow eq 'y' && $mytiki_workflow eq 'y'}
  <div id="content7" class="content">
      {include file="tiki-g-my_activities.tpl"}
      <br /><br />
      {include file="tiki-g-my_instances.tpl"}
  </div>
{/if}
<commit_msg>[FIX] mytiki: avoid notice<commit_after>{* $Header: /cvsroot/tikiwiki/tiki/templates/tiki-my_tiki.tpl,v 1.21 2006-12-23 15:17:02 mose Exp $ *}

<h1><a class="pagetitle" href="tiki-my_tiki.php">{tr}My Tiki{/tr}</a>

{if $feature_help eq 'y'}
<a href="{$helpurl}MyTiki" target="tikihelp" class="tikihelp" title="{tr}MyTiki{/tr}">
<img src="pics/icons/help.png" border="0" height="16" width="16" alt='{tr}help{/tr}' /></a>
{/if}

{if $feature_view_tpl eq 'y'}
<a href="tiki-edit_templates.php?template=tiki-my_tiki.tpl" target="tikihelp" class="tikihelp" title="{tr}View tpl{/tr}: {tr}my tiki tpl{/tr}">
<img src="pics/icons/shape_square_edit.png" border="0" width="16" height="16" alt='{tr}edit template{/tr}' /></a>
{/if}</h1>

{include file=tiki-mytiki_bar.tpl}
<br />

{if $feature_actionlog == 'y' and !empty($user)}

{/if}

{if $feature_wiki eq 'y' and $mytiki_pages eq 'y'}
<div id="content1" class="content">
  <div class="cbox">
  <div class="cbox-title">{if $userwatch eq $user}{tr}My pages{/tr}{else}{tr}User Pages{/tr}{/if}</div>
  <div class="cbox-data">
  <table class="normal">
  <tr>
  <th class="heading"><a class="tableheading" href="tiki-my_tiki.php?sort_mode={if $sort_mode eq 'pageName_desc'}pageName_asc{else}pageName_desc{/if}">{tr}Page{/tr}</a></th>
  <th class="heading">{tr}Creator{/tr}</th>
  <th class="heading">{tr}Last editor{/tr}</th>
  <th class="heading"><a class="tableheading" href="tiki-my_tiki.php?sort_mode={if $sort_mode eq 'date_desc'}date_asc{else}date_desc{/if}">{tr}Last modification{/tr}</a></th><th class="heading">{tr}Actions{/tr}</th></tr>
  {cycle values="even,odd" print=false}
  {section name=ix loop=$user_pages}
  <tr>
  <td class="{cycle advance=false}"><a class="link" title="{tr}view{/tr}: {$user_pages[ix].pageName}" href="tiki-index.php?page={$user_pages[ix].pageName|escape:"url"}">{$user_pages[ix].pageName|truncate:40:"(...)"}</a></td>
  <td class="{cycle advance=false}" style="text-align:center;">{if $userwatch eq $user_pages[ix].creator}{tr}y{/tr}{else}&nbsp;{/if}</td>
  <td class="{cycle advance=false}" style="text-align:center;">{if $userwatch eq $user_pages[ix].lastEditor}{tr}y{/tr}{else}&nbsp;{/if}</td>
  <td class="{cycle advance=false}">{$user_pages[ix].date|tiki_short_datetime}</td>
  <td class="{cycle}" style="text-align:center;"><a class="link" href="tiki-editpage.php?page={$user_pages[ix].pageName|escape:"url"}"><img border="0" alt="{tr}edit{/tr}" title="{tr}edit{/tr}: {$user_pages[ix].pageName}" src="pics/icons/page_edit.png" width="16" height="16" /></a></td>
  </tr>
  {/section}
  </table>
  </div>
  </div>
</div>
{/if}

{if $feature_galleries eq 'y' and $mytiki_gals eq 'y'}
<div id="content2" class="content">
  <div class="cbox">
  <div class="cbox-title">{if $userwatch eq $user}{tr}My galleries{/tr}{else}{tr}User Galleries{/tr}{/if}</div>
  <div class="cbox-data">
  <table class="normal">
  {cycle values="even,odd" print=false}
  {section name=ix loop=$user_galleries}
  <tr><td class="{cycle advance=false}">
  <a class="link" href="tiki-browse_gallery.php?galleryId={$user_galleries[ix].galleryId}">{$user_galleries[ix].name}</a>
  </td><td class="{cycle}" style="text-align:center;">
  <a class="link" href="tiki-galleries.php?editgal={$user_galleries[ix].galleryId}"><img border="0" alt="{tr}edit{/tr}" title="{tr}edit{/tr}" src="pics/icons/page_edit.png" width="16" height="16" /></a>
  </td></tr>
  {/section}
  </table>
  </div>
  </div>
</div>
{/if}

{if $feature_trackers eq 'y' and $mytiki_items eq 'y'}
<div id="content3" class="content">
  <div class="cbox">
  <div class="cbox-title">{if $userwatch eq $user}{tr}My items{/tr}{else}{tr}Assigned items{/tr}{/if}</div>
  <div class="cbox-data">
  <table class="normal">
  <tr><th class="heading">{tr}Item{/tr}</th><th class="heading">{tr}Tracker{/tr}</th></tr>
  {cycle values="even,odd" print=false}
   {section name=ix loop=$user_items}
  <tr><td class="{cycle advance=false}">
  <a class="link" title="{tr}view{/tr}" href="tiki-view_tracker_item.php?trackerId={$user_items[ix].trackerId}&amp;itemId={$user_items[ix].itemId}">{$user_items[ix].value}</a></td>
   <td class="{cycle}"><a class="link" title="{tr}view{/tr}" href="tiki-view_tracker.php?trackerId={$user_items[ix].trackerId}">{$user_items[ix].name}</a></td>
  </tr>
  {/section}
  </table>
  </div>
  </div>
</div>
{/if}

{if $feature_messages eq 'y' and $mytiki_msgs eq 'y'}
<div id="content4" class="content">
  <div class="cbox">
  <div class="cbox-title">{tr}Unread Messages{/tr}</div>
  <table  class="normal">
  <tr><th class="heading">{tr}Subject{/tr}</th><th class="heading">{tr}From{/tr}</th><th class="heading">{tr}Date{/tr}</th></tr>
  {cycle values="even,odd" print=false}
  {section name=ix loop=$msgs}
  <tr><td class="{cycle advance=false}">
  <a class="link" title="{tr}view{/tr}" href="messu-read.php?offset=0&amp;flag=&amp;flagval=&amp;find=&amp;sort_mode=date_desc&amp;priority=&amp;msgId={$msgs[ix].msgId}">{$msgs[ix].subject}</a>
  </td>
  <td class="{cycle advance=false}">{$msgs[ix].user_from}</td><td class="{cycle}">{$msgs[ix].date|tiki_short_datetime}</td></tr>
  {/section}
  </table>
  </div>
</div>
{/if}

{if $feature_tasks eq 'y' and $mytiki_tasks eq 'y'}
<div id="content5" class="content">
  <div class="cbox">
  <div class="cbox-title">{if $userwatch eq $user}{tr}My tasks{/tr}{else}{tr}User tasks{/tr}{/if}</div>
  <table  class="normal">
  {cycle values="even,odd" print=false}
  {section name=ix loop=$tasks}
  <tr><td class="{cycle}">
  <a class="link" href="tiki-user_tasks.php?taskId={$tasks[ix].taskId}">{$tasks[ix].title}</a>
  </td></tr>
  {/section}
  </table>
  </div>
</div>
{/if}



{if $feature_blogs eq 'y' && $mytiki_blogs eq 'y'}
<div id="content6" class="content">
  <div class="cbox">
  <div class="cbox-title">{if $userwatch eq $user}{tr}My blogs{/tr}{else}{tr}User Blogs{/tr}{/if}</div>
  <table  class="normal">
  {cycle values="even,odd" print=false}
  {section name=ix loop=$user_blogs}
  <tr><td class="{cycle advance=false}">
  <a class="link" title="{tr}view{/tr}" href="tiki-view_blog.php?blogId={$user_blogs[ix].blogId}">{$user_blogs[ix].title}</a>
  </td><td class="{cycle}" style="text-align:center;">
  <a class="link" href="tiki-edit_blog.php?blogId={$user_blogs[ix].blogId}"><img border="0" alt="{tr}edit{/tr}" title="{tr}edit{/tr}" src="pics/icons/page_edit.png" width="16" height="16" /></a>
  </td></tr>
  {/section}
  </table>
  </div>
</div>
{/if}

{if $feature_workflow eq 'y' && $tiki_p_use_workflow eq 'y' && $mytiki_workflow eq 'y'}
  <div id="content7" class="content">
      {include file="tiki-g-my_activities.tpl"}
      <br /><br />
      {include file="tiki-g-my_instances.tpl"}
  </div>
{/if}

{'fraction_non_alphanumeric': 0.25007476076555024, 'fraction_numerical': 0.008074162679425838, 'mean_word_length': 6.358085808580858, 'pattern_counts': {'":': 0, '<': 331, '<?xml version=': 0, '>': 331, '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': '4988643', 'n_tokens_mistral': 5616, 'n_tokens_neox': 5444, 'n_words': 849}