git-svn-id: https://192.168.0.254/svn/Proyectos.MatritumCantat_Web/trunk@2 8e3496fd-7892-4c45-be36-0ff06e9dacc6
45 lines
1.5 KiB
PHP
45 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* DOCman 1.4.x - Joomla! Document Manager
|
|
* @version $Id: upload.link.html.php 765 2009-01-05 20:55:57Z mathias $
|
|
* @package DOCman_1.4
|
|
* @copyright (C) 2003-2009 Joomlatools
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
|
|
* @link http://www.joomlatools.eu/ Official website
|
|
**/
|
|
defined('_VALID_MOS') or die('Restricted access');
|
|
|
|
if (defined('_DOCMAN_METHOD_LINK_HTML')) {
|
|
return;
|
|
} else {
|
|
define('_DOCMAN_METHOD_LINK_HTML', 1);
|
|
}
|
|
|
|
class HTML_DMUploadMethod
|
|
{
|
|
function linkFileForm($lists)
|
|
{
|
|
ob_start();
|
|
?>
|
|
<form action="<?php echo sefRelToAbs($lists['action']) ;?>" method="post" id="dm_frmupload" class="dm_form">
|
|
<fieldset class="input">
|
|
<p><label for="url"><?php echo _DML_REMOTEURL;?></label><br />
|
|
<input name="url" type="text" id="url" value="<?php /*echo $parms['url'];*/ ?>" />
|
|
<?php echo DOCMAN_Utils::mosToolTip(_DML_LINKURLTT . '</span>' , _DML_REMOTEURL . ':');?></p>
|
|
</fieldset>
|
|
<fieldset class="dm_button">
|
|
<input name="submit" id="dm_btn_back" class="button" value="<?php echo _DML_BACK;?>" onclick="window.history.back()" type="button" >
|
|
<input name="submit" id="dm_btn_submit" class="button" value="<?php echo _DML_LINK;?>" type="submit" />
|
|
</fieldset>
|
|
<input type="hidden" name="method" value="link" />
|
|
<?php echo DOCMAN_token::render();?>
|
|
</form>
|
|
<?php
|
|
$html = ob_get_contents();
|
|
ob_end_clean();
|
|
|
|
return $html;
|
|
}
|
|
}
|
|
|