mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
remove incompatible hook= code; replace w/ new support for "SuperModifiers" as designed
by team
This commit is contained in:
@@ -22,7 +22,7 @@ SC_END
|
|||||||
SC_BEGIN POST
|
SC_BEGIN POST
|
||||||
global $post_info, $tp, $iphost;
|
global $post_info, $tp, $iphost;
|
||||||
$ret = "";
|
$ret = "";
|
||||||
$ret = $tp->toHTML($post_info["thread_thread"], TRUE, "hook=content", 'class:'.$post_info["user_class"]);
|
$ret = $tp->toHTML($post_info["thread_thread"], TRUE, "BODY", 'class:'.$post_info["user_class"]);
|
||||||
if (ADMIN && $iphost) {
|
if (ADMIN && $iphost) {
|
||||||
$ret .= "<br />".$iphost;
|
$ret .= "<br />".$iphost;
|
||||||
}
|
}
|
||||||
|
@@ -163,7 +163,7 @@ SC_END
|
|||||||
|
|
||||||
SC_BEGIN LINK_MAIN_DESC
|
SC_BEGIN LINK_MAIN_DESC
|
||||||
global $LINK_MAIN_DESC, $rowl, $linkspage_pref, $tp;
|
global $LINK_MAIN_DESC, $rowl, $linkspage_pref, $tp;
|
||||||
return (isset($linkspage_pref['link_cat_desc']) && $linkspage_pref['link_cat_desc'] ? $tp->toHTML($rowl['link_category_description'], TRUE,'hook=description') : "");
|
return (isset($linkspage_pref['link_cat_desc']) && $linkspage_pref['link_cat_desc'] ? $tp->toHTML($rowl['link_category_description'], TRUE,'description') : "");
|
||||||
SC_END
|
SC_END
|
||||||
|
|
||||||
SC_BEGIN LINK_MAIN_NUMBER
|
SC_BEGIN LINK_MAIN_NUMBER
|
||||||
@@ -308,7 +308,7 @@ SC_END
|
|||||||
|
|
||||||
SC_BEGIN LINK_DESC
|
SC_BEGIN LINK_DESC
|
||||||
global $LINK_DESC, $linkspage_pref, $tp, $rowl;
|
global $LINK_DESC, $linkspage_pref, $tp, $rowl;
|
||||||
return (isset($linkspage_pref['link_desc']) && $linkspage_pref['link_desc'] ? $tp->toHTML($rowl['link_description'], TRUE,'hook=content') : "");
|
return (isset($linkspage_pref['link_desc']) && $linkspage_pref['link_desc'] ? $tp->toHTML($rowl['link_description'], TRUE,'BODY') : "");
|
||||||
SC_END
|
SC_END
|
||||||
|
|
||||||
SC_BEGIN LINK_RATING
|
SC_BEGIN LINK_RATING
|
||||||
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/linkwords/linkwords.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/linkwords/linkwords.php,v $
|
||||||
| $Revision: 1.3 $
|
| $Revision: 1.4 $
|
||||||
| $Date: 2007-01-17 21:29:28 $
|
| $Date: 2007-01-20 16:25:55 $
|
||||||
| $Author: e107steved $
|
| $Author: mrpete $
|
||||||
|
|
|
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -27,10 +27,13 @@ class e_linkwords
|
|||||||
var $link_list = array(); // Corresponding list of links to apply
|
var $link_list = array(); // Corresponding list of links to apply
|
||||||
var $tip_list = array();
|
var $tip_list = array();
|
||||||
var $area_opts = array(
|
var $area_opts = array(
|
||||||
|
'olddefault' => TRUE,
|
||||||
'title' => FALSE,
|
'title' => FALSE,
|
||||||
'summary' => FALSE,
|
'summary' => FALSE,
|
||||||
'content' => TRUE,
|
'body' => TRUE,
|
||||||
'description' => TRUE
|
'description' => TRUE,
|
||||||
|
'linktext' => FALSE,
|
||||||
|
'rawtext' => FALSE
|
||||||
); // We can set this from prefs later
|
); // We can set this from prefs later
|
||||||
var $block_list = array(
|
var $block_list = array(
|
||||||
// 'page.php?3',
|
// 'page.php?3',
|
||||||
|
Reference in New Issue
Block a user