Skip to content

Commit

Permalink
Update topics
Browse files Browse the repository at this point in the history
Update topics from 0.9.3 to 0.9.4
  • Loading branch information
Christoph Bleiweis committed May 7, 2017
1 parent 5006f00 commit 0aebd7a
Show file tree
Hide file tree
Showing 88 changed files with 1,369 additions and 581 deletions.
20 changes: 3 additions & 17 deletions wbce/modules/topics/add.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,27 +72,13 @@
}

$theq = "INSERT INTO ".TABLE_PREFIX."mod_".$mod_dir."_settings SET ";
$theq .= "section_id='".$section_id."', page_id='".$page_id."', section_title='".$section_title."' ". $addstring;
//echo $theq;
//die();
$theq .= "section_id='".$section_id."', page_id='".$page_id."', section_title='".$section_title."' ". $addstring;
$database->query($theq);
} else {
$theq = "INSERT INTO ".TABLE_PREFIX."mod_".$tablename."_settings (section_id,page_id,section_title,section_description,sort_topics,use_timebased_publishing,picture_dir,header,topics_loop,footer,topics_per_page,topic_header,topic_footer,topic_block2,pnsa_string,pnsa_max,comments_header,comments_loop,comments_footer,commenting,default_link,use_captcha,sort_comments) VALUES ('$section_id','$page_id','$section_title','','$sort_topics','$use_timebased_publishing','$picture_dir','$header','$topics_loop','$footer','$topics_per_page','$topic_header','$topic_footer','$topic_block2','$pnsa_string','$pnsa_max','$comments_header','$comments_loop','$comments_footer','$commenting','$default_link','$use_captcha','$sort_comments')";
$database->query($theq);
include('defaults/first-topics.php');
}

$database->query($theq);

$test = WB_PATH.substr($topics_directory, 0, -1);
//Add a frirst topic
if (isset($firsttopic) AND is_dir($test) ) {
$database->query($firsttopic);
// Get the id
$topic_id = $database->get_one("SELECT LAST_INSERT_ID()");

$filename = WB_PATH.$topics_directory.'welcome'.PAGE_EXTENSION;
define('TOPICS_DIRECTORY_DEPTH', $topics_directory_depth);
topics_archive_file ($filename, $topic_id, $section_id, $page_id, $create_topics_accessfiles);

}

?>
8 changes: 4 additions & 4 deletions wbce/modules/topics/add_topic.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

require('permissioncheck.php');
$mpath = WB_PATH.'/modules/'.$mod_dir.'/';
require_once($mpath.'defaults/module_settings.default.php');
require_once($mpath.'module_settings.php');
//require_once($mpath.'defaults/module_settings.default.php');
//require_once($mpath.'module_settings.php');

// Include the ordering class
require_once(WB_PATH.'/framework/class.order.php');
require(WB_PATH.'/framework/class.order.php');
// Get new order
$order = new order(TABLE_PREFIX.'mod_'.$tablename, 'position', 'topic_id', 'section_id');
$position = $order->get_new($section_id);
Expand Down Expand Up @@ -41,4 +41,4 @@
$admin->print_footer();
}

?>
?>
23 changes: 23 additions & 0 deletions wbce/modules/topics/assistant/assistant.inc.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
$assistanturl = 'assistant/';

echo '<table class="assistantpresets"><tr><td class="ov_presets">Overview Presets:<br/>';
$Arr = array('ov_standard','ov_grid2_thumb','ov_grid3_thumb','ov_grid2_pic','ov_grid3_pic','ov_grid4_pic','ov_collector_sidebar');
foreach($Arr as $pr) {
echo '<a href="#" onclick="changepresets(\''.$pr.'\', \'as\'); return false;"><img src="'.$assistanturl.$pr.'.png" alt="" title="'.$pr.'"></a>&nbsp;&nbsp;';
}

