403Webshell
Server IP : 23.94.149.180  /  Your IP : 216.73.216.147
Web Server : nginx/1.20.1
System : Linux deadrock 5.14.0-741.22.1.el9_9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 12 15:18:14 UTC 2026 x86_64
User : apache ( 48)
PHP Version : 8.6.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /files/webmaint/dseals/www/withgrace/blogcms/admin/javascript/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /files/webmaint/dseals/www/withgrace/blogcms/admin/javascript/bookmarklet.js
/**
  * BLOG:CMS - http://blogcms.com
  * Copyright (C) 2003-2004 Radek HULAN
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
  * as published by the Free Software Foundation; either version 2
  * of the License, or (at your option) any later version.
  * (see nucleus/documentation/index.html#license for more info)
  *
  * This file contains functions to allow adding items from inside the weblog.
  * Also contains code to avoid submitting form data twice.
  */

var bmAgt = navigator.userAgent.toLowerCase();
var bmIsOpera  = bmAgt.indexOf("opera") != -1;

function initStyles() {
	hideBlock('blockmore');
	hideBlock('blockoptions');
	hideBlock('blockpreview');
	if (ele=document.getElementById('switchbuttons')) ele.style.display = 'inline';
}

/**
 * To be called with id='body','more','options' or 'preview'
 * Hides all other tabs and makes the chosen one visible
 */
function flipBlock(id) {
	showBlock(id);
	if (id != 'blockbody') hideBlock('blockbody');
	if (id != 'blockmore') hideBlock('blockmore');
	if (id != 'blockoptions') hideBlock('blockoptions');
	if (id != 'blockpreview') hideBlock('blockpreview');
}

/**
 * Hides one element (tab)
 */
function hideBlock(id) {
	if (ele=document.getElementById(id)) ele.style.display = "none";
	if (ele=document.getElementById('btn_'+ id)) ele.className = 'button_low';
}

/**
 * Makes an element (tab) visible
 */
var bmActiveBlock = 'blockbody';

function showBlock(id) {
	bmActiveBlock = id;
	if (ele=document.getElementById(id)) ele.style.display = "block";
	if (document.getElementById('btn_'+ id)) ele.className = 'button_activ';
}

function help(url) {
	popup = window.open(url,'helpwindow','status=no,toolbar=yes,scrollbars=yes,resizable=yes,width=500,height=500,top=0,left=0');
	if (popup.focus) popup.focus();
	if (popup.GetAttention) popup.GetAttention();
	return false;
}

// moved from template to the include script / alfmiti
function nucleus_initbm() {
	initStyles();
	updAllPreviews();
	if (typeof nucleus_initbm_oldonload != 'undefined') nucleus_initbm_oldonload();
}

if (typeof window.onload != 'undefined') var nucleus_initbm_oldonload = window.onload;
window.onload = nucleus_initbm;


Youez - 2016 - github.com/yon3zu
LinuXploit