e107inc/e107

View on GitHub
e107_plugins/forum/templates/forum_posted_template.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php
/*
 * e107 website system
 *
 * Copyright (C) 2008-2013 e107 Inc (e107.org)
 * Released under the terms and conditions of the
 * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
 *
 */

if (!defined('e107_INIT')) { exit; }
if(!defined('USER_WIDTH')) { define('USER_WIDTH','width:95%'); }

$FORUMPOLLPOSTED ="
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
    <td class='fcaption' colspan='2'>{LAN=FORUM_3043}</td>
</tr>
<tr>
    <td style='text-align:right; vertical-align:middle; width:20%' class='forumheader2'>".IMAGE_e."&nbsp;</td>
    <td style='vertical-align:middle; width:80%' class='forumheader2'>
        <br />{LAN=FORUM_3045}<br />
        <span class='defaulttext'><a class='forumlink' href='{THREADLINK}'>{LAN=FORUM_3046}</a><br />
        <a class='forumlink' href='{FORUMLINK}'>{LAN=FORUM_2022}</a></span><br /><br />
    </td>
</tr>
</table>";

$FORUMTHREADPOSTED = "
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
    <td class='fcaption' colspan='2'>{LAN=FORUM_3043}</td>
</tr>
<tr>
    <td style='text-align:right; vertical-align:middle; width:20%' class='forumheader2'>".IMAGE_e."&nbsp;</td>
    <td style='vertical-align:middle; width:80%' class='forumheader2'>
        <br />{LAN=FORUM_3047}<br />
        ".(defined('F_MESSAGE') ? F_MESSAGE.'<br />' : '')."
        <span class='defaulttext'><a href='{THREADLINK}'>{LAN=FORUM_3048}</a><br />
        <a href='{FORUMLINK}'>{LAN=FORUM_2022}</a></span><br /><br />
    </td>
</tr>
</table>";


$FORUMREPLYPOSTED = "
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
    <td class='fcaption' colspan='2'>{LAN=FORUM_3043}</td>
</tr>
<tr>
    <td style='text-align:right; vertical-align:middle; width:20%' class='forumheader2'>".IMAGE_e."&nbsp;</td>
    <td style='vertical-align:middle; width:80%' class='forumheader2'>
        <br />{LAN=FORUM_3049}<br />
        ".(defined('F_MESSAGE') ? F_MESSAGE.'<br />' : '')."
        <span class='defaulttext'><a href='{THREADLINK}'>{LAN=FORUM_3048}</a><br />
        <a href='{FORUMLINK}'>{LAN=FORUM_2022}</a></span><br /><br />
    </td>
</tr>
</table>";


//v2.x  ------------ Bootstrap ---------------------


$FORUM_POSTED_TEMPLATE['poll']      =   $FORUMPOLLPOSTED;

$FORUM_POSTED_TEMPLATE['thread']    =   "<div class='alert alert-success'>
                                        <h4>{LAN=FORUM_8029}</h4>
                                        <a class='btn btn-primary' href='{THREADLINK}'>{LAN=FORUM_3048}</a>
                                        <a class='btn btn-primary' href='{FORUMLINK}'>{LAN=FORUM_2022}</a>
                                        </div>";

$FORUM_POSTED_TEMPLATE['reply']     =   "<div class='alert alert-success'>
                                        <h4>{LAN=FORUM_3049}</h4>
                                        <a class='btn btn-primary' href='{THREADLINK}'>{LAN=FORUM_3048}</a>
                                        <a class='btn btn-primary' href='{FORUMLINK}'>{LAN=FORUM_2022}</a>
                                        </div>";