echo '</td><td>Topic Presets:<br/>';
$Arr = array('tp_standard','tp_simple','tp_simple_wide');
foreach($Arr as $pr) {
echo '<a href="#" onclick="changepresets(\''.$pr.'\', \'as\'); return false;"><img src="'.$assistanturl.$pr.'.png" alt="" title="'.$pr.'"></a>&nbsp;&nbsp;';
}

echo '</td><td>Prev/Next:<br/>';
$Arr = array('pnsa_standard', 'pnsa_standard-en');
foreach($Arr as $pr) {
echo '<a href="#" onclick="changepresets(\''.$pr.'\', \'as\'); return false;"><img src="'.$assistanturl.$pr.'.png" alt="" title="'.$pr.'"></a>&nbsp;&nbsp;';
}

echo '</td></tr></table>';
?>
17 changes: 17 additions & 0 deletions wbce/modules/topics/assistant/ov_collector_sidebar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//Starting Javascript

document.modify.header.value = '<!-- Header ov_collector_sidebar -->\n<h3>Latest Topics</h3>\n';
document.modify.topics_loop.value = '<a class="pnsa_block" [HREF]>[THUMB]\n<strong>[TITLE]</strong><br />\n[SHORT_DESCRIPTION]\n<span class="pnsaclear"></span>\n</a>';
document.modify.footer.value = '';

// To save as a preset, change this line with your description:
document.getElementById('presetsdescription').innerHTML = 'Check changed fields';

document.modify.header.style.backgroundColor = '#e8ff98';
document.modify.topics_loop.style.backgroundColor = '#e8ff98';
document.modify.footer.style.backgroundColor = '#e8ff98';

document.getElementById('linktabarea3').style.backgroundColor = '#e8ff98';
showtabarea(3);

alert("Done");
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions wbce/modules/topics/assistant/ov_grid2_pic.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//Starting Javascript

document.modify.header.value = '<!-- Header ov_grid2_pic -->\n<h2>[SECTION_TITLE]</h2>\n<div class="tp-blocks tp-blocks-2">\n<div class="tp-blocks-inner">\n';
document.modify.topics_loop.value = '<div class="[CLASSES]">\n<a [HREF] class="loop-pic" style="background-image:url([PICTURE_DIR]/[PICTURE])"><img src="[PICTURE_DIR]/[PICTURE]" alt="" /><span class="miniclear"></span></a>\n\n<div class="textblock">\n<h3 class="commclass[COMMENTSCLASS]">{TITLE}</h3>[TOPIC_SHORT]\n</div>\n[EDITLINK]</div>\n';
document.modify.footer.value = '<br style="clear:both;">\n{PREV_NEXT_PAGES}\n<br style="clear:both;">\n</div></div>\n';



// To save as a preset, change this line with your description:
document.getElementById('presetsdescription').innerHTML = 'Check changed fields';

document.modify.header.style.backgroundColor = '#e8ff98';
document.modify.topics_loop.style.backgroundColor = '#e8ff98';
document.modify.footer.style.backgroundColor = '#e8ff98';

document.getElementById('linktabarea3').style.backgroundColor = '#e8ff98';
showtabarea(3);


alert("Done");
Binary file added wbce/modules/topics/assistant/ov_grid2_pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions wbce/modules/topics/assistant/ov_grid2_thumb.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//Starting Javascript

document.modify.header.value = '<!-- Header ov_grid2_thumb -->\n<h2>[SECTION_TITLE]</h2>\n<div class="tp-blocks tp-blocks-2">\n<div class="tp-blocks-inner">\n';
document.modify.topics_loop.value = '<div class="[CLASSES]">\n{THUMB}\n<div class="textblock_thumb">\n<h3 class="commclass[COMMENTSCLASS]">{TITLE}</h3>[TOPIC_SHORT]\n[READ_MORE]\n</div>\n[EDITLINK]</div>\n';
document.modify.footer.value = '<br style="clear:both;">\n{PREV_NEXT_PAGES}\n<br style="clear:both;">\n</div></div>\n';



