e107_plugins/download/includes/admin.php
File admin.php
has 2005 lines of code (exceeds 2000 allowed). Consider refactoring. Open
Open
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2017 e107 Inc (e107.org)
Avoid deeply nested control flow statements. Open
Open
if (!$foundSome)
{
// $text .= $rs->form_open("post", e_SELF."?".e_QUERY, "myform");
$text .= '<form method="post" action="'.e_SELF.'?'.e_QUERY.'" id="myform">
Avoid deeply nested control flow statements. Open
Open
if ($filesize <> $row['download_filesize']) {
if (!$foundSome) {
// $text .= $rs->form_open("post", e_SELF."?".e_QUERY, "myform");
$text .= '<form method="post" action="'.e_SELF.'?'.e_QUERY.'" id="myform">
<table class="table adminlist">';
Variable $download_sef
is undeclared (Did you mean $download_url) Open
Open
".$frm->renderElement('download_sef',$download_sef, array('type'=>'text', 'writeParms'=>array('sef'=>'download_name','size'=>'xxlarge')))."
- Exclude checks
Reference to undeclared constant \DOWLAN_143
Open
Open
'mirror/create' => array('caption'=> DOWLAN_143, 'perm' => 'P'),
- Exclude checks
array to string
comparison Open
Open
if ($subAction == 'edit')
- Exclude checks
array to int
comparison Open
Open
if($count > 0)
- Exclude checks
Call to undeclared method \e_admin_ui::getDownloadCategoryTree
Open
Open
return e107::getParser()->toHTML($controller->getDownloadCategoryTree($curVal), false, 'TITLE');
- Exclude checks
Reference to undeclared constant \DOWLAN_112
Open
Open
'main/limits' => array('caption'=> DOWLAN_112, 'perm' => 'P'),
- Exclude checks
Assigning string
to property but \download_main_admin_ui->filterQry
is \Custom
Open
Open
$this->filterQry = $this->missingFiles();
- Exclude checks
Assigning 'SELECT * FROM \x60#download\x60 WHERE download_category=0'
to property but \download_main_admin_ui->filterQry
is \Custom
Open
Open
$this->filterQry = "SELECT * FROM `#download` WHERE download_category=0";
- Exclude checks
Method \download_main_admin_ui::createPage
is declared to return string
but has no return value Open
Open
function createPage()
- Exclude checks
Call to undeclared method \download_main_admin_ui::batchImportForm
Open
Open
$this->batchImportForm();
- Exclude checks
Variable $row
is undeclared Open
Open
$filets = (is_readable(e_DOWNLOAD.$row['download_url']) ? $gen->convert_date(filectime(e_DOWNLOAD.$file['fname']), "long") : DOWLAN_181);
- Exclude checks
Variable $download_mirror_type
is undeclared Open
Open
<input type='radio' name='download_mirror_type' value='0'".(!$download_mirror_type ? " checked='checked'" : "")."/> ".DOWLAN_157."
- Exclude checks
Call to undeclared method \e_admin_ui::getDownloadCategoryTree
Open
Open
return $this->select('download_category_parent', $controller->getDownloadCategoryTree(), $curVal);
- Exclude checks
Assigning string
to property but \download_main_admin_ui->filterQry
is \Custom
Open
Open
$this->filterQry = $this->missingFiles('filesize');
- Exclude checks
Static call to undeclared method \download::makeMirrorArray
Open
Open
$mirrorArray = download::makeMirrorArray($row['download_mirror'], TRUE);
- Exclude checks
array to string
comparison Open
Open
if ($subAction == "dlm" && !$_POST['submit'])
- Exclude checks
Variable $download_keywords
is undeclared Open
Open
<td style='width:80%'>".$frm->tags('download_keywords',$download_keywords)."
- Exclude checks
Variable $mirror_id
is undeclared Open
Open
<input type='image' title='".LAN_DELETE."' name='delete[mirror_{$mirror_id}]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm('".DOWLAN_137." [ID: $mirror_id ]')\"/>
- Exclude checks
Reference to undeclared constant \ADMIN_WARNING_ICON
Open
Open
$status = array(ADMIN_FALSE_ICON,ADMIN_TRUE_ICON,ADMIN_WARNING_ICON);
- Exclude checks
Variable $mirror_id
is undeclared Open
Open
".($edit ? "<input class='btn btn-default btn-secondary button' type='submit' name='submit_mirror' value='".DOWLAN_142."'/><input type='hidden' name='id' value='{$mirror_id}'/>" : "<input class='btn button' type='submit' name='submit_mirror' value='".DOWLAN_143."'/>")."
- Exclude checks
Reference to undeclared constant \ADMIN_DELETE_ICON_PATH
Open
Open
<input type="image" title="'.LAN_DELETE.'" name="delete[main_'.$row["download_id"].']" src="'.ADMIN_DELETE_ICON_PATH.'" onclick=\'return jsconfirm('. $this->getJsConfirm($row["download_id"]) .') \'/>
- Exclude checks
Variable $download_mirror_type
is undeclared Open
Open
<input type='radio' name='download_mirror_type' value='1'".($download_mirror_type ? " checked='checked'" : "")."/> ".DOWLAN_156."<br/>
- Exclude checks
Variable $mirror_name
is undeclared Open
Open
<td style='width: 30%;'>".$tp -> toHTML($mirror_name)."</td>
- Exclude checks
Variable $mirror_image
is undeclared Open
Open
unset($mirror_name, $mirror_url, $mirror_image, $mirror_location, $mirror_description);
- Exclude checks
Reference to undeclared constant \ADMIN_TRUE_ICON
Open
Open
$status = array(ADMIN_FALSE_ICON,ADMIN_TRUE_ICON,ADMIN_WARNING_ICON);
- Exclude checks
Reference to undeclared constant \LAN_PLUGIN_DOWNLOAD_NAME
Open
Open
protected $menuTitle = LAN_PLUGIN_DOWNLOAD_NAME;
- Exclude checks
Returning type array{caption:'Help',text:string}
but renderHelp()
is declared to return string
Open
Open
return array('caption' => LAN_HELP, 'text' => $help_text);
- Exclude checks
Assigning int
to property but \download_main_admin_ui->id
is string
Open
Open
$this->id = $this->getId(); // vartrue($_GET['id']);
- Exclude checks
Variable $limitList
was undeclared, but array fields are being added to it. Open
Open
$limitList[$row['limit_classnum']] = $row;
- Exclude checks
Reference to undeclared constant \ADMIN_EDIT_ICON
Open
Open
<a href="'.e_SELF.'?create.edit.'.$row["download_id"].'.maint.duplicates">'.ADMIN_EDIT_ICON.'</a>
- Exclude checks
Variable $kb_sel
is undeclared Open
Open
<option value='KB'{$kb_sel}>".CORE_LAN_KB."</option>
- Exclude checks
array to string
comparison Open
Open
if ($subAction == "edit" && !defined("SUBMITTED"))
- Exclude checks
Assigning string
to property but \download_main_admin_ui->subAction
is array{}
Open
Open
$this->subAction = $this->getAction(); // vartrue($_GET['action']);
- Exclude checks
Variable $mirror_description
is undeclared Open
Open
unset($mirror_name, $mirror_url, $mirror_image, $mirror_location, $mirror_description);
- Exclude checks
Assigning array<string></string>
to property but \download_cat_ui->fields
is array{checkboxes:array{title:'',type:null,width:'5%',forced:true,thclass:'center',class:'center'},download_category_icon:array{title:'Icon',type:'method',width:'5%',thclass:'center',class:'center',writeParms:'glyphs=1'},download_category_id:array{title:'ID',type:'number',width:'5%',forced:true,readParms:'link=sef&target=blank'},download_category_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',thclass:'left',writeParms:'size=xxlarge'},download_category_sef:array{title:'SEF URL',type:'text',data:'str',batch:true,inline:true,width:'auto',thclass:'left',writeParms:'sef=download_category_name&size=xxlarge'},download_category_description:array{title:'Description',type:'bbarea',data:'str',width:'30%',readParms:'expand=...&truncate=50&bb=1'},download_category_parent:array{title:'Parent',type:'method',width:'5%',batch:true,filter:true},download_category_class:array{title:'Visibility',type:'userclass',inline:true,width:'auto',data:'int',batch:true,filter:true},download_category_order:array{title:'Order',type:'number',nolist:true,data:'int',width:'5%',thclass:'right',class:'right'},options:array{title:'Options',type:null,width:'10%',forced:true,thclass:'center last',class:'center',sort:1}}
Open
Open
$this->fields['download_category_order']['nolist'] = false;
- Exclude checks
Assigning string
to property but \download_main_admin_ui->filterQry
is \Custom
Open
Open
$this->filterQry = "SELECT GROUP_CONCAT(d.download_id SEPARATOR ',') as gc, d.download_id, d.download_name, d.download_url, dc.download_category_name
- Exclude checks
Reference to undeclared constant \ADMIN_DELETE_ICON_PATH
Open
Open
<input type="image" title="'.LAN_DELETE.'" name="delete[main_'.$row["download_id"].']" src="'.ADMIN_DELETE_ICON_PATH.'" onclick=\'return jsconfirm('. $this->getJsConfirm($row["download_id"]) .') \'/>
- Exclude checks
Variable $e107
is undeclared Open
Open
$filesize = (is_readable(e_DOWNLOAD.$row['download_url']) ? $e107->parseMemorySize(filesize(e_DOWNLOAD.$file['fname'])) : DOWLAN_181);
- Exclude checks
Variable $row
is undeclared Open
Open
$filesize = (is_readable(e_DOWNLOAD.$row['download_url']) ? $e107->parseMemorySize(filesize(e_DOWNLOAD.$file['fname'])) : DOWLAN_181);
- Exclude checks
Reference to undeclared constant \ADMIN_DELETE_ICON_PATH
Open
Open
<input type="image" title="'.LAN_DELETE.'" name="delete[main_'.$row["download_id"].']" src="'.ADMIN_DELETE_ICON_PATH.'" onclick=\'return jsconfirm('. $this->getJsConfirm($row["download_id"]) .') \'/>
- Exclude checks
Variable $b_sel
is undeclared Open
Open
<option value='B'{$b_sel}>".CORE_LAN_B."</option>
- Exclude checks
Variable $mirror_url
is undeclared Open
Open
<input class='form-control input-xxlarge' type='text' name='mirror_url' size='70' value='{$mirror_url}' maxlength='255'/>
- Exclude checks
Reference to undeclared constant \LAN_DL_BROKENDOWNLOADSREPORTS
Open
Open
'broken/list' => array('caption'=> LAN_DL_BROKENDOWNLOADSREPORTS, 'perm' => 'P'),
- Exclude checks
Call to undeclared method \e_admin_ui::getDownloadCategoryTree
Open
Open
return $controller->getDownloadCategoryTree();
- Exclude checks
Variable $download_comment
is undeclared Open
Open
if ($download_comment == "0") {
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$mirrorList = $sql -> db_getList();
- Exclude checks
Variable $mirror_id
is undeclared Open
Open
<td style='width: 10%; text-align: center;'>$mirror_id</td>
- Exclude checks
Variable $mirror_image
is undeclared Open
Open
<input class='form-control input-xxlarge' type='text' id='mirror_image' name='mirror_image' size='60' value='{$mirror_image}' maxlength='200'/>
- Exclude checks
Reference to undeclared constant \DOWLAN_128
Open
Open
'mirror/list' => array('caption'=> DOWLAN_128, 'perm' => 'P'),
- Exclude checks
Assigning string
to property but \download_main_admin_ui->action
is array{}
Open
Open
$this->action = $this->getMode(); // vartrue($_GET['mode']);
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$classList = $sql->db_getList();
- Exclude checks
Variable $download_datestamp
is undeclared Open
Open
if (!$download_datestamp){
- Exclude checks
Variable $download_class
is undeclared Open
Open
<td style='width:80%'>".r_userclass('download_class', $download_class, 'off', 'public, nobody, member, admin, classes, language')."</td>
- Exclude checks
Variable $mirror_url
is undeclared Open
Open
unset($mirror_name, $mirror_url, $mirror_image, $mirror_location, $mirror_description);
- Exclude checks
Reference to undeclared constant \ADMIN_VIEW_ICON
Open
Open
$text .= "<a class='btn btn-default' href='".e_SELF."?mode=main&action=edit&id=". $download_id."'>".ADMIN_VIEW_ICON."</a>";
- Exclude checks
Assigning array<string></string>
to property but \download_main_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:true,class:'center',toggle:'e-multiselect'},download_id:array{title:'ID',type:'text',data:'int',width:'5%',thclass:'',forced:true,readParms:'url=item&target=blank',primary:true},download_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',thclass:''},download_url:array{title:'File',type:'url',data:'str',width:'auto',thclass:'',batch:true,filter:true},download_sef:array{title:'SEF URL',type:'text',inline:true,data:'str',width:'auto',thclass:'',batch:true,filter:true,writeParms:'sef=download_name'},download_keywords:array{title:'Keywords',type:'tags',inline:true,data:'str',width:'auto',thclass:''},download_author:array{title:'Author',type:'user',data:'str',width:'auto',thclass:'left'},download_author_email:array{title:'Author Email',type:'email',data:'str',width:'auto',thclass:'left'},download_author_website:array{title:'Author Website',type:'url',data:'str',width:'auto',thclass:'left'},download_description:array{title:'Description',type:'bbarea',width:'30%',readParms:'expand=...&truncate=50&bb=1'},download_filesize:array{title:'Filesize',type:'text',data:'str',width:'auto',thclass:'right',class:'right'},download_requested:array{title:'Requested',type:'text',data:'str',width:'auto',thclass:'right',class:'right'},download_category:array{title:'Category',type:'dropdown',width:'auto',inline:true,batch:true,filter:true},download_active:array{title:'Status',type:'method',data:'int',width:'5%',thclass:'center',class:'center',batch:true,filter:true,noedit:true},download_datestamp:array{title:'Date',type:'datestamp',data:'int',width:'auto',thclass:'',readParms:'long',writeParms:''},download_thumb:array{title:'Thumbnail image',type:'image',data:'str',width:'100px',thclass:'center',class:'center',readParms:'thumb=60&thumb_urlraw=0&thumb_aw=60&legacyPath=\x7be_FILE\x7ddownloadthumbs',writeParms:'media=download_image',readonly:true},download_image:array{title:'Main image',type:'image',data:'str',width:'100px',thclass:'center',class:'center',readParms:'thumb=60&thumb_urlraw=0&thumb_aw=60&legacyPath=\x7be_FILE\x7ddownloadimages',writeParms:'media=download_image',readonly:true,batch:false,filter:false},download_comment:array{title:'Allow Comments?',type:'boolean',data:'int',width:'5%',thclass:'center',batch:true,filter:true,noedit:true},download_class:array{title:'Userclass',type:'userclass',width:'auto',inline:true,data:'int',batch:true,filter:true},download_visible:array{title:'Visibility',type:'userclass',inline:true,width:'auto',data:'int',batch:true,filter:true},download_mirror:array{title:'Mirrors',type:'text',data:'str',width:'10%',thclass:'center'},download_mirror_type:array{title:'Mirror type',type:'method',data:'str',width:'10%',thclass:'center'},issue:array{title:'Issue',type:'method',data:null,nolist:true,noedit:true,filter:true},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:true}}
Open
Open
$this->fields['download_category']['readParms'] = $categories;
- Exclude checks
Reference to undeclared constant \ADMIN_EDIT_ICON
Open
Open
<a href="'.e_SELF.'?create.edit.'.$row["download_id"].'.maint.nocategory">'.ADMIN_EDIT_ICON.'</a>
- Exclude checks
Variable $download_status
was undeclared, but array fields are being added to it. Open
Open
$download_status[0] = DOWLAN_122;
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$mirrorList = $sql -> db_getList(); // Get the list of possible mirrors
- Exclude checks
Variable $download_thumb
is undeclared Open
Open
$text .= $frm->imagepicker('download_thumb', $download_thumb,'',array('media'=>'download_thumb', 'legacyPath'=>'{e_FILE}downloadthumbs'));
- Exclude checks
Variable $download_visible
is undeclared Open
Open
<td style='width:80%'>".r_userclass('download_visible', $download_visible, 'off', 'public, nobody, member, admin, classes, language')."</td>
- Exclude checks
Variable $mirror_name
is undeclared Open
Open
unset($mirror_name, $mirror_url, $mirror_image, $mirror_location, $mirror_description);
- Exclude checks
Variable $mirror_location
is undeclared Open
Open
unset($mirror_name, $mirror_url, $mirror_image, $mirror_location, $mirror_description);
- Exclude checks
Variable $gen
is undeclared Open
Open
$filets = (is_readable(e_DOWNLOAD.$row['download_url']) ? $gen->convert_date(filectime(e_DOWNLOAD.$file['fname']), "long") : DOWLAN_181);
- Exclude checks
Reference to undeclared constant \ADMIN_EDIT_ICON
Open
Open
<a href="'.e_SELF.'?create.edit.'.$row["download_id"].'.maint.inactive">'.ADMIN_EDIT_ICON.'</a>
- Exclude checks
Reference to undeclared constant \ADMIN_DELETE_ICON_PATH
Open
Open
<input type="image" title="'.LAN_DELETE.'" name="delete[main_'.$row["download_id"].']" src="'.ADMIN_DELETE_ICON_PATH.'" onclick=\'return jsconfirm('. $this->getJsConfirm($row["download_id"]) .') \'/>
- Exclude checks
Variable $mirror_name
is undeclared Open
Open
$text .= "<option value='{$mirror_id}'".($mirror_id == $mirrorArray[($count-1)]['id'] ? " selected='selected'" : "").">{$mirror_name}</option>\n";
- Exclude checks
Argument 4 (sc_parameters)
is array{media:'download_thumb',legacyPath:'\x7be_FILE\x7ddownloadthumbs'}
but \e_form::imagepicker()
takes string
defined at /code/e107_handlers/form_handler.php:1349
Open
Open
$text .= $frm->imagepicker('download_thumb', $download_thumb,'',array('media'=>'download_thumb', 'legacyPath'=>'{e_FILE}downloadthumbs'));
- Exclude checks
Variable $mirror_location
is undeclared Open
Open
<input class='form-control' type='text' name='mirror_location' size='60' value='$mirror_location' maxlength='200'/>
- Exclude checks
Reference to undeclared constant \ADMIN_EDIT_ICON
Open
Open
<a href="'.e_SELF.'?create.edit.'.$row["download_id"].'.maint.missing">'.ADMIN_EDIT_ICON.'</a>
- Exclude checks
Reference to undeclared constant \ADMIN_DELETE_ICON_PATH
Open
Open
<input type="image" title="'.LAN_DELETE.'" name="delete[main_'.$row["download_id"].']" src="'.ADMIN_DELETE_ICON_PATH.'" onclick=\'return jsconfirm('. $this->getJsConfirm($row["download_id"]) .') \'/>
- Exclude checks
Argument 4 (sc_parameters)
is array{media:'download_image',legacyPath:'\x7be_FILE\x7ddownloadimages'}
but \e_form::imagepicker()
takes string
defined at /code/e107_handlers/form_handler.php:1349
Open
Open
$text .= $frm->imagepicker('download_image', $download_image,'',array('media'=>'download_image', 'legacyPath'=>'{e_FILE}downloadimages'));
- Exclude checks
Call to undeclared method \download_main_admin_ui::show_message
Open
Open
$this->show_message($mess);
- Exclude checks
Variable $mirror_image
is undeclared Open
Open
<td style='width: 30%;'>".($mirror_image ? "<img src='".e_FILE."downloadimages/".$mirror_image."' alt=''/>" : LAN_NONE)."</td>
- Exclude checks
Reference to undeclared constant \ADMIN_DELETE_ICON_PATH
Open
Open
<input type='image' title='".LAN_DELETE."' name='delete[mirror_{$mirror_id}]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm('".DOWLAN_137." [ID: $mirror_id ]')\"/>
- Exclude checks
Static call to undeclared method \download::makeMirrorArray
Open
Open
$mirrorArray = download::makeMirrorArray($row['download_mirror'], TRUE);
- Exclude checks
Variable $mirror_id
is undeclared Open
Open
$text .= "<option value='{$mirror_id}'".($mirror_id == $mirrorArray[($count-1)]['id'] ? " selected='selected'" : "").">{$mirror_name}</option>\n";
- Exclude checks
Assigning array<string></string>
to property but \download_main_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:true,class:'center',toggle:'e-multiselect'},download_id:array{title:'ID',type:'text',data:'int',width:'5%',thclass:'',forced:true,readParms:'url=item&target=blank',primary:true},download_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',thclass:''},download_url:array{title:'File',type:'url',data:'str',width:'auto',thclass:'',batch:true,filter:true},download_sef:array{title:'SEF URL',type:'text',inline:true,data:'str',width:'auto',thclass:'',batch:true,filter:true,writeParms:'sef=download_name'},download_keywords:array{title:'Keywords',type:'tags',inline:true,data:'str',width:'auto',thclass:''},download_author:array{title:'Author',type:'user',data:'str',width:'auto',thclass:'left'},download_author_email:array{title:'Author Email',type:'email',data:'str',width:'auto',thclass:'left'},download_author_website:array{title:'Author Website',type:'url',data:'str',width:'auto',thclass:'left'},download_description:array{title:'Description',type:'bbarea',width:'30%',readParms:'expand=...&truncate=50&bb=1'},download_filesize:array{title:'Filesize',type:'text',data:'str',width:'auto',thclass:'right',class:'right'},download_requested:array{title:'Requested',type:'text',data:'str',width:'auto',thclass:'right',class:'right'},download_category:array{title:'Category',type:'dropdown',width:'auto',inline:true,batch:true,filter:true},download_active:array{title:'Status',type:'method',data:'int',width:'5%',thclass:'center',class:'center',batch:true,filter:true,noedit:true},download_datestamp:array{title:'Date',type:'datestamp',data:'int',width:'auto',thclass:'',readParms:'long',writeParms:''},download_thumb:array{title:'Thumbnail image',type:'image',data:'str',width:'100px',thclass:'center',class:'center',readParms:'thumb=60&thumb_urlraw=0&thumb_aw=60&legacyPath=\x7be_FILE\x7ddownloadthumbs',writeParms:'media=download_image',readonly:true},download_image:array{title:'Main image',type:'image',data:'str',width:'100px',thclass:'center',class:'center',readParms:'thumb=60&thumb_urlraw=0&thumb_aw=60&legacyPath=\x7be_FILE\x7ddownloadimages',writeParms:'media=download_image',readonly:true,batch:false,filter:false},download_comment:array{title:'Allow Comments?',type:'boolean',data:'int',width:'5%',thclass:'center',batch:true,filter:true,noedit:true},download_class:array{title:'Userclass',type:'userclass',width:'auto',inline:true,data:'int',batch:true,filter:true},download_visible:array{title:'Visibility',type:'userclass',inline:true,width:'auto',data:'int',batch:true,filter:true},download_mirror:array{title:'Mirrors',type:'text',data:'str',width:'10%',thclass:'center'},download_mirror_type:array{title:'Mirror type',type:'method',data:'str',width:'10%',thclass:'center'},issue:array{title:'Issue',type:'method',data:null,nolist:true,noedit:true,filter:true},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:true}}
Open
Open
$this->fields['download_category']['writeParms'] = $categories;
- Exclude checks
Reference to undeclared constant \ADMIN_EDIT_ICON
Open
Open
<a href="'.e_SELF.'?create.edit.'.$row["download_id"].'.maint.filesize">'.ADMIN_EDIT_ICON.'</a>
- Exclude checks
Reference to undeclared constant \ADMIN_EDIT_ICON
Open
Open
<a href='".e_SELF."?mirror.edit.{$mirror_id}'>".ADMIN_EDIT_ICON."</a>
- Exclude checks
Variable $mirror_id
is undeclared Open
Open
<a href='".e_SELF."?mirror.edit.{$mirror_id}'>".ADMIN_EDIT_ICON."</a>
- Exclude checks
Variable $mirror_name
is undeclared Open
Open
<input class='form-control input-xxlarge' type='text' name='mirror_name' size='60' value='{$mirror_name}' maxlength='200'/>
- Exclude checks
Variable $mirror_description
is undeclared Open
Open
$text .= $frm->bbarea('mirror_description',$mirror_description);
- Exclude checks
Variable $download_status
was undeclared, but array fields are being added to it. Open
Open
$download_status[0] = DOWLAN_122; // Inactive;
- Exclude checks
Reference to undeclared constant \ADMIN_FALSE_ICON
Open
Open
$status = array(ADMIN_FALSE_ICON,ADMIN_TRUE_ICON,ADMIN_WARNING_ICON);
- Exclude checks