[geeklog-cvs] geeklog: Removed commented-out code
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Nov 16 11:40:07 EST 2008
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/b89f8ccd00fe
changeset: 6472:b89f8ccd00fe
user: Dirk Haun <dirk at haun-online.de>
date: Sun Nov 16 17:17:28 2008 +0100
description:
Removed commented-out code
diffstat:
1 file changed, 5 insertions(+), 13 deletions(-)
public_html/admin/story.php | 18 +++++-------------
diffs (29 lines):
diff -r 035dfc00117c -r b89f8ccd00fe public_html/admin/story.php
--- a/public_html/admin/story.php Sun Nov 16 13:12:09 2008 +0100
+++ b/public_html/admin/story.php Sun Nov 16 17:17:28 2008 +0100
@@ -509,20 +509,12 @@
$story_templates->set_var('lang_optionarchive', $LANG24[61]);
$story_templates->set_var('lang_optiondelete', $LANG24[62]);
$story_templates->set_var('lang_title', $LANG_ADMIN['title']);
-// if ($A['postmode'] == 'plaintext') {
-// $A['title'] = str_replace ('$', '$', $A['title']);
-// }
-//
-// $A['title'] = str_replace('{','{',$A['title']);
-// $A['title'] = str_replace('}','}',$A['title']);
-// $A['title'] = str_replace('"','"',$A['title']);
- $story_templates->set_var('story_title', $story->EditElements('title'));//stripslashes ($A['title']));
+ $story_templates->set_var('story_title', $story->EditElements('title'));
$story_templates->set_var('lang_topic', $LANG_ADMIN['topic']);
- if(empty($currenttopic) && ($story->EditElements('tid') == ''))
- {
- $story->setTid( DB_getItem ($_TABLES['topics'], 'tid',
- 'is_default = 1' . COM_getPermSQL ('AND')));
- } else if ($story->EditElements('tid') == '') {
+ if(empty($currenttopic) && ($story->EditElements('tid') == '')) {
+ $story->setTid(DB_getItem($_TABLES['topics'], 'tid',
+ 'is_default = 1' . COM_getPermSQL('AND')));
+ } elseif ($story->EditElements('tid') == '') {
$story->setTid($currenttopic);
}
$story_templates->set_var ('topic_options',
More information about the geeklog-cvs
mailing list