diff --git a/e107_plugins/download/admin_download.php b/e107_plugins/download/admin_download.php index 500678edc..3735a1476 100644 --- a/e107_plugins/download/admin_download.php +++ b/e107_plugins/download/admin_download.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_plugins/download/admin_download.php,v $ -| $Revision: 1.2 $ -| $Date: 2009-07-15 00:15:01 $ +| $Revision: 1.3 $ +| $Date: 2009-07-15 00:48:09 $ | $Author: bugrain $ +----------------------------------------------------------------------------+ */ @@ -340,7 +340,7 @@ if ($action == 'maint') while($row = $sql->db_Fetch()) { if (!$foundSome) { $text .= $rs->form_open("post", e_SELF."?".e_QUERY, "myform"); - $text .= ''; + $text .= '
'; $text .= ''; $text .= ''; $text .= ''; @@ -358,14 +358,14 @@ if ($action == 'maint') while($row = $sql2->db_Fetch()) { $text .= ''; if ($currentURL != $row['download_url']) { - $text .= ''; + $text .= ''; $currentURL = $row['download_url']; } else { $text .= ''; } $text .= ''; - $text .= "'; - $text .= ''; + $text .= "'; + $text .= ''; $text .= '
'.DOWLAN_13.''.DOWLAN_67.'
'.$row['download_url'].''.$e107->tp->toHTML($row['download_url']).'*'.$row['download_id'].'".$row['download_name'].''.$row['download_category_name'].'".$e107->tp->toHTML($row['download_name']).''.$e107->tp->toHTML($row['download_category_name']).' '.ADMIN_EDIT_ICON.' toJS(DOWLAN_33.' [ID: '.$row["download_id"].' ]').'") \'/> @@ -395,7 +395,7 @@ if ($action == 'maint') if (0 == $sql->db_Count('download', '(*)', " WHERE download_url='".$file['fname']."'")) { if (!$foundSome) { $text .= $rs->form_open("post", e_SELF."?".e_QUERY, "myform"); - $text .= ''; + $text .= '
'; $text .= ''; $text .= ''; $text .= ''; @@ -407,14 +407,14 @@ if ($action == 'maint') $filesize = (is_readable(e_DOWNLOAD.$row['download_url']) ? $e107->parseMemorySize(filesize(e_DOWNLOAD.$file['fname'])) : DOWLAN_181); $filets = (is_readable(e_DOWNLOAD.$row['download_url']) ? $gen->convert_date(filectime(e_DOWNLOAD.$file['fname']), "long") : DOWLAN_181); $text .= ''; - $text .= ''; + $text .= ''; $text .= ''; $text .= ''; //TODO $text .= ''; - //TODO $text .= ''; + $text .= ''; } } if ($foundSome) { @@ -438,7 +438,7 @@ if ($action == 'maint') if (!is_readable(e_DOWNLOAD.$row['download_url'])) { if (!$foundSome) { $text .= $rs->form_open("post", e_SELF."?".e_QUERY, "myform"); - $text .= '
'.DOWLAN_13.''.DOWLAN_182.'
'.$file['fname'].''.$e107->tp->toHTML($file['fname']).''.$filets.''.$filesize.' //TODO '.E_16_CREATE.' //TODO toJS(DOWLAN_173.' [ '.$file["fname"].' ]').'") \'/> //TODO
'; + $text .= '
'; $text .= ''; $text .= ''; $text .= ''; @@ -450,9 +450,9 @@ if ($action == 'maint') } $text .= ''; $text .= ''; - $text .= "'; - $text .= ''; - $text .= ''; + $text .= "'; + $text .= ''; + $text .= ''; $text .= '
'.DOWLAN_67.''.DOWLAN_27.'
'.$row['download_id'].'".$row['download_name'].''.$row['download_category_name'].''.$row['download_url'].'".$e107->tp->toHTML($row['download_name']).''.$e107->tp->toHTML($row['download_category_name']).''.$e107->tp->toHTML($row['download_url']).' '.ADMIN_EDIT_ICON.' toJS(DOWLAN_33.' [ID: '.$row["download_id"].' ]').'") \'/> @@ -481,7 +481,7 @@ if ($action == 'maint') while($row = $sql->db_Fetch()) { if (!$foundSome) { $text .= $rs->form_open("post", e_SELF."?".e_QUERY, "myform"); - $text .= ''; + $text .= '
'; $text .= ''; $text .= ''; $text .= ''; @@ -493,8 +493,8 @@ if ($action == 'maint') } $text .= ''; $text .= ''; - $text .= "'; - $text .= ''; + $text .= "'; + $text .= ''; if (strlen($row['download_url']) > 0) { $text .= ''; } else { @@ -532,7 +532,7 @@ if ($action == 'maint') while($row = $sql->db_Fetch()) { if (!$foundSome) { $text .= $rs->form_open("post", e_SELF."?".e_QUERY, "myform"); - $text .= '
'.DOWLAN_67.''.DOWLAN_27.'
'.$row['download_id'].'".$row['download_name'].''.$row['download_category_name'].'".$e107->tp->toHTML($row['download_name']).''.$e107->tp->toHTML($row['download_category_name']).''.$row['download_url'].'
'; + $text .= '
'; $text .= ''; $text .= ''; $text .= ''; @@ -543,9 +543,9 @@ if ($action == 'maint') } $text .= ''; $text .= ''; - $text .= "'; + $text .= "'; if (strlen($row['download_url']) > 0) { - $text .= ''; + $text .= ''; } else { $mirrorArray = download::makeMirrorArray($row['download_mirror'], TRUE); $text .= '
'.DOWLAN_67.''.DOWLAN_27.'
'.$row['download_id'].'".$row['download_name'].'".$e107->tp->toHTML($row['download_name']).''.$row['download_url'].''.$e107->tp->toHTML($row['download_url']).''; @@ -584,7 +584,7 @@ if ($action == 'maint') if ($filesize <> $row['download_filesize']) { if (!$foundSome) { $text .= $rs->form_open("post", e_SELF."?".e_QUERY, "myform"); - $text .= ''; + $text .= '
'; $text .= ''; $text .= ''; $text .= ''; @@ -597,9 +597,9 @@ if ($action == 'maint') } $text .= ''; $text .= ''; - $text .= "'; - $text .= ''; - $text .= ''; + $text .= "'; + $text .= ''; + $text .= ''; $text .= '';
'.DOWLAN_67.''.DOWLAN_27.'
'.$row['download_id'].'".$row['download_name'].''.$row['download_category_name'].''.$row['download_url'].'".$e107->tp->toHTML($row['download_name']).''.$e107->tp->toHTML($row['download_category_name']).''.$e107->tp->toHTML($row['download_url']).''.$row['download_filesize'].' / '; $text .= $filesize; $text .= '