home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / FAQ / cgi-bin / discus4_00 / source / emadmin.tmpl < prev    next >
Text File  |  2009-11-06  |  2KB  |  71 lines

  1. # FILE: emadmin.tmpl
  2. # DESCRIPTION: E-mail administration results
  3. # -------------------------------------------------------------------------------------------
  4.  
  5. <!--BEGIN-->
  6. <#define array @commands (_index, text)#>
  7. 1    Delete Message
  8. 2    Delete Conversation
  9. 3    Approve Queued Message
  10. 4    Reject Queued Message
  11. 5    Move Message
  12. 6    Close Conversation
  13. 7    Annotate Message on Top
  14. 8    Annotate Message on Bottom
  15. <#/define#>
  16.  
  17. <#if $general->{error} == 0#>
  18.     --------------------------------------
  19.     {|}
  20.     This message is confirmation that the command(s) you issued were successfully carried out.  The list of commands you specified are noted below.
  21.     {|}
  22.     --------------------------------------
  23.     {|}
  24.     <#foreach $record (@record)#>
  25.         Command: <#pick text $record->{interp} from @commands(*)#>
  26.     <#endloop#>
  27. <#else#>
  28.     --------------------------------------
  29.     {|}
  30.     This message is notification that an error occurred processing the administrative commands you specified.  The error is as follows:
  31.     {|}
  32.     --------------------------------------
  33.     {|}
  34.     <#if $general->{error} == 1#>
  35.         Authentication Error: The username/password combination given is not a valid moderator login.
  36.     <#endif#>
  37.     <#if $general->{error} == 2#>
  38.         Permission Error: You do not have permission to edit the selected topic or page.
  39.     <#endif#>
  40.     <#if $general->{error} == 3#>
  41.         Delete Message Error: Page does not exist, or message already deleted.
  42.     <#endif#>
  43.     <#if $general->{error} == 4#>
  44.         Delete Page Error: Page does not exist (perhaps it was already deleted).
  45.     <#endif#>
  46.     <#if $general->{error} == 5#>
  47.         Queued Message Error: Message not in queue (perhaps it was already approved or rejected).
  48.     <#endif#>
  49.     <#if $general->{error} == 6#>
  50.         Close Conversation Error: Page does not exist (perhaps it was already deleted).
  51.     <#endif#>
  52.     <#if $general->{error} == 6#>
  53.         Edit Post Error: Page does not exist (perhaps it was already deleted).
  54.     <#endif#>
  55.     <#if $general->{error} == 7#>
  56.         Edit Post Error: Post does not exist (perhaps it deleted or moved).
  57.     <#endif#>
  58.     <#if $general->{error} == 8#>
  59.         Move Message Error: You do not have permission to move the message to the destination.
  60.     <#endif#>
  61.     <#if $general->{error} == 9#>
  62.         Move Message Error: Destination page does not exist.
  63.     <#endif#>
  64.     <#if $general->{error} == 10#>
  65.         Move Message Error: Source page does not exist (perhaps it was deleted).
  66.     <#endif#>
  67.     {|}
  68.     --------------------------------------
  69. <#endif#>    
  70. <!--END-->
  71.