// To save as a preset, change this line with your description:
document.getElementById('presetsdescription').innerHTML = 'Check changed fields';

document.modify.header.style.backgroundColor = '#e8ff98';
document.modify.topics_loop.style.backgroundColor = '#e8ff98';
document.modify.footer.style.backgroundColor = '#e8ff98';

document.getElementById('linktabarea3').style.backgroundColor = '#e8ff98';
showtabarea(3);


alert("Done");
Binary file added wbce/modules/topics/assistant/ov_grid2_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions wbce/modules/topics/assistant/ov_grid3_pic.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//Starting Javascript

document.modify.header.value = '<!-- Header ov_grid3_pic -->\n<style type="text/css">\n.tp-blocks-3 .mod_topic_loop {font-size: 0.92em}\n</style>\n\n<!-- Header -->\n<h2>[SECTION_TITLE]</h2>\n<div class="tp-blocks tp-blocks-3">\n<div class="tp-blocks-inner">\n';
document.modify.topics_loop.value = '<!-- use style="height:.." -->\n<div class="[CLASSES]">\n<a [HREF] class="loop-pic" style="background-image:url([PICTURE_DIR]/[PICTURE])"><img src="[PICTURE_DIR]/[PICTURE]" alt="" /><span class="miniclear"></span></a>\n\n<div class="textblock">\n<h3 class="commclass[COMMENTSCLASS]">{TITLE}</h3>[TOPIC_SHORT]\n</div>\n[EDITLINK]</div>\n';
document.modify.footer.value = '<br style="clear:both;">\n{PREV_NEXT_PAGES}\n<br style="clear:both;">\n</div></div>\n';



// To save as a preset, change this line with your description:
document.getElementById('presetsdescription').innerHTML = 'Check changed fields';

document.modify.header.style.backgroundColor = '#e8ff98';
document.modify.topics_loop.style.backgroundColor = '#e8ff98';
document.modify.footer.style.backgroundColor = '#e8ff98';

document.getElementById('linktabarea3').style.backgroundColor = '#e8ff98';
showtabarea(3);

alert("Done");
Binary file added wbce/modules/topics/assistant/ov_grid3_pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions wbce/modules/topics/assistant/ov_grid3_thumb.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//Starting Javascript

document.modify.header.value = '<!-- Header ov_grid3_thumb -->\n<h2>[SECTION_TITLE]</h2>\n<div class="tp-blocks tp-blocks-3 tp_thumbsblock">\n<div class="tp-blocks-inner">\n';
document.modify.topics_loop.value = '<div class="[CLASSES]">\n{THUMB}\n<div class="textblock_thumb">\n<h3 class="commclass[COMMENTSCLASS]">{TITLE}</h3>[TOPIC_SHORT]\n[READ_MORE]\n</div>\n[EDITLINK]</div>\n';
document.modify.footer.value = '<br style="clear:both;">\n{PREV_NEXT_PAGES}\n<br style="clear:both;">\n</div></div>\n';



// To save as a preset, change this line with your description:
document.getElementById('presetsdescription').innerHTML = 'Check changed fields';

document.modify.header.style.backgroundColor = '#e8ff98';
document.modify.topics_loop.style.backgroundColor = '#e8ff98';
document.modify.footer.style.backgroundColor = '#e8ff98';

document.getElementById('linktabarea3').style.backgroundColor = '#e8ff98';
showtabarea(3);


alert("Done");
Binary file added wbce/modules/topics/assistant/ov_grid3_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions wbce/modules/topics/assistant/ov_grid4_pic.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//Starting Javascript

