Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 830 → Rev 831

/trunk/client/phorum/bibliotheque/phorum/templates/blog/login.tpl
New file
0,0 → 1,33
{IF ERROR}
<h4>{ERROR}</h4>
{/IF}
 
<form id="login-form" action="{URL->ACTION}" method="post">
{POST_VARS}
<input type="hidden" name="forum_id" value="{LOGIN->forum_id}" />
<input type="hidden" name="redir" value="{LOGIN->redir}" />
<table cellspacing="0">
<tr>
<td>{LANG->Username}:&nbsp;</td>
<td><input type="text" name="username" size="30" value="{LOGIN->username}" /></td>
</tr>
<tr>
<td>{LANG->Password}:&nbsp;</td>
<td><input type="password" name="password" size="30" value="" /></td>
</tr>
<tr>
<td colspan="2" align="right"><input type="submit" class="PhorumSubmit" value="{LANG->Submit}" /></td>
</tr>
</table>
<br /><a href="{URL->REGISTER}">{LANG->NotRegistered}</a>
</form>
<br /><br />
<form id="lostpass-form" action="{URL->ACTION}" method="post">
{POST_VARS}
<input type="hidden" name="lostpass" value="1" />
<input type="hidden" name="forum_id" value="{LOGIN->forum_id}" />
<input type="hidden" name="redir" value="{LOGIN->redir}" />
<h2>{LANG->LostPassword}</h2>
{LANG->LostPassInfo}<br />
<input type="text" name="lostpass" size="30" value="" /> <input type="submit" class="PhorumSubmit" value="{LANG->Submit}" />
</form>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/posting_attachments_list.tpl
New file
0,0 → 1,22
<b>{LANG->Attachments}:</b>
<table id="phorum-attachment-list" class="PhorumFormTable" cellspacing="0" width="100%">
 
<?php $alt = "Alt"; ?>
{ASSIGN LIST POST->attachments}
{LOOP LIST}
<?php $alt = $alt == "" ? "Alt" : "" ;?>
{IF LIST->keep}
<tr>
<td>
{LIST->name} ({LIST->size})
</td>
<td align="right">
{HOOK tpl_editor_attachment_buttons LIST}
<input type="submit" name="detach:{LIST->file_id}"
value="{LANG->Detach}" class="PhorumSubmit" />
</td>
</tr>
{/IF}
{/LOOP LIST}
 
</table>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/read.tpl
New file
0,0 → 1,30
<?php $count = 0; ?>
{LOOP MESSAGES}
{IF MESSAGES->parent_id 0}
<div class="entry">
<h1>{MESSAGES->subject}</h1>
<p>{MESSAGES->body}</p>
<small>Post by {MESSAGES->linked_author} on {MESSAGES->datestamp}</small>
<small>{IF MODERATOR true}<a href="{MESSAGES->edit_url}">edit</a>&nbsp;|&nbsp;<a href="{MESSAGES->delete_url2}">delete</a>{/IF}</small>
</div>
<div id="comments">
<h2>Comments</h2>
{ELSE}
<a name="msg-{MESSAGES->message_id}"></a>
<?php
$class = ($count%2==0) ? "comment-alt" : "";
$count++;
?>
<div class="comment <?php echo $class;?>">
<h1>{MESSAGES->subject}</h1>
<p>{MESSAGES->body}</p>
<small>Post by {MESSAGES->linked_author} on {MESSAGES->datestamp}</small>
{IF MODERATOR true}<small><a href="{MESSAGES->edit_url}">edit</a>&nbsp;|&nbsp;<a href="{MESSAGES->delete_url1}">delete</a></small>{/IF}
</div>
 
{/IF}
 
{/LOOP MESSAGES}
</div>
 
