Project

General

Profile

Bug #2167 ยป 2167.patch

krileon, 25 January 2011 19:41

View differences:

administrator/components/com_comprofiler/admin.comprofiler.html.php
global $_CB_Backend_Title;
$_CB_Backend_Title = array( 0 => array( 'cbicon-48-plugins', htmlspecialchars( CBTxt::T('CB Plugin Manager') ) . ' <small><small> &nbsp;&nbsp;&nbsp;&nbsp; <a href="#install">' . htmlspecialchars( CBTxt::T('Install Plugin') ) . '</a></small></small>' ) );
$p_startdir=$_CB_framework->getCfg('absolute_path')."/components/com_comprofiler/plugin/";
HTML_comprofiler::_saveOrderJs( 'savepluginorder' );
ob_start();
?>
......
<tr>
<td align="left">
<?php echo htmlspecialchars( CBTxt::T('Install directory') ); ?>:&nbsp;
<input type="text" name="userfile" class="text_area" size="65" value="<?php echo $p_startdir; ?>"/>&nbsp;
<input type="text" name="userfile" class="text_area" size="65" value=""/>&nbsp;
<input type="button" class="button" value="<?php echo htmlspecialchars( CBTxt::T('Install') ); ?>" onclick="submitbutton3()" />
</td>
</tr>
......
<tr>
<td align="left">
<?php echo htmlspecialchars( CBTxt::T('Installation package URL') ); ?>:&nbsp;
<input type="text" name="userfile" class="text_area" size="65" value="http://www.joomlapolis.com/plugins/"/>&nbsp;
<input type="text" name="userfile" class="text_area" size="65" value=""/>&nbsp;
<input class="button" type="submit" value="<?php echo htmlspecialchars( CBTxt::T('Download Package & Install') ); ?>" />
</td>
</tr>
    (1-1/1)