document.modify.header.value = '<!-- Header ov_grid4_pic -->\n<style type="text/css">\n.tp-blocks-4 .mod_topic_loop {font-size: 0.9em}\n</style>\n\n<!-- Header ov_grid4_pic -->\n<h2>[SECTION_TITLE]</h2>\n<div class="tp-blocks tp-blocks-4">\n<div class="tp-blocks-inner">\n';
document.modify.topics_loop.value = '<!-- use style="height:.." -->\n<div class="[CLASSES]">\n<a [HREF] class="loop-pic" style="background-image:url([PICTURE_DIR]/[PICTURE])"><img src="[PICTURE_DIR]/[PICTURE]" alt="" /><span class="miniclear"></span></a>\n\n<div class="textblock">\n<h3 class="commclass[COMMENTSCLASS]">{TITLE}</h3>[TOPIC_SHORT]\n</div>\n[EDITLINK]</div>\n';
document.modify.footer.value = '<br style="clear:both;">\n{PREV_NEXT_PAGES}\n<br style="clear:both;">\n</div></div>\n';



// To save as a preset, change this line with your description:
document.getElementById('presetsdescription').innerHTML = 'Check changed fields';

document.modify.header.style.backgroundColor = '#e8ff98';
document.modify.topics_loop.style.backgroundColor = '#e8ff98';
document.modify.footer.style.backgroundColor = '#e8ff98';

document.getElementById('linktabarea3').style.backgroundColor = '#e8ff98';
showtabarea(3);

alert("Done");
Binary file added wbce/modules/topics/assistant/ov_grid4_pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wbce/modules/topics/assistant/ov_grid4_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions wbce/modules/topics/assistant/ov_standard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//Starting Javascript

document.modify.header.value = '<!-- Header ov_standard -->\n<h2>[SECTION_TITLE]</h2>\n';
document.modify.topics_loop.value = '<div class="[CLASSES]">\n{THUMB}\n<h3 class="mt_title">{TITLE}</h3>\n[TOPIC_SHORT]\n[READ_MORE][EDITLINK]<div style="clear:both"></div>\n</div>\n';
document.modify.footer.value = '{PREV_NEXT_PAGES}\n';

// To save as a preset, change this line with your description:
document.getElementById('presetsdescription').innerHTML = 'Check changed fields';

document.modify.header.style.backgroundColor = '#e8ff98';
document.modify.topics_loop.style.backgroundColor = '#e8ff98';
document.modify.footer.style.backgroundColor = '#e8ff98';

document.getElementById('linktabarea3').style.backgroundColor = '#e8ff98';
showtabarea(3);

alert("Done");
Binary file added wbce/modules/topics/assistant/ov_standard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions wbce/modules/topics/assistant/pnsa_standard-en.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//Starting Javascript
selectDropdownOption (document.modify.pnsa_max, 4);
document.modify.see_also_link_title.value = '<h4>See also:</h4>';
document.modify.next_link_title.value = '<h4>Newer Topics:</h4>';
document.modify.previous_link_title.value = '<h4>Older Topics:</h4>';
document.modify.pnsa_string.value = '<a class="pnsa_block" [HREF]>[THUMB]\n<strong>[TITLE]</strong><br />\n[SHORT_DESCRIPTION]\n<span class="pnsaclear"></span>\n</a>\n';
document.modify.sa_string.value = '<a class="pnsa_block" [HREF]>[THUMB]\n<strong>[TITLE]</strong><br />\n[SHORT_DESCRIPTION]\n<span class="pnsaclear"></span>\n</a>\n';


// To save as a preset, change this line with your description:
document.getElementById('presetsdescription').innerHTML = 'Check changed fields';

document.modify.pnsa_max.style.backgroundColor = '#e8ff98';
document.modify.see_also_link_title.style.backgroundColor = '#e8ff98';
document.modify.next_link_title.style.backgroundColor = '#e8ff98';
document.modify.previous_link_title.style.backgroundColor = '#e8ff98';
document.modify.pnsa_string.style.backgroundColor = '#e8ff98';
document.modify.sa_string.style.backgroundColor = '#e8ff98';

document.getElementById('linktabarea5').style.backgroundColor = '#e8ff98';

showtabarea(5);