<h3>Post A Comment</h3>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/list.tpl
New file
0,0 → 1,10
{LOOP ROWS}
{IF NOT ROWS->sort 0} {! Skip announcements }
<div class="entry">
<h1>{ROWS->subject}</h1>
<p>{ROWS->body}</p>
<small>Post by {ROWS->linked_author} on {ROWS->datestamp}</small>
<small>{IF MODERATOR true}<a href="<?php echo phorum_get_url(PHORUM_POSTING_URL, "moderation", $PHORUM["TMP"]["ROWS"]["message_id"]);?>">edit</a>&nbsp;|&nbsp;{/IF}<a href="{ROWS->url}"><?php echo $PHORUM["TMP"]["ROWS"]["thread_count"]-1; ?> comment(s)</a></small>
</div>
{/IF}
{/LOOP ROWS}
/trunk/client/phorum/bibliotheque/phorum/templates/blog/posting_messageform.tpl
New file
0,0 → 1,76
<table id="post" cellspacing="0" border="0">
 
{! A submit button that will be used to catch users pressing enter }
<script type="text/javascript">
document.write('<input type="submit" name="ignore" style="display:none">');
</script>
 
{! Author =================================================================== }
 
<tr>
<td style="white-space: nowrap">{LANG->YourName}:&nbsp;</td>
<td width="100%">
{! Editing a message }
{IF POST->message_id}
{IF POST->user_id}
{POST->author}
{ELSE}
{IF MODERATOR}
<input type="text" name="author" size="30" value="{POST->author}" />
{ELSE}
<?php print $PHORUM["user"]["username"] ?>
{/IF}
{/IF}
{! Writing a new message }
{ELSE}
{IF LOGGEDIN}
<?php print $PHORUM["user"]["username"] ?>
{ELSE}
<input type="text" name="author" size="30" value="{POST->author}" />
{/IF}
{/IF}
</td>
</tr>
 
{! Subject ================================================================== }
 
<tr>
<td style="white-space: nowrap">{LANG->Subject}:&nbsp;</td>
<td>
<input type="text" name="subject" id="phorum_subject" size="50" value="{POST->subject}" />
</td>
</tr>
 
{HOOK tpl_editor_after_subject}
 
{IF POST->user_id}
<tr>
<td></td>
<td>
{IF SHOW_THREADOPTIONS}{IF OPTION_ALLOWED->allow_reply}
<input type="checkbox" name="allow_reply" value="1" {IF POST->allow_reply} checked="checked"{/IF}> {LANG->AllowReplies}<br/>
{/IF}{/IF}
<input type="checkbox" name="email_notify" value="1" {IF POST->email_notify} checked="checked"{/IF} /> {LANG->EmailReplies}<br/>
<input type="checkbox" name="show_signature" value="1" {IF POST->show_signature} checked="checked"{/IF} /> {LANG->AddSig}
</td>
</tr>
{/IF}
 
</table>
 
</div>
 
{! Attachments ============================================================== }
 
{IF ATTACHMENTS}
{include posting_attachments}
{/IF}
 
 
{! Body ===================================================================== }
 
 
{HOOK tpl_editor_before_textarea}
 
<textarea name="body" id="phorum_textarea" rows="15" cols="50">{POST->body}</textarea>
 
/trunk/client/phorum/bibliotheque/phorum/templates/blog/cc_index.tpl
New file
0,0 → 1,68
{IF ERROR}
<h4>{ERROR}</h4>
{/IF}
 
<h2>{LANG->PersProfile}</h2>
 
<form id="profile-form" action="{URL->ACTION}" method="POST">
{POST_VARS}
<input type="hidden" name="panel" value="email" />
<input type="hidden" name="forum_id" value="{PROFILE->forum_id}" />
<table class="PhorumFormTable" cellspacing="0" border="0">
<tr>
<td nowrap="nowrap">{LANG->RealName}:&nbsp;</td>
<td><input type="text" name="real_name" size="30" value="{PROFILE->real_name}" /></td>
</tr>
<tr>
<td valign="top">{LANG->Email}*:&nbsp;{if PROFILE->EMAIL_CONFIRM}<br />{LANG->EmailConfirmRequired}{/if}</td>
<td><input type="text" name="email" size="30" value="{PROFILE->email}" /></td>
</tr>
{IF PROFILE->email_temp_part}
<tr>
<td valign="top">{LANG->EmailVerify}:&nbsp;</td>
<td>{LANG->EmailVerifyDesc} {PROFILE->email_temp_part}<br>
{LANG->EmailVerifyEnterCode}: <input type="text" name="email_verify_code" value="" />
</td>
</tr>
{/IF}
<tr>
<td colspan="2"><input type="checkbox" name="hide_email" value="1"{IF PROFILE->hide_email 1}{ELSE} checked="checked"{/IF} /> {LANG->AllowSeeEmail}</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td valign="top" nowrap="nowrap">{LANG->Signature}:&nbsp;</td>
<td width="100%"><textarea name="signature" rows="15" cols="50">{PROFILE->signature}</textarea></td>
</tr>
</table>
<input type="submit" value="{LANG->Submit}" />
</form>
<br />
<br />
<br />
<h2>{LANG->ChangePassword}</h2>
 
