"Fossies" - the Fresh Open Source Software Archive

Member "tiki-21.2/templates/mail/user_watch_wiki_page_changed.tpl" (29 Jul 2020, 3065 Bytes) of package /linux/www/tiki-21.2.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "user_watch_wiki_page_changed.tpl": 20.2_vs_21.0.

    1 {* $Id$ *}
    2 {if $mail_action eq 'new'}{tr}The {$prefs.mail_template_custom_text}page "{$mail_page}" was created by {$mail_user|username} at {$mail_date|tiki_short_datetime:"":"n"}{/tr}
    3 {elseif $mail_action eq 'delete'}{tr}The {$prefs.mail_template_custom_text}page "{$mail_page}" was deleted by {$mail_user|username} at {$mail_date|tiki_short_datetime:"":"n"}{/tr}
    4 {elseif $mail_action eq 'attach'}{tr}A file was attached to {$prefs.mail_template_custom_text}"{$mail_page}"{/tr}
    5 {else}{tr}The {$prefs.mail_template_custom_text}page "{$mail_page}" was changed by {$mail_user|username} at {$mail_date|tiki_short_datetime:"":"n"}{/tr}
    6 {/if}
    7 
    8 {if $mail_comment}{tr}Comment:{/tr} {$mail_comment}
    9 {/if}
   10 {if not empty($mail_contributions)}{tr}Contribution:{/tr} {$mail_contributions}
   11 {/if}
   12 
   13 {if $mail_action eq 'delete'}{tr}The page {$prefs.mail_template_custom_text}"{$mail_page}" was deleted but used to be here:{/tr}
   14 {else}{tr}You can view the page by following this link:{/tr}
   15 {/if}
   16 {$mail_machine_raw}/{$mail_page|sefurl}
   17 
   18 {if $mail_action eq 'edit'}{tr}You can view a diff back to the previous version by following this link:{/tr} {* Using the full diff syntax so the links are still valid, even after a new version has been made. -rlpowell *}
   19 {$mail_machine_raw}/tiki-pagehistory.php?page={$mail_page|escape:"url"}&compare=1&oldver={$mail_oldver}&newver={$mail_newver}
   20 {elseif $mail_action eq 'attach'}{$mail_data} : {$mail_machine_raw}/tiki-download_wiki_attachment.php?attId={$mail_attId}
   21 {/if}
   22 
   23 {if $watchId}
   24 	{tr}If you don't want to receive these notifications follow this link:{/tr}
   25 	{$mail_machine_raw}/tiki-user_watches.php?id={$watchId}
   26 {/if}
   27 
   28 ***********************************************************
   29 {if $mail_diffdata}{tr}The changes in this version follow below, followed after by the current full page text.{/tr}
   30 ***********************************************************
   31 
   32 {section name=ix loop=$mail_diffdata}
   33 {if $mail_diffdata[ix].type == "diffheader"}
   34 {assign var="oldd" value=$mail_diffdata[ix].old}
   35 {assign var="newd" value=$mail_diffdata[ix].new}
   36 
   37 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   38 @@ {tr}-Lines: {$oldd} changed to +Lines: {$newd}{/tr} @@
   39 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   40 {elseif $mail_diffdata[ix].type == "diffdeleted"}
   41 {section name=iy loop=$mail_diffdata[ix].data}
   42 - {$mail_diffdata[ix].data[iy]|strip_tags:false|htmldecode}
   43 {/section}
   44 {elseif $mail_diffdata[ix].type == "diffadded"}
   45 {section name=iy loop=$mail_diffdata[ix].data}
   46 + {$mail_diffdata[ix].data[iy]|strip_tags:false|htmldecode}
   47 {/section}
   48 {elseif $mail_diffdata[ix].type == "diffbody"}
   49 {section name=iy loop=$mail_diffdata[ix].data}
   50 {$mail_diffdata[ix].data[iy]|strip_tags:false|htmldecode}
   51 {/section}
   52 {/if}
   53 {/section}
   54 
   55 {* if $mail_diffdata *}
   56 {/if}
   57 
   58 
   59 ***********************************************************
   60 {if $mail_action eq 'delete'}{tr}The old page content follows below.{/tr}
   61 {else}{tr}The new page content follows below.{/tr}
   62 {/if}
   63 ***********************************************************
   64 
   65 {$mail_pagedata}