1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 08:34:09 +02:00

Forum template work. (work in progress)

This commit is contained in:
Cameron
2013-03-12 20:35:04 -07:00
parent 6b91b8b3ff
commit 092f64bcf8
7 changed files with 460 additions and 115 deletions

View File

@@ -91,11 +91,11 @@ class plugin_forum_post_shortcodes extends e_shortcode
$ret = "<input class='btn button' type='submit' name='fpreview' value='".LAN_323."' /> ";
if ($action != 'nt')
{
$ret .= ($eaction ? "<input class='btn button' type='submit' name='update_reply' value='".LAN_78."' />" : "<input class='btn button' type='submit' name='reply' value='".LAN_74."' />");
$ret .= ($eaction ? "<input class='btn btn-primary button' type='submit' name='update_reply' value='".LAN_78."' />" : "<input class='btn btn-primary button' type='submit' name='reply' value='".LAN_74."' />");
}
else
{
$ret .= ($eaction ? "<input class='btn button' type='submit' name='update_thread' value='".LAN_77."' />" : "<input class='btn button' type='submit' name='newthread' value='".LAN_64."' />");
$ret .= ($eaction ? "<input class='btn button btn-primary' type='submit' name='update_thread' value='".LAN_77."' />" : "<input class='btn btn-primary button' type='submit' name='newthread' value='".LAN_64."' />");
}
return $ret;
}