<form id="profile-form" action="{URL->ACTION}" method="POST">
{POST_VARS}
<input type="hidden" name="panel" value="password" />
<input type="hidden" name="forum_id" value="{PROFILE->forum_id}" />
<table class="PhorumFormTable" cellspacing="0" border="0">
<tr>
<td nowrap="nowrap">{LANG->Password}:&nbsp;</td>
<td><input type="password" name="password" size="30" value="" /></td>
</tr>
<tr>
<td nowrap="nowrap">&nbsp;</td>
<td><input type="password" name="password2" size="30" value="" /> ({LANG->again})</td>
</tr>
</table>
*{LANG->Required}<br /><br />
<input type="submit" value="{LANG->Submit}" />
</form>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/posting_attachments.tpl
New file
0,0 → 1,38
<div class="PhorumStdBlockHeader PhorumNarrowBlock">
 
{IF POST->attachments}
{include posting_attachments_list}
 
{ASSIGN AttachPhrase LANG->AttachAnotherFile}
 
{ELSE}
{ASSIGN AttachPhrase LANG->AttachAFile}
{/IF}
 
{IF ATTACHMENTS_FULL}
<b>{LANG->AttachFull}</b>
{ELSE}
<script type="text/javascript">
function phorumShowAttachForm() {
document.getElementById('phorum-attach-link').style.display='none';
document.getElementById('phorum-attach-form').style.display='block';
}
document.write("<div id=\"phorum-attach-link\" style=\"display: block;\"><a href=\"javascript:phorumShowAttachForm();\"><b>{AttachPhrase} ...</b></a></div>\n");
document.write("<div id=\"phorum-attach-form\" style=\"display: none;\">");
</script>
 
<b>{AttachPhrase}</b>
 
<ul>
{IF EXPLAIN_ATTACH_FILE_TYPES}<li>{EXPLAIN_ATTACH_FILE_TYPES}{/IF}
{IF EXPLAIN_ATTACH_FILE_SIZE}<li>{EXPLAIN_ATTACH_FILE_SIZE}{/IF}
{IF EXPLAIN_ATTACH_TOTALFILE_SIZE}<li>{EXPLAIN_ATTACH_TOTALFILE_SIZE}{/IF}
{IF EXPLAIN_ATTACH_MAX_ATTACHMENTS}<li>{EXPLAIN_ATTACH_MAX_ATTACHMENTS}{/IF}
</ul>
 
<input type="file" size="50" name="attachment" />
<input type="submit" name="attach" value="{LANG->Attach}" />
<script type="text/javascript">document.write('</div>');</script>
{/IF}
 
</div>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/info.php
New file
0,0 → 1,9
<?php
if(!defined("PHORUM")) return;
 
$name="PhorumBlog Template";
$version="0.1";
 
// uncomment this to hide this template from the user-select-box
//$template_hide=1;
?>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/posting.tpl
New file
0,0 → 1,20
<div id="phorum-post-form" align="center">
 
{IF ERROR}<div class="PhorumUserError">{ERROR}</div>{/IF}
{IF OKMSG}<div class="PhorumOkMsg">{OKMSG}</div>{/IF}
 
{IF PREVIEW}
{include posting_preview}
{/IF}
 
<form id="post_form" name="post" action="{URL->ACTION}" method="post"
enctype="multipart/form-data">
{POST_VARS}
 
