summaryrefslogtreecommitdiffstats
path: root/system/application/models/file_mod.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-10-19 20:58:50 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-10-19 20:58:50 +0200
commitc7f25783afc80db404d2e20b9af4740d0a6c9b6b (patch)
treeb1c23046b2e75214da43a86bae3a5517a574fd2b /system/application/models/file_mod.php
parenta46463da67d84b9a45803f2d2cdcf10a93db54c7 (diff)
remove name attribute
not XHTML compatible Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/models/file_mod.php')
-rw-r--r--system/application/models/file_mod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php
index 91cf1d8e0..b93aab354 100644
--- a/system/application/models/file_mod.php
+++ b/system/application/models/file_mod.php
@@ -210,7 +210,7 @@ class File_mod extends Model {
} else {
echo '<td class="numbers"><pre>';
// generate line numbers (links)
- passthru('/usr/bin/perl -ne \'print "<a href=\"#n$.\" class=\"no\" id=\"n$.\" name=\"n$.\">$.</a>\n"\' '.escapeshellarg($file));
+ passthru('/usr/bin/perl -ne \'print "<a href=\"#n$.\" class=\"no\" id=\"n$.\">$.</a>\n"\' '.escapeshellarg($file));
echo '</pre></td><td class="code">'."\n";
$this->load->library('geshi');
$this->geshi->initialize(array('set_language' => $mode, 'set_source' => file_get_contents($file), 'enable_classes' => 'true'));