From e10627d1c87f46ae19ce681dc9bbe48f08a5a840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=81Z=C3=81R=20Imre=20AI=20Agent?= Date: Thu, 16 Jul 2026 11:24:52 +0200 Subject: [PATCH] feat(deployed): add ExtBlank 1.0 (no-source, vetted live) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ExtBlank system plugin (Convergence Services); unmapped -> deployed files. Signed-off-by: LÁZÁR Imre Assisted-by: claude-code@claude-opus-4-8 --- .../plugins/system/extblank/extblank.php | 53 +++++++++++++++++++ .../plugins/system/extblank/extblank.xml | 34 ++++++++++++ .../plugins/system/extblank/index.html | 1 + 3 files changed, 88 insertions(+) create mode 100644 deployed/extblank/plugins/system/extblank/extblank.php create mode 100644 deployed/extblank/plugins/system/extblank/extblank.xml create mode 100644 deployed/extblank/plugins/system/extblank/index.html diff --git a/deployed/extblank/plugins/system/extblank/extblank.php b/deployed/extblank/plugins/system/extblank/extblank.php new file mode 100644 index 00000000..2d85446b --- /dev/null +++ b/deployed/extblank/plugins/system/extblank/extblank.php @@ -0,0 +1,53 @@ +params; + $document = JFactory::getDocument(); + $app = JFactory::getApplication(); + $isadmin = $app->isAdmin(); + $load_in_admin = $params->get('use_backend'); + $load = true; + //var_dump($isadmin); + //var_dump($load_in_admin); + + if($isadmin) + { + if($load_in_admin==0) + $load = false; + } + if($load) + { + if($params->get('include_jquery')) + { + $document->addScript('http://code.jquery.com/jquery-latest.js'); + } + $script = ' + $conv_ = jQuery; + $conv_(document).ready(function() { + $conv_("a[href^=\'http:\']:not([href*=\'" + window.location.host + "\']), a[href^=\'https:\']:not([href*=\'" + window.location.host + "\'])").each(function() { + if($conv_(this).attr("target")!="_parent"){ + $conv_(this).attr("target", "_blank"); + }}); + '.($params->get('replace_hash',0) ? '$conv_("a[href$=\'#\']").each(function(){$conv_(this).attr("href","javascript:void(0);")});' : '').' + });'; + $document->addScriptDeclaration($script); + //echo 'after script';//exit; + } + } + +} diff --git a/deployed/extblank/plugins/system/extblank/extblank.xml b/deployed/extblank/plugins/system/extblank/extblank.xml new file mode 100644 index 00000000..335ab6de --- /dev/null +++ b/deployed/extblank/plugins/system/extblank/extblank.xml @@ -0,0 +1,34 @@ + + +System - Open external links in new window +Convergence Services +Month 2011 +Copyright (C) 2012. All rights reserved. +GNU General Public License +info@convergenceservices.in +www.convergenceservices.in +1.0 +Please Enable the plugin and configure it.]]> + +extblank.php +index.html + + +
+ + + + + + + + + + + + +
+
+
+
+ diff --git a/deployed/extblank/plugins/system/extblank/index.html b/deployed/extblank/plugins/system/extblank/index.html new file mode 100644 index 00000000..2efb97f3 --- /dev/null +++ b/deployed/extblank/plugins/system/extblank/index.html @@ -0,0 +1 @@ +