mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 18:30:53 +02:00
Docs Administration ready
This commit is contained in:
@@ -1,20 +1,18 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
+ ----------------------------------------------------------------------------+
|
* e107 website system
|
||||||
| e107 website system
|
*
|
||||||
|
|
* Copyright (C) 2001-2008 e107 Inc (e107.org)
|
||||||
| <20>Steve Dunstan 2001-2002
|
* Released under the terms and conditions of the
|
||||||
| http://e107.org
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
| jalist@e107.org
|
*
|
||||||
|
|
* Docs
|
||||||
| Released under the terms and conditions of the
|
*
|
||||||
| GNU General Public License (http://gnu.org).
|
* $Source: /cvs_backup/e107_0.8/e107_admin/docs.php,v $
|
||||||
|
|
* $Revision: 1.3 $
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_admin/docs.php,v $
|
* $Date: 2008-12-16 15:16:09 $
|
||||||
| $Revision: 1.2 $
|
* $Author: secretr $
|
||||||
| $Date: 2006-12-07 15:41:49 $
|
*
|
||||||
| $Author: sweetas $
|
|
||||||
+----------------------------------------------------------------------------+
|
|
||||||
*/
|
*/
|
||||||
require_once("../class2.php");
|
require_once("../class2.php");
|
||||||
if (!ADMIN) {
|
if (!ADMIN) {
|
||||||
@@ -47,8 +45,8 @@ if (e_QUERY) {
|
|||||||
fclose ($fd);
|
fclose ($fd);
|
||||||
|
|
||||||
$text = $tp->toHTML($text, TRUE);
|
$text = $tp->toHTML($text, TRUE);
|
||||||
$text = preg_replace("/Q\>(.*?)A>/si", "<img src='".e_IMAGE."packs/".$imode."/generic/question.png' style='vertical-align: middle' /><b>\\1</b>A>", $text);
|
$text = preg_replace("/Q\>(.*?)A>/si", "<img src='".e_IMAGE_ABS."generic/question.png' class='icon' alt='' /><b>\\1</b>A>", $text);
|
||||||
$text = str_replace("A>", "<img src='".e_IMAGE."packs/".$imode."/generic/answer.png' style='vertical-align: middle' />", $text);
|
$text = str_replace("A>", "<img src='".e_IMAGE."generic/answer.png' class='icon' alt='' />", $text);
|
||||||
|
|
||||||
$ns->tablerender(str_replace("_", " ", $helplist[e_QUERY]), $text."<br />");
|
$ns->tablerender(str_replace("_", " ", $helplist[e_QUERY]), $text."<br />");
|
||||||
unset($text);
|
unset($text);
|
||||||
|
Reference in New Issue
Block a user