|
From: <dac...@us...> - 2007-09-10 03:46:13
|
Revision: 58
http://thevr.svn.sourceforge.net/thevr/?rev=58&view=rev
Author: dachebodt
Date: 2007-09-09 20:46:15 -0700 (Sun, 09 Sep 2007)
Log Message:
-----------
A few updates
Modified Paths:
--------------
mods/cms/trunk/modules/content/acp_content.php
mods/cms/trunk/modules/content/cms_content.php
mods/cms/trunk/modules/content/functions_content.php
mods/cms/trunk/modules/content/functions_properties.php
mods/cms/trunk/modules/content/info/acp_content.php
mods/cms/trunk/modules/content/info/cms_content.php
mods/cms/trunk/modules/content/info/content_info.php
mods/cms/trunk/modules/content/info/mcp_content.php
mods/cms/trunk/modules/content/info/ucp_content.php
mods/cms/trunk/modules/content/language/en/content.php
mods/cms/trunk/modules/content/mcp_content.php
mods/cms/trunk/modules/content/template/acp_content.html
mods/cms/trunk/modules/content/ucp_content.php
Modified: mods/cms/trunk/modules/content/acp_content.php
===================================================================
--- mods/cms/trunk/modules/content/acp_content.php 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/acp_content.php 2007-09-10 03:46:15 UTC (rev 58)
@@ -1,8 +1,8 @@
<?php
/**
*
-* @package acp
-* @version $Id: acp_content.php,v 1.38 2006/11/24 14:58:07 acydburn Exp $
+* @package content
+* @version $Id: acp_content.php,v 1.38 2006/11/24 14:58:07 Blitze Exp $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
@@ -32,7 +32,7 @@
$field_id = request_var('f', '');
$content_id = request_var('t', '');
- $fields_ary = array('title', 'image', 'summary', 'content');
+ $fields_ary = array('title', 'summary', 'content');
$_module = &new acp_modules();
$_module->module_class = 'cms';
@@ -189,17 +189,24 @@
$item_id = request_var('id', '');
$status = request_var('status', '1');
+ $post_date = request_var('post_date', '');
$post_time = request_var('post_time', '');
- $tags = request_var('tags', '');
+ $tags = utf8_normalize_nfc(request_var('tags', '', true));
if($post_time)
{
+ $date_ary = explode('/', $post_date);
$time_ary = explode('/', $post_time);
- $month = $time_ary[0];
- $day = $time_ary[1];
- $year = $time_ary[2];
- $post_time = mktime(0, 0, 0, $month, $day, $year);
+ $month = $date_ary[0];
+ $day = $date_ary[1];
+ $year = $date_ary[2];
+ $hour = $time_ary[0];
+ $minute = $time_ary[1];
+
+ $dst = $config['board_dst'] * 3600;
+ $timezone = (($user->data['user_id'] != ANONYMOUS) ? strval(doubleval($user->data['user_timezone'])) : strval(doubleval($config['board_timezone']))) * 3600;
+ $post_time = gmmktime($hour, $minute, 0, $month, $day, $year) + $timezone + $dst;
}
save_item($content_id, $status, $post_time, $tags);
@@ -353,7 +360,6 @@
include_once($phpbb_root_path . "modules/content/functions_properties.$phpEx");
$data[] = array('name' => 'title', 'label' => '', 'type' => '0', 'teaser' => '1', 'body' => '1', 'required' => '1', 'validate' => '');
- $data[] = array('name' => 'image', 'label' => '', 'type' => '0', 'teaser' => '', 'body' => '', 'required' => '', 'validate' => '');
$data[] = array('name' => 'summary', 'label' => '', 'type' => '1', 'teaser' => '', 'body' => '', 'required' => '', 'validate' => '');
$data[] = array('name' => 'content', 'label' => '', 'type' => '2', 'teaser' => '', 'body' => '', 'required' => '', 'validate' => '');
Modified: mods/cms/trunk/modules/content/cms_content.php
===================================================================
--- mods/cms/trunk/modules/content/cms_content.php 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/cms_content.php 2007-09-10 03:46:15 UTC (rev 58)
@@ -1,7 +1,7 @@
<?php
/**
*
-* @package cms
+* @package Content
* @version $Id: cms_content.php,v 1.38 2006/11/24 14:58:07 Blitze Exp $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
@@ -96,7 +96,7 @@
if($item_id)
{
$sql_array = array(
- 'SELECT' => 'c.id, c.title, c.content_id, c.image, c.summary, c.summary_bitfield, c.summary_uid, c.summary_options, c.content, c.content_bitfield, c.content_uid, c.content_options, c.author, c.post_time, c.approver, c.keywords, u.username as author_name, a.username as approver_name',
+ 'SELECT' => 'c.id, c.title, c.content_id, c.summary, c.summary_bitfield, c.summary_uid, c.summary_options, c.content, c.content_bitfield, c.content_uid, c.content_options, c.author, c.post_time, c.approver, c.keywords, u.username as author_name, a.username as approver_name',
'FROM' => array(
USERS_TABLE => 'u',
@@ -143,7 +143,6 @@
$mtemplate->assign_vars(array(
'S_ITEM' => true,
- 'S_IMAGE' => ($this->data['image']['body']) ? true : false,
'S_SUMMARY' => ($this->data['summary']['body']) ? true : false,
'S_CONTENT' => ($this->data['content']['body']) ? true : false,
'S_CAN_COMMENT' => ($auth->acl_get('u_comments_post')) ? true : false,
@@ -153,7 +152,6 @@
'TITLE' => censor_text($row['title']),
'AUTHOR' => $row['author_name'],
'POSTED' => $user->format_date($row['post_time']),
- 'IMAGE' => ($this->data['image']['body']) ? $row['image'] : '',
'SUMMARY' => ($this->data['summary']['body']) ? $this->parse_text('summary', $row) : '',
'CONTENT' => $text,
'APPROVER' => $row['approver_name'],
@@ -248,7 +246,7 @@
}
}
- $sql = 'SELECT c.id, c.title, c.image, c.summary, c.summary_bitfield, c.summary_uid, c.summary_options, c.content, c.content_bitfield, c.content_uid, c.content_options, c.author, c.post_time, c.status, u.username
+ $sql = 'SELECT c.id, c.title, c.summary, c.summary_bitfield, c.summary_uid, c.summary_options, c.content, c.content_bitfield, c.content_uid, c.content_options, c.author, c.post_time, c.status, u.username
FROM ' . USERS_TABLE . ' u, ' . CONTENT_TABLE. ' c
WHERE c.author = u.user_id
AND c.content_id = ' . $content_data['content_id'] . '
@@ -297,7 +295,6 @@
'CONTENT_TITLE' => $title,
'CONTENT_AUTHOR' => $row['username'],
'CONTENT_POSTED' => $user->format_date($row['post_time']),
- 'CONTENT_IMAGE' => ($this->data['image']['teaser']) ? $row['image'] : '',
'CONTENT_SUMMARY' => ($this->data['summary']['teaser']) ? $this->parse_text('summary', $row) : '',
'CONTENT' => $content,
'NUM_COMMENTS' => $num_comments,
Modified: mods/cms/trunk/modules/content/functions_content.php
===================================================================
--- mods/cms/trunk/modules/content/functions_content.php 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/functions_content.php 2007-09-10 03:46:15 UTC (rev 58)
@@ -1,4 +1,12 @@
<?php
+/**
+*
+* @package content
+* @version $Id: functions_content.php,v 1.38 2006/11/24 14:58:07 Blitze Exp $
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
function add_item($type_id)
{
@@ -8,11 +16,11 @@
$item_id = request_var('id', '');
- $row['id'] = $row['status'] = $row['title'] = $row['image'] = $row['summary'] = $row['summary_uid'] = $row['content'] = $row['content_uid'] = $row['keywords'] = $row['post_time'] = $row['status'] = '';
+ $row['id'] = $row['status'] = $row['title'] = $row['summary'] = $row['summary_uid'] = $row['content'] = $row['content_uid'] = $row['keywords'] = $row['post_time'] = $row['status'] = '';
if($item_id)
{
- $sql = 'SELECT c.id, c.content_id, c.title, c.image, c.summary, c.summary_uid, c.content, c.content_uid, c.keywords, c.author, c.post_time, c.status, c.approver, u.username as author_name, a.username as approver_name
+ $sql = 'SELECT c.id, c.content_id, c.title, c.summary, c.summary_uid, c.content, c.content_uid, c.keywords, c.author, c.post_time, c.status, c.approver, u.username as author_name, a.username as approver_name
FROM ' . USERS_TABLE . ' u, ' . CONTENT_TYPES_TABLE . ' t, ' . CONTENT_TABLE . ' c
LEFT JOIN ' . USERS_TABLE . " a
ON a.user_id = c.approver
@@ -22,11 +30,10 @@
$row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
- $post_time = date("m/d/Y", $row['post_time']);
-
$mtemplate->assign_vars(array(
'STATUS' => $row['status'],
- 'POST_TIME' => $post_time,
+ 'POST_DATE' => $user->format_date($row['post_time'], 'm/d/Y', true),
+ 'POST_TIME' => $user->format_date($row['post_time'], 'H:i', true),
'TAGS' => $row['keywords'],
));
}
@@ -122,7 +129,7 @@
$sql_ary = array(
'content_id' => $type_id,
'status' => $status,
- 'keywords' => $tags,
+ 'keywords' => utf8_case_fold_nfc($tags),
'post_time' => ($post_time) ? $post_time : time()
);
Modified: mods/cms/trunk/modules/content/functions_properties.php
===================================================================
--- mods/cms/trunk/modules/content/functions_properties.php 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/functions_properties.php 2007-09-10 03:46:15 UTC (rev 58)
@@ -1,4 +1,12 @@
-<?
+<?php
+/**
+*
+* @package content
+* @version $Id: functions_properties.php,v 1.38 2006/11/24 14:58:07 Blitze Exp $
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
function get_properties()
{
Modified: mods/cms/trunk/modules/content/info/acp_content.php
===================================================================
--- mods/cms/trunk/modules/content/info/acp_content.php 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/info/acp_content.php 2007-09-10 03:46:15 UTC (rev 58)
@@ -1,8 +1,8 @@
<?php
/**
*
-* @package acp
-* @version $Id: acp_content.php,v 1.2 2006/05/01 19:45:42 grahamje Exp $
+* @package content
+* @version $Id: acp_content.php,v 1.2 2006/05/01 19:45:42 Blitze Exp $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
@@ -40,7 +40,6 @@
`summary_uid` varchar(5) collate utf8_bin NOT NULL,
`summary_options` int(11) unsigned NOT NULL default '7',
`summary` text collate utf8_bin,
- `image` text collate utf8_bin NOT NULL,
`content` text collate utf8_bin,
`content_bitfield` varchar(255) collate utf8_bin NOT NULL,
`content_uid` varchar(5) collate utf8_bin NOT NULL,
@@ -54,9 +53,7 @@
) CHARACTER SET `utf8` COLLATE `utf8_bin`";
$sql_ary[] = 'CREATE TABLE IF NOT EXISTS ' . CONTENT_TYPES_TABLE . " (
- `content_id` int(3) NOT NULL auto_increment,
- `content_name` varchar(125) collate utf8_bin NOT NULL,
- `content_langname` varchar(255) collate utf8_bin NOT NULL,
+ `content_id` mediumint(8) NOT NULL auto_increment,
`content_fields` text collate utf8_bin,
`req_approval` tinyint(1) NOT NULL default '1',
`allow_comments` tinyint(1) NOT NULL default '1',
@@ -67,8 +64,6 @@
`allow_smilies` tinyint(1) NOT NULL default '1',
`allow_urls` tinyint(1) NOT NULL default '1',
`display_type` tinyint(1) NOT NULL default '0',
- `active` tinyint(1) NOT NULL default '0',
- `content_order` tinyint(2) NOT NULL default '0',
PRIMARY KEY (`content_id`)
) CHARACTER SET `utf8` COLLATE `utf8_bin`";
Modified: mods/cms/trunk/modules/content/info/cms_content.php
===================================================================
--- mods/cms/trunk/modules/content/info/cms_content.php 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/info/cms_content.php 2007-09-10 03:46:15 UTC (rev 58)
@@ -1,8 +1,8 @@
<?php
/**
*
-* @package cms
-* @version $Id: cms_content.php,v 1.2 2006/05/01 19:45:42 grahamje Exp $
+* @package content
+* @version $Id: cms_content.php,v 1.2 2006/05/01 19:45:42 Blitze Exp $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
@@ -75,8 +75,8 @@
if($mod_id)
{
$time = time();
- $sql_ary[] = 'INSERT INTO ' . CONTENT_TABLE . " VALUES (1, 'Welcome to phpbb3 CMS', $mod_id, '', '', 7, NULL, '', 'Congratulations! You have successfully installed the phpbb3 CMS. You may now configure your site as you wish. From the administrative control panel you can enable/disable modules and their blocks.\n\nEnjoy.', '', '', 7, '', 2, $time, 1, 0);";
- $sql_ary[] = 'INSERT INTO ' . CONTENT_TYPES_TABLE . " VALUES ($mod_id, '', '', '', 0x613a343a7b733a353a227469746c65223b613a373a7b733a353a226c6162656c223b733a353a225469746c65223b733a343a2274797065223b733a313a2230223b733a363a22746561736572223b733a313a2231223b733a343a22626f6479223b733a313a2231223b733a383a227265717569726564223b733a313a2231223b733a343a226e616d65223b733a353a227469746c65223b733a383a2276616c6964617465223b733a313a2230223b7d733a353a22696d616765223b613a373a7b733a353a226c6162656c223b733a353a22496d616765223b733a343a2274797065223b733a313a2230223b733a363a22746561736572223b733a313a2231223b733a343a22626f6479223b733a313a2231223b733a343a226e616d65223b733a353a22696d616765223b733a383a227265717569726564223b733a313a2230223b733a383a2276616c6964617465223b733a313a2230223b7d733a373a2273756d6d617279223b613a373a7b733a353a226c6162656c223b733a303a22223b733a343a2274797065223b733a313a2231223b733a343a226e616d65223b733a373a2273756d6d617279223b733a363a22746561736572223b733a313a2230223b733a343a22626f6479223b733a313a2230223b733a383a227265717569726564223b733a313a2230223b733a383a2276616c6964617465223b733a313a2230223b7d733a373a22636f6e74656e74223b613a373a7b733a353a226c6162656c223b733a343a224e657773223b733a343a2274797065223b733a313a2232223b733a363a22746561736572223b733a313a2231223b733a343a22626f6479223b733a313a2231223b733a343a226e616d65223b733a373a22636f6e74656e74223b733a383a227265717569726564223b733a313a2230223b733a383a2276616c6964617465223b733a313a2230223b7d7d, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0);";
+ $sql_ary[] = 'INSERT INTO ' . CONTENT_TABLE . " VALUES (1, 'Welcome to phpbb3 CMS', $mod_id, '', '', 7, NULL, 'Congratulations! You have successfully installed the phpbb3 CMS. You may now configure your site as you wish. From the administrative control panel you can enable/disable modules and their blocks.\n\nEnjoy.', '', '', 7, '', 2, $time, 1, 0);";
+ $sql_ary[] = 'INSERT INTO ' . CONTENT_TYPES_TABLE . " VALUES ($mod_id, 0x613a343a7b733a353a227469746c65223b613a373a7b733a353a226c6162656c223b733a353a225469746c65223b733a343a2274797065223b733a313a2230223b733a363a22746561736572223b733a313a2231223b733a343a22626f6479223b733a313a2231223b733a383a227265717569726564223b733a313a2231223b733a343a226e616d65223b733a353a227469746c65223b733a383a2276616c6964617465223b733a313a2230223b7d733a353a22696d616765223b613a373a7b733a353a226c6162656c223b733a353a22496d616765223b733a343a2274797065223b733a313a2230223b733a363a22746561736572223b733a313a2231223b733a343a22626f6479223b733a313a2231223b733a343a226e616d65223b733a353a22696d616765223b733a383a227265717569726564223b733a313a2230223b733a383a2276616c6964617465223b733a313a2230223b7d733a373a2273756d6d617279223b613a373a7b733a353a226c6162656c223b733a303a22223b733a343a2274797065223b733a313a2231223b733a343a226e616d65223b733a373a2273756d6d617279223b733a363a22746561736572223b733a313a2230223b733a343a22626f6479223b733a313a2230223b733a383a227265717569726564223b733a313a2230223b733a383a2276616c6964617465223b733a313a2230223b7d733a373a22636f6e74656e74223b613a373a7b733a353a226c6162656c223b733a343a224e657773223b733a343a2274797065223b733a313a2232223b733a363a22746561736572223b733a313a2231223b733a343a22626f6479223b733a313a2231223b733a343a226e616d65223b733a373a22636f6e74656e74223b733a383a227265717569726564223b733a313a2230223b733a383a2276616c6964617465223b733a313a2230223b7d7d, 1, 1, 1, 1, 1, 1, 1, 1, 1);";
foreach($sql_ary as $i => $sql)
{
Modified: mods/cms/trunk/modules/content/info/content_info.php
===================================================================
--- mods/cms/trunk/modules/content/info/content_info.php 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/info/content_info.php 2007-09-10 03:46:15 UTC (rev 58)
@@ -1,8 +1,8 @@
<?php
/**
*
-* @package ucp
-* @version $Id: ucp_attachments.php,v 1.3 2006/10/06 18:43:54 acydburn Exp $
+* @package content
+* @version $Id: content_info.php,v 1.3 2006/10/06 18:43:54 Blitze Exp $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Modified: mods/cms/trunk/modules/content/info/mcp_content.php
===================================================================
--- mods/cms/trunk/modules/content/info/mcp_content.php 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/info/mcp_content.php 2007-09-10 03:46:15 UTC (rev 58)
@@ -1,8 +1,8 @@
<?php
/**
*
-* @package mcp
-* @version $Id: ucp_zebra.php,v 1.2 2006/05/01 19:45:42 grahamje Exp $
+* @package content
+* @version $Id: mcp_content.php,v 1.2 2006/05/01 19:45:42 Blitze Exp $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Modified: mods/cms/trunk/modules/content/info/ucp_content.php
===================================================================
--- mods/cms/trunk/modules/content/info/ucp_content.php 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/info/ucp_content.php 2007-09-10 03:46:15 UTC (rev 58)
@@ -1,8 +1,8 @@
<?php
/**
*
-* @package ucp
-* @version $Id: ucp_zebra.php,v 1.2 2006/05/01 19:45:42 grahamje Exp $
+* @package content
+* @version $Id: ucp_content.php,v 1.2 2006/05/01 19:45:42 Blitze Exp $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Modified: mods/cms/trunk/modules/content/language/en/content.php
===================================================================
--- mods/cms/trunk/modules/content/language/en/content.php 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/language/en/content.php 2007-09-10 03:46:15 UTC (rev 58)
@@ -47,6 +47,8 @@
'VIEW_TYPE' => 'View content type',
'EDIT_TYPE' => 'Edit content type',
'EDIT_ITEM' => 'Edit Item',
+ 'ITEM_ADDED' => 'Item added successfully',
+ 'ITEM_EDITED' => 'Item updated successfully',
'NAME' => 'Content type name',
'LANGNAME' => 'Content type language name',
Modified: mods/cms/trunk/modules/content/mcp_content.php
===================================================================
--- mods/cms/trunk/modules/content/mcp_content.php 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/mcp_content.php 2007-09-10 03:46:15 UTC (rev 58)
@@ -1,8 +1,8 @@
<?php
/**
*
-* @package mcp
-* @version $Id: mcp_content.php,v 1.38 2006/11/24 14:58:07 acydburn Exp $
+* @package Content
+* @version $Id: mcp_content.php,v 1.38 2006/11/24 14:58:07 Blitze Exp $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Modified: mods/cms/trunk/modules/content/template/acp_content.html
===================================================================
--- mods/cms/trunk/modules/content/template/acp_content.html 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/template/acp_content.html 2007-09-10 03:46:15 UTC (rev 58)
@@ -3,51 +3,50 @@
<form id="edit_item" method="post" action="{U_ACTION}">
- <table cellspacing="1" cellspacing="0" border="0" width="100%">
- <tbody>
- <!-- BEGIN fields -->
- <tr>
- <td class="row3" valign="top"><label for="{fields.NAME}"><!-- IF fields.S_REQUIRED -->*<!-- ENDIF -->{fields.LABEL}</label></td>
- <td class="row3">{fields.FIELD}</td>
- </tr>
- <!-- END fields -->
+ <fieldset>
+ <legend>{L_EDIT_ITEM}</legend>
- <!-- IF CATEGORY -->
- <tr>
- <td class="row3"><label for="category">{L_CATEGORY}: </label></td>
- <td class="row3"><select name="category">{CATEGORY}</select></td>
- </tr>
- <!-- ENDIF -->
+ <!-- BEGIN fields -->
+ <dl>
+ <dt><label for="{fields.NAME}"><!-- IF fields.S_REQUIRED -->*<!-- ENDIF -->{fields.LABEL}</label></dt>
+ <dd>{fields.FIELD}</dd>
+ </dl>
+ <!-- END fields -->
- <!-- IF S_TAGS -->
- <tr>
- <td class="row3"><label for="tags">{L_TAGS}: </label></td>
- <td class="row3"><input type="text" name="tags" value="{TAGS}" /></td>
- </tr>
- <!-- ENDIF -->
+ <!-- IF CATEGORY -->
+ <dl>
+ <dt><label for="category">{L_CATEGORY}: </label></dt>
+ <dd><select name="category">{CATEGORY}</select></dd>
+ </dl>
+ <!-- ENDIF -->
- <tr>
- <td class="row3"><label for="status">{L_STATUS}: </label></td>
- <td class="row3">
- <select name="status">
- <option value="0"<!-- IF not STATUS --> selected="selected"<!-- ENDIF -->>{L_PENDING}</option>
- <option value="1"<!-- IF STATUS --> selected="selected"<!-- ENDIF -->>{L_APPROVED}</option>
- </select>
- </td>
- </tr>
- <tr>
- <td class="row3"><label for="post_time">{L_POST_TIME}: </label></td>
- <td class="row3"><input type="text" name="post_time" value="{POST_TIME}" /></td>
- </tr>
- <tr>
- <td class="row2" colspan="2">
- <p class="submit-buttons">
- <input class="button1" type="submit" id="fieldsubmit" name="submit" value="{L_SUBMIT}" />
- <input class="button2" type="reset" id="fieldreset" name="reset" value="{L_RESET}" />
- </p>
- </td>
- </tr>
- </table>
+ <!-- IF S_TAGS -->
+ <dl>
+ <dt><label for="tags">{L_TAGS}: </label></dt>
+ <dd><input type="text" name="tags" value="{TAGS}" /></dd>
+ </dl>
+ <!-- ENDIF -->
+
+ <dl>
+ <dt><label for="status">{L_STATUS}: </label></dt>
+ <dd>
+ <select name="status">
+ <option value="0"<!-- IF not STATUS --> selected="selected"<!-- ENDIF -->>{L_PENDING}</option>
+ <option value="1"<!-- IF STATUS --> selected="selected"<!-- ENDIF -->>{L_APPROVED}</option>
+ </select>
+ </dd>
+ </dl>
+ <dl>
+ <dt><label for="post_time">{L_POST_TIME}: </label><br /><span>{L_POST_TIME_EXPLAIN}</span></dt>
+ <dd><input type="text" name="post_date" value="{POST_DATE}" /> {L_TIME}: <input type="text" name="post_time" value="{POST_TIME}" /></dd>
+ </dl>
+ </fieldset>
+
+ <fieldset class="submit-buttons">
+ <legend>{L_SUBMIT}</legend>
+ <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
+ <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
+ </fieldset>
</form>
<!-- ELSEIF S_VIEW_TYPE -->
Modified: mods/cms/trunk/modules/content/ucp_content.php
===================================================================
--- mods/cms/trunk/modules/content/ucp_content.php 2007-09-08 22:26:25 UTC (rev 57)
+++ mods/cms/trunk/modules/content/ucp_content.php 2007-09-10 03:46:15 UTC (rev 58)
@@ -1,8 +1,8 @@
<?php
/**
*
-* @package ucp
-* @version $Id: ucp_content.php,v 1.38 2006/11/24 14:58:07 acydburn Exp $
+* @package content
+* @version $Id: ucp_content.php,v 1.38 2006/11/24 14:58:07 Blitze Exp $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|