Code Search for Developers
 
 
  

insert_link.php from Group-Office groupware at Krugle


Show insert_link.php syntax highlighted

<?php
/**
 * @copyright Intermesh 2003
 * @author Merijn Schering <mschering@intermesh.nl>
 * @version $Revision: 1.1 $ $Date: 2006/06/12 14:55:09 $

 * 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.
 */

require_once('../../Group-Office.php');

$path = smart_addslashes($_REQUEST['path']);
$url = str_replace($GO_CONFIG->local_path, $GO_CONFIG->local_url, $path);
?>
<html>
<head>
<script type="text/javascript" language="javascript">
function _insertHyperlink(url, name)
{
  window.opener.SetUrl(url, "", "", name);
  window.close();
}
</script>
</head>
<body onload="javascript:_insertHyperlink('<?php echo $url; ?>','<?php echo basename($path); ?>');">
</body>
</html>




See more files for this project here

Group-Office groupware

Group-Office is a powerfull modular Internet/Intranet application framework. It features calendaring, project management, e-mail, tasks, addressbook, file management.

Project homepage: http://sourceforge.net/projects/group-office
Programming language(s): JavaScript,Pascal,PHP
License: other

  classes/
    cms.class.inc
    cms_site.class.inc
  components/
    contactform-big.php
    contactform-formal.php
    contactform-simple.php
    register.php
    select.php
  flags/
    de.gif
    dk.gif
    en.gif
    es.gif
    fr.gif
    it.gif
    nl.gif
    no.gif
    pt.gif
    se.gif
  language/
    bg.inc
    ca.inc
    da.inc
    de.inc
    en.inc
    es.inc
    fi.inc
    fr.inc
    hu.inc
    it.inc
    ja.inc
    nl.inc
    no.inc
    pt-br.inc
    pt.inc
    ru.inc
    sl.inc
    sv.inc
    th.inc
    tr.inc
    zh-tw.inc
    zh_TW_big5.inc
  plugins/
    dialog/
      comments.php
      contact.php
      gallery.php
      search.php
      users.php
    account.class.inc
    comments.class.inc
    contact.class.inc
    gallery.class.inc
    search.class.inc
    userfield.class.inc
    users.class.inc
  sql/
    12.inc
    13.inc
    16.inc
    17.inc
    cms.install.sql
    cms.uninstall.sql
    cms.updates.inc
    convert_utf8.php
  themes/
    Default/
      images/
        move_top.png
        move_up.png
      images.inc
  add_file.inc
  add_folder.inc
  add_site.php
  browse.php
  download.php
  edit.php
  fckconfig.js
  fckstyles.php
  files.inc
  index.php
  index.php.move
  insert_link.php
  listview.inc
  module.info
  select.php
  select_file.php
  select_plugin.php
  site.php
  stylesheet.php
  template.inc
  template.php
  template_file.php
  template_item.php
  templates.php
  treeview.inc
  view.inc
  view.php