Initial commit
This commit is contained in:
108
www/backup/client/plugins/seo/Seo.class.php
Normal file
108
www/backup/client/plugins/seo/Seo.class.php
Normal file
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
include_once(realpath(dirname(__FILE__)) . "/../../../classes/PluginsClassiques.class.php");
|
||||
|
||||
class Seo extends PluginsClassiques{
|
||||
|
||||
var $id;
|
||||
var $rubrique;
|
||||
var $dossier;
|
||||
var $produit;
|
||||
var $contenu;
|
||||
var $description;
|
||||
var $titre;
|
||||
var $metakeywords;
|
||||
var $metadesc;
|
||||
var $domaine;
|
||||
var $divers;
|
||||
var $lang;
|
||||
|
||||
var $table = "seo";
|
||||
var $bddvars = array("id","rubrique","dossier","produit","contenu","description","titre","metakeywords","metadesc","domaine","divers","lang");
|
||||
|
||||
function Seo(){
|
||||
$this->PluginsClassiques();
|
||||
}
|
||||
|
||||
function init(){
|
||||
$cnx = new Cnx();
|
||||
$query = "CREATE TABLE `seo` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
||||
`rubrique` INT NOT NULL ,
|
||||
`dossier` INT NOT NULL ,
|
||||
`produit` INT NOT NULL ,
|
||||
`contenu` INT NOT NULL ,
|
||||
`description` TEXT NOT NULL ,
|
||||
`titre` TEXT NOT NULL ,
|
||||
`metakeywords` TEXT NOT NULL ,
|
||||
`metadesc` TEXT NOT NULL,
|
||||
`domaine` TEXT NOT NULL,
|
||||
`divers` TEXT NOT NULL,
|
||||
`lang` INT NOT NULL
|
||||
)";
|
||||
$resul = mysql_query($query,$cnx->link);
|
||||
|
||||
}
|
||||
|
||||
function charger_dossier($dossier,$lang=1){
|
||||
return $this->getVars("select * from $this->table where dossier=$dossier and lang=$lang");
|
||||
}
|
||||
|
||||
function charger_rubrique($rubrique,$lang=1){
|
||||
return $this->getVars("select * from $this->table where rubrique=$rubrique and lang=$lang");
|
||||
}
|
||||
|
||||
function charger($id){
|
||||
return $this->getVars("select * from $this->table where id=$id");
|
||||
}
|
||||
|
||||
function charger_produit($produit,$lang=1){
|
||||
return $this->getvars("select * from $this->table where produit=$produit and lang=$lang");
|
||||
}
|
||||
|
||||
function charger_contenu($contenu,$lang=1){
|
||||
return $this->getVars("select * from $this->table where contenu=$contenu and lang=$lang");
|
||||
}
|
||||
|
||||
|
||||
|
||||
function boucle($texte, $args){
|
||||
$produit = lireTag($args,"produit");
|
||||
$contenu = lireTag($args,"contenu");
|
||||
$rubrique = lireTag($args,"rubrique");
|
||||
$dossier = lireTag($args,"dossier");
|
||||
|
||||
$search = "";
|
||||
|
||||
if($produit != "") $search .= " and produit=".$produit;
|
||||
if($rubrique != "") $search .= " and rubrique=".$rubrique;
|
||||
if($dossier != "") $search .= " and dossier=".$dossier;
|
||||
if($contenu != "") $search .= " and contenu=".$contenu;
|
||||
$search .= " and lang=".$_SESSION["navig"]->lang;
|
||||
|
||||
if($search == "") return;
|
||||
|
||||
$query = "select * from $this->table where 1 $search";
|
||||
$resul = mysql_query($query);
|
||||
|
||||
$res = "";
|
||||
while($row = mysql_fetch_object($resul)){
|
||||
$description = str_replace("\"","'",$row->description);
|
||||
$temp = str_replace("#DESCRIPTION",$description,$texte);
|
||||
$temp = str_replace("#TITRE",$row->titre,$temp);
|
||||
$temp = str_replace("#METAKEYWORDS",$row->metakeywords,$temp);
|
||||
$temp = str_replace("#METADESC",$row->metadesc,$temp);
|
||||
$temp = str_replace("#DOMAINE",$row->domaine,$temp);
|
||||
$temp = str_replace("#DIVERS",$row->divers,$temp);
|
||||
|
||||
$res .= $temp;
|
||||
|
||||
}
|
||||
|
||||
return $res;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
23
www/backup/client/plugins/seo/plugin.xml
Normal file
23
www/backup/client/plugins/seo/plugin.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--Migration automatique depuis le fichier original, sauvegardé dans plugin.xml.save-->
|
||||
<plugin>
|
||||
<descriptif lang="fr">
|
||||
<titre>Seo</titre>
|
||||
<chapo></chapo>
|
||||
<description>Plugin permettant de rajouter des champs de descripiton dans le BO sur la fiche produit, rubrique, contenu et dossier.</description>
|
||||
<postscriptum></postscriptum>
|
||||
</descriptif>
|
||||
<version>1.0</version>
|
||||
<auteur>
|
||||
<nom>Manuel Raynaud - mraynaud@openstudio.fr</nom>
|
||||
<societe></societe>
|
||||
<email></email>
|
||||
<web></web>
|
||||
</auteur>
|
||||
<type>classique</type>
|
||||
<prerequis/>
|
||||
<thelia>1.4.0</thelia>
|
||||
<etat>production</etat>
|
||||
<documentation>readme.txt</documentation>
|
||||
<urlmiseajour></urlmiseajour>
|
||||
</plugin>
|
||||
21
www/backup/client/plugins/seo/readme.txt
Normal file
21
www/backup/client/plugins/seo/readme.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
Installation du plugin :
|
||||
|
||||
Glissez le répertoire dézippé dans le répertoire client/plugins du site ou bien se servir du formulaire d'upload sur la page d'activation des plugins dans l'admin.
|
||||
|
||||
Il rajoute sur les fichies produit, rubrique, contenu et dossier 4 champs (Descrpition SEO, Titre SEO, metakeywords et metadesc).
|
||||
|
||||
Il y a une boucle.
|
||||
|
||||
Paramètre d'entrée : un des 4 doit obligatoirement être renseigné, et ne peut retourner qu'un résultat.
|
||||
|
||||
produit : id du produit
|
||||
rubrique : id de la rubrique
|
||||
contenu : id du contenu
|
||||
dossier : id du dossier
|
||||
|
||||
paramètre de sortie :
|
||||
|
||||
#DESCRIPTION : description SEO
|
||||
#TITRE : titre SEO
|
||||
#METAKEYWORDS : metakeywords
|
||||
#METADESC : metadesc
|
||||
50
www/backup/client/plugins/seo/seo_admin_contenumodifier.php
Normal file
50
www/backup/client/plugins/seo/seo_admin_contenumodifier.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
include_once(realpath(dirname(__FILE__)) . "/../../../fonctions/authplugins.php");
|
||||
|
||||
autorisation("seo");
|
||||
|
||||
include_once(realpath(dirname(__FILE__)) . "/Seo.class.php");
|
||||
|
||||
if(!isset($_REQUEST["lang"])) $lang=1;
|
||||
else $lang = $_REQUEST["lang"];
|
||||
|
||||
$seo = new Seo();
|
||||
$seo->charger_contenu($_REQUEST["id"],$lang);
|
||||
?>
|
||||
|
||||
<div class="entete">
|
||||
<div class="titre" style="cursor:pointer" onclick="$('#pliantseo').show('slow');">MODULE SEO</div>
|
||||
</div>
|
||||
<div id="pliantseo">
|
||||
<input type="hidden" name="cible" value="contenu">
|
||||
<table width="100%" cellpadding="5" cellspacing="0">
|
||||
<tr class="claire">
|
||||
<td class="designation" width="140">Titre SEO</td>
|
||||
<td><input name="titreseo" type="text" class="form_long" value="<?php echo $seo->titre; ?>"/></td>
|
||||
</tr>
|
||||
<tr class="fonce">
|
||||
<td class="designation">Description SEO</td>
|
||||
<td><textarea cols="50" rows="14" name="descriptionseo" id="descriptionseo"><?php echo $seo->description; ?> </textarea></td>
|
||||
</tr>
|
||||
<tr class="claire">
|
||||
<td class="designation">Meta Keywords</td>
|
||||
<td><textarea cols="50" rows="4" name="metakeywords"/><?php echo $seo->metakeywords; ?></textarea></td>
|
||||
</tr>
|
||||
<tr class="fonce">
|
||||
<td class="designation">Meta Description</td>
|
||||
<td><textarea cols="50" rows="4" name="metadesc" /><?php echo $seo->metadesc; ?></textarea></td>
|
||||
</tr>
|
||||
<tr class="claire">
|
||||
<td class="designation">Domaine</td>
|
||||
<td><textarea cols="50" rows="4" name="domaine" /><?php echo $seo->domaine; ?></textarea></td>
|
||||
</tr>
|
||||
<tr class="fonce">
|
||||
<td class="designation">Divers</td>
|
||||
<td><textarea cols="50" rows="4" name="divers" /><?php echo $seo->divers; ?></textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<div class="bloc_fleche" style="cursor:pointer" onclick="$('#pliantseo').hide();"><img src="gfx/fleche_accordeon_up.gif" /></div>
|
||||
</div>
|
||||
62
www/backup/client/plugins/seo/seo_admin_dossiermodifier.php
Normal file
62
www/backup/client/plugins/seo/seo_admin_dossiermodifier.php
Normal file
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
|
||||
include_once(realpath(dirname(__FILE__)) . "/../../../fonctions/authplugins.php");
|
||||
|
||||
autorisation("seo");
|
||||
|
||||
include_once(realpath(dirname(__FILE__)) . "/Seo.class.php");
|
||||
|
||||
if(!isset($_REQUEST["lang"])) $lang=1;
|
||||
else $lang = $_REQUEST["lang"];
|
||||
|
||||
$seo = new Seo();
|
||||
$seo->charger_dossier($_REQUEST["id"],$lang);
|
||||
|
||||
|
||||
$do = new Dossier();
|
||||
$do->charger($_REQUEST["id"]);
|
||||
|
||||
?>
|
||||
|
||||
<? if($do->parent==86 or 1==1){?>
|
||||
|
||||
<div class="entete">
|
||||
<div class="titre" style="cursor:pointer" onclick="$('#pliantseo').show('slow');">SEO</div>
|
||||
</div>
|
||||
<div id="pliantseo">
|
||||
<input type="hidden" name="cible" value="dossier">
|
||||
|
||||
<table width="100%" cellpadding="5" cellspacing="0">
|
||||
<tr class="claire">
|
||||
<th class="designation" width="140">Title</th>
|
||||
<th><input name="titreseo" type="text" class="form_long" value="<?php echo $seo->titre; ?>"/></th>
|
||||
</tr>
|
||||
<tr class="fonce">
|
||||
<td class="designation">Description</td>
|
||||
<td><textarea cols="50" rows="14" name="metadesc" id="metadesc"><?php echo $seo->metadesc; ?></textarea></td>
|
||||
</tr>
|
||||
<!--<tr class="claire">
|
||||
<td class="designation">Keywords</td>
|
||||
<td><textarea cols="50" rows="4" name="metakeywords" /><?php echo $seo->metakeywords; ?></textarea></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr class="fonce">
|
||||
<td class="designation">Meta Description</td>
|
||||
<td><textarea cols="50" rows="4" name="metadesc"/><?php echo $seo->metadesc; ?></textarea></td>
|
||||
</tr>
|
||||
<tr class="claire">
|
||||
<td class="designation">Domaine</td>
|
||||
<td><textarea cols="50" rows="4" name="domaine" /><?php echo $seo->domaine; ?></textarea></td>
|
||||
</tr>
|
||||
<tr class="fonce">
|
||||
<td class="designation">Divers</td>
|
||||
<td><textarea cols="50" rows="4" name="divers" /><?php echo $seo->divers; ?></textarea></td>
|
||||
</tr>-->
|
||||
</table>
|
||||
|
||||
|
||||
<div class="bloc_fleche" style="cursor:pointer" onclick="$('#pliantseo').hide();"><img src="gfx/fleche_accordeon_up.gif" /></div>
|
||||
</div>
|
||||
|
||||
<? } ?>
|
||||
46
www/backup/client/plugins/seo/seo_admin_pre.php
Normal file
46
www/backup/client/plugins/seo/seo_admin_pre.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
include_once(realpath(dirname(__FILE__)) . "/../../../fonctions/authplugins.php");
|
||||
|
||||
autorisation("seo");
|
||||
|
||||
include_once(realpath(dirname(__FILE__)) . "/Seo.class.php");
|
||||
include_once(realpath(dirname(__FILE__)) . "/../../../classes/Produit.class.php");
|
||||
|
||||
if(isset($_POST["cible"])){
|
||||
|
||||
$cible = "charger_".$_POST["cible"];
|
||||
$ciblecourt = $_POST["cible"];
|
||||
if(isset($_REQUEST["ref"])){
|
||||
$produit = new Produit();
|
||||
$produit->charger($_REQUEST["ref"]);
|
||||
$id = $produit->id;
|
||||
}
|
||||
else{
|
||||
$id = $_REQUEST["id"];
|
||||
}
|
||||
$seo = new Seo();
|
||||
if($seo->$cible($id,$_REQUEST["lang"])){
|
||||
$seo->description = $_POST["descriptionseo"];
|
||||
$seo->titre = $_POST["titreseo"];
|
||||
$seo->metakeywords = $_POST["metakeywords"];
|
||||
$seo->metadesc = $_POST["metadesc"];
|
||||
$seo->domaine = $_POST["domaine"];
|
||||
$seo->divers = $_POST["divers"];
|
||||
$seo->lang = $_REQUEST["lang"];
|
||||
$seo->maj();
|
||||
}
|
||||
else{
|
||||
$seo->$ciblecourt = $id;
|
||||
$seo->description = $_POST["descriptionseo"];
|
||||
$seo->titre = $_POST["titreseo"];
|
||||
$seo->metakeywords = $_POST["metakeywords"];
|
||||
$seo->metadesc = $_POST["metadesc"];
|
||||
$seo->domaine = $_POST["domaine"];
|
||||
$seo->divers = $_POST["divers"];
|
||||
$seo->lang = $_REQUEST["lang"];
|
||||
$seo->add();
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
53
www/backup/client/plugins/seo/seo_admin_produitmodifier.php
Normal file
53
www/backup/client/plugins/seo/seo_admin_produitmodifier.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
include_once(realpath(dirname(__FILE__)) . "/../../../fonctions/authplugins.php");
|
||||
|
||||
autorisation("seo");
|
||||
|
||||
include_once(realpath(dirname(__FILE__)) . "/Seo.class.php");
|
||||
include_once(realpath(dirname(__FILE__)) . "/../../../classes/Produit.class.php");
|
||||
|
||||
if(!isset($_REQUEST["lang"])) $lang=1;
|
||||
else $lang = $_REQUEST["lang"];
|
||||
|
||||
$produit = new Produit();
|
||||
$produit->charger($_REQUEST["ref"]);
|
||||
$seo = new Seo();
|
||||
$seo->charger_produit($produit->id,$lang);
|
||||
?>
|
||||
|
||||
<div class="entete">
|
||||
<div class="titre" style="cursor:pointer" onclick="$('#pliantseo').show('slow');">MODULE SEO</div>
|
||||
</div>
|
||||
<div id="pliantseo">
|
||||
<input type="hidden" name="cible" value="produit">
|
||||
<table width="100%" cellpadding="5" cellspacing="0">
|
||||
<tr class="claire">
|
||||
<td class="designation" width="140">Titre SEO</td>
|
||||
<td><input name="titreseo" type="text" class="form_long" value="<?php echo $seo->titre; ?>"/></td>
|
||||
</tr>
|
||||
<tr class="fonce">
|
||||
<td class="designation">Description SEO</td>
|
||||
<td><textarea cols="50" rows="14" name="descriptionseo" id="descriptionseo"><?php echo $seo->description; ?> </textarea></td>
|
||||
</tr>
|
||||
<tr class="claire">
|
||||
<td class="designation">Meta Keywords</td>
|
||||
<td><textarea cols="50" rows="4" name="metakeywords" /><?php echo $seo->metakeywords; ?></textarea></td>
|
||||
</tr>
|
||||
<tr class="fonce">
|
||||
<td class="designation">Meta Description</td>
|
||||
<td><textarea cols="50" rows="4" name="metadesc" /><?php echo $seo->metadesc; ?></textarea></td>
|
||||
</tr>
|
||||
<tr class="claire">
|
||||
<td class="designation">Domaine</td>
|
||||
<td><textarea cols="50" rows="4" name="domaine" /><?php echo $seo->domaine; ?></textarea></td>
|
||||
</tr>
|
||||
<tr class="fonce">
|
||||
<td class="designation">Divers</td>
|
||||
<td><textarea cols="50" rows="4" name="divers" /><?php echo $seo->divers; ?></textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<div class="bloc_fleche" style="cursor:pointer" onclick="$('#pliantseo').hide();"><img src="gfx/fleche_accordeon_up.gif" /></div>
|
||||
</div>
|
||||
49
www/backup/client/plugins/seo/seo_admin_rubriquemodifier.php
Normal file
49
www/backup/client/plugins/seo/seo_admin_rubriquemodifier.php
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
include_once(realpath(dirname(__FILE__)) . "/../../../fonctions/authplugins.php");
|
||||
|
||||
autorisation("seo");
|
||||
|
||||
include_once(realpath(dirname(__FILE__)) . "/Seo.class.php");
|
||||
if(!isset($_REQUEST["lang"])) $lang=1;
|
||||
else $lang = $_REQUEST["lang"];
|
||||
|
||||
$seo = new Seo();
|
||||
$seo->charger_rubrique($_REQUEST["id"],$lang);
|
||||
?>
|
||||
|
||||
<div class="entete">
|
||||
<div class="titre" style="cursor:pointer" onclick="$('#pliantseo').show('slow');">MODULE SEO</div>
|
||||
</div>
|
||||
<div id="pliantseo">
|
||||
<input type="hidden" name="cible" value="rubrique">
|
||||
<table width="100%" cellpadding="5" cellspacing="0">
|
||||
<tr class="claire">
|
||||
<td class="designation" width="140">Titre SEO</td>
|
||||
<td><input name="titreseo" type="text" class="form_long" value="<?php echo $seo->titre; ?>"/></td>
|
||||
</tr>
|
||||
<tr class="fonce">
|
||||
<td class="designation">Description SEO</td>
|
||||
<td><textarea cols="50" rows="14" name="descriptionseo" id="descriptionseo"><?php echo $seo->description; ?> </textarea></td>
|
||||
</tr>
|
||||
<tr class="claire">
|
||||
<td class="designation">Meta Keywords</td>
|
||||
<td><textarea cols="50" rows="4" name="metakeywords" /><?php echo $seo->metakeywords; ?></textarea></td>
|
||||
</tr>
|
||||
<tr class="fonce">
|
||||
<td class="designation">Meta Description</td>
|
||||
<td><textarea cols="50" rows="4" name="metadesc" /><?php echo $seo->metadesc; ?></textarea></td>
|
||||
</tr>
|
||||
<tr class="claire">
|
||||
<td class="designation">Domaine</td>
|
||||
<td><textarea cols="50" rows="4" name="domaine" /><?php echo $seo->domaine; ?></textarea></td>
|
||||
</tr>
|
||||
<tr class="fonce">
|
||||
<td class="designation">Divers</td>
|
||||
<td><textarea cols="50" rows="4" name="divers" /><?php echo $seo->divers; ?></textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<div class="bloc_fleche" style="cursor:pointer" onclick="$('#pliantseo').hide();"><img src="gfx/fleche_accordeon_up.gif" /></div>
|
||||
</div>
|
||||
89
www/backup/client/plugins/seo/tinymce.php
Normal file
89
www/backup/client/plugins/seo/tinymce.php
Normal file
@@ -0,0 +1,89 @@
|
||||
<?php
|
||||
/*************************************************************************************/
|
||||
/* */
|
||||
/* Thelia */
|
||||
/* */
|
||||
/* Copyright (c) Octolys Development */
|
||||
/* email : thelia@octolys.fr */
|
||||
/* web : http://www.octolys.fr */
|
||||
/* */
|
||||
/* 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. */
|
||||
/* */
|
||||
/* This program is distributed in the hope that it will be useful, */
|
||||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
|
||||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
|
||||
/* GNU General Public License for more details. */
|
||||
/* */
|
||||
/* You should have received a copy of the GNU General Public License */
|
||||
/* along with this program; if not, write to the Free Software */
|
||||
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
/* */
|
||||
/*************************************************************************************/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
include_once("../classes/Variable.class.php");
|
||||
$style_chem = new Variable();
|
||||
$style_chem->charger("style_chem");
|
||||
?>
|
||||
|
||||
<script language="javascript" type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
tinyMCE.init({
|
||||
language : "fr",
|
||||
mode : "exact",
|
||||
elements : "descriptionseo",
|
||||
theme : "advanced",
|
||||
plugins : "safari,spellchecker,pagebreak,format,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager,filemanager",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,|,image,link,unlink,code,undo,redo",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "left",
|
||||
theme_advanced_statusbar_location : "bottom",
|
||||
file_browser_callback : "fileBrowserCallBack",
|
||||
content_css : "<?php echo $style_chem->valeur ?>",
|
||||
theme_advanced_resizing : true,
|
||||
|
||||
|
||||
template_external_list_url : "js/template_list.js",
|
||||
external_link_list_url : "js/link_list.js",
|
||||
external_image_list_url : "js/image_list.js",
|
||||
media_external_list_url : "js/media_list.js"
|
||||
|
||||
});
|
||||
|
||||
function fileBrowserCallBack(field_name, url, type, win) {
|
||||
var connector = "../../filemanager/browser.html?Connector=connectors/php/connector.php";
|
||||
var enableAutoTypeSelection = true;
|
||||
|
||||
var cType;
|
||||
tinymcpuk_field = field_name;
|
||||
tinymcpuk = win;
|
||||
|
||||
switch (type) {
|
||||
case "image":
|
||||
cType = "Image";
|
||||
break;
|
||||
case "flash":
|
||||
cType = "Flash";
|
||||
break;
|
||||
case "file":
|
||||
cType = "File";
|
||||
break;
|
||||
}
|
||||
|
||||
if (enableAutoTypeSelection && cType) {
|
||||
connector += "&Type=" + cType;
|
||||
}
|
||||
|
||||
window.open(connector, "tiny_mce", "modal,width=600,height=400");
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user