SimplePortal
Support => International Support => Turkish (Türkçe) => Topic started by: simpledizayn on November 07, 2008, 01:05:21 AM
-
Subs.php
Bul:
array(
'tag' => 'img',
'type' => 'unparsed_content',
'parameters' => array(
'alt' => array('optional' => true),
'width' => array('optional' => true, 'value' => ' width="$1"', 'match' => '(\d+)'),
'height' => array('optional' => true, 'value' => ' height="$1"', 'match' => '(\d+)'),
),
'content' => '<img src="$1" alt="{alt}"{width}{height} border="0" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => '($1)',
),
Üstüne Ekle:
array(
'tag' => 'imgsol',
'type' => 'unparsed_content',
'parameters' => array(
'alt' => array('optional' => true),
'width' => array('optional' => true, 'value' => ' width="$1"', 'match' => '(\d+)'),
'height' => array('optional' => true, 'value' => ' height="$1"', 'match' => '(\d+)'),
),
'content' => '<img src="$1" alt="{alt}"{width}{height} align="left" border="0" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => '($1)',
),
array(
'tag' => 'imgsag',
'type' => 'unparsed_content',
'parameters' => array(
'alt' => array('optional' => true),
'width' => array('optional' => true, 'value' => ' width="$1"', 'match' => '(\d+)'),
'height' => array('optional' => true, 'value' => ' height="$1"', 'match' => '(\d+)'),
),
'content' => '<img src="$1" alt="{alt}"{width}{height} align="right" border="0" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => '($1)',
),
Uygulama: [imgsag width=??? height=???]resim linki[/imgsag] - [imgsol width=??? height=???]resim linki[/imgsol]
Ardaka?lar gönül rahatl???yla kullanabilir. :)
Yaln?z bunu geli?tirmek gerekiyor. Bo?luk veya çerçeve ?eklinde...
-
http://custom.simplemachines.org/mods/index.php?mod=437
http://www.simplemachines.org/community/index.php?topic=253595.msg1782365#msg1782365
-
Teşekkürler Sinan...