Version 2.2.2
No files matched your search
@@ -923,6 +923,15 @@ img.calendar
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
.popupmenu-pagelinks
|
||||
{
|
||||
background-color: #EFF3F7;
|
||||
border: 1px solid #999;
|
||||
text-align: left;
|
||||
font-size: 10px;
|
||||
padding: 3px 5px 3px 3px;
|
||||
}
|
||||
|
||||
.menusep
|
||||
{
|
||||
white-space: nowrap; /* stop menu collapsing in IE */
|
||||
@@ -936,6 +945,7 @@ img.calendar
|
||||
white-space: nowrap; /* stop menu collapsing in IE */
|
||||
padding-top:4px;
|
||||
padding-bottom:3px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.menusep a:link,
|
||||
@@ -947,6 +957,7 @@ img.calendar
|
||||
{
|
||||
text-decoration:none;
|
||||
font-weight:bold;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.fauxdropdown
|
||||
@@ -1205,7 +1216,7 @@ ins,
|
||||
.rte-cb-bg
|
||||
{
|
||||
background-color: #E5E6F1;
|
||||
background-image: url('images/folder_rte_images/rte-cb-top-bg.gif');
|
||||
background-image: url('images/folder_css_images/rte-cb-top-bg.gif');
|
||||
background-repeat: repeat-x;
|
||||
border-bottom: 1px solid #555;
|
||||
letter-spacing: 0;
|
||||
@@ -1217,7 +1228,7 @@ ins,
|
||||
.rte-buttonbar
|
||||
{
|
||||
background-color: #E5E6F1;
|
||||
background-image: url('images/folder_rte_images/rte_tile.gif');
|
||||
background-image: url('images/folder_css_images/rte_tile.gif');
|
||||
background-repeat: repeat-x;
|
||||
border: 1px solid #555;
|
||||
letter-spacing: 0;
|
||||
@@ -1250,7 +1261,7 @@ ins,
|
||||
font-size: 11px;
|
||||
overflow: hidden;
|
||||
background-color: #FFFFFF;
|
||||
background-image: url('images/folder_rte_images/rte-dd-bg.gif');
|
||||
background-image: url('images/folder_css_images/rte-dd-bg.gif');
|
||||
background-repeat: no-repeat;
|
||||
width:auto;
|
||||
}
|
||||
@@ -1396,7 +1407,7 @@ ins,
|
||||
|
||||
.rtebuttonbar1 {
|
||||
/*background: #D3D3D3;*/
|
||||
background-image: url(<#IMG_DIR#>/folder_rte_images/rte_tile.gif);
|
||||
background-image: url('images/folder_css_images/rte_tile.gif');
|
||||
border: 1px solid gray;
|
||||
border-bottom:0px;
|
||||
letter-spacing: 0;
|
||||
@@ -1406,7 +1417,7 @@ ins,
|
||||
|
||||
.rtebuttonbar2 {
|
||||
/*background: #D3D3D3;*/
|
||||
background-image: url(<#IMG_DIR#>/folder_rte_images/rte_tile.gif);
|
||||
background-image: url('images/folder_css_images/rte_tile.gif');
|
||||
border: 1px solid gray;
|
||||
border-top:1px solid gray;
|
||||
letter-spacing: 0;
|
||||
|
||||
@@ -73,7 +73,7 @@ function ajax_refresh( url, text, addtotext )
|
||||
|
||||
function pop_win(theUrl, winName, theWidth, theHeight)
|
||||
{
|
||||
if (winName == '') { winName = 'Preview'; }
|
||||
if (winName == '') { winName = 'Ïðåäïðîñìîòð'; }
|
||||
if (theHeight == '') { theHeight = 400; }
|
||||
if (theWidth == '') { theWidth = 400; }
|
||||
|
||||
@@ -290,31 +290,31 @@ function no_specialchars(type)
|
||||
if (type == 'sets')
|
||||
{
|
||||
var field = document.theAdminForm.sname;
|
||||
name = 'Skin Set Title';
|
||||
name = 'íàçâàíèè ñòèëÿ';
|
||||
}
|
||||
|
||||
if (type == 'wrapper')
|
||||
{
|
||||
var field = document.theAdminForm.name;
|
||||
name = 'Wrapper Title';
|
||||
name = 'íàçâàíèè îáùåãî øàáëîíà';
|
||||
}
|
||||
|
||||
if (type == 'csssheet')
|
||||
{
|
||||
var field = document.theAdminForm.name;
|
||||
name = 'StyleSheet Title';
|
||||
name = 'íàçâàíèè CSS';
|
||||
}
|
||||
|
||||
if (type == 'templates')
|
||||
{
|
||||
var field = document.theAdminForm.skname;
|
||||
name = 'Template Set Name';
|
||||
name = 'íàçâàíèè øàáëîíà';
|
||||
}
|
||||
|
||||
if (type == 'images')
|
||||
{
|
||||
var field = document.theAdminForm.setname;
|
||||
name = 'Image & Macro Set Title';
|
||||
name = 'íàçâàíèè íàáîðà ìàêðîñîâ è èçîáðàæåíèé';
|
||||
}
|
||||
|
||||
var valid = 'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890.()[]:;~+-_';
|
||||
@@ -333,7 +333,7 @@ function no_specialchars(type)
|
||||
|
||||
if (ok == 0)
|
||||
{
|
||||
alert('Invalid entry for: ' + name + ', you can only use alphanumerics and the following special characters.\n. ( ) : ; ~ + - _');
|
||||
alert('Íåäîïóñòèìûå ñèìâîëû â ' + name + ', âû ìîæåòå èñïîëüçîâàòü òîëüêî àíãëèéñêèå áóêâû, öèôðû è ñëåäóþùèå ñèìâîëû.\n. ( ) : ; ~ + - _');
|
||||
return false;
|
||||
}
|
||||
else
|
||||
@@ -368,7 +368,7 @@ function maincheckdelete(url, msg)
|
||||
{
|
||||
if ( ! msg )
|
||||
{
|
||||
msg = 'PLEASE CONFIRM:\nOK to proceed?';
|
||||
msg = 'Äëÿ ïîäòâåðæåäíèÿ íàæìèòå ÎÊ';
|
||||
}
|
||||
|
||||
if (confirm( msg ))
|
||||
@@ -377,7 +377,7 @@ function maincheckdelete(url, msg)
|
||||
}
|
||||
else
|
||||
{
|
||||
alert ( 'OK, action cancelled!' );
|
||||
alert ( 'Äåéñòâèå îòìåíåíî' );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,104 +1,105 @@
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// IPS BASIC MENU CLASS (EXTENSION: BUILD SIMPLE MENU)
|
||||
// (c) 2005 Invision Power Services, Inc
|
||||
// Assumes that "ips_menu.js" has been loaded
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
//----------------------------------
|
||||
// INIT some CSS classes
|
||||
//----------------------------------
|
||||
|
||||
var css_mainwrap = 'popupmenu';
|
||||
var css_menusep = 'menusep';
|
||||
var css_menusep_last = 'menuseplast';
|
||||
|
||||
//----------------------------------
|
||||
// INIT some images
|
||||
//----------------------------------
|
||||
|
||||
var img_add = "<img src='" + ipb_skin_url + "/images/icons_menu/add.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_edit = "<img src='" + ipb_skin_url + "/images/icons_menu/edit.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_view = "<img src='" + ipb_skin_url + "/images/icons_menu/view.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_delete = "<img src='" + ipb_skin_url + "/images/icons_menu/delete.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_info = "<img src='" + ipb_skin_url + "/images/icons_menu/info.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_action = "<img src='" + ipb_skin_url + "/images/icons_menu/manage.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_item = "<img src='" + ipb_skin_url + "/images/icons_menu/manage.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_newfolder = "<img src='" + ipb_skin_url + "/images/icons_menu/new-folder.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_password = "<img src='" + ipb_skin_url + "/images/icons_menu/password.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_export = "<img src='" + ipb_skin_url + "/images/icons_menu/export.png' border='0' alt='V' class='ipd' /> ";
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Return formed image
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function make_image( img )
|
||||
{
|
||||
return "<img src='" + ipb_skin_url + "/" + img + "' border='0' alt='-' class='ipd' />";
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// menu_build_menu
|
||||
// cid: ID of opener object (img, div, etc)
|
||||
// menuinput: Array of menu entries | Variable of menu HTML
|
||||
// complexmenu: Treat as HTML stream if true, else treat as array of HTML
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function menu_build_menu(cid, menuinput, complexmenu)
|
||||
{
|
||||
var html = "\n<div class='" + css_mainwrap + "' id='" + cid + "_menu' style='display:none;'>\n";
|
||||
|
||||
if ( ! complexmenu )
|
||||
{
|
||||
len = parseInt(menuinput.length);
|
||||
|
||||
if ( len > 0 )
|
||||
{
|
||||
for( var i in menuinput )
|
||||
{
|
||||
t = parseInt(i) + 1;
|
||||
|
||||
thisclass = ( t == len ) ? css_menusep_last : css_menusep;
|
||||
|
||||
if ( menuinput[i].match( /^--NODIV--/ ) )
|
||||
{
|
||||
html += menuinput[i].replace( /^--NODIV--/, '' );
|
||||
}
|
||||
else
|
||||
{
|
||||
html += "<div class='" + thisclass + "'>\n" + menuinput[i] + "\n</div>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
html += menuinput;
|
||||
}
|
||||
|
||||
html += "\n</div>\n";
|
||||
|
||||
//----------------------------------
|
||||
// Workaround for IE bug which shows
|
||||
// select boxes and other windows GUI
|
||||
// over divs. Write iframe
|
||||
//----------------------------------
|
||||
|
||||
if ( is_ie )
|
||||
{
|
||||
html += "\n"+'<iframe id="if_' + cid + '" src="' + ipb_skin_url + '/iframe.html" scrolling="no" frameborder="0" style="position:absolute;top:0px;left:0px;display:none;"></iframe>'+"\n";
|
||||
}
|
||||
|
||||
//----------------------------------
|
||||
// Write the html
|
||||
//----------------------------------
|
||||
|
||||
document.open();
|
||||
document.writeln( html );
|
||||
document.close();
|
||||
|
||||
//ipsmenu.dynamic_html += html;
|
||||
ipsmenu.dynamic_register[ ipsmenu.dynamic_register.length + 1 ] = cid;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// IPS BASIC MENU CLASS (EXTENSION: BUILD SIMPLE MENU)
|
||||
// (c) 2005 Invision Power Services, Inc
|
||||
// Assumes that "ips_menu.js" has been loaded
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
//----------------------------------
|
||||
// INIT some CSS classes
|
||||
//----------------------------------
|
||||
|
||||
var css_mainwrap = 'popupmenu';
|
||||
var css_menusep = 'menusep';
|
||||
var css_menusep_last = 'menuseplast';
|
||||
|
||||
//----------------------------------
|
||||
// INIT some images
|
||||
//----------------------------------
|
||||
|
||||
var img_add = "<img src='" + ipb_skin_url + "/images/icons_menu/add.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_edit = "<img src='" + ipb_skin_url + "/images/icons_menu/edit.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_view = "<img src='" + ipb_skin_url + "/images/icons_menu/view.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_delete = "<img src='" + ipb_skin_url + "/images/icons_menu/delete.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_info = "<img src='" + ipb_skin_url + "/images/icons_menu/info.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_action = "<img src='" + ipb_skin_url + "/images/icons_menu/manage.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_item = "<img src='" + ipb_skin_url + "/images/icons_menu/manage.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_newfolder = "<img src='" + ipb_skin_url + "/images/icons_menu/new-folder.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_password = "<img src='" + ipb_skin_url + "/images/icons_menu/password.gif' border='0' alt='V' class='ipd' /> ";
|
||||
var img_export = "<img src='" + ipb_skin_url + "/images/icons_menu/export.png' border='0' alt='V' class='ipd' /> ";
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Return formed image
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function make_image( img )
|
||||
{
|
||||
return "<img src='" + ipb_skin_url + "/" + img + "' border='0' alt='-' class='ipd' />";
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// menu_build_menu
|
||||
// cid: ID of opener object (img, div, etc)
|
||||
// menuinput: Array of menu entries | Variable of menu HTML
|
||||
// complexmenu: Treat as HTML stream if true, else treat as array of HTML
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function menu_build_menu(cid, menuinput, complexmenu)
|
||||
{
|
||||
var html = "\n<div class='" + css_mainwrap + "' id='" + cid + "_menu' style='display:none;'>\n";
|
||||
|
||||
if ( ! complexmenu )
|
||||
{
|
||||
len = parseInt(menuinput.length);
|
||||
|
||||
if ( len > 0 )
|
||||
{
|
||||
for( var i in menuinput )
|
||||
{
|
||||
t = parseInt(i) + 1;
|
||||
|
||||
thisclass = ( t == len ) ? css_menusep_last : css_menusep;
|
||||
|
||||
if ( menuinput[i].match( /^--NODIV--/ ) )
|
||||
{
|
||||
html += menuinput[i].replace( /^--NODIV--/, '' );
|
||||
}
|
||||
else
|
||||
{
|
||||
html += "<div class='" + thisclass + "'>\n" + menuinput[i] + "\n</div>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
html += menuinput;
|
||||
}
|
||||
|
||||
html += "\n</div>\n";
|
||||
|
||||
//----------------------------------
|
||||
// Workaround for IE bug which shows
|
||||
// select boxes and other windows GUI
|
||||
// over divs. Write iframe
|
||||
//----------------------------------
|
||||
|
||||
if ( is_ie )
|
||||
{
|
||||
html += "\n"+'<iframe id="if_' + cid + '" src="' + ipb_skin_url + '/iframe.html" scrolling="no" frameborder="0" style="position:absolute;top:0px;left:0px;display:none;"></iframe>'+"\n";
|
||||
}
|
||||
|
||||
//----------------------------------
|
||||
// Write the html
|
||||
//----------------------------------
|
||||
|
||||
if ( html != '' )
|
||||
{
|
||||
document.getElementById( cid ).parentNode.innerHTML += html;
|
||||
}
|
||||
|
||||
//ipsmenu.dynamic_html += html;
|
||||
ipsmenu.dynamic_register[ ipsmenu.dynamic_register.length + 1 ] = cid;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ acpperms.prototype.save_group = function( perm_main, perm_child, member_id, resu
|
||||
|
||||
if ( ! _this.xmlobj.readystate_ready_and_ok() )
|
||||
{
|
||||
_this.show_loading( 'Saving...' );
|
||||
_this.show_loading( 'Ñîõðàíåíèå...' );
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -366,7 +366,7 @@ acpperms.prototype.save_bits = function( doreturn )
|
||||
|
||||
if ( ! _this.xmlobj.readystate_ready_and_ok() )
|
||||
{
|
||||
_this.show_loading( 'Saving...' );
|
||||
_this.show_loading( 'Ñîõðàíåíèå...' );
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -429,7 +429,7 @@ acpperms.prototype.save_mainbit = function( result )
|
||||
|
||||
if ( ! _this.xmlobj.readystate_ready_and_ok() )
|
||||
{
|
||||
_this.show_loading( 'Saving...' );
|
||||
_this.show_loading( 'Ñîõðàíåíèå...' );
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -497,7 +497,7 @@ acpperms.prototype.save_tab = function( perm_main, member_id, result )
|
||||
|
||||
if ( ! _this.xmlobj.readystate_ready_and_ok() )
|
||||
{
|
||||
_this.show_loading( 'Saving...' );
|
||||
_this.show_loading( 'Ñîõðàíåíèå...' );
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -586,7 +586,7 @@ acpperms.prototype.init = function( tab, member_id, perm_child )
|
||||
|
||||
if ( ! _this.xmlobj.readystate_ready_and_ok() )
|
||||
{
|
||||
_this.show_loading( 'Loading...' );
|
||||
_this.show_loading( 'Çàãðóçêà...' );
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -785,7 +785,7 @@ acpperms.prototype.show_loading = function( status_msg )
|
||||
|
||||
acpperms.prototype.hide_loading = function()
|
||||
{
|
||||
this.div_status_msg.innerHTML = '<div style="width:auto" class="input-ok-content">Ready</span>';
|
||||
this.div_status_msg.innerHTML = '<div style="width:auto" class="input-ok-content">Ãîòîâî</span>';
|
||||
|
||||
this.loading_fired = 0;
|
||||
|
||||
|
||||
@@ -14,34 +14,34 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Log in Detail</div>
|
||||
<div class='tableheaderalt'>Ñâåäåíèÿ îá àâòîðèçàöèè</div>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
<tr>
|
||||
<td class='tablerow2'>
|
||||
<fieldset>
|
||||
<legend><strong>Basics</strong></legend>
|
||||
<legend><strong>Îñíîâíûå</strong></legend>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
<tr>
|
||||
<td width='30%' class='tablerow1'>Username</td>
|
||||
<td width='30%' class='tablerow1'>Èìÿ ïîëüçîâàòåëÿ</td>
|
||||
<td width='70%' class='tablerow1'>{$log['admin_username']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'>IP Address</td>
|
||||
<td class='tablerow1'>IP-àäðåñ</td>
|
||||
<td class='tablerow1'>{$log['admin_ip_address']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'>Log in Time</td>
|
||||
<td class='tablerow1'>Äàòà</td>
|
||||
<td class='tablerow1'>{$log['_admin_time']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'>Success</td>
|
||||
<td class='tablerow1'>Ñòàòóñ</td>
|
||||
<td class='tablerow1'><img src='{$this->ipsclass->skin_acp_url}/images/{$log['_admin_img']}' border='0' alt='-' class='ipd' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<br />
|
||||
<fieldset>
|
||||
<legend><strong>POST Data (Form Data)</strong></legend>
|
||||
<legend><strong>Äàííûå POST (èç ôîðìû)</strong></legend>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
EOF;
|
||||
if ( is_array( $log['_admin_post_details']['post'] ) AND count( $log['_admin_post_details']['post'] ) )
|
||||
@@ -59,7 +59,7 @@ $IPBHTML .= <<<EOF
|
||||
</fieldset>
|
||||
<br />
|
||||
<fieldset>
|
||||
<legend><strong>GET Data (URL Data)</strong></legend>
|
||||
<legend><strong>Äàííûå GET (èç URL)</strong></legend>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
EOF;
|
||||
if ( is_array( $log['_admin_post_details']['get'] ) AND count( $log['_admin_post_details']['get'] ) )
|
||||
@@ -103,7 +103,7 @@ $IPBHTML .= <<<EOF
|
||||
<td class='tablerow2' align='center'>{$r['_admin_time']}</td>
|
||||
<td class='tablerow2' align='center'><img src='{$this->ipsclass->skin_acp_url}/images/{$r['_admin_img']}' border='0' alt='-' class='ipd' /></td>
|
||||
<td class='tablerow1' width='1' valign='middle'>
|
||||
<a href='#' onclick="return ipsclass.pop_up_window('{$this->ipsclass->base_url}section=admin&act=loginlog&code=view_detail&detail={$r['admin_id']}', 400, 400)" title='View Details'><img src='{$this->ipsclass->skin_acp_url}/images/folder_components/index/view.png' border='0' alt='-' class='ipd' /></a>
|
||||
<a href='#' onclick="return ipsclass.pop_up_window('{$this->ipsclass->base_url}section=admin&act=loginlog&code=view_detail&detail={$r['admin_id']}', 400, 400)" title='Ïðîñìîòð äåòàëåé'><img src='{$this->ipsclass->skin_acp_url}/images/folder_components/index/view.png' border='0' alt='-' class='ipd' /></a>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
@@ -122,15 +122,15 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>ACP Log in Attempts</div>
|
||||
<div class='tableheaderalt'>Ñïèñîê ïîïûòîê àâòîðèçàöèè</div>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='1%'> </td>
|
||||
<td class='tablesubheader' width='30%'>Name</td>
|
||||
<td class='tablesubheader' width='20%'>IP Address</td>
|
||||
<td class='tablesubheader' width='44%' align='center'>Date</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Status</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Log</td>
|
||||
<td class='tablesubheader' width='30%'>Èìÿ ïîëüçîâàòåëÿ</td>
|
||||
<td class='tablesubheader' width='20%'>IP-àäðåñ</td>
|
||||
<td class='tablesubheader' width='44%' align='center'>Äàòà</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Ñòàòóñ</td>
|
||||
<td class='tablesubheader' width='5%' align='center'> </td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
@@ -154,20 +154,20 @@ $IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<script type="text/javascript" src='jscripts/ipb_xhr_findnames.js'></script>
|
||||
<script type="text/javascript" src='{$this->ipsclass->vars['board_url']}/jscripts/ipb_xhr_findnames.js'></script>
|
||||
<form id='postingform' style='display:block' action="{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=acpperms-member-add-complete" method="post" name="REPLIER">
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div id='ipb-get-members' style='border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:210px;display:none;z-index:100'></div>
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>ACP Permissions: Find an administrator</div>
|
||||
<div class='tableheaderalt'>Îãðàíè÷åíèÿ äîñòóïà â àäìèíöåíòð: Íàéòè àäìèíèñòðàòîðà</div>
|
||||
<div class='tablesubheader'> </div>
|
||||
<table width='100%' cellspacing='0' cellpadding='5' align='center' border='0'>
|
||||
<tr>
|
||||
<td class='tablerow1' width='50%' valign='middle'><b>Enter an administrator's display name</b><div style='color:gray'>An administrator is someone that has access to the ACP via their primary or secondary groups and is NOT in the Root Admin group.</div></td>
|
||||
<td class='tablerow1' width='50%' valign='middle'><b>Ââåäèòå îòîáðàæàåìîå èìÿ àäìèíèñòðàòîðà</b><div style='color:gray'>Ýòî äîëæåí áûòü ïîëüçîâàòåëü, êîòîðûé èìååò îñíîâíóþ èëè âòîðè÷íóþ ãðóïïó ñ äîñòóïîì â àäìèíöåíòð.<br />Ïîëüçîâàòåëü íå äîëæåí áûòü â ãðóïïå ãëàâíûõ àäìèíèñòðàòîðîâ.</div></td>
|
||||
<td class='tablerow2' width='50%' valign='middle'><input type="text" id='entered_name' name="entered_name" size="30" autocomplete='off' style='width:210px' value="" tabindex="1" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' class='tablesubheader' colspan='2' ><input type='submit' value='Proceed >>' class='realbutton' accesskey='s'></td>
|
||||
<td align='center' class='tablesubheader' colspan='2' ><input type='submit' value='Äàëåå >>' class='realbutton' accesskey='s'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -201,7 +201,7 @@ $IPBHTML .= <<<EOF
|
||||
<div class="tableborder" style='border-width:2px'>
|
||||
<div class='tableheaderalt' id='perms-drag' title='{$this->ipsclass->lang['myass_drag']}'>
|
||||
<div style='float:right'><a href='#' onclick='document.getElementById("perms-wrapper").style.display="none"'>[X]</a></div>
|
||||
<div>ACP Restriction Permissions</div>
|
||||
<div>Îãðàíè÷åíèÿ äîñòóïà â àäìèíöåíòð</div>
|
||||
</div>
|
||||
<div id='perms-content'></div>
|
||||
<div id='perms-status' class='tablerow4' style='height:30px;padding:0px'><div style='width:100px;float:left' id='perms-status-msg'></div></div>
|
||||
@@ -209,13 +209,13 @@ $IPBHTML .= <<<EOF
|
||||
</div>
|
||||
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>ACP Restriction Permissions</div>
|
||||
<div class='tableheaderalt'>Îãðàíè÷åíèÿ äîñòóïà â àäìèíöåíòð</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='40%'>Member</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>Primary Group</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>Updated</td>
|
||||
<td class='tablesubheader' width='5%'><img id="menumainone" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
<td class='tablesubheader' width='40%'>Ïîëüçîâàòåëü</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>Îñíîâíàÿ ãðóïïà</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>Îáíîâëåíî</td>
|
||||
<td class='tablesubheader' width='5%'><img id="menumainone" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
@@ -226,43 +226,43 @@ $IPBHTML .= <<<EOF
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<input type='hidden' name='MAX_FILE_SIZE' value='10000000000'>
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Import an XML Permissions file</div>
|
||||
<div class='tableheaderalt'>Èìïîðòèðîâàíèå ôàéë XML ñ îãðàíè÷åíèÿìè</div>
|
||||
<table width='100%' cellspacing='0' cellpadding='5' align='center' border='0'>
|
||||
<tr>
|
||||
<td class='tablerow1' width='50%' valign='middle'><b>Upload XML permissions file from your computer</b><div style='color:gray'>Duplicate entries will not be overwritten. The file must begin with 'ipb_' and end with either '.xml' or '.xml.gz'</div></td>
|
||||
<td class='tablerow1' width='50%' valign='middle'><b>Çàãðóçêà ôàéëà ñ êîìïüþòåðà</b><div style='color:gray'>Äâîéíûå çàïèñè íå áóäóò èìïîðòèðîâàíû. Ôàéë äîëæåí íà÷èíàòüñÿ ñ «ipb_» è èìåòü ðàñøèðåíèå «.xml» èëè «.xml.gz»</div></td>
|
||||
<td class='tablerow2' width='50%' valign='middle'><input class='textinput' type='file' size='30' name='FILE_UPLOAD'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1' width='50%' valign='middle'><b><u>OR</u> enter the filename of the XML permissions file</b><div style='color:gray'>The file must be uploaded into the forum's root folder</div></td>
|
||||
<td class='tablerow1' width='50%' valign='middle'><b><u>ÈËÈ</u> ââåäèòå íàçâàíèå ôàéëà</b><div style='color:gray'>Ôàéë äîëæåí áûòü çàãðóæåí â êîðíåâóþ äèðåêòîðèþ âàøåãî ôîðóìà.</div></td>
|
||||
<td class='tablerow2' width='50%' valign='middle'><input type='text' name='file_location' value='ipb_acpperms.xml' size='30' class='textinput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' class='tablesubheader' colspan='2' ><input type='submit' value='Import XML settings Set' class='realbutton' accesskey='s'></td>
|
||||
<td align='center' class='tablesubheader' colspan='2' ><input type='submit' value='Èìïîðòèðîâàòü' class='realbutton' accesskey='s'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
EOF;
|
||||
if ( IN_DEV )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Developer Tools</div>
|
||||
<div class='tablerow1'><strong>Generate XML from source files</strong>
|
||||
<div class='desctext'>Pick through /sources/action_admin for permission check rows and build an XML document ready for import</div>
|
||||
<div align='right'><strong><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=acpperms-dev-source-to-xml'>RUN TOOL</a> >></strong></div>
|
||||
<div class='tableheaderalt'>Ðåæèì ðàçðàáîò÷èêà: èíñòðóìåíòû</div>
|
||||
<div class='tablerow1'><strong>Ñãåíåðèðîâàòü XML èç èñõîäíèêîâ</strong>
|
||||
<div class='desctext'>Âûáðàòü ÷åðåç /sources/action_admin/ íàñòðîéêè îãðàíè÷åíèÿ äîñòóïà íà ïðîâåðêó è ñîçäàíèå XML äîêóìåíòà äëÿ èìïîðòèðîâàíèÿ</div>
|
||||
<div align='right'><strong><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=acpperms-dev-source-to-xml'>ÇÀÏÓÑÒÈÒÜ</a> >></strong></div>
|
||||
</div>
|
||||
|
||||
<div class='tablerow1'><strong>Generate Report: Uncompleted Files</strong>
|
||||
<div class='desctext'>Pick through /sources/action_admin for files that don't have any permission rows</div>
|
||||
<div align='right'><strong><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=acpperms-dev-report-missing'>RUN TOOL</a> >></strong></div>
|
||||
|
||||
<div class='tablerow1'><strong>Ñãåíåðèðîâàòü îò÷åò: Íåçàâåðøåííûå ôàéëû</strong>
|
||||
<div class='desctext'>Âûáðàòü ÷åðåç /sources/action_admin/ ôàéëû, ê êîòîðûì íå èìååòñÿ íàñòðîåê îãðàíè÷åíèÿ äîñòóïà</div>
|
||||
<div align='right'><strong><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=acpperms-dev-report-missing'>ÇÀÏÓÑÒÈÒÜ</a> >></strong></div>
|
||||
</div>
|
||||
|
||||
<div class='tablerow1'><strong>Generate Report: Language File</strong>
|
||||
<div class='desctext'>Pick through /sources/action_admin and generate the language file basics</div>
|
||||
<div align='right'><strong><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=acpperms-dev-report-language'>RUN TOOL</a> >></strong></div>
|
||||
|
||||
<div class='tablerow1'><strong>Ñãåíåðèðîâàòü îò÷åò: ßçûêîâûå ôàéëû</strong>
|
||||
<div class='desctext'>Âûáðàòü ÷åðåç /sources/action_admin/ è ñîçäàòü ÿçûêîâîé ôàéë</div>
|
||||
<div align='right'><strong><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=acpperms-dev-report-language'>ÇÀÏÓÑÒÈÒÜ</a> >></strong></div>
|
||||
</div>
|
||||
</div>
|
||||
EOF;
|
||||
@@ -273,8 +273,8 @@ $IPBHTML .= <<<EOF
|
||||
var permobj = new acpperms();
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array(
|
||||
img_add + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=acpperms-member-add'>Find and add administrator...</a>"
|
||||
new Array(
|
||||
img_add + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=acpperms-member-add'>Ïîèñê è äîáàâëåíèå àäìèíèñòðàòîðà</a>"
|
||||
) );
|
||||
//]]>
|
||||
</script>
|
||||
@@ -300,14 +300,14 @@ $IPBHTML .= <<<EOF
|
||||
</td>
|
||||
<td class='tablerow2' align='center'>{$data['_group_name']}</td>
|
||||
<td class='tablerow2' align='center'>{$data['_date']}</td>
|
||||
<td class='tablerow1'><img id="menu{$data['id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
<td class='tablerow1'><img id="menu{$data['id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$data['id']}",
|
||||
new Array(
|
||||
img_delete + " <a href='#' onclick='maincheckdelete(\"{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=accperms-member-remove&mid={$data['id']}\");'>Remove all member's restrictions...</a>",
|
||||
img_item + " <a href='#' onclick='permobj.init(\"\",{$data['id']})'>Manage member's restrictions...</a>"
|
||||
img_delete + " <a href='#' onclick='maincheckdelete(\"{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=accperms-member-remove&mid={$data['id']}\");'>Óäàëèòü âñå îãðàíè÷åíèÿ</a>",
|
||||
img_item + " <a href='#' onclick='permobj.init(\"\",{$data['id']})'>Óïðàâëåíèå îãðàíè÷åíèÿìè äîñòóïà</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
@@ -328,12 +328,11 @@ $IPBHTML = "";
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tablerow2'>
|
||||
<input type='hidden' id='perms-perm-child-id' value=' ' />
|
||||
ACP permission restrictions for <strong>{$member['members_display_name']}</strong>
|
||||
Îãðàíè÷åíèÿ äîñòóïà â àäìèíöåíòð äëÿ <strong>{$member['members_display_name']}</strong>
|
||||
<br />
|
||||
<br />
|
||||
Simply click on one of the tabs above to set the access level for all functions in this
|
||||
tab. If you want to choose access on a per-function level, click on the relevant link
|
||||
to be shown this function's options.
|
||||
Íàæìèòå íà çàêëàäêó âûøå, ÷òîáû óñòàíîâèòü óðîâåíü äîñòóïà äî âñåõ ôóíêöèé â ýòîé çàêëàäêå.
|
||||
Åñëè âû õîòèòå âûáðàòü óðîâåíü äîñòóïà ê êàæäîé ôóíêöèè, íàæìèòå íà ññûëêó, ïîêàçûâàþùåéñÿ â îïöèÿõ ýòèõ ôóíêöèé.
|
||||
</div>
|
||||
EOF;
|
||||
//--endhtml--//
|
||||
@@ -352,14 +351,14 @@ $IPBHTML = "";
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tablerow2'>
|
||||
<input type='hidden' id='perms-perm-child-id' value='' />
|
||||
ACP permission restritctions for <strong>{$member['members_display_name']}</strong>
|
||||
Îãðàíè÷åíèÿ äîñòóïà â àäìèíöåíòð äëÿ <strong>{$member['members_display_name']}</strong>
|
||||
<br />
|
||||
<br />
|
||||
Access to this tab has not yet been enabled. To enable individual access permissions for this tab
|
||||
simply click the green cross icon next to the tab title.
|
||||
Äîñòóï ê ýòîé çàêëàäêå åùå íå âêëþ÷åí. Äëÿ âêëþ÷åíèÿ èíäèâèäóàëüíûõ íàñòðîåê äîñòóïà äëÿ ýòîé çàêëàäêè
|
||||
ïðîñòî íàæìèòå íà çåëåíóþ èêîíêó, êîòîðàÿ íàõîäèòñÿ ïîñëå íàçâàíèÿ çàêëàäêè.
|
||||
<br />
|
||||
<br />
|
||||
You can then set individual permissions for each function which is grouped under this tab.
|
||||
Çàòåì âû ñìîæåòå óñòàíàâëèâàòü èíäèâèäóàëüíûå íàñòðîéêè äîñòóïà äî êàæäîé ôóíêöèè, êîòîðàÿ ñãðóïïèðîâàíà ïîä ýòîé çàêëàäêîé.
|
||||
</div>
|
||||
EOF;
|
||||
//--endhtml--//
|
||||
@@ -379,40 +378,40 @@ $IPBHTML .= <<<EOF
|
||||
<div style='height:36px;margin-left:1px'>
|
||||
<div class='{$onoff['content']}' style='padding:7px'>
|
||||
<input type='hidden' id='tab_content' value='{$tabinit['content']}' />
|
||||
<a href='#' id='href_content' onclick='permobj.init("content", $member_id)'>MANAGEMENT</a>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-content-tick' onclick="return permobj.save_tab('content', $member_id, 1 );" title='Allow Access to this tab' style='cursor:pointer' border='0' alt='Allow' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-content-cross' onclick="return permobj.save_tab('content', $member_id, 0 );" title='Deny Access to this tab' style='cursor:pointer' border='0' alt='Deny' class='img-boxed-off' />
|
||||
<a href='#' id='href_content' onclick='permobj.init("content", $member_id)'>ÓÏÐÀÂËÅÍÈÅ</a>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-content-tick' onclick="return permobj.save_tab('content', $member_id, 1 );" title='Ðàçðåøèòü äîñòóï ê ýòîé çàêëàäêå' style='cursor:pointer' border='0' alt='Ðàçðåøèòü' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-content-cross' onclick="return permobj.save_tab('content', $member_id, 0 );" title='Çàïðåòèòü äîñòóï ê ýòîé çàêëàäêå' style='cursor:pointer' border='0' alt='Çàïðåòèòü' class='img-boxed-off' />
|
||||
</div>
|
||||
<div class='{$onoff['lookandfeel']}' style='padding:7px'>
|
||||
<input type='hidden' id='tab_lookandfeel' value='{$tabinit['lookandfeel']}' />
|
||||
<a href='#' id='href_lookandfeel' onclick='permobj.init("lookandfeel", $member_id)'>LOOK & FEEL</a>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-lookandfeel-tick' onclick="return permobj.save_tab('lookandfeel', $member_id, 1 );" title='Allow Access to this tab' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-lookandfeel-cross' onclick="return permobj.save_tab('lookandfeel', $member_id, 0 );" title='Deny Access to this tab' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<a href='#' id='href_lookandfeel' onclick='permobj.init("lookandfeel", $member_id)'>ÂÍÅØÍÈÉ ÂÈÄ</a>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-lookandfeel-tick' onclick="return permobj.save_tab('lookandfeel', $member_id, 1 );" title='Ðàçðåøèòü äîñòóï ê ýòîé çàêëàäêå' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-lookandfeel-cross' onclick="return permobj.save_tab('lookandfeel', $member_id, 0 );" title='Çàïðåòèòü äîñòóï ê ýòîé çàêëàäêå' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
</div>
|
||||
<div class='{$onoff['tools']}' style='padding:7px'>
|
||||
<input type='hidden' id='tab_tools' value='{$tabinit['tools']}' />
|
||||
<a href='#' id='href_tools' onclick='permobj.init("tools", $member_id )'>TOOLS & SETTINGS</a>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-tools-tick' onclick="return permobj.save_tab('tools', $member_id, 1 );" title='Allow Access to this tab' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-tools-cross' onclick="return permobj.save_tab('tools', $member_id, 0 );" title='Deny Access to this tab' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<a href='#' id='href_tools' onclick='permobj.init("tools", $member_id )'>ÍÀÑÒÐÎÉÊÈ</a>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-tools-tick' onclick="return permobj.save_tab('tools', $member_id, 1 );" title='Ðàçðåøèòü äîñòóï ê ýòîé çàêëàäêå' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-tools-cross' onclick="return permobj.save_tab('tools', $member_id, 0 );" title='Çàïðåòèòü äîñòóï ê ýòîé çàêëàäêå' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
</div>
|
||||
<div class='{$onoff['components']}' style='padding:7px'>
|
||||
<input type='hidden' id='tab_components' value='{$tabinit['components']}' />
|
||||
<a href='#' id='href_components' onclick='permobj.init("components", $member_id)'>COMPONENTS</a>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-components-tick' onclick="return permobj.save_tab('components', $member_id, 1 );" title='Allow Access to this tab' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-components-cross' onclick="return permobj.save_tab('components', $member_id, 0 );" title='Deny Access to this tab' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<a href='#' id='href_components' onclick='permobj.init("components", $member_id)'>ÊÎÌÏÎÍÅÍÒÛ</a>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-components-tick' onclick="return permobj.save_tab('components', $member_id, 1 );" title='Ðàçðåøèòü äîñòóï ê ýòîé çàêëàäêå' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-components-cross' onclick="return permobj.save_tab('components', $member_id, 0 );" title='Çàïðåòèòü äîñòóï ê ýòîé çàêëàäêå' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
</div>
|
||||
<div class='{$onoff['admin']}' style='padding:7px'>
|
||||
<input type='hidden' id='tab_admin' value='{$tabinit['admin']}' />
|
||||
<a href='#' id='href_admin' onclick='permobj.init("admin", $member_id)'>ADMIN</a>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-admin-tick' onclick="return permobj.save_tab('admin', $member_id, 1 );" title='Allow Access to this tab' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-admin-cross' onclick="return permobj.save_tab('admin', $member_id, 0 );" title='Deny Access to this tab' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<a href='#' id='href_admin' onclick='permobj.init("admin", $member_id)'>ÏÐÎ×ÅÅ</a>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-admin-tick' onclick="return permobj.save_tab('admin', $member_id, 1 );" title='Ðàçðåøèòü äîñòóï ê ýòîé çàêëàäêå' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-admin-cross' onclick="return permobj.save_tab('admin', $member_id, 0 );" title='Çàïðåòèòü äîñòóï ê ýòîé çàêëàäêå' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
</div>
|
||||
<div class='{$onoff['help']}' style='padding:7px'>
|
||||
<input type='hidden' id='tab_help' value='{$tabinit['help']}' />
|
||||
<a href='#' id='href_help' onclick='permobj.init("help", $member_id)'>HELP & SUPPORT</a>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-help-tick' onclick="return permobj.save_tab('help', $member_id, 1 );" title='Allow Access to this tab' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-help-cross' onclick="return permobj.save_tab('help', $member_id, 0 );" title='Deny Access to this tab' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
</div>
|
||||
<a href='#' id='href_help' onclick='permobj.init("help", $member_id)'>ÏÎÄÄÅÐÆÊÀ</a>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-help-tick' onclick="return permobj.save_tab('help', $member_id, 1 );" title='Ðàçðåøèòü äîñòóï ê ýòîé çàêëàäêå' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-help-cross' onclick="return permobj.save_tab('help', $member_id, 0 );" title='Çàïðåòèòü äîñòóï ê ýòîé çàêëàäêå' style='cursor:pointer' border='0' alt='*' class='img-boxed-off' />
|
||||
</div>
|
||||
</div>
|
||||
EOF;
|
||||
//--endhtml--//
|
||||
@@ -462,7 +461,7 @@ $IPBHTML .= <<<EOF
|
||||
<td width='60%' id='td_mainbit_b' class='{$class_name}'>
|
||||
<div style='padding:6px'>
|
||||
<input type='hidden' id='pb_mainbit' name='mainbit' value='{$perm_value}' />
|
||||
<strong>ALLOW ACCESS TO THIS FUNCTION</strong>
|
||||
<strong>ÐÀÇÐÅØÈÒÜ ÄÎÑÒÓÏ Ê ÝÒÎÉ ÔÓÍÊÖÈÈ</strong>
|
||||
</div>
|
||||
</td>
|
||||
<td width='5%' id='td_mainbit_c' class='{$class_name}'>
|
||||
@@ -488,8 +487,8 @@ if ( $perm_value != 0 )
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td colspan='4' style='height:25px' align='right'>
|
||||
<div style='width:80px;float:right;text-align:center;cursor:pointer' onclick='return permobj.save_bits(1);' class='input-ok-content' id='perms-save-box'>Save</div>
|
||||
<div style='width:80px;float:right;text-align:center;cursor:pointer' onclick='return permobj.undo_bits();' class='input-ok-content' id='perms-undo-box'>UNDO</div>
|
||||
<div style='width:80px;float:right;text-align:center;cursor:pointer' onclick='return permobj.save_bits(1);' class='input-ok-content' id='perms-save-box'>Ñîõðàíèòü</div>
|
||||
<div style='width:80px;float:right;text-align:center;cursor:pointer' onclick='return permobj.undo_bits();' class='input-ok-content' id='perms-undo-box'>Îòìåíèòü</div>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
@@ -498,7 +497,7 @@ $IPBHTML .= <<<EOF
|
||||
</table>
|
||||
</div>
|
||||
<div class='desctext' style='padding:4px'>
|
||||
When "ALLOW ACCESS TO THIS FUNCTION" is enabled you may set the individual access permissions for the sub-features of this particular function. Otherwise, changes to the individual access permission will have no effect.
|
||||
Êîãäà âû "ÐÀÇÐÅØÀÅÒÅ ÄÎÑÒÓÏ Ê ÝÒÎÉ ÔÓÍÊÖÈÈ" ýòî ïîçâîëÿåò âàì âûñòàâèòü äîñòóï ê âîçìîæíîñòÿì ôóíêöèè.  ïðîòèâíîì ñëó÷àå èçìåíåíèÿ äîñòóïà íå áóäóò äåéñòâîâàòü.
|
||||
</div>
|
||||
EOF;
|
||||
//--endhtml--//
|
||||
@@ -597,8 +596,8 @@ $IPBHTML = "";
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tablerow1' onclick='permobj.init("{$perm_main}",{$member_id}, "{$perm_child}")' style='cursor:pointer'>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/folder.gif' border='0' alt='*' class='ipd' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-content-tick' onclick='return permobj.save_group("{$perm_main}","{$perm_child}", $member_id, 1 );' title='Allow Access to ALL functions of this feature' style='cursor:pointer' border='0' alt='Allow' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-content-cross' onclick='return permobj.save_group("{$perm_main}","{$perm_child}", $member_id, 0 );' title='Deny Access to ALL functions of this feature' style='cursor:pointer' border='0' alt='Deny' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-content-tick' onclick='return permobj.save_group("{$perm_main}","{$perm_child}", $member_id, 1 );' title='Ðàçðåøèòü äîñòóï êî ÂÑÅÌ ôóíêöèÿì ýòîé âîçìîæíîñòè' style='cursor:pointer' border='0' alt='Ðàçðåøèòü' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-content-cross' onclick='return permobj.save_group("{$perm_main}","{$perm_child}", $member_id, 0 );' title='Çàïðåòèòü äîñòóï êî ÂÑÅÌ ôóíêöèÿì ýòîé âîçìîæíîñòè' style='cursor:pointer' border='0' alt='Çàïðåòèòü' class='img-boxed-off' />
|
||||
|
||||
EOF;
|
||||
if ( $allow != 0 )
|
||||
@@ -633,8 +632,8 @@ $IPBHTML .= <<<EOF
|
||||
<div class='tablerow3' onclick='permobj.init("{$perm_main}",{$member_id}, "{$perm_child}")' style='cursor:pointer'>
|
||||
<input type='hidden' id='perms-perm-child-id' value='$perm_child' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/folder.gif' border='0' alt='*' class='ipd' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-content-tick' onclick='return permobj.save_group("{$perm_main}","{$perm_child}", $member_id, 1 );' title='Allow Access to ALL functions of this feature' style='cursor:pointer' border='0' alt='Allow' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-content-cross' onclick='return permobj.save_group("{$perm_main}","{$perm_child}", $member_id, 0 );' title='Deny Access to ALL functions of this feature' style='cursor:pointer' border='0' alt='Deny' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_tick_small.png' id='img-content-tick' onclick='return permobj.save_group("{$perm_main}","{$perm_child}", $member_id, 1 );' title='Ðàçðåøèòü äîñòóï êî ÂÑÅÌ ôóíêöèÿì ýòîé âîçìîæíîñòè' style='cursor:pointer' border='0' alt='Ðàçðåøèòü' class='img-boxed-off' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/aff_cross_small.png' id='img-content-cross' onclick='return permobj.save_group("{$perm_main}","{$perm_child}", $member_id, 0 );' title='Çàïðåòèòü äîñòóï êî ÂÑÅÌ ôóíêöèÿì ýòîé âîçìîæíîñòè' style='cursor:pointer' border='0' alt='Çàïðåòèòü' class='img-boxed-off' />
|
||||
|
||||
EOF;
|
||||
if ( $allow != 0 )
|
||||
|
||||
@@ -1,86 +1,86 @@
|
||||
<?php
|
||||
|
||||
class cp_skin_attachments {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
//===========================================================================
|
||||
// Attachments: Wrapper
|
||||
//===========================================================================
|
||||
function attach_wrapper($content) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<div class="tableborder">
|
||||
<div class="tableheaderalt">
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='100%' style='font-weight:bold;font-size:11px;color:#FFF'>Your Attachment Types</td>
|
||||
<td align='right' nowrap='nowrap' style='padding-right:6px'><img id='menumainone' src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
</tr>
|
||||
</table> </div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='1%'> </td>
|
||||
<td class='tablesubheader' width='20%'>Extension</td>
|
||||
<td class='tablesubheader' width='40%'>Mime-Type</td>
|
||||
<td class='tablesubheader' width='10%'>+Post</td>
|
||||
<td class='tablesubheader' width='10%'>+Avatar</td>
|
||||
<td class='tablesubheader' width='5%'>Options</td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><div class='fauxbutton-wrapper'><span class='fauxbutton'><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=attach_add'>Add New Attachment Type</a></span></div></div>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array( img_export + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=attach_export'>Export Attachment Types...</a>" ) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Attachments: Row
|
||||
//===========================================================================
|
||||
function attach_row( $row ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'><img src='{$this->ipsclass->vars['board_url']}/style_images/{$row['_imagedir']}/{$row['atype_img']}' border='0' /></td>
|
||||
<td class='tablerow1'>.<strong>{$row['atype_extension']}</strong></td>
|
||||
<td class='tablerow1'>{$row['atype_mimetype']}</td>
|
||||
<td class='tablerow1'>{$row['apost_checked']}</td>
|
||||
<td class='tablerow1'>{$row['aphoto_checked']}</td>
|
||||
<td class='tablerow2'><img id="menu{$row['atype_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$row['atype_id']}",
|
||||
new Array( img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=attach_edit&id={$row['atype_id']}'>Edit Attachment Type...</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=attach_delete&id={$row['atype_id']}'>Delete Attachment Type...</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
class cp_skin_attachments {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
//===========================================================================
|
||||
// Attachments: Wrapper
|
||||
//===========================================================================
|
||||
function attach_wrapper($content) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<div class="tableborder">
|
||||
<div class="tableheaderalt">
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='100%' style='font-weight:bold;font-size:11px;color:#FFF'>Òèïû ïðèêðåïëÿåìûõ ôàéëîâ</td>
|
||||
<td align='right' nowrap='nowrap' style='padding-right:6px'><img id='menumainone' src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
</table> </div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='1%'> </td>
|
||||
<td class='tablesubheader' width='20%'>Ðàñøèðåíèå</td>
|
||||
<td class='tablesubheader' width='40%'>Mime-òèï</td>
|
||||
<td class='tablesubheader' width='10%'>+Ñîîáùåíèÿ</td>
|
||||
<td class='tablesubheader' width='10%'>+Àâàòàð</td>
|
||||
<td class='tablesubheader' width='5%'>Îïöèè</td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><div class='fauxbutton-wrapper'><span class='fauxbutton'><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=attach_add'>Äîáàâèòü íîâûé òèï</a></span></div></div>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array( img_export + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=attach_export'>Ýêñïîðò òèïîâ ôàéëîâ</a>" ) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Attachments: Row
|
||||
//===========================================================================
|
||||
function attach_row( $row ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'><img src='{$this->ipsclass->vars['board_url']}/style_images/{$row['_imagedir']}/{$row['atype_img']}' border='0' /></td>
|
||||
<td class='tablerow1'>.<strong>{$row['atype_extension']}</strong></td>
|
||||
<td class='tablerow1'>{$row['atype_mimetype']}</td>
|
||||
<td class='tablerow1'>{$row['apost_checked']}</td>
|
||||
<td class='tablerow1'>{$row['aphoto_checked']}</td>
|
||||
<td class='tablerow2'><img id="menu{$row['atype_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$row['atype_id']}",
|
||||
new Array( img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=attach_edit&id={$row['atype_id']}'>Èçìåíèòü</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=attach_delete&id={$row['atype_id']}'>Óäàëèòü</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,170 +1,170 @@
|
||||
<?php
|
||||
|
||||
class cp_skin_bbcode_badword {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
//===========================================================================
|
||||
// BBCODE: Wrapper
|
||||
//===========================================================================
|
||||
function bbcode_wrapper($content) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<div class="tableborder">
|
||||
<div class="tableheaderalt">
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='100%' style='font-weight:bold;font-size:11px;color:#FFF'>Your Custom BBCodes</td>
|
||||
<td align='right' nowrap='nowrap' style='padding-right:6px'><img id='menumainone' src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
</tr>
|
||||
</table> </div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='45%'>Title</td>
|
||||
<td class='tablesubheader' width='50%'>Tag</td>
|
||||
<td class='tablesubheader' width='5%'>Options</td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><div class='fauxbutton-wrapper'><span class='fauxbutton'><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=bbcode_add'>Add New BBCode</a></span></div></div>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array( img_export + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=bbcode_export'>Export BBCode...</a>" ) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// BBCODE: Row
|
||||
//===========================================================================
|
||||
function bbcode_row( $row ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'>{$row['bbcode_title']}</td>
|
||||
<td class='tablerow1'>{$row['bbcode_fulltag']}</td>
|
||||
<td class='tablerow2'><img id="menu{$row['bbcode_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$row['bbcode_id']}",
|
||||
new Array( img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=bbcode_edit&id={$row['bbcode_id']}'>Edit BBCode...</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=bbcode_delete&id={$row['bbcode_id']}'>Delete BBCode...</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// BADWORD: Wrapper
|
||||
//===========================================================================
|
||||
function badword_wrapper($content) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<div class="tableborder">
|
||||
<div class="tableheaderalt">
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='100%' style='font-weight:bold;font-size:11px;color:#FFF'>Current Filters</td>
|
||||
<td align='right' nowrap='nowrap' style='padding-right:6px'><img id='menumainone' src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
</tr>
|
||||
</table> </div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='40%'>Before</td>
|
||||
<td class='tablesubheader' width='40%'>After</td>
|
||||
<td class='tablesubheader' width='15%'>Method</td>
|
||||
<td class='tablesubheader' width='5%'>Options</td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="tableheaderalt">Add a new filter</div>
|
||||
|
||||
<table align="center" border="0" cellpadding="5" cellspacing="0" width="100%"><tbody><tr>
|
||||
<td class="tablesubheader" align="center" width="40%">Before</td>
|
||||
<td class="tablesubheader" align="center" width="40%">After</td>
|
||||
<td class="tablesubheader" align="center" width="20%">Method</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<td class="tablerow1" valign="middle" width="40%"><input name="before" value="" size="30" class="textinput" type="text"></td>
|
||||
<td class="tablerow2" valign="middle" width="40%"><input name="after" value="" size="30" class="textinput" type="text"></td>
|
||||
<td class="tablerow1" valign="middle" width="20%"><select name="match" class="dropdown">
|
||||
<option value="1">Exact</option>
|
||||
<option value="0">Loose</option>
|
||||
</select>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="tablesubheader" colspan="3" align="center"><input value="Add Filter" class="realbutton" accesskey="s" type="submit"></form></td></tr>
|
||||
</table></div><br />
|
||||
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array( img_export + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=badword_export'>Export Badword Filters...</a>" ) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// BADWORD: Row
|
||||
//===========================================================================
|
||||
function badword_row( $row ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'>{$row['type']}</td>
|
||||
<td class='tablerow1'>{$row['replace']}</td>
|
||||
<td class='tablerow1'>{$row['method']}</td>
|
||||
<td class='tablerow2'><img id="menu{$row['wid']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$row['wid']}",
|
||||
new Array( img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=badword_edit&id={$row['wid']}'>Edit Badword Filter...</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=badword_remove&id={$row['wid']}'>Remove Badword Filter...</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
class cp_skin_bbcode_badword {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
//===========================================================================
|
||||
// BBCODE: Wrapper
|
||||
//===========================================================================
|
||||
function bbcode_wrapper($content) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<div class="tableborder">
|
||||
<div class="tableheaderalt">
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='100%' style='font-weight:bold;font-size:11px;color:#FFF'>Äîïîëíèòåëüíûå BB-êîäû</td>
|
||||
<td align='right' nowrap='nowrap' style='padding-right:6px'><img id='menumainone' src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
</table> </div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='45%'>Íàçâàíèå</td>
|
||||
<td class='tablesubheader' width='50%'>Òåã</td>
|
||||
<td class='tablesubheader' width='5%'>Îïöèè</td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><div class='fauxbutton-wrapper'><span class='fauxbutton'><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=bbcode_add'>Äîáàâèòü BB-êîä</a></span></div></div>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array( img_export + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=bbcode_export'>Ýêñïîðòèðîâàòü BB-êîäû</a>" ) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// BBCODE: Row
|
||||
//===========================================================================
|
||||
function bbcode_row( $row ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'>{$row['bbcode_title']}</td>
|
||||
<td class='tablerow1'>{$row['bbcode_fulltag']}</td>
|
||||
<td class='tablerow2'><img id="menu{$row['bbcode_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$row['bbcode_id']}",
|
||||
new Array( img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=bbcode_edit&id={$row['bbcode_id']}'>Èçìåíèòü</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=bbcode_delete&id={$row['bbcode_id']}'>Óäàëèòü</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// BADWORD: Wrapper
|
||||
//===========================================================================
|
||||
function badword_wrapper($content) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<div class="tableborder">
|
||||
<div class="tableheaderalt">
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='100%' style='font-weight:bold;font-size:11px;color:#FFF'>Ñïèñîê ôèëüòðîâ</td>
|
||||
<td align='right' nowrap='nowrap' style='padding-right:6px'><img id='menumainone' src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
</table> </div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='40%'>Ñëîâî</td>
|
||||
<td class='tablesubheader' width='40%'>Çàìåíà</td>
|
||||
<td class='tablesubheader' width='15%'>Ìåòîä</td>
|
||||
<td class='tablesubheader' width='5%'>Îïöèè</td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="tableheaderalt">Äîáàâëåíèå íîâîãî ôèëüòðà</div>
|
||||
|
||||
<table align="center" border="0" cellpadding="5" cellspacing="0" width="100%"><tbody><tr>
|
||||
<td class="tablesubheader" align="center" width="40%">Ñëîâî</td>
|
||||
<td class="tablesubheader" align="center" width="40%">Çàìåíà</td>
|
||||
<td class="tablesubheader" align="center" width="20%">Ìåòîä</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<td class="tablerow1" valign="middle" width="40%"><input name="before" value="" size="30" class="textinput" type="text"></td>
|
||||
<td class="tablerow2" valign="middle" width="40%"><input name="after" value="" size="30" class="textinput" type="text"></td>
|
||||
<td class="tablerow1" valign="middle" width="20%"><select name="match" class="dropdown">
|
||||
<option value="1">Òî÷íûé</option>
|
||||
<option value="0">Ìàñêà</option>
|
||||
</select>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="tablesubheader" colspan="3" align="center"><input value="Äîáàâèòü" class="realbutton" accesskey="s" type="submit"></form></td></tr>
|
||||
</table></div><br />
|
||||
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array( img_export + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=badword_export'>Ýêñïîðòèðîâàòü ôèëüòðû</a>" ) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// BADWORD: Row
|
||||
//===========================================================================
|
||||
function badword_row( $row ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'>{$row['type']}</td>
|
||||
<td class='tablerow1'>{$row['replace']}</td>
|
||||
<td class='tablerow1'>{$row['method']}</td>
|
||||
<td class='tablerow2'><img id="menu{$row['wid']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$row['wid']}",
|
||||
new Array( img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=badword_edit&id={$row['wid']}'>Èçìåíèòü</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=badword_remove&id={$row['wid']}'>Óäàëèòü</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,33 +1,33 @@
|
||||
<?php
|
||||
|
||||
class cp_skin_components {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
//===========================================================================
|
||||
// Member: validating
|
||||
//===========================================================================
|
||||
function welcome_page() {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tablesubheader'>Invision Power Board Information</div>
|
||||
<div class='tablerow1'>
|
||||
This section is reserved for any components, such as Invision Gallery, Invision Chat and Invision Blog
|
||||
</div>
|
||||
</div>
|
||||
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
<?php
|
||||
|
||||
class cp_skin_components {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
//===========================================================================
|
||||
// Member: validating
|
||||
//===========================================================================
|
||||
function welcome_page() {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tablesubheader'>Èíôîðìàöèÿ</div>
|
||||
<div class='tablerow1'>
|
||||
Ýòà ñåêöèÿ ñîçäàíà äëÿ ëþáûõ êîìïîíåíòîâ, òàêèõ êàê Invision Gallery, Invision Chat è Invision Blog.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -31,6 +31,33 @@ return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
function dbindexer_javascript()
|
||||
{
|
||||
$IPBHTML = "";
|
||||
$IPBHTML = <<<EOF
|
||||
|
||||
<script type='text/javascript'>
|
||||
var all_queries = new Array();
|
||||
|
||||
function fix_all_dberrors()
|
||||
{
|
||||
var url = ipb_var_base_url + 'section=help&act=diag&code=dbindex';
|
||||
|
||||
for( var i=0; i<all_queries.length; i++ )
|
||||
{
|
||||
url += '&query'+i+'='+all_queries[i];
|
||||
}
|
||||
|
||||
window.location = url;
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ $IPBHTML .= <<<EOF
|
||||
<td align='left' width='95%' style='font-size:12px; vertical-align:middle;font-weight:bold; color:#FFF;' title='ID: {$r['id']}'>{$r['name']}</td>
|
||||
<td align='right' width='5%' nowrap='nowrap'>
|
||||
$reorder
|
||||
<img id="menum-{$r['id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' />
|
||||
<img id="menum-{$r['id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -38,8 +38,9 @@ $IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td align='left' width='40%' style='font-size:12px; vertical-align:middle;font-weight:bold; color:#FFF;' title='ID: {$r['id']}'>{$r['name']}</td>
|
||||
<td align='right' width='60%'>
|
||||
<input type='button' value='Re-order Children' class='realdarkbutton' onclick='locationjump( "&{$this->ipsclass->form_code}&code=reorder&f={$r['id']}&sub=1" )' />
|
||||
</td>
|
||||
<input type='button' value='Îòñîðòèðîâàòü ïîäôîðóì' class='realdarkbutton' onclick='locationjump( "&{$this->ipsclass->form_code}&code=reorder&f={$r['id']}&sub=1" )' />
|
||||
<img id="menum-{$r['id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
@@ -59,10 +60,10 @@ $IPBHTML .= <<<EOF
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menum-{$r['id']}",
|
||||
new Array( img_add + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=new&p={$r['id']}'>New Forum...</a>",
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=edit&f={$r['id']}'>Edit Settings...</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=delete&f={$r['id']}'>Delete Category...</a>",
|
||||
img_view + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=skinedit&f={$r['id']}'>Skin Options...</a>"
|
||||
new Array( img_add + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=new&p={$r['id']}'>Ñîçäàòü ôîðóì</a>",
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=edit&f={$r['id']}'>Íàñòðîéêè</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=delete&f={$r['id']}'>Óäàëèòü</a>",
|
||||
img_view + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=skinedit&f={$r['id']}'>Íàñòðîéêè ñòèëÿ</a>"
|
||||
) );
|
||||
</script>
|
||||
<br />
|
||||
@@ -111,24 +112,24 @@ var modshown = 0;
|
||||
function toggle_mod_settings()
|
||||
{
|
||||
var divs = document.getElementsByTagName('div');
|
||||
|
||||
|
||||
for ( var i = 0 ; i <= divs.length ; i++ )
|
||||
{
|
||||
var e = divs[i];
|
||||
|
||||
|
||||
if ( e && e.id )
|
||||
{
|
||||
var name = e.id;
|
||||
var mainname = name.replace( /^(.+?)-.+?$/ , "$1" );
|
||||
|
||||
|
||||
if ( mainname == 'moddiv' )
|
||||
{
|
||||
e.style.display = modshown ? 'none' : '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
document.getElementById( 'togglemod' ).innerHTML = modshown ? 'Show Moderator Options' : 'Hide Moderator Options';
|
||||
|
||||
document.getElementById( 'togglemod' ).innerHTML = modshown ? 'Ïîêàçàòü ìîäåðàòîðñêèå îïöèè' : 'Ñêðûòü ìîäåðàòîðñêèå îïöèè';
|
||||
modshown = modshown == 1 ? 0 : 1;
|
||||
}
|
||||
//]]>
|
||||
@@ -138,18 +139,18 @@ EOF;
|
||||
if ( $this->ipsclass->input['showall'] )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&showall=0'>Show Tieried</a>
|
||||
<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&showall=0'>Ïîêàçàòü èåðàðõèþ ôîðóìîâ</a>
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&showall=1'>Show All</a>
|
||||
<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&showall=1'>Ïîêàçàòü ôîðóìû áåç èåðàðõèè</a>
|
||||
EOF;
|
||||
}
|
||||
$IPBHTML .= <<<EOF
|
||||
</div>
|
||||
<div class='taboff'><a href='#' onclick='toggle_mod_settings()' id='togglemod'>Show Moderator Options</a></div>
|
||||
<div class='taboff'><a href='#' onclick='toggle_mod_settings()' id='togglemod'>Ïîêàçàòü ìîäåðàòîðñêèå îïöèè</a></div>
|
||||
<br clear='all' />
|
||||
<div id='mainforumwrapper'>
|
||||
EOF;
|
||||
@@ -171,8 +172,8 @@ $IPBHTML .= <<<EOF
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"modmenu{$data['mid']}",
|
||||
new Array( img_item + " <a href='{$this->ipsclass->base_url}§ion=content&act=mod&code=remove&mid={$data['mid']}'>Remove...</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}§ion=content&act=mod&code=edit&mid={$data['mid']}'>Edit...</a>"
|
||||
new Array( img_item + " <a href='{$this->ipsclass->base_url}§ion=content&act=mod&code=remove&mid={$data['mid']}'>Óäàëèòü</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}§ion=content&act=mod&code=edit&mid={$data['mid']}'>Èçìåíèòü</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
@@ -196,33 +197,33 @@ $IPBHTML .= <<<EOF
|
||||
function gochildrenofthecorn()
|
||||
{
|
||||
var chosenroot = document.forms[0].roots.options[document.forms[0].roots.selectedIndex].value;
|
||||
|
||||
|
||||
self.location.href = '{$this->ipsclass->base_url}&{$this->ipsclass->form_code_js}&code=reorder&f=' + chosenroot;
|
||||
}
|
||||
|
||||
function gomodform()
|
||||
{
|
||||
var checkboxes = document.getElementsByTagName('input');
|
||||
|
||||
|
||||
document.getElementById('modforumids').value = '';
|
||||
|
||||
|
||||
for ( var i = 0 ; i <= checkboxes.length ; i++ )
|
||||
{
|
||||
var cb = checkboxes[i];
|
||||
|
||||
if ( cb && cb.type == 'checkbox' && cb.checked == true )
|
||||
|
||||
if ( cb && cb.type == 'checkbox' && cb.checked == true )
|
||||
{
|
||||
var name = cb.id;
|
||||
var mainname = name.replace( /^(.+?)_.+?$/ , "$1" );
|
||||
var idname = name.replace( /^(.+?)_(.+?)$/, "$2" );
|
||||
|
||||
|
||||
if ( mainname == 'id' )
|
||||
{
|
||||
document.getElementById('modforumids').value += ',' + idname;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
document.getElementById('modform').submit();
|
||||
}
|
||||
//]]>
|
||||
@@ -230,9 +231,9 @@ function gomodform()
|
||||
<div class='tableborder'>
|
||||
<table cellpadding='4' cellspacing='0' width='100%' border='0' class='tablerow1'>
|
||||
<tr>
|
||||
<td align='left' valign='middle'>{$choose} <input type='button' class='realbutton' value='Reorder Children' onclick='gochildrenofthecorn()'/></td>
|
||||
<td align='right'><input type='button' class='realbutton' value='Add New Category' onclick='locationjump("&{$this->ipsclass->form_code}&code=new&type=category")' />
|
||||
<input type='submit' value='Reorder Categories' class='realbutton' /></form>
|
||||
<td align='left' valign='middle'>{$choose} <input type='button' class='realbutton' value='Îòñîðòèðîâàòü ïîäôîðóìû' onclick='gochildrenofthecorn()'/></td>
|
||||
<td align='right'><input type='button' class='realbutton' value='Ñîçäàòü êàòåãîðèþ' onclick='locationjump("&{$this->ipsclass->form_code}&code=new&type=category")' />
|
||||
<input type='submit' value='Îòñîðòèðîâàòü êàòåãîðèè' class='realbutton' /></form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -244,11 +245,11 @@ function gomodform()
|
||||
<div class='tableborder'>
|
||||
<table cellpadding='2' cellspacing='0' width='100%' border='0' class='tablerow1'>
|
||||
<tr>
|
||||
<td valign='middle'><strong>Add a moderator to all checked forum(s):</strong></td>
|
||||
<td valign='middle'><strong>Äîáàâèòü ìîäåðàòîðà â âûáðàííûå ôîðóìû:</strong></td>
|
||||
<td>
|
||||
Name <input class='realbutton' type='text' name='name' size='20' value='' /> <strong><i>OR</i></strong> Group {$mem_group}
|
||||
èìÿ ïîëüçîâàòåëÿ <input class='realbutton' type='text' name='name' size='20' value='' /> <strong>èëè</strong> ãðóïïà {$mem_group}
|
||||
</td>
|
||||
<td width='1%' valign='middle'><input type='button' class='realbutton' value='Go >>' onclick='gomodform()' /></td>
|
||||
<td width='1%' valign='middle'><input type='button' class='realbutton' value='Äîáàâèòü' onclick='gomodform()' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -288,7 +289,7 @@ EOF;
|
||||
if ( ($r['skin_id'] != "") and ($r['skin_id'] > 0) )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<br>[ Using Skin Set: {$skin} ]
|
||||
<br>[ Èñïîëüçóåò Ñòèëü: {$skin} ]
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -299,24 +300,24 @@ EOF;
|
||||
if ( $r['_modstring'] != "" )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<div style='display:none' id='moddiv-{$r['id']}'><fieldset style='padding:4px;height:45px'><legend>Moderators</legend>{$r['_modstring']}</fieldset></div>
|
||||
<div style='display:none' id='moddiv-{$r['id']}'><fieldset style='padding:4px;height:45px'><legend>Ìîäåðàòîðû</legend>{$r['_modstring']}</fieldset></div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
</td>
|
||||
<td class='tablerow1' align='right' width='5%' nowrap='nowrap'><input type='checkbox' title='Check this box to include this forum in the list of forums to add a moderator to' id='id_{$r['id']}' value='1' /> <img id="menu{$r['id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
<td class='tablerow1' align='right' width='5%' nowrap='nowrap'><input type='checkbox' title='Îòìåòüòå ýòî ïîëå äëÿ äîáàâëåíèÿ ôîðóìà â ñïèñîê ôîðóìîâ äëÿ äîáàâëåíèÿ ìîäåðàòîðà ê ' id='id_{$r['id']}' value='1' /> <img id="menu{$r['id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$r['id']}",
|
||||
new Array( img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=edit&f={$r['id']}'>Edit Settings...</a>",
|
||||
img_info + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=pedit&f={$r['id']}'>Permissions...</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=empty&f={$r['id']}'>Empty Forum...</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=delete&f={$r['id']}'>Delete Forum...</a>",
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=frules&f={$r['id']}'>Forum Rules...</a>",
|
||||
img_view + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=skinedit&f={$r['id']}'>Skin Options...</a>",
|
||||
img_info + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=recount&f={$r['id']}'>Resynchronise...</a>"
|
||||
new Array( img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=edit&f={$r['id']}'>Íàñòðîéêè</a>",
|
||||
img_info + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=pedit&f={$r['id']}'>Ïðàâà äîñòóïà</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=empty&f={$r['id']}'>Î÷èñòèòü</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=delete&f={$r['id']}'>Óäàëèòü</a>",
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=frules&f={$r['id']}'>Ïðàâèëà</a>",
|
||||
img_view + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=skinedit&f={$r['id']}'>Íàñòðîéêè ñòèëÿ</a>",
|
||||
img_info + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=recount&f={$r['id']}'>Ðåñèíõðîíèçàöèÿ</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
@@ -337,8 +338,8 @@ $IPBHTML = "";
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1' width='100%' colspan='2'>
|
||||
<strong style='font-size:11px;color:red;'>You have not created any forums in this category yet.<br /> It will not be displayed on the site, regardless of permission settings, until it contains at least one forum.</strong>
|
||||
<div class='graytext'><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=new&p={$parent_id}'>Click here to create a forum in this category</a></div>
|
||||
<strong style='font-size:11px;color:red;'>Íåâîçìîæíî ñîçäàòü ôîðóì â ýòîé êàòåãîðèè.<br />Îí íå áóäåò îòîáðæåí íà ñàéòå â íåçàâèñèìîñòè îò óñòàíîâëåííûõ ïðàâ äîñòóïà.</strong>
|
||||
<div class='graytext'><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=new&p={$parent_id}'>Íàæìèòå çäåñü äëÿ ñîçäàíèÿ ôîðóìà â ýòîé êàòåãîðèè</a></div>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
@@ -350,7 +351,7 @@ return $IPBHTML;
|
||||
//===========================================================================
|
||||
// Forum: Build Permissions
|
||||
//===========================================================================
|
||||
function render_forum_permissions( $global=array(), $content="", $title='Permission Access Levels' ) {
|
||||
function render_forum_permissions( $global=array(), $content="", $title='Îãðàíè÷åíèÿ óðîâíåé äîñòóïà' ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
@@ -372,19 +373,19 @@ function check_all( permtype )
|
||||
for ( var i = 0 ; i <= checkboxes.length ; i++ )
|
||||
{
|
||||
var e = checkboxes[i];
|
||||
|
||||
|
||||
if ( e && (e.id != 'UPLOAD_ALL') && (e.id != 'DOWNLOAD_ALL') && (e.id != 'READ_ALL') && (e.id != 'REPLY_ALL') && (e.id != 'START_ALL') && (e.id != 'SHOW_ALL') && (e.type == 'checkbox') && (! e.disabled) )
|
||||
{
|
||||
var s = e.id;
|
||||
var a = s.replace( /^(.+?)_.+?$/, "$1" );
|
||||
|
||||
|
||||
if (a == permtype)
|
||||
{
|
||||
e.checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ( document.getElementById( permtype + '_ALL' ).checked )
|
||||
{
|
||||
document.getElementById( permtype + '_ALL' ).checked = false;
|
||||
@@ -393,7 +394,7 @@ function check_all( permtype )
|
||||
{
|
||||
document.getElementById( permtype + '_ALL' ).checked = true;
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -405,27 +406,27 @@ function obj_checked( permtype, pid )
|
||||
{
|
||||
var totalboxes = 0;
|
||||
var total_on = 0;
|
||||
|
||||
|
||||
if ( pid )
|
||||
{
|
||||
document.getElementById( permtype+'_'+pid ).checked = document.getElementById( permtype+'_'+pid ).checked ? false : true;
|
||||
}
|
||||
|
||||
|
||||
var checkboxes = formobj.getElementsByTagName('input');
|
||||
|
||||
for ( var i = 0 ; i <= checkboxes.length ; i++ )
|
||||
{
|
||||
var e = checkboxes[i];
|
||||
|
||||
|
||||
if ( e && (e.id != 'UPLOAD_ALL') && (e.id != 'DOWNLOAD_ALL') && (e.id != 'READ_ALL') && (e.id != 'REPLY_ALL') && (e.id != 'START_ALL') && (e.id != 'SHOW_ALL') && (e.type == 'checkbox') && (! e.disabled) )
|
||||
{
|
||||
var s = e.id;
|
||||
var a = s.replace( /^(.+?)_.+?$/, "$1" );
|
||||
|
||||
|
||||
if ( a == permtype )
|
||||
{
|
||||
totalboxes++;
|
||||
|
||||
|
||||
if ( e.checked )
|
||||
{
|
||||
total_on++;
|
||||
@@ -433,7 +434,7 @@ function obj_checked( permtype, pid )
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ( totalboxes == total_on )
|
||||
{
|
||||
document.getElementById( permtype + '_ALL' ).checked = true;
|
||||
@@ -442,7 +443,7 @@ function obj_checked( permtype, pid )
|
||||
{
|
||||
document.getElementById( permtype + '_ALL' ).checked = false;
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -457,12 +458,12 @@ function checkcol( permtype ,status)
|
||||
for ( var i = 0 ; i <= checkboxes.length ; i++ )
|
||||
{
|
||||
var e = checkboxes[i];
|
||||
|
||||
|
||||
if ( e && (e.id != 'UPLOAD_ALL') && (e.id != 'DOWNLOAD_ALL') && (e.id != 'READ_ALL') && (e.id != 'REPLY_ALL') && (e.id != 'START_ALL') && (e.id != 'SHOW_ALL') && (e.type == 'checkbox') && (! e.disabled) )
|
||||
{
|
||||
var s = e.id;
|
||||
var a = s.replace( /^(.+?)_.+?$/, "$1" );
|
||||
|
||||
|
||||
if ( a == permtype )
|
||||
{
|
||||
if ( status == 1 )
|
||||
@@ -478,7 +479,7 @@ function checkcol( permtype ,status)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -496,9 +497,9 @@ function toggle_box( compiled_permid )
|
||||
{
|
||||
document.getElementById( compiled_permid ).checked = true;
|
||||
}
|
||||
|
||||
|
||||
obj_checked( compiled_permid.replace( /^(.+?)_.+?$/, "$1" ) , '');
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -513,12 +514,12 @@ function init_perms()
|
||||
for ( var i = 0 ; i <= tds.length ; i++ )
|
||||
{
|
||||
var thisobj = tds[i];
|
||||
|
||||
|
||||
if ( thisobj && thisobj.id )
|
||||
{
|
||||
var name = thisobj.id;
|
||||
var firstpart = name.replace( /^(.+?)_.+?$/, "$1" );
|
||||
|
||||
|
||||
if ( firstpart == 'clickable' )
|
||||
{
|
||||
try
|
||||
@@ -540,50 +541,74 @@ function init_perms()
|
||||
|
||||
function checkrow( permid, status )
|
||||
{
|
||||
document.getElementById( "READ" + '_' + permid ).checked = status ? true : false;
|
||||
document.getElementById( "REPLY" + '_' + permid ).checked = status ? true : false;
|
||||
document.getElementById( "START" + '_' + permid ).checked = status ? true : false;
|
||||
document.getElementById( "UPLOAD" + '_' + permid ).checked = status ? true : false;
|
||||
document.getElementById( "DOWNLOAD" + '_' + permid ).checked = status ? true : false;
|
||||
document.getElementById( "SHOW" + '_' + permid ).checked = status ? true : false;
|
||||
|
||||
if( document.getElementById( "READ" + '_' + permid ) != null )
|
||||
{
|
||||
document.getElementById( "READ" + '_' + permid ).checked = status ? true : false;
|
||||
}
|
||||
|
||||
if( document.getElementById( "REPLY" + '_' + permid ) != null )
|
||||
{
|
||||
document.getElementById( "REPLY" + '_' + permid ).checked = status ? true : false;
|
||||
}
|
||||
|
||||
if( document.getElementById( "START" + '_' + permid ) != null )
|
||||
{
|
||||
document.getElementById( "START" + '_' + permid ).checked = status ? true : false;
|
||||
}
|
||||
|
||||
if( document.getElementById( "UPLOAD" + '_' + permid ) != null )
|
||||
{
|
||||
document.getElementById( "UPLOAD" + '_' + permid ).checked = status ? true : false;
|
||||
}
|
||||
|
||||
if( document.getElementById( "DOWNLOAD" + '_' + permid ) != null )
|
||||
{
|
||||
document.getElementById( "DOWNLOAD" + '_' + permid ).checked = status ? true : false;
|
||||
}
|
||||
|
||||
if( document.getElementById( "SHOW" + '_' + permid ) != null )
|
||||
{
|
||||
document.getElementById( "SHOW" + '_' + permid ).checked = status ? true : false;
|
||||
}
|
||||
|
||||
|
||||
obj_checked("READ");
|
||||
obj_checked("REPLY");
|
||||
obj_checked("START");
|
||||
obj_checked("UPLOAD");
|
||||
obj_checked("DOWNLOAD");
|
||||
obj_checked("SHOW");
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt' id='perm-header'>{$title}</div>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='13%'> </td>
|
||||
<td class='tablesubheader' width='14%' align='center'>Show Forum</td>
|
||||
<td class='tablesubheader' width='14%' align='center'>Read Topics</td>
|
||||
<td class='tablesubheader' width='14%' align='center'>Reply Topics</td>
|
||||
<td class='tablesubheader' width='14%' align='center'>Start Topics</td>
|
||||
<td class='tablesubheader' width='14%' align='center'>Upload</td>
|
||||
<td class='tablesubheader' width='14%' align='center'>Download</td>
|
||||
<td class='tablesubheader' width='14%' align='center'>Ïðîñìîòð ôîðóìà</td>
|
||||
<td class='tablesubheader' width='14%' align='center'>×òåíèå òåì</td>
|
||||
<td class='tablesubheader' width='14%' align='center'>Îòâåò â òåìû</td>
|
||||
<td class='tablesubheader' width='14%' align='center'>Ñîçäàíèå òåì</td>
|
||||
<td class='tablesubheader' width='14%' align='center'>Çàãðóçêà ôàéëîâ</td>
|
||||
<td class='tablesubheader' width='14%' align='center'>Ñêà÷èâàíèå ôàéëîâ</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='7' class='tablerow1'>
|
||||
<fieldset>
|
||||
<legend><strong>Global Permissions</strong> (All current and future permission sets)</legend>
|
||||
<legend><strong>Ãëîáàëüíûå íàñòðîéêè äîñòóïà</strong> (Âñå òåêóùèå è áóäóùèå ìàñêè äîñòóïà)</legend>
|
||||
<table cellpadding='4' cellspacing='0' border='0' class='tablerow1' width='100%'>
|
||||
<tr>
|
||||
<td class='tablerow2' width='13%'> </td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#ecd5d8' onclick='check_all("SHOW")'><center><div class='red-perm'>Show Forum</div> {$global['html_show']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#dbe2de' onclick='check_all("READ")'><center><div class='green-perm'>Read Topics</div> {$global['html_read']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#dbe6ea' onclick='check_all("REPLY")'><center><div class='yellow-perm'>Reply Topics</div> {$global['html_reply']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#d2d5f2' onclick='check_all("START")'><center><div class='blue-perm'>Start Topics</div> {$global['html_start']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#ece6d8' onclick='check_all("UPLOAD")'><center><div class='orange-perm'>Upload</div> {$global['html_upload']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#dfdee9' onclick='check_all("DOWNLOAD")'><center><div class='purple-perm'>Download</div> {$global['html_download']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#ecd5d8' onclick='check_all("SHOW")'><center><div class='red-perm'><nobr>Ïðîñìîòð ôîðóìà</nobr></div> {$global['html_show']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#dbe2de' onclick='check_all("READ")'><center><div class='green-perm'><nobr>×òåíèå òåì</nobr></div> {$global['html_read']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#dbe6ea' onclick='check_all("REPLY")'><center><div class='yellow-perm'><nobr>Îòâåò â òåìû</nobr></div> {$global['html_reply']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#d2d5f2' onclick='check_all("START")'><center><div class='blue-perm'><nobr>Ñîçäàíèå òåì</nobr></div> {$global['html_start']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#ece6d8' onclick='check_all("UPLOAD")'><center><div class='orange-perm'><nobr>Çàãðóçêà ôàéëîâ</nobr></div> {$global['html_upload']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#dfdee9' onclick='check_all("DOWNLOAD")'><center><div class='purple-perm'><nobr>Ñêà÷èâàíèå ôàéëîâ</nobr></div> {$global['html_download']}</center></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
@@ -598,7 +623,7 @@ function checkrow( permid, status )
|
||||
<td class='tablerow1'><center><input type='button' id='button' value='+' onclick='checkcol("START",1)' /> <input type='button' id='button' value='-' onclick='checkcol("START",0)' /></center></td>
|
||||
<td class='tablerow1'><center><input type='button' id='button' value='+' onclick='checkcol("UPLOAD",1)' /> <input type='button' id='button' value='-' onclick='checkcol("UPLOAD",0)' /></center></td>
|
||||
<td class='tablerow1'><center><input type='button' id='button' value='+' onclick='checkcol("DOWNLOAD",1)' /> <input type='button' id='button' value='-' onclick='checkcol("DOWNLOAD",0)' /></center></td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<script type='text/javascript'>
|
||||
@@ -626,14 +651,14 @@ $IPBHTML .= <<<EOF
|
||||
<fieldset>
|
||||
<legend><strong>{$data['perm_name']}</strong></legend>
|
||||
<table cellpadding='4' cellspacing='0' border='0' class='tablerow1' width='100%'>
|
||||
<tr>
|
||||
<tr>
|
||||
<td class='tablerow2' width='13%'><input type='button' id='button' value='+' onclick='checkrow({$data['perm_id']},1)' /> <input type='button' id='button' value='-' onclick='checkrow({$data['perm_id']},0)' /></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#ecd5d8' id='clickable_{$data['perm_id']}' onclick="toggle_box('SHOW_{$data['perm_id']}')"><center><div class='red-perm'>Show Forum</div> {$perm['html_show']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#dbe2de' id='clickable_{$data['perm_id1']}' onclick="toggle_box('READ_{$data['perm_id']}')"><center><div class='green-perm'>Read Topics</div> {$perm['html_read']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#dbe6ea' id='clickable_{$data['perm_id2']}' onclick="toggle_box('REPLY_{$data['perm_id']}')"><center><div class='yellow-perm'>Reply Topics</div> {$perm['html_reply']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#d2d5f2' id='clickable_{$data['perm_id3']}' onclick="toggle_box('START_{$data['perm_id']}')"><center><div class='blue-perm'>Start Topics</div> {$perm['html_start']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#ece6d8' id='clickable_{$data['perm_id4']}' onclick="toggle_box('UPLOAD_{$data['perm_id']}')"><center><div class='orange-perm'>Upload</div> {$perm['html_upload']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#dfdee9' id='clickable_{$data['perm_id5']}' onclick="toggle_box('DOWNLOAD_{$data['perm_id']}')"><center><div class='purple-perm'>Download</div> {$perm['html_download']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#ecd5d8' id='clickable_{$data['perm_id']}' onclick="toggle_box('SHOW_{$data['perm_id']}')"><center><div class='red-perm'><nobr>Ïðîñìîòð ôîðóìà</nobr></div> {$perm['html_show']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#dbe2de' id='clickable_{$data['perm_id1']}' onclick="toggle_box('READ_{$data['perm_id']}')"><center><div class='green-perm'><nobr>×òåíèå òåì</nobr></nobr></div> {$perm['html_read']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#dbe6ea' id='clickable_{$data['perm_id2']}' onclick="toggle_box('REPLY_{$data['perm_id']}')"><center><div class='yellow-perm'><nobr>Îòâåò â òåìû</nobr></div> {$perm['html_reply']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#d2d5f2' id='clickable_{$data['perm_id3']}' onclick="toggle_box('START_{$data['perm_id']}')"><center><div class='blue-perm'><nobr>Ñîçäàíèå òåì</nobr></div> {$perm['html_start']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#ece6d8' id='clickable_{$data['perm_id4']}' onclick="toggle_box('UPLOAD_{$data['perm_id']}')"><center><div class='orange-perm'><nobr>Çàãðóçêà ôàéëîâ</nobr></div> {$perm['html_upload']}</center></td>
|
||||
<td class='tablerow1' width='14%' style='background-color:#dfdee9' id='clickable_{$data['perm_id5']}' onclick="toggle_box('DOWNLOAD_{$data['perm_id']}')"><center><div class='purple-perm'><nobr>Ñêà÷èâàíèå ôàéëîâ</nobr></div> {$perm['html_download']}</center></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
@@ -664,17 +689,17 @@ EOF;
|
||||
if ( $relative['next'] > 0 )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<input type='submit' name='donext' value='Save and Edit Next' class='realdarkbutton' />
|
||||
<input type='submit' name='donext' value='Ñîõðàíèòü è èçìåíèòü ñëåä.' class='realdarkbutton' />
|
||||
EOF;
|
||||
}
|
||||
$IPBHTML .= <<<EOF
|
||||
<input type='submit' value='Save Only' class='realbutton' />
|
||||
<input type='submit' name='reload' value='Save and Reload' class='realbutton' />
|
||||
<input type='submit' value='Ñîõðàíèòü' class='realbutton' />
|
||||
<input type='submit' name='reload' value='Ñîõðàíèòü è ïåðåçàãðóçèòü îêíî' class='realbutton' />
|
||||
EOF;
|
||||
if ( $relative['next'] > 0 )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<input type='submit' name='doprevious' value='Save and Edit Previous' class='realdarkbutton' />
|
||||
<input type='submit' name='doprevious' value='Ñîõðàíèòü è èçìåíèòü ïðåä.' class='realdarkbutton' />
|
||||
EOF;
|
||||
}
|
||||
$IPBHTML .= <<<EOF
|
||||
@@ -704,14 +729,14 @@ $IPBHTML .= <<<EOF
|
||||
<div align='right' style='padding-right:5px'> </div>
|
||||
</div>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
|
||||
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' colspan='2'>
|
||||
<fieldset>
|
||||
<legend><strong>Basic Settings</strong></legend>
|
||||
<legend><strong>Îñíîâíûå íàñòðîéêè</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>{$form['addnew_type_upper']} Name</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Íàçâàíèå {$form['addnew_type_upper']}</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['name']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
@@ -720,150 +745,150 @@ if( $form['addnew_type'] != 'category' )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Forum Description</strong><div class='desctext'>You may use HTML - linebreaks automatically converted to <br></div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Îïèñàíèå</strong><div class='desctext'>HTML ðàçðåøåí.<br />Ïåðåíîñû ñòðîê àâòîìàòè÷åñêè çàìåíÿþòñÿ íà <br>.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['description']}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Forum Parent</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Âûáåðèòå ðîäèòåëüñêèé ôîðóì èëè êàòåãîðèþ</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['parent_id']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Forum State</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ñîñòîÿíèå ôîðóìà</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['status']}</td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Do you wish to allow posting in this forum?</strong><div class='desctext'>You may wish to set this to no if you will be creating sub-forums underneath this forum. If this is set to no, the rest of the settings will have no effect.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ýòî îáû÷íûé ôîðóì (íå êàòåãîðèÿ)?</strong><div class='desctext'>Åñëè âû âûáåðèòå «<b>Äà</b>», òî ôîðóì áóäåò îáû÷íûì, â íåì áóäóò ðàçðåøåíî îòêðûòèå òåì, ïóáëèêàöèÿ ñîîáùåíèé (åñëè ýòî ðàçðåøåíî).<br><br>Åñëè âûáåðèòå «<b>Íåò</b>», òî ôîðóì áóäåò êàòåãîðèåé, â íåì áóäóò çàïðåùåíî îòêðûòèå òåì è ïóáëèêàöèÿ ñîîáùåíèé, ñîîòâåòñòâåííî, âñå íèæåñëåäóþùèå íàñòðîéêè íå áóäóò èìåòü ñèëû.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['sub_can_post']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' colspan='2'>
|
||||
<fieldset>
|
||||
<legend><strong>Forum Redirect Settings</strong></legend>
|
||||
<legend><strong>Íàñòðîéêè ïåðåàäðåñàöèè</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Redirection URL</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>URL àäðåñ äëÿ ïåðåìåùåíèÿ</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['redirect_url']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Enable URL redirection</strong><div class='desctext'>If 'yes' you can skip the rest of this form as the settings will have no effect and this forum will act like as a redirect link. Current posts will not be accessible when enabled.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ïåðåêëþ÷èòü ôîðóì íà ïåðåìåùåíèå?</strong><div class='desctext'>Ïðè âûáîðå «Äà» íèæåñëåäóþùèå áëîêè íàñòðîåê íå áóäóò èìåòü ñèëû, òàê êàê ôîðóì ñòàíåò ëèøü ññûëêîé. Óæå ñóùåñòâóþùèå òåìû â ôîðóìå áóäóò íåäîñòóïíû!</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['redirect_on']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Number of redirect clicks</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Êîëè÷åñòâî íàæàòèé íà ññûëêó (ïåðåìåùåíèé)</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['redirect_hits']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' colspan='2'>
|
||||
<fieldset>
|
||||
<legend><strong>Permission Settings</strong></legend>
|
||||
<legend><strong>Íàñòðîéêè äîñòóïà</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Allow members who can see the forum but cannot read topics to see the topic list</strong><div class='desctext'>If yes, the member will be able to see the topic titles but will not be able to read the topic posts when clicked.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ðàçðåøèòü ïîëüçîâàòåëÿì âèäåòü íàçâàíèÿ òåì â ñïèñêå, íî çàïðåòèòü èì ïðîñìîòð ñîäåðæèìîãî ýòèõ òåì?</strong><div class='desctext'>Ïðè âûáîðå «Äà» ïîëüçîâàòåëè ñìîãóò âèäåòü òîëüêî ñïèñîê íàçâàíèé òåì, íî íå ñìîãóò â íèõ âîéòè.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['permission_showtopic']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Custom 'Permission Denied' Message</strong><div class='desctext'>You may use HTML - linebreaks automatically converted to <br>.<br />If left blank, a default 'permission denied' error is used.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ñïåöèàëüíîå ñîîáùåíèå, âûâîäèìîå ïîëüçîâàòåëÿì ïðè ïîïûòêå çàéòè â òåìó (åñëè âêëþ÷åí ïóíêò âûøå)</strong><div class='desctext'>HTML ðàçðåøåí.<br />Ïåðåíîñû ñòðîê àâòîìàòè÷åñêè çàìåíÿþòñÿ íà òåã <br>.<br />Åñëè îñòàâèòü ýòî ïîëå ïóñòûì, òî (ïðè âêëþ÷åííîì ïóíêòå âûøå, êîíå÷íî) ïîëüçîâàòåëÿì, ïûòàþùèìñÿ çàéòè â òåìó áóäåò âûâîäèòüñÿ ñòàíäàðòíîå ñîîáùåíèå ôîðóìà.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['permission_custom_error']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' colspan='2'>
|
||||
<fieldset>
|
||||
<legend><strong>Postable Forum Settings: Options</strong></legend>
|
||||
<legend><strong>Íàñòðîéêè ñîîáùåíèé</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Enable HTML Posting (where allowed)</strong><div class='desctext'>This will allow HTML to be posted and executed.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ðàçðåøèòü èñïîëüçîâàíèå HTML (åñëè ðàçðåøàåò ìàñêà äîñòóïà ãðóïïû)?</strong><div class='desctext'>Äàííàÿ îïöèÿ âêëþ÷èò âûïîëíåíèå HTML òåãîâ â ïóáëèêóåìûõ ñîîáùåíèÿõ.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['use_html']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Enable BBCode Posting</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ðàçðåøèòü èñïîëüçîâàíèå BB-êîäîâ?</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['use_ibc']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Enable Quick Reply</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Âêëþ÷èòü ôîðìó áûñòðîãî îòâåòà äëÿ ýòîãî ôîðóìà?</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['quick_reply']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Enable Polls (per user group option)</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ðàçðåøèòü ñîçäàíèå ãîëîñîâàíèé (åñëè ýòî ðàçðåøåíî ãðóïïå)?</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['allow_poll']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Enable Poll Bump</strong><div class='desctext'>If enabled, a poll vote will move the topic to the top of the list when sorted by date.</td>
|
||||
<td width='40%' class='tablerow1'><strong>Ðàçðåøèòü ïîäíÿòèå òåì â ñïèñêå ïðè íîâûõ ãîëîñàõ?</strong><div class='desctext'>Åñëè âêëþ÷åíî, òî íîâûé ãîëîñ â îïðîñå ïîäíèìåò ñîîòâåòñòâóþùóþ òåìó íàâåðõ ñïèñêà òåì (êîãäà ñîðòèðîâêà èäåò ïî äàòå).</td>
|
||||
<td width='60%' class='tablerow2'>{$form['allow_pollbump']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Enable Topic Rating (per user group option)</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Âêëþ÷èòü ðåéòèíã òåì (åñëè ýòî ðàçðåøåíî ãðóïïå)</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['forum_allow_rating']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Enable Post Count Incrementation</strong><div class='desctext'>If enabled, posts in this forum increase member's cumulative post count.</td>
|
||||
<td width='40%' class='tablerow1'><strong>Âêëþ÷èòü ñ÷åò÷èê ñîîáùåíèé ïîëüçîâàòåëåé?</strong><div class='desctext'>Åñëè ýòî ïóíêò îòêëþ÷èòü, òî çà êàæäîå ñîîáùåíèå, îñòàâëåííîå ïîëüçîâàòåëåì, åãî ñ÷åò÷èê ñîîáùåíèé íå áóäåò óâåëè÷èâàòüñÿ!</td>
|
||||
<td width='60%' class='tablerow2'>{$form['inc_postcount']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' colspan='2'>
|
||||
<fieldset>
|
||||
<legend><strong>Postable Forum Settings: Moderation</strong></legend>
|
||||
<legend><strong>Íàñòðîéêè ìîäåðàöèè</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Enable Posting Moderation</strong><div class='desctext'>Requires a moderator to manually add posts/topics to the forum.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ïðîâåðÿòü ñîîáùåíèÿ ìîäåðàòîðîì ïåðåä ïóáëèêàöèåé?</strong><div class='desctext'>Åñëè ýòîò ïóíêò âêëþ÷èòü, òî êàæäîå ïóáëèêóåìîå ñîîáùåíèå äîëæíî áóäåò ïðîéòè ïðîâåðêó ìîäåðàòîðîì ïåðåä íåïîñðåäñòâåííîé ïóáëèêàöèåé íà ôîðóì.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['preview_posts']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Email addresses to send new topic awaiting approval notification</strong><div class='desctext'>This can be left blank</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Óêàæèòå e-mail àäðåñà, êóäà áóäóò îòïðàâëÿòüñÿ óâåäîìëåíèÿ ïðè ïîÿâëåíèè íîâûõ òåì?</b><br /></strong><div class='desctext'>(Îñòàâüòå ïîëå ïóñòûì, åñëè âàì íå òðåáóþòñÿ óâåäîìëåíèÿ).<br />Ðàçäåëÿéòå çàïÿòîé (ïðèìåð: ivanov@mail.ru, petrov@mail.ru).</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['notify_modq_emails']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Forum Password</strong><div class='desctext'>Leave this box empty if you do not require this.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Òðåáîâàòü ïàðîëü ïðè çàõîäå íà ôîðóì?</strong><div class='desctext'>Âû ìîæåòå çàáëîêèðîâàòü ôîðóì è ïóñêàòü íà íåãî òîëüêî ïî ïàðîëþ<br>Âû ìîæåòå îñòàâèòü ïîëå ïóñòûì, ÷òîáû íå èñïîëüçîâàòü ïàðîëü âîîáùå.<br /><strong>Åñëè ýòî êàòåãîðèÿ — äàííûé ïóíêò íå áóäåò ðàáîòàòü.</strong></div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['password']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Exempt Groups</strong><div class='desctext'>If you require a password to access this forum, you can select groups who will not need to enter the password in.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Îñâîáîæäåííûå ãðóïïû</strong><div class='desctext'>Åñëè ó âàñ âêëþ÷åí ââîä ïàðîëÿ, òî âû ìîæåòå âûáðàòü ãðóïïû, êîòîðûå ñìîãóò ïðîñìàòðèâàòü ýòîò ôîðóì áåç ââîäà ïàðîëÿ.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['password_override']}</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' colspan='2'>
|
||||
<fieldset>
|
||||
<legend><strong>Postable Forum Settings: Sorting and Ordering</strong></legend>
|
||||
<legend><strong>Íàñòðîéêè ñîðòèðîâêè</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Default date cut off for topic display</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ïî óìîë÷àíèþ âûâîäèòü òåìû çà</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['prune']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Default sort key</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ïî óìîë÷àíèþ ñîðòèðîâàòü ïî</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['sort_key']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Default sort order</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ïîðÿäîê ñîðòèðîâêè ïî óìîë÷àíèþ</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['sort_order']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Default sort filter</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ôèëüòð ñîðòèðîâêè ïî óìîë÷àíèþ</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['topicfilter']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -912,7 +937,7 @@ return $IPBHTML;
|
||||
//===========================================================================
|
||||
// Forum: Build Permissions
|
||||
//===========================================================================
|
||||
function render_cat_permissions( $data=array(), $select_all='', $title='Permission Access Levels' ) {
|
||||
function render_cat_permissions( $data=array(), $select_all='', $title='Íàñòðîéêè äîñòóïà' ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
@@ -928,7 +953,7 @@ function perm_check( obj )
|
||||
var real_obj = document.getElementById( obj );
|
||||
var total_options = real_obj.options.length;
|
||||
var total_checked = 0;
|
||||
|
||||
|
||||
for( var i = 0 ; i < real_obj.options.length ; i++ )
|
||||
{
|
||||
if ( real_obj.options[i].selected )
|
||||
@@ -936,7 +961,7 @@ function perm_check( obj )
|
||||
total_checked++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ( total_checked == total_options )
|
||||
{
|
||||
document.getElementById( 'show_all' ).checked = true;
|
||||
@@ -951,33 +976,33 @@ function perm_check_all( obj )
|
||||
{
|
||||
var real_obj = document.getElementById( obj );
|
||||
var isselected = document.getElementById( 'show_all').checked ? true : false;
|
||||
|
||||
|
||||
for( var i = 0 ; i < real_obj.options.length ; i++ )
|
||||
{
|
||||
real_obj.options[i].selected = isselected;
|
||||
}
|
||||
|
||||
|
||||
document.getElementById( 'show_all').checked = isselected;
|
||||
}
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt' id='perm-header'>{$title}</div>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='100%' align='center'>Show Category</td>
|
||||
<td class='tablesubheader' width='100%' align='center'>Ïîêàçàòü êàòåãîðèþ</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'>
|
||||
<fieldset>
|
||||
<legend><strong>Show Permissions</strong></legend>
|
||||
<legend><strong>Ïðàâà äîñòóïà</strong></legend>
|
||||
<table cellpadding='4' cellspacing='0' border='0' class='tablerow1' width='100%'>
|
||||
<tr>
|
||||
<td class='tablerow2' width='40%' valign='middle' align='right' ><span class='desctext'>Show Forum</span></td>
|
||||
<td class='tablerow2' width='40%' valign='middle' align='right' ><span class='desctext'>Ïðîñìîòð êàòåãîðèè</span></td>
|
||||
<td class='tablerow1' width='60%'>
|
||||
<input type='checkbox' name='show_all' id='show_all' value='1' onclick='perm_check_all("show")' {$select_all} /> Select All Current and Future Sets
|
||||
<input type='checkbox' name='show_all' id='show_all' value='1' onclick='perm_check_all("show")' {$select_all} /> Âûáðàòü âñå òåêóùèå è áóäóùèå ìàñêè
|
||||
<br /><select onchange='perm_check("show")' id='show' name='show_permissions[]' size='6' multiple='true'>
|
||||
EOF;
|
||||
|
||||
@@ -997,7 +1022,7 @@ $IPBHTML .= <<<EOF
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ $IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head><title>IPB</title>
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
@@ -33,6 +33,7 @@ $IPBHTML .= <<<EOF
|
||||
var ipb_skin_url = "{$this->ipsclass->skin_acp_url}";
|
||||
var ipb_var_image_url = "{$this->ipsclass->skin_acp_url}/images";
|
||||
var use_enhanced_js = {$this->ipsclass->can_use_fancy_js};
|
||||
var ipb_is_acp = 1;
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" src='{$this->ipsclass->vars['board_url']}/jscripts/ips_ipsclass.js'></script>
|
||||
@@ -48,9 +49,9 @@ $IPBHTML .= <<<EOF
|
||||
// Validate form to be overwritten
|
||||
function ValidateForm() { }
|
||||
//]]>
|
||||
</script>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
|
||||
<body style='background-image:url({$this->ipsclass->skin_acp_url}/images/blank.gif);text-align:left'>
|
||||
$content
|
||||
<script type="text/javascript">
|
||||
@@ -77,10 +78,10 @@ $IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset={$this->ipsclass->vars['gb_char_set']}" />
|
||||
<meta http-equiv="content-type" content="text/html; charset={$this->ipsclass->vars['gb_char_set']}" />
|
||||
<title><%TITLE%></title>
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||
@@ -102,6 +103,7 @@ $IPBHTML .= <<<EOF
|
||||
var ipb_var_image_url = "{$this->ipsclass->skin_acp_url}/images";
|
||||
var ipb_md5_check = "{$this->ipsclass->md5_check}";
|
||||
var use_enhanced_js = {$this->ipsclass->can_use_fancy_js};
|
||||
var ipb_is_acp = 1;
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" src='{$this->ipsclass->vars['board_url']}/jscripts/ips_ipsclass.js'></script>
|
||||
@@ -124,22 +126,22 @@ $IPBHTML .= <<<EOF
|
||||
<div id='loading-layer' style='display:none'>
|
||||
<div id='loading-layer-shadow'>
|
||||
<div id='loading-layer-inner' >
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/loading_anim.gif' style='vertical-align:middle' border='0' alt='Loading...' /><br />
|
||||
<span style='font-weight:bold' id='loading-layer-text'>Loading Data. Please Wait...</span>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/loading_anim.gif' style='vertical-align:middle' border='0' alt='Çàãðóçêà...' /><br />
|
||||
<span style='font-weight:bold' id='loading-layer-text'>Çàãðóçêà äàííûõ...</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id='ipdwrapper'><!-- IPDWRAPPER -->
|
||||
<%CONTENT%>
|
||||
<br />
|
||||
<div class='copy' align='center'>Invision Power Board © $date <a href='http://www.invisionpower.com' target='_blank'>IPS, Inc.</a></div>
|
||||
</div><!-- / IPDWRAPPER -->
|
||||
<script type="text/javascript">
|
||||
menu_do_global_init();
|
||||
if ( is_ie )
|
||||
{
|
||||
ie_fix_png();
|
||||
}
|
||||
// Uncomment this to fix IE png images
|
||||
// causes page slowdown, and some missing images occasionally
|
||||
// if ( is_ie )
|
||||
// {
|
||||
// ie_fix_png();
|
||||
// }
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -159,7 +161,7 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='information-box'>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/icon_information.png' alt='information' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/icon_information.png' alt='èíôîðìàöèÿ' />
|
||||
<h2>$title</h2>
|
||||
<p>
|
||||
<br />
|
||||
@@ -183,7 +185,7 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='warning-box'>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/icon_warning.png' alt='information' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/icon_warning.png' alt='èíôîðìàöèÿ' />
|
||||
<h2>$title</h2>
|
||||
<p>
|
||||
<br />
|
||||
@@ -206,9 +208,9 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='global-memberbar'>
|
||||
Welcome <strong>{$this->ipsclass->member['members_display_name']}</strong> [
|
||||
<a href='{$this->ipsclass->vars['board_url']}/index.php' target='_blank'>View IPB</a> ·
|
||||
<a href='{$this->ipsclass->base_url}&act=login&code=login-out'>Log Out</a>
|
||||
Çäðàâñòâóéòå, <strong>{$this->ipsclass->member['members_display_name']}</strong> [
|
||||
<a href='{$this->ipsclass->vars['board_url']}/index.php' style='text-decoration: underline' target='_blank'>íà ôîðóì</a> ·
|
||||
<a href='{$this->ipsclass->base_url}&act=login&code=login-out' style='text-decoration: underline'>âûõîä</a>
|
||||
]
|
||||
</div>
|
||||
EOF;
|
||||
@@ -245,8 +247,8 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='information-box'>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/global-infoicon.gif' alt='information' />
|
||||
<h2>Invision Power Board Message</h2>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/global-infoicon.gif' alt='èíôîðìàöèÿ' />
|
||||
<h2>Ñîîáùåíèå Invision Power Board</h2>
|
||||
<p>
|
||||
<br />
|
||||
{$this->ipsclass->main_msg}
|
||||
@@ -301,8 +303,10 @@ $IPBHTML .= <<<EOF
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2'>
|
||||
<%QUERIES%>
|
||||
<div class='global-copyright'>
|
||||
<a href='http://www.invisionpower.com'>Invision Power Board</a> ©
|
||||
<a href='http://www.ibresource.ru/'>Ðóññêàÿ âåðñèÿ</a>
|
||||
<a href='http://www.invisionpower.com'>IP.Board</a> ©
|
||||
EOF;
|
||||
|
||||
$IPBHTML .= date("Y");
|
||||
@@ -314,7 +318,6 @@ $IPBHTML .= <<<EOF
|
||||
</tr>
|
||||
</table>
|
||||
</div><!-- / OUTERDIV -->
|
||||
<%QUERIES%>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
@@ -330,12 +333,12 @@ $IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='{$onoff['content']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/system.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}§ion=content'>MANAGEMENT</a></div>
|
||||
<div class='{$onoff['lookandfeel']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/lookfeel.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}§ion=lookandfeel'>LOOK & FEEL</a></div>
|
||||
<div class='{$onoff['tools']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/tools.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}§ion=tools'>TOOLS & SETTINGS</a></div>
|
||||
<div class='{$onoff['components']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/components.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}§ion=components'>COMPONENTS</a></div>
|
||||
<div class='{$onoff['admin']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/admin.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}§ion=admin'>ADMIN</a></div>
|
||||
<div class='{$onoff['help']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/help.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}§ion=help'>HELP & SUPPORT</a></div>
|
||||
<div class='{$onoff['content']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/system.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}§ion=content'>ÓÏÐÀÂËÅÍÈÅ</a></div>
|
||||
<div class='{$onoff['lookandfeel']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/lookfeel.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}§ion=lookandfeel'>ÂÍÅØÍÈÉ ÂÈÄ</a></div>
|
||||
<div class='{$onoff['tools']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/tools.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}§ion=tools'>ÍÀÑÒÐÎÉÊÈ</a></div>
|
||||
<div class='{$onoff['components']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/components.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}§ion=components'>ÊÎÌÏÎÍÅÍÒÛ</a></div>
|
||||
<div class='{$onoff['admin']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/admin.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}§ion=admin'>ÏÐÎ×ÅÅ</a></div>
|
||||
<div class='{$onoff['help']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/help.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}§ion=help'>ÏÎÄÄÅÐÆÊÀ</a></div>
|
||||
|
||||
EOF;
|
||||
|
||||
@@ -355,7 +358,7 @@ $IPBHTML .= <<<EOF
|
||||
<br /><br />
|
||||
<div align='center' style='margin-left:auto;margin-right:auto'>
|
||||
<div class='tableborder' style='vertical-align:bottom;text-align:left;width:75%;color:#555'>
|
||||
<div style='padding:5px'><b>Queries</b></div>
|
||||
<div style='padding:5px'><b>Èñïîëüçîâàíû çàïðîñû:</b></div>
|
||||
<div class='tablerow1' style='padding:6px;color:#555;font-size:10px'>$queries</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -399,10 +402,10 @@ $IPBHTML .= <<<EOF
|
||||
</div>
|
||||
<br />
|
||||
<div class='desctext' style='font-size:10px'>
|
||||
<div align='center'><strong>Welcome to IP.Board</strong></div>
|
||||
<div align='center'><strong>Äîáðî ïîæàëîâàòü â IP.Board</strong></div>
|
||||
<br />
|
||||
<div style='font-size:9px;color:gray'>© Invision Power Services, Inc.
|
||||
This program is protected by international copyright laws as described in the license agreement.</div>
|
||||
<br />Ýòà ïðîãðàììà çàùèùåíà â ñîîòâåòñòâèè ñ ìåæäóíàðîäíûìè çàêîíàìè îá àâòîðñêîì ïðàâå.</div>
|
||||
</div>
|
||||
</td>
|
||||
<td width='300' style='width:300px' valign='top'>
|
||||
@@ -418,7 +421,7 @@ EOF;
|
||||
if ( $this->ipsclass->vars['ipbli_usertype'] == 'username' )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<td align='right'><strong>User Name</strong></td>
|
||||
<td align='right'><strong>Èìÿ ïîëüçîâàòåëÿ</strong></td>
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
@@ -431,15 +434,15 @@ $IPBHTML .= <<<EOF
|
||||
<td><input style='border:1px solid #AAA' type='text' size='20' name='username' id='namefield' value='$name' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='right'><strong>Password</strong></td>
|
||||
<td align='right'><strong>Ïàðîëü</strong></td>
|
||||
<td><input style='border:1px solid #AAA' type='password' size='20' name='password' value='' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' align='center'><input type='submit' style='border:1px solid #AAA' value='Log In' /></td>
|
||||
<td colspan='2' align='center'><input type='submit' style='border:1px solid #AAA' value='Âîéòè' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2'><br />
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -447,7 +450,7 @@ $IPBHTML .= <<<EOF
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -459,7 +462,7 @@ $IPBHTML .= <<<EOF
|
||||
<script type='text/javascript'>
|
||||
<!--
|
||||
if (top.location != self.location) { top.location = self.location }
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
window.onload = function() { document.getElementById('namefield').focus(); }
|
||||
@@ -468,7 +471,7 @@ $IPBHTML .= <<<EOF
|
||||
{
|
||||
alert(error);
|
||||
}
|
||||
|
||||
|
||||
//-->
|
||||
</script>
|
||||
EOF;
|
||||
@@ -499,6 +502,7 @@ $IPBHTML .= <<<EOF
|
||||
var ipb_skin_url = "{$this->ipsclass->skin_acp_url}";
|
||||
var ipb_var_image_url = "{$this->ipsclass->skin_acp_url}/images";
|
||||
var menu_ids = "<!--{IDS}-->";
|
||||
var ipb_is_acp = 1;
|
||||
//-->
|
||||
</script>
|
||||
<p> </p>
|
||||
@@ -509,13 +513,13 @@ $IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='alttitle'>
|
||||
<div style='float:right'><img src='{$this->ipsclass->skin_acp_url}/images/acp_logo.gif' alt='IPB' border='0' /></div>
|
||||
<div style='padding-left:3px;padding-top:14px;font-size:16px;'>Redirecting....</div>
|
||||
<div style='padding-left:3px;padding-top:14px;font-size:16px;'>Ïåðåàäðåñàöèÿ....</div>
|
||||
</div>
|
||||
<div style='background-color:#FFF;padding:10px;'>
|
||||
<strong>{$text}</strong>
|
||||
<br />
|
||||
<br />
|
||||
<a href='$url'>( Click here if you do not wish to wait )</a>
|
||||
<a href='$url'>( íàæìèòå ñþäà, åñëè íå õîòèòå æäàòü )</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -547,6 +551,7 @@ $IPBHTML .= <<<EOF
|
||||
var ipb_skin_url = "{$this->ipsclass->skin_acp_url}";
|
||||
var ipb_var_image_url = "{$this->ipsclass->skin_acp_url}/images";
|
||||
var menu_ids = "<!--{IDS}-->";
|
||||
var ipb_is_acp = 1;
|
||||
//-->
|
||||
</script>
|
||||
<p> </p>
|
||||
@@ -556,7 +561,7 @@ $IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='alttitle'>
|
||||
<div style='float:right'><img src='{$this->ipsclass->skin_acp_url}/images/acp_logo.gif' alt='IPB' border='0' /></div>
|
||||
<div style='padding-left:3px;padding-top:14px;font-size:16px;'>Function Complete</div>
|
||||
<div style='padding-left:3px;padding-top:14px;font-size:16px;'>Îïåðàöèÿ çàâåðøåíà</div>
|
||||
</div>
|
||||
<div style='background-color:#FFF;padding:10px;'>
|
||||
<strong>{$text}</strong>
|
||||
@@ -602,9 +607,9 @@ $IPBHTML .= <<<EOF
|
||||
</div>
|
||||
<br />
|
||||
<div class='desctext' style='font-size:10px'>
|
||||
<div align='center'><strong>Page Redirecting...</strong></div>
|
||||
<div align='center'><strong>Ïåðåàäðåñàöèÿ...</strong></div>
|
||||
<br />
|
||||
<div style='font-size:9px;color:gray'>Please stand-by as we redirect you.</div>
|
||||
<div style='font-size:9px;color:gray'>Ñåé÷àñ âû áóäåòå àâòîìàòè÷åñêè ïåðåàäðåñîâàíû.</div>
|
||||
</div>
|
||||
</td>
|
||||
<td width='300' style='width:300px' valign='top'>
|
||||
@@ -617,7 +622,7 @@ $IPBHTML .= <<<EOF
|
||||
<strong>{$text}</strong>
|
||||
<br />
|
||||
<br />
|
||||
<a href='$url'>( Click here if you do not wish to wait )</a>
|
||||
<a href='$url'>( íàæìèòå ñþäà, åñëè íå õîòèòå æäàòü... )</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -647,10 +652,10 @@ $IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset={$this->ipsclass->vars['gb_char_set']}" />
|
||||
<meta http-equiv="content-type" content="text/html; charset={$this->ipsclass->vars['gb_char_set']}" />
|
||||
<title><%TITLE%></title>
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||
@@ -672,6 +677,7 @@ $IPBHTML .= <<<EOF
|
||||
var ipb_var_image_url = "{$this->ipsclass->skin_acp_url}/images";
|
||||
var ipb_md5_check = "{$this->ipsclass->md5_check}";
|
||||
var use_enhanced_js = {$this->ipsclass->can_use_fancy_js};
|
||||
var ipb_is_acp = 1;
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" src='{$this->ipsclass->vars['board_url']}/jscripts/ips_ipsclass.js'></script>
|
||||
@@ -827,7 +833,7 @@ $IPBHTML .= <<<EOF
|
||||
<script type="text/javascript" src='{$this->ipsclass->skin_acp_url}/acp_js.js'></script>
|
||||
<script type="text/javascript" src='{$this->ipsclass->skin_acp_url}/acp_js_skin/ips_menu_html.js'></script>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div align='center' id='logostrip'><img src='{$this->ipsclass->skin_acp_url}/images/logo4.gif' border='0'></div>
|
||||
<div class='tableborder'>
|
||||
@@ -874,7 +880,7 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<br />
|
||||
<div align='right' id='jwrap'><strong>Quick Jump</strong> <!--JUMP--></div>
|
||||
<div align='right' id='jwrap'><strong>Áûñòðûé ïåðåõîä</strong> <!--JUMP--></div>
|
||||
<div class='copy' align='center'>Invision Power Board © $date <a href='http://www.invisionpower.com' target='_blank'>IPS, Inc.</a></div>
|
||||
</div><!-- / IPDWRAPPER -->
|
||||
<script type="text/javascript">
|
||||
@@ -891,7 +897,7 @@ EOF;
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// GLOBAL MAIN ACP HEADER
|
||||
//===========================================================================
|
||||
@@ -902,10 +908,10 @@ $IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset={$this->ipsclass->vars['gb_char_set']}" />
|
||||
<meta http-equiv="content-type" content="text/html; charset={$this->ipsclass->vars['gb_char_set']}" />
|
||||
<title><%TITLE%></title>
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||
@@ -927,6 +933,7 @@ $IPBHTML .= <<<EOF
|
||||
var ipb_var_image_url = "{$this->ipsclass->skin_acp_url}/images";
|
||||
var ipb_md5_check = "{$this->ipsclass->md5_check}";
|
||||
var use_enhanced_js = {$this->ipsclass->can_use_fancy_js};
|
||||
var ipb_is_acp = 1;
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" src='{$this->ipsclass->vars['board_url']}/jscripts/ips_ipsclass.js'></script>
|
||||
@@ -949,8 +956,8 @@ $IPBHTML .= <<<EOF
|
||||
<div id='loading-layer' style='display:none'>
|
||||
<div id='loading-layer-shadow'>
|
||||
<div id='loading-layer-inner' >
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/loading_anim.gif' style='vertical-align:middle' border='0' alt='Loading...' />
|
||||
<span style='font-weight:bold' id='loading-layer-text'>Loading Data. Please Wait...</span>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/loading_anim.gif' style='vertical-align:middle' border='0' alt='Çàãðóçêà...' />
|
||||
<span style='font-weight:bold' id='loading-layer-text'>Çàãðóçêà äàííûõ...</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -978,10 +985,16 @@ ipb_pages_shown++;
|
||||
var pgjmp = document.getElementById( 'page-jump' );
|
||||
pgjmp.id = 'page-jump-'+ipb_pages_shown;
|
||||
ipb_pages_array[ ipb_pages_shown ] = new Array( '{$base_link}', $per_page, $total_pages );
|
||||
|
||||
// Change out CSS
|
||||
css_mainwrap = 'popupmenu-pagelinks';
|
||||
|
||||
menu_build_menu(
|
||||
pgjmp.id,
|
||||
new Array( "--NODIV--<div onmouseover='pages_st_focus("+ipb_pages_shown+")' class='popupmenu-category' align='center'>{$this->ipsclass->lang['global_page_jump']}</div>",
|
||||
"<input type='text' size='5' name='st' id='st-"+ipb_pages_shown+"' /> <input type='button' class='button' onclick='do_multi_page_jump("+ipb_pages_shown+");' value='{$this->ipsclass->lang['jmp_go']}' />" ) );
|
||||
"<div onmouseover='pages_st_focus("+ipb_pages_shown+")' align='center'>{$this->ipsclass->lang['global_page_jump']}</div><input type='text' size='5' name='st' id='st-"+ipb_pages_shown+"' /> <input type='button' class='button' onclick='do_multi_page_jump("+ipb_pages_shown+");' value='{$this->ipsclass->lang['jmp_go']}' />",
|
||||
1 );
|
||||
|
||||
css_mainwrap = 'popupmenu';
|
||||
//]]>
|
||||
</script>
|
||||
EOF;
|
||||
@@ -1047,7 +1060,7 @@ $IPBHTML = "";
|
||||
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<span class="pagelink"><a href="$url" title="Next">></a></span>
|
||||
<span class="pagelink"><a href="$url" title="Äàëåå">></a></span>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
@@ -1079,7 +1092,7 @@ $IPBHTML = "";
|
||||
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<span class="pagelink"><a href="$url" title="Previous"><</a></span>
|
||||
<span class="pagelink"><a href="$url" title="Ïðåäïðîñìîòð"><</a></span>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
@@ -1102,7 +1115,7 @@ EOF;
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -1,402 +1,425 @@
|
||||
<?php
|
||||
|
||||
class cp_skin_groups {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
//===========================================================================
|
||||
// Groups: Overview scream :o :o
|
||||
//===========================================================================
|
||||
function groups_overview_wrapper($content, $form) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>User Group Management</div>
|
||||
<table cellpadding='4' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='40%'>Group Title</td>
|
||||
<td class='tablesubheader' width='10%' align='center'>Can Access ACP</td>
|
||||
<td class='tablesubheader' width='10%' align='center'>Is Super Mod</td>
|
||||
<td class='tablesubheader' width='10%' align='center'>Members</td>
|
||||
<td class='tablesubheader' width='1%'> </td>
|
||||
</tr>
|
||||
{$content}
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=add' method='POST' >
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Create a User Group</div>
|
||||
<table cellpadding='4' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablerow2' width='40%'><strong>Base new group on...</strong></td>
|
||||
<td class='tablerow1' width='60%'>{$form['_new_dd']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' class='tablesubheader' align='center'><input type='submit' value='Create...' class='realbutton' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Groups
|
||||
//===========================================================================
|
||||
function groups_overview_wrapper_row( $r="" ) {
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow2' style='font-weight:bold'>
|
||||
EOF;
|
||||
if ( $r['g_id'] != $this->ipsclass->vars['auth_group'] and $r['g_id'] != $this->ipsclass->vars['guest_group'] )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<a href='{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?act=Members&max_results=30&showall=1&filter={$r['g_id']}&sort_order=asc&sort_key=members_display_name&st=0' target='_blank' title='List Users'>{$r['_title']}</a>
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
{$r['_title']}
|
||||
EOF;
|
||||
}
|
||||
$IPBHTML .= <<<EOF
|
||||
</td>
|
||||
<td class='tablerow1' align='center'><img src='{$this->ipsclass->skin_acp_url}/images/{$r['_can_acp_img']}' border='0' alt='-' class='ipd' /></td>
|
||||
<td class='tablerow1' align='center'><img src='{$this->ipsclass->skin_acp_url}/images/{$r['_can_supmod_img']}' border='0' alt='-' class='ipd' /></td>
|
||||
<td class='tablerow1' align='center'>{$r['count']}</td>
|
||||
<td class='tablerow1' align='center'><img id="menu{$r['g_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$r['g_id']}",
|
||||
new Array( img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=edit&id={$r['g_id']}'>Edit Group</a>",
|
||||
EOF;
|
||||
if ( ! in_array( $r['g_id'], array( $this->ipsclass->vars['auth_group'], $this->ipsclass->vars['guest_group'], $this->ipsclass->vars['member_group'], $this->ipsclass->vars['admin_group'] ) ) )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=delete&_admin_auth_key={$this->ipsclass->_admin_auth_key}&id={$r['g_id']}'>Delete</a>"
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
img_delete + " <em>Cannot Delete</em>"
|
||||
EOF;
|
||||
}
|
||||
$IPBHTML .= <<<EOF
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Groups
|
||||
//===========================================================================
|
||||
function groups_perm_splash_wrapper($content, $dlist) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tablesubheader'>Invision Power Board Information</div>
|
||||
<div class='tablerow1'>
|
||||
<b>Used by Groups</b> relates to the member groups that use this set of permissions
|
||||
<br /><b>Used by Members</b> relates to the number of members that are using this set of permissions rather than the set of permissions assigned to their group
|
||||
<br /><b>Preview</b> the forums this set of permissions would provide access to in a quick, convenient format.
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Forum Permission Sets</div>
|
||||
<table cellpadding='4' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='20%'>Name</td>
|
||||
<td class='tablesubheader' width='15%'>Used by Group(s)</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>Used by Member(s)</td>
|
||||
<td class='tablesubheader' width='1%'> </td>
|
||||
</tr>
|
||||
{$content}
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<br />
|
||||
<form name='theAdminForm' id='adminform' action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=dopermadd' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Create a new permission set</div>
|
||||
<table cellpadding='4' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Permission Set Name</strong></td>
|
||||
<td class='tablerow2'><input type='text' class='input' size='30' name='new_perm_name' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Base this permission set on which existing set...</strong></td>
|
||||
<td class='tablerow2'><select name='new_perm_copy' class='dropdown'>{$dlist}</select></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='tablefooter' align='center'><input type='submit' value='Create' class='realbutton' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// Groups
|
||||
//===========================================================================
|
||||
function groups_perm_splash_row( $r="" ) {
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow2'><strong>{$r['name']}</strong></td>
|
||||
<td class='tablerow1'>{$r['groups']}</td>
|
||||
<td class='tablerow1' align='center'>
|
||||
EOF;
|
||||
if ( $r['mems'] > 0 )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
{$r['mems']} (<a href='javascript:pop_win("&{$this->ipsclass->form_code}&code=view_perm_users&id={$r['id']}", "User", "500","350");' title='View the member names of those using this permission set in a new window'>View</a>)
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
0
|
||||
EOF;
|
||||
}
|
||||
$IPBHTML .= <<<EOF
|
||||
</td>
|
||||
<td class='tablerow1' align='center'><img id="menu{$r['id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$r['id']}",
|
||||
new Array( img_view + " <a href='javascript:pop_win(\"&{$this->ipsclass->form_code}&code=preview_forums&id={$r['id']}&t=read\", \"Preview\", \"400\",\"350\");' title='See what this group can see..'>Preview...</a>",
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=fedit&id={$r['id']}'>Edit...</a>",
|
||||
EOF;
|
||||
if ( ! $r['isactive'] )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=pdelete&id={$r['id']}'>Delete...</a>"
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
img_delete + " <em>In Use</em>"
|
||||
EOF;
|
||||
}
|
||||
$IPBHTML .= <<<EOF
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
function permissions_js()
|
||||
{
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<script type='text/javascript'>
|
||||
//<![CDATA[
|
||||
|
||||
//----------------------------------
|
||||
// Check column
|
||||
//----------------------------------
|
||||
|
||||
function checkcol( permtype ,status )
|
||||
{
|
||||
var formobj = document.getElementById('theAdminForm');
|
||||
var checkboxes = formobj.getElementsByTagName('input');
|
||||
|
||||
for ( var i = 0 ; i <= checkboxes.length ; i++ )
|
||||
{
|
||||
var e = checkboxes[i];
|
||||
|
||||
if ( e && (e.id != 'upload') && (e.id != 'download') && (e.id != 'read') && (e.id != 'reply') && (e.id != 'start') && (e.id != 'show') && (e.type == 'checkbox') && (! e.disabled) )
|
||||
{
|
||||
var s = e.id;
|
||||
var a = s.replace( /^(.+?)_.+?$/, "$1" );
|
||||
|
||||
if ( a == permtype )
|
||||
{
|
||||
if ( status == 1 )
|
||||
{
|
||||
e.checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
e.checked = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function checkrow( permid, status )
|
||||
{
|
||||
document.getElementById( "read" + '_' + permid ).checked = status;
|
||||
document.getElementById( "reply" + '_' + permid ).checked = status;
|
||||
document.getElementById( "start" + '_' + permid ).checked = status;
|
||||
document.getElementById( "upload" + '_' + permid ).checked = status;
|
||||
document.getElementById( "download" + '_' + permid ).checked = status;
|
||||
document.getElementById( "show" + '_' + permid ).checked = status;
|
||||
|
||||
obj_checked( "read", permid );
|
||||
obj_checked( "reply", permid );
|
||||
obj_checked( "start", permid );
|
||||
obj_checked( "show", permid );
|
||||
obj_checked( "upload", permid );
|
||||
obj_checked( "download", permid );
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function obj_checked( permtype, pid )
|
||||
{
|
||||
var formobj = document.getElementById('theAdminForm');
|
||||
|
||||
var totalboxes = 0;
|
||||
var total_on = 0;
|
||||
|
||||
if ( pid )
|
||||
{
|
||||
document.getElementById( permtype+'_'+pid ).checked = document.getElementById( permtype+'_'+pid ).checked ? true : false;
|
||||
}
|
||||
|
||||
var checkboxes = formobj.getElementsByTagName('input');
|
||||
|
||||
for ( var i = 0 ; i <= checkboxes.length ; i++ )
|
||||
{
|
||||
var e = checkboxes[i];
|
||||
|
||||
if ( e && (e.id != 'upload') && (e.id != 'download') && (e.id != 'read') && (e.id != 'reply') && (e.id != 'start') && (e.id != 'show') && (e.type == 'checkbox') && (! e.disabled) )
|
||||
{
|
||||
var s = e.id;
|
||||
var a = s.replace( /^(.+?)_.+?$/, "$1" );
|
||||
|
||||
if ( a == permtype )
|
||||
{
|
||||
totalboxes++;
|
||||
|
||||
if ( e.checked )
|
||||
{
|
||||
total_on++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( totalboxes == total_on )
|
||||
{
|
||||
document.getElementById( permtype ).checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById( permtype ).checked = false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function init_perms( )
|
||||
{
|
||||
var formobj = document.getElementById('theAdminForm');
|
||||
var checkboxes = formobj.getElementsByTagName('input');
|
||||
|
||||
var totalboxes = new Array();
|
||||
totalboxes['upload'] = 0;
|
||||
totalboxes['download'] = 0;
|
||||
totalboxes['read'] = 0;
|
||||
totalboxes['reply'] = 0;
|
||||
totalboxes['start'] = 0;
|
||||
totalboxes['show'] = 0;
|
||||
|
||||
var total_on = new Array();
|
||||
total_on['upload'] = 0;
|
||||
total_on['download'] = 0;
|
||||
total_on['read'] = 0;
|
||||
total_on['reply'] = 0;
|
||||
total_on['start'] = 0;
|
||||
total_on['show'] = 0;
|
||||
|
||||
for ( var i = 0 ; i <= checkboxes.length ; i++ )
|
||||
{
|
||||
var e = checkboxes[i];
|
||||
|
||||
if ( e && (e.id != 'upload') && (e.id != 'download') && (e.id != 'read') && (e.id != 'reply') && (e.id != 'start') && (e.id != 'show') && (e.type == 'checkbox') && (! e.disabled) )
|
||||
{
|
||||
var s = e.id;
|
||||
var a = s.replace( /^(.+?)_.+?$/, "$1" );
|
||||
var b = s.replace( /^(.+?)_(.+?)$/, "$2" );
|
||||
|
||||
totalboxes[a]++;
|
||||
|
||||
if ( e.checked )
|
||||
{
|
||||
total_on[a]++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for ( key in totalboxes )
|
||||
{
|
||||
if ( totalboxes[key] == total_on[key] )
|
||||
{
|
||||
document.getElementById( key ).checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById( key ).checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
init_perms();
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
<?php
|
||||
|
||||
class cp_skin_groups {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
//===========================================================================
|
||||
// Groups: Overview scream :o :o
|
||||
//===========================================================================
|
||||
function groups_overview_wrapper($content, $form) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Ñïèñîê ãðóïï ïîëüçîâàòåëåé</div>
|
||||
<table cellpadding='4' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='40%'>Íàçâàíèå ãðóïïû</td>
|
||||
<td class='tablesubheader' width='10%' align='center'>Äîñòóï â ÀÖ</td>
|
||||
<td class='tablesubheader' width='10%' align='center'>Ñóïåðìîäåðàòîð</td>
|
||||
<td class='tablesubheader' width='10%' align='center'>Ïîëüçîâàòåëåé</td>
|
||||
<td class='tablesubheader' width='1%'> </td>
|
||||
</tr>
|
||||
{$content}
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=add' method='POST' >
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Ñîçäàòü ãðóïïó ïîëüçîâàòåëåé</div>
|
||||
<table cellpadding='4' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablerow2' width='40%'><strong>Îñíîâàííóþ íà</strong></td>
|
||||
<td class='tablerow1' width='60%'>{$form['_new_dd']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' class='tablesubheader' align='center'><input type='submit' value='Ñîçäàòü' class='realbutton' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Groups
|
||||
//===========================================================================
|
||||
function groups_overview_wrapper_row( $r="" ) {
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow2' style='font-weight:bold'>
|
||||
EOF;
|
||||
if ( $r['g_id'] != $this->ipsclass->vars['auth_group'] and $r['g_id'] != $this->ipsclass->vars['guest_group'] )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<a href='{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?act=Members&max_results=30&showall=1&filter={$r['g_id']}&sort_order=asc&sort_key=members_display_name&st=0' target='_blank' title='Ñïèñîê ïîëüçîâàòåëåé'>{$r['_title']}</a>
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
{$r['_title']}
|
||||
EOF;
|
||||
}
|
||||
$IPBHTML .= <<<EOF
|
||||
</td>
|
||||
<td class='tablerow1' align='center'><img src='{$this->ipsclass->skin_acp_url}/images/{$r['_can_acp_img']}' border='0' alt='-' class='ipd' /></td>
|
||||
<td class='tablerow1' align='center'><img src='{$this->ipsclass->skin_acp_url}/images/{$r['_can_supmod_img']}' border='0' alt='-' class='ipd' /></td>
|
||||
<td class='tablerow1' align='center'>{$r['count']}</td>
|
||||
<td class='tablerow1' align='center'><img id="menu{$r['g_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$r['g_id']}",
|
||||
new Array( img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=edit&id={$r['g_id']}'>Èçìåíèòü</a>",
|
||||
EOF;
|
||||
if ( ! in_array( $r['g_id'], array( $this->ipsclass->vars['auth_group'], $this->ipsclass->vars['guest_group'], $this->ipsclass->vars['member_group'], $this->ipsclass->vars['admin_group'] ) ) )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=delete&_admin_auth_key={$this->ipsclass->_admin_auth_key}&id={$r['g_id']}'>Óäàëèòü</a>"
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
img_delete + " <em>Íåâîçìîæíî óäàëèòü</em>"
|
||||
EOF;
|
||||
}
|
||||
$IPBHTML .= <<<EOF
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Groups
|
||||
//===========================================================================
|
||||
function groups_perm_splash_wrapper($content, $dlist) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tablesubheader'>Èíôîðìàöèÿ</div>
|
||||
<div class='tablerow1'>
|
||||
<b>Èñïîëüçóåòñÿ ãðóïïàìè</b> — óêàçûâàåò íà ãðóïïû ïîëüçîâàòåëåé, èñïîëüçóþùèå äàííóþ ìàñêó äîñòóïà.
|
||||
<br /><b>Èñïîëüçóåòñÿ ïîëüçîâàòåëÿìè</b> — óêàçûâàåò êîëè÷åñòâî ïîëüçîâàòåëåé, èñïîëüçóþùèõ äàííóþ ìàñêó äîñòóïà.
|
||||
<br /><b>Ïðîñìîòð</b> äàåò âîçìîæíîñòü ïðîòåñòèðîâàòü äàííóþ ìàñêó äîñòóïà.
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Ìàñêè äîñòóïà ê ôîðóìàì</div>
|
||||
<table cellpadding='4' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='20%'>Íàçâàíèå ìàñêè</td>
|
||||
<td class='tablesubheader' width='15%'>Èñïîëüçóåòñÿ ãðóïïàìè</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>Èñïîëüçóåòñÿ ïîëüçîâàòåëÿìè</td>
|
||||
<td class='tablesubheader' width='1%'> </td>
|
||||
</tr>
|
||||
{$content}
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<br />
|
||||
<form name='theAdminForm' id='adminform' action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=dopermadd' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Ñîçäàíèå íîâîé ìàñêè äîñòóïà</div>
|
||||
<table cellpadding='4' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Íàçâàíèå</strong></td>
|
||||
<td class='tablerow2'><input type='text' class='input' size='30' name='new_perm_name' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Íàñëåäîâàòü ïðàâà èç ìàñêè:</strong></td>
|
||||
<td class='tablerow2'><select name='new_perm_copy' class='dropdown'>{$dlist}</select></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='tablefooter' align='center'><input type='submit' value='Ñîçäàòü' class='realbutton' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// Groups
|
||||
//===========================================================================
|
||||
function groups_perm_splash_row( $r="" ) {
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow2'><strong>{$r['name']}</strong></td>
|
||||
<td class='tablerow1'>{$r['groups']}</td>
|
||||
<td class='tablerow1' align='center'>
|
||||
EOF;
|
||||
if ( $r['mems'] > 0 )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
{$r['mems']} (<a href='javascript:pop_win("&{$this->ipsclass->form_code}&code=view_perm_users&id={$r['id']}", "User", "500","350");' title='Îòêðûòü íîâîå îêíî, â êîòîðîì âûâåñòè âñåõ ïîëüçîâàòåëåé, èñïîëüçóþùèõ äàííóþ ìàñêó äîñòóïà!'>Ïðîñìîòðåòü</a>)
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
0
|
||||
EOF;
|
||||
}
|
||||
$IPBHTML .= <<<EOF
|
||||
</td>
|
||||
<td class='tablerow1' align='center'><img id="menu{$r['id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$r['id']}",
|
||||
new Array( img_view + " <a href='javascript:pop_win(\"&{$this->ipsclass->form_code}&code=preview_forums&id={$r['id']}&t=read\", \"Preview\", \"400\",\"350\");' title='Ïðîñìîòðåòü, ÷òî ìîãóò äåëàòü ãðóïïû'>Ïðîñìîòð</a>",
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=fedit&id={$r['id']}'>Èçìåíèòü</a>",
|
||||
EOF;
|
||||
if ( ! $r['isactive'] )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=pdelete&id={$r['id']}'>Óäàëèòü</a>"
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
img_delete + " <em>Èñïîëüçóåòñÿ</em>"
|
||||
EOF;
|
||||
}
|
||||
$IPBHTML .= <<<EOF
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
function permissions_js()
|
||||
{
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<script type='text/javascript'>
|
||||
//<![CDATA[
|
||||
|
||||
//----------------------------------
|
||||
// Check column
|
||||
//----------------------------------
|
||||
|
||||
function checkcol( permtype ,status )
|
||||
{
|
||||
var formobj = document.getElementById('theAdminForm');
|
||||
var checkboxes = formobj.getElementsByTagName('input');
|
||||
|
||||
for ( var i = 0 ; i <= checkboxes.length ; i++ )
|
||||
{
|
||||
var e = checkboxes[i];
|
||||
|
||||
if ( e && (e.id != 'upload') && (e.id != 'download') && (e.id != 'read') && (e.id != 'reply') && (e.id != 'start') && (e.id != 'show') && (e.type == 'checkbox') && (! e.disabled) )
|
||||
{
|
||||
var s = e.id;
|
||||
var a = s.replace( /^(.+?)_.+?$/, "$1" );
|
||||
|
||||
if ( a == permtype )
|
||||
{
|
||||
if ( status == 1 )
|
||||
{
|
||||
e.checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
e.checked = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function checkrow( permid, status )
|
||||
{
|
||||
if( document.getElementById( "read" + '_' + permid ) != null )
|
||||
{
|
||||
document.getElementById( "read" + '_' + permid ).checked = status;
|
||||
}
|
||||
|
||||
if( document.getElementById( "reply" + '_' + permid ) != null )
|
||||
{
|
||||
document.getElementById( "reply" + '_' + permid ).checked = status;
|
||||
}
|
||||
|
||||
if( document.getElementById( "start" + '_' + permid ) != null )
|
||||
{
|
||||
document.getElementById( "start" + '_' + permid ).checked = status;
|
||||
}
|
||||
|
||||
if( document.getElementById( "upload" + '_' + permid ) != null )
|
||||
{
|
||||
document.getElementById( "upload" + '_' + permid ).checked = status;
|
||||
}
|
||||
|
||||
if( document.getElementById( "download" + '_' + permid ) != null )
|
||||
{
|
||||
document.getElementById( "download" + '_' + permid ).checked = status;
|
||||
}
|
||||
|
||||
if( document.getElementById( "show" + '_' + permid ) != null )
|
||||
{
|
||||
document.getElementById( "show" + '_' + permid ).checked = status;
|
||||
}
|
||||
|
||||
obj_checked( "read", permid );
|
||||
obj_checked( "reply", permid );
|
||||
obj_checked( "start", permid );
|
||||
obj_checked( "show", permid );
|
||||
obj_checked( "upload", permid );
|
||||
obj_checked( "download", permid );
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function obj_checked( permtype, pid )
|
||||
{
|
||||
var formobj = document.getElementById('theAdminForm');
|
||||
|
||||
var totalboxes = 0;
|
||||
var total_on = 0;
|
||||
|
||||
if ( pid )
|
||||
{
|
||||
document.getElementById( permtype+'_'+pid ).checked = document.getElementById( permtype+'_'+pid ).checked ? true : false;
|
||||
}
|
||||
|
||||
var checkboxes = formobj.getElementsByTagName('input');
|
||||
|
||||
for ( var i = 0 ; i <= checkboxes.length ; i++ )
|
||||
{
|
||||
var e = checkboxes[i];
|
||||
|
||||
if ( e && (e.id != 'upload') && (e.id != 'download') && (e.id != 'read') && (e.id != 'reply') && (e.id != 'start') && (e.id != 'show') && (e.type == 'checkbox') && (! e.disabled) )
|
||||
{
|
||||
var s = e.id;
|
||||
var a = s.replace( /^(.+?)_.+?$/, "$1" );
|
||||
|
||||
if ( a == permtype )
|
||||
{
|
||||
totalboxes++;
|
||||
|
||||
if ( e.checked )
|
||||
{
|
||||
total_on++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( totalboxes == total_on )
|
||||
{
|
||||
document.getElementById( permtype ).checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById( permtype ).checked = false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function init_perms( )
|
||||
{
|
||||
var formobj = document.getElementById('theAdminForm');
|
||||
var checkboxes = formobj.getElementsByTagName('input');
|
||||
|
||||
var totalboxes = new Array();
|
||||
totalboxes['upload'] = 0;
|
||||
totalboxes['download'] = 0;
|
||||
totalboxes['read'] = 0;
|
||||
totalboxes['reply'] = 0;
|
||||
totalboxes['start'] = 0;
|
||||
totalboxes['show'] = 0;
|
||||
|
||||
var total_on = new Array();
|
||||
total_on['upload'] = 0;
|
||||
total_on['download'] = 0;
|
||||
total_on['read'] = 0;
|
||||
total_on['reply'] = 0;
|
||||
total_on['start'] = 0;
|
||||
total_on['show'] = 0;
|
||||
|
||||
for ( var i = 0 ; i <= checkboxes.length ; i++ )
|
||||
{
|
||||
var e = checkboxes[i];
|
||||
|
||||
if ( e && (e.id != 'upload') && (e.id != 'download') && (e.id != 'read') && (e.id != 'reply') && (e.id != 'start') && (e.id != 'show') && (e.type == 'checkbox') && (! e.disabled) )
|
||||
{
|
||||
var s = e.id;
|
||||
var a = s.replace( /^(.+?)_.+?$/, "$1" );
|
||||
var b = s.replace( /^(.+?)_(.+?)$/, "$2" );
|
||||
|
||||
totalboxes[a]++;
|
||||
|
||||
if ( e.checked )
|
||||
{
|
||||
total_on[a]++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for ( key in totalboxes )
|
||||
{
|
||||
if ( totalboxes[key] == total_on[key] )
|
||||
{
|
||||
document.getElementById( key ).checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById( key ).checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
init_perms();
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -8,13 +8,13 @@ var $ipsclass;
|
||||
//===========================================================================
|
||||
// Index
|
||||
//===========================================================================
|
||||
function update_img( $data ) {
|
||||
function update_img( $url ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<iframe id='ips-security-check' src="http://www.invisionpower.com/download/versioncheck/check220.php?{$data}" scrolling='auto' frameborder="0" style='border:0px;width:100%;padding:0px;margin:0px;height:88px;background:transparent'></iframe>
|
||||
<iframe id='ips-security-check' src="$url" scrolling='auto' frameborder="0" style='border:0px;width:100%;padding:0px;margin:0px;height:88px;background:transparent'></iframe>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
@@ -42,6 +42,32 @@ EOF;
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Index
|
||||
//===========================================================================
|
||||
function warning_converter() {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td colspan='3'>
|
||||
<div style='color:red;border:1px solid red;background:#FFE1E2;padding:10px'>
|
||||
<span style='font-size:14px;font-weight:bold'>Âíèìàíèå: îáíàðóæåíà ñèñòåìà äëÿ êîíâåðòèðîâàíèÿ ôîðóìîâ</span>
|
||||
<br /><br /><span style='font-size:10px;'>Ìû ðåêîìåíäóåì óäàëèòü ñèñòåìó êîíâåðòèðîâàíèÿ â öåëÿõ áåçîïàñíîñòè.
|
||||
<br />Óäàëèòå ôàéë <b>convert/index.php</b> è ýòî ñîîáùåíèå áîëüøå íå áóäåò îòîáðàæàòüñÿ.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='3'> </td>
|
||||
</tr>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Index
|
||||
//===========================================================================
|
||||
@@ -52,11 +78,11 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder' style='height:125px'>
|
||||
<div class='tableheaderalt'>Unlicensed Invision Power Board</div>
|
||||
<div class='tableheaderalt'>Íåçàðåãèñòðèðîâàííàÿ âåðñèÿ Invision Power Board</div>
|
||||
<div class='tablerow1'>
|
||||
<!--updateimg-->
|
||||
<br /><strong>This copy of Invision Power Board is <span style='color:red'>unlicensed.</span></strong>
|
||||
<br />Why purchase? <a href='http://www.invisionboard.com/?whyregister' target='_blank'>click here</a> to find out!
|
||||
<br /><strong>Äàííàÿ âåðñèÿ Invision Power Board <span style='color:red'>íå çàðåãèñòðèðîâàíà.</span></strong>
|
||||
<br />Óçíàòü ïîäðîáíåå î ðåãèñòðàöèè ìîæíî <a href='http://external.iblink.ru/ipb' target='_blank'>çäåñü</a>!
|
||||
</div>
|
||||
</div>
|
||||
EOF;
|
||||
@@ -75,7 +101,7 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder' style='height:125px'>
|
||||
<div class='tableheaderalt'>IPS Latest News</div>
|
||||
<div class='tableheaderalt'>Ïîñëåäíèå íîâîñòè <a href="http://www.ibresource.ru/" target="blank">êîìïàíèè IBResource</a></div>
|
||||
<div class='tablerow1' style='overflow:auto'>
|
||||
<iframe src="{$news_url}" scrolling='auto' frameborder="0" style='border:0px;width:100%;padding:0px;margin:0px;height:80px;background:#E4EAF2'></iframe></div>
|
||||
</div>
|
||||
@@ -97,7 +123,7 @@ $IPBHTML .= <<<EOF
|
||||
<form action='{$this->ipsclass->base_url}&act=index&save=1' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<textarea name='notes' style='background-color:#F9FFA2;border:1px solid #CCC;width:95%;font-family:verdana;font-size:10px' rows='8' cols='25'>{$notes}</textarea>
|
||||
<div align='center'><br /><input type='submit' value='Save Admin Notes' class='realdarkbutton' /></div>
|
||||
<div align='center'><br /><input type='submit' value='Ñîõðàíèòü' class='realdarkbutton' /></div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
@@ -117,8 +143,8 @@ $IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td colspan='3'>
|
||||
<div class='tableborder'>
|
||||
<div class='tablesubheader'>Board Offline</div>
|
||||
<div class='tablerow2'>Your board is currently offline<br><br>» <a href='{$this->ipsclass->base_url}§ion=tools&act=op&code=findsetting&key=boardoffline'>Turn Board Online</a></div>
|
||||
<div class='tablesubheader'>Ôîðóì âûêëþ÷åí</div>
|
||||
<div class='tablerow2'>Âàø ôîðóì â äàííûé ìîìåíò âûêëþ÷åí<br><br>» <a href='{$this->ipsclass->base_url}§ion=tools&act=op&code=findsetting&key=boardoffline'>Âêëþ÷èòü ôîðóì</a></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -146,32 +172,32 @@ $IPBHTML .= <<<EOF
|
||||
{
|
||||
if (document.getElementById('DOIT').members_display_name.value == "")
|
||||
{
|
||||
alert("You must enter a username!");
|
||||
alert("Âû äîëæíû ââåñòè èìÿ ïîëüçîâàòåëÿ!");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function new_forum()
|
||||
|
||||
function new_forum()
|
||||
{
|
||||
if (document.getElementById('DOIT1').forum_name.value == "")
|
||||
if (document.getElementById('DOIT1').forum_name.value == "")
|
||||
{
|
||||
alert("You must enter a forum name!");
|
||||
alert("Âû äîëæíû ââåñòè íàçâàíèå ôîðóìà!");
|
||||
return false;
|
||||
}
|
||||
else
|
||||
}
|
||||
else
|
||||
{
|
||||
window.location = '{$this->ipsclass->adskin->base_url}' + '§ion=content&act=forum&code=new&name=' + escape(document.getElementById('DOIT1').forum_name.value);
|
||||
}
|
||||
}
|
||||
|
||||
function phplookup()
|
||||
|
||||
function phplookup()
|
||||
{
|
||||
if (document.getElementById('DOIT2').phpfunc.value == "")
|
||||
if (document.getElementById('DOIT2').phpfunc.value == "")
|
||||
{
|
||||
alert("You must enter a PHP function!");
|
||||
alert("Âû äîëæíû ââåñòè íàçâàíèå ôóíêöèè PHP!");
|
||||
return false;
|
||||
}
|
||||
else
|
||||
}
|
||||
else
|
||||
{
|
||||
window.location = 'http://www.php.net/' + escape(document.getElementById('DOIT2').phpfunc.value);
|
||||
}
|
||||
@@ -181,19 +207,19 @@ $IPBHTML .= <<<EOF
|
||||
<script type="text/javascript" src='{$this->ipsclass->vars['board_url']}/jscripts/ipb_xhr_findnames.js'></script>
|
||||
<div id='ipb-get-members' style='border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:120px;display:none;z-index:100'></div>
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Quick Clicks</div>
|
||||
<div class='tableheaderalt'>Áûñòðûå äåéñòâèÿ</div>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
<tr>
|
||||
<td class='tablerow1' width='40%'>Edit Member (Enter name here)</td>
|
||||
<td class='tablerow2' width='60%'><form name='DOIT' id='DOIT' action='{$this->ipsclass->adskin->base_url}§ion=content&act=mem&code=searchresults&searchtype=normal&' method='post'><input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' /><input type='text' size='20' class='textinput' id='members_display_name' name='members_display_name' value='' > <input type='submit' value='Go...' class='realbutton' onclick='edit_member()'></form></td>
|
||||
<td class='tablerow1' width='40%'>Ðåäàêòèðîâàíèå ïîëüçîâàòåëÿ</td>
|
||||
<td class='tablerow2' width='60%'><form name='DOIT' id='DOIT' action='{$this->ipsclass->adskin->base_url}§ion=content&act=mem&code=searchresults&searchtype=normal&' method='post'><input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' /><input type='text' size='20' class='textinput' id='members_display_name' name='members_display_name' value='' > <input type='submit' value='Èçìåíèòü' class='realbutton' onclick='edit_member()'></form></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1' width='40%'>Add New Forum</td>
|
||||
<td class='tablerow2' width='60%'><form name='DOIT1' id='DOIT1' action='' onsubmit='new_forum();return false;'><input type='text' size='20' name='forum_name' class='textinput' value='Forum title here' onfocus='this.value=""'><input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' /> <input type='submit' value='Go...' class='realbutton' onclick='new_forum();return false;'></form></td>
|
||||
<td class='tablerow1' width='40%'>Ñîçäàíèå ôîðóìà</td>
|
||||
<td class='tablerow2' width='60%'><form name='DOIT1' id='DOIT1' action='' onsubmit='new_forum();return false;'><input type='text' size='20' name='forum_name' class='textinput' value='Íàçâàíèå ôîðóìà' onfocus='this.value=""'><input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' /> <input type='submit' value='Ñîçäàòü' class='realbutton' onclick='new_forum();return false;'></form></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1' width='40%'>PHP Function</td>
|
||||
<td class='tablerow2' width='60%'><form name='DOIT2' id='DOIT2' action='' onsubmit='phplookup(); return false;'><input type='text' size='20' name='phpfunc' class='textinput' value='PHP function here' onfocus='this.value=""'><input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' /> <input type='submit' value='Go...' class='realbutton' onclick='phplookup(); return false;'></form></td>
|
||||
<td class='tablerow1' width='40%'>Ïîìîùü ïî PHP-ôóíêöèÿì</td>
|
||||
<td class='tablerow2' width='60%'><form name='DOIT2' id='DOIT2' action='' onsubmit='phplookup(); return false;'><input type='text' size='20' name='phpfunc' class='textinput' value='Íàçâàíèå ôóíêöèè' onfocus='this.value=""'><input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' /> <input type='submit' value='Íàéòè' class='realbutton' onclick='phplookup(); return false;'></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -238,7 +264,7 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Version History (Last 5)</div>
|
||||
<div class='tableheaderalt'>Èñòîðèÿ îáíîâëåíèé (ïîñëåäíèå 5)</div>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
$content
|
||||
</table>
|
||||
@@ -270,7 +296,7 @@ $IPBHTML .= <<<EOF
|
||||
<td class='tablerow2' align='center'>{$r['_admin_time']}</td>
|
||||
<td class='tablerow2' align='center'><img src='{$this->ipsclass->skin_acp_url}/images/{$r['_admin_img']}' border='0' alt='-' class='ipd' /></td>
|
||||
<td class='tablerow1' width='1' valign='middle'>
|
||||
<a href='#' onclick="return ipsclass.pop_up_window('{$this->ipsclass->base_url}section=admin&act=loginlog&code=view_detail&detail={$r['admin_id']}', 400, 400)" title='View Details'><img src='{$this->ipsclass->skin_acp_url}/images/folder_components/index/view.png' border='0' alt='-' class='ipd' /></a>
|
||||
<a href='#' onclick="return ipsclass.pop_up_window('{$this->ipsclass->base_url}section=admin&act=loginlog&code=view_detail&detail={$r['admin_id']}', 400, 400)" title='Ïðîñìîòð äåòàëåé'><img src='{$this->ipsclass->skin_acp_url}/images/folder_components/index/view.png' border='0' alt='-' class='ipd' /></a>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
@@ -289,19 +315,19 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Last 5 ACP Log in Attempts</div>
|
||||
<div class='tableheaderalt'>Ïîñëåäíèå 5 ïîïûòîê àâòîðèçàöèè â ÀÖ</div>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='1%'> </td>
|
||||
<td class='tablesubheader' width='40%'>Name</td>
|
||||
<td class='tablesubheader' width='49%' align='center'>Date</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Status</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Log</td>
|
||||
<td class='tablesubheader' width='40%'>Èìÿ</td>
|
||||
<td class='tablesubheader' width='49%' align='center'>Âðåìÿ</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Ñòàòóñ</td>
|
||||
<td class='tablesubheader' width='5%' align='center'> </td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
<div class='tablefooter' align='right'>
|
||||
<a href='{$this->ipsclass->base_url}section=admin&act=loginlog' style='text-decoration:none'>MORE »</a>
|
||||
<a href='{$this->ipsclass->base_url}section=admin&act=loginlog' style='text-decoration:none'>ÄÀËÅÅ »</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -344,14 +370,14 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Administrators Using ACP</div>
|
||||
<div class='tableheaderalt'>Àäìèíèñòðàòîðû, íàõîäÿùèåñÿ â ÀÖ</div>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='20%'>Name</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>IP Address</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>Logged In</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>Last Click</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>Location</td>
|
||||
<td class='tablesubheader' width='20%'>Èìÿ</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>IP-àäðåñ</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>Âîøåë</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>Ïîñëåäíåå äåéñòâèå</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>Ñòðàíèöà</td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
@@ -398,17 +424,17 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Last 5 ACP Actions</div>
|
||||
<div class='tableheaderalt'>Ïîñëåäíèå 5 äåéñòâèé â ÀÖ</div>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='1%'> </td>
|
||||
<td class='tablesubheader' width='44'>Member Name</td>
|
||||
<td class='tablesubheader' width='55%'>Time of action</td>
|
||||
<td class='tablesubheader' width='44'>Èìÿ</td>
|
||||
<td class='tablesubheader' width='55%'>Âðåìÿ</td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
<div class='tablefooter' align='right'>
|
||||
<a href='{$this->ipsclass->base_url}section=admin&act=adminlog' style='text-decoration:none'>MORE »</a>
|
||||
<a href='{$this->ipsclass->base_url}section=admin&act=adminlog' style='text-decoration:none'>ÄÀËÅÅ »</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -430,34 +456,44 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'><a href='{$this->ipsclass->base_url}&section=help&act=diag'>System Overview</a></div>
|
||||
<div class='tableheaderalt'><a href='{$this->ipsclass->base_url}&section=help&act=diag'>Îáçîð ñèñòåìû</a></div>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
<tr>
|
||||
<td class='tablerow1' width='40%'><strong>IPB Version</strong></td>
|
||||
<td class='tablerow1' width='40%'><strong>Âåðñèÿ IPB</strong></td>
|
||||
<td class='tablerow2' width='60%'><span style='color:red'>{$content['ipb_version']} (ID: {$content['ipb_id']})</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>SQL Version</strong></td>
|
||||
<td class='tablerow1'><strong>Âåðñèÿ SQL</strong></td>
|
||||
<td class='tablerow2'><span style='color:red'>{$content['sql_driver']} ({$content['sql_version']})</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>PHP Version</strong></td>
|
||||
<td class='tablerow1'><strong>Âåðñèÿ PHP</strong></td>
|
||||
<td class='tablerow2'><span style='color:red'>{$content['php_version']} ({$content['php_sapi']})</span> ( <a href='{$this->ipsclass->base_url}&phpinfo=1'>PHP INFO</a> )</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Content</strong></td>
|
||||
<td class='tablerow2'><strong><em>{$content['topics']}</em></strong> Topics<br /><strong><em>{$content['replies']}</em></strong> Replies</td>
|
||||
<td class='tablerow1'><strong>Ñòàòèñòèêà ôîðóìà</strong></td>
|
||||
<td class='tablerow2'>Òåì: <strong><em>{$content['topics']}</em></strong> <br />Ñîîáùåíèé: <strong><em>{$content['replies']}</em></strong> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Members</strong></td>
|
||||
<td class='tablerow2'><strong><em>{$content['members']}</em></strong> Members
|
||||
<br /><a href='{$this->ipsclass->base_url}&section=content&act=mtools&code=mod'><strong><em>{$content['validate']}</em></strong> Awaiting validation</a>
|
||||
<br /><strong><em>{$content['coppa']}</em></strong> COPPA Pending
|
||||
<td class='tablerow1'><strong>Ïîëüçîâàòåëåé</strong></td>
|
||||
<td class='tablerow2'>Çàðåãèñòðèðîâàííûõ: <strong><em>{$content['members']}</em></strong>
|
||||
<br /><a href='{$this->ipsclass->base_url}&section=content&act=mtools&code=mod'>Îæèäàþùèõ àêòèâàöèè: <strong><em>{$content['validate']}</em></strong></a>
|
||||
EOF;
|
||||
|
||||
if( $this->ipsclass->vars['ipb_bruteforce_attempts'] > 0 )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<br /><a href='{$this->ipsclass->base_url}&section=content&act=mtools&code=lock'>Çàáëîêèðîâàííûõ: <strong><em>{$content['locked']}</em></strong></a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<!--<br />COPPA Pending: <strong><em>{$content['coppa']}</em></strong>-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Uploads</strong></td>
|
||||
<td class='tablerow2'><strong><em><div id='uploads-size'><i>Loading...</i></div></em></strong></td>
|
||||
<td class='tablerow1'><strong>Ðàçìåð äèðåêòîðèè çàãðóçîê</strong></td>
|
||||
<td class='tablerow2'><strong><em><div id='uploads-size'><i>Ïîäñ÷åò</i></div></em></strong></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -473,39 +509,39 @@ function get_uploads_size()
|
||||
// Main function to do on request
|
||||
// Must be defined first!!
|
||||
/*--------------------------------------------*/
|
||||
|
||||
|
||||
do_request_function = function()
|
||||
{
|
||||
//----------------------------------
|
||||
// Ignore unless we're ready to go
|
||||
//----------------------------------
|
||||
|
||||
|
||||
if ( ! xmlobj.readystate_ready_and_ok() )
|
||||
{
|
||||
// Could do a little loading graphic here?
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
//----------------------------------
|
||||
// INIT
|
||||
//----------------------------------
|
||||
|
||||
|
||||
var returned = xmlobj.xmlhandler.responseText;
|
||||
content.innerHTML = returned;
|
||||
}
|
||||
|
||||
|
||||
//----------------------------------
|
||||
// LOAD XML
|
||||
//----------------------------------
|
||||
|
||||
|
||||
xmlobj = new ajax_request();
|
||||
xmlobj.onreadystatechange( do_request_function );
|
||||
|
||||
|
||||
xmlobj.process( ipb_var_base_url + '&act=xmlout&do=get-dir-size' );
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
get_uploads_size();
|
||||
</script>
|
||||
EOF;
|
||||
@@ -526,8 +562,8 @@ $IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td colspan='3'>
|
||||
<div style='color:red;border:1px solid red;background:#FFC0C3;padding:10px'>
|
||||
<span style='font-size:20px;font-weight:bold'>Warning: Your PHP Version ($phpversion) is insufficient.</span>
|
||||
<br /><br /><span style='font-size:14px;'>Invision Power Board requires at least PHP 4.3.0 to operate fully.<br />Some sections of the ACP may not operate until you upgrade.</span></div>
|
||||
<span style='font-size:20px;font-weight:bold'>ÂÍÈÌÀÍÈÅ: Âåðñèÿ PHP íà ñåðâåðå ($phpversion) íå ñîîòâåòñòâóåò òðåáîâàíèÿì.</span>
|
||||
<br /><br /><span style='font-size:14px;'>Äëÿ ðàáîòû Invision Power Board òðåáóåòñÿ êàê ìèíèìóì PHP âåðñèè 4.3.0.<br />Íåêîòîðûå ðàçäåëû àäìèíöåíòðà ìîãóò íå ðàáîòàòü èëè ðàáîòàòü íå âåðíî, ïîêà âû íå îáíîâèòå PHP íà áîëåå íîâóþ âåðñèþ.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -550,10 +586,10 @@ $IPBHTML = "";
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td colspan='3'>
|
||||
<div style='color:red;border:1px solid red;background:#FFC0C3;padding:10px'>
|
||||
<span style='font-size:20px;font-weight:bold'>Warning: Unlocked Installer Still Present</span>
|
||||
<br /><br /><span style='font-size:14px;'>Remove <b>install/index.php</b> from your server at once!
|
||||
<br />Leaving it on your server WILL compromise the security of your system.</span></div>
|
||||
<div style='color:red;border:1px solid red;background:#FFE1E2;padding:10px'>
|
||||
<span style='font-size:14px;font-weight:bold'>ÂÍÈÌÀÍÈÅ: Îáíàðóæåí íåçàáëîêèðîâàííûé ñêðèïò óñòàíîâêè ôîðóìà</span>
|
||||
<br /><br /><span style='font-size:10px;'>Óäàëèòå ôàéë <b>install/index.php</b> ñ ñåðâåðà!
|
||||
<br />Îñòàâèâ ýòîò ôàéë íà ñåðâåðå, âû ÌÎÆÅÒÅ ïîñòàâèòü ïîä óãðîçó áåçîïàñíîñòü ôîðóìà.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -578,8 +614,8 @@ $IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td colspan='3'>
|
||||
<div style='color:red;border:1px solid red;background:#FFC0C3;padding:10px'>
|
||||
<span style='font-size:20px;font-weight:bold'>Warning: Unfinished Upgrade Detected</span>
|
||||
<br /><br /><span style='font-size:14px;'>IPB has detected that an upgrade has not been completed. Click <a href='{$this->ipsclass->vars['board_url']}/upgrade/index.php'>here</a> to complete.</span></div>
|
||||
<span style='font-size:20px;font-weight:bold'>ÂÍÈÌÀÍÈÅ: Îáíàðóæåíî íåçàâåðøåííîå îáíîâëåíèå</span>
|
||||
<br /><br /><span style='font-size:14px;'>IPB îáíîðóæèë îáíîâëåíèå, êîòîðîå íå áûëî çàêîí÷åíî. Íàæìèòå <a href='{$this->ipsclass->vars['board_url']}/upgrade/index.php'>çäåñü</a> äëÿ çàâåðøåíèÿ ýòîãî îáíîâëåíèÿ.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -603,10 +639,9 @@ $IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td colspan='3'>
|
||||
<div style='color:red;border:1px solid red;background:#FFE1E2;padding:10px'>
|
||||
<span style='font-size:14px;font-weight:bold'>Warning: Installer Still Present</span>
|
||||
<br /><br /><span style='font-size:10px;'>Although the installer appears to be locked, we recommend you remove it
|
||||
from your server for security.
|
||||
<br />Simply remove <b>install/index.php</b> from your installation to remove this message.</span></div>
|
||||
<span style='font-size:14px;font-weight:bold'>ÂÍÈÌÀÍÈÅ: Ñêðèïò óñòàíîâêè ôîðóìà âñå åùå íå óäàëåí!</span>
|
||||
<br /><br /><span style='font-size:10px;'>Ñêðèïò óñòàíîâêè ôîðóìà çàáëîêèðîâàí (ïîêà ôàéë install.lock íå áóäåò óäàëåí — óñòàíîâêà ôîðóìà íåâîçìîæíà), íî ïðèñóòñòâóåò íà ñåðâåðå, ìû ðåêîìåíäóåì óäàëèòü åãî äëÿ ïîâûøåíèÿ áåçîïàñíîñòè âàøåãî ôîðóìà!
|
||||
<br />Äëÿ óäàëåíèÿ ñêðèïòà óñòàíîâêè äîñòàòî÷íî óäàëèòü ôàéë <b>/install/index.php</b>, è ýòîãî ïðåäóïðåæäåíèÿ âû áîëüøå íå óâèäèòå.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -630,22 +665,21 @@ $IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td colspan='3'>
|
||||
<div style='color:red;border:1px solid red;background:#FFC0C3;padding:10px'>
|
||||
<span style='font-size:20px;font-weight:bold'>Warning: A Skin error occured</span>
|
||||
<span style='font-size:20px;font-weight:bold'>Âíèìàíèå: Îøèáêà ñòèëÿ</span>
|
||||
<br /><br />
|
||||
Either you or one of your members encountered a skin error. The following took place
|
||||
automatically:
|
||||
Ó íåêîòîðûõ ïîëüçîâàòåëåé ïîÿâèëàñü ïðîáëåìà ñî ñòèëÿìè. Ýòî ìîãëî ïðîèçîéòè àâòîìàòè÷åñêè ïî ñëåäóþùèì ïðè÷èíàì:
|
||||
<ul>
|
||||
<li>They were asked to clear their skin settings</li>
|
||||
<li>They were asked to click a link to attempt access in the ACP</li>
|
||||
<li>The ACP picked up the skin error and rebuilt the skin ID cache, the default skin and it may have turned on safe mode skins</li>
|
||||
<li>Îíè ïðîáîâàëè î÷èñòèòü íàñòðîéêè ñòèëÿ.</li>
|
||||
<li>Îíè ïîïûòàëèñü ïîëó÷èòü äîñòóï ê àäìèíöåíòðó ôîðóìà.</li>
|
||||
<li>Àäìèíöåíòð ïðîïóñòèë îøèáêó ñòèëÿ è îáíîâèë ñòèëü ñ ýòîé îøèáêîé è, âîçìîæíî, èìåííî ýòî âêëþ÷èëî áåçîïàñíûé ðåæèì ñòèëåé.</li>
|
||||
</ul>
|
||||
<b>What to do now</b>
|
||||
<b>×òî òåïåðü ìîæíî è íóæíî ñäåëàòü:</b>
|
||||
<ul>
|
||||
<li>Firstly, if you don't wish to use safe mode skins, check the CHMOD value of the 'skin_cache' directory to make sure IPB can write into that directory</li>
|
||||
<li>Åñëè âû íå õîòèòå èñïîëüçîâàòü áåçîïàñíûé ðåæèì ñòèëåé, ïðîâåðüòå ïðàâà äîñòóïà (CHMOD) ê äèðåêòîðèè /skin_cache/, ÷òîáû óáåäèòüñÿ â âîçìîæíîñòè çàïèñè òóäà ôàéëîâ ñ øàáëîíàìè.</li>
|
||||
<li>If the permissions are correct, check your 'System Settings -> General Configuration' settings to check the value of 'Safe Mode Skins' - disable if not required</li>
|
||||
<li>As a precaution, rebuild all your skins by following the link below</li>
|
||||
<li>È ïîïðîáóéòå îáíîâèòü âñå êåøè ñòèëåé, ïðîéäÿ ïî ññûëêå íèæå.</li>
|
||||
</ul>
|
||||
<b>>> <a href='{$this->ipsclass->base_url}§ion=lookandfeel&act=sets&code=rebuildalltemplates&removewarning=1'>REBUILD ALL SKIN CACHES & REMOVE THIS WARNING</a> <<</b>
|
||||
<b>>> <a href='{$this->ipsclass->base_url}§ion=lookandfeel&act=sets&code=rebuildalltemplates&removewarning=1'>ÎÁÍÎÂÈÒÜ ÂÑÅ ÊÅØÈ ØÀÁËÎÍÎÂ È ÓÄÀËÈÒÜ ÝÒÎ ÏÐÅÄÓÏÐÅÆÄÅÍÈÅ</a> <<</b>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -670,10 +704,10 @@ $IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td colspan='3'>
|
||||
<div style='color:red;border:1px solid red;background:#FFC0C3;padding:10px'>
|
||||
<span style='font-size:20px;font-weight:bold'>An upgrade has been performed</span>
|
||||
<span style='font-size:20px;font-weight:bold'>Ñèñòåìà îïðåäåëèëà, ÷òî áûëî âûïîëíåíî îáíîâëåíèå ôîðóìà</span>
|
||||
<br /><br />
|
||||
You'll need to update all your skin caches to ensure the new template bits have been added correctly.
|
||||
<br /><br /><b>>> <a href='{$this->ipsclass->base_url}§ion=lookandfeel&act=sets&code=rebuildalltemplates&removewarning=1'>REBUILD ALL SKIN CACHES & REMOVE THIS WARNING</a> <<</b>
|
||||
Âàì íåîáõîäèìî îáíîâèòü âñå êåøè ñòèëåé ôîðóìà äëÿ ïðîâåðêè òîãî, ÷òî âñå íîâûå çàïèñè â øàáëîíàõ äîáàâëåíû ïðàâèëüíî.
|
||||
<br /><br /><b>>> <a href='{$this->ipsclass->base_url}§ion=lookandfeel&act=sets&code=rebuildalltemplates&removewarning=1'>ÎÁÍÎÂÈÒÜ ÂÑÅ ÊÅØÈ ØÀÁËÎÍÎÂ È ÓÄÀËÈÒÜ ÝÒÎ ÏÐÅÄÓÏÐÅÆÄÅÍÈÅ</a> <<</b>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -692,6 +726,7 @@ $IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<!--in_dev_notes-->
|
||||
<table border='0' width='100%' cellpadding='0' cellspacing='0'>
|
||||
<tr>
|
||||
<td width='49%' nowrap='nowrap' valign='middle'>{$content['reg_html']}</td>
|
||||
@@ -704,7 +739,7 @@ $IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td width='49%' nowrap='nowrap' valign='middle'>{$content['stats']}</td>
|
||||
<td width='2%'> </td>
|
||||
<td width='49%' nowrap='nowrap' align='center' valign='top' class='tableborder' style='background:#F5F9FD'><div class='tableheaderalt'>ACP Notes</div><br />{$content['ad_notes']}</td>
|
||||
<td width='49%' nowrap='nowrap' align='center' valign='top' class='tableborder' style='background:#F5F9FD'><div class='tableheaderalt'>Çàìåòêè</div><br />{$content['ad_notes']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='3'> </td>
|
||||
@@ -744,16 +779,16 @@ if ( IN_DEV )
|
||||
$IPBHTML .= <<<EOF
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>DEV Installer XML Exports</div>
|
||||
<div class='tableheaderalt'>Ðåæèì ðàçðàáîò÷èêà: ýêñïîðò äàííûõ</div>
|
||||
<div class='tablepad'>
|
||||
<a href='{$this->ipsclass->base_url}&section=admin&act=components&code=master_xml_export'>Components</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=tools&act=loginauth&code=master_xml_export'>Log In Modules</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=content&act=group&code=master_xml_export'>Groups</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=content&act=attach&code=master_xml_export'>Attachments</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=lookandfeel&act=sets&code=master_xml_export'>Skins</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=tools&act=task&code=master_xml_export'>Tasks</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=tools&act=help&code=master_xml_export'>FAQ</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=content&act=bbcode&code=bbcode_export'>BBCode</a>
|
||||
<a href='{$this->ipsclass->base_url}&section=admin&act=components&code=master_xml_export'>Êîìïîíåíòû</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=tools&act=loginauth&code=master_xml_export'>Ìîäóëè àâòîðèçàöèè</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=content&act=group&code=master_xml_export'>Ãðóïïû</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=content&act=attach&code=master_xml_export'>Òèïû ôàéëîâ</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=lookandfeel&act=sets&code=master_xml_export'>Ñòèëè</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=tools&act=task&code=master_xml_export'>Çàäà÷è</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=tools&act=help&code=master_xml_export'>Ïîìîùü</a>
|
||||
· <a href='{$this->ipsclass->base_url}&section=content&act=bbcode&code=bbcode_export'>BB-êîäû</a>
|
||||
</div>
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
@@ -35,7 +35,7 @@ $IPBHTML .= <<<EOF
|
||||
($count_string) {$group['easy_preview']}
|
||||
</div>
|
||||
<div align='left'>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/folder.gif' alt='Template Group' style='vertical-align:middle' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/folder.gif' alt='Ãðóïïà øàáëîíîâ' style='vertical-align:middle' />
|
||||
{$folder_blob} <a style='font-size:11px' id='gn-{$group['group_name']}' onclick='template_load_bits("{$group['group_name']}", event)' title='{$group['easy_desc']}' href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=template-bits-list&id={$group['_id']}&p={$group['_p']}&group_name={$group['group_name']}&'>{$group['easy_name']}</a>
|
||||
<span id='match-{$group['group_name']}'></span>
|
||||
</div>
|
||||
@@ -55,16 +55,16 @@ $IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tablerow1' id='dvb-{$sec['func_name']}' title='Click this row and others to edit multiple templates at once' onclick='parent.template_toggle_bit_row("{$sec['func_name']}")' >
|
||||
<div class='tablerow1' id='dvb-{$sec['func_name']}' title='Âûáåðèòå íóæíûå ÿ÷åéêè äëÿ ðåäàêòèðîâàíèÿ ñðàçó íåñêîëüêèõ øàáëîíîâ' onclick='parent.template_toggle_bit_row("{$sec['func_name']}")' >
|
||||
<div style='float:right;width:auto;'>
|
||||
$remove_button
|
||||
<a style='text-decoration:none' title='Preview template bit as text' href='#' onclick='pop_win("act=rtempl&code=preview&suid={$sec['suid']}&type=text"); parent.template_cancel_bubble( event, true );'><img src='{$this->ipsclass->skin_acp_url}/images/te_text.gif' border='0' alt='Text Preview'></a>
|
||||
<a style='text-decoration:none' title='Preview template bit as HTML' href='#' onclick='pop_win("act=rtempl&code=preview&suid={$sec['suid']}&type=css"); parent.template_cancel_bubble( event, true );'><img src='{$this->ipsclass->skin_acp_url}/images/te_html.gif' border='0' alt='HTML Preview'> </a>
|
||||
<a style='text-decoration:none' title='Ïðåäïðîñìîòð â âèäå òåêñòà' href='#' onclick='pop_win("act=rtempl&code=preview&suid={$sec['suid']}&type=text"); parent.template_cancel_bubble( event, true );'><img src='{$this->ipsclass->skin_acp_url}/images/te_text.gif' border='0' alt='Ïðåäïðîñìîòð â âèäå òåêñòà'></a>
|
||||
<a style='text-decoration:none' title='Ïðåäïðîñìîòð â âèäå HTML' href='#' onclick='pop_win("act=rtempl&code=preview&suid={$sec['suid']}&type=css"); parent.template_cancel_bubble( event, true );'><img src='{$this->ipsclass->skin_acp_url}/images/te_html.gif' border='0' alt='Ïðåäïðîñìîòð â âèäå HTML'> </a>
|
||||
</div>
|
||||
<div align='left'>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/file.gif' title='Template Set:{$sec['set_id']}' alt='Template' style='vertical-align:middle' />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/file.gif' title='Øàáëîí: {$sec['set_id']}' alt='Øàáëîí' style='vertical-align:middle' />
|
||||
{$altered_image}
|
||||
<a id='bn-{$sec['func_name']}' onclick='parent.template_load_editor("{$sec['func_name']}", event)' href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=template-edit-bit&bitname={$sec['func_name']}&p={$sec['_p']}&id={$sec['_id']}&group_name={$sec['group_name']}&type=single' title='template bit name: {$sec['func_name']}'>{$sec['easy_name']}</a>
|
||||
<a id='bn-{$sec['func_name']}' onclick='parent.template_load_editor("{$sec['func_name']}", event)' href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=template-edit-bit&bitname={$sec['func_name']}&p={$sec['_p']}&id={$sec['_id']}&group_name={$sec['group_name']}&type=single' title='íàçâàíèå øàáëîíà: {$sec['func_name']}'>{$sec['easy_name']}</a>
|
||||
{$custom_bit}
|
||||
</div>
|
||||
</div>
|
||||
@@ -86,8 +86,8 @@ $IPBHTML .= <<<EOF
|
||||
<div class='tablerow3'>
|
||||
<div style='float:right;padding-top:3px'><strong>{$group['easy_name']}</strong></div>
|
||||
<div>
|
||||
<a href='#' onclick="parent.template_close_bits(); return false;" title='Close Window'><img src='{$this->ipsclass->skin_acp_url}/images/skineditor_close.gif' border='0' alt='Close' /></a>
|
||||
<!--<a href='#' onclick="toggleselectall(); return false;" title='Check/Uncheck all'><img src='{$this->ipsclass->skin_acp_url}/images/skineditor_tick.gif' border='0' alt='Check/Uncheck all' /></a>-->
|
||||
<a href='#' onclick="parent.template_close_bits(); return false;" title='Çàêðûòü áëîê'><img src='{$this->ipsclass->skin_acp_url}/images/skineditor_close.gif' border='0' alt='Çàêðûòü' /></a>
|
||||
<!--<a href='#' onclick="toggleselectall(); return false;" title='Ïîìåòèòü âñå/Ñíÿòü îòìåòêó ñî âñåõ'><img src='{$this->ipsclass->skin_acp_url}/images/skineditor_tick.gif' border='0' alt='Îòìåòèòü/ñíÿòü îòìåòêó' /></a>-->
|
||||
</div>
|
||||
</div>
|
||||
<div id='template-bits-container'>
|
||||
@@ -96,7 +96,7 @@ $IPBHTML .= <<<EOF
|
||||
<div style='background:#CCC'>
|
||||
<div align='left' style='padding:5px;margin-left:25px'>
|
||||
<div style='float:right'>$add_button</div>
|
||||
<div><input type='button' onclick='parent.template_load_bits_to_edit("{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=template-edit-bit&id={$this->ipsclass->input['id']}&p={$this->ipsclass->input['p']}&group_name={$group['group_name']}&type=multiple")' class='realbutton' value='Edit Selected' /></div>
|
||||
<div><input type='button' onclick='parent.template_load_bits_to_edit("{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=template-edit-bit&id={$this->ipsclass->input['id']}&p={$this->ipsclass->input['p']}&group_name={$group['group_name']}&type=multiple")' class='realbutton' value='Èçìåíèòü âûáðàííîå' /></div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
@@ -121,7 +121,7 @@ $IPBHTML = "";
|
||||
$IPBHTML .= <<<EOF
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var lang_matches = "matches";
|
||||
var lang_matches = "ðàçëè÷èé";
|
||||
$javascript
|
||||
//]]>
|
||||
</script>
|
||||
@@ -135,28 +135,36 @@ $javascript
|
||||
<td align='left' width='100%'>
|
||||
<div id='quick-search-box'>
|
||||
<form id='quick-search-form'>
|
||||
<input type='text' size='20' class='realwhitebutton' style='width:210px' name='searchkeywords' id='entered_template' autocomplete="off" value='' /> <input type='button' onclick='template_find_bits(event)' class='realbutton' value='Find Template Bit' />
|
||||
<input type='text' size='20' class='realwhitebutton' style='width:210px' name='searchkeywords' id='entered_template' autocomplete="off" value='' /> <input type='button' onclick='template_find_bits(event)' class='realbutton' value='Èñêàòü â øàáëîíàõ' />
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='template-main-wrap'>
|
||||
<div id='template-edit' style='height:0;width:100%;display:none;z-index:1'><iframe id='te-iframe' name='te-iframe' onload='template_iframe_loaded( "te" )' style='width:0;height:0px;display:none' src='javascript:;'></iframe></div>
|
||||
<div id='template-bits' style='float:right;width:0;display:none;z-index:2'><iframe id='tb-iframe' name='tb-iframe' onload='template_iframe_loaded( "tb" )' style='width:0;height:0px;display:none' src='javascript:;'></iframe></div>
|
||||
<div id='template-sections' style='width:100%;overflow:auto;height:475px;z-index:3;'>
|
||||
$content
|
||||
</div>
|
||||
</div>
|
||||
<div align='center' class='tablefooter'><!--hehe--> </div>
|
||||
</div>
|
||||
<div id='template-edit' style='height:0px;width:100%;display:none;z-index:1'><iframe id='te-iframe' name='te-iframe' onload='template_iframe_loaded( "te" )' style='width:0;height:0px;display:none' src='javascript:;'></iframe></div>
|
||||
<table id='template-main-wrap' width='100%'>
|
||||
<tr>
|
||||
<td valign='top' id='template-sections' style='width:100%;height:476px;max-height:476px;z-index:3;'>
|
||||
<div style='margin:0px;padding:0px;width:100%;overflow:auto;height:476px;max-height:476px;'>
|
||||
$content
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td valign='top' id='template-bits' style='width:0%;display:none;height:476px;max-height:476px;'>
|
||||
<iframe id='tb-iframe' name='tb-iframe' onload='template_iframe_loaded( "tb" )' style='width:0%;display:none;height:476px;max-height:476px;' src='javascript:;'></iframe>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' align='center' class='tablefooter'> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<br clear='all' />
|
||||
<br />
|
||||
<div><strong>Child skin set pop-up menu legend:</strong><br />
|
||||
<img id='img-altered' src='{$this->ipsclass->skin_acp_url}/images/skin_item_altered.gif' border='0' alt='+' title='Altered from parent skin set' /> This item has been customized for this skin set.
|
||||
<br /><img id='img-unaltered' src='{$this->ipsclass->skin_acp_url}/images/skin_item_unaltered.gif' border='0' alt='-' title='Unaltered from parent skin set' /> This item has not been customized from the master skin set.
|
||||
<br /><img id='img-inherited' src='{$this->ipsclass->skin_acp_url}/images/skin_item_inherited.gif' border='0' alt='|' title='Inherited from parent skin set' /> This item has inherited customizations from the parent skin set.
|
||||
<div style='padding:4px;'><strong>Èíôîðìàöèÿ:</strong><br />
|
||||
<img id='img-altered' src='{$this->ipsclass->skin_acp_url}/images/skin_item_altered.gif' border='0' alt='+' title='Èçìåíåí îò íà÷àëüíîãî âàðèàíòà øàáëîíà' /> Èçìåíåí îò íà÷àëüíîãî âàðèàíòà øàáëîíà.
|
||||
<br /><img id='img-unaltered' src='{$this->ipsclass->skin_acp_url}/images/skin_item_unaltered.gif' border='0' alt='-' title='Íå èçìåíåí îò íà÷àëüíîãî âàðèàíòà øàáëîíà' /> Íå èçìåíåí îò íà÷àëüíîãî âàðèàíòà øàáëîíà.
|
||||
<br /><img id='img-inherited' src='{$this->ipsclass->skin_acp_url}/images/skin_item_inherited.gif' border='0' alt='|' title='Óíàñëåäîâàííûé îò íà÷àëüíîãî âàðèàíòà øàáëîíà' /> Óíàñëåäîâàííûé îò íà÷àëüíîãî âàðèàíòà øàáëîíà.
|
||||
</div>
|
||||
<script type='text/javascript'>
|
||||
//<![CDATA[
|
||||
@@ -193,9 +201,9 @@ $IPBHTML .= <<<EOF
|
||||
<div class='tableheaderalt'>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='95%' style='font-size:12px; vertical-align:middle;font-weight:bold; color:#FFF;'>Skin Sets</td>
|
||||
<td align='left' width='95%' style='font-size:12px; vertical-align:middle;font-weight:bold; color:#FFF;'>Ñòèëè</td>
|
||||
<td align='right' width='5%' nowrap='nowrap'>
|
||||
<img id="menumainone" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' />
|
||||
<img id="menumainone" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -206,34 +214,34 @@ $IPBHTML .= <<<EOF
|
||||
<div align='center' class='tablefooter'> </div>
|
||||
</div>
|
||||
<br />
|
||||
<div><strong>Child skin set pop-up menu legend:</strong><br />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/skin_item_altered.gif' border='0' alt='+' title='Altered from parent skin set' /> This item has been customized for this skin set.
|
||||
<br /><img src='{$this->ipsclass->skin_acp_url}/images/skin_item_unaltered.gif' border='0' alt='-' title='Unaltered from parent skin set' /> This item has not been customized from the master skin set.
|
||||
<br /><img src='{$this->ipsclass->skin_acp_url}/images/skin_item_inherited.gif' border='0' alt='|' title='Inherited from parent skin set' /> This item has inherited customizations from the parent skin set.
|
||||
<div><strong>Èíôîðìàöèÿ:</strong><br />
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/skin_item_altered.gif' border='0' alt='+' title='Èçìåíåí îò íà÷àëüíîãî âàðèàíòà øàáëîíà' /> Èçìåíåí îò íà÷àëüíîãî âàðèàíòà øàáëîíà.
|
||||
<br /><img src='{$this->ipsclass->skin_acp_url}/images/skin_item_unaltered.gif' border='0' alt='-' title='Íå èçìåíåí îò íà÷àëüíîãî âàðèàíòà øàáëîíà' /> Íå èçìåíåí îò íà÷àëüíîãî âàðèàíòà øàáëîíà.
|
||||
<br /><img src='{$this->ipsclass->skin_acp_url}/images/skin_item_inherited.gif' border='0' alt='|' title='Óíàñëåäîâàííûé îò íà÷àëüíîãî âàðèàíòà øàáëîíà' /> Óíàñëåäîâàííûé îò íà÷àëüíîãî âàðèàíòà øàáëîíà.
|
||||
</div>
|
||||
<div id='menumainone_menu' style='display:none' class='popupmenu'>
|
||||
<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=addset&id=-1' method='POST'>
|
||||
<div align='center'><strong>Ñîçäàòü íîâûé ñòèëü</strong></div>
|
||||
<div align='center'><input type='text' name='set_name' size='20' value='Ââåäèòå íàçâàíèå ñòèëÿ' onfocus='this.value=""'></center></div>
|
||||
<div align='center'><input type='submit' value='Ñîçäàòü' class='realdarkbutton' /></div>
|
||||
</form>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
ipsmenu.register( "menumainone" );
|
||||
</script>
|
||||
EOF;
|
||||
if ( IN_DEV == 1 )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<br />
|
||||
<div align='center'>
|
||||
DEV: <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=exportmaster'>Export Master HTML</a>
|
||||
· <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=exportbitschoose'>Export Template Bits</a>
|
||||
· <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=exportmacro'>Export Master Macros</a>
|
||||
Ýêñïîðò äàííûõ: <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=exportmaster'>Âñå HTML øàáëîíû ãëàâíîãî ñòèëÿ</a>
|
||||
· <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=exportbitschoose'>Âûáðàòü HTML øàáëîíû</a>
|
||||
· <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=exportmacro'>Ìàêðîñû ãëàâíîãî ñòèëÿ</a>
|
||||
</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
$IPBHTML .= <<<EOF
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array(
|
||||
"<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=addset&id=-1' method='POST'><div align='center'><strong>Create New Skin Set</strong></div>",
|
||||
"<div align='center'><input type='text' name='set_name' size='20' value='Enter skin set name' onfocus='this.value=\"\"'></center></div>",
|
||||
"<div align='center'><input type='submit' value='Go' class='realdarkbutton' /></div></form>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
@@ -250,11 +258,11 @@ $IPBHTML = "";
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'>
|
||||
<!--$i_sets,$no_sets-->{$line_image}<!--ID:{$r['set_skin_set_id']}--><img src='{$this->ipsclass->skin_acp_url}/images/{$folder_icon}' border='0' alt='Skin' style='vertical-align:middle' />
|
||||
<!--$i_sets,$no_sets-->{$line_image}<!--ID:{$r['set_skin_set_id']}--><img src='{$this->ipsclass->skin_acp_url}/images/{$folder_icon}' border='0' alt='Ñòèëü' style='vertical-align:middle' />
|
||||
<strong style='{$css_extra}'>{$r['set_name']}</strong>
|
||||
</td>
|
||||
<td class='tablerow1' width='5%' nowrap='nowrap' align='center'>{$forums} {$hidden} {$default}</td>
|
||||
<td class='tablerow1' width='5%'><img id="menu{$r['set_skin_set_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
<td class='tablerow1' width='5%'><img id="menu{$r['set_skin_set_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
@@ -278,28 +286,28 @@ $IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
img_edit + " <!--ALTERED.wrappper--><a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=wrap&code=edit&id={$r['set_skin_set_id']}&p={$r['set_skin_set_parent']}'>Edit Board Header & Footer Wrapper</a>",
|
||||
img_edit + " <!--ALTERED.templates--><a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=templ&code=template-sections-list&id={$r['set_skin_set_id']}&p={$r['set_skin_set_parent']}'>Edit Template HTML</a>",
|
||||
img_edit + " <!--ALTERED.css--><a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=style&code=edit&id={$r['set_skin_set_id']}&p={$r['set_skin_set_parent']}'>Edit Stylesheet (CSS Advanced Mode)</a>",
|
||||
img_edit + " <!--ALTERED.css--><a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=style&code=colouredit&id={$r['set_skin_set_id']}&p={$r['set_skin_set_parent']}'>Edit Colours (CSS Easy Mode)</a>",
|
||||
img_edit + " <!--ALTERED.macro--><a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=image&code=edit&id={$r['set_skin_set_id']}&p={$r['set_skin_set_parent']}'>Edit Replacement Macros</a>",
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=edit&id={$r['set_skin_set_id']}'>Edit Settings...</a>",
|
||||
img_edit + " <!--ALTERED.wrappper--><a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=wrap&code=edit&id={$r['set_skin_set_id']}&p={$r['set_skin_set_parent']}'>Èçìåíèòü îáùèé øàáëîí ôîðóìà</a>",
|
||||
img_edit + " <!--ALTERED.templates--><a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=templ&code=template-sections-list&id={$r['set_skin_set_id']}&p={$r['set_skin_set_parent']}'>Èçìåíèòü HTML øàáëîíû</a>",
|
||||
img_edit + " <!--ALTERED.css--><a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=style&code=edit&id={$r['set_skin_set_id']}&p={$r['set_skin_set_parent']}'>Èçìåíèòü òàáëèöó ñòèëåé (CSS — ðàñøèðåííûé ðåæèì)</a>",
|
||||
img_edit + " <!--ALTERED.css--><a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=style&code=colouredit&id={$r['set_skin_set_id']}&p={$r['set_skin_set_parent']}'>Èçìåíèòü öâåòà (CSS — ïðîñòîé ðåæèì)</a>",
|
||||
img_edit + " <!--ALTERED.macro--><a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=image&code=edit&id={$r['set_skin_set_id']}&p={$r['set_skin_set_parent']}'>Èçìåíèòü ìàêðîñû</a>",
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=edit&id={$r['set_skin_set_id']}'>Íàñòðîéêè</a>",
|
||||
EOF;
|
||||
if ( $r['set_skin_set_id'] != 1 )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=revertallform&id={$r['set_skin_set_id']}'>Revert All Skin Customizations...</a>",
|
||||
img_export + " <a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=import&code=showexportpage&id={$r['set_skin_set_id']}'>Export Skin Set...</a>",
|
||||
img_view + " <a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=skindiff&code=skin_diff_from_skin&skin_id={$r['set_skin_set_id']}'>Generate Differences Report...</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=remove&id={$r['set_skin_set_id']}'>Remove Skin Set...</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=revertallform&id={$r['set_skin_set_id']}'>Óäàëèòü âñå âíåñåííûå èçìåíåíèÿ</a>",
|
||||
img_export + " <a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=import&code=showexportpage&id={$r['set_skin_set_id']}'>Ýêñïîðòèðîâàòü</a>",
|
||||
img_view + " <a href='{$this->ipsclass->base_url}§ion={$this->ipsclass->section_code}&act=skindiff&code=skin_diff_from_skin&skin_id={$r['set_skin_set_id']}'>Ñîçäàòü îò÷åò ñðàâíåíèÿ</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=remove&id={$r['set_skin_set_id']}'>Óäàëèòü</a>",
|
||||
EOF;
|
||||
}
|
||||
if ( $r['set_skin_set_id'] != 1 AND ! $r['set_skin_set_parent'] )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
img_add + " <a href='#' onclick=\"addnewpop('{$r['set_skin_set_id']}','menu_{$r['set_skin_set_id']}')\">Add New Child Skin Set...</a>",
|
||||
img_add + " <a href='#' onclick=\"addnewpop('{$r['set_skin_set_id']}','menu_{$r['set_skin_set_id']}')\">Äîáàâèòü ïîäñòèëü ñ íàñòðîéêàìè òåêóùåãî</a>",
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -321,14 +329,14 @@ $IPBHTML .= <<<EOF
|
||||
<div class='tableheaderalt'>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='95%' style='font-size:12px; vertical-align:middle;font-weight:bold; color:#FFF;'>Skin Differences Reports</td>
|
||||
<td align='left' width='95%' style='font-size:12px; vertical-align:middle;font-weight:bold; color:#FFF;'>Îò÷åò ñðàâíåíèÿ ñòèëåé</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='90%'><strong>Difference Title</strong></td>
|
||||
<td class='tablesubheader' width='5%'>Created</a>
|
||||
<td class='tablesubheader' width='90%'><strong>Íàçâàíèå</strong></td>
|
||||
<td class='tablesubheader' width='5%'>Ñîçäàíî</a>
|
||||
<td class='tablesubheader' width='5%'> </a>
|
||||
</tr>
|
||||
$content
|
||||
@@ -339,22 +347,22 @@ $IPBHTML .= <<<EOF
|
||||
<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=skin_diff' enctype='multipart/form-data' method='POST'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Create New Skin Difference Report</div>
|
||||
<div class='tableheaderalt'>Ñîçäàòü íîâûé îò÷åò ñðàâíåíèÿ ñòèëåé</div>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Enter a new skin difference title</strong><div class='desctext'>This title can be anything and will be used in the list above when the comparison is completed</div></td>
|
||||
<td class='tablerow1'><strong>Ââåäèòå íàçâàíèå</strong><div class='desctext'>Ýòî íàçâàíèå áóäåò èñïîëüçîâàíî â ñïèñêå âûøå, êîãäà ñðàâíåíèå áóäåò çàâåðøåíî</div></td>
|
||||
<td class='tablerow2'><input class='textinput' type='text' size='30' name='diff_session_title' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Skip all new/missing template bits?</strong><div class='desctext'>If you are comparing an old ipb_templates.xml file from an older IPB release, then you may wish to disable this. If you are comparing an XML file from a customized skin set, you should enable this.</div></td>
|
||||
<td class='tablerow1'><strong>Ïðîïóñêàòü âñå íîâûå/îøèáî÷íûå øàáëîíû?</strong><div class='desctext'>Åñëè âû ñðàâíèâàåòå ñòàðûé ipb_templates.xml èç áîëåå ñòàðîãî IPB, âû ìîæåòå îòêëþ÷èòü ýòîò ïóíêò. Åñëè âû ñðàâíèâàåòå ñ XML ôàéëîì èç èçìåíåííîãî ñòèëÿ, âû äîëæíû âêëþ÷èòü ýòîò ïóíêò.</div></td>
|
||||
<td class='tablerow2'><input class='textinput' type='checkbox' value='1' name='diff_session_ignore_missing' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Select a valid ipb_templates.xml file from your computer.</strong><div class='desctext'>This will be compared against your master HTML templates - so make sure they're up-to-date before running this tool</div></td>
|
||||
<td class='tablerow1'><strong>Âûáåðèòå êîððåêòíûé ôàéë «ipb_templates.xml».</strong><div class='desctext'>Áóäåò ïðîèçâåäåíî ñðàâíåíèå ñ HTML øàáëîíàìè ãëàâíîãî ñòèëÿ</div></td>
|
||||
<td class='tablerow2'><input class='textinput' type='file' size='30' name='FILE_UPLOAD' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><input type='submit' class='realbutton' value='Import' /></div>
|
||||
<div align='center' class='tablefooter'><input type='submit' class='realbutton' value='Èìïîðòèðîâàòü' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
@@ -375,15 +383,15 @@ $IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'> <strong>{$data['diff_session_title']}</strong></td>
|
||||
<td class='tablerow1' width='5%' nowrap='nowrap' align='center'>{$data['_date']}</td>
|
||||
<td class='tablerow1' width='5%'><img id="menu{$data['diff_session_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
<td class='tablerow1' width='5%'><img id="menu{$data['diff_session_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$data['diff_session_id']}",
|
||||
new Array(
|
||||
img_view + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=skin_diff_view&diff_session_id={$data['diff_session_id']}'>View Difference Results...</a>",
|
||||
img_delete + " <a href='#' onclick=\"checkdelete('{$this->ipsclass->form_code}&code=skin_diff_remove&diff_session_id={$data['diff_session_id']}')\">REMOVE Difference Results...</a>",
|
||||
img_export + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=skin_diff_export&diff_session_id={$data['diff_session_id']}'>Create HTML Export...</a>"
|
||||
img_view + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=skin_diff_view&diff_session_id={$data['diff_session_id']}'>Ïðîñìîòð ðåçóëüòàòîâ ñðàâíåíèÿ</a>",
|
||||
img_delete + " <a href='#' onclick=\"checkdelete('{$this->ipsclass->form_code}&code=skin_diff_remove&diff_session_id={$data['diff_session_id']}')\">Óäàëèòü ðåçóëüòàòû ñðàâíåíèÿ</a>",
|
||||
img_export + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=skin_diff_export&diff_session_id={$data['diff_session_id']}'>Ñîçäàòü HTML ýêñïîðò</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
@@ -407,7 +415,7 @@ $IPBHTML .= <<<EOF
|
||||
<div class='tableheaderalt'>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='95%' style='font-size:12px; vertical-align:middle;font-weight:bold; color:#FFF;'>Skin Differences</td>
|
||||
<td align='left' width='95%' style='font-size:12px; vertical-align:middle;font-weight:bold; color:#FFF;'>Ñðàâíåíèå ñòèëåé</td>
|
||||
<td align='right' width='5%' nowrap='nowrap'>
|
||||
|
||||
</td>
|
||||
@@ -416,14 +424,14 @@ $IPBHTML .= <<<EOF
|
||||
</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='90%'><strong>Template Bit Name</strong></td>
|
||||
<td class='tablesubheader' width='5%'>Difference</a>
|
||||
<td class='tablesubheader' width='5%'>Size</a>
|
||||
<td class='tablesubheader' width='90%'><strong>Íàçâàíèå øàáëîíà</strong></td>
|
||||
<td class='tablesubheader' width='5%'>Ðàçëè÷èÿ</a>
|
||||
<td class='tablesubheader' width='5%'>Ðàçìåð</a>
|
||||
<td class='tablesubheader' width='5%'> </a>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
<div align='right' class='tablefooter'>$missing new template bits and $changed changed template bits</div>
|
||||
<div align='right' class='tablefooter'>$missing íîâûõ øàáëîíîâ è $changed èçìåíåííûõ</div>
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
@@ -465,13 +473,13 @@ $IPBHTML .= <<<EOF
|
||||
</td>
|
||||
<td class='tablerow1' width='5%' nowrap='nowrap' align='center'>{$diff_is}</td>
|
||||
<td class='tablerow1' width='5%' nowrap='nowrap' align='center'>{$template_bit_size}</td>
|
||||
<td class='tablerow1' width='5%'><img id="menu{$template_bit_id_safe}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
<td class='tablerow1' width='5%'><img id="menu{$template_bit_id_safe}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$template_bit_id_safe}",
|
||||
new Array(
|
||||
img_view + " <a href='#' onclick=\"return template_view_diff('$template_bit_id')\">View Differences...</a>"
|
||||
img_view + " <a href='#' onclick=\"return template_view_diff('$template_bit_id')\">Ïðîñìîòð ðàçëè÷èé</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
@@ -480,6 +488,27 @@ EOF;
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// LOOK AND FEEL: TEMPLATES
|
||||
//===========================================================================
|
||||
function skin_css_view_bit( $diff ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div style='padding:4px;border:1px solid #000;background-color:#FFF;margin:4px;'>
|
||||
$diff
|
||||
</div>
|
||||
<div style='padding:4px;border:1px solid #000;background-color:#FFF;margin:4px;'>
|
||||
<span class='diffred'>Óäàëåí HTML êîä</span> · <span class='diffgreen'>Äîáàâëåí HTML êîä</span>
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// LOOK AND FEEL: TEMPLATES
|
||||
//===========================================================================
|
||||
@@ -496,7 +525,7 @@ $IPBHTML .= <<<EOF
|
||||
$content
|
||||
</div>
|
||||
<div style='padding:4px;border:1px solid #000;background-color:#FFF;margin:4px;'>
|
||||
<span class='diffred'>Removed HTML</span> · <span class='diffgreen'>Added HTML</span>
|
||||
<span class='diffred'>Óäàëåí HTML êîä</span> · <span class='diffgreen'>Äîáàâëåí HTML êîä</span>
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
@@ -537,6 +566,7 @@ $IPBHTML = "";
|
||||
$IPBHTML .= <<<EOF
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset={$this->ipsclass->vars['gb_char_set']}" />
|
||||
<title>$title export</title>
|
||||
<style type="text/css">
|
||||
BODY
|
||||
@@ -546,26 +576,26 @@ $IPBHTML .= <<<EOF
|
||||
color: #000;
|
||||
background-color: #CCC;
|
||||
}
|
||||
|
||||
|
||||
del,
|
||||
.diffred
|
||||
{
|
||||
background-color: #D7BBC8;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
|
||||
ins,
|
||||
.diffgreen
|
||||
{
|
||||
background-color: #BBD0C8;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
|
||||
h1
|
||||
{
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
|
||||
h2
|
||||
{
|
||||
font-size: 18px;
|
||||
@@ -574,14 +604,14 @@ $IPBHTML .= <<<EOF
|
||||
</head>
|
||||
<body>
|
||||
<div style='padding:4px;border:1px solid #000;background-color:#FFF;margin:4px;'>
|
||||
<h1>$title (Exported: $date)</h1>
|
||||
<strong>$missing new template bits $changed changed template bits</strong>
|
||||
<h1>$title (ýêñïîðòèðîâàíî: $date)</h1>
|
||||
<strong>$missing íîâûõ øàáëîíîâ è $changed èçìåíåííûõ</strong>
|
||||
</div>
|
||||
<br />
|
||||
$content
|
||||
<br />
|
||||
<div style='padding:4px;border:1px solid #000;background-color:#FFF;margin:4px;'>
|
||||
<span class='diffred'>Removed HTML</span> · <span class='diffgreen'>Added HTML</span>
|
||||
<span class='diffred'>Óäàëåí HTML êîä</span> · <span class='diffgreen'>Äîáàâëåí HTML êîä</span>
|
||||
</div>
|
||||
</body>
|
||||
<html>
|
||||
@@ -594,7 +624,7 @@ return $IPBHTML;
|
||||
|
||||
function emoticon_overview_wrapper_addform( )
|
||||
{
|
||||
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
@@ -604,7 +634,7 @@ function addfolder()
|
||||
{
|
||||
document.macroform.emoset.value = '';
|
||||
document.macroform.code.value = 'emo_setadd';
|
||||
document.macroform.submitbutton.value = 'Add Folder';
|
||||
document.macroform.submitbutton.value = 'Ñîçäàòü';
|
||||
scroll(0,0);
|
||||
togglediv( 'popbox', 1 );
|
||||
return false;
|
||||
@@ -612,7 +642,7 @@ function addfolder()
|
||||
|
||||
function editfolder(id)
|
||||
{
|
||||
document.macroform.submitbutton.value = 'Edit Folder Name';
|
||||
document.macroform.submitbutton.value = 'Èçìåíèòü íàçâàíèå';
|
||||
document.macroform.id.value = id;
|
||||
document.macroform.code.value = 'emo_setedit';
|
||||
document.macroform.emoset.value = id;
|
||||
@@ -632,9 +662,9 @@ function editfolder(id)
|
||||
<table cellspacing='0' width='500' align='center' cellpadding='6' style='background:#EEE;border:2px outset #555;'>
|
||||
<tr>
|
||||
<td width='1%' nowrap='nowrap' valign='top' align='center'>
|
||||
<b>Folder name (alphanumerics only)</b><br><input class='textinput' name='emoset' type='text' size='40' />
|
||||
<b>Èìÿ äèðåêòîðèè</b><br><input class='textinput' name='emoset' type='text' size='40' />
|
||||
<br /><br />
|
||||
<center><input type='submit' class='realbutton' value='Add Folder' name='submitbutton' /> <input type='button' class='realdarkbutton' value='Close' onclick="togglediv('popbox');" /></center>
|
||||
<center><input type='submit' class='realbutton' value='Ñîçäàòü' name='submitbutton' /> <input type='button' class='realdarkbutton' value='Çàêðûòü' onclick="togglediv('popbox');" /></center>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -650,7 +680,7 @@ return $IPBHTML;
|
||||
|
||||
function emoticon_overview_wrapper( $content )
|
||||
{
|
||||
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
@@ -661,25 +691,26 @@ $IPBHTML .= <<<EOF
|
||||
<input type='hidden' name='act' value='emoticons'>
|
||||
<input type='hidden' name='MAX_FILE_SIZE' value='10000000000'>
|
||||
<input type='hidden' name='dir_default' value='1'>
|
||||
<input type='hidden' name='section' value='lookandfeel'><div class='tableborder'>
|
||||
<input type='hidden' name='section' value='lookandfeel'>
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='95%' style='font-size:12px; vertical-align:middle;font-weight:bold; color:#FFF;'>Current Emoticon Folders</td>
|
||||
<td align='left' width='95%' style='font-size:12px; vertical-align:middle;font-weight:bold; color:#FFF;'>Òåêóùèå äèðåêòîðèè ñî ñìàéëèêàìè</td>
|
||||
<td align='right' width='5%' nowrap='nowrap'>
|
||||
<img id="menumainone" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' />
|
||||
<img id="menumainone" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<table width='100%' cellspacing='0' cellpadding='5' align='center' border='0'><tr>
|
||||
<td class='tablesubheader' width='50%' align='center'>Emoticon Folder</td>
|
||||
<td class='tablesubheader' width='50%' align='center'>Íàçâàíèå äèðåêòîðèè</td>
|
||||
|
||||
<td class='tablesubheader' width='5%' align='center'>Upload</td>
|
||||
<td class='tablesubheader' width='20%' align='center'># Disk Folder</td>
|
||||
<td class='tablesubheader' width='20%' align='center'># Emo. Group</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Options</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Çàãðóçêà</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>¹ äèðåêòîðèè</td>
|
||||
<td class='tablesubheader' width='20%' align='center'>¹ ãðóïïû ñìàéëèêîâ</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Îïöèè</td>
|
||||
</tr>
|
||||
|
||||
{$content}
|
||||
@@ -700,7 +731,7 @@ else
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Upload Emoticons</div>
|
||||
<div class='tableheaderalt'>Çàãðóçêà ñìàéëèêîâ</div>
|
||||
<table width='100%' border='0' cellpadding='4' cellspacing='0'>
|
||||
<tr>
|
||||
<td width='50%' class='tablerow1' align='center'><input type='file' value='' class='realbutton' name='upload_1' size='30' /></td>
|
||||
@@ -712,7 +743,7 @@ $IPBHTML .= <<<EOF
|
||||
<td width='50%' class='tablerow2' align='center'><input type='file' class='realbutton' name='upload_4' size='30' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='tablesubheader' align='center'><input type='submit' value='Upload emoticons into checked folders' class='realdarkbutton' /></form></div>
|
||||
<div class='tablesubheader' align='center'><input type='submit' value='Çàãðóçèòü ñìàéëèêè â âûáðàííûå äèðåêòîðèè' class='realdarkbutton' /></form></div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
@@ -722,8 +753,8 @@ $IPBHTML .= <<<EOF
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array(
|
||||
img_add + " <a href='#' onclick='addfolder(); return false;'>Create New Folder</a>"
|
||||
new Array(
|
||||
img_add + " <a href='#' onclick='addfolder(); return false;' style='color:#000;'><strong>Ñîçäàòü íîâóþ äèðåêòîðèþ</strong></a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
@@ -734,49 +765,49 @@ return $IPBHTML;
|
||||
|
||||
function emoticon_overview_row( $data=array() )
|
||||
{
|
||||
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
|
||||
|
||||
<td class='tablerow2' valign='middle'>
|
||||
<div style='width:auto;float:right;'><img src='{$this->ipsclass->skin_acp_url}/images/{$data['icon']}' title='{$data['title']}' alt='{$data['icon']}' /></div>
|
||||
{$data['line_image']}<img src='{$this->ipsclass->skin_acp_url}/images/emoticon_folder.gif' border='0'> <a href='{$this->ipsclass->base_url}§ion=lookandfeel&act=emoticons&code=emo_manage&id={$data['dir']}' title='Manage this emoticon set'><b>{$data['dir']}</b></a>
|
||||
{$data['line_image']}<img src='{$this->ipsclass->skin_acp_url}/images/emoticon_folder.gif' border='0'> <a href='{$this->ipsclass->base_url}§ion=lookandfeel&act=emoticons&code=emo_manage&id={$data['dir']}' title='Óïðàâëåíèå ñìàéëèêàìè, êîòîðûå íàõîäÿòñÿ â ýòîé äèðåêòîðèè'><b>{$data['dir']}</b></a>
|
||||
</td>
|
||||
|
||||
<td class='tablerow1' valign='middle'><center>{$data['checkbox']}</center></td>
|
||||
<td class='tablerow2' valign='middle'><center>{$data['count']}</center></td>
|
||||
<td class='tablerow1' valign='middle'><center>{$data['dir_count']}</center></td>
|
||||
<td class='tablerow2' valign='middle'><center><img id="menu{$data['dir']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
<td class='tablerow2' valign='middle'><center><img id="menu{$data['dir']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$data['dir']}",
|
||||
new Array(
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=emo_manage&id={$data['dir']}'>{$data['link_text']}...</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=emo_manage&id={$data['dir']}'>Ìåíåäæåð ñìàéëèêîâ</a>",
|
||||
EOF;
|
||||
|
||||
if( $data['dir'] != 'default' OR IN_DEV == 1 )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
img_edit + " <a href='#' onclick=\"editfolder('{$data['dir']}')\">Edit Folder Name...</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=emo_setremove&id={$data['dir']}'>Delete Folder...</a>"
|
||||
img_edit + " <a href='#' onclick=\"editfolder('{$data['dir']}')\">Ïåðåèìåíîâàòü</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=emo_setremove&id={$data['dir']}'>Óäàëèòü</a>"
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
img_delete + " <i>The default emoticon set cannot be deleted</i>"
|
||||
img_delete + " <i>Ýòó äèðåêòîðèþ íåëüçÿ óäàëèòü</i>"
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
) );
|
||||
</script>
|
||||
|
||||
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
@@ -785,4 +816,4 @@ return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
@@ -1,318 +1,318 @@
|
||||
<?php
|
||||
|
||||
class cp_skin_management {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// Menu manage:Blank Pos
|
||||
//===========================================================================
|
||||
function calendar_position_blank($cal_id) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/blank.gif' width='12' height='12' border='0' style='vertical-align:middle' />
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Menu manage:Blank Pos
|
||||
//===========================================================================
|
||||
function calendar_position_up($cal_id) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_move&move=up&cal_id={$cal_id}' title='Move up in position'><img src='{$this->ipsclass->skin_acp_url}/images/arrow_up.png' width='12' height='12' border='0' style='vertical-align:middle' /></a>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Menu manage:Blank Down
|
||||
//===========================================================================
|
||||
function calendar_position_down($cal_id) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_move&move=down&cal_id={$cal_id}' title='Move down in position'><img src='{$this->ipsclass->skin_acp_url}/images/arrow_down.png' width='12' height='12' border='0' style='vertical-align:middle' /></a>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Component FORM
|
||||
//===========================================================================
|
||||
function calendar_form($form, $title, $formcode, $button, $calendar) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<script type='text/javascript'>
|
||||
//<![CDATA[
|
||||
|
||||
function perm_check( obj )
|
||||
{
|
||||
var real_obj = document.getElementById( obj );
|
||||
var total_options = real_obj.options.length;
|
||||
var total_checked = 0;
|
||||
|
||||
for( var i = 0 ; i < real_obj.options.length ; i++ )
|
||||
{
|
||||
if ( real_obj.options[i].selected )
|
||||
{
|
||||
total_checked++;
|
||||
}
|
||||
}
|
||||
|
||||
if ( total_checked == total_options )
|
||||
{
|
||||
document.getElementById( obj+'_all' ).checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById( obj+'_all' ).checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
function perm_check_all( obj )
|
||||
{
|
||||
var real_obj = document.getElementById( obj );
|
||||
var isselected = document.getElementById( obj+'_all').checked ? true : false;
|
||||
|
||||
for( var i = 0 ; i < real_obj.options.length ; i++ )
|
||||
{
|
||||
real_obj.options[i].selected = isselected;
|
||||
}
|
||||
|
||||
document.getElementById( obj+'_all').checked = isselected;
|
||||
}
|
||||
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=$formcode&cal_id={$calendar['cal_id']}' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>$title</div>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Calendar: Title</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Calendar: Enable Moderation</strong><div class='desctext'>If enabled, all groups which are not included in the 'Avoid Moderation Queue' will have their events entered into the moderation queue for approval.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_moderate']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Calendar: Event Limit</strong><div class='desctext'>This is the number of events listed per day before they are replaced by a single link to the day's events</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_event_limit']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Calendar: Birthday Limit</strong><div class='desctext'>This is the number of birthdays listed per day before they are replaced by a single link<br />Enter 0 to not show birthdays at all</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_bday_limit']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' class='tablerow1'>
|
||||
<fieldset>
|
||||
<legend><strong>RSS Options</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS: Enable</strong><div class='desctext'>If enabled, all <em>n</em> forthcoming events (based on GMT time) that have guest read permission will be exported</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_rss_export']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS: Forthcoming Days</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_rss_export_days']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS: Export Maximum Events</strong><div class='desctext'>The maximum number of events exported</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_rss_export_max']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS: Update Frequency</strong><div class='desctext'>The number of minutes between RSS cache rebuilding</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_rss_update']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' class='tablerow1'>
|
||||
<fieldset>
|
||||
<legend><strong>Calendar Permissions</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' valign='top'><strong>Permission: Read Events</strong><div class='desctext'>Simply select which permission masks you wish to allow read permissions for this calendar.<br />Remember to select 'Guest' access if you wish to export this calendar as an RSS feed.</div></td>
|
||||
<td width='60%' class='tablerow2'>
|
||||
<input type='checkbox' name='perm_read_all' id='perm_read_all' value='1' onclick='perm_check_all("perm_read")' {$form['perm_read_all']} /> Select All Current and Future Masks
|
||||
<br /><select onchange='perm_check("perm_read")' id='perm_read' name='perm_read[]' size='6' multiple='true'>{$form['perm_read']}</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' valign='top'><strong>Permission: Start Events</strong><div class='desctext'>Simply select which permission masks you wish to be able to start events for this calendar</div></td>
|
||||
<td width='60%' class='tablerow2'>
|
||||
<input type='checkbox' name='perm_post_all' id='perm_post_all' value='1' onclick='perm_check_all("perm_post")' {$form['perm_post_all']} /> Select All Current and Future Masks
|
||||
<br /><select onchange='perm_check("perm_post")' id='perm_post' name='perm_post[]' size='6' multiple='true'>{$form['perm_post']}</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' valign='top'><strong>Permission: Avoid Moderation Queue</strong><div class='desctext'>Simply select which permission masks you wish to be able to bypass moderation for this calendar</div></td>
|
||||
<td width='60%' class='tablerow2'>
|
||||
<input type='checkbox' name='perm_nomod_all' id='perm_nomod_all' value='1' onclick='perm_check_all("perm_nomod")' {$form['perm_nomod_all']} /> Select All Current and Future Masks
|
||||
<br /><select onchange='perm_check("perm_nomod")' id='perm_nomod' name='perm_nomod[]' size='6' multiple='true'>{$form['perm_nomod']}</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><input type='submit' class='realbutton' value='$button' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// COMPONENTS: Overview
|
||||
//===========================================================================
|
||||
function calendar_overview( $content ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Calendars</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='90%'>Name</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Position</td>
|
||||
<td class='tablesubheader' width='5%'><img id="menumainone" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
<div align='center' class='tablefooter'> </div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array( img_add + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_add'>Add New Calendar...</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_rebuildcache'>Recache Calendar Events...</a>" ) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// COMPONENTS: row
|
||||
//===========================================================================
|
||||
function calendar_row( $data ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>{$data['cal_title']}</strong></td>
|
||||
<td class='tablerow2' align='center' nowrap='nowrap'>{$data['_pos_up']} {$data['_pos_down']}</td>
|
||||
<td class='tablerow1'><img id="menu{$data['cal_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$data['cal_id']}",
|
||||
new Array(
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_edit&cal_id={$data['cal_id']}'>Edit Calendar...</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_rss_cache&cal_id={$data['cal_id']}'>Rebuild Calendar's RSS Export...</a>",
|
||||
img_delete + " <a href='#' onclick='confirm_action(\"{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_delete&cal_id={$data['cal_id']}\"); return false;'>Delete Calendar...</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// calendar_rss_recurring
|
||||
//===========================================================================
|
||||
function calendar_rss_recurring( $event ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<p>{$event['event_content']}</p>
|
||||
<br />
|
||||
<p>Recurring Event
|
||||
<br />From: {$event['_from_month']}/{$event['_from_day']}/{$event['_from_year']}
|
||||
<br />To: {$event['_to_month']}/{$event['_to_day']}/{$event['_to_year']}</p>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// calendar_rss_recurring
|
||||
//===========================================================================
|
||||
function calendar_rss_range( $event ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<p>{$event['event_content']}</p>
|
||||
<br />
|
||||
<p>Ranged Event
|
||||
<br />From: {$event['_from_month']}/{$event['_from_day']}/{$event['_from_year']}
|
||||
<br />To: {$event['_to_month']}/{$event['_to_day']}/{$event['_to_year']}</p>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// calendar_rss_recurring
|
||||
//===========================================================================
|
||||
function calendar_rss_single( $event ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<p>{$event['event_content']}</p>
|
||||
<br />
|
||||
<p>Single Day Event On: {$event['_from_month']}/{$event['_from_day']}/{$event['_from_year']}</p>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
<?php
|
||||
|
||||
class cp_skin_management {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// Menu manage:Blank Pos
|
||||
//===========================================================================
|
||||
function calendar_position_blank($cal_id) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/blank.gif' width='12' height='12' border='0' style='vertical-align:middle' />
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Menu manage:Blank Pos
|
||||
//===========================================================================
|
||||
function calendar_position_up($cal_id) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_move&move=up&cal_id={$cal_id}' title='Ïîäíÿòü'><img src='{$this->ipsclass->skin_acp_url}/images/arrow_up.png' width='12' height='12' border='0' style='vertical-align:middle' /></a>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Menu manage:Blank Down
|
||||
//===========================================================================
|
||||
function calendar_position_down($cal_id) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_move&move=down&cal_id={$cal_id}' title='Îïóñòèòü'><img src='{$this->ipsclass->skin_acp_url}/images/arrow_down.png' width='12' height='12' border='0' style='vertical-align:middle' /></a>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Component FORM
|
||||
//===========================================================================
|
||||
function calendar_form($form, $title, $formcode, $button, $calendar) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<script type='text/javascript'>
|
||||
//<![CDATA[
|
||||
|
||||
function perm_check( obj )
|
||||
{
|
||||
var real_obj = document.getElementById( obj );
|
||||
var total_options = real_obj.options.length;
|
||||
var total_checked = 0;
|
||||
|
||||
for( var i = 0 ; i < real_obj.options.length ; i++ )
|
||||
{
|
||||
if ( real_obj.options[i].selected )
|
||||
{
|
||||
total_checked++;
|
||||
}
|
||||
}
|
||||
|
||||
if ( total_checked == total_options )
|
||||
{
|
||||
document.getElementById( obj+'_all' ).checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById( obj+'_all' ).checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
function perm_check_all( obj )
|
||||
{
|
||||
var real_obj = document.getElementById( obj );
|
||||
var isselected = document.getElementById( obj+'_all').checked ? true : false;
|
||||
|
||||
for( var i = 0 ; i < real_obj.options.length ; i++ )
|
||||
{
|
||||
real_obj.options[i].selected = isselected;
|
||||
}
|
||||
|
||||
document.getElementById( obj+'_all').checked = isselected;
|
||||
}
|
||||
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=$formcode&cal_id={$calendar['cal_id']}' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>$title</div>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Íàçâàíèå êàëåíäàðÿ</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Âêëþ÷èòü ìîäåðàöèþ</strong><div class='desctext'>Åñëè âêëþ÷åíî, ñîáûòèÿ îò âñåõ ãðóïï ïîëüçîâàòåëåé áóäóò ïîïàäàòü íà ïðîâåðêó ìîäåðàòîðàìè ïåðåä ïóáëèêàöèåé.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_moderate']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Ëèìèò ñîáûòèé</strong><div class='desctext'>×èñëî ïîêàçûâàåìûõ ñîáûòèé çà äåíü, åñëè ñîáûòèé áóäåò áîëüøå, òî áóäåò îòîáðàæàòüñÿ ññûëêà íà âñå ñîáûòèÿ äíÿ</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_event_limit']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Ëèìèò èìåíèííèêîâ</strong><div class='desctext'>×èñëî ïîêàçûâàåìûõ èìåíèííèêîâ çà äåíü, åñëè èõ áóäåò áîëüøå, òî áóäåò îòîáðàæàòüñÿ ññûëêà íà âñåõ èìåíèííèêîâ<br />Ââåäèòå 0, ÷òîáû íå ïîêàçûâàòü èìåíèííèêîâ âîîáùå</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_bday_limit']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' class='tablerow1'>
|
||||
<fieldset>
|
||||
<legend><strong>RSS Îïöèè</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Âêëþ÷èòü</strong><div class='desctext'>Åñëè âêëþ÷åíî, òî âñå <em>n</em> áóäóùèõ ñîáûòèé (GMT âðåìÿ), êîòîðûå èìåþò ìàñêó äîñòóïà äëÿ ÷òåíèÿ ãîñòÿìè áóäóò ýêñïîðòèðîâàíû â RSS</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_rss_export']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Áóäóùèå ñîáûòèÿ</strong><div class='desctext'>Çà ñêîëüêî äíåé äî ñîáûòèÿ âûâîäèòü åãî?</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_rss_export_days']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Êîëè÷åñòâî ñîáûòèé</strong><div class='desctext'>Ìàêñèìàëüíîå êîëè÷åñòâî ýêñïîðòèðóåìûõ ñîáûòèé</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_rss_export_max']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>×àñòîòà îáíîâëåíèÿ</strong><div class='desctext'>Êîëè÷åñòâî ìèíóò ìåæäó îáíîâëåíèåì êåøà RSS</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['cal_rss_update']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' class='tablerow1'>
|
||||
<fieldset>
|
||||
<legend><strong>Äîñòóï ê êàëåíäàðÿì</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' valign='top'><strong>×òåíèå ñîáûòèé</strong><div class='desctext'>Âûáåðèòå ãðóïïû, êîòîðûì áóäåò ðàçðåøåíî ÷èòàòü ýòîò êàëåíäàðü.<br />Íå çàáóäüòå âûáðàòü ìàñêó ãîñòåé, åñëè âû õîòèòå ýêñïîðòèðîâàòü êàëåíäàðü â RSS.</div></td>
|
||||
<td width='60%' class='tablerow2'>
|
||||
<input type='checkbox' name='perm_read_all' id='perm_read_all' value='1' onclick='perm_check_all("perm_read")' {$form['perm_read_all']} /> Âûáðàòüâ ñå òåêóùèå è áóäóùèå ìàñêè
|
||||
<br /><select onchange='perm_check("perm_read")' id='perm_read' name='perm_read[]' size='6' multiple='true'>{$form['perm_read']}</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' valign='top'><strong>Ñîçäàíèå ñîáûòèé</strong><div class='desctext'>Âûáåðèòå ãðóïïû, êîòîðûì áóäåò ðàçðåøåíî ñîçäàâàòü ñîáûòèÿ â ýòîò êàëåíäàðü</div></td>
|
||||
<td width='60%' class='tablerow2'>
|
||||
<input type='checkbox' name='perm_post_all' id='perm_post_all' value='1' onclick='perm_check_all("perm_post")' {$form['perm_post_all']} /> Âûáðàòü âñå òåêóùèå è áóäóùèå ìàñêè
|
||||
<br /><select onchange='perm_check("perm_post")' id='perm_post' name='perm_post[]' size='6' multiple='true'>{$form['perm_post']}</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' valign='top'><strong>Ïóáëèêàöèÿ áåç ïðîâåðêè</strong><div class='desctext'>Âûáåðèòå ãðóïïû, ñîçäàâàåìûå ñîáûòèÿ êîòîðûõ áóäóò ïóáëèêîâàòüñÿ â ýòîò êàëåíäàðü áåç ïðîâåðêè ìîäåðàòîðîì</div></td>
|
||||
<td width='60%' class='tablerow2'>
|
||||
<input type='checkbox' name='perm_nomod_all' id='perm_nomod_all' value='1' onclick='perm_check_all("perm_nomod")' {$form['perm_nomod_all']} /> Âûáðàòü âñå òåêóùèå è áóäóùèå ìàñêè
|
||||
<br /><select onchange='perm_check("perm_nomod")' id='perm_nomod' name='perm_nomod[]' size='6' multiple='true'>{$form['perm_nomod']}</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><input type='submit' class='realbutton' value='$button' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// COMPONENTS: Overview
|
||||
//===========================================================================
|
||||
function calendar_overview( $content ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Êàëåíäàðè</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='90%'>Íàçâàíèå</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Ïîçèöèÿ</td>
|
||||
<td class='tablesubheader' width='5%'><img id="menumainone" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
<div align='center' class='tablefooter'> </div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array( img_add + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_add'>Äîáàâèòü íîâûé êàëåíäàðü</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_rebuildcache'>Îáíîâëåíèå êåøà êàëåíäàðíûõ ñîáûòèé</a>" ) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// COMPONENTS: row
|
||||
//===========================================================================
|
||||
function calendar_row( $data ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>{$data['cal_title']}</strong></td>
|
||||
<td class='tablerow2' align='center' nowrap='nowrap'>{$data['_pos_up']} {$data['_pos_down']}</td>
|
||||
<td class='tablerow1'><img id="menu{$data['cal_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$data['cal_id']}",
|
||||
new Array(
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_edit&cal_id={$data['cal_id']}'>Èçìåíèòü</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_rss_cache&cal_id={$data['cal_id']}'>Îáíîâëåíèå RSS êåøà</a>",
|
||||
img_delete + " <a href='#' onclick='confirm_action(\"{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=calendar_delete&cal_id={$data['cal_id']}\"); return false;'>Óäàëèòü</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// calendar_rss_recurring
|
||||
//===========================================================================
|
||||
function calendar_rss_recurring( $event ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<p>{$event['event_content']}</p>
|
||||
<br />
|
||||
<p>Ïîâòîðÿþùååñÿ ñîáûòèå
|
||||
<br />Îò: {$event['_from_month']}/{$event['_from_day']}/{$event['_from_year']}
|
||||
<br />Äî: {$event['_to_month']}/{$event['_to_day']}/{$event['_to_year']}</p>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// calendar_rss_recurring
|
||||
//===========================================================================
|
||||
function calendar_rss_range( $event ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<p>{$event['event_content']}</p>
|
||||
<br />
|
||||
<p>Ìíîãîäíåâíîå ñîáûòèå
|
||||
<br />Îò: {$event['_from_month']}/{$event['_from_day']}/{$event['_from_year']}
|
||||
<br />Äî: {$event['_to_month']}/{$event['_to_day']}/{$event['_to_year']}</p>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// calendar_rss_recurring
|
||||
//===========================================================================
|
||||
function calendar_rss_single( $event ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<p>{$event['event_content']}</p>
|
||||
<br />
|
||||
<p>Îäíîäíåâíîå ñîáûòèå ñ äàòîé: {$event['_from_month']}/{$event['_from_day']}/{$event['_from_year']}</p>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -8,29 +8,57 @@ var $ipsclass;
|
||||
//===========================================================================
|
||||
// RSS
|
||||
//===========================================================================
|
||||
function rss_export_overview($content) {
|
||||
function rss_export_overview($content, $page_links) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>RSS Export Streams</div>
|
||||
<div class='tableheaderalt'>Ïîòîêè RSS ýêñïîðòèðîâàíèÿ</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='90%'>RSS Title</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Enabled</td>
|
||||
<td class='tablesubheader' width='5%'><img id="menumainone" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
<td class='tablesubheader' width='90%'>Íàçâàíèå ïîòîêà</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Ñòàòóñ</td>
|
||||
<td class='tablesubheader' width='5%'><img id="menumainone" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
$content
|
||||
EOF;
|
||||
|
||||
if( $page_links != "" )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablesubheader' colspan='3' align='right'>
|
||||
{$page_links}
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
{$content}
|
||||
EOF;
|
||||
|
||||
if( $page_links != "" )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablesubheader' colspan='3' align='right'>
|
||||
{$page_links}
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
</table>
|
||||
<div align='center' class='tablefooter'> </div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array( img_add + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssexport_add'>Create New RSS Export Stream...</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssexport_recache&rss_export_id=all'>Update All RSS Export Caches...</a>"
|
||||
new Array( img_add + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssexport_add'>Ñîçäàòü íîâûé ïîòîê</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssexport_recache&rss_export_id=all'>Îáíîâèòü âñå êåøè RSS ýêñïîðòèðîâàíèÿ</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
@@ -54,15 +82,15 @@ $IPBHTML .= <<<EOF
|
||||
<strong>{$data['rss_export_title']}</strong>
|
||||
</td>
|
||||
<td class='tablerow2' align='center'><img src='{$this->ipsclass->skin_acp_url}/images/{$data['_enabled_img']}' border='0' alt='YN' class='ipd' /></td>
|
||||
<td class='tablerow1'><img id="menu{$data['rss_export_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
<td class='tablerow1'><img id="menu{$data['rss_export_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$data['rss_export_id']}",
|
||||
new Array(
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssexport_edit&rss_export_id={$data['rss_export_id']}'>Edit RSS Export Stream...</a>",
|
||||
img_delete + " <a href='#' onclick='maincheckdelete(\"{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssexport_delete&rss_export_id={$data['rss_export_id']}\");'>Delete RSS Export Stream...</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssexport_recache&rss_export_id={$data['rss_export_id']}'>Recache RSS Export Stream...</a>"
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssexport_edit&rss_export_id={$data['rss_export_id']}'>Èçìåíèòü</a>",
|
||||
img_delete + " <a href='#' onclick='maincheckdelete(\"{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssexport_delete&rss_export_id={$data['rss_export_id']}\");'>Óäàëèòü</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssexport_recache&rss_export_id={$data['rss_export_id']}'>Îáíîâèòü êåø</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
@@ -86,44 +114,44 @@ $IPBHTML .= <<<EOF
|
||||
<div class='tableheaderalt'>$title</div>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Export Stream (Channel) Title</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Íàçâàíèå</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_export_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Export Stream (Channel) Description</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Îïèñàíèå</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_export_desc']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Export Stream Image</strong><div class='desctext'>Used to show an image in RSS readers</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_export_image']} <span class='desctext'>* Optional</span></td>
|
||||
<td width='40%' class='tablerow1'><strong>Èçîáðàæåíèå ïîòîêà</strong><div class='desctext'>Äëÿ îòîáðàæåíèÿ èçîáðàæåíèÿ â ïðîãðàììàõ äëÿ ÷òåíèÿ RSS</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_export_image']} <span class='desctext'>* Îïöèîíàëüíî</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Export Enabled</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Âêëþ÷åí?</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_export_enabled']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Export Includes First Post of Topic</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong> RSS Ýêñïîðò âêëþ÷àòü ïåðâîå ñîîáùåíèå òåìû?</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_export_include_post']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Export No. Items</strong><div class='desctext'>Exports <em>n</em> number of topics</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Êîëè÷åñòâî òåì RSS Ýêñïîðòà</strong><div class='desctext'>Êîëè÷åñòâî ýêñïîðòèðóåìûõ òåì</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_export_count']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Export Order By Field</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ñîðòèðîâàòü RSS Ýêñïîðò</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_export_order']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Export Sort By</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ñîðòèðîâàòü RSS Ýêñïîðò</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_export_sort']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Export Topics From Forum(s)</strong><div class='desctext'>IMPORTANT: No permission checks are done. Topics will be exported from chosen forums regardless of the viewer's permissions.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ýêñïîðòèðîâàòü òåìû èç ôîðóìîâ</strong><div class='desctext'>ÂÀÆÍÎ: Ìàñêè äîñòóïà íå ðàáîòàþò çäåñü. Òåìû áóäóò ýêñïîðòèðîâàíû èç âûáðàííûõ ôîðóì, íåçàâèñèìî îò ìàñîê äîñòóïà ê ôîðóìàì.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_export_forums']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Export Cache Frequency</strong><div class='desctext'>Updates the RSS cache every <em>n</em> minutes</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_export_cache_time']} <span class='desctext'>minutes</span></td>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Ýêñïîðò: ×àñòîòà îáíîâëåíèÿ êåøà</strong><div class='desctext'>Îáíîâëÿòü RSS êåø êàæäûå <em>n</em> ìèíóò</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_export_cache_time']} <span class='desctext'>ìèíóò</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><input type='submit' class='realbutton' value='$button' /></div>
|
||||
@@ -147,17 +175,17 @@ $IPBHTML .= <<<EOF
|
||||
<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_remove_complete&rss_import_id={$rssstream['rss_import_id']}' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Remove Posted Topics From Stream: {$rssstream['rss_import_title']}</div>
|
||||
<div class='tableheaderalt'>Óäàëèòü òåìû èç ïîòîêà: {$rssstream['rss_import_title']}</div>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='2' class='tablerow1'>You may remove topics that have been posted from an RSS import stream. This stream has created <strong>{$article_count}</strong> topic(s).</td>
|
||||
<td colspan='2' class='tablerow1'>Âû ìîæåòå óäàëèòü òåìû, êîòîðûå áûëè îïóáëèêîâàíû, èç ïîòîêà RSS Èìïîðòà. Ýòîò ïîòîê áûë ñîçäàí ñ <strong>{$article_count}</strong> òåìàìè.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Remove the last <em>n</em> imported topics</strong><div class='desctext'>Leave blank to remove them all</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Óäàëèòü ïîñëåäíèå <em>n</em> èìïîðòèðîâàííûõ òåì</strong><div class='desctext'>Îñòàâüòå ïîëå ïóñòûì äëÿ óäàëåíèÿ âñåõ</div></td>
|
||||
<td width='60%' class='tablerow2'><input type='text' name='remove_count' value='10' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><input type='submit' class='realbutton' value='Remove (No more confirmation screens)' /></div>
|
||||
<div align='center' class='tablefooter'><input type='submit' class='realbutton' value='Óäàëèòü' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
@@ -198,8 +226,8 @@ function do_validate()
|
||||
formobj.value = "1";
|
||||
document.getElementById('rssimport_form').submit();
|
||||
}
|
||||
|
||||
// -->
|
||||
|
||||
-->
|
||||
</script>
|
||||
<form id='rssimport_form' action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=$formcode&rss_import_id={$rssstream['rss_import_id']}' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
@@ -210,22 +238,22 @@ function do_validate()
|
||||
<tr>
|
||||
<td class='tablerow1'>
|
||||
<fieldset>
|
||||
<legend><strong>RSS Import Basics</strong></legend>
|
||||
<legend><strong>RSS Èìïîðò</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Stream Title</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Íàçâàíèå</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Stream URL</strong><div class='desctext'>This must be an RDF or RSS feed</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ññûëêà íà ïîòîê</strong><div class='desctext'>Ýòî äîëæíî áûòü RDF èëè RSS ïîòîê.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_url']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Stream Character Set</strong><div class='desctext'>Examples: ISO-8859-1, UTF-8. Use UTF-8 if in doubt.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Êîäèðîâêà ïîòîêà</strong><div class='desctext'>Ïðèìåð: ISO-8859-1, UTF-8. Èñïîëüçóéòå «UTF-8», åñëè ñîìíåâàåòåñü.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_charset']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Enabled</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Âêëþ÷èòü èìïîðò?</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_enabled']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -235,21 +263,21 @@ function do_validate()
|
||||
<tr>
|
||||
<td class='tablerow1'>
|
||||
<fieldset>
|
||||
<legend><strong>RSS Import htaccess Authentication</strong></legend>
|
||||
<legend><strong>.htaccess àóòåíòèôèêàöèÿ RSS Èìïîðòà</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Does this stream require .htaccess Authentication?</strong><div class='desctext'>Most streams do not require authentication</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ýòîò ïîòîê òðåáóåò .htaccess àóòåíòèôèêàöèþ?</strong><div class='desctext'>Áîëüøèíñòâî ïîòîêîâ íå òðåáóåò ýòî</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_auth']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' width='100%' id='rss_import_auth_userinfo' {$form['rss_div_show']}>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Stream Username</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Èìÿ ïîëüçîâàòåëÿ</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_auth_user']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Stream Password</strong></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ïàðîëü</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_auth_pass']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -263,38 +291,38 @@ function do_validate()
|
||||
<td class='tablerow1'>
|
||||
<div id='ipb-get-members' style='border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:170px;display:none;z-index:100'></div>
|
||||
<fieldset>
|
||||
<legend><strong>RSS Import Content</strong></legend>
|
||||
<legend><strong>Êîíòåíò RSS Èìïîðòà</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Into Forum</strong><div class='desctext'>Choose a forum to import each RSS item as a new topic</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Èìïîðòèðîâàòü â ôîðóìû</strong><div class='desctext'>Âûáåðèòå ôîðóì, â êîòîðûé èìïîðòèðîâàòü êàæäóþ RSS çàïèñü, êàê íîâóþ òåìó.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_forum_id']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Preserve HTML</strong><div class='desctext'>If yes, raw HTML is preserved along with any 'badwords' - you MUST have HTML enabled when editing imported posts or HTML will be removed upon edit. If no, HTML is converted to BBCode where possible.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ñîõðàíèòü HTML?</strong><div class='desctext'>Åñëè äà, HTML áóäåò ñîõðàíåí — âû îáÿçàíû âêëþ÷èòü HTML íà ôîðóìå, ÷òîáû áûëà âîçìîæíîñòü ðåäàêòèðîâàòü èìïîðòèðóåìûå çàïèñè. Åñëè íåò, HTML áóäåò êîíâåðòèðîâàòüñÿ ïî âîçìîæíîñòè â BB-êîä.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_allow_html']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Poster's Name</strong><div class='desctext'>This will post the RSS topic under this person's account (member display name)</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Àâòîð çàïèñåé</strong><div class='desctext'>Îò ýòîãî èìåíè áóäåò ïóáëèêîâàòüñÿ òåìà ñ RSS çàïèñüþ (îòîáðàæàeìîå èìÿ)</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_mid']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Increment Poster's Post Count</strong><div class='desctext'>This will increment this poster's post count in forums where post counts are enabled</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Óâåëè÷èâàòü ñ÷åò÷èê ñîîáùåíèé ïðè RSS Èìïîðòå</strong><div class='desctext'>Ïðè ïóáëèêàöèè íîâîé òåìû îò ïîëüçîâàòåëÿ èç RSS Èìïîðòà, ó íåãî áóäåò óâåëè÷åí ñ÷åò÷èê ñîîáùåíèé â ôîðóìàõ, ãäå ýòîò ñ÷åò÷èê âêëþ÷åí.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_inc_pcount']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Add Link To Post</strong><div class='desctext'>BBCode allowed: {url} = URL to article<br />If completed, this will add a link to the article source (if available) to the post body</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_showlink']} <div class='desctext'>*Leave blank to not include a link in the post</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Äîáàâëÿòü ññûëêó èñòî÷íèêà</strong><div class='desctext'>BB-êîä ðàçðåøåí: {url} = URL ê çàïèñè<br />Åñëè ýòî ïîëå çàïîëíåíî, òî ê ñîîáùåíèþ áóäåò äîáàâëåíà ññûëêà íà èñòî÷íèê, îòêóäà âçÿòà RSS çàïèñü</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_showlink']} <div class='desctext'>*Îñòàâüòå ïîëå ïóñòûì, ÷òîáû íå âêëþ÷àòü ññûëêó â ñîîáùåíèå</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Topic Open</strong><div class='desctext'>If 'yes' the topic will be posted as open. 'No', topic will be closed</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Îòêðûòîñòü òåì</strong><div class='desctext'>Åñëè «Äà», òî òåìà áóäåò ñîçäàíà îòêðûòàÿ. «Íåò» — òåìà áóäåò çàêðûòà</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_topic_open']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Topic Hidden</strong><div class='desctext'>If 'yes' the topic will be posted as invisible. 'No', topic will be visible</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Íåâèäèìîñòü òåì</strong><div class='desctext'>Åñëè «Äà», òî áóäåò ñîçäàíà íåâèäèìàÿ òåìà. «Íåò» — òåìà âèäèìàÿ</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_topic_hide']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Topic Prefix</strong><div class='desctext'>This prefix will be added to the beginning of the RSS item's title</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Ïðåôèêñ òåì</strong><div class='desctext'>Ïðåôèêñ, êîòîðûé áóäåò äîáàâëåí ïåðåä çàãîëîâêîì RSS çàïèñè</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_topic_pre']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -304,14 +332,14 @@ function do_validate()
|
||||
<tr>
|
||||
<td class='tablerow1'>
|
||||
<fieldset>
|
||||
<legend><strong>RSS Import Settings</strong></legend>
|
||||
<legend><strong>Íàñòðîéêè RSS èìïîðòà</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Per Go</strong><div class='desctext'>Imports <em>n</em> articles per update. Importing is moderately resource intensive.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>Êîëè÷åñòâî èìïîðòèðóåìûõ çàïèñåé çà îáíîâëåíèå</strong><div class='desctext'>Èìïîðòèðîâàòü <em>n</em> çàïèñåé çà îáíîâëåíèå. Èìïîðòèðîâàíèå äîâîëüíî òÿæåëûé ïðîöåññ.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_pergo']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>RSS Import Refresh</strong><div class='desctext'>Checks for new articles every <em>n</em> minutes. Minimum of 30 minutes, regardless of input.</div></td>
|
||||
<td width='40%' class='tablerow1'><strong>×àñòîòà îáíîâëåíèÿ</strong><div class='desctext'>Ïðîâåðÿòü íîâûå RSS çàïèñè êàæäûå <em>n</em> ìèíóò. Ìèíèìóì 30 ìèíóò.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['rss_import_time']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -320,7 +348,7 @@ function do_validate()
|
||||
</tr>
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><input type='submit' class='realbutton' value='$button' />
|
||||
<input type='button' class='realbutton' value='Validate Stream' onclick='do_validate();' /></div>
|
||||
<input type='button' class='realbutton' value='Ïðîâåðèòü ïîòîê' onclick='do_validate();' /></div>
|
||||
</div>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
@@ -338,39 +366,67 @@ return $IPBHTML;
|
||||
//===========================================================================
|
||||
// RSS
|
||||
//===========================================================================
|
||||
function rss_import_overview($content) {
|
||||
function rss_import_overview($content, $page_links) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Quick-Validate an RSS Stream?</div>
|
||||
<div class='tableheaderalt'>Áûñòðàÿ ïðîâåðêà ïîòîêà</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablerow1'><b>Enter the URL:</b></td>
|
||||
<td class='tablerow2'><form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_validate' method='post'><input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' /><input type='text' size='50' name='rss_url' value='http://' /> <input type='submit' class='realbutton' value='Validate' /></form></td>
|
||||
<td class='tablerow1'><b>Ââåäèòå ññûëêó:</b></td>
|
||||
<td class='tablerow2'><form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_validate' method='post'><input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' /><input type='text' size='50' name='rss_url' value='http://' /> <input type='submit' class='realbutton' value='Ïðîâåðèòü' /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>RSS Import Streams</div>
|
||||
<div class='tableheaderalt'>Ïîòîêè RSS èìïîðòèðîâàíèÿ</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='90%'>RSS Title</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Enabled</td>
|
||||
<td class='tablesubheader' width='5%'><img id="menumainone" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
<td class='tablesubheader' width='90%'>Íàçâàíèå ïîòîêà</td>
|
||||
<td class='tablesubheader' width='5%' align='center'>Ñòàòóñ</td>
|
||||
<td class='tablesubheader' width='5%'><img id="menumainone" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
$content
|
||||
EOF;
|
||||
|
||||
if( $page_links != "" )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablesubheader' colspan='3' align='right'>
|
||||
{$page_links}
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
{$content}
|
||||
EOF;
|
||||
|
||||
if( $page_links != "" )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablesubheader' colspan='3' align='right'>
|
||||
{$page_links}
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
</table>
|
||||
<div align='center' class='tablefooter'> </div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menumainone",
|
||||
new Array( img_add + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_add'>Create New RSS Import Stream...</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_recache&rss_import_id=all'>Update All RSS Imports...</a>"
|
||||
new Array( img_add + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_add'>Ñîçäàòü íîâûé ïîòîê</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_recache&rss_import_id=all'>Îáíîâèòü âñå êåøè RSS èìïîðòèðîâàíèÿ</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
@@ -412,17 +468,17 @@ $IPBHTML .= <<<EOF
|
||||
<strong>{$data['rss_import_title']}</strong>
|
||||
</td>
|
||||
<td class='tablerow2' align='center'><img src='{$this->ipsclass->skin_acp_url}/images/{$data['_enabled_img']}' border='0' alt='YN' class='ipd' /></td>
|
||||
<td class='tablerow1'><img id="menu{$data['rss_import_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
<td class='tablerow1'><img id="menu{$data['rss_import_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$data['rss_import_id']}",
|
||||
new Array(
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_edit&rss_import_id={$data['rss_import_id']}'>Edit RSS Import Stream...</a>",
|
||||
img_delete + " <a href='#' onclick='maincheckdelete(\"{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_delete&rss_import_id={$data['rss_import_id']}\");'>Delete RSS Import Stream...</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_remove&rss_import_id={$data['rss_import_id']}'>Remove RSS Articles...</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_recache&rss_import_id={$data['rss_import_id']}'>Update RSS Import...</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_validate&rss_id={$data['rss_import_id']}'>Validate RSS Stream...</a>"
|
||||
img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_edit&rss_import_id={$data['rss_import_id']}'>Èçìåíèòü</a>",
|
||||
img_delete + " <a href='#' onclick='maincheckdelete(\"{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_delete&rss_import_id={$data['rss_import_id']}\");'>Óäàëèòü ïîòîê</a>",
|
||||
img_delete + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_remove&rss_import_id={$data['rss_import_id']}'>Óäàëèòü âñå çàïèñè</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_recache&rss_import_id={$data['rss_import_id']}'>Îáíîâèòü</a>",
|
||||
img_item + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=rssimport_validate&rss_id={$data['rss_import_id']}'>Ïðîâåðèòü</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
@@ -1,99 +1,99 @@
|
||||
<?php
|
||||
|
||||
class cp_skin_settings {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// Index
|
||||
//===========================================================================
|
||||
function acp_last_logins_row( $r ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1' width='1' valign='middle'>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/folder_components/index/user.png' border='0' alt='-' class='ipd' />
|
||||
</td>
|
||||
<td class='tablerow1'> <strong>{$r['admin_username']}</strong></td>
|
||||
<td class='tablerow2'><div class='desctext'>IP: {$r['admin_ip_address']}</div></td>
|
||||
<td class='tablerow2' align='center'>{$r['_admin_time']}</td>
|
||||
<td class='tablerow2' align='center'><img src='{$this->ipsclass->skin_acp_url}/images/{$r['_admin_img']}' border='0' alt='-' class='ipd' /></td>
|
||||
<td class='tablerow1' width='1' valign='middle'>
|
||||
<a href='#' onclick="return ipsclass.pop_up_window('{$this->ipsclass->base_url}section=admin&act=loginlog&code=view_detail&detail={$r['admin_id']}', 400, 400)" title='View Details'><img src='{$this->ipsclass->skin_acp_url}/images/folder_components/index/view.png' border='0' alt='-' class='ipd' /></a>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Index
|
||||
//===========================================================================
|
||||
function settings_check_differences( $original_missing, $original_new ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Setting XML Differences</div>
|
||||
<table width='100%' cellpadding='0' cellspacing='0'>
|
||||
<tr>
|
||||
<td width='50%' valign='top' class='tablerow2'>
|
||||
<div class='tablesubheader'>Settings not in the DB Settings</div>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
EOF;
|
||||
if ( is_array( $original_missing ) )
|
||||
{
|
||||
foreach( $original_missing as $key => $data )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'>{$data['conf_key']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
</table>
|
||||
</td>
|
||||
<td width='50%' valign='top' class='tablerow2'>
|
||||
<div class='tablesubheader'>Settings not in the uploaded XML file</div>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
EOF;
|
||||
if ( is_array( $original_new ) )
|
||||
{
|
||||
foreach( $original_new as $key => $data )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'>{$data['conf_key']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
</table>
|
||||
</td>
|
||||
</table>
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
class cp_skin_settings {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// Index
|
||||
//===========================================================================
|
||||
function acp_last_logins_row( $r ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1' width='1' valign='middle'>
|
||||
<img src='{$this->ipsclass->skin_acp_url}/images/folder_components/index/user.png' border='0' alt='-' class='ipd' />
|
||||
</td>
|
||||
<td class='tablerow1'> <strong>{$r['admin_username']}</strong></td>
|
||||
<td class='tablerow2'><div class='desctext'>IP: {$r['admin_ip_address']}</div></td>
|
||||
<td class='tablerow2' align='center'>{$r['_admin_time']}</td>
|
||||
<td class='tablerow2' align='center'><img src='{$this->ipsclass->skin_acp_url}/images/{$r['_admin_img']}' border='0' alt='-' class='ipd' /></td>
|
||||
<td class='tablerow1' width='1' valign='middle'>
|
||||
<a href='#' onclick="return ipsclass.pop_up_window('{$this->ipsclass->base_url}section=admin&act=loginlog&code=view_detail&detail={$r['admin_id']}', 400, 400)" title='Ïðîñìîòð äåòàëåé'><img src='{$this->ipsclass->skin_acp_url}/images/folder_components/index/view.png' border='0' alt='-' class='ipd' /></a>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Index
|
||||
//===========================================================================
|
||||
function settings_check_differences( $original_missing, $original_new ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Îò÷åò ñðàâíåíèÿ XML ôàéëà ñ çàïèñÿìè â ÁÄ</div>
|
||||
<table width='100%' cellpadding='0' cellspacing='0'>
|
||||
<tr>
|
||||
<td width='50%' valign='top' class='tablerow2'>
|
||||
<div class='tablesubheader'>Íàñòðîéêè íå íàõîäÿòñÿ â ÁÄ</div>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
EOF;
|
||||
if ( is_array( $original_missing ) )
|
||||
{
|
||||
foreach( $original_missing as $key => $data )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'>{$key}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
</table>
|
||||
</td>
|
||||
<td width='50%' valign='top' class='tablerow2'>
|
||||
<div class='tablesubheader'>Íàñòðîéêè íå íàõîäÿòñÿ â XML ôàéëå</div>
|
||||
<table width='100%' cellpadding='4' cellspacing='0'>
|
||||
EOF;
|
||||
if ( is_array( $original_new ) )
|
||||
{
|
||||
foreach( $original_new as $key => $data )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'>{$data['conf_key']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
</table>
|
||||
</td>
|
||||
</table>
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,416 +1,416 @@
|
||||
<?php
|
||||
|
||||
class cp_skin_taskmanager {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// TASK MANAGER: Overview
|
||||
//===========================================================================
|
||||
function task_manager_logsshow_wrapper( $last5 ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Task Manager Logs</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader'>Task Run</td>
|
||||
<td class='tablesubheader'>Date Run</td>
|
||||
<td class='tablesubheader'>Log Info</td>
|
||||
</tr>
|
||||
$last5
|
||||
</table>
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// TASK MANAGER: Overview
|
||||
//===========================================================================
|
||||
function task_manager_logs_wrapper( $last5, $form ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Last 5 Run Tasks</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader'>Task Run</td>
|
||||
<td class='tablesubheader'>Date Run</td>
|
||||
<td class='tablesubheader'>Log Info</td>
|
||||
</tr>
|
||||
$last5
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
|
||||
<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_log_show' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>View Task Manager Logs</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>View logs for task</strong></td>
|
||||
<td class='tablerow2'>{$form['task_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Show <em>n</em> log entries</strong></td>
|
||||
<td class='tablerow2'>{$form['task_count']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' class='tablefooter' align='center'><input class='realbutton' type='submit' value='View Logs' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<br />
|
||||
|
||||
<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_log_delete' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Delete Task Manager Logs</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Delete logs for task</strong></td>
|
||||
<td class='tablerow2'>{$form['task_title_delete']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Delete logs older than <em>n</em> days</strong></td>
|
||||
<td class='tablerow2'>{$form['task_prune']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' class='tablefooter' align='center'><input class='realbutton' type='submit' value='DELETE Logs' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// TRAFFIC: POPULAR row
|
||||
//===========================================================================
|
||||
function task_manager_last5_row( $data ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td width='25%' class='tablerow1'><strong>{$data['log_title']}</strong></td>
|
||||
<td width='15%' class='tablerow2'>{$data['log_date']}</td>
|
||||
<td width='45%' class='tablerow2'>{$data['log_desc']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// Task manager form
|
||||
//===========================================================================
|
||||
function task_manager_form( $form, $button, $formbit, $type, $title, $task ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<script type='text/javascript' language='javascript'>
|
||||
function updatepreview()
|
||||
{
|
||||
var formobj = document.adminform;
|
||||
var dd_wday = new Array();
|
||||
|
||||
dd_wday[0] = 'Sunday';
|
||||
dd_wday[1] = 'Monday';
|
||||
dd_wday[2] = 'Tuesday';
|
||||
dd_wday[3] = 'Wednesday';
|
||||
dd_wday[4] = 'Thursday';
|
||||
dd_wday[5] = 'Friday';
|
||||
dd_wday[6] = 'Saturday';
|
||||
|
||||
var output = '';
|
||||
|
||||
chosen_min = formobj.task_minute.options[formobj.task_minute.selectedIndex].value;
|
||||
chosen_hour = formobj.task_hour.options[formobj.task_hour.selectedIndex].value;
|
||||
chosen_wday = formobj.task_week_day.options[formobj.task_week_day.selectedIndex].value;
|
||||
chosen_mday = formobj.task_month_day.options[formobj.task_month_day.selectedIndex].value;
|
||||
|
||||
var output_min = '';
|
||||
var output_hour = '';
|
||||
var output_day = '';
|
||||
var timeset = 0;
|
||||
|
||||
if ( chosen_mday == -1 && chosen_wday == -1 )
|
||||
{
|
||||
output_day = '';
|
||||
}
|
||||
|
||||
if ( chosen_mday != -1 )
|
||||
{
|
||||
output_day = 'On day '+chosen_mday+'.';
|
||||
}
|
||||
|
||||
if ( chosen_mday == -1 && chosen_wday != -1 )
|
||||
{
|
||||
output_day = 'On ' + dd_wday[ chosen_wday ]+'.';
|
||||
}
|
||||
|
||||
if ( chosen_hour != -1 && chosen_min != -1 )
|
||||
{
|
||||
output_hour = 'At '+chosen_hour+':'+formatnumber(chosen_min)+'.';
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( chosen_hour == -1 )
|
||||
{
|
||||
if ( chosen_min == 0 )
|
||||
{
|
||||
output_hour = 'On every hour';
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( output_day == '' )
|
||||
{
|
||||
if ( chosen_min == -1 )
|
||||
{
|
||||
output_min = 'Every minute';
|
||||
}
|
||||
else
|
||||
{
|
||||
output_min = 'Every '+chosen_min+' minutes.';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
output_min = 'At '+formatnumber(chosen_min)+' minutes past the first available hour';
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( output_day != '' )
|
||||
{
|
||||
output_hour = 'At ' + chosen_hour + ':00';
|
||||
}
|
||||
else
|
||||
{
|
||||
output_hour = 'Every ' + chosen_hour + ' hours';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
output = output_day + ' ' + output_hour + ' ' + output_min;
|
||||
|
||||
formobj.showtask.value = output;
|
||||
}
|
||||
|
||||
function formatnumber(num)
|
||||
{
|
||||
if ( num == -1 )
|
||||
{
|
||||
return '00';
|
||||
}
|
||||
if ( num < 10 )
|
||||
{
|
||||
return '0'+num;
|
||||
}
|
||||
else
|
||||
{
|
||||
return num;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<form name='adminform' action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=$formbit&task_id={$task['task_id']}&type=$type' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<input type='hidden' name='task_cronkey' value='{$task['task_cronkey']}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>
|
||||
<div style='float:left'>$title</div>
|
||||
<div align='right' style='padding-right:5px'><input type='text' name='showtask' class='realbutton' size='50' style='font-size:10px;width:auto;font-weight:normal;'/></div>
|
||||
</div>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Task Title</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Task Short Description</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_description']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Task PHP File To Run</strong><div class='desctext'>This is the PHP file that is run when the task is run.</div></td>
|
||||
<td width='60%' class='tablerow2'>./sources/tasks/ {$form['task_file']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' colspan='2'>
|
||||
<fieldset>
|
||||
<legend><strong>Time Options</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Task Time: Minutes</strong><div class='desctext'>Choose 'Every Minute' to run each minute or a number for a specific minute of an hour</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_minute']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Task Time: Hours</strong><div class='desctext'>Choose 'Every Hour' to run each hour or a number for a specific hour of a day</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_hour']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Task Time: Week Day</strong><div class='desctext'>Choose 'Every Day' to run each day or a week day for a specific week day of a month</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_week_day']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Task Time: Month Day</strong><div class='desctext'>Choose 'Every Day' to run each day or a month day for a specific month day of a month</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_month_day']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Enable Task Logging</strong><div class='desctext'>Will write to the task log each time the task is run, not recommended for regular tasks run every few minutes.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_log']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Enable Task?</strong><div class='desctext'>If you are using CRON, you might wish to disable this task from the internal manager.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_enabled']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
//startif
|
||||
if ( $form['task_key'] != "" )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Task Key</strong><div class='desctext'>This is used to call a task where the ID of the task might change</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_key']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Task Safe Mode</strong><div class='desctext'>If set to 'yes', this will not be editable by admins</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_safemode']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}//endif
|
||||
$IPBHTML .= <<<EOF
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><input type='submit' class='realbutton' value='$button' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// TASK MANAGER: Overview
|
||||
//===========================================================================
|
||||
function task_manager_wrapper($content, $date) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Scheduled Tasks</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='40%'>Title</td>
|
||||
<td class='tablesubheader' width='25%'>Next Run</td>
|
||||
<td class='tablesubheader' width='5%'>Min</td>
|
||||
<td class='tablesubheader' width='5%'>Hour</td>
|
||||
<td class='tablesubheader' width='5%'>MDay</td>
|
||||
<td class='tablesubheader' width='5%'>WDay</td>
|
||||
<td class='tablesubheader' width='1%'>Options</td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><div class='fauxbutton-wrapper'><span class='fauxbutton'><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_add'>Add New Task</a></span></div></div>
|
||||
</div>
|
||||
<br />
|
||||
<div align='center' class='desctext'><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_rebuild_xml'>Rebuild tasks from tasks.xml</a></em></div>
|
||||
<br />
|
||||
<div align='center' class='desctext'><em>All times GMT. GMT time now is: $date</em></div>
|
||||
EOF;
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// TRAFFIC: POPULAR row
|
||||
//===========================================================================
|
||||
function task_manager_row( $row ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td width='99%' style='font-size:10px'>
|
||||
<strong{$row['_class']}>
|
||||
EOF;
|
||||
//startif
|
||||
if ( $row['task_locked'] > 0 )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_unlock&task_id={$row['task_id']}'><img src='{$this->ipsclass->skin_acp_url}/images/lock_close.gif' border='0' alt='Unlock' class='ipd' /></a>
|
||||
EOF;
|
||||
}//endif
|
||||
$IPBHTML .= <<<EOF
|
||||
{$row['task_title']}{$row['_title']}</strong>
|
||||
<div style='color:gray'><em>{$row['task_description']}</em></div>
|
||||
<div align='center' style='position:absolute;width:auto;display:none;text-align:center;background:#EEE;border:2px outset #555;padding:4px' id='pop{$row['task_id']}'>
|
||||
curl -s -o /dev/null {$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?{$this->ipsclass->form_code}&ck={$row['task_cronkey']}
|
||||
</div>
|
||||
</td>
|
||||
<td width='1%' nowrap='nowrap'>
|
||||
<a href='#' onclick="toggleview('pop{$row['task_id']}');return false;" title='Show CURL to use in a cron'><img src='{$this->ipsclass->skin_acp_url}/images/task_cron.gif' border='0' alt='Cron' /></a>
|
||||
<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_run_now&task_id={$row['task_id']}' title='Run task now (id: {$row['task_id']})'><img src='{$this->ipsclass->skin_acp_url}/images/{$row['_image']}' border='0' alt='Run' /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class='tablerow2'>{$row['_next_run']}</td>
|
||||
<td class='tablerow2'>{$row['task_minute']}</td>
|
||||
<td class='tablerow2'>{$row['task_hour']}</td>
|
||||
<td class='tablerow2'>{$row['task_month_day']}</td>
|
||||
<td class='tablerow2'>{$row['task_week_day']}</td>
|
||||
<td class='tablerow1'><img id="menu{$row['task_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Options' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$row['task_id']}",
|
||||
new Array( img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_edit&task_id={$row['task_id']}'>Edit Task...</a>",
|
||||
img_password + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_unlock&task_id={$row['task_id']}'>Unlock Task...</a>",
|
||||
img_delete + " <a href='#' onclick='confirm_action(\"{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_delete&task_id={$row['task_id']}\"); return false;'>Delete Task...</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
class cp_skin_taskmanager {
|
||||
|
||||
var $ipsclass;
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// TASK MANAGER: Overview
|
||||
//===========================================================================
|
||||
function task_manager_logsshow_wrapper( $last5 ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>:Æóðíàë âûïîëíåííûõ çàäà÷</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader'>Çàäà÷à</td>
|
||||
<td class='tablesubheader'>Âðåìÿ çàïóñêà</td>
|
||||
<td class='tablesubheader'>Èíôîðìàöèÿ</td>
|
||||
</tr>
|
||||
$last5
|
||||
</table>
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// TASK MANAGER: Overview
|
||||
//===========================================================================
|
||||
function task_manager_logs_wrapper( $last5, $form ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>5 ïîñëåäíèõ çàïóùåííûõ çàäà÷</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader'>Íàçâàíèå çàäà÷è</td>
|
||||
<td class='tablesubheader'>Äàòà çàïóñêà</td>
|
||||
<td class='tablesubheader'>Èíôîðìàöèÿ</td>
|
||||
</tr>
|
||||
$last5
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
|
||||
<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_log_show' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Ïðîñìîòð æóðíàëà çàäà÷</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Ïðîñîìòð çàïèñåé äëÿ</strong></td>
|
||||
<td class='tablerow2'>{$form['task_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Ïîêàçàòü <em>n</em> çàïèñåé</strong></td>
|
||||
<td class='tablerow2'>{$form['task_count']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' class='tablefooter' align='center'><input class='realbutton' type='submit' value='Ïîêàçàòü' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<br />
|
||||
|
||||
<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_log_delete' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Óäàëåíèå çàïèñåé æóðíàëà</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Óäàëåíèå çàïèñåé äëÿ</strong></td>
|
||||
<td class='tablerow2'>{$form['task_title_delete']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tablerow1'><strong>Óäàëèòü çàïèñè ñòàðøå, ÷åì <em>n</em> äíåé</strong></td>
|
||||
<td class='tablerow2'>{$form['task_prune']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' class='tablefooter' align='center'><input class='realbutton' type='submit' value='Óäàëèòü' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// TRAFFIC: POPULAR row
|
||||
//===========================================================================
|
||||
function task_manager_last5_row( $data ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td width='25%' class='tablerow1'><strong>{$data['log_title']}</strong></td>
|
||||
<td width='15%' class='tablerow2'>{$data['log_date']}</td>
|
||||
<td width='45%' class='tablerow2'>{$data['log_desc']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// Task manager form
|
||||
//===========================================================================
|
||||
function task_manager_form( $form, $button, $formbit, $type, $title, $task ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<script type='text/javascript' language='javascript'>
|
||||
function updatepreview()
|
||||
{
|
||||
var formobj = document.adminform;
|
||||
var dd_wday = new Array();
|
||||
|
||||
dd_wday[0] = 'Âîñêðåñåíüå';
|
||||
dd_wday[1] = 'Ïîíåäåëüíèê';
|
||||
dd_wday[2] = 'Âòîðíèê';
|
||||
dd_wday[3] = 'Ñðåäà';
|
||||
dd_wday[4] = '×åòâåðã';
|
||||
dd_wday[5] = 'Ïÿòíèöà';
|
||||
dd_wday[6] = 'Ñóááîòà';
|
||||
|
||||
var output = '';
|
||||
|
||||
chosen_min = formobj.task_minute.options[formobj.task_minute.selectedIndex].value;
|
||||
chosen_hour = formobj.task_hour.options[formobj.task_hour.selectedIndex].value;
|
||||
chosen_wday = formobj.task_week_day.options[formobj.task_week_day.selectedIndex].value;
|
||||
chosen_mday = formobj.task_month_day.options[formobj.task_month_day.selectedIndex].value;
|
||||
|
||||
var output_min = '';
|
||||
var output_hour = '';
|
||||
var output_day = '';
|
||||
var timeset = 0;
|
||||
|
||||
if ( chosen_mday == -1 && chosen_wday == -1 )
|
||||
{
|
||||
output_day = '';
|
||||
}
|
||||
|
||||
if ( chosen_mday != -1 )
|
||||
{
|
||||
output_day = +chosen_mday+' ÷èñëà.';
|
||||
}
|
||||
|
||||
if ( chosen_mday == -1 && chosen_wday != -1 )
|
||||
{
|
||||
output_day = 'Â ' + dd_wday[ chosen_wday ]+'.';
|
||||
}
|
||||
|
||||
if ( chosen_hour != -1 && chosen_min != -1 )
|
||||
{
|
||||
output_hour = 'Â '+chosen_hour+':'+formatnumber(chosen_min)+'.';
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( chosen_hour == -1 )
|
||||
{
|
||||
if ( chosen_min == 0 )
|
||||
{
|
||||
output_hour = 'Êàæäûé ÷àñ';
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( output_day == '' )
|
||||
{
|
||||
if ( chosen_min == -1 )
|
||||
{
|
||||
output_min = 'Êàæäóþ ìèíóòó';
|
||||
}
|
||||
else
|
||||
{
|
||||
output_min = 'Êàæäûå '+chosen_min+' ìèíóò.';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
output_min = ' '+formatnumber(chosen_min)+' ìèíóò êàæäîãî ÷àñà';
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( output_day != '' )
|
||||
{
|
||||
output_hour = 'Â ' + chosen_hour + ':00';
|
||||
}
|
||||
else
|
||||
{
|
||||
output_hour = 'Êàæäûå ' + chosen_hour + ' ÷àñîâ';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
output = output_day + ' ' + output_hour + ' ' + output_min;
|
||||
|
||||
formobj.showtask.value = output;
|
||||
}
|
||||
|
||||
function formatnumber(num)
|
||||
{
|
||||
if ( num == -1 )
|
||||
{
|
||||
return '00';
|
||||
}
|
||||
if ( num < 10 )
|
||||
{
|
||||
return '0'+num;
|
||||
}
|
||||
else
|
||||
{
|
||||
return num;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<form name='adminform' action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=$formbit&task_id={$task['task_id']}&type=$type' method='post'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
|
||||
<input type='hidden' name='task_cronkey' value='{$task['task_cronkey']}' />
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>
|
||||
<div style='float:left'>$title</div>
|
||||
<div align='right' style='padding-right:5px'><input type='text' name='showtask' class='realbutton' size='50' style='font-size:10px;width:auto;font-weight:normal;'/></div>
|
||||
</div>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Íàçâàíèå çàäà÷è</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Êðàòêîå îïèñàíèå çàäà÷è</strong></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_description']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>PHP ôàéë çàäà÷è äëÿ çàïóñêà</strong><div class='desctext'>Ýòî PHP ôàéë, êîòîðûé áóäåò çàïóñêàòüñÿ ïðè çàïóñêå çàäà÷è.</div></td>
|
||||
<td width='60%' class='tablerow2'>./sources/tasks/ {$form['task_file']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1' colspan='2'>
|
||||
<fieldset>
|
||||
<legend><strong>Îïöèè âðåìåíè</strong></legend>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Âðåìÿ çàäà÷è: ìèíóòû</strong><div class='desctext'>Âûáåðèòå 'Êàæäóþ ìèíóòó' äëÿ çàïóñêà êàæäóþ ìèíóòó èëè òî÷íîå çíà÷åíèå ìèíóòû â ÷àñó</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_minute']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Âðåìÿ çàäà÷è: ÷àñû</strong><div class='desctext'>Âûáåðèòå 'Êàæäûé ÷àñ' äëÿ çàïóñêà êàæäûé ÷àñ èëè òî÷íîå çíà÷åíèå ÷àñà â äåíü</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_hour']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Âðåìÿ çàäà÷è: äåíü íåäåëè</strong><div class='desctext'>Âûáåðèòå 'Êàæäûé äåíü íåäåëè' äëÿ çàïóñêà êàæäûé äåíü íåäåëè èëè ïðîñòî óêàæèòå äåíü íåäåëè</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_week_day']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Âðåìÿ çàäà÷è: äåíü ìåñÿöà</strong><div class='desctext'>Âûáåðèòå 'Êàæäûé äåíü ìåñÿöà' äëÿ çàïóñêà êàæäûé äåíü èëè òî÷íîå ÷èñëî</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_month_day']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Âêëþ÷èòü çàïèñü æóðíàëà äåéñòâèé</strong><div class='desctext'>Ïðè âêëþ÷åííîé îïöèè âñå âûïîëíåíèÿ çàäà÷ áóäóò çàïèñàíû â áàçó äàííûõ, íå ðåêîìåíäóåòñÿ äëÿ îñíîâíûõ çàäà÷, âûïîëíÿåìûõ êàæäûå 5-10 ìèíóò.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_log']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Âêëþ÷èòü çàäà÷ó?</strong><div class='desctext'>Åñëè âû èñïîëüçóåòå CRON, âû äîëæíû îòêëþ÷èòü âûçîâ ýòîé çàäà÷è çäåñü.</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_enabled']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
//startif
|
||||
if ( $form['task_key'] != "" )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Êëþ÷ çàäà÷è</strong><div class='desctext'>Ýòà îïöèÿ èñïîëüçóåòñÿ äëÿ âûçîâà çàäà÷è òîëüêî ïðè óêàçàíèè ID</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_key']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' class='tablerow1'><strong>Áåçîïàñíûé ðåæèì</strong><div class='desctext'>Åñëè âûáðàíà äàííàÿ îïöèÿ, ýòà çàäà÷à íå ñìîæåò áûòü èçìåíåíà àäìèíèñòðàòîðàìè</div></td>
|
||||
<td width='60%' class='tablerow2'>{$form['task_safemode']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}//endif
|
||||
$IPBHTML .= <<<EOF
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><input type='submit' class='realbutton' value='$button' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// TASK MANAGER: Overview
|
||||
//===========================================================================
|
||||
function task_manager_wrapper($content, $date) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>Ñïèñîê çàäà÷</div>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='40%'>Íàçâàíèå</td>
|
||||
<td class='tablesubheader' width='25%'>Ñëåäóþùèé çàïóñê</td>
|
||||
<td class='tablesubheader' width='5%'>Ìèíóòà</td>
|
||||
<td class='tablesubheader' width='5%'>×àñ</td>
|
||||
<td class='tablesubheader' width='5%'>Äåíü ìåñÿöà</td>
|
||||
<td class='tablesubheader' width='5%'>Äåíü íåäåëè</td>
|
||||
<td class='tablesubheader' width='1%'>Äåéñòâèÿ</td>
|
||||
</tr>
|
||||
$content
|
||||
</table>
|
||||
<div align='center' class='tablefooter'><div class='fauxbutton-wrapper'><span class='fauxbutton'><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_add'>Äîáàâèòü çàäà÷ó</a></span></div></div>
|
||||
</div>
|
||||
<br />
|
||||
<div align='center' class='desctext'><a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_rebuild_xml'>Îáíîâèòü çàäà÷è èç ôàéëà «tasks.xml»</a></em></div>
|
||||
<br />
|
||||
<div align='center' class='desctext'><em>Âñ¸ âðåìÿ â GMT. Ñåé÷àñ: $date</em></div>
|
||||
EOF;
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// TRAFFIC: POPULAR row
|
||||
//===========================================================================
|
||||
function task_manager_row( $row ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='tablerow1'>
|
||||
<table cellpadding='0' cellspacing='0' width='100%'>
|
||||
<tr>
|
||||
<td width='99%' style='font-size:10px'>
|
||||
<strong{$row['_class']}>
|
||||
EOF;
|
||||
//startif
|
||||
if ( $row['task_locked'] > 0 )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_unlock&task_id={$row['task_id']}'><img src='{$this->ipsclass->skin_acp_url}/images/lock_close.gif' border='0' alt='Ðàçáëîêèðîâàòü' class='ipd' /></a>
|
||||
EOF;
|
||||
}//endif
|
||||
$IPBHTML .= <<<EOF
|
||||
{$row['task_title']}{$row['_title']}</strong>
|
||||
<div style='color:gray'><em>{$row['task_description']}</em></div>
|
||||
<div align='center' style='position:absolute;width:auto;display:none;text-align:center;background:#EEE;border:2px outset #555;padding:4px' id='pop{$row['task_id']}'>
|
||||
curl -s -o /dev/null {$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?{$this->ipsclass->form_code}&ck={$row['task_cronkey']}
|
||||
</div>
|
||||
</td>
|
||||
<td width='1%' nowrap='nowrap'>
|
||||
<a href='#' onclick="toggleview('pop{$row['task_id']}');return false;" title='Ïîêàçàòü âûçîâ êîìàíäû CURL èç CRON'><img src='{$this->ipsclass->skin_acp_url}/images/task_cron.gif' border='0' alt='Cron' /></a>
|
||||
<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_run_now&task_id={$row['task_id']}' title='Âûïîëíèòü çàäà÷ó ñåé÷àñ (ID: {$row['task_id']})'><img src='{$this->ipsclass->skin_acp_url}/images/{$row['_image']}' border='0' alt='Çàïóñòèòü' /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class='tablerow2'>{$row['_next_run']}</td>
|
||||
<td class='tablerow2'>{$row['task_minute']}</td>
|
||||
<td class='tablerow2'>{$row['task_hour']}</td>
|
||||
<td class='tablerow2'>{$row['task_month_day']}</td>
|
||||
<td class='tablerow2'>{$row['task_week_day']}</td>
|
||||
<td class='tablerow1'><img id="menu{$row['task_id']}" src='{$this->ipsclass->skin_acp_url}/images/filebrowser_action.gif' border='0' alt='Îïöèè' class='ipd' /></td>
|
||||
</tr>
|
||||
<script type="text/javascript">
|
||||
menu_build_menu(
|
||||
"menu{$row['task_id']}",
|
||||
new Array( img_edit + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_edit&task_id={$row['task_id']}'>Èçìåíèòü</a>",
|
||||
img_password + " <a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_unlock&task_id={$row['task_id']}'>Ðàçáëîêèðîâàòü</a>",
|
||||
img_delete + " <a href='#' onclick='confirm_action(\"{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&do=task_delete&task_id={$row['task_id']}\"); return false;'>Óäàëèòü</a>"
|
||||
) );
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
@@ -119,7 +119,7 @@ function template_init()
|
||||
|
||||
if ( is_ie && !is_ie7 )
|
||||
{
|
||||
div_template_sections.style.position = 'absolute';
|
||||
//div_template_sections.style.position = 'absolute';
|
||||
document.getElementById('template-main-wrap').style.height = parseInt( div_template_sections.style.height ) + 'px';
|
||||
}
|
||||
|
||||
@@ -176,10 +176,20 @@ function template_iframe_loaded( framekey )
|
||||
{
|
||||
if ( framekey == 'tb' )
|
||||
{
|
||||
if( is_ie )
|
||||
{
|
||||
var frame_loaded = document.getElementById('template-bits').style.display;
|
||||
|
||||
if( frame_loaded == 'none' )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
//------------------------------------------
|
||||
// Add onclick events to revert images
|
||||
//------------------------------------------
|
||||
|
||||
|
||||
var images = window.frames['tb-iframe'].document.getElementsByTagName('img');
|
||||
|
||||
//----------------------------------
|
||||
@@ -467,7 +477,7 @@ function template_revert_clicked(event)
|
||||
var bitname = clicked_href.replace( /.*bitname=(.+?)&.*/ , "$1" );
|
||||
var custombit = clicked_href.replace( /.*custombit=(.+?)/, "$1" );
|
||||
|
||||
if ( confirm( "WARNING: You cannot undo this action!\nPress OK to continue or CANCEL to cancel this action..." ) )
|
||||
if ( confirm( "ÂÍÈÌÀÍÈÅ: Âû íå ñìîæåòå îáðàòèòü äàííîå äåéñòâèå!\nÍàæìèò OK äëÿ ïðîäîëæåíèÿ èëè ÎÒÌÅÍÀ äëÿ îòìåíû äåéñòâèÿ." ) )
|
||||
{
|
||||
if ( use_enhanced_js && parseInt(custombit) != 1 )
|
||||
{
|
||||
@@ -828,7 +838,7 @@ function template_load_bits( group_name, event, nocancel )
|
||||
//------------------------------------------
|
||||
// Resize other div and iframe
|
||||
//------------------------------------------
|
||||
|
||||
|
||||
div_template_bits.style.width = 100 - template_section_fwidth + '%';
|
||||
div_template_bits.style.height = main_height + 'px';
|
||||
div_template_bits.style.display = '';
|
||||
|
||||
@@ -1 +1 @@
|
||||
<head>
<title>Invision Power Board Colour Picker</title>
<script language="JavaScript" type='text/javascript'>
var theColour = "";
var initcol = "";
if ( opener.document.theAdminForm.initcol.value )
{
initcol = opener.document.theAdminForm.initcol.value;
}
function showColor(val)
{
document.colorform.hexval.value = val;
theColour = val;
}
function keepColor()
{
document.colorform.keepcolour.value = theColour;
}
function initpicker()
{
if ( initcol )
{
document.colorform.keepcolour.value = initcol;
}
}
function endwrite()
{
if ( opener.document.theAdminForm.initformval.value )
{
theColour = document.colorform.keepcolour.value;
eval("opener.document.theAdminForm.f"+opener.document.theAdminForm.initformval.value+".value = theColour");
itm = my_openergetbyid( opener.document.theAdminForm.initformval.value );
if ( itm )
{
itm.style.backgroundColor = theColour;
}
}
}
function my_openergetbyid(id)
{
itm = null;
if (opener.document.getElementById)
{
itm = opener.document.getElementById(id);
}
else if (opener.document.all)
{
itm = opener.document.all[id];
}
else if (opener.document.layers)
{
itm = opener.document.layers[id];
}
return itm;
}
</script>
</head>
<body bgcolor='#FFFFFF' onload='initpicker()'>
<font face='arial' size='2' color='#000000'>
<center>
<form name="colorform">
<b>Invision Power Board Color Picker<br><br>Simply roll your mouse over the desired colour to get the Hex value and a colour preview
<br>
<map name="colmap">
<area shape="rect" style='hover:cursor:hand' coords="1,1,7,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="9,1,15,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="17,1,23,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="25,1,31,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="33,1,39,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="41,1,47,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="49,1,55,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="57,1,63,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="65,1,71,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="73,1,79,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="81,1,87,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="89,1,95,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="97,1,103,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="105,1,111,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="113,1,119,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="121,1,127,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="129,1,135,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="137,1,143,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="145,1,151,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="153,1,159,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="161,1,167,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="169,1,175,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF99')" onClickLine truncated
|
||||
<head>
<title>Invision Power Board — ðàáîòà ñ öâåòàìè</title>
<script language="JavaScript" type='text/javascript'>
var theColour = "";
var initcol = "";
if ( opener.document.theAdminForm.initcol.value )
{
initcol = opener.document.theAdminForm.initcol.value;
}
function showColor(val)
{
document.colorform.hexval.value = val;
theColour = val;
}
function keepColor()
{
document.colorform.keepcolour.value = theColour;
}
function initpicker()
{
if ( initcol )
{
document.colorform.keepcolour.value = initcol;
}
}
function endwrite()
{
if ( opener.document.theAdminForm.initformval.value )
{
theColour = document.colorform.keepcolour.value;
eval("opener.document.theAdminForm.f"+opener.document.theAdminForm.initformval.value+".value = theColour");
itm = my_openergetbyid( opener.document.theAdminForm.initformval.value );
if ( itm )
{
itm.style.backgroundColor = theColour;
}
}
}
function my_openergetbyid(id)
{
itm = null;
if (opener.document.getElementById)
{
itm = opener.document.getElementById(id);
}
else if (opener.document.all)
{
itm = opener.document.all[id];
}
else if (opener.document.layers)
{
itm = opener.document.layers[id];
}
return itm;
}
</script>
</head>
<body bgcolor='#FFFFFF' onload='initpicker()'>
<font face='arial' size='2' color='#000000'>
<center>
<form name="colorform">
<b>Invision Power Board — ðàáîòà ñ öâåòàìè<br><br>Ïðîñòî íàâåäèòå êóðñîð «ìûøêè» íà íóæíûé öâåò è âû ïîëó÷èòå øåñòíàäöàòåðè÷íûé HEX êîä è ïðåäâàðèòåëüíûé ïðîñìîòð öâåòà.
<br>
<map name="colmap">
<area shape="rect" style='hover:cursor:hand' coords="1,1,7,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="9,1,15,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="17,1,23,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="25,1,31,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="33,1,39,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="41,1,47,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="49,1,55,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="57,1,63,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="65,1,71,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="73,1,79,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="81,1,87,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="89,1,95,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="97,1,103,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="105,1,111,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="113,1,119,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="121,1,127,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="129,1,135,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="137,1,143,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="145,1,151,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="153,1,159,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="161,1,167,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="169,1,175,10" onMouseOut="javascript:shLine truncated
|
||||
@@ -1 +1 @@
|
||||
<html>
<head>
<title>CSS Generator</title>
<style type="text/css">
TABLE, TR, TD { font: 10px Verdana; color:#000000 }
BODY { font: 10px Verdana; color:#000000 }
INPUT, SUBMIT {
font-family: Courier, Courier New, Monaco;
font-size: 10pt;
font-family: verdana, helvetica, sans-serif;
vertical-align:middle;
background-color: #FFFFFF;
}
</style>
<script language='Javascript'>
// It's crappy, it's by Matt!
function do_css() {
var theForm = document.css_form;
var theName = theForm.NAME.value;
var theFont = theForm.FONT.value;
var theSize = theForm.SIZE.value;
var theSizeT = theForm.SIZE_TYPE.value;
var theWeight = theForm.WEIGHT.value;
var theColor = theForm.COLOUR.value;
var theBG = theForm.BGCOLOUR.value;
var theBW = theForm.BWEIGHT.value;
var theBC = theForm.BCOLOUR.value;
var theSpace = theForm.SPACE.value;
var theSpaceT = theForm.SPACING.value;
var theLSpace = theForm.LSPACE.value;
//defaults
var tmp_style = "solid";
var tmp_col = "black";
var tmp_thick = "1px";
// Check for empties
var msg = "";
if (theName == "") { msg = "You must enter a CSS definition name"; }
// more here eventually?
if (msg != "") {
alert(msg);
return;
}
var thecss = "#" + theName + " {\n";
// start the build the css
if (theFont != "") {
thecss += "\t font-family: " + theFont + ";\n";
}
if (theSize != "") {
thecss += "\t font-size: " + theSize + theSizeT + ";\n";
}
if (theWeight != "normal") {
thecss += "\t font-weight: " + theWeight + ";\n";
}
if (theColor != "") {
thecss += "\t color: " + theColor + ";\n";
}
if (theBG != "") {
thecss += "\t background-color: " + theBG + ";\n";
}
if (theBW != "") {
tmp_thick = theBW + "px";
}
if (theBC != "") {
tmp_col = theBC;
}
if (theBW != "" && theBC != "") {
thecss += "\t border: " + tmp_style + " " + tmp_col + " " + tmp_thick + ";\n";
}
if (theSpace != "") {
thecss += "\t line-height: " + theSpace + theSpaceT + ";\n";
}
if (theLSpace != "") {
thecss += "\t letter-spacing: " + theLSpace + "px;\n";
}
thecss += "}";
theForm.CSS.value = thecss;
return;
}
function preview() {
var theCSS = document.css_form.CSS.value;
var theID = document.css_form.NAME.value;
var Template = "<html><head><title>testing CSS</title><style type=\"text/css\">"+theCSS+"</style></head>\n<body bgcolor='#FFFFFF'>\n";
Template += "<span id='"+theID+"'>Cozy lummox gives smart squid who asks for job pen<br>Apparently....</span>";
Template += "\n</body></html>";
var newWin = window.open( '', 'PREVIEW', 'width=500,height=200,top=0,left=0,resizable=1,scrollbars=1,location=no,directories=no,status=no,menubar=no,toolbar=no');
newWin.document.write(Template);
newWin.document.close();
}
<!--
//-->
</script>
</head>
<body bgcolor='#FFFFFF'>
<table width='95%' align='center' border='0' cellspacing='1' cellpadding='0'>
<tr>
<td>
<b><span style='font-family: verdana, arial; font-size:20px; color:#4C77B6; font-weight:bold; letter-spacing:-1px'>Simple CSS Generator</span></b>
<br><br>
This is designed to generate a simple CSS definition. It does not contain
all the CSS attributes, just the most commonly used ones.
<br><br>
</td>
</tr>
</table>
<form name='css_form'>
<table width='95%' border='0' align='center'>
<tr>
<td width='60%'>
<table width='100%' align='center' border='0' bgcolor='#000000' cellspacing='1' cellpadding='0'>
<tr>
<td>
<table width='100%' align='center' border='0' bgcolor='#EEF2F7' cellspacing='0' cellpadding='4'>
<tr>
<td width='40%'><b>CSS ID Definition name?</b></td>
<td width='60%'><input type='text' name='NAME'></td>
</tr>
<tr>
<td width='40%'><b>Font name (separate many with a comma)</b></td>
<td width='60%'><input type='text' name='FONT'></td>
</tr>
<tr>
<td width='40%'><b>Font size</b></td>
<td width='60%'><input type='text' name='SIZE' size='5'> <select name='SIZE_TYPE'><option value='px'>Pixels<option value='pt'>Points<option value='em'>em</select></td>
</tr>
<tr>
<td width='40%'><b>Font Weight</b></td>
<td width='60%'><select name='WEIGHT'><option value='normal'>normal<option value='bold'>Bold<option value='bolder'>Bolder</select></td>
</tr>
<tr>
<td width='40%'><b>Font Colour</b></td>
<td width='60%'><input type='text' name='COLOUR'></td>
</tr>
<tr>
<td width='40%'><b>Background Colour</b></td>
<td width='60%'><input type='text' name='BGCOLOUR'></td>
</tr>
<tr>
<td width='40%'><b>Border...</b></td>
<td width='60%'>Weight (in pixels or leave blank) <input type='textLine truncated
|
||||
<html>
<head>
<title>Ãåíåðàòîð CSS</title>
<style type="text/css">
TABLE, TR, TD { font: 10px Verdana; color:#000000 }
BODY { font: 10px Verdana; color:#000000 }
INPUT, SUBMIT {
font-family: Courier, Courier New, Monaco;
font-size: 10pt;
font-family: verdana, helvetica, sans-serif;
vertical-align:middle;
background-color: #FFFFFF;
}
</style>
<script language='Javascript'>
// It's crappy, it's by Matt!
function do_css() {
var theForm = document.css_form;
var theName = theForm.NAME.value;
var theFont = theForm.FONT.value;
var theSize = theForm.SIZE.value;
var theSizeT = theForm.SIZE_TYPE.value;
var theWeight = theForm.WEIGHT.value;
var theColor = theForm.COLOUR.value;
var theBG = theForm.BGCOLOUR.value;
var theBW = theForm.BWEIGHT.value;
var theBC = theForm.BCOLOUR.value;
var theSpace = theForm.SPACE.value;
var theSpaceT = theForm.SPACING.value;
var theLSpace = theForm.LSPACE.value;
//defaults
var tmp_style = "solid";
var tmp_col = "black";
var tmp_thick = "1px";
// Check for empties
var msg = "";
if (theName == "") { msg = "Âû äîëæíû ââåñòè èìÿ css ïóíêòà"; }
// more here eventually?
if (msg != "") {
alert(msg);
return;
}
var thecss = "#" + theName + " {\n";
// start the build the css
if (theFont != "") {
thecss += "\t font-family: " + theFont + ";\n";
}
if (theSize != "") {
thecss += "\t font-size: " + theSize + theSizeT + ";\n";
}
if (theWeight != "normal") {
thecss += "\t font-weight: " + theWeight + ";\n";
}
if (theColor != "") {
thecss += "\t color: " + theColor + ";\n";
}
if (theBG != "") {
thecss += "\t background-color: " + theBG + ";\n";
}
if (theBW != "") {
tmp_thick = theBW + "px";
}
if (theBC != "") {
tmp_col = theBC;
}
if (theBW != "" && theBC != "") {
thecss += "\t border: " + tmp_style + " " + tmp_col + " " + tmp_thick + ";\n";
}
if (theSpace != "") {
thecss += "\t line-height: " + theSpace + theSpaceT + ";\n";
}
if (theLSpace != "") {
thecss += "\t letter-spacing: " + theLSpace + "px;\n";
}
thecss += "}";
theForm.CSS.value = thecss;
return;
}
function preview() {
var theCSS = document.css_form.CSS.value;
var theID = document.css_form.NAME.value;
var Template = "<html><head><title>òåñò CSS</title><style type=\"text/css\">"+theCSS+"</style></head>\n<body bgcolor='#FFFFFF'>\n";
Template += "<span id='"+theID+"'>Àíäðåé âçÿë ðó÷êó è ïîñòàâèë ñâîþ ïîäïèñü<br>È òàê äàëåå....</span>";
Template += "\n</body></html>";
var newWin = window.open( '', 'Ïðåäâàðèòåëüíûé ïðîñìîòð', 'width=500,height=200,top=0,left=0,resizable=1,scrollbars=1,location=no,directories=no,status=no,menubar=no,toolbar=no');
newWin.document.write(Template);
newWin.document.close();
}
<!--
//-->
</script>
</head>
<body bgcolor='#FFFFFF'>
<table width='95%' align='center' border='0' cellspacing='1' cellpadding='0'>
<tr>
<td>
<b><span style='font-family: verdana, arial; font-size:20px; color:#4C77B6; font-weight:bold; letter-spacing:-1px'>Ïðîñòîé ãåíåðàòîð CSS</span></b>
<br><br>
Ýòîò ãåíåðàòîð ïîçâîëÿåò ëåãêî íàñòðàèâàòü è ñîçäàâàòü ïóíêòû CSS òàáëèö ñòèëåé.
Îí íå ñîäåðæèò âñå CSS ïóíêòû — òîëüêî ñàìûå ÷àñòî èñïîëüçóåìûå.
<br><br>
</td>
</tr>
</table>
<form name='css_form'>
<table width='95%' border='0' align='center'>
<tr>
<td width='60%'>
<table width='100%' align='center' border='0' bgcolor='#000000' cellspacing='1' cellpadding='0'>
<tr>
<td>
<table width='100%' align='center' border='0' bgcolor='#EEF2F7' cellspacing='0' cellpadding='4'>
<tr>
<td width='40%'><b>Íàçâàíèå ïóíêòà CSS?</b></td>
<td width='60%'><input type='text' name='NAME'></td>
</tr>
<tr>
<td width='40%'><b>Íàçâàíèe øðèôòà (íåñêîëüêî øðèôòîâ ðàçäåëÿéòå çàïÿòîé)</b></td>
<td width='60%'><input type='text' name='FONT'></td>
</tr>
<tr>
<td width='40%'><b>Ðàçìåð øðèôòà</b></td>
<td width='60%'><input type='text' name='SIZE' size='5'> <select name='SIZE_TYPE'><option value='px'>ïèêñåëåé<option value='pt'>ïóíêòîâ<option value='em'>em</select></td>
</tr>
<tr>
<td width='40%'><b>Âåñ øðèôòà</b></td>
<td width='60%'><select name='WEIGHT'><option value='normal'>íîðìàëüíûé<option value='bold'>ïîëóæèðíûé<option value='bolder'>æèðíûé</select></td>
</tr>
<tr>
<td width='40%'><b>Öâåò</b></td>
<td width='60%'><input type='text' name='COLOUR'></td>
</tr>
<tr>
<td width='40%'><b>Öâåò ôîíà</b></td>
<td width='60%'><input type='text' name='BGCOLOUR'></td>
</tr>
<tr>
<td width='40%'><b>Ãðàíèöà</b></td>
<td width='60%'>Âåñ (â ïèêñåëÿõ, èëè Line truncated
|
||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 410 B After Width: | Height: | Size: 387 B |
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 2.6 KiB |
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 219 B |
|
After Width: | Height: | Size: 404 B |
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1 +1,10 @@
|
||||
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍<a href="http://www.invisionboard.com/">Invision Power Board</a>␍</body>␍</html>␍
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 333 B After Width: | Height: | Size: 139 B |
|
Before Width: | Height: | Size: 333 B After Width: | Height: | Size: 144 B |
@@ -1 +1,10 @@
|
||||
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍<a href="http://www.invisionboard.com/">Invision Power Board</a>␍</body>␍</html>␍
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||