Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 10:41 pm EST
Geeklog Forums
Image link popup
Status: offline
trampoline
Forum User
Full Member
Registered: 02/24/06
Posts: 392
Hi,
I have pop up enabled in config.php and it works for text,
however I cannot seem to get this to work for Images, I would like to as I have a clickto call button on my web site that loads a new windo, to look any good this window should be a popup.
I am using 1.4.1
my config.php looks like this at the moment.
I have pop up enabled in config.php and it works for text,
however I cannot seem to get this to work for Images, I would like to as I have a clickto call button on my web site that loads a new windo, to look any good this window should be a popup.
I am using 1.4.1
my config.php looks like this at the moment.
$_CONF['user_html'] = array (
'p' => array(),
'b' => array(),
'strong' => array(),
'i' => array(),
'a' => array('href' => 1, 'title' => 1, 'rel' => 1, 'onclick' => 1),
'em' => array('iframe' => 1),
'br' => array(),
'tt' => array(),
'hr' => array(),
'li' => array(),
'ol' => array(),
'ul' => array(),
'code' => array(),
'pre' => array(),
'iframe' => array('embed' =>1, 'width' =>1, 'height' =>1, 'frameborder' =>1, 'scrolling' =>1, 'marginheight' =>1, 'marginwidth' =>1, 'src' =>1 )
);
/* This is a list of HTML tags that Admins (site admin and story admins) can
* use in their posts. It will be merged with the above list of user-allowable
* tags ($_CONF['user_html']). You can also add tags that have already been
* listed for the user-allowed HTML, so as to allow admins to use more
* attributes (see 'p' for an example).
*/
$_CONF['admin_html'] = array (
'p' => array('class' => 1, 'id' => 1, 'align' => 1),
'div' => array('class' => 1, 'id' => 1),
'span' => array('class' => 1, 'id' => 1),
'table' => array('class' => 1, 'id' => 1, 'width' => 1, 'border' => 1,
'cellspacing' => 1, 'cellpadding' => 1),
'tr' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1),
'th' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1,
'colspan' => 1, 'rowspan' => 1),
'td' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1,
'colspan' => 1, 'rowspan' => 1)
);
/* Optional HTML Tags that will be enabled if advanced editor is enabled
* Posible to add tags to the allowable general USER $_CONF['user_html'] as well
*/
if ($_CONF['advanced_editor']) {
$_CONF['admin_html']['a'] = array('href' => 1, 'title' => 1, 'id' => 1, 'lang' => 1, 'name' => 1, 'type' => 1, 'rel' => 1, 'onclick' => 1);
$_CONF['admin_html']['hr'] = array ('style' => 1);
$_CONF['admin_html']['ol'] = array ('style' => 1);
$_CONF['admin_html']['ul'] = array ('style' => 1);
$_CONF['admin_html']['caption'] = array ();
$_CONF['admin_html']['table'] = array ('class' => 1, 'id' => 1, 'style' => 1, 'align' => 1, 'width' => 1,
'border' => 1, 'cellspacing' => 1, 'cellpadding' => 1);
$_CONF['admin_html']['tbody'] = array ();
$_CONF['admin_html']['img'] = array('src' => 1, 'width' => 1, 'height' => 1, 'vspace' => 1, 'hspace' => 1,
'dir' => 1, 'align' => 1, 'valign' => 1, 'border' => 1, 'lang' => 1,
'longdesc' => 1, 'title' => 1, 'id' => 1, 'alt' => 1);
$_CONF['admin_html']['font'] = array('face' => 1, 'size' => 1, 'style' =>
'p' => array(),
'b' => array(),
'strong' => array(),
'i' => array(),
'a' => array('href' => 1, 'title' => 1, 'rel' => 1, 'onclick' => 1),
'em' => array('iframe' => 1),
'br' => array(),
'tt' => array(),
'hr' => array(),
'li' => array(),
'ol' => array(),
'ul' => array(),
'code' => array(),
'pre' => array(),
'iframe' => array('embed' =>1, 'width' =>1, 'height' =>1, 'frameborder' =>1, 'scrolling' =>1, 'marginheight' =>1, 'marginwidth' =>1, 'src' =>1 )
);
/* This is a list of HTML tags that Admins (site admin and story admins) can
* use in their posts. It will be merged with the above list of user-allowable
* tags ($_CONF['user_html']). You can also add tags that have already been
* listed for the user-allowed HTML, so as to allow admins to use more
* attributes (see 'p' for an example).
*/
$_CONF['admin_html'] = array (
'p' => array('class' => 1, 'id' => 1, 'align' => 1),
'div' => array('class' => 1, 'id' => 1),
'span' => array('class' => 1, 'id' => 1),
'table' => array('class' => 1, 'id' => 1, 'width' => 1, 'border' => 1,
'cellspacing' => 1, 'cellpadding' => 1),
'tr' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1),
'th' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1,
'colspan' => 1, 'rowspan' => 1),
'td' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1,
'colspan' => 1, 'rowspan' => 1)
);
/* Optional HTML Tags that will be enabled if advanced editor is enabled
* Posible to add tags to the allowable general USER $_CONF['user_html'] as well
*/
if ($_CONF['advanced_editor']) {
$_CONF['admin_html']['a'] = array('href' => 1, 'title' => 1, 'id' => 1, 'lang' => 1, 'name' => 1, 'type' => 1, 'rel' => 1, 'onclick' => 1);
$_CONF['admin_html']['hr'] = array ('style' => 1);
$_CONF['admin_html']['ol'] = array ('style' => 1);
$_CONF['admin_html']['ul'] = array ('style' => 1);
$_CONF['admin_html']['caption'] = array ();
$_CONF['admin_html']['table'] = array ('class' => 1, 'id' => 1, 'style' => 1, 'align' => 1, 'width' => 1,
'border' => 1, 'cellspacing' => 1, 'cellpadding' => 1);
$_CONF['admin_html']['tbody'] = array ();
$_CONF['admin_html']['img'] = array('src' => 1, 'width' => 1, 'height' => 1, 'vspace' => 1, 'hspace' => 1,
'dir' => 1, 'align' => 1, 'valign' => 1, 'border' => 1, 'lang' => 1,
'longdesc' => 1, 'title' => 1, 'id' => 1, 'alt' => 1);
$_CONF['admin_html']['font'] = array('face' => 1, 'size' => 1, 'style' =>
6
5
Quote
All times are EST. The time is now 10:41 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content