[SimBot-commits] CVS: simbot/templates error.401.default.tmpl,NONE,1.1 error.500.default.tmpl,NONE,1
Status: Abandoned
Brought to you by:
kstange
|
From: Pete P. <fou...@us...> - 2005-08-10 11:51:09
|
Update of /cvsroot/simbot/simbot/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16455/templates Added Files: error.401.default.tmpl error.500.default.tmpl irclog.default.tmpl Log Message: - Added a template for the HTML IRC log. - Make recap use the - Removed row_hashref_to_html as it isn't used. - Removed f_nick. Any nickname formatting should be done in the template. - Added error pages. - Added templates for error pages. Currently only 401 and 500 are provided, other errors will be displayed using 500's template. --- NEW FILE: error.401.default.tmpl --- <p>This server could not verify that you are authorized to access the URL <q><TMPL_VAL NAME=request_url></q>. This probably means that you entered the wrong user name or password, however it could also mean that your browser does not understand how to provide the credentials required.</p> <p>Please check your user name and password, and click Reload or Refresh to try again.</p> --- NEW FILE: error.500.default.tmpl --- <p>The server encountered an internal error and was unable to complete your request.</p> --- NEW FILE: irclog.default.tmpl --- <!-- SimBot Default IRC Log template Copy to irclog.local.tmpl before editing --> <h4>IRC log for <TMPL_VAR NAME=channel> from <TMPL_VAR NAME=start_time> to <TMPL_VAR NAME=end_time>.</h4> <TMPL_LOOP NAME=ircloop> <div class="row <TMPL_VAR NAME=event>"> <span class="ts"><TMPL_VAR NAME=timestamp></span> <span class="msg"><TMPL_IF EXPR="event eq 'SAY'"> <<TMPL_VAR NAME=source_nick>> <TMPL_VAR NAME=content> <TMPL_ELSE><TMPL_IF EXPR="event eq 'NOTICE'"> -<TMPL_VAR NAME=source_nick>- <TMPL_VAR NAME=content> <TMPL_ELSE><TMPL_IF EXPR="event eq 'ACTION'"> ⢠<TMPL_VAR NAME=source_nick> <TMPL_VAR NAME=content> <TMPL_ELSE><TMPL_IF EXPR="event eq 'JOINED'"> â <TMPL_VAR NAME=source_nick> joined. <TMPL_ELSE><TMPL_IF EXPR="event eq 'PARTED'"> â <TMPL_VAR NAME=source_nick> left. <TMPL_ELSE><TMPL_IF EXPR="event eq 'QUIT'"> â <TMPL_VAR NAME=source_nick> quit IRC. <TMPL_ELSE><TMPL_IF EXPR="event eq 'TOPIC'"> â´ <TMPL_VAR NAME=source_nick> set the topic to: <TMPL_VAR NAME=content> <TMPL_ELSE><TMPL_IF EXPR="event eq 'MODE'"> â <TMPL_VAR NAME=source_nick> set mode <TMPL_VAR NAME=content> <TMPL_ELSE><TMPL_IF EXPR="event eq 'KICKED'"> â <TMPL_VAR NAME=target_nick> was kicked by <TMPL_VAR NAME=source_nick> (<TMPL_VAR NAME=content>) <TMPL_ELSE><TMPL_IF EXPR="event eq 'NICK'"> â <TMPL_VAR NAME=source_nick> is now known as <TMPL_VAR NAME=target_nick> </TMPL_IF></TMPL_IF></TMPL_IF></TMPL_IF></TMPL_IF></TMPL_IF> </TMPL_IF></TMPL_IF></TMPL_IF></TMPL_IF></span> </div> </TMPL_LOOP> <!-- End irclog --> |