Ejemplo n.º 1
0
 function htmlshifter($klikit, $str = false)
 {
     global $browsers, $__lang, $tmplext;
     $string = gethatmpl($klikit, "index");
     if (!isset($_GET['cat']) || $_GET['cat'] == '') {
         $_GET['cat'] = 1;
     }
     if (!isset($_GET['ele'])) {
         if (!isset($_GET['fn'])) {
             $_GET['fn'] = '';
         }
         $_GET['ele'] = $_GET['fn'];
     }
     $arr[0] = '{langtag}';
     $arr[1] = dir_ls($GLOBALS['__the_cwd'] . "/" . $GLOBALS['_cfg']['folders']['language']);
     $arr[1] = $arr[1]['fd'];
     $langarr = getlanghtml($arr);
     $strraw[0] = ele_content($klikit);
     if (!isset($mmv)) {
         $mmv = '';
     }
     if (!isset($mmh)) {
         $mmh = '';
     }
     $strraw[1] = str_replace(array("{ext:ajaxurlvar:ension}"), array($GLOBALS['_cfg']['global']['ajax_urlvar']), guilang(str_replace(array("{ext:currentwd:ension}", "{ext:wwwroot:ension}", "{ext:def_request_folder:ension}", "{ext:mimemodesftlog:ension}", "{ext:colorshizzle:ension}", "{ext:language:ension}", "{ext:browsers:ension}", "{ext:memohori:ension}", "{ext:memoverti:ension}", "{ext:cat:ension}", "{ext:rawele_name:ension}", "{ext:ele_name:ension}", "{ext:cat_loop:ension}", "{ext:ele_loop:ension}", "{ext:cat_loop_sel:ension}", "{ext:inputtags:ension}", "{ext:inputtagsext:ension}"), array($GLOBALS['currentwd'], $GLOBALS['WIMPY_BASE']['path']['www'], urlencode(htmlentities($GLOBALS['_cfg']['global']['default_request_folder'])), editormimemode($GLOBALS['_cfg']['ext_links']), gethatmpl(0, "colors"), $langarr, getbrowsershtml($browsers), $mmh, $mmv, $_GET['cat'], htmlentities($_GET['ele']), urlencode(htmlentities($_GET['ele'])), getcathtml($klikit), getclixele($klikit, htmlentities($_GET['cat'])), getcathtml($klikit, "cat_sel"), gethatmpl(0, "inputtags"), gethatmpl(0, "inputtags" . $GLOBALS['current_extlink'])), $string), $__lang));
     # $strraw[1]=make_object(guilang(make_object(), $__lang), $guicfg, $hex);
     return $strraw;
 }
Ejemplo n.º 2
0
// +-----------------------------------------------------------------------+
// | Copyright (C) 2008, http://yoursite                                   |
// +-----------------------------------------------------------------------+
// | This file 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 file 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.                          |
// +-----------------------------------------------------------------------+
// | Author: pFa                                                           |
// +-----------------------------------------------------------------------+
//
/*
 * 	Developped by Bart Bosma 2007
 *	Released under GPL license
 */
#required file for loader.php and core_clients/editor/vars.php
$browsers[""] = "Copy";
$browsers["suffix1"] = "suffix1";
#$browsers["_ie"]="MSIE";
#$browsers["_oa"]="Opera";
#echo $_SERVER['HTTP_USER_AGENT'];die();
#if (!isset($manualbrowsersloading)){
return getbrowsershtml($browsers);
#}
?>