Version 2.2.0 RC-1
This commit is contained in:
1 parent
f73f8bff6d
commit
22f1b963ee
1034 files changed
+178610
-70897
No files matched your search
@@ -2,27 +2,17 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.1.7
|
||||
| Invision Power Board
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2005 Invision Power Services, Inc.
|
||||
| (c) 2001 - 2006 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Tuesday 18th of July 2006 05:56:00 PM
|
||||
| Release: 52f408a29988b02f45b5e6f4ba5af0ae
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
| http://www.ibresource.ru/license
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2005-10-10 14:08:54 +0100 (Mon, 10 Oct 2005) $
|
||||
| > $Revision: 23 $
|
||||
| > $Date: 2006-09-22 11:28:54 +0100 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
@@ -37,7 +27,7 @@
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Íåâåðíûé âõîä</h1> Ó Âàñ íåò äîñòóïà ê äèðåêòèâå ýòîãî ôàéëà. Åñëè Âû ïðîâîäèëè îáíîâëåíèÿ, óáåäèòåñü, ÷òî íå çàáûëè îáíîâèòü 'admin.php'.";
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -45,6 +35,10 @@ if ( ! defined( 'IN_ACP' ) )
|
||||
class ad_help
|
||||
{
|
||||
var $base_url;
|
||||
var $html;
|
||||
var $parser;
|
||||
var $han_editor;
|
||||
var $image_dir;
|
||||
|
||||
/**
|
||||
* Section title name
|
||||
@@ -62,16 +56,7 @@ class ad_help
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Kill globals - globals bad, Homer good.
|
||||
//-----------------------------------------
|
||||
|
||||
$tmp_in = array_merge( $_GET, $_POST, $_COOKIE );
|
||||
|
||||
foreach ( $tmp_in as $k => $v )
|
||||
{
|
||||
unset($$k);
|
||||
}
|
||||
$this->ipsclass->admin->nav[] = array( $this->ipsclass->form_code, 'Manage Help Files' );
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
@@ -91,6 +76,11 @@ class ad_help
|
||||
$this->doedit();
|
||||
break;
|
||||
|
||||
case 'doreorder':
|
||||
$this->ipsclass->admin->cp_permission_check( $this->perm_main.'|'.$this->perm_child.':edit' );
|
||||
$this->doreorder();
|
||||
break;
|
||||
|
||||
case 'donew':
|
||||
$this->ipsclass->admin->cp_permission_check( $this->perm_main.'|'.$this->perm_child.':add' );
|
||||
$this->doadd();
|
||||
@@ -100,14 +90,85 @@ class ad_help
|
||||
$this->ipsclass->admin->cp_permission_check( $this->perm_main.'|'.$this->perm_child.':remove' );
|
||||
$this->remove();
|
||||
break;
|
||||
|
||||
|
||||
case 'master_xml_export':
|
||||
$this->master_xml_export();
|
||||
break;
|
||||
|
||||
//-----------------------------------------
|
||||
default:
|
||||
$this->ipsclass->admin->cp_permission_check( $this->perm_main.'|'.$this->perm_child.':' );
|
||||
$this->list_files();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Export Master XML
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function master_xml_export()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// INIT
|
||||
//-----------------------------------------
|
||||
|
||||
$entry = array();
|
||||
|
||||
//-----------------------------------------
|
||||
// Get XML class
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( KERNEL_PATH.'class_xml.php' );
|
||||
|
||||
$xml = new class_xml();
|
||||
|
||||
$xml->doc_type = $this->ipsclass->vars['gb_char_set'];
|
||||
|
||||
$xml->xml_set_root( 'export', array( 'exported' => time() ) );
|
||||
|
||||
//-----------------------------------------
|
||||
// Set group
|
||||
//-----------------------------------------
|
||||
|
||||
$xml->xml_add_group( 'group' );
|
||||
|
||||
//-----------------------------------------
|
||||
// Get templates...
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => '*',
|
||||
'from' => 'faq' ) );
|
||||
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$content = array();
|
||||
|
||||
//-----------------------------------------
|
||||
// Sort the fields...
|
||||
//-----------------------------------------
|
||||
|
||||
foreach( $r as $k => $v )
|
||||
{
|
||||
$content[] = $xml->xml_build_simple_tag( $k, $v );
|
||||
}
|
||||
|
||||
$entry[] = $xml->xml_build_entry( 'row', $content );
|
||||
}
|
||||
|
||||
$xml->xml_add_entry_to_group( 'group', $entry );
|
||||
|
||||
$xml->xml_format_document();
|
||||
|
||||
$doc = $xml->xml_document;
|
||||
|
||||
//-----------------------------------------
|
||||
// Print to browser
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->admin->show_download( $doc, 'faq.xml', '', 0 );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
@@ -118,10 +179,43 @@ class ad_help
|
||||
{
|
||||
if ($this->ipsclass->input['id'] == "")
|
||||
{
|
||||
$this->ipsclass->admin->error("Âû äîëæíû ââåñòè ïðàâèëüíûé ID ôàéëà ïîìîùè!");
|
||||
$this->ipsclass->admin->error("You must pass a valid emoticon id, silly!");
|
||||
}
|
||||
|
||||
$text = preg_replace( "/\n/", "<br>", stripslashes($_POST['text'] ) );
|
||||
//-----------------------------------------
|
||||
// Load and config the std/rte editors
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->load_skin();
|
||||
|
||||
require_once( ROOT_PATH."sources/handlers/han_editor.php" );
|
||||
$this->han_editor = new han_editor();
|
||||
$this->han_editor->ipsclass =& $this->ipsclass;
|
||||
$this->han_editor->init();
|
||||
|
||||
//-----------------------------------------
|
||||
// Load and config the post parser
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH."sources/handlers/han_parse_bbcode.php" );
|
||||
$this->parser = new parse_bbcode();
|
||||
$this->parser->ipsclass =& $this->ipsclass;
|
||||
$this->parser->allow_update_caches = 1;
|
||||
|
||||
$this->parser->bypass_badwords = 1;
|
||||
|
||||
if ($this->ipsclass->input['title'] == "")
|
||||
{
|
||||
$this->ipsclass->admin->error("You must enter a title, silly!");
|
||||
}
|
||||
|
||||
$text = $this->han_editor->process_raw_post( 'text' );
|
||||
$this->parser->parse_smilies = 1;
|
||||
$this->parser->parse_html = 1;
|
||||
$this->parser->parse_bbcode = 1;
|
||||
$text = $this->parser->pre_display_parse( $this->parser->pre_db_parse( $text ) );
|
||||
|
||||
//$text = preg_replace( "/\n/", "<br>", stripslashes($_POST['text'] ) );
|
||||
//$title = preg_replace( "/\n/", "<br>", stripslashes($_POST['title'] ) );
|
||||
$desc = preg_replace( "/\n/", "<br>", stripslashes($_POST['description'] ) );
|
||||
|
||||
@@ -132,12 +226,42 @@ class ad_help
|
||||
'description' => $desc,
|
||||
) , "id=".intval($this->ipsclass->input['id']) );
|
||||
|
||||
$this->ipsclass->admin->save_log("Èçìåíåí ôàéë ïîìîùè");
|
||||
$this->ipsclass->admin->save_log("Edited help files");
|
||||
|
||||
$this->ipsclass->boink_it($this->ipsclass->base_url."&{$this->ipsclass->form_code}");
|
||||
exit();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
function doreorder()
|
||||
{
|
||||
foreach ($this->ipsclass->input as $key => $value)
|
||||
{
|
||||
if ( preg_match( "/^order_(\d+)$/", $key, $match ) )
|
||||
{
|
||||
if ($this->ipsclass->input[$match[0]])
|
||||
{
|
||||
$ids[ $match[1] ] = $this->ipsclass->input[$match[0]];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$ids = $this->ipsclass->clean_int_array( $ids );
|
||||
|
||||
//-----------------------------------------
|
||||
// Save changes
|
||||
//-----------------------------------------
|
||||
|
||||
if ( count($ids) )
|
||||
{
|
||||
foreach( $ids as $this_id => $new_position )
|
||||
{
|
||||
$this->ipsclass->DB->do_update( 'faq', array( 'position' => intval($new_position) ), 'id='.$this_id );
|
||||
}
|
||||
}
|
||||
|
||||
$this->ipsclass->boink_it( $this->ipsclass->base_url.'&'.$this->ipsclass->form_code );
|
||||
}
|
||||
|
||||
//=====================================================
|
||||
@@ -145,8 +269,35 @@ class ad_help
|
||||
|
||||
function show_form($type='new')
|
||||
{
|
||||
$this->ipsclass->admin->page_detail = "Â ýòîé ñåêöèè âû ìîæåòå äîáàâëÿòü, èçìåíÿòü è óäàëÿòü ôàéëû ïîìîùè.";
|
||||
$this->ipsclass->admin->page_title = "Óïðàâëåíèå ôàéëàìè ïîìîùè";
|
||||
$this->ipsclass->admin->page_detail = "You may add/edit and remove help files below.";
|
||||
$this->ipsclass->admin->page_title = "Help File Management";
|
||||
$this->ipsclass->admin->nav[] = array( '', 'Add/Edit Help Files' );
|
||||
|
||||
//-----------------------------------------
|
||||
// Load and config the std/rte editors
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH."sources/handlers/han_editor.php" );
|
||||
$this->han_editor = new han_editor();
|
||||
$this->han_editor->ipsclass =& $this->ipsclass;
|
||||
$this->han_editor->init();
|
||||
$this->han_editor->from_acp = 1;
|
||||
|
||||
$this->han_editor->ed_width = "550px";
|
||||
$this->han_editor->ed_height = "200px";
|
||||
$this->ipsclass->vars['rte_width'] = "500px";
|
||||
$this->ipsclass->vars['rte_height'] = "200px";
|
||||
|
||||
//-----------------------------------------
|
||||
// Load and config the post parser
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH."sources/handlers/han_parse_bbcode.php" );
|
||||
$this->parser = new parse_bbcode();
|
||||
$this->parser->ipsclass =& $this->ipsclass;
|
||||
$this->parser->allow_update_caches = 1;
|
||||
|
||||
$this->parser->bypass_badwords = 1;
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
@@ -155,7 +306,7 @@ class ad_help
|
||||
|
||||
if ($this->ipsclass->input['id'] == "")
|
||||
{
|
||||
$this->ipsclass->admin->error("Âû äîëæíû ââåñòè ïðàâèëüíûé ID ôàéëà ïîìîùè!");
|
||||
$this->ipsclass->admin->error("You must pass a valid help file id, silly!");
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
@@ -165,18 +316,33 @@ class ad_help
|
||||
|
||||
if ( ! $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$this->ipsclass->admin->error("Íåâîçìîæíî íàéòè â áàçå äàííûõ ôàéë ïîìîùè ñ òàêèì ID");
|
||||
$this->ipsclass->admin->error("We could not find that help file in the database");
|
||||
}
|
||||
|
||||
if ( $this->han_editor->method == 'rte' )
|
||||
{
|
||||
$r['text'] = $this->parser->pre_display_parse( $this->parser->pre_db_parse( $r['text'] ) );
|
||||
$r['text'] = $this->parser->convert_ipb_html_to_html( $r['text'] );
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->parser->parse_html = 1;
|
||||
$this->parser->parse_nl2br = 1;
|
||||
$this->parser->parse_smilies = 1;
|
||||
$this->parser->parse_bbcode = 1;
|
||||
|
||||
$r['text'] = $this->parser->pre_edit_parse( $r['text'] );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
$button = 'Èçìåíèòü ýòîò ôàéë ïîìîùè';
|
||||
$button = 'Edit this Help File';
|
||||
$code = 'doedit';
|
||||
}
|
||||
else
|
||||
{
|
||||
$r = array();
|
||||
$button = 'Äîáàâèòü ýòîò ôàéë ïîìîùè';
|
||||
$button = 'Add this Help File';
|
||||
$code = 'donew';
|
||||
}
|
||||
|
||||
@@ -184,30 +350,31 @@ class ad_help
|
||||
2 => array( 'act' , 'help' ),
|
||||
3 => array( 'id' , $this->ipsclass->input['id'] ),
|
||||
4 => array( 'section', $this->ipsclass->section_code ),
|
||||
) );
|
||||
), "theAdminForm", "onclick='return ValidateForm()'", "postingform" );
|
||||
|
||||
|
||||
|
||||
$this->ipsclass->adskin->td_header[] = array( " " , "20%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( " " , "80%" );
|
||||
|
||||
$r['text'] = preg_replace( "/<br>/i", "\n", stripslashes($r['text']) );
|
||||
//$r['text'] = preg_replace( "/<br>/i", "\n", stripslashes($r['text']) );
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( $button );
|
||||
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Íàçâàíèå ôàéëà ïîìîùè",
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Help File Title",
|
||||
$this->ipsclass->adskin->form_input('title' , stripslashes($r['title']) ),
|
||||
) );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Îïèñàíèå",
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Help File Description",
|
||||
$this->ipsclass->adskin->form_textarea('description', stripslashes($r['description']) ),
|
||||
) );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Òåêñò",
|
||||
$this->ipsclass->adskin->form_textarea('text', $r['text'], "60", "10" ),
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Help File Text",
|
||||
//$this->ipsclass->adskin->form_textarea('text', $r['text'], "60", "10" ),
|
||||
$this->han_editor->show_editor( $r['text'], 'text' )
|
||||
) );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_form($button);
|
||||
@@ -224,10 +391,10 @@ class ad_help
|
||||
{
|
||||
if ($this->ipsclass->input['id'] == "")
|
||||
{
|
||||
$this->ipsclass->admin->error("Âû äîëæíû ââåñòè ïðàâèëüíûé ID ôàéëà ïîìîùè!");
|
||||
$this->ipsclass->admin->error("You must pass a valid help file id, silly!");
|
||||
}
|
||||
|
||||
$this->ipsclass->DB->simple_exec_query( array( 'delete' => 'faq', 'where' => "id=".$this->ipsclass->input['id'] ) );
|
||||
$this->ipsclass->DB->simple_exec_query( array( 'delete' => 'faq', 'where' => "id=".intval($this->ipsclass->input['id']) ) );
|
||||
|
||||
$this->ipsclass->admin->save_log("Removed a help file");
|
||||
|
||||
@@ -241,14 +408,41 @@ class ad_help
|
||||
|
||||
function doadd()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Load and config the std/rte editors
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->load_skin();
|
||||
|
||||
require_once( ROOT_PATH."sources/handlers/han_editor.php" );
|
||||
$this->han_editor = new han_editor();
|
||||
$this->han_editor->ipsclass =& $this->ipsclass;
|
||||
$this->han_editor->init();
|
||||
|
||||
//-----------------------------------------
|
||||
// Load and config the post parser
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH."sources/handlers/han_parse_bbcode.php" );
|
||||
$this->parser = new parse_bbcode();
|
||||
$this->parser->ipsclass =& $this->ipsclass;
|
||||
$this->parser->allow_update_caches = 1;
|
||||
|
||||
$this->parser->bypass_badwords = 1;
|
||||
|
||||
if ($this->ipsclass->input['title'] == "")
|
||||
{
|
||||
$this->ipsclass->admin->error("Âû äîëæíû ââåñòè íàçâàíèå ôàéëà ïîìîùè!");
|
||||
$this->ipsclass->admin->error("You must enter a title, silly!");
|
||||
}
|
||||
|
||||
$text = $this->han_editor->process_raw_post( 'text' );
|
||||
$this->parser->parse_smilies = 1;
|
||||
$this->parser->parse_html = 1;
|
||||
$this->parser->parse_bbcode = 1;
|
||||
$text = $this->parser->pre_display_parse( $this->parser->pre_db_parse( $text ) );
|
||||
|
||||
|
||||
|
||||
$text = preg_replace( "/\n/", "<br>", stripslashes($_POST['text'] ) );
|
||||
//$text = preg_replace( "/\n/", "<br>", stripslashes($_POST['text'] ) );
|
||||
$title = preg_replace( "/\n/", "<br>", stripslashes($_POST['title'] ) );
|
||||
$desc = preg_replace( "/\n/", "<br>", stripslashes($_POST['description'] ) );
|
||||
|
||||
@@ -259,7 +453,7 @@ class ad_help
|
||||
'description' => $desc,
|
||||
) );
|
||||
|
||||
$this->ipsclass->admin->save_log("Äîáàâëåí ôàéë ïîìîùè");
|
||||
$this->ipsclass->admin->save_log("Added a help file");
|
||||
|
||||
$this->ipsclass->boink_it($this->ipsclass->base_url."&{$this->ipsclass->form_code}");
|
||||
exit();
|
||||
@@ -271,38 +465,55 @@ class ad_help
|
||||
|
||||
function list_files()
|
||||
{
|
||||
$this->ipsclass->admin->page_detail = "Â ýòîé ñåêöèè âû ìîæåòå äîáàâëÿòü, èçìåíÿòü è óäàëÿòü ôàéëû ïîìîùè";
|
||||
$this->ipsclass->admin->page_title = "Óïðàâëåíèå ôàéëàìè ïîìîùè";
|
||||
$this->ipsclass->admin->page_detail = "You may add/edit and remove help files below.";
|
||||
$this->ipsclass->admin->page_title = "Help File Management";
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_form( array( 1 => array( 'code' , 'doreorder' ),
|
||||
2 => array( 'act' , 'help' ),
|
||||
5 => array( 'section' , 'tools' ),
|
||||
) );
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->adskin->td_header[] = array( "Íàçâàíèå" , "50%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Èçìåíèòü" , "30%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Óäàëèòü" , "20%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Title" , "45%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Edit" , "30%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Remove" , "20%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Position" , "5%" );
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Òåêóùèå ôàéëû ïîìîùè" );
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Current Help Files" );
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'faq', 'order' => "id" ) );
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'faq', 'order' => "position" ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
if ( $this->ipsclass->DB->get_num_rows() )
|
||||
{
|
||||
$count = $this->ipsclass->DB->get_num_rows();
|
||||
|
||||
$order_values = array();
|
||||
|
||||
for( $i=1; $i<=$count; $i++ )
|
||||
{
|
||||
$order_values[] = array( $i, $i );
|
||||
}
|
||||
|
||||
$last = 1;
|
||||
|
||||
while ( $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>".stripslashes($r['title'])."</b><br>".stripslashes($r['description']),
|
||||
"<center><a href='".$this->ipsclass->base_url."&{$this->ipsclass->form_code}&code=edit&id={$r['id']}'>Èçìåíèòü</a></center>",
|
||||
"<center><a href='".$this->ipsclass->base_url."&{$this->ipsclass->form_code}&code=remove&id={$r['id']}'>Óäàëèòü</a></center>",
|
||||
"<center><a href='".$this->ipsclass->base_url."&{$this->ipsclass->form_code}&code=edit&id={$r['id']}'>Edit</a></center>",
|
||||
"<center><a href='".$this->ipsclass->base_url."&{$this->ipsclass->form_code}&code=remove&id={$r['id']}'>Remove</a></center>",
|
||||
"<center>".$this->ipsclass->adskin->form_dropdown( 'order_'.$r['id'], $order_values, $r['order'] > 0 ? $r['order'] : $last )."</center>",
|
||||
) );
|
||||
|
||||
|
||||
|
||||
$last++;
|
||||
}
|
||||
}
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_basic("<a href='".$this->ipsclass->base_url."&{$this->ipsclass->form_code}&code=new'>Äîáàâèòü íîâûé ôàéë ïîìîùè</a>", "center", "pformstrip" );
|
||||
$form_button = "<input value='Reorder' class='realbutton' accesskey='s' type='submit'></form>";
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_basic("<div style='float:right;width:auto;'>{$form_button}</div><div class='fauxbutton-wrapper'><span class='fauxbutton'><a href='".$this->ipsclass->base_url."&{$this->ipsclass->form_code}&code=new'>Add New Help File</a></span></div>", "center", "tablesubheader" );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_table();
|
||||
|
||||
|
||||
Reference in new issue
Block a user