alert("Done");
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions wbce/modules/topics/assistant/pnsa_standard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//Starting Javascript
selectDropdownOption (document.modify.pnsa_max, 4);
document.modify.see_also_link_title.value = '<h4>Siehe auch:</h4>';
document.modify.next_link_title.value = '<h4>Neuere Themen:</h4>';
document.modify.previous_link_title.value = '<h4>&Auml;ltere Themen:</h4>';
document.modify.pnsa_string.value = '<a class="pnsa_block" [HREF]>[THUMB]\n<strong>[TITLE]</strong><br />\n[SHORT_DESCRIPTION]\n<span class="pnsaclear"></span>\n</a>\n';
document.modify.sa_string.value = '<a class="pnsa_block" [HREF]>[THUMB]\n<strong>[TITLE]</strong><br />\n[SHORT_DESCRIPTION]\n<span class="pnsaclear"></span>\n</a>\n';


// To save as a preset, change this line with your description:
document.getElementById('presetsdescription').innerHTML = 'Check changed fields';

document.modify.pnsa_max.style.backgroundColor = '#e8ff98';
document.modify.see_also_link_title.style.backgroundColor = '#e8ff98';
document.modify.next_link_title.style.backgroundColor = '#e8ff98';
document.modify.previous_link_title.style.backgroundColor = '#e8ff98';
document.modify.pnsa_string.style.backgroundColor = '#e8ff98';
document.modify.sa_string.style.backgroundColor = '#e8ff98';

document.getElementById('linktabarea5').style.backgroundColor = '#e8ff98';

showtabarea(5);

alert("Done");
Binary file added wbce/modules/topics/assistant/pnsa_standard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wbce/modules/topics/assistant/presets.psd
Binary file not shown.
17 changes: 17 additions & 0 deletions wbce/modules/topics/assistant/tp_simple.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//Starting Javascript
document.modify.topic_header.value = '<!-- Header tp_simple -->\n<div class="[CLASSES]">\n<h1 class="tp_headline">[TITLE]</h1>\n<div class="tp_teaser tp_teaser_right" style="font-weight:bold;">{PICTURE}[TOPIC_SHORT]</div>\n';
document.modify.topic_footer.value = '<div class="tp_footerpnsa">\n{SEE_ALSO}\n{SEE_PREVNEXT}\n</div>\n<p class="topics-back"><a href="[BACK]">Back</a></p>\n[EDITLINK]\n</div>\n';
document.modify.topic_block2.value = '';

// To save as a preset, change this line with your description:
document.getElementById('presetsdescription').innerHTML = 'Check changed fields';

document.modify.topic_header.style.backgroundColor = '#e8ff98';
document.modify.topic_footer.style.backgroundColor = '#e8ff98';
document.modify.topic_block2.style.backgroundColor = '#e8ff98';

document.getElementById('linktabarea4').style.backgroundColor = '#e8ff98';
showtabarea(4);


alert("Done");
Binary file added wbce/modules/topics/assistant/tp_simple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions wbce/modules/topics/assistant/tp_simple_wide.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//Starting Javascript
document.modify.topic_header.value = '<!-- Header tp_simple_wide -->\n<div class="[CLASSES] tp_content_wide">\n<h1 class="tp_headline">[TITLE]</h1>\n<div class="tp_teaser" style="font-weight:bold;">{THUMB}[TOPIC_SHORT]</div>\n<div style="clear:both"></div>';
document.modify.topic_footer.value = '[ADDITIONAL_PICTURES]\n<div class="tp_footerpnsa tp-blocks-3">\n{SEE_ALSO}\n{SEE_PREVNEXT}\n</div>\n<p class="topics-back"><a href="[BACK]">Back</a></p>\n[EDITLINK]\n</div>\n';
document.modify.topic_block2.value = '';

// To save as a preset, change this line with your description:
document.getElementById('presetsdescription').innerHTML = 'Check changed fields';

document.modify.topic_header.style.backgroundColor = '#e8ff98';
document.modify.topic_footer.style.backgroundColor = '#e8ff98';
document.modify.topic_block2.style.backgroundColor = '#e8ff98';

