1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-28 16:50:07 +02:00

Polls and attachments sort of working

This commit is contained in:
mcfly
2008-12-07 04:16:39 +00:00
parent 497f433bbf
commit 2ab54d690d
13 changed files with 122 additions and 177 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/templates/forum_icons_template.php,v $
| $Revision: 1.3 $
| $Date: 2008-12-07 00:21:21 $
| $Revision: 1.4 $
| $Date: 2008-12-07 04:16:39 $
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
@@ -52,8 +52,8 @@ define("IMAGE_post", "<img src='".img_path('post.png')."' alt='' title='' style=
define("IMAGE_post2", "<img src='".img_path('post2.png')."' alt='' title='' style='border:0; vertical-align:bottom' />");
define("IMAGE_report", "<img src='".img_path('report.png')."' alt='".LAN_413."' title='".LAN_413."' style='border:0' />");
define("IMAGE_track", "<img src='".img_path('edit.png')."' alt='".LAN_391."' title='".LAN_391."' style='border:0' />");
define("IMAGE_untrack", "<img src='".img_path('quote.png')."' alt='".LAN_392."' title='".LAN_392."' style='border:0' />");
define("IMAGE_track", "<img src='".img_path('track.png')."' alt='".LAN_392."' title='".LAN_392."' style='border:0' />");
define("IMAGE_untrack", "<img src='".img_path('untrack.png')."' alt='".LAN_391."' title='".LAN_391."' style='border:0' />");
// Admin <input> Icons

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/templates/forum_post_template.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:18 $
| $Revision: 1.2 $
| $Date: 2008-12-07 04:16:39 $
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
@@ -45,10 +45,10 @@ $subjectbox = "<tr>
// the poll is optional, be careful when changing the values here, only change if you know what you're doing ...
if(!$poll_form)
{
if(is_readable(e_PLUGIN."poll/poll_class.php")) {
require_once(e_PLUGIN."poll/poll_class.php");
if(is_readable(e_PLUGIN.'poll/poll_class.php')) {
require_once(e_PLUGIN.'poll/poll_class.php');
$pollo = new poll;
$poll_form = $pollo -> renderPollForm("forum");
$poll_form = $pollo -> renderPollForm('forum');
}
}
@@ -61,7 +61,7 @@ $fileattach = "
</tr>
<tr>
<td style='width:20%' class='forumheader3'>".LAN_392."</td>
<td style='width:80%' class='forumheader3'>".LAN_393." | ".$allowed_filetypes." |<br />".LAN_394."<br />".LAN_395.": ".($pref['upload_maxfilesize'] ? $pref['upload_maxfilesize'].LAN_396 : ini_get('upload_max_filesize'))."
<td style='width:80%' class='forumheader3'>".LAN_393." | ".$allowed_filetypes." |<br />".LAN_394."<br />".LAN_395.": ".($max_upload_size ? $max_upload_size.LAN_396 : ini_get('upload_max_filesize'))."
<br />
<div id='fiupsection'>
<span id='fiupopt'>