تذكير بمساهمة فاتح الموضوع :السلام عليكم ورحمة الله تعالى وبركاته ...
كما سبق ان اشير في التجديدات الشتوية لاحلى منتدى ها انا ..اتيكم بطريقة
جديدة لمن لايعرف التعديل على التمبوليات بشرح وافي وكافي
طريقة التركيب
لوحة ادارة
مظهر المنتدى
تومبلايت
ادارة عامة
viewtopic_body
--------------
قم بالبحث عن
الرمز: |
<!-- BEGIN viewtopic_bottom -->
|
أسفلها مباشرة ضع الكود هذا :
صاحب الموضوع تعب في احضار الكود رد لكي يظهر لك الكود<table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<td colspan="2" align="left" valign="top" nowrap="nowrap"><br />{S_TOPIC_ADMIN}<br />
<form name="action" method="get" action="{S_FORM_MOD_ACTION}">
<input type="hidden" name="t" value="{TOPIC_ID}" />
<input type="hidden" name="sid" value="{S_SID}" />
<span class="gen">{L_MOD_TOOLS}<br
/>{S_SELECT_MOD} <input class="liteoption" type="submit"
value="{L_GO}" /></span>
</form>
</td>
</tr>
</table>
<!-- END viewtopic_bottom -->
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(function(){
$('.postbody img').not('.signature_div img').css('display','none');
});
$(window).load(function(){
$('.postbody img').not('.signature_div img').each(function(){
if ( ( $(this).width() >
{switch_image_resize.IMG_RESIZE_WIDTH} &&
{switch_image_resize.IMG_RESIZE_WIDTH} != 0 ) || ( $(this).height()
> {switch_image_resize.IMG_RESIZE_HEIGHT} &&
{switch_image_resize.IMG_RESIZE_HEIGHT} != 0 ) ) {
$(this).before(document.createElement('div')).prev().click(function(){
return false;
}).addClass('resizebox gensmall
clearfix').append(document.createElement('div')).children().addClass('resize_border
clearfix').append(document.createElement('div')).children().addClass('resize_content
clearfix').append(document.createElement('a')).children().addClass('enlarge').attr('href',
'#').text('{switch_image_resize.L_IMAGE_ENLARGE}').click(function(){
$(this).parent().parent().parent().next().css('display','none').attr('resizeWidth',
$(this).parent().parent().parent().next().width()).width('');
$(this).parent().parent().parent().next().width($(this).parent().parent().parent().next().width()
> ($('html').attr('dir') != 'rtl' ? $(this).closest('td').width() -
$(this).parent().parent().parent().offset().left +
$(this).closest('td').offset().left :
$(this).parent().parent().parent().width() +
$(this).parent().parent().parent().offset().left -
$(this).closest('td').offset().left) ? $('html').attr('dir') != 'rtl' ?
$(this).closest('td').width() -
$(this).parent().parent().parent().offset().left +
$(this).closest('td').offset().left :
$(this).parent().parent().parent().width() +
$(this).parent().parent().parent().offset().left -
$(this).closest('td').offset().left : '').css('display','inline');
$(this).css('display','none').next('a.resize').css('display','inline-block');
$(this).parent().parent().parent().width('').width($(this).parent().parent().parent().next().width());
return false;
}).parent().append(document.createElement('a')).children().next().addClass('resize').attr('href','#').text('{switch_image_resize.L_CLICK_TO_RESIZE}').click(function(){
$(this).parent().parent().parent().next().width(parseInt($(this).parent().parent().parent().next().attr('resizeWidth'))).removeAttr('resizeWidth');
$(this).css('display','none').prev('a.enlarge').css('display','inline-block');
$(this).parent().parent().parent().width('').width($(this).parent().parent().parent().next().width());
return false;
}).parent().append(document.createElement('div')).children('a.resize').next().addClass('resize_filler').text('
').parent().append(document.createElement('a')).children('div.resize_filler').next().addClass('fullsize').attr('href','#').click(function(){
window.open('/viewimage.forum?u=' + encodeURIComponent($(this).parent().parent().parent().next().attr('src')));
return false;
}).attr('target', '_blank').text('{switch_image_resize.L_CLICK_TO_SEE_FULLSIZE}');
if ($(this).width() > ($('html').attr('dir') != 'rtl' ?
$(this).closest('td').width() - $(this).prev().offset().left +
$(this).closest('td').offset().left : $(this).prev().width() +
$(this).prev().offset().left - $(this).closest('td').offset().left)){
$(this).prev().find('a.fullsize').attr('href','/viewimage.forum?u=' +
encodeURIComponent($(this).attr('src'))).css('display', 'inline-block');
}
$(this).width($(this).width() * ( (
{switch_image_resize.IMG_RESIZE_WIDTH} != 0 && (
{switch_image_resize.IMG_RESIZE_HEIGHT} == 0 || $(this).width() /
$(this).height() > {switch_image_resize.IMG_RESIZE_WIDTH} /
{switch_image_resize.IMG_RESIZE_HEIGHT} ) ) ?
{switch_image_resize.IMG_RESIZE_WIDTH} / $(this).width() :
{switch_image_resize.IMG_RESIZE_HEIGHT} / $(this).height() )
).css('display','inline').prev().width($(this).width());
}
}).css('display','inline');
});
//]]>
</script>
<!-- END switch_image_resize -->
<script type="text/javascript" src="{JS_DIR}addthis/addthis_widget.js?pub=forumotion"></script