document.getElementById('linktabarea4').style.backgroundColor = '#e8ff98';
showtabarea(4);


alert("Done");
Binary file added wbce/modules/topics/assistant/tp_simple_wide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions wbce/modules/topics/assistant/tp_standard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//Starting Javascript
document.modify.topic_header.value = '<!-- Header tp_standard -->\n<div class="[CLASSES]">\n<h1 class="tp_headline">[TITLE]</h1>\n<p class="tp_author">[USER_DISPLAY_NAME] ([USER_NAME]) on [PUBL_DATE]</p>\n[USER_MODIFIEDINFO]\n<div class="tp_teaser hideOnDesktops">{PICTURE}[TOPIC_SHORT]</div>\n<div style="clear:both"></div>\n[ADDITIONAL_PICTURES]\n';
document.modify.topic_footer.value = '<div class="hideOnDesktops showOnTablets">\n{SEE_ALSO}{SEE_PREVNEXT}\n</div>\n<p class="topics-back"><a href="[BACK]">Back</a></p>\n[EDITLINK]\n</div>\n';
document.modify.topic_block2.value = '<!--see help how to use a second block -->\n<div class="topic_block2 desktop-teaser showOnMobiles">\n{PICTURE}\n[TOPIC_SHORT]\n{SEE_ALSO}{SEE_PREVNEXT}\n</div>\n';



// To save as a preset, change this line with your description:
document.getElementById('presetsdescription').innerHTML = 'Check changed fields';

document.modify.topic_header.style.backgroundColor = '#e8ff98';
document.modify.topic_footer.style.backgroundColor = '#e8ff98';
document.modify.topic_block2.style.backgroundColor = '#e8ff98';

document.getElementById('linktabarea4').style.backgroundColor = '#e8ff98';
showtabarea(4);


alert("Done");
Binary file added wbce/modules/topics/assistant/tp_standard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion wbce/modules/topics/backend.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ td {
.tpfw30 {width:30%;}
.tpfh30 {height:30px;}
.tpfh60 {height:60px;}
.inputf.tpf-small {width:40px; margin-right:20px;}


.mod_moduledirectory_edit_css {float:right;}
Expand Down Expand Up @@ -86,6 +87,10 @@ a img {border:0;}

.mod_topics_edit_css {display:inline; }

.assistantpresets td {padding: 0 0 0 5px; border-left: 1px solid #999; line-height:140%;}
.assistantpresets a {padding: 5px 5px 0 0; opacity:0.5; transition: 1s opacity;}
.assistantpresets a:hover {opacity:0.9; }


/*list Page*/
.topiclist-toptable {width:100%;}
Expand Down Expand Up @@ -123,7 +128,7 @@ td .topicprops {width:150px;}
.pnsa_links {width:100%;}

.pnsa_links td.pn_links a {font-size:11px; font-weight:normal;}
/*Bei sehr großen Thumbs: Verkleinerung erzwingen*/
/*Bei sehr groszen Thumbs: Verkleinerung erzwingen*/

.pnsa_links td.pn_links a img, .pnsa_links td.sa_links a img {max-width:50px; max-height:50px; clear:left; float:left; margin:0 5px 20px 0;}

Expand Down Expand Up @@ -181,6 +186,8 @@ input.mod_topics_edit_css {
#topics_picturechooser iframe {height:100%; width:100%; margin:0; padding:0; border:0;}

.topicpic_preview_close {width:100%; height:20px; text-align:right; background-color:#ddd;}
.topicpic_preview_closebox {display:block; float:right; width:20px; height:20px; background: url(img/closebox.png) no-repeat;}

.topicpic_preview {float:left; margin:10px; width:140px; height:100px; overflow:hidden;}
.topicpic_preview img {max-width:140px; border:0; text-align:center}

Expand Down
Loading

0 comments on commit 0aebd7a

Please sign in to comment.