[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [11931] property: urlencode
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [11931] property: urlencode |
Date: |
Wed, 30 Apr 2014 13:21:07 +0000 |
Revision: 11931
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11931
Author: sigurdne
Date: 2014-04-30 13:21:06 +0000 (Wed, 30 Apr 2014)
Log Message:
-----------
property: urlencode
Modified Paths:
--------------
trunk/property/inc/class.uientity.inc.php
Modified: trunk/property/inc/class.uientity.inc.php
===================================================================
--- trunk/property/inc/class.uientity.inc.php 2014-04-30 07:43:10 UTC (rev
11930)
+++ trunk/property/inc/class.uientity.inc.php 2014-04-30 13:21:06 UTC (rev
11931)
@@ -332,7 +332,7 @@
{
$content_files[] = array
(
- 'file_name' => '<a
href="'.$GLOBALS['phpgw']->link('/index.php',$link_file_data).'&file_name='.$_entry['name'].'"
target="_blank" title="'.lang('click to view
file').'">'.$_entry['name'].'</a>',
+ 'file_name' => '<a
href="'.$GLOBALS['phpgw']->link('/index.php',$link_file_data).'&file_name='.urlencode($_entry['name']).'"
target="_blank" title="'.lang('click to view
file').'">'.$_entry['name'].'</a>',
'delete_file' => '<input
type="checkbox" name="values[file_action][]" value="'.$_entry['name'].'"
title="'.lang('Check to delete file').'">'
);
}
@@ -2151,7 +2151,7 @@
$content_files = array();
for($z=0; $z<count($values['files']); $z++)
{
- $content_files[$z]['file_name'] = '<a
href="'.$GLOBALS['phpgw']->link('/index.php',$link_file_data).'&file_name='.$values['files'][$z]['name'].'"
target="_blank" title="'.lang('click to view
file').'">'.$values['files'][$z]['name'].'</a>';
+ $content_files[$z]['file_name'] = '<a
href="'.$GLOBALS['phpgw']->link('/index.php',$link_file_data).'&file_name='.urlencode($values['files'][$z]['name']).'"
target="_blank" title="'.lang('click to view
file').'">'.$values['files'][$z]['name'].'</a>';
if($mode == 'edit')
{
$content_files[$z]['delete_file'] =
'<input type="checkbox" name="values[file_action][]"
value="'.$values['files'][$z]['name'].'" title="'.lang('Check to delete
file').'">';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [11931] property: urlencode,
Sigurd Nes <=