{include posting_messageform}
 
{include posting_buttons}
 
</form>
 
</div>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/message.tpl
New file
0,0 → 1,11
{IF ERROR}
<h4>{ERROR}</h4>
{/IF}
 
{IF MESSAGE}
<p>{MESSAGE}</p>
{/IF}
 
{IF URL->REDIRECT}
<a href="{URL->REDIRECT}">{BACKMSG}</a>
{/IF}
/trunk/client/phorum/bibliotheque/phorum/templates/blog/posting_preview.tpl
New file
0,0 → 1,6
<div class="entry" align="left">
<h1>{PREVIEW->subject}</h1>
<p>{PREVIEW->body}</p>
<small>Post by {PREVIEW->author} on {PREVIEW->datestamp}</small>
</div>
<br />
/trunk/client/phorum/bibliotheque/phorum/templates/blog/register.tpl
New file
0,0 → 1,31
{IF ERROR}
<h4>{ERROR}</h4>
{/IF}
 
<h2>Register</h2>
 
<form id="register-form" action="{URL->ACTION}" method="post">
{POST_VARS}
<input type="hidden" name="forum_id" value="{REGISTER->forum_id}" />
<table cellspacing="0" border="0">
<tr>
<td nowrap="nowrap">{LANG->Username}*:&nbsp;</td>
<td><input type="text" name="username" size="30" value="{REGISTER->username}" /></td>
</tr>
<tr>
<td nowrap="nowrap">{LANG->Email}*:&nbsp;</td>
<td><input type="text" name="email" size="30" value="{REGISTER->email}" /></td>
</tr>
<tr>
<td nowrap="nowrap">{LANG->Password}*:&nbsp;</td>
<td><input type="password" name="password" size="30" value="" /></td>
</tr>
<tr>
<td nowrap="nowrap">&nbsp;</td>
<td><input type="password" name="password2" size="30" value="" /> ({LANG->again})</td>
</tr>
</table>
<br />
*{LANG->Required}<br /><br />
<input type="submit" value="{LANG->Submit}" />
</form>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/header.tpl
New file
0,0 → 1,62
<?php echo '<?xml version="1.0" encoding="iso-8859-1"?>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html lang="<?php echo $PHORUM['locale']; ?>">
<head>
<title>{HTML_TITLE}</title>
<style type="text/css">
{include css}
</style>
{IF URL->RSS}<link rel="alternate" type="application/rss+xml" title="RSS-File" href="{URL->RSS}" />{/IF}
{if URL->REDIRECT}
<meta http-equiv="refresh" content="{IF REDIRECT_TIME}{REDIRECT_TIME}{ELSE}5{/IF}; url={URL->REDIRECT}" />
{/if}
{LANG_META}
{HEAD_TAGS}
</head>
<body>
 
<div id="right-column">
 
<h1>The Phorum Blog Template</h1>
Search:<br />
<form id="search-form" action="<?php echo phorum_get_url(PHORUM_SEARCH_ACTION_URL); ?>" method="get" >
<input type="hidden" name="forum_id" value="{FORUM_ID}" />
<input type="hidden" name="match_type" value="ALL" />
<input type="hidden" name="match_dates" value="30" />
<input type="hidden" name="match_forum" value="ALL" />
<input type="hidden" name="body" value="1" />
<input type="hidden" name="author" value="0" />
<input type="hidden" name="subject" value="1" />
<input id="search" name="search" type="text" />&nbsp;<input type="submit" value="{LANG->Search}" />
</form>
 
<ul>
<li><a href="{URL->TOP}">Home</a></li>
</ul>
 
<ul>
{IF LOGGEDIN true}
<?php if (phorum_user_access_allowed(PHORUM_USER_ALLOW_NEW_TOPIC)) { ?>
<li><a href="{URL->POST}">New Post</a></li>
<?php } ?>
<li><a href="{URL->REGISTERPROFILE}">My Profile</a></li>
<li><a href="{URL->LOGINOUT}">Logout</a></li>
{ELSE}
<li><a href="{URL->LOGINOUT}">Login</a></li>
<li><a href="{URL->REGISTER}">Register</a></li>
{/IF}
</ul>
 
