function photos_filter_tips in Album Photos 6.2
File
- ./
photos.module, line 1595
Code
function photos_filter_tips($delta, $format, $long = FALSE) {
switch ($long) {
case 0:
return t('Insert an image: [photo=image]id=55[/photo], Insert multiple images: [photo=image]id=55,56,57,58[/photo], Insert album: [photo=album]id=10[/photo]. ');
case 1:
$t = '<h2>' . t('Insert image and album') . '</h2>';
$item[] = t('Insert an image: [photo=image]id=55[/photo].');
$item[] = t('Insert multiple images: [photo=image]id=55,56,57,58,59[/photo].');
$item[] = t('Optional attributes: algin, e.g: [photo=image]id=55|algin=left[/photo] or [photo=image]id=55,56,57|algin=right[/photo].');
$t .= theme('item_list', $item, t('Insert image'));
$item = array();
$item[] = t('Insert album: [photo=album]id=10[/photo].The default display album cover. You can change, please configure the "limit" property. ');
$item[] = t('Optional attributes: algin or limit, e.g: [photo=album]id=10|algin=left[/photo] or [photo=album]id=10|algin=right|limit=5[/photo].');
$t .= theme('item_list', $item, t('Insert album'));
$t .= t('This is similar to bbcode, do not seem friendly, You can try visualization interface: !url', array(
'!url' => l(t('Click to here'), 'photos/share'),
));
return $t;
}
}