2006-12-02 04:36:16 +00:00
|
|
|
|
<?php
|
|
|
|
|
/*
|
|
|
|
|
+ ----------------------------------------------------------------------------+
|
|
|
|
|
| e107 website system
|
|
|
|
|
|
|
|
|
|
|
| <EFBFBD>Steve Dunstan 2001-2002
|
|
|
|
|
| http://e107.org
|
|
|
|
|
| jalist@e107.org
|
|
|
|
|
|
|
|
|
|
|
| Released under the terms and conditions of the
|
|
|
|
|
| GNU General Public License (http://gnu.org).
|
|
|
|
|
|
|
|
|
|
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/linkwords/admin_config.php,v $
|
2009-08-15 11:55:30 +00:00
|
|
|
|
| $Revision: 1.9 $
|
2008-12-07 21:55:02 +00:00
|
|
|
|
|
|
|
|
|
|
| ***** START OF VERSION WHICH ALLOWS TOOLTIPS (also order of forms changed )
|
|
|
|
|
|
|
2009-08-15 11:55:30 +00:00
|
|
|
|
| $Date: 2009-08-15 11:55:30 $
|
|
|
|
|
| $Author: marj_nl_fr $
|
2006-12-02 04:36:16 +00:00
|
|
|
|
+----------------------------------------------------------------------------+
|
|
|
|
|
*/
|
|
|
|
|
require_once("../../class2.php");
|
2008-12-13 18:04:52 +00:00
|
|
|
|
if (!getperms("P") || !plugInstalled('linkwords'))
|
2008-12-07 21:55:02 +00:00
|
|
|
|
{
|
2006-12-02 04:36:16 +00:00
|
|
|
|
header("location:".e_BASE."index.php");
|
|
|
|
|
exit ;
|
|
|
|
|
}
|
|
|
|
|
require_once(e_ADMIN."auth.php");
|
2009-08-15 11:55:30 +00:00
|
|
|
|
include_lan(e_PLUGIN."linkwords/languages/".e_LANGUAGE."_admin_linkwords.php");
|
2008-12-13 18:04:52 +00:00
|
|
|
|
define('LW_CACHE_TAG', 'nomd5_linkwords');
|
2006-12-02 04:36:16 +00:00
|
|
|
|
|
2007-02-07 21:48:26 +00:00
|
|
|
|
$lw_context_areas = array(
|
2008-12-07 21:55:02 +00:00
|
|
|
|
'TITLE' => LWLAN_33,
|
|
|
|
|
'SUMMARY' => LWLAN_34,
|
|
|
|
|
'BODY' => LWLAN_35,
|
|
|
|
|
'DESCRIPTION' => LWLAN_36,
|
|
|
|
|
'USER_TITLE' => LWLAN_40,
|
|
|
|
|
'USER_BODY' => LWLAN_41
|
2007-02-07 21:48:26 +00:00
|
|
|
|
// Don't do the next three - linkwords are meaningless on them
|
2007-02-08 20:18:33 +00:00
|
|
|
|
// 'olddefault' => LWLAN_37,
|
|
|
|
|
// 'linktext' => LWLAN_38,
|
|
|
|
|
// 'rawtext' => LWLAN_39'
|
2007-02-07 21:48:26 +00:00
|
|
|
|
);
|
2008-12-07 21:55:02 +00:00
|
|
|
|
|
|
|
|
|
// Yes, I know its a silly order - but that's history!
|
|
|
|
|
$lwaction_vals = array(1=>LWLAN_51, 0=>LWLAN_52, 2=>LWLAN_53, 3=>LWLAN_54);
|
|
|
|
|
|
|
|
|
|
// Generate dropdown for possible actions on finding a linkword
|
|
|
|
|
function lw_act_opts($curval)
|
|
|
|
|
{
|
|
|
|
|
global $lwaction_vals;
|
|
|
|
|
$ret = '';
|
|
|
|
|
foreach ($lwaction_vals as $opt => $val)
|
|
|
|
|
{
|
|
|
|
|
$selected = ($curval == $opt ? "selected='selected'" : "");
|
|
|
|
|
$ret .= "<option value='{$opt}' {$selected}>{$val}</option>\n";
|
|
|
|
|
}
|
|
|
|
|
return $ret;
|
|
|
|
|
}
|
|
|
|
|
|
2007-02-07 21:48:26 +00:00
|
|
|
|
|
2006-12-02 04:36:16 +00:00
|
|
|
|
$deltest = array_flip($_POST);
|
|
|
|
|
|
|
|
|
|
if(isset($deltest[LWLAN_17]))
|
|
|
|
|
{
|
|
|
|
|
$delete_id = str_replace("delete_", "", $deltest[LWLAN_17]);
|
|
|
|
|
|
|
|
|
|
if ($sql->db_Count("linkwords", "(*)", "WHERE linkword_id = ".$delete_id))
|
|
|
|
|
{
|
|
|
|
|
$sql->db_Delete("linkwords", "linkword_id=".$delete_id);
|
2008-12-07 21:55:02 +00:00
|
|
|
|
$admin_log->log_event('LINKWD_03','ID: '.$delete_id,'');
|
2008-12-13 18:04:52 +00:00
|
|
|
|
$e107->ecache->clear_sys(LW_CACHE_TAG);
|
2006-12-02 04:36:16 +00:00
|
|
|
|
$message = LWLAN_19;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(e_QUERY)
|
|
|
|
|
{
|
2007-02-07 21:48:26 +00:00
|
|
|
|
$lw_qs = explode(".", e_QUERY);
|
|
|
|
|
if (!isset($lw_qs[0])) $lw_qs[0] = 'words';
|
|
|
|
|
if (!isset($lw_qs[1])) $lw_qs[1] = -1;
|
|
|
|
|
$action = $lw_qs[0];
|
2008-12-07 21:55:02 +00:00
|
|
|
|
$id = intval($lw_qs[1]);
|
2007-02-07 21:48:26 +00:00
|
|
|
|
}
|
|
|
|
|
if (!isset($action)) $action = 'words';
|
|
|
|
|
|
|
|
|
|
if (isset($_POST['saveopts_linkword']))
|
|
|
|
|
{ // Save options page
|
|
|
|
|
// Array of context flags
|
|
|
|
|
$pref['lw_context_visibility'] = array(
|
2008-12-07 21:55:02 +00:00
|
|
|
|
'OLDDEFAULT' => FALSE,
|
|
|
|
|
'TITLE' => FALSE,
|
|
|
|
|
'USER_TITLE' => FALSE,
|
|
|
|
|
'SUMMARY' => FALSE,
|
|
|
|
|
'BODY' => FALSE,
|
|
|
|
|
'USER_BODY' => FALSE,
|
|
|
|
|
'DESCRIPTION' => FALSE,
|
|
|
|
|
'LINKTEXT' => FALSE,
|
|
|
|
|
'RAWTEXT' => FALSE
|
2007-02-07 21:48:26 +00:00
|
|
|
|
);
|
2008-12-13 18:04:52 +00:00
|
|
|
|
foreach ($_POST['lw_visibility_area'] as $can_see)
|
2007-02-07 21:48:26 +00:00
|
|
|
|
{
|
2008-12-13 18:04:52 +00:00
|
|
|
|
if (key_exists($can_see,$lw_context_areas))
|
|
|
|
|
{
|
|
|
|
|
$pref['lw_context_visibility'][$can_see] = TRUE;
|
|
|
|
|
}
|
2007-02-07 21:48:26 +00:00
|
|
|
|
}
|
2008-12-13 18:04:52 +00:00
|
|
|
|
// Text area for 'exclude' pages - use same method as for menus
|
|
|
|
|
$pagelist = explode("\r\n", $_POST['linkword_omit_pages']);
|
|
|
|
|
for ($i = 0 ; $i < count($pagelist) ; $i++)
|
|
|
|
|
{
|
|
|
|
|
$pagelist[$i] = trim($pagelist[$i]);
|
|
|
|
|
}
|
|
|
|
|
$pref['lw_page_visibility'] = '2-'.implode("|", $pagelist); // '2' for 'hide on specified pages'
|
|
|
|
|
$pref['lw_ajax_enable'] = isset($_POST['lw_ajax_enable']);
|
|
|
|
|
save_prefs();
|
|
|
|
|
$logString = implode(', ',$pref['lw_context_visibility']).'[!br!]'.$pref['lw_page_visibility'].'[!br!]'.$pref['lw_ajax_enable'];
|
|
|
|
|
$e107->ecache->clear_sys(LW_CACHE_TAG);
|
2008-12-07 21:55:02 +00:00
|
|
|
|
$admin_log->log_event('LINKWD_04',$logString,'');
|
2006-12-02 04:36:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2007-02-07 21:48:26 +00:00
|
|
|
|
|
2008-12-07 21:55:02 +00:00
|
|
|
|
if (isset($_POST['submit_linkword']) || isset($_POST['update_linkword']))
|
2006-12-02 04:36:16 +00:00
|
|
|
|
{
|
|
|
|
|
if(!$_POST['linkwords_word'] && $_POST['linkwords_url'])
|
2008-12-07 21:55:02 +00:00
|
|
|
|
{ // Key fields empty
|
2006-12-02 04:36:16 +00:00
|
|
|
|
$message = LWLAN_1;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2008-12-07 21:55:02 +00:00
|
|
|
|
$data['linkword_word'] = $tp -> toDB($_POST['linkword_word']);
|
|
|
|
|
$data['linkword_link'] = $tp -> toDB($_POST['linkword_link']);
|
|
|
|
|
$data['linkword_tooltip'] = $tp -> toDB($_POST['linkword_tooltip']);
|
|
|
|
|
$data['linkword_tip_id'] = intval($_POST['linkword_tip_id']);
|
|
|
|
|
$data['linkword_active'] = intval($_POST['linkword_active']);
|
|
|
|
|
$data['linkword_newwindow'] = isset($_POST['linkword_newwindow']) ? 1 : 0;
|
|
|
|
|
|
|
|
|
|
$logString = implode('[!br!]',$data);
|
|
|
|
|
if (isset($_POST['submit_linkword']))
|
|
|
|
|
{
|
|
|
|
|
if ($sql -> db_Insert('linkwords', $data))
|
|
|
|
|
{
|
|
|
|
|
$message = LWLAN_2;
|
|
|
|
|
$admin_log->log_event('LINKWD_01',$logString,'');
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
$message = LWLAN_57;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
elseif (isset($_POST['update_linkword']))
|
|
|
|
|
{
|
|
|
|
|
$id = intval(varset($_POST['lw_edit_id'],0));
|
|
|
|
|
if (($id > 0) && $sql -> db_UpdateArray('linkwords', $data, ' WHERE `linkword_id`='.$id))
|
|
|
|
|
{
|
|
|
|
|
$message = LWLAN_3;
|
|
|
|
|
$logString = 'ID: '.$id.'[!br!]'.$logString;
|
|
|
|
|
$admin_log->log_event('LINKWD_02',$logString,'');
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
$message = LWLAN_57;
|
|
|
|
|
}
|
|
|
|
|
}
|
2008-12-13 18:04:52 +00:00
|
|
|
|
$e107->ecache->clear_sys(LW_CACHE_TAG);
|
2006-12-02 04:36:16 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2007-02-07 21:48:26 +00:00
|
|
|
|
if (isset($message))
|
|
|
|
|
{
|
2006-12-02 04:36:16 +00:00
|
|
|
|
$ns->tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2008-12-07 21:55:02 +00:00
|
|
|
|
$chkNewWindow = " checked='checked'"; // Open links in new window by default
|
2006-12-02 04:36:16 +00:00
|
|
|
|
if($action == "edit")
|
|
|
|
|
{
|
2007-02-07 21:48:26 +00:00
|
|
|
|
if($sql -> db_Select("linkwords", "*", "linkword_id=".$id))
|
|
|
|
|
{
|
|
|
|
|
$row = $sql -> db_Fetch();
|
|
|
|
|
extract($row);
|
2008-12-07 21:55:02 +00:00
|
|
|
|
$chkNewWindow = $row['linkword_newwindow'] ? " checked='checked'" : ''; // Open links in new window by default
|
2007-02-07 21:48:26 +00:00
|
|
|
|
define("LW_EDIT", TRUE);
|
|
|
|
|
}
|
2006-12-02 04:36:16 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2007-02-07 21:48:26 +00:00
|
|
|
|
unset($linkword_word, $linkword_link, $linkword_active);
|
2006-12-02 04:36:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-07 21:48:26 +00:00
|
|
|
|
if (($action == 'words') || ($action == 'edit'))
|
|
|
|
|
{
|
2006-12-02 04:36:16 +00:00
|
|
|
|
$text = "
|
|
|
|
|
<div class='center'>
|
2007-02-07 21:48:26 +00:00
|
|
|
|
<form method='post' action='".e_SELF."?words'>
|
2006-12-02 04:36:16 +00:00
|
|
|
|
<table style='".ADMIN_WIDTH."' class='fborder'>
|
2008-12-07 21:55:02 +00:00
|
|
|
|
<colgroup>
|
|
|
|
|
<col style='width: 35%; vertical-align:top;' />
|
|
|
|
|
<col style='width: 65%; vertical-align:top;' />
|
|
|
|
|
</colgroup>
|
2006-12-02 04:36:16 +00:00
|
|
|
|
|
|
|
|
|
<tr>
|
2008-12-07 21:55:02 +00:00
|
|
|
|
<td class='forumheader3'>".LWLAN_21."</td>
|
|
|
|
|
<td class='forumheader3'>
|
2006-12-02 04:36:16 +00:00
|
|
|
|
<input class='tbox' type='text' name='linkword_word' size='40' value='".$linkword_word."' maxlength='100' />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2008-12-07 21:55:02 +00:00
|
|
|
|
<td class='forumheader3'>".LWLAN_6."</td>
|
|
|
|
|
<td class='forumheader3'>
|
|
|
|
|
<input class='tbox' type='text' name='linkword_link' size='60' value='".$linkword_link."' maxlength='250' /><br />
|
|
|
|
|
<input type='checkbox' name='linkword_newwindow' value='1'{$chkNewWindow} />".LWLAN_55."
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td class='forumheader3'>".LWLAN_50."</td>
|
|
|
|
|
<td class='forumheader3'>
|
|
|
|
|
<textarea rows='3' cols='80' class='tbox' name='linkword_tooltip'>".$linkword_tooltip."</textarea>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td class='forumheader3'>".LWLAN_62."</td>
|
|
|
|
|
<td class='forumheader3'>
|
|
|
|
|
<input class='tbox' type='text' name='linkword_tip_id' size='10' value='".$linkword_tip_id."' maxlength='10' /> ".LWLAN_63."
|
2006-12-02 04:36:16 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
2008-12-07 21:55:02 +00:00
|
|
|
|
<td class='forumheader3'>".LWLAN_22."</td>
|
|
|
|
|
<td style='text-align:left' class='forumheader3'><select class='tbox' name='linkword_active'>".lw_act_opts($linkword_active).
|
|
|
|
|
"</select>
|
2006-12-02 04:36:16 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan='2' style='text-align:center' class='forumheader'>".
|
2008-12-07 21:55:02 +00:00
|
|
|
|
(defined("LW_EDIT") ? "<input class='button' type='submit' name='update_linkword' value='".LWLAN_15."' /><input type='hidden' name='lw_edit_id' value='{$id}' />" : "<input class='button' type='submit' name='submit_linkword' value='".LWLAN_14."' />")."
|
2006-12-02 04:36:16 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</form>
|
|
|
|
|
</div>\n";
|
|
|
|
|
|
2008-12-07 21:55:02 +00:00
|
|
|
|
|
2007-02-07 21:48:26 +00:00
|
|
|
|
$ns -> tablerender(LWLAN_31, $text);
|
|
|
|
|
}
|
|
|
|
|
|
2007-03-06 20:17:16 +00:00
|
|
|
|
if (($action == 'words') || ($action == 'edit'))
|
|
|
|
|
{
|
2008-12-07 21:55:02 +00:00
|
|
|
|
|
|
|
|
|
|
2007-03-06 20:17:16 +00:00
|
|
|
|
$text = "<div class='center'>\n";
|
|
|
|
|
if(!$sql -> db_Select("linkwords"))
|
|
|
|
|
{
|
|
|
|
|
$text .= LWLAN_4;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
$text = "
|
2008-12-07 21:55:02 +00:00
|
|
|
|
<div class='center'>
|
2007-03-06 20:17:16 +00:00
|
|
|
|
<table style='".ADMIN_WIDTH."' class='fborder'>
|
2008-12-07 21:55:02 +00:00
|
|
|
|
<colgroup>
|
|
|
|
|
<col style='width: 5%; vertical-align:top;' />
|
|
|
|
|
<col style='width: 15%; vertical-align:top;' />
|
|
|
|
|
<col style='width: 20%; vertical-align:top;' />
|
|
|
|
|
<col style='width: 5%; vertical-align:top;' />
|
|
|
|
|
<col style='width: 25%; vertical-align:top;' />
|
|
|
|
|
<col style='width: 5%; vertical-align:top;' />
|
|
|
|
|
<col style='width: 10%; vertical-align:top; text-align: center;' />
|
|
|
|
|
<col style='width: 15%; vertical-align:top; text-align: center;' />
|
|
|
|
|
</colgroup> <tr>
|
|
|
|
|
<td class='forumheader'>".LWLAN_61."</td>
|
|
|
|
|
<td class='forumheader'>".LWLAN_5."</td>
|
|
|
|
|
<td class='forumheader'>".LWLAN_6."</td>
|
|
|
|
|
<td class='forumheader'>".LWLAN_56."</td>
|
|
|
|
|
<td class='forumheader'>".LWLAN_50."</td>
|
|
|
|
|
<td class='forumheader'>".LWLAN_60."</td>
|
|
|
|
|
<td class='forumheader'>".LWLAN_7."</td>
|
|
|
|
|
<td class='forumheader'>".LWLAN_8."</td>
|
2007-03-06 20:17:16 +00:00
|
|
|
|
</tr>\n";
|
|
|
|
|
|
|
|
|
|
while($row = $sql -> db_Fetch())
|
|
|
|
|
{
|
|
|
|
|
$text .= "
|
|
|
|
|
<tr>
|
2008-12-07 21:55:02 +00:00
|
|
|
|
<td class='forumheader'>{$row['linkword_id']}</td>
|
|
|
|
|
<td class='forumheader'>{$row['linkword_word']}</td>
|
|
|
|
|
<td class='forumheader'>{$row['linkword_link']}</td>
|
|
|
|
|
<td class='forumheader'>".($row['linkword_newwindow'] ? LAN_YES : LAN_NO)."</td>
|
|
|
|
|
<td class='forumheader'>{$row['linkword_tooltip']}</td>
|
|
|
|
|
<td class='forumheader'>".($row['linkword_tip_id'] > 0 ? $row['linkword_tip_id'] : '')."</td>
|
|
|
|
|
<td class='forumheader' >".$lwaction_vals[$row['linkword_active']]."</td>
|
|
|
|
|
<td class='forumheader' >
|
|
|
|
|
<form action='".e_SELF."' method='post' id='myform_{$row['linkword_id']}' onsubmit=\"return jsconfirm('".LWLAN_18." [ID: {$row['linkword_id']} ]')\">
|
|
|
|
|
<div>
|
|
|
|
|
<input class='button' type='button' onclick=\"document.location='".e_SELF."?edit.{$row['linkword_id']}'\" value='".LWLAN_16."' id='edit_{$row['linkword_id']}' name='edit_linkword_id' />
|
|
|
|
|
<input class='button' type='submit' value='".LWLAN_17."' id='delete_{$row['linkword_id']}' name='delete_{$row['linkword_id']}' />
|
|
|
|
|
</div>
|
|
|
|
|
</form>\n
|
2007-03-06 20:17:16 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2008-12-07 21:55:02 +00:00
|
|
|
|
";
|
2007-03-06 20:17:16 +00:00
|
|
|
|
}
|
|
|
|
|
$text .= "</table>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$text .= "</div>";
|
|
|
|
|
$ns -> tablerender(LWLAN_11, $text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2007-02-07 21:48:26 +00:00
|
|
|
|
|
|
|
|
|
if ($action=='options')
|
|
|
|
|
{
|
|
|
|
|
$menu_pages = substr($pref['lw_page_visibility'],2); // Knock off the 'show/hide' flag
|
|
|
|
|
$menu_pages = str_replace("|", "\n", $menu_pages);
|
2008-12-07 21:55:02 +00:00
|
|
|
|
$AjaxEnable = varset($pref['lw_ajax_enable'],0);
|
2007-02-07 21:48:26 +00:00
|
|
|
|
$text = "
|
|
|
|
|
<div class='center'>
|
|
|
|
|
<form method='post' action='".e_SELF."?options'>
|
|
|
|
|
<table style='".ADMIN_WIDTH."' class='fborder'>
|
|
|
|
|
<colgroup>
|
|
|
|
|
<col style='width: 30%; vertical-align:top;' />
|
|
|
|
|
<col style='width: 40%; vertical-align:top;' />
|
|
|
|
|
<col style='width: 30%; vertical-align:top;' />
|
|
|
|
|
</colgroup>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class='forumheader3'>".LWLAN_26."</td>
|
|
|
|
|
<td class='forumheader3'>";
|
|
|
|
|
foreach ($lw_context_areas as $lw_key=>$lw_desc)
|
|
|
|
|
{
|
|
|
|
|
$checked = $pref['lw_context_visibility'][$lw_key] ? 'checked=checked' : '';
|
|
|
|
|
$text .= "<input type='checkbox' name='lw_visibility_area[]' value={$lw_key} {$checked} />{$lw_desc}<br />";
|
|
|
|
|
}
|
|
|
|
|
$text .= "</td>
|
|
|
|
|
<td class='forumheader3'>".LWLAN_27."
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td class='forumheader3'>".LWLAN_28."</td>
|
|
|
|
|
<td class='forumheader3'><textarea rows='5' cols='60' class='tbox' name='linkword_omit_pages' >".$menu_pages."</textarea>
|
|
|
|
|
</td>
|
|
|
|
|
<td class='forumheader3'>".LWLAN_29."
|
2008-12-07 21:55:02 +00:00
|
|
|
|
</tr>";
|
|
|
|
|
|
|
|
|
|
$checked = varset($pref['lw_ajax_enable'],0) ? 'checked=checked' : '';
|
|
|
|
|
$text .= "
|
|
|
|
|
<tr>
|
|
|
|
|
<td class='forumheader3'>".LWLAN_59."</td>
|
|
|
|
|
<td class='forumheader3'><input type='checkbox' name='lw_ajax_enable' {$checked}>
|
|
|
|
|
</td>
|
|
|
|
|
<td class='forumheader3'>".""."
|
2007-02-07 21:48:26 +00:00
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan='3' style='text-align:center' class='forumheader'>
|
|
|
|
|
<input class='button' type='submit' name='saveopts_linkword' value='".LWLAN_30."' />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</form>
|
|
|
|
|
</div>\n";
|
|
|
|
|
|
|
|
|
|
$ns -> tablerender(LWLAN_32, $text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function admin_config_adminmenu()
|
|
|
|
|
{
|
|
|
|
|
if (e_QUERY)
|
|
|
|
|
{
|
|
|
|
|
$tmp = explode(".", e_QUERY);
|
|
|
|
|
$action = $tmp[0];
|
|
|
|
|
}
|
|
|
|
|
if (!isset($action) || ($action == ""))
|
|
|
|
|
{
|
|
|
|
|
$action = "words";
|
|
|
|
|
}
|
|
|
|
|
$var['words']['text'] = LWLAN_24;
|
|
|
|
|
$var['words']['link'] = "admin_config.php";
|
|
|
|
|
|
|
|
|
|
$var['options']['text'] = LWLAN_25;
|
|
|
|
|
$var['options']['link'] ="admin_config.php?options";
|
|
|
|
|
|
|
|
|
|
show_admin_menu(LWLAN_23, $action, $var);
|
|
|
|
|
}
|
2006-12-02 04:36:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
require_once(e_ADMIN."footer.php");
|
|
|
|
|
?>
|