<ul>
<li><a href="http://phorum.org/">Phorum Home Page</a></li>
<li><a href="http://phorum.org/phorum5/">Phorum 5 Support</a></li>
<li><a href="http://phorum.org/cgi-bin/trac.cgi/report">Report Bugs</a></li>
</ul>
 
{IF URL->RSS}<a href="{URL->RSS}"><img src="/images/rss20.gif" width="80" height="15" border="0" alt="RSS 2.0" /></a>{/IF}
 
</div>
<div id="left-column">
<h1 id="title"><a href="{URL->TOP}">{NAME}</a></h1>
<p>You should read the docs about setting up the blog template before making it live. Its in the docs dir in the distro called blog_howto.txt. You can remove this comment after that.</p>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/css.tpl
New file
0,0 → 1,147
body {
margin: 10px;
font-family: Trebuchet MS, Arial, Helvetica;
font-size: 13px;
}
 
h4 {
color: red;
}
 
#right-column {
float: right;
width: 200px;
padding: 0 10px 0 10px;
border-left: 1px solid Gray;
}
 
#right-column h1 {
color: Gray;
margin: 0 0 40px 0;
font-size: 18px;
}
 
#right-column ul {
padding: 0;
margin: 0 0 10px 0;
list-style: none;
}
 
#left-column {
margin-right: 220px;
padding-right: 11px;
border-right: 1px solid Gray;
}
 
#title {
margin-bottom: 55px;
}
 
#title a, #title a:visited {
text-decoration: none;
color: black;
}
 
.entry {
margin-bottom: 25px;
border-bottom: 1px solid Gray;
padding-bottom: 25px;
}
 
.entry p {
font-size: 16px;
font-family: Georgia;
line-height: 125%;
margin-left: 5px;
}
 
.entry h1 {
margin: 0 0 5px 0;
font-family: Arial;
font-size: 20px;
}
 
.entry small {
display: block;
font-size: 10px;
font-family: Verdana, Arial, Helvetica;
margin-top: 6px;
}
 
.match p {
font-size: 12px;
font-family: Arial;
margin-left: 5px;
padding: 0;
}
 
.match h1 {
margin: 0;
padding: 0;
font-family: Arial;
font-size: 13px;
font-weight: bold;
}
 
.match h1 a, .match h1 a:visited {
colot: blue;
}
 
.match small {
display: block;
font-size: 10px;
font-family: Verdana, Arial, Helvetica;
}
 
 
#comments {
border-top: 1px solid Gray;
border-bottom: 1px solid Gray;
margin: 25px 0 25px 0;
padding: 0px 0 20px 0;
}
 
.comment {
padding: 8px;
}
 
.comment-alt {
background-color: #F0F0F0;
}
 
.comment p {
font-size: 13px;
font-family: Arial, Helvetica;
line-height: 110%;
margin-left: 5px;
}
 
.comment h1 {
margin: 0 0 5px 0;
font-family: Arial;
font-size: 16px;
}
 
.comment small {
display: block;
font-size: 10px;
font-family: Verdana, Arial, Helvetica;
margin-top: 6px;
}
 
#search-form #search {
width: 120px;
}
 
#post {
margin: 5px 10px 0 10px;
}
 
#post td {
padding: 3px;
}
 
#post-body {
width: 99%;
margin: 0 10px 0 10px;
}
/trunk/client/phorum/bibliotheque/phorum/templates/blog/move_form.tpl
New file
0,0 → 1,29
<div align="center">
 
<div class="PhorumNavBlock PhorumNarrowBlock" style="text-align: left;">
<span class="PhorumNavHeading PhorumHeadingLeft">{LANG->Goto}:</span>&nbsp;<a class="PhorumNavLink" href="{URL->INDEX}">{LANG->ForumList}</a>&bull;<a class="PhorumNavLink" href="{URL->TOP}">{LANG->MessageList}</a>&bull;<a class="PhorumNavLink" href="{URL->SEARCH}">{LANG->Search}</a>{if LOGGEDIN true}&bull;<a class="PhorumNavLink" href="{URL->REGISTERPROFILE}">{LANG->MyProfile}</a>{IF ENABLE_PM}&bull;<a class="PhorumNavLink" href="{URL->PM}">{LANG->PrivateMessages}</a>{/IF}&bull;<a class="PhorumNavLink" href="{URL->LOGINOUT}">{LANG->LogOut}</a>{/if}{if LOGGEDIN false}&bull;<a class="PhorumNavLink" href="{URL->LOGINOUT}">{LANG->LogIn}</a>{/if}</a>
</div>
 
<form method="POST" action="{URL->ACTION}">
{POST_VARS}
<input type="hidden" name="forum_id" value="{FORM->forum_id}" />
<input type="hidden" name="thread" value="{FORM->thread_id}" />
<input type="hidden" name="mod_step" value="{FORM->mod_step}" />
 
<div class="PhorumStdBlockHeader PhorumNarrowBlock" style="text-align: left;"><span class="PhorumHeadingLeft">{LANG->MoveThread}</span></div>
<div class="PhorumStdBlock PhorumNarrowBlock" style="text-align: left;">
<div class="PhorumFloatingText">
{LANG->MoveThreadTo}:<br />
<select name="moveto">
<option value="0">{LANG->SelectForum}</option>
{LOOP FORUMS}
<option value="{FORUMS->forum_id}">{FORUMS->name}</option>
{/LOOP FORUMS}
</select>
<input type="submit" class="PhorumSubmit" name="move" value="{LANG->MoveThread}" />
</div>
</div>
 
</form>
 
</div>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/footer.tpl
New file
0,0 → 1,3
</div>
</body>
</html>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/settings.tpl
New file
0,0 → 1,84
{! --- defines are used by the engine and vars are used by the template --- }
 
{! --- This is used to indent messages in threaded view --- }
{define indentstring &nbsp;&nbsp;&nbsp;}
 
{! --- This is used to load the message-bodies in the message-list for that template if set to 1 --- }
{define bodies_in_list 1}
 
{! --- This is used to load all the message-bodies in the read-message-view also in threaded-view for that template if set to 1 --- }
{define all_bodies_in_threaded_read 0}
 
{! --- This is the marker for messages in threaded view --- }
{define marker <img src="templates/default/images/carat.gif" border="0" width="8" height="8" alt="" style="vertical-align: middle;" />&nbsp;}
 
{! --- these are the colors used in the style sheet --- }
 
{! --- you can use them or replace them in the style sheet --- }
 
 
 
{! --- common body-colors --- }
{var bodybackground White}
{var defaulttextcolor Black}
{var backcolor White}
{var forumwidth 100%}
{var forumalign center}
{var newflagcolor #CC0000}
{var errorfontcolor Red}
 
 
{! --- for the forum-list ... alternating colors --- }
{var altbackcolor #EEEEEE}
{var altlisttextcolor #000000}
 
{! --- common link-settings --- }
{var linkcolor #000099}
{var activelinkcolor #FF6600}
{var visitedlinkcolor #000099}
{var hoverlinkcolor #FF6600}
 
{! --- for the Navigation --- }
{var navbackcolor #EEEEEE}
{var navtextcolor #000000}
{var navhoverbackcolor #FFFFFF}
{var navhoverlinkcolor #FF6600}
{var navtextweight normal}
{var navfont Lucida Sans Unicode, Lucida Grande, Arial}
{var navfontsize 12px}
 
{! --- for the PhorumHead ... the list-header --- }
{var headerbackcolor #EEEEEE}
{var headertextcolor #000000}
{var headertextweight bold}
{var headerfont Lucida Sans Unicode, Lucida Grande, Arial}
{var headerfontsize 12px}
 
 
 
{var tablebordercolor #808080}
 
{var listlinecolor #F2F2F2}
 
{var listpagelinkcolor #707070}
{var listmodlinkcolor #707070}
 
 
 
 
 
{! --- You can set the table width globaly here ... ONLY tables, no divs are changed--- }
{var tablewidth 100%}
{var narrowtablewidth 600px}
 
 
 
{! --- Some font stuff --- }
{var defaultfont Lucida Sans Unicode, Lucida Grande, Arial}
{var largefont Trebuchet MS,Verdana, Arial, Helvetica, sans-serif}
{var tinyfont Arial, Helvetica, sans-serif}
{var fixedfont Lucida Console, Andale Mono, Courier New, Courier}
{var defaultfontsize 12px}
{var largefontsize 16px}
{var smallfontsize 11px}
{var tinyfontsize 10px}
/trunk/client/phorum/bibliotheque/phorum/templates/blog/profile.tpl
New file
0,0 → 1,19
<h3>{PROFILE->username}</h3>
<table cellspacing="0" border="0">
<tr>
<td nowrap="nowrap">{LANG->Email}:&nbsp;</td>
<td>{PROFILE->email}</td>
</tr>
{IF PROFILE->real_name}
<tr>
<td nowrap="nowrap">{LANG->RealName}:&nbsp;</td>
<td>{PROFILE->real_name}</td>
</tr>
{/IF}
{IF PROFILE->date_added}
<tr>
<td nowrap="nowrap">{LANG->DateReg}:&nbsp;</td>
<td>{PROFILE->date_added}</td>
</tr>
{/IF}
</table>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/posting_buttons.tpl
New file
0,0 → 1,12
<div class="PhorumStdBlock PhorumNarrowBlock" style="text-align: right; border-top: none">
{HOOK tpl_editor_buttons}
 
<input type="submit" name="preview"
class="PhorumSubmit" value=" {LANG->Preview} " />
<input type="submit" name="finish"
class="PhorumSubmit" value=" {POST->submitbutton_text} " />
{IF SHOW_CANCEL_BUTTON}
<input type="submit" name="cancel" onclick="return confirm('{LANG->CancelConfirm}')"
class="PhorumSubmit" value=" {LANG->Cancel} " />
{/IF}
</div>
/trunk/client/phorum/bibliotheque/phorum/templates/blog/search.tpl
New file
0,0 → 1,31
{IF SEARCH->noresults}
<h3>{LANG->NoResults}</h3>
{/IF}
 
{IF SEARCH->showresults}
 
 
<h3>{LANG->Results} {RANGE_START} - {RANGE_END} {LANG->of} {TOTAL}</h3>
<hr />
{LOOP MATCHES}
 
<div class="match">
<h1>{MATCHES->number}.&nbsp;<a href="{MATCHES->url}">{MATCHES->subject}</a></h1>
<p>{MATCHES->short_body}</p>
<small>Post by {MATCHES->author} on {MATCHES->datestamp}&nbsp;&nbsp;|&nbsp;&nbsp;<a href="{MATCHES->url}"><?php echo $PHORUM["TMP"]["MATCHES"]["thread_count"]-1; ?> comment(s)</a></small>
</div>
<hr />
{/LOOP MATCHES}
 
{IF PAGES}
<br /><br /><strong>{LANG->CurrentPage}:</strong>{CURRENTPAGE} {LANG->of} {TOTALPAGES}&nbsp;&nbsp;&nbsp;
<strong>{LANG->Pages}:</strong>&nbsp;
{IF URL->PREVPAGE}<a class="PhorumNavLink" href="{URL->PREVPAGE}">{LANG->PrevPage}</a>{/IF}
{IF URL->FIRSTPAGE}<a class="PhorumNavLink" href="{URL->FIRSTPAGE}">{LANG->FirstPage}...</a>{/IF}
{LOOP PAGES}<a class="PhorumNavLink" href="{PAGES->url}">{PAGES->pageno}</a>{/LOOP PAGES}
{IF URL->LASTPAGE}<a class="PhorumNavLink" href="{URL->LASTPAGE}">...{LANG->LastPage}</a>{/IF}
{IF URL->NEXTPAGE}<a class="PhorumNavLink" href="{URL->NEXTPAGE}">{LANG->NextPage}</a>{/IF}
<br />
{/IF}
 
{/IF}