1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 05:02:02 +02:00

Merge pull request #1107 from MikeyGMT/master

Replaced ADMSLAN_4 with LAN_CONTINUE
This commit is contained in:
Cameron 2015-07-02 12:50:44 -07:00
commit b06aab269b
61 changed files with 338 additions and 309 deletions

View File

@ -160,14 +160,14 @@ class admin_log_ui extends e_admin_ui
'dblog_user_id' => array ( 'title' => LAN_USER, 'type' => 'user', 'data' => 'int', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms'=>'link=1', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'dblog_eventcode' => array ( 'title' => RL_LAN_023, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'dblog_title' => array ( 'title' => RL_LAN_025, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'dblog_title' => array ( 'title' => LAN_TITLE, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'dblog_remarks' => array ( 'title' => RL_LAN_033, 'type' => 'method', 'data' => 'str', 'width' => '35%', 'filter'=>true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'options' => array ( 'title' => 'Options', 'type' => null, 'nolist'=>true, 'data' => null, 'width' => '10%', 'thclass' => 'center last', 'class' => 'center last', 'forced' => '1', ),
);
protected $fieldpref = array( 'dblog_datestamp', 'dblog_type', 'dblog_eventcode', 'dblog_user_id', 'dblog_ip', 'dblog_title', 'dblog_remarks');
//'adminlog' => array(RL_LAN_019, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, RL_LAN_025, RL_LAN_033),
//'adminlog' => array(RL_LAN_019, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, LAN_TITLE, RL_LAN_033),
protected $prefs = array(
@ -1357,11 +1357,11 @@ if(isset($page_title[$action]))
'comments' => array(14, 7, 7, 7, 14, 3, 10, 12, 5, 17, 1, 1, 1),
'online' => array(18, 15, 7, 14, 32, 6, 4, 4));
$col_titles = array(
'adminlog' => array(RL_LAN_019, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, RL_LAN_025, RL_LAN_033),
'auditlog' => array(RL_LAN_019, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, RL_LAN_025, RL_LAN_033),
'rolllog' => array(RL_LAN_019, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, RL_LAN_024, RL_LAN_025, RL_LAN_033),
'adminlog' => array(RL_LAN_019, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, LAN_TITLE, RL_LAN_033),
'auditlog' => array(RL_LAN_019, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, LAN_TITLE, RL_LAN_033),
'rolllog' => array(RL_LAN_019, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, RL_LAN_024, LAN_TITLE, RL_LAN_033),
'downlog' => array(RL_LAN_019, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_068, RL_LAN_069),
'detailed' => array(LAN_TIME, RL_LAN_096, RL_LAN_098, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, RL_LAN_025, RL_LAN_033),
'detailed' => array(LAN_TIME, RL_LAN_096, RL_LAN_098, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, LAN_TITLE, RL_LAN_033),
'online' => array(RL_LAN_019, RL_LAN_020, LAN_ID, LAN_USER, RL_LAN_116, RL_LAN_117, RL_LAN_118, RL_LAN_116));

View File

@ -83,7 +83,7 @@ if (isset($_POST['del_admin']) && count($_POST['del_admin']))
{ // Can't delete main admin
$text = $row['user_name']." ".ADMSLAN_6."
<br /><br />
<a href='".e_ADMIN_ABS."administrator.php'>".ADMSLAN_4."</a>";
<a href='".e_ADMIN_ABS."administrator.php'>".LAN_CONTINUE."</a>";
$mes->addError($text);
$ns->tablerender(LAN_ERROR, $mes->render());

View File

@ -159,7 +159,7 @@ class page_chapters_ui extends e_admin_ui
'chapter_template' => array('title'=> LAN_TEMPLATE, 'type' => 'dropdown', 'width' => 'auto','filter' => true, 'batch'=>true, 'inline'=>true, 'writeParms'=>''),
'chapter_meta_description' => array('title'=> LAN_DESCRIPTION, 'type' => 'textarea', 'width' => 'auto', 'thclass' => 'left','readParms' => 'expand=...&truncate=150&bb=1', 'readonly'=>FALSE),
'chapter_meta_keywords' => array('title'=> CUSLAN_54, 'type' => 'tags', 'inline'=>true, 'width' => 'auto', 'thclass' => 'left', 'readonly'=>FALSE),
'chapter_meta_keywords' => array('title'=> LAN_KEYWORDS, 'type' => 'tags', 'inline'=>true, 'width' => 'auto', 'thclass' => 'left', 'readonly'=>FALSE),
'chapter_sef' => array('title'=> LAN_SEFURL, 'type' => 'text', 'width' => 'auto', 'readonly'=>FALSE, 'inline'=>true, 'writeParms'=>'size=xxlarge&inline-empty=1'), // Display name
'chapter_manager' => array('title'=> CUSLAN_55, 'type' => 'userclass', 'inline'=>true, 'width' => 'auto', 'data' => 'int','batch'=>TRUE, 'filter'=>TRUE),
'chapter_order' => array('title'=> LAN_ORDER, 'type' => 'text', 'width' => 'auto', 'thclass' => 'right', 'class'=> 'right' ),
@ -485,7 +485,7 @@ class page_admin_ui extends e_admin_ui
'page_class' => array('title'=> LAN_VISIBILITY, 'tab' => 1, 'type' => 'userclass', 'data'=>'int', 'inline'=>true, 'width' => 'auto', 'filter' => true, 'batch' => true),
'page_rating_flag' => array('title'=> LAN_RATING, 'tab' => 1, 'type' => 'boolean', 'data'=>'int', 'width' => '5%', 'thclass' => 'center', 'class' => 'center' ),
'page_comment_flag' => array('title'=> ADLAN_114, 'tab' => 1, 'type' => 'boolean', 'data'=>'int', 'width' => '5%', 'thclass' => 'center', 'class' => 'center' ),
'page_password' => array('title'=> LAN_PAGE_9, 'tab' => 1, 'type' => 'text', 'data'=>'str', 'width' => 'auto', 'writeParms'=>array('password'=>1, 'nomask'=>1, 'size' => 40, 'class' => 'tbox e-password', 'generate' => 1, 'strength' => 1, 'required'=>0)),
'page_password' => array('title'=> LAN_PASSWORD, 'tab' => 1, 'type' => 'text', 'data'=>'str', 'width' => 'auto', 'writeParms'=>array('password'=>1, 'nomask'=>1, 'size' => 40, 'class' => 'tbox e-password', 'generate' => 1, 'strength' => 1, 'required'=>0)),
'page_sef' => array('title'=> LAN_SEFURL, 'tab' => 1, 'type' => 'text', 'inline'=>true, 'width' => 'auto', 'writeParms'=>'size=xxlarge'),
'page_metakeys' => array('title'=> LAN_KEYWORDS, 'tab' => 1, 'type' => 'tags', 'width' => 'auto'),
'page_metadscr' => array('title'=> CUSLAN_11, 'tab' => 1, 'type' => 'text', 'width' => 'auto', 'writeParms'=>'size=xxlarge'),

View File

@ -1869,7 +1869,7 @@ function verify_sql_record() // deprecated by db_verify.php ( i think).
<thead>
<tr>
<th>".DBLAN_41."</th>
<th>".DBLAN_42."</th>
<th>".LAN_ID."</th>
<th>".DBLAN_43."</th>
<th class='center last'>".LAN_OPTIONS."</th>
</tr>

View File

@ -2289,7 +2289,7 @@ class media_admin_ui extends e_admin_ui
<th class='center'>".LAN_FILE."</th>
<th>".IMALAN_115."</th>
<th>".IMALAN_116."</th>
<th>".IMALAN_117."</th>
<th>".LAN_AUTHOR."</th>
<th>".IMALAN_118."</th>
<th>".IMALAN_119."</th>
<th>".LAN_DATESTAMP."</th>

View File

@ -287,9 +287,9 @@ class mailout_main_ui extends e_admin_ui
'mail_source_id' => array('title' => LAN_MAILOUT_137, 'width' =>'5%', 'thclass' => 'center', 'class'=>'center', 'forced' => TRUE),
'mail_selectors' => array('title' => LAN_MAILOUT_03, 'type'=>'method', 'data'=>false, 'nolist' => true, 'writeParms'=>'nolabel=0'),
'mail_title' => array('title' => LAN_MAILOUT_135, 'type'=>'text', 'forced' => TRUE, 'data'=>'str', 'inline'=>true, 'writeParms'=>'size=xxlarge&required=1', 'help'=>'whatever'),
'mail_title' => array('title' => LAN_TITLE, 'type'=>'text', 'forced' => TRUE, 'data'=>'str', 'inline'=>true, 'writeParms'=>'size=xxlarge&required=1', 'help'=>'whatever'),
'mail_sender_name' => array('title' => LAN_MAILOUT_150, 'type'=>'method', 'data'=>false),
'mail_sender_email' => array('title' => LAN_MAILOUT_149,'type'=>'method','data'=>false),
'mail_sender_email' => array('title' => LAN_ID,'type'=>'method','data'=>false),
'mail_copy_to' => array('title' => LAN_MAILOUT_151,'tab'=>1, 'type'=>'method','data'=>false),
'mail_bcopy_to' => array('title' => LAN_MAILOUT_152,'tab'=>1, 'type'=>'method','data'=>false),
'mail_subject' => array('title' => LAN_MAILOUT_06, 'type'=>'text', 'forced' => TRUE,'data'=>'str', 'inline'=>true, 'writeParms'=>'size=xxlarge&required=1'),

View File

@ -869,13 +869,13 @@ class e_layout
$text .= "<a href='#' class='menuOption menu-btn menu-btn-mini menu-btn-danger deleteMenu pull-right' data-area='area-".$area."' data-delete='".$uniqueId."'>&times;</a>"; // $('.hello').remove();
$text .= '<a class="menuOption e-menumanager-option menu-btn pull-right" data-modal-caption="'.MENLAN_20.'" href="'.$visibilityLink.'" title="'.MENLAN_20.'"><i class="icon-search"></i></a>';
$text .= '<a class="menuOption e-menumanager-option menu-btn pull-right" data-modal-caption="'.LAN_VISIBILITY.'" href="'.$visibilityLink.'" title="'.LAN_VISIBILITY.'"><i class="icon-search"></i></a>';
/*
$text .= '<span class="menu-options-buttons">
<a class="e-menumanager-option menu-btn" data-modal-caption="'.MENLAN_20.'" href="'.$visibilityLink.'" title="'.MENLAN_20.'"><i class="S16 e-search-16"></i></a>';
<a class="e-menumanager-option menu-btn" data-modal-caption="'.LAN_VISIBILITY.'" href="'.$visibilityLink.'" title="'.LAN_VISIBILITY.'"><i class="S16 e-search-16"></i></a>';
if($conf)
{

View File

@ -156,7 +156,7 @@ else
</tr>";
}
$text .= "
<tr><td colspan='5' class='fcaption'>".MDCLAN_10."</td></tr>
<tr><td colspan='5' class='fcaption'>".LAN_OPTIONS."</td></tr>
<tr>
<td class='forumheader3' style='text-align:right' colspan='4'>".MDCLAN_14.":</td>
<td style='width:25%;' class='forumheader3'>

View File

@ -219,7 +219,7 @@ class pluginManager{
"plugin_folder" => array("title" => EPL_ADLAN_64, "type"=>"text", "width" => "10%", "thclass" => "middle"),
"plugin_category" => array("title" => LAN_CATEGORY, "type"=>"text", "width" => "auto", "thclass" => "middle"),
"plugin_author" => array("title" => EPL_ADLAN_12, "type"=>"text", "width" => "10%", "thclass" => "middle"),
"plugin_author" => array("title" => LAN_AUTHOR, "type"=>"text", "width" => "10%", "thclass" => "middle"),
"plugin_license" => array("title" => "License", 'nolist'=>true, "forced"=>true, "type"=>"text", "width" => "5%", "thclass" => "left"),
// "plugin_price" => array("title" => "Price", 'nolist'=>true, "forced"=>true, "type"=>"text", "width" => "5%", "thclass" => "left"),
"plugin_compatible" => array("title" => EPL_ADLAN_13, "type"=>"text", "width" => "5%", "thclass" => "middle"),
@ -2946,7 +2946,7 @@ TEMPLATE;
"number" => EPL_ADLAN_182,
"dropdown" => EPL_ADLAN_183,
"userclass" => EPL_ADLAN_184,
"datestamp" => EPL_ADLAN_185,
"datestamp" => LAN_DATE,
"method" => EPL_ADLAN_186,
"hidden" => EPL_ADLAN_187,
"user" => EPL_ADLAN_188,

View File

@ -93,7 +93,7 @@ else
</td>
</tr>
<tr>
<td>".UDALAN_5.":</td>
<td>".LAN_PASSWORD.":</td>
<td>".$frm->password('a_password','',20,'generate=1&strength=1')."
</td>

View File

@ -79,12 +79,12 @@ class upload_ui extends e_admin_ui
'upload_poster' => array ( 'title' => UPLLAN_5, 'type' => 'user', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'upload_email' => array ( 'title' => LAN_EMAIL, 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'upload_website' => array ( 'title' => LAN_URL, 'type' => 'url', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'upload_version' => array ( 'title' => UPLLAN_9, 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'upload_version' => array ( 'title' => LAN_VERSION, 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'upload_file' => array ( 'title' => LAN_FILE, 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', 'validate' => true ),
'upload_ss' => array ( 'title' => 'Ss', 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'upload_description' => array ( 'title' => LAN_DESCRIPTION, 'type' => 'textarea', 'data' => 'str', 'width' => '40%', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'upload_demo' => array ( 'title' => UPLLAN_14, 'type' => 'url', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'upload_filesize' => array ( 'title' => UPLLAN_11, 'type' => 'hidden', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'upload_filesize' => array ( 'title' => LAN_SIZE, 'type' => 'hidden', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'upload_active' => array ( 'title' => LAN_STATUS, 'type' => 'method', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => array('singleOption' => true), 'class' => 'center', 'thclass' => 'center', 'batch' => true),
'upload_category' => array ( 'title' => LAN_CATEGORY, 'type' => 'dropdown', 'data' => 'int', 'width' => 'auto', 'batch' => true, 'filter' => true, 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'left', 'thclass' => 'left', 'validate' => true ),
'options' => array ( 'title' => LAN_OPTIONS, 'type' => '', 'data' => '', 'width' => '10%', 'thclass' => 'center last', 'class' => 'center last', 'forced' => '1', ),
@ -240,7 +240,7 @@ class upload_ui extends e_admin_ui
$uploadPath = e_UPLOAD;
if(!file_exists($uploadPath.$upload['upload_file']))
{
$this->getModel()->addValidationError(UPLLAN_65);
$this->getModel()->addValidationError(LAN_FILE_NOT_FOUND);
return false;
}
$downloadPath = $media->importFile($upload['upload_file'], 'download_file', $uploadPath.$upload['upload_file'], array('media_caption' => $upload['upload_name']));
@ -256,7 +256,7 @@ class upload_ui extends e_admin_ui
$imagePath = $media->importFile($upload['upload_ss'], '_common_image', $uploadPath.$upload['upload_ss'], array('media_caption' => $upload['upload_name'].' '.LAN_PREVIEW));
}
$author = $upload['upload_poster'] ? e107::getSystemUser($upload['upload_poster'])->getRealName() : UPLLAN_67;
$author = $upload['upload_poster'] ? e107::getSystemUser($upload['upload_poster'])->getRealName() : LAN_ANONYMOUS;
$dl = array(
'download_name' => $upload['upload_name'],
@ -467,7 +467,7 @@ if (isset($_POST['optionsubmit']))
$temp['upload_enabled'] = (FILE_UPLOADS ? $_POST['upload_enabled'] : 0);
if ($temp['upload_enabled'] && !$sql->db_Select("links", "*", "link_url='upload.php' "))
{
$sql->db_Insert("links", "0, '".UPLLAN_44."', 'upload.php', '', '', 1,0,0,0,0");
$sql->db_Insert("links", "0, '".LAN_UPLOAD."', 'upload.php', '', '', 1,0,0,0,0");
}
if (!$temp['upload_enabled'] && $sql->db_Select("links", "*", "link_url='upload.php' "))
@ -503,7 +503,7 @@ switch ($action)
case 'filetypes' :
if(!getperms('0')) exit;
$definition_source = UPLLAN_58;
$definition_source = LAN_DEFAULT;
$source_file = '';
$edit_upload_list = varset($_POST['upload_do_edit'],FALSE);
@ -530,7 +530,7 @@ switch ($action)
$text = '';
$text .= '<br />'.UPLLAN_59.e_UPLOAD_TEMP_DIR.e_SAVE_FILETYPES.'. '.UPLLAN_60.e_ADMIN.e_READ_FILETYPES.'<br />';
}
$ns->tablerender(UPLLAN_49, $text);
$ns->tablerender(LAN_FILETYPES, $text);
}
@ -584,10 +584,10 @@ switch ($action)
<td class='forumheader3' colspan='4'>".UPLLAN_57.$source_file."</td>
</tr>
<tr>
<td class='fcaption'>".UPLLAN_53."</td>
<td class='fcaption'>".LAN_USERCLASS."</td>
<td class='fcaption'>".UPLLAN_54."</td>
<td class='fcaption' style='text-align:center'>".UPLLAN_55."</td>
<td class='fcaption' style='text-align:center'>".UPLAN_DELETE."</td>
<td class='fcaption' style='text-align:center'>".LAN_DELETE."</td>
</tr>";
foreach ($current_perms as $uclass => $uinfo)
{
@ -620,7 +620,7 @@ switch ($action)
</table></form>
</div>";
$ns->tablerender(UPLLAN_49, $text);
$ns->tablerender(LAN_FILETYPES, $text);
break;
case 'options' :
@ -651,7 +651,7 @@ switch ($action)
</tr>
<tr>
<td colspan='2' class='forumheader' style='text-align:center'>". $rs->form_button("submit", "optionsubmit", UPLLAN_39)."
<td colspan='2' class='forumheader' style='text-align:center'>". $rs->form_button("submit", "optionsubmit", LAN_SUBMIT)."
</td>
</tr>
</table>". $rs->form_close()."
@ -678,7 +678,7 @@ switch ($action)
</colgroup>
<tr>
<td class='forumheader3'>".UPLLAN_3."</td>
<td class='forumheader3'>".LAN_ID."</td>
<td class='forumheader3'>{$upload_id}</td>
</tr>
@ -703,32 +703,32 @@ switch ($action)
</tr>
<tr>
<td class='forumheader3'>".UPLLAN_8."</td>
<td class='forumheader3'>".LAN_FILE_NAME."</td>
<td class='forumheader3'>".($upload_name ? $upload_name: " - ")."</td>
</tr>
<tr>
<td class='forumheader3'>".UPLLAN_9."</td>
<td class='forumheader3'>".LAN_VERSION."</td>
<td class='forumheader3'>".($upload_version ? $upload_version : " - ")."</td>
</tr>
<tr>
<td class='forumheader3'>".UPLLAN_10."</td>
<td class='forumheader3'>".LAN_FILE."</td>
<td class='forumheader3'>".(is_numeric($upload_file) ? "Binary file ID ".$upload_file : "<a href='".e_SELF."?dl.{$upload_file}'>$upload_file</a>")."</td>
</tr>
<tr>
<td class='forumheader3'>".UPLLAN_11."</td>
<td class='forumheader3'>".LAN_SIZE."</td>
<td class='forumheader3'>".$e107->parseMemorySize($upload_filesize)."</td>
</tr>
<tr>
<td class='forumheader3'>".UPLLAN_12."</td>
<td class='forumheader3'>".LAN_SCREENSHOT."</td>
<td class='forumheader3'>".($upload_ss ? "<a href='".e_BASE."request.php?upload.".$upload_id."'>".$upload_ss."</a>" : " - ")."</td>
</tr>
<tr>
<td class='forumheader3'>".UPLLAN_13."</td>
<td class='forumheader3'>".LAN_DESCRIPTION."</td>
<td class='forumheader3'>{$upload_description}</td>
</tr>
@ -763,13 +763,13 @@ switch ($action)
<col style='width:50px;white-space:nowrap' />
</colgroup>
<tr>
<td class='fcaption'>".UPLLAN_22."</td>
<td class='fcaption'>".LAN_ID."</td>
<td class='fcaption'>".LAN_DATE."</td>
<td class='fcaption'>".UPLLAN_5."</td>
<td class='fcaption'>".UPLLAN_23."</td>
<td class='fcaption'>".UPLLAN_8."</td>
<td class='fcaption'>".UPLLAN_35."</td>
<td class='fcaption'>".UPLLAN_42."</td>
<td class='fcaption'>".LAN_NAME."</td>
<td class='fcaption'>".LAN_FILE_NAME."</td>
<td class='fcaption'>".LAN_SIZE."</td>
<td class='fcaption'>".LAN_ACTIONS."</td>
</tr>";
$text .= "<tr><td class='forumheader3' style='text-align:center' colspan='6'>";
@ -810,7 +810,7 @@ switch ($action)
}
$text .= "</table>\n</div>";
$ns->tablerender(UPLLAN_43, $text);
$ns->tablerender(LAN_UPLOADS, $text);
} // end - switch($action)
@ -826,15 +826,15 @@ function upload_adminmenu()
if(getperms("0"))
{
$var['filetypes']['text'] = UPLLAN_49;
$var['filetypes']['text'] = LAN_FILETYPES;
$var['filetypes']['link'] = e_SELF."?filetypes";
$var['filetypes']['perm'] = "0";
$var['options']['text'] = UPLLAN_50;
$var['options']['text'] = LAN_OPTIONS;
$var['options']['link'] = e_SELF."?options";
$var['options']['perm'] = "0";
}
show_admin_menu(UPLLAN_43, $action, $var);
show_admin_menu(LAN_UPLOADS, $action, $var);
}

View File

@ -1427,7 +1427,7 @@ class users_admin_ui extends e_admin_ui
//if (isset($_POST['generatepassword']))
{
$mes->addSuccess(USRLAN_62.': <strong>'.htmlspecialchars($savePassword, ENT_QUOTES, CHARSET).'</strong>');
$mes->addSuccess(LAN_PASSWORD.': <strong>'.htmlspecialchars($savePassword, ENT_QUOTES, CHARSET).'</strong>');
}
return;
}
@ -1482,7 +1482,7 @@ class users_admin_ui extends e_admin_ui
</tr>
<tr>
<td>".USRLAN_62."</td>
<td>".LAN_PASSWORD."</td>
<td>".$frm->password('password', '', 20, array('size' => 40, 'class' => 'tbox e-password', 'generate' => 1, 'strength' => 1))."
</td>
</tr>";

View File

@ -27,9 +27,9 @@ if($parm == "request"){
$agreetext = $tp->toJS($tp->toHTML($pref['agree_text'],FALSE,'DESCRIPTION'));
if($row['download_mirror_type']){
$text = ($pref['agree_flag'] ? "<a href='".e_BASE."download.php?mirror.".$row['download_id']."' onclick= \"return confirm('{$agreetext}');\">" : "<a href='".e_BASE."download.php?mirror.".$row['download_id']."' title='".LAN_dl_32."'>");
$text = ($pref['agree_flag'] ? "<a href='".e_BASE."download.php?mirror.".$row['download_id']."' onclick= \"return confirm('{$agreetext}');\">" : "<a href='".e_BASE."download.php?mirror.".$row['download_id']."' title='".LAN_DOWNLOAD."'>");
}else{
$text = ($pref['agree_flag'] ? "<a href='".e_BASE."request.php?".$row['download_id']."' onclick= \"return confirm('{$agreetext}');\">" : "<a href='".e_BASE."request.php?".$row['download_id']."' title='".LAN_dl_32."'>");
$text = ($pref['agree_flag'] ? "<a href='".e_BASE."request.php?".$row['download_id']."' onclick= \"return confirm('{$agreetext}');\">" : "<a href='".e_BASE."request.php?".$row['download_id']."' title='".LAN_DOWNLOAD."'>");
}
$text .= $tp->toHTML($row['download_name'], FALSE, 'USER_TITLE')."</a>";
return $text;
@ -53,7 +53,7 @@ SC_END
SC_BEGIN DOWNLOAD_LIST_ICON
global $row;
$img = "<img src='".IMAGE_DOWNLOAD."' alt='' style='border:0' title='".LAN_dl_32."' />";
$img = "<img src='".IMAGE_DOWNLOAD."' alt='' style='border:0' title='".LAN_DOWNLOAD."' />";
if($parm == "link"){
return "<a href='".e_BASE."download.php?view.".$row['download_id']."' >".$img."</a>";
}else{
@ -315,7 +315,7 @@ SC_BEGIN DOWNLOAD_VIEW_RATING
else if(!USER) {
$text .= "&nbsp;";
} else {
$text .= LAN_dl_15;
$text .= LAN_THANK_YOU;
}
$text .= "</td></tr></table>";
return $text;
@ -338,7 +338,7 @@ SC_END
SC_BEGIN DOWNLOAD_VIEW_AUTHOR_LAN
global $dl;
return ($dl['download_author']) ? LAN_dl_24 : "";
return ($dl['download_author']) ? LAN_AUTHOR : "";
SC_END
SC_BEGIN DOWNLOAD_VIEW_AUTHOREMAIL_LAN
@ -353,11 +353,11 @@ SC_END
SC_BEGIN DOWNLOAD_VIEW_DATE_LAN
global $dl;
return ($dl['download_datestamp']) ? LAN_dl_22 : "";
return ($dl['download_datestamp']) ? LAN_DATE : "";
SC_END
SC_BEGIN DOWNLOAD_VIEW_IMAGE_LAN
return LAN_dl_11;
return LAN_IMAGE;
SC_END
SC_BEGIN DOWNLOAD_VIEW_REQUESTED
@ -366,15 +366,15 @@ return $dl['download_requested'];
SC_END
SC_BEGIN DOWNLOAD_VIEW_RATING_LAN
return LAN_dl_12;
return LAN_RATING;
SC_END
SC_BEGIN DOWNLOAD_VIEW_FILESIZE_LAN
return LAN_dl_10;
return LAN_SIZE;
SC_END
SC_BEGIN DOWNLOAD_VIEW_DESCRIPTION_LAN
return LAN_dl_7;
return LAN_DESCRIPTION;
SC_END
SC_BEGIN DOWNLOAD_VIEW_REQUESTED_LAN
@ -382,7 +382,7 @@ return LAN_dl_77;
SC_END
SC_BEGIN DOWNLOAD_VIEW_LINK_LAN
return LAN_dl_32;
return LAN_DOWNLOAD;
SC_END
@ -417,7 +417,7 @@ SC_END
SC_BEGIN DOWNLOAD_BACK_TO_LIST
global $dl;
return "<a href='".e_BASE."download.php?list.".$dl['download_category']."'>".LAN_dl_35."</a>";
return "<a href='".e_BASE."download.php?list.".$dl['download_category']."'>".LAN_BACK."</a>";
SC_END
SC_BEGIN DOWNLOAD_BACK_TO_CATEGORY_LIST

View File

@ -120,7 +120,7 @@ class comment
$sc_style['AUTHOR_INPUT']['pre'] = "<tr><td style='width:20%; vertical-align:top;'>".COMLAN_16."</td><td style='width:80%'>";
$sc_style['AUTHOR_INPUT']['post'] = "</td></tr>";
$sc_style['RATE_INPUT']['pre'] = "<tr><td style='width:20%; vertical-align:top;'>".COMLAN_327.":</td><td style='width:80%;'>";
$sc_style['RATE_INPUT']['pre'] = "<tr><td style='width:20%; vertical-align:top;'>".LAN_RATING.":</td><td style='width:80%;'>";
$sc_style['RATE_INPUT']['post'] = "</td></tr>";
$sc_style['COMMENT_INPUT']['pre'] = "<tr><td style='width:20%; vertical-align:top;'>".COMLAN_8.":</td><td id='commentform' style='width:80%;'>";

View File

@ -834,7 +834,7 @@ class e107MailManager
if (($this->currentBatchInfo['mail_togo_count'] == 0) && ($email['mail_notify_complete'] > 0)) // Need to notify completion
{
$email = array_merge($email, $this->currentBatchInfo); // This should ensure the counters are up to date
$mailInfo = LAN_MAILOUT_247.'<br />'.LAN_MAILOUT_135.': '.$email['mail_title'].'<br />'.LAN_MAILOUT_248.$this->statusToText($email['mail_content_status']).'<br />';
$mailInfo = LAN_MAILOUT_247.'<br />'.LAN_TITLE.': '.$email['mail_title'].'<br />'.LAN_MAILOUT_248.$this->statusToText($email['mail_content_status']).'<br />';
$mailInfo .= '<br />'.LAN_MAILOUT_249.'<br />';
foreach ($this->mailCountFields as $f => $t)
{

View File

@ -100,7 +100,7 @@ class mailoutAdminClass extends e107MailManager
'forced' => TRUE
),
'mail_title' => array(
'title' => LAN_MAILOUT_135,
'title' => LAN_TITLE,
'forced' => TRUE
),
'mail_subject' => array(
@ -964,7 +964,7 @@ class mailoutAdminClass extends e107MailManager
$tList = self::getEmailTemplateNames('user');
foreach($tList as $key => $val)
{
$emFormat[$key] = LAN_MAILOUT_258 . $val;
$emFormat[$key] = LAN_TEMPLATE . $val;
}
}

View File

@ -1498,7 +1498,7 @@ class e_menuManager {
$visibilityLink = e_SELF."?enc=".base64_encode('lay='.$this->curLayout.'&vis='.$menu_id.'&iframe=1');
$text .= '<span class="menu-options-buttons">
<a class="e-menumanager-option menu-btn" data-modal-caption="'.MENLAN_20.'" href="'.$visibilityLink.'" title="'.MENLAN_20.'"><i class="S16 e-search-16"></i></a>';
<a class="e-menumanager-option menu-btn" data-modal-caption="'.LAN_VISIBILITY.'" href="'.$visibilityLink.'" title="'.LAN_VISIBILITY.'"><i class="S16 e-search-16"></i></a>';
if($conf)
{

View File

@ -17,6 +17,6 @@
if (!defined('e107_INIT')) { exit; }
/*
$advanced['date']['type'] = 'date';
$advanced['date']['text'] = LAN_SEARCH_68.':';
$advanced['date']['text'] = LAN_DATE.':';
*/
?>

View File

@ -819,7 +819,7 @@ class themeHandler
$text = "<table class='table table-striped'>";
// $text .= "<tr><th colspan='2'><h3>".$theme['name']." ".$theme['version']."</h3></th></tr>";
$text .= $author ? "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_4."</b>:</td><td style='vertical-align:top'>".$author."</td></tr>" : "";
$text .= $author ? "<tr><td style='vertical-align:top; width:24%'><b>".LAN_AUTHOR."</b>:</td><td style='vertical-align:top'>".$author."</td></tr>" : "";
$text .= $website ? "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_5."</b>:</td><td style='vertical-align:top'>".$website."</td></tr>" : "";
$text .= $theme['date'] ? "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_6."</b>:</td><td style='vertical-align:top'>".$theme['date']."</td></tr>" : "";
$text .= $compat ? "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_57."</b>:</td><td style='vertical-align:top'>".$compat."</td></tr>" : "";
@ -1209,7 +1209,7 @@ class themeHandler
<td class='well center middle' rowspan='6' style='text-align:center; vertical-align:middle;width:25%'>".$thumbnail."</td>
</tr>";
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".TPVLAN_4."</b>:</td><td style='vertical-align:top'>".$author."</td></tr>";
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".LAN_AUTHOR."</b>:</td><td style='vertical-align:top'>".$author."</td></tr>";
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".TPVLAN_5."</b>:</td><td style='vertical-align:top'>".$website."</td></tr>";
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".TPVLAN_6."</b>:</td><td style='vertical-align:top'>".$theme['date']."</td></tr>";

View File

@ -87,7 +87,7 @@ class e107_user_extended
4 => UE_LAN_4,
5 => UE_LAN_5,
6 => UE_LAN_6,
7 => UE_LAN_7,
7 => LAN_DATE,
8 => UE_LAN_8,
9 => UE_LAN_9,
10=> UE_LAN_10

View File

@ -1259,63 +1259,63 @@ class e_userperms
$this->core_perms = array(
// In the same order as admin navigation!
// In the same order as admin navigation! Plus same labels.
// Settings
"C" => array(ADMSLAN_64,E_16_CACHE, E_32_CACHE), // Clear the system cache
"F" => array(ADMSLAN_31,E_16_EMOTE, E_32_EMOTE), // Emoticons
"G" => array(ADMSLAN_32,E_16_FRONT, E_32_FRONT), // Front-Page Configuration
"L" => array(ADMSLAN_76,E_16_LANGUAGE, E_32_LANGUAGE), // Language Packs
"T" => array(ADMSLAN_34,E_16_META, E_32_META), // Meta tags
"C" => array(ADLAN_74,E_16_CACHE, E_32_CACHE), // Clear the system cache
"F" => array(ADLAN_58,E_16_EMOTE, E_32_EMOTE), // Emoticons
"G" => array(ADLAN_60,E_16_FRONT, E_32_FRONT), // Front-Page Configuration
"L" => array(ADLAN_132,E_16_LANGUAGE, E_32_LANGUAGE), // Language Packs
"T" => array(ADLAN_66,E_16_META, E_32_META), // Meta tags
"1" => array(ADMSLAN_19,E_16_PREFS, E_32_PREFS), // Alter Site Preferences
"X" => array(ADMSLAN_66,E_16_SEARCH, E_32_SEARCH), // Search
"I" => array(ADMSLAN_40,E_16_LINKS, E_32_LINKS), // Post SiteLinks
"1" => array(LAN_PREFS,E_16_PREFS, E_32_PREFS), // Alter Site Preferences
"X" => array(LAN_SEARCH,E_16_SEARCH, E_32_SEARCH), // Search
"I" => array(ADLAN_138,E_16_LINKS, E_32_LINKS), // Post SiteLinks
"8" => array(ADMSLAN_27,E_16_LINKS, E_32_LINKS), // Oversee SiteLink Categories
"K" => array(ADMSLAN_43,E_16_EURL, E_32_EURL), // Configure URLs
"K" => array(ADLAN_159,E_16_EURL, E_32_EURL), // Configure URLs
// Users
"3" => array(ADMSLAN_21,E_16_ADMIN, E_32_ADMIN), // Modify Admin perms
"3" => array(ADLAN_8,E_16_ADMIN, E_32_ADMIN), // Modify Admin perms
"4" => array(LAN_USER_MANAGEALL,E_16_USER, E_32_USER), // Manage all user access and settings etc
"U0" => array(ADMSLAN_22,E_16_USER, E_32_USER), // moderate users/bans but not userclasses or extended fields,
"U0" => array(ADLAN_34,E_16_USER, E_32_USER), // moderate users/bans but not userclasses or extended fields,
"U1" => array(LAN_USER_QUICKADD,E_16_USER, E_32_USER), // "User: Quick Add User",
"U2" => array(LAN_USER_OPTIONS,E_16_USER, E_32_USER), // Manage only user-options
"U3" => array(LAN_USER_RANKS,E_16_USER, E_32_USER), // Manage only user-ranks
"W" => array(ADMSLAN_65,E_16_MAIL, E_32_MAIL), // Configure mail settings and mailout
"W" => array(ADLAN_136,E_16_MAIL, E_32_MAIL), // Configure mail settings and mailout
// Content
"5" => array(ADMSLAN_23,E_16_CUST, E_32_CUST), // create/edit custom PAGES
"J" => array(ADMSLAN_41,E_16_CUST, E_32_CUST), // create/edit custom MENUS
"5" => array(ADLAN_42,E_16_CUST, E_32_CUST), // create/edit custom PAGES
"J" => array(ADLAN_42,E_16_CUST, E_32_CUST), // create/edit custom MENUS
"H" => array(ADMSLAN_39,E_16_NEWS, E_32_NEWS), // Post News - All Areas except settings.
"H0" => array(ADMSLAN_39." (".LAN_CREATE.")",E_16_NEWS, E_32_NEWS), // Create News Items
"H1" => array(ADMSLAN_39." (".LAN_EDIT.")",E_16_NEWS, E_32_NEWS), // Edit News Items
"H2" => array(ADMSLAN_39." (".LAN_DELETE.")",E_16_NEWS, E_32_NEWS), // Delete News Items
"H3" => array(ADMSLAN_39." (".LAN_CATEGORY." - ".LAN_CREATE.")",E_16_NEWS, E_32_NEWS), // Create News Category
"H4" => array(ADMSLAN_39." (".LAN_CATEGORY." - ".LAN_EDIT.")",E_16_NEWS, E_32_NEWS), // Edit News Category
"H5" => array(ADMSLAN_39." (".LAN_CATEGORY." - ".LAN_DELETE.")",E_16_NEWS, E_32_NEWS), // Delete News Category
"H" => array(ADLAN_0,E_16_NEWS, E_32_NEWS), // Post News - All Areas except settings.
"H0" => array(ADLAN_0." (".LAN_CREATE.")",E_16_NEWS, E_32_NEWS), // Create News Items
"H1" => array(ADLAN_0." (".LAN_EDIT.")",E_16_NEWS, E_32_NEWS), // Edit News Items
"H2" => array(ADLAN_0." (".LAN_DELETE.")",E_16_NEWS, E_32_NEWS), // Delete News Items
"H3" => array(ADLAN_0." (".LAN_CATEGORY." - ".LAN_CREATE.")",E_16_NEWS, E_32_NEWS), // Create News Category
"H4" => array(ADLAN_0." (".LAN_CATEGORY." - ".LAN_EDIT.")",E_16_NEWS, E_32_NEWS), // Edit News Category
"H5" => array(ADLAN_0." (".LAN_CATEGORY." - ".LAN_DELETE.")",E_16_NEWS, E_32_NEWS), // Delete News Category
"N" => array(ADMSLAN_47,E_16_NEWS, E_32_NEWS), // Moderate submitted news
"V" => array(ADMSLAN_35,E_16_UPLOADS, E_32_UPLOADS), // Configure public file uploads
"M" => array(ADMSLAN_46,E_16_WELCOME, E_32_WELCOME), // Welcome Messages
"N" => array(ADLAN_0." (".LAN_SUBMITTED.")",E_16_NEWS, E_32_NEWS), // Moderate submitted news
"V" => array(ADLAN_31,E_16_UPLOADS, E_32_UPLOADS), // Configure public file uploads
"M" => array(ADLAN_28,E_16_WELCOME, E_32_WELCOME), // Welcome Messages
// Tools
"Y" => array(ADMSLAN_67,E_16_INSPECT, E_32_INSPECT), // File inspector
"9" => array(ADMSLAN_28, E_16_MAINTAIN, E_32_MAINTAIN), // Take Down site for Maintenance
"O" => array(ADMSLAN_68,E_16_NOTIFY, E_32_NOTIFY), // Notify
"U" => array(ADMSLAN_45,E_16_CRON, E_32_CRON), // Schedule Tasks
"S" => array(ADMSLAN_33,E_16_ADMINLOG, E_32_ADMINLOG), // System Logging
"Y" => array(ADLAN_147,E_16_INSPECT, E_32_INSPECT), // File inspector
"9" => array(ADLAN_40, E_16_MAINTAIN, E_32_MAINTAIN), // Take Down site for Maintenance
"O" => array(ADLAN_149,E_16_NOTIFY, E_32_NOTIFY), // Notify
"U" => array(ADLAN_157,E_16_CRON, E_32_CRON), // Schedule Tasks
"S" => array(ADLAN_155,E_16_ADMINLOG, E_32_ADMINLOG), // System Logging
// Manage
"B" => array(ADMSLAN_37,E_16_COMMENT, E_32_COMMENT), // Moderate Comments
"6" => array(ADMSLAN_25,E_16_FILE, E_32_FILE), // File-Manager - Upload /manage files -
"A" => array(ADMSLAN_36,E_16_IMAGES, E_32_IMAGES), // Media-Manager All Areas.
"A1"=> array(ADMSLAN_36,E_16_IMAGES, E_32_IMAGES), // Media-Manager (Media Add/Import)
"A2"=> array(ADMSLAN_36,E_16_IMAGES, E_32_IMAGES), // Media-Manager (Media-Categories)
"B" => array(LAN_COMMENTMAN,E_16_COMMENT, E_32_COMMENT), // Moderate Comments
"6" => array(LAN_MEDIAMANAGER,E_16_FILE, E_32_FILE), // File-Manager - Upload /manage files -
"A" => array(LAN_MEDIAMANAGER." (".LAN_ALL.")",E_16_IMAGES, E_32_IMAGES), // Media-Manager All Areas.
"A1"=> array(LAN_MEDIAMANAGER." (".LAN_CREATE."/".LAN_IMPORT.")",E_16_IMAGES, E_32_IMAGES), // Media-Manager (Media Add/Import)
"A2"=> array(LAN_MEDIAMANAGER." (".LAN_CATEGORIES.")",E_16_IMAGES, E_32_IMAGES), // Media-Manager (Media-Categories)
"2" => array(ADMSLAN_20,E_16_MENUS, E_32_MENUS), // Alter Menus
"2" => array(ADLAN_6,E_16_MENUS, E_32_MENUS), // Alter Menus
// "D"=> ADMSLAN_29, // Manage Banners (deprecated - now a plugin)
@ -1360,7 +1360,7 @@ class e_userperms
asort($this->plugin_perms);
$this->plugin_perms = array("Z"=> array('0'=>ADMSLAN_62)) + $this->plugin_perms;
$this->plugin_perms = array("Z"=> array('0'=>ADLAN_98)) + $this->plugin_perms;
if(e107::getConfig()->getPref('multilanguage'))
{

View File

@ -48,11 +48,13 @@ define("EMESSLAN_TITLE_DEBUG", "System Debug");
define("LAN_EDIT","Edit");
define("LAN_DELETE","Delete");
define("LAN_DEFAULT","Default");
define("LAN_MORE", "More..");
define("LAN_READ_MORE", "Read more..");
define("LAN_GOPAGE", "Go to page");
define("LAN_GOTOPAGEX", "Go to page [x]");
define("LAN_GO", "Go");
define("LAN_SUBMIT", "Submit");
define("LAN_NONE", "None");
define("LAN_WARNING", "Warning!");
define("LAN_ERROR", "Error");
@ -61,14 +63,22 @@ define("LAN_EMAIL_SUBS", "-email-");
define("LAN_YES", "Yes");
define("LAN_NO", "No");
define("LAN_OK", "OK");
define("LAN_ACTIONS", "Actions");
define("LAN_THANK_YOU", "Thank you");
define("LAN_CONTINUE", "Continue");
define("LAN_ENTER", "Enter");
define("LAN_ENTER_CODE", "Enter code");
define("LAN_INVALID_CODE", "Incorrect code entered.");
define("LAN_SEARCH", "Search");
define("LAN_VIEW", "View");
define("LAN_SORT", "Sort");
define("LAN_ORDER_BY", "Order By");
define("LAN_ASCENDING", "Ascending");
define("LAN_DESCENDING", "Descending");
define("LAN_SHARE", "Share");
define("LAN_BACK", "Back");
define("LAN_NAME", "Name");
define("LAN_DESCRIPTION", "Description");
define("LAN_CANCEL","Cancel");
define("LAN_DATE","Date");
define("LAN_DATE_POSTED", "Date posted");
@ -85,8 +95,17 @@ define("LAN_SETTINGS", "Settings");
define("LAN_PASSWORD", "Password");
define("LAN_TYPE", "Type");
define("LAN_DESCRIPTION", "Description");
define("LAN_SCREENSHOT", "Screenshot");
define("LAN_FILE", "File");
define("LAN_FILETYPES", "Filetypes");
define("LAN_FILE_NOT_FOUND", "File Not Found");
define("LAN_FILES","Files");
define("LAN_SIZE", "Size");
define("LAN_VERSION", "Version");
define("LAN_DOWNLOAD", "Download");
define("LAN_COMMENTS", "Comments");
define("LAN_LOCATION", "Location");
define("LAN_NO_RECORDS_FOUND","No Records Found.");
define("LAN_ENTER_USRNAME_EMAIL", "Please enter your username or email"); // admin php hover field admin name
define("LAN_PWD_REQUIRED", "Password is required"); // admin php hover field admin password

View File

@ -48,7 +48,7 @@ define("ADLAN_39", "Create/edit user classes");
define("ADLAN_40", "Maintenance");
define("ADLAN_41", "Take site down for maintenance");
define("ADLAN_42", "Pages/Menus");
define("ADLAN_43", "Create custom menu items");
define("ADLAN_43", "Create menu items");
define("ADLAN_44", "Database");
define("ADLAN_45", "Database utilities");
// define("ADLAN_46", "Logout");
@ -99,7 +99,7 @@ define("ADLAN_95", "Plugin Management");
//define("ADLAN_96", "None");
//define("ADLAN_97", "Click here for FAQ");
define("ADLAN_98", "Plugin Manager");
define("ADLAN_99", "Install/upgrade etc. plugins");
define("ADLAN_99", "Click here to install, maintain and configure plugins which provide additional features on your site.");
// define("ADLAN_100", "Theme Layout"); // required
//define("ADLAN_101", "Template Creator");
define("ADLAN_102", "It has been more than 30 days since you changed the main administrator password - ");
@ -152,7 +152,7 @@ define("ADLAN_138", "Site Links");
define("ADLAN_139", "Add/edit/delete links");
define("ADLAN_140", "Theme Manager");
define("ADLAN_141", "Install / set themes etc");
define("ADLAN_141", "Click here to install and configure themes, which control the appearance of your site.");
// define("ADLAN_142", "Search");
define("ADLAN_143", "Search Configuration");
@ -208,8 +208,12 @@ define("ADLAN_LAT_8", "There are unmoderated administrator messages");
define("ADLAN_LAT_9", "Comments pending");
//LAN_WARNING define("ADLAN_ERR_1", "Warning!");
//define("ADLAN_ERR_2", "There are files on your server that are known to be exploitable. These must be removed <b>immediately</b>. The files are related to the older 0.6xx branch of e107. Please delete the following directories and all their contents:");
define("ADLAN_ERR_3", "There are one or more files in your public upload directories that are not in your allowed upload filetypes list. These may have been placed here by an attacker and if so should be removed <b>immediately</b>. You should <b>not</b> open these files as this may execute any malicious code the file might contain; e.g. do not open them with your browser.<br /><br />If you recognise these files as being legitimate, it is likely that the filetype is no longer in the allowed filetypes list for some reason, and you will need to re-add it (see admin => uploads). You should not allow the upload of .html, .txt, etc as an attacker may upload a file of this type which includes malicious javascript. You should also, of course, not allow the upload of .php files or any other type of executable script.<br /><br />Below is the list of files that could potentially be malicious:");
//define("ADLAN_ERR_2", "There are files on your server that are known to be exploitable. These must be removed [b]immediately[/b]. The files are related to the older 0.6xx branch of e107. Please delete the following directories and all their contents:");
define("ADLAN_ERR_3", "There are one or more files in your public upload directories that are not in your allowed upload filetypes list. These may have been placed here by an attacker and if so should be removed [b]immediately[/b]. You should [b]not[/b] open these files as this may execute any malicious code the file might contain; e.g. do not open them with your browser.
If you recognise these files as being legitimate, it is likely that the filetype is no longer in the allowed filetypes list for some reason, and you will need to re-add it (see admin => uploads). You should not allow the upload of .html, .txt, etc as an attacker may upload a file of this type which includes malicious javascript. You should also, of course, not allow the upload of .php files or any other type of executable script.
Below is the list of files that could potentially be malicious:");
//define("ADLAN_ERR_4", "Deprecated plugin file(s) found");
//define("ADLAN_ERR_5", "The following files need to be renamed to");
//define("ADLAN_ERR_6", "Then, click here to re-scan your plugin folders.");
@ -242,6 +246,8 @@ define("LAN_NEVER", "Never");
define("LAN_PRUNE", "Prune");
define("LAN_RESET","Reset");
define("LAN_CLEAR","Clear");
define("LAN_ALL","All");
define("LAN_IMPORT","Import");
// define("LAN_OK","OK"); // defined in e107_languages/English/English.php
// define("LAN_PRESET","Preset");
@ -272,11 +278,13 @@ define("LAN_INACTIVE","Inactive");
define("LAN_ACTIVE","Active");
define("LAN_ACCEPT","Accept");
define("LAN_PENDING","Pending");
define("LAN_SUBMITTED","Submitted");
define("LAN_BAN","Ban");
define("LAN_RATING", "Rating");
define("LAN_UPLOAD", "Upload");
define("LAN_UPLOADS","Uploads");
define("LAN_UPLOAD_IMAGES","Upload Images");
define("LAN_UPLOAD_FILES","Upload Files");
define("LAN_UPLOAD_ADDFILE","Add Another File");

View File

@ -94,7 +94,7 @@ define("RL_LAN_098", "Source");
define("RL_LAN_099", "Comments");
define("RL_LAN_100", "CID"); // Comment ID field
define("RL_LAN_101", "PID");
define("RL_LAN_102", "ID");
//define("RL_LAN_102", "ID");//LAN_ID
define("RL_LAN_103", "Subject");
define("RL_LAN_104", "UID");
// define("RL_LAN_105", "Author");

View File

@ -10,7 +10,7 @@
//define("ADMSLAN_1", "now has admin status."); - no references found
//define("ADMSLAN_3", "is the main site administrator and cannot be edited.");
define("ADMSLAN_4", "Continue");
//define("ADMSLAN_4", "Continue");//LAN_CONTINUE
//define("ADMSLAN_5", "Error!"); - global admin LAN_ERROR
define("ADMSLAN_6", "is the main site administrator and cannot be deleted.");
@ -19,35 +19,35 @@ define("ADMSLAN_13", "Existing Administrators");
define("ADMSLAN_16", "Admin Name");
// define("ADMSLAN_17", "Admin Password");
define("ADMSLAN_18", "Permissions");
define("ADMSLAN_19", "Alter site preferences");
define("ADMSLAN_20", "Alter Menus");
//define("ADMSLAN_19", "Alter site preferences");//LAN_PREFS
//define("ADMSLAN_20", "Alter Menus");//ADLAN_6
define("ADMSLAN_21", "Modify administrator permissions");
define("ADMSLAN_22", "Moderate users/bans etc");
define("ADMSLAN_23", "Create/edit custom pages");
//define("ADMSLAN_22", "Moderate users/bans etc");//ADLAN_34
//define("ADMSLAN_23", "Create/edit custom pages"); //ADLAN_42
define("ADMSLAN_24", "Manage download categories");
define("ADMSLAN_25", "Upload /manage files");
define("ADMSLAN_26", "Oversee news categories");
define("ADMSLAN_27", "Oversee link categories");
define("ADMSLAN_28", "Take site down for maintenance");
//define("ADMSLAN_28", "Take site down for maintenance");//ADLAN_40
define("ADMSLAN_29", "Manage banners");
define("ADMSLAN_30", "Configure news feed headlines");
define("ADMSLAN_31", "Configure emoticons");
define("ADMSLAN_32", "Configure front page content");
define("ADMSLAN_33", "Configure system logging");
define("ADMSLAN_34", "Configure meta tags");
define("ADMSLAN_35", "Configure public file uploads");
define("ADMSLAN_36", "Media-Manager and image settings");
define("ADMSLAN_37", "Moderate comments");
// define("ADMSLAN_38", "Moderate/configure chatbox");
define("ADMSLAN_39", "Post news");
define("ADMSLAN_40", "Manage Sitelinks");
//define("ADMSLAN_31", "Configure emoticons");//ADLAN_58
//define("ADMSLAN_32", "Configure front page content");//ADLAN_60
//define("ADMSLAN_33", "Configure system logging");//ADLAN_155
//define("ADMSLAN_34", "Configure meta tags");//ADLAN_66
//define("ADMSLAN_35", "Configure public file uploads");//ADLAN_31
//define("ADMSLAN_36", "Media-Manager and image settings");//LAN_MEDIAMANAGER
//define("ADMSLAN_37", "Moderate comments");//LAN_COMMENTMAN
//define("ADMSLAN_38", "Moderate/configure chatbox");
//define("ADMSLAN_39", "Post news");//ADLAN_0
//define("ADMSLAN_40", "Manage Sitelinks");//ADLAN_138
define("ADMSLAN_41", "Create/edit custom menus");
define("ADMSLAN_42", "Post reviews"); // - NOW PLUGIN
define("ADMSLAN_43", "Configure URLs");
//define("ADMSLAN_43", "Configure URLs");//ADLAN_159
define("ADMSLAN_44", "Post downloads");
define("ADMSLAN_45", "Schedule Tasks");
define("ADMSLAN_46", "Welcome message");
define("ADMSLAN_47", "Moderate submitted news");
//define("ADMSLAN_45", "Schedule Tasks");//ADLAN_157
//define("ADMSLAN_46", "Welcome message");//ADLAN_28
//define("ADMSLAN_47", "Moderate submitted news");//LAN_SUBMITTED
//define("ADMSLAN_49", "Check All"); - global admin lan
//define("ADMSLAN_51", "Uncheck All"); - global admin lan
@ -65,11 +65,11 @@ define("ADMSLAN_61", "Administrator deleted");
define("ADMSLAN_62", "Plugin Manager");
define("ADMSLAN_64", "Clear the system cache");
define("ADMSLAN_65", "Configure mail settings and mailout");
define("ADMSLAN_66", "Configure Search");
define("ADMSLAN_67", "Scan with file inspector");
define("ADMSLAN_68", "Configure email notification");
//define("ADMSLAN_64", "Clear the system cache");//ADLAN_74
//define("ADMSLAN_65", "Configure mail settings and mailout");//ADLAN_136
//define("ADMSLAN_66", "Configure Search");//LAN_SEARCH
//define("ADMSLAN_67", "Scan with file inspector");//ADLAN_147
//define("ADMSLAN_68", "Configure email notification");//ADLAN_149
// define("ADMSLAN_69", "is already an administrator and must be edited.");
// 0.8
@ -81,7 +81,7 @@ define("ADMSLAN_73", "Admin ID: --ID-- name: --NAME--");
define("ADMSLAN_74", "General");
// define("ADMSLAN_75", "");
define("ADMSLAN_76", "Manage language-packs");
//define("ADMSLAN_76", "Manage language-packs");//ADLAN_132
//define("ADMSLAN_2", "Site Administrator [name] updated in database."); // LAN_UPDATED
?>

View File

@ -18,7 +18,7 @@ define("CUSLAN_50", "List Books/Chapters");
define("CUSLAN_51", "Add Book/Chapter");
define("CUSLAN_52", "Book");
define("CUSLAN_53", "Book or Chapter Title");
define("CUSLAN_54", "Meta Keywords");
//define("CUSLAN_54", "Meta Keywords");//LAN_KEYWORDS
define("CUSLAN_55", "Can be edited by");
define("CUSLAN_56", "Parent");
define("CUSLAN_57", 'Please choose unique SEF URL string for this entry.');

View File

@ -49,7 +49,7 @@ define("DBLAN_38", "Start Verify");
define("DBLAN_39", "Database Record Validation");
define("DBLAN_40", "Record Validation : ");
define("DBLAN_41", "table");
define("DBLAN_42", "id");
//define("DBLAN_42", "id");//LAN_ID
define("DBLAN_43", "remark");
// define("DBLAN_44", "options");
define("DBLAN_45", "Id Not Found!");

View File

@ -151,7 +151,7 @@ define('IMALAN_113', "Scanning for new media (images, videos, files) in folder:"
define('IMALAN_114', "No media Found! Please upload some files.");
define('IMALAN_115', "Title (internal use)");
define('IMALAN_116', "Caption (seen by public)");
define('IMALAN_117', "Author"); // use LAN_AUTHOR
//define('IMALAN_117', "Author"); // use LAN_AUTHOR
define('IMALAN_118', "Mime Type");
define('IMALAN_119', "File Size");
define('IMALAN_120', "Dimensions");

View File

@ -69,7 +69,7 @@ define("LANG_LAN_106", "Language by Domain Name");
define("LANG_LAN_107", "Domain determines the site's language. Enter domain without the 'www.'");
define("LANG_LAN_108", "Name");
define("LANG_LAN_109", "Version");
define("LANG_LAN_110", "Author");
//define("LANG_LAN_110", "Author");//LAN_AUTHOR
define("LANG_LAN_111", "Release-date");
define("LANG_LAN_112", "Compatible");
define("LANG_LAN_113", "Download");

View File

@ -59,8 +59,8 @@ define("LAN_MAILOUT_45", "User Email");
define("LAN_MAILOUT_46", "User-Match");
define("LAN_MAILOUT_47", "contains");
define("LAN_MAILOUT_48", "equals");
define("LAN_MAILOUT_49", "Id");
define("LAN_MAILOUT_50", "Author");
//define("LAN_MAILOUT_49", "Id");//LAN_ID
//define("LAN_MAILOUT_50", "Author");//LAN_AUTHOR
define("LAN_MAILOUT_51", "Subject");
define("LAN_MAILOUT_52", "Last mod");
define("LAN_MAILOUT_53", "Admins");
@ -90,7 +90,7 @@ define("LAN_MAILOUT_76", "Include email info in log");
define("LAN_MAILOUT_77", "Email address sources");
define("LAN_MAILOUT_78", "Mailshot Status");
define("LAN_MAILOUT_79", "No mailshots to display");
define("LAN_MAILOUT_80", "Date");
//define("LAN_MAILOUT_80", "Date");//LAN_DATE
define("LAN_MAILOUT_81", "The email has been successfully sent, please check your inbox.");
define("LAN_MAILOUT_82", "Mails sent");
define("LAN_MAILOUT_83", "Mails to go");
@ -145,7 +145,7 @@ define("LAN_MAILOUT_131", "Sending Started");
define("LAN_MAILOUT_132", "Sending Complete");
define("LAN_MAILOUT_133", "Source");
define("LAN_MAILOUT_134", "Priority");
define("LAN_MAILOUT_135", "Title");
//define("LAN_MAILOUT_135", "Title");//LAN_TITLE
define("LAN_MAILOUT_136", "Mailout Status");
define("LAN_MAILOUT_137", "Mail Ref");
define("LAN_MAILOUT_138", "Email status");
@ -273,7 +273,7 @@ define("LAN_MAILOUT_254", "View templated email");
define("LAN_MAILOUT_255", "Templated Email, ID: ");
define("LAN_MAILOUT_256", "Return");
define("LAN_MAILOUT_257", "Generated template");
define("LAN_MAILOUT_258", "Template: ");
//define("LAN_MAILOUT_258", "Template: ");//LAN_TEMPLATE
define("LAN_MAILOUT_259", "");

View File

@ -25,7 +25,7 @@ define("MENLAN_15", "Deactivate");
define("MENLAN_17", "Move Up");
define("MENLAN_18", "Move Down");
define("MENLAN_19", "Move to Area");
define("MENLAN_20", "Visibility");
//define("MENLAN_20", "Visibility");//LAN_VISIBILITY
// define("MENLAN_21", "Visible to Guests only");
define("MENLAN_22", "Inactive Menus");

View File

@ -16,7 +16,7 @@ define("MDCLAN_6", "block");
define("MDCLAN_8", "Moderate Comments");
define("MDCLAN_9", "Warning! Deleting Parent comments will also delete all replies!");
define("MDCLAN_10", "options");
//define("MDCLAN_10", "options");//LAN_OPTIONS
define("MDCLAN_11", "comment");
define("MDCLAN_12", "comments");
define("MDCLAN_13", "blocked");

View File

@ -20,7 +20,7 @@ define("EPL_ADLAN_8", "Preference settings successfully created.");
define("EPL_ADLAN_9", "SQL commands failed. Check to be sure all upgrade changes are ok.");
define("EPL_ADLAN_10", "Name");
define("EPL_ADLAN_11", "Version");
define("EPL_ADLAN_12", "Author");
//define("EPL_ADLAN_12", "Author"); //LAN_AUTHOR
define("EPL_ADLAN_13", "Compatible");
define("EPL_ADLAN_14", "Description");
define("EPL_ADLAN_15", "Read the README file for more information");
@ -212,7 +212,7 @@ define ('EPL_ADLAN_181',"True/False");
define ('EPL_ADLAN_182',"Text Box (number)");
define ('EPL_ADLAN_183',"DropDown");
define ('EPL_ADLAN_184',"DropDown (userclasses)");
define ('EPL_ADLAN_185',"Date");
//define ('EPL_ADLAN_185',"Date");//LAN_DATE
define ('EPL_ADLAN_186',"Custom Function");
define ('EPL_ADLAN_187',"Hidden");
define ('EPL_ADLAN_188',"User");

View File

@ -8,11 +8,11 @@
define("TPVLAN_1", "You are looking at a preview of the <b>'".PREVIEWTHEMENAME."'</b> theme. It has not been set as the main theme for your site, it has been activated to provide a preview of how the theme looks.<br />To set this theme as your site theme, <a href='".e_ADMIN."theme.php?choose'>return to your theme manager</a> and select 'Set As Site Theme'.<br />To preview more themes please <a href='".e_ADMIN."theme.php'>click here</a>");
define("TPVLAN_2", "Theme Preview");
define("TPVLAN_3", "Site theme changed.");
define("TPVLAN_4", "Author");
//define("TPVLAN_4", "Author");//LAN_AUTHOR
define("TPVLAN_5", "Website");
define("TPVLAN_6", "Release date");
define("TPVLAN_7", "Information");
define("TPVLAN_8", "Options");
//define("TPVLAN_8", "Options");
define("TPVLAN_9", "Preview Theme");
define("TPVLAN_10", "Set as Site Theme");
define("TPVLAN_11", "Version");

View File

@ -11,7 +11,7 @@ define("UDALAN_1", "Error - please re-submit.");
define("UDALAN_2", "Admin Settings updated");
define("UDALAN_3", "Settings updated for");
define("UDALAN_4", "Name");
define("UDALAN_5", "Password");
//define("UDALAN_5", "Password");//LAN_PASSWORD
define("UDALAN_6", "Re-type password");
define("UDALAN_7", "Change password");
define("UDALAN_8", "Password updated for");

View File

@ -22,18 +22,18 @@
define("UPLLAN_1", "Upload removed from list.");
define("UPLLAN_2", "Settings saved in database");
define("UPLLAN_3", "Upload ID");
//define("UPLLAN_3", "Upload ID");//LAN_ID
define('UPLLAN_4', 'Nothing changed - not updated');
define("UPLLAN_5", "Poster");
define("UPLLAN_6", "Email");
//define("UPLLAN_6", "Email");//LAN_EMAIL
define("UPLLAN_7", "Website");
define("UPLLAN_8", "File Name");
//define("UPLLAN_8", "File Name");//LAN_FILE_NAME
define("UPLLAN_9", "Version");
define("UPLLAN_10", "File");
define("UPLLAN_11", "File Size");
define("UPLLAN_12", "Screenshot");
define("UPLLAN_13", "Description");
//define("UPLLAN_9", "Version");//LAN_VERSION
//define("UPLLAN_10", "File");//LAN_FILE
//define("UPLLAN_11", "File Size");// LAN_SIZE
//define("UPLLAN_12", "Screenshot");// LAN_SCREENSHOT
//define("UPLLAN_13", "Description");// LAN_DESCRIPTION
define("UPLLAN_14", "Demo");
define("UPLLAN_16", "copy to newspost");
@ -42,8 +42,8 @@ define("UPLLAN_18", "View details");
define("UPLLAN_19", "There are no unmoderated public uploads");
define("UPLLAN_20", "There");
define("UPLLAN_21", "unmoderated public upload");
define("UPLLAN_22", "ID");
define("UPLLAN_23", "Name");
//define("UPLLAN_22", "ID");//LAN_ID
//define("UPLLAN_23", "Name");//LAN_NAME
define("UPLLAN_24", "Filetype");
define("UPLLAN_25", "Uploads Enabled?");
define("UPLLAN_26", "No public uploads will be permitted if disabled");
@ -55,23 +55,23 @@ define("UPLLAN_27", "unmoderated public uploads");
//define("UPLLAN_32", "Binary");
define("UPLLAN_33", "Maximum file size");
define("UPLLAN_34", "Absolute maximum upload size in bytes. Further limited by settings from php.ini, and by the settings in filetypes.xml");
define("UPLLAN_35", 'Size');
//define("UPLLAN_35", 'Size');LAN_SIZE
//define("UPLLAN_36", "Please enter one type per line");
define("UPLLAN_37", "Permission");
define("UPLLAN_38", "Select to allow only certain users to upload");
define("UPLLAN_39", "Submit");
//define("UPLLAN_39", "Submit");//LAN_SUBMIT
define("UPLLAN_41", "Please note - file uploads are disabled from your php.ini, it will not be possible to upload files until you set it to On.");
define("UPLLAN_42", "Actions");
define("UPLLAN_43", "Uploads");
define("UPLLAN_44", "Upload");
//define("UPLLAN_42", "Actions");//LAN_ACTIONS
//define("UPLLAN_43", "Uploads");//LAN_UPLOADS
//define("UPLLAN_44", "Upload");//LAN_UPLOAD
define("UPLLAN_45", "Are you sure you want to delete the following file...");
define("UPLAN_COPYTODLM", "copy to download manager");
define("UPLAN_IS", "is ");
define("UPLAN_ARE", "are ");
define("UPLAN_COPYTODLS", "Copy to Downloads");
define('UPLAN_DELETE', 'Delete');
//define('UPLAN_DELETE', 'Delete');//LAN_DELETE
/*
define("UPLLAN_48", "For security reasons allowed file types has been moved out of the database into a
@ -79,16 +79,16 @@ flatfile located in your admin directory. To use, rename the file e107_admin/fil
and add a comma delimited list of file type extensions to it. You should not allow the upload of .html, .txt, etc., as an attacker may upload a file of this type which includes malicious javascript. You should also, of course, not allow
the upload of .php files or any other type of executable script.");
*/
define('UPLLAN_49', 'File Types');
define('UPLLAN_50', 'Options');
//define('UPLLAN_49', 'File Types');LAN_FILETYPES
//define('UPLLAN_50', 'Options');//LAN_OPTIONS
define('UPLLAN_51', 'List Uploads');
define('UPLLAN_52', 'This page helps you create a file for managing file upload permissions. The file is saved as --SOURCE--, and must be copied to --DEST-- before it takes effect.');
define('UPLLAN_53', 'User Class');
//define('UPLLAN_53', 'User Class');//LAN_USERCLASS
define('UPLLAN_54', 'File Extensions');
define('UPLLAN_55', 'Max upload size');
define('UPLLAN_56', 'Generate file');
define('UPLLAN_57', 'Source for values: ');
define('UPLLAN_58', 'Default');
//define('UPLLAN_58', 'Default');LAN_DEFAULT
define('UPLLAN_59', 'Settings written to ');
define('UPLLAN_60', 'Now move this file to ');
define('UPLLAN_61', 'Error writing file: ');
@ -96,9 +96,9 @@ define('UPLLAN_61', 'Error writing file: ');
define('UPLLAN_62', 'Download plugin is not installed - activation not possible.');
define('UPLLAN_63', 'Record moved to Downloads. [x]');
define('UPLLAN_64', 'Manage Download');
define('UPLLAN_65', 'File not found');
//define('UPLLAN_65', 'File not found');//LAN_FILE_NOT_FOUND
define('UPLLAN_66', 'Download path error');
define('UPLLAN_67', 'Anonymous');
//define('UPLLAN_67', 'Anonymous');//LAN_ANONYMOUS
define('UPLLAN_68', 'SQL Error:');
define('UPLLAN_69', '');
define('UPLLAN_70', '');

View File

@ -72,7 +72,7 @@ define("USRLAN_58", "file uploads are disabled in php.ini");
define("USRLAN_59", "Quick add user"); // FIXME duplicate?
define("USRLAN_60", "Add user");
define("USRLAN_61", "Display name");
define("USRLAN_62", "Password");
//define("USRLAN_62", "Password");//LAN_PASSWORD
define("USRLAN_63", "Re-type Password");
define("USRLAN_64", "Email Address");
define("USRLAN_65", "That display name cannot be accepted as valid, please choose a different display name");

View File

@ -51,7 +51,7 @@ define("COMLAN_323", "Error!");
define("COMLAN_324", "Subject");
define("COMLAN_325", "Re:");
define("COMLAN_326", "Reply to this");
define("COMLAN_327", "Rating");
//define("COMLAN_327", "Rating");//LAN_RATING
define("COMLAN_328", "Comments are locked");
define("COMLAN_329", "Unauthorized");
define("COMLAN_330", "IP:");

View File

@ -23,7 +23,7 @@ define("LANINS_004", "Language Selection");
define("LANINS_005", "Please choose the language to use during installation");
define("LANINS_006", "Set Language");
define("LANINS_007", "4");
define("LANINS_008", "PHP &amp; MySQL Versions Check / File Permissions Check");
define("LANINS_008", "PHP and MySQL Versions Check / File Permissions Check");
define("LANINS_009", "Retest File Permissions");
define("LANINS_010", "File not writable: ");
define("LANINS_010a", "Folder not writable: ");
@ -36,7 +36,7 @@ define("LANINS_016", "MySQL");
define("LANINS_017", "PASS");
define("LANINS_018", "Ensure all the listed files exist and are writable by the server. This normally involves CHMODing them 777, but environments vary - contact your host if you have any problems.");
define("LANINS_019", "The version of PHP installed on your server isn't capable of running e107. e107 requires a PHP version of at least ".MIN_PHP_VERSION." to run correctly. Either upgrade your PHP version, or contact your host for an upgrade.");
define("LANINS_020", "Continue Installation");
//define("LANINS_020", "Continue Installation"); //LAN_CONTINUE
define("LANINS_021", "2");
define("LANINS_022", "MySQL Server Details");
define("LANINS_023", "Please enter your MySQL settings here.
@ -51,12 +51,12 @@ define("LANINS_026", "MySQL Password:");
define("LANINS_027", "MySQL Database:");
define("LANINS_028", "Create Database?");
define("LANINS_029", "Table prefix:");
define("LANINS_030", "The MySQL server you would like e107 to use. It can also include a port number. e.g. “hostname:port” or a path to a local socket e.g. \":/path/to/socket\" for the localhost.");
define("LANINS_030", "The MySQL server you would like e107 to use. It can also include a port number. e.g. 'hostname:port' or a path to a local socket e.g. \":/path/to/socket\" for the localhost.");
define("LANINS_031", "The username you wish e107 to use to connect to your MySQL server");
define("LANINS_032", "The Password for the user you just entered. Must not contain single or double quotes.");
define("LANINS_033", "The MySQL database you wish e107 to reside in, sometimes referred to as a schema. Must begin with a letter. If the user has database create permissions you can opt to create the database automatically if it doesn't already exist.");
define("LANINS_034", "The prefix you wish e107 to use when creating the e107 tables. Useful for multiple installs of e107 in one database schema.");
define("LANINS_035", "Continue");
define("//LANINS_035", "Continue"); // LAN_CONTINUE
define("LANINS_036", "3");
define("LANINS_037", "MySQL Connection Verification");
define("LANINS_038", " and Database Creation");
@ -74,7 +74,7 @@ define("LANINS_049", "The two passwords you entered are not the same. Please go
define("LANINS_050", "XML Extension");
define("LANINS_051", "Installed");
define("LANINS_052", "Not Installed");
define("LANINS_053", "e107 0.8.x requires the PHP XML Extension to be installed. Please contact your host or read the information at <a href='http://php.net/manual/en/ref.xml.php' target='_blank'>php.net</a> before continuing");
define("LANINS_053", "e107 0.8.x requires the PHP XML Extension to be installed. Please contact your host or read the information at [link=http://php.net/manual/en/ref.xml.php]php.net[/link] before continuing");
//not used: define("LANINS_054", " before continuing");
define("LANINS_055", "Install Confirmation");
define("LANINS_056", "6");
@ -86,12 +86,14 @@ Please click the button to create the database tables and save all your settings
define("LANINS_058", "7");
define("LANINS_060", "Unable to read the sql datafile
Please ensure the file <b>core_sql.php</b> exists in the <b>/e107_core/sql</b> directory.");
Please ensure the file [b]core_sql.php[/b] exists in the [b]/e107_core/sql[/b] directory.");
define("LANINS_061", "e107 was unable to create all of the required database tables.
Please clear the database and rectify any problems before trying again.");
define("LANINS_062", "[b]Welcome to your new website![/b]
e107 has installed successfully and is now ready to accept content.<br />Your administration section is [link=e107_admin/admin.php]located here[/link], click to go there now. You will have to login using the name and password you entered during the installation process.
e107 has installed successfully and is now ready to accept content.
Your administration section is [link=e107_admin/admin.php]located here[/link], click to go there now. You will have to login using the name and password you entered during the installation process.
[b]Support[/b]
e107 Homepage: [link=http://e107.org]http://e107.org[/link], you will find the FAQ and documentation here.
@ -109,13 +111,13 @@ define("LANINS_063", "Welcome to e107");
define("LANINS_069", "e107 has been successfully installed!
For security reasons you should now set the file permissions on the <b>e107_config.php</b> file back to 644.
For security reasons you should now set the file permissions on the [b]e107_config.php[/b] file back to 644.
Also please delete install.php from your server after you have clicked the button below.
");
define("LANINS_070", "e107 was unable to save the main config file to your server.
Please ensure the <b>e107_config.php</b> file has the correct permissions");
Please ensure the [b]e107_config.php[/b] file has the correct permissions");
define("LANINS_071", "Installation Complete");
define("LANINS_072", "Admin Username");
@ -136,7 +138,7 @@ define("LANINS_083", "MySQL Reported Error:");
define("LANINS_084", "The installer could not establish a connection to the database");
define("LANINS_085", "The installer could not select database:");
define("LANINS_086", "Admin Username, Admin Password and Admin Email are <b>required</b> fields. Please return to the last page and ensure the information is correctly entered.");
define("LANINS_086", "Admin Username, Admin Password and Admin Email are [b]required[/b] fields. Please return to the last page and ensure the information is correctly entered.");
define("LANINS_087", "Misc");
define("LANINS_088", "Home");
@ -163,7 +165,7 @@ define("LANINS_106", 'WARNING - e107 cannot write to the directories and/or file
You will need to change the file permissions to use these features');
define("LANINS_107", "Website Name");
define("LANINS_108", "eg. 'My Blog'");
define("LANINS_108", "e.g. 'My Blog'");
define("LANINS_109", "Website Theme");
define("LANINS_110", "");
define("LANINS_111", "Include Content/Configuration");
@ -189,4 +191,4 @@ define("LANINS_129", "Database not found.");
define('LANINS_130', "Parked Domain");
define('LANINS_131', "The parked domain which will become a new e107 website.");
define('LANINS_132', "mydomain.com");
define('LANINS_133', "This will create a fresh installation of e107 at the domain you specify. Using your server administration software (eg. cPanel) - park your other domain on top of [x]");
define('LANINS_133', "This will create a fresh installation of e107 at the domain you specify. Using your server administration software (e.g. cPanel) - park your other domain on top of [x]");

View File

@ -18,7 +18,7 @@ define("LAN_PAGE_5", "Thank you for rating this page");
define("LAN_PAGE_6", "You do not have permission to view this page");
define("LAN_PAGE_7", "Incorrect password");
define("LAN_PAGE_8", "Password Protected Page");
define("LAN_PAGE_9", "Password");
//define("LAN_PAGE_9", "Password");//LAN_PASSWORD
define("LAN_PAGE_10", "Submit");
define("LAN_PAGE_11", "Page List");
define("LAN_PAGE_12", "Invalid page");

View File

@ -16,7 +16,7 @@ define("LAN_PRINT_87", "by ");
define("LAN_PRINT_94", "Posted by");
define("LAN_PRINT_135", "News Item: ");
define("LAN_PRINT_303", "This news item is from ");
define("LAN_PRINT_304", "Title: ");
//define("LAN_PRINT_304", "Title: ");//LAN_TITLE
define("LAN_PRINT_305", "Subheading: ");
define("LAN_PRINT_306", "This is from: ");
define("LAN_PRINT_307", "Print this page");

View File

@ -95,7 +95,7 @@ define("LAN_SEARCH_64", "All Download Categories");
define("LAN_SEARCH_65", "Downloads");
define("LAN_SEARCH_66", "Date added");
define("LAN_SEARCH_67", "All downloads details");
define("LAN_SEARCH_68", "Date");
//define("LAN_SEARCH_68", "Date");//LAN_DATE
define("LAN_SEARCH_69", "Relevance");
define("LAN_SEARCH_70", "Posted to download item");

View File

@ -11,7 +11,7 @@
*/
define("PAGE_NAME", "Submit News");
define("LAN_7", "Name: ");
define("LAN_62", "News Title: ");
//define("LAN_62", "News Title: ");//LAN_TITLE
define("LAN_112", "Email Address: ");
define("LAN_133", "Thank you");
define("LAN_134", "Your item has been submitted for review by one of the site administrators.");
@ -19,8 +19,8 @@ define("LAN_135", "News Item: ");
define("LAN_136", "Submit News Item");
define("NWSLAN_6", "Category");
define("NWSLAN_10", "No news categories");
define("NWSLAN_11", "You don't have access to this area.");
define("NWSLAN_12", "Access Denied.");
//define("NWSLAN_11", "You don't have access to this area.");//LAN_UI_403_BODY_ERROR
//define("NWSLAN_12", "Access Denied.");//LAN_UI_403_TITLE_ERROR
define("SUBNEWSLAN_1", "You must include a title.\\n");
define("SUBNEWSLAN_2", "You must include some text in the news item.\\n");

View File

@ -43,7 +43,7 @@ define("LAN_408", "Underlined");
define("LAN_409", "Name of file");
define("LAN_410", "Version");
define("LAN_411", "File");
define("LAN_412", "Screenshot");
//define("LAN_412", "Screenshot");//LAN_SCREENSHOT
define("LAN_413", "Description");
define("LAN_414", "Working demo");
define("LAN_415", "enter URL to site where demo can be viewed");

View File

@ -88,7 +88,7 @@ define('LAN_USER_57', 'Order: '); // LAN_139
define('LAN_USER_58', 'Member'); // LAN_142
define('LAN_USER_59', 'Joined'); // LAN_145
define('LAN_USER_60', 'Email Address: '); // LAN_112
define('LAN_USER_61', 'Rating'); // LAN_406
//define('LAN_USER_61', 'Rating'); // LAN_406 now LAN_RATING
define('LAN_USER_62', 'Send Private Message'); // LAN_425
define('LAN_USER_63', 'Real Name: '); // LAN_308
define('LAN_USER_64', 'Site Stats'); // LAN_403
@ -156,7 +156,7 @@ define("LAN_149", "Forum posts");
define("LAN_308", "Real Name");
define("LAN_403", "Site Stats");
define("LAN_404", "Last visit");
define("LAN_406", "Rating");
//define("LAN_406", "Rating");//LAN_RATING
define("LAN_419", "Show");
define("LAN_425", "Send Private Message");

View File

@ -16,7 +16,7 @@ define("UE_LAN_3", "Drop-Down Menu");
define("UE_LAN_4", "DB Table Field");
define("UE_LAN_5", "Textarea");
define("UE_LAN_6", "Integer");
define("UE_LAN_7", "Date");
//define("UE_LAN_7", "Date");//LAN_DATE
define("UE_LAN_8", "Language");
define('UE_LAN_9', 'Predefined list');
define('UE_LAN_10', 'Checkboxes');

View File

@ -329,7 +329,7 @@ if ($action == "uopt")
$columnInfo = array(
"checkboxes" => array("title" => "", "forced"=> TRUE, "width" => "3%", "thclass" => "center first", "toggle" => "dl_selected"),
"upload_id" => array("title"=>DOWLAN_67, "type"=>"", "width"=>"auto", "thclass"=>"", "forced"=>true),
"upload_id" => array("title"=>LAN_ID, "type"=>"", "width"=>"auto", "thclass"=>"", "forced"=>true),
"upload_date" => array("title"=>DOWLAN_78, "type"=>"", "width"=>"auto", "thclass"=>""),
"upload_uploader" => array("title"=>DOWLAN_79, "type"=>"", "width"=>"auto", "thclass"=>""),
"upload_name" => array("title"=>DOWLAN_12, "type"=>"", "width"=>"auto", "thclass"=>""),

View File

@ -207,22 +207,22 @@ class download_shortcodes extends e_shortcode
{
case 'name':
$qry['order'] = 'name';
$text = LAN_dl_28;
$text = LAN_NAME;
break;
case 'datestamp':
$qry['order'] = 'datestamp';
$text = LAN_dl_22;
$text = LAN_DATE;
break;
case 'author':
$qry['order'] = 'author';
$text = LAN_dl_24;
$text = LAN_AUTHOR;
break;
case 'filesize':
$qry['order'] = 'filesize';
$text = LAN_dl_21;
$text = LAN_SIZE;
break;
case 'requested':
@ -231,7 +231,7 @@ class download_shortcodes extends e_shortcode
break;
case 'rating':
$text = LAN_dl_12;
$text = LAN_RATING;
break;
case 'link':
@ -265,11 +265,11 @@ class download_shortcodes extends e_shortcode
if ($this->var['download_mirror_type'])
{
$text = ($pref['agree_flag'] ? "<a href='".e_PLUGIN_ABS."download/download.php?mirror.".$this->var['download_id']."' onclick= \"return confirm('{$agreetext}');\">" : "<a href='".e_PLUGIN_ABS."download/download.php?mirror.".$this->var['download_id']."' title='".LAN_dl_32."'>");
$text = ($pref['agree_flag'] ? "<a href='".e_PLUGIN_ABS."download/download.php?mirror.".$this->var['download_id']."' onclick= \"return confirm('{$agreetext}');\">" : "<a href='".e_PLUGIN_ABS."download/download.php?mirror.".$this->var['download_id']."' title='".LAN_DOWNLOAD."'>");
}
else
{
$text = ($pref['agree_flag'] ? "<a href='".e_PLUGIN_ABS."download/request.php?".$this->var['download_id']."' onclick= \"return confirm('{$agreetext}');\">" : "<a href='".e_PLUGIN_ABS."download/request.php?".$this->var['download_id']."' title='".LAN_dl_32."'>");
$text = ($pref['agree_flag'] ? "<a href='".e_PLUGIN_ABS."download/request.php?".$this->var['download_id']."' onclick= \"return confirm('{$agreetext}');\">" : "<a href='".e_PLUGIN_ABS."download/request.php?".$this->var['download_id']."' title='".LAN_DOWNLOAD."'>");
}
$text .= $tp->toHTML($this->var['download_name'], FALSE, 'TITLE')."</a>";
@ -352,7 +352,7 @@ class download_shortcodes extends e_shortcode
$agreetext = $tp->toJS($tp->toHTML($pref['agree_text'],FALSE,'DESCRIPTION'));
$img = "<img src='".IMAGE_DOWNLOAD."' alt='".LAN_dl_32."' title='".LAN_dl_32."' />";
$img = "<img src='".IMAGE_DOWNLOAD."' alt='".LAN_DOWNLOAD."' title='".LAN_DOWNLOAD."' />";
if(deftrue('BOOTSTRAP'))
{
@ -362,14 +362,14 @@ class download_shortcodes extends e_shortcode
if ($this->var['download_mirror_type'])
{
return "<a class='e-tip' title='".LAN_dl_32."' href='".e_PLUGIN_ABS."download/download.php?mirror.".$this->var['download_id']."'>{$img}</a>";
return "<a class='e-tip' title='".LAN_DOWNLOAD."' href='".e_PLUGIN_ABS."download/download.php?mirror.".$this->var['download_id']."'>{$img}</a>";
}
else
{
$url = e107::getUrl()->create('download/request/item',array('id'=>$this->var['download_id'], 'name'=>$this->var['download_sef']));
return ($pref['agree_flag'] ? "<a class='e-tip' title='".LAN_dl_32."' href='".$url."' onclick= \"return confirm('{$agreetext}');\">{$img}</a>" : "<a class='e-tip' title='".LAN_dl_32."' href='".$url."' >{$img}</a>");
return ($pref['agree_flag'] ? "<a class='e-tip' title='".LAN_DOWNLOAD."' href='".$url."' onclick= \"return confirm('{$agreetext}');\">{$img}</a>" : "<a class='e-tip' title='".LAN_DOWNLOAD."' href='".$url."' >{$img}</a>");
// return ($pref['agree_flag'] ? "<a class='e-tip' title='".LAN_dl_32."' href='".e_PLUGIN_ABS."download/request.php?".$this->var['download_id']."' onclick= \"return confirm('{$agreetext}');\">{$img}</a>" : "<a class='e-tip' title='".LAN_dl_32."' href='".e_PLUGIN_ABS."download/request.php?".$this->var['download_id']."' >{$img}</a>");
// return ($pref['agree_flag'] ? "<a class='e-tip' title='".LAN_DOWNLOAD."' href='".e_PLUGIN_ABS."download/request.php?".$this->var['download_id']."' onclick= \"return confirm('{$agreetext}');\">{$img}</a>" : "<a class='e-tip' title='".LAN_DOWNLOAD."' href='".e_PLUGIN_ABS."download/request.php?".$this->var['download_id']."' >{$img}</a>");
}
}
@ -423,7 +423,7 @@ class download_shortcodes extends e_shortcode
function sc_download_list_total_files()
{
global $dlft;
return intval($dlft)." ".LAN_dl_17;
return intval($dlft)." ".strtolower(LAN_FILES);
}
@ -594,7 +594,7 @@ class download_shortcodes extends e_shortcode
$click = "";
$img = "<img src='".IMAGE_DOWNLOAD."' alt='".LAN_dl_32."' title='".LAN_dl_32."' />";
$img = "<img src='".IMAGE_DOWNLOAD."' alt='".LAN_DOWNLOAD."' title='".LAN_DOWNLOAD."' />";
if(deftrue('BOOTSTRAP'))
{
@ -674,7 +674,7 @@ class download_shortcodes extends e_shortcode
else if (!USER) {
$text .= "&nbsp;";
} else {
$text .= LAN_dl_15;
$text .= LAN_THANK_YOU;
}
$text .= "</td></tr></table>";
return $text;
@ -740,14 +740,14 @@ class download_shortcodes extends e_shortcode
$click = " onclick='return confirm(\"".$tp->toJS($tp->toHTML($pref['agree_text'],FALSE,'DESCRIPTION'))."\")'";
$img = "<img src='".IMAGE_DOWNLOAD."' alt='".LAN_dl_32."' title='".LAN_dl_32."' />";
$img = "<img src='".IMAGE_DOWNLOAD."' alt='".LAN_DOWNLOAD."' title='".LAN_DOWNLOAD."' />";
if(deftrue('BOOTSTRAP'))
{
$img = '<i class="icon-download"></i>';
}
return "<a href='".e_PLUGIN_ABS."download/download.php?mirror.{$this->var['download_id']}.{$this->mirror['dlmirrorfile'][0]}' title='".LAN_dl_32."'{$click}>".$img."</a>";
return "<a href='".e_PLUGIN_ABS."download/download.php?mirror.{$this->var['download_id']}.{$this->mirror['dlmirrorfile'][0]}' title='".LAN_DOWNLOAD."'{$click}>".$img."</a>";
}
function sc_download_mirror_requests()
@ -766,7 +766,7 @@ class download_shortcodes extends e_shortcode
function sc_download_view_author_lan()
{
return ($this->var['download_author']) ? LAN_dl_24 : "";
return ($this->var['download_author']) ? LAN_AUTHOR : "";
}
function sc_download_view_authoremail_lan()
@ -784,12 +784,12 @@ class download_shortcodes extends e_shortcode
function sc_download_view_date_lan()
{
return ($this->var['download_datestamp']) ? LAN_dl_22 : "";
return ($this->var['download_datestamp']) ? LAN_DATE: "";
}
function sc_download_view_image_lan()
{
return LAN_dl_11;
return LAN_IMAGE;
}
function sc_download_view_requested()
@ -800,17 +800,17 @@ class download_shortcodes extends e_shortcode
function sc_download_view_rating_lan()
{
return LAN_dl_12;
return LAN_RATING;
}
function sc_download_view_filesize_lan()
{
return LAN_dl_10;
return LAN_SIZE;
}
function sc_download_view_description_lan()
{
return LAN_dl_7;
return LAN_DESCRIPTION;
}
function sc_download_view_requested_lan()
@ -820,7 +820,7 @@ class download_shortcodes extends e_shortcode
function sc_download_view_link_lan()
{
return LAN_dl_32;
return LAN_DOWNLOAD;
}
@ -911,7 +911,7 @@ class download_shortcodes extends e_shortcode
{
$text = "<form class='form-search form-inline' method='get' action='".e_BASE."search.php'>";
$text .= '<div><div class="input-group">';
$text .= "<input class='tbox form-control search-query' type='text' name='q' size='30' value='' placeholder=\"".LAN_dl_41."\" maxlength='50' />
$text .= "<input class='tbox form-control search-query' type='text' name='q' size='30' value='' placeholder=\"".LAN_SEARCH."\" maxlength='50' />
<input type='hidden' name='r' value='0' />
<input type='hidden' name='t' value='download' />
";
@ -929,7 +929,7 @@ class download_shortcodes extends e_shortcode
return "<form class='form-search form-inline' method='get' action='".e_BASE."search.php'>
<div class='input-group'>
<input class='tbox form-control search-query' type='text' name='q' size='30' value='' placeholder=\"".LAN_dl_41."\" maxlength='50' />
<input class='tbox form-control search-query' type='text' name='q' size='30' value='' placeholder=\"".LAN_SEARCH."\" maxlength='50' />
<button class='btn btn-primary button' type='submit' name='s' value='1' />".LAN_GO."</button>
<input type='hidden' name='r' value='0' />
</div>

View File

@ -199,7 +199,7 @@ class adminDownload extends download
$sort_link = $sortdirection == 'asc' ? 'desc' : 'asc';
$columnInfo = array(
"checkboxes" => array("title" => "", "forced"=> TRUE, "width" => "3%", "thclass" => "center first", "toggle" => "dl_selected"),
"download_id" => array("title"=>DOWLAN_67, "type"=>"", "width"=>"auto", "thclass"=>"", "forced"=>true),
"download_id" => array("title"=>LAN_ID, "type"=>"", "width"=>"auto", "thclass"=>"", "forced"=>true),
"download_name" => array("title"=>DOWLAN_12, "type"=>"", "width"=>"auto", "thclass"=>""),
"download_url" => array("title"=>DOWLAN_13, "type"=>"", "width"=>"auto", "thclass"=>""),
"download_author" => array("title"=>DOWLAN_15, "type"=>"", "width"=>"auto", "thclass"=>""),
@ -1521,7 +1521,7 @@ class adminDownload extends download
<td>
<select name='mirror_order' class='tbox'>".
($pref['mirror_order'] == "0" ? "<option value='0' selected='selected'>".DOWLAN_161."</option>" : "<option value='0'>".DOWLAN_161."</option>").
($pref['mirror_order'] == "1" ? "<option value='1' selected='selected'>".DOWLAN_67."</option>" : "<option value='1'>".DOWLAN_67."</option>").
($pref['mirror_order'] == "1" ? "<option value='1' selected='selected'>".LAN_ID."</option>" : "<option value='1'>".LAN_ID."</option>").
($pref['mirror_order'] == "2" ? "<option value='2' selected='selected'>".DOWLAN_163."</option>" : "<option value='2'>".DOWLAN_12."</option>")."
</select>
</td>
@ -1612,7 +1612,7 @@ class adminDownload extends download
$imgd = e_BASE.$IMAGES_DIRECTORY;
$columnInfo = array(
"checkboxes" => array("title" => "", "forced"=> TRUE, "width" => "3%", "thclass" => "center first", "toggle" => "dl_selected"),
"upload_id" => array("title"=>DOWLAN_67, "type"=>"", "width"=>"auto", "thclass"=>"", "forced"=>true),
"upload_id" => array("title"=>LAN_ID, "type"=>"", "width"=>"auto", "thclass"=>"", "forced"=>true),
"upload_date" => array("title"=>DOWLAN_78, "type"=>"", "width"=>"auto", "thclass"=>""),
"upload_uploader" => array("title"=>DOWLAN_79, "type"=>"", "width"=>"auto", "thclass"=>""),
"upload_name" => array("title"=>DOWLAN_12, "type"=>"", "width"=>"auto", "thclass"=>""),

View File

@ -208,7 +208,7 @@ class download
if ($dlcat->down_count == 0)
{
return $ns->tablerender(LAN_PLUGIN_DOWNLOAD_NAME, "<div style='text-align:center'>".LAN_dl_2."</div>",'download-categories',true);
return $ns->tablerender(LAN_PLUGIN_DOWNLOAD_NAME, "<div style='text-align:center'>".LAN_NO_RECORDS_FOUND."</div>",'download-categories',true);
}
$download_cat_table_string = "";
@ -321,7 +321,7 @@ class download
if(!$sql->gen($query))
{
//require_once(HEADERF);
return $ns->tablerender(LAN_PLUGIN_DOWNLOAD_NAME, "<div style='text-align:center'>".LAN_dl_3."</div>", 'download-view', true);
return $ns->tablerender(LAN_PLUGIN_DOWNLOAD_NAME, "<div style='text-align:center'>".LAN_NO_RECORDS_FOUND."."</div>", 'download-view', true);
//require_once(FOOTERF);
//exit;
}
@ -684,7 +684,7 @@ class download
{
$report_add = $tp->toDB($_POST['report_add']);
$download_name = $tp->toDB($download_name);
$user = USER ? USERNAME : LAN_dl_52;
$user = USER ? USERNAME : LAN_GUEST;
if ($pref['download_email'])
{ // this needs to be moved into the NOTIFY, with an event.
@ -720,7 +720,7 @@ class download
$text .= "<form action='".e_SELF."?report.{$download_id}' method='post'>
<div>
".LAN_dl_32.": <a href='".e_PLUGIN."download/download?action=view&id={$download_id}'>".$download_name."</a>
".LAN_DOWNLOAD.": <a href='".e_PLUGIN."download/download?action=view&id={$download_id}'>".$download_name."</a>
</div>
<div>".LAN_dl_54."<br />".LAN_dl_55."</div>
<div> ".$frm->textarea('report_add')."</div>
@ -888,10 +888,10 @@ class download
break;
default: // Generic error - shouldn't happen
$errmsg = LAN_dl_61." ".$this->qry['error'];
$errmsg = LAN_ERROR." ".$this->qry['error'];
}
return $ns->tablerender(LAN_dl_61, $header. "<div class='alert alert-error alert-danger alert-block' style='text-align:center'>".$errmsg."</div>". $footer, 'download-error', true);
return $ns->tablerender(LAN_ERROR, $header. "<div class='alert alert-error alert-danger alert-block' style='text-align:center'>".$errmsg."</div>". $footer, 'download-error', true);
}

View File

@ -276,7 +276,7 @@ class download_main_admin_ui extends e_admin_ui
/*
$columnInfo = array(
"checkboxes" => array("title" => "", "forced"=> TRUE, "width" => "3%", "thclass" => "center first", "toggle" => "dl_selected"),
"download_id" => array("title"=>DOWLAN_67, "type"=>"", "width"=>"auto", "thclass"=>"", "forced"=>true),
"download_id" => array("title"=>LAN_ID, "type"=>"", "width"=>"auto", "thclass"=>"", "forced"=>true),
"download_name" => array("title"=>DOWLAN_12, "type"=>"", "width"=>"auto", "thclass"=>""),
"download_url" => array("title"=>DOWLAN_13, "type"=>"", "width"=>"auto", "thclass"=>""),
"download_author" => array("title"=>DOWLAN_15, "type"=>"", "width"=>"auto", "thclass"=>""),
@ -576,7 +576,7 @@ $columnInfo = array(
</td>
</tr>
<tr>
<th class='fcaption'>".DOWLAN_67."</th>
<th class='fcaption'>".LAN_ID."</th>
<th class='fcaption'>".DOWLAN_113."</th>
<th class='fcaption'>".DOWLAN_107."</th>
<th class='fcaption'>".DOWLAN_108."</th>
@ -676,7 +676,7 @@ $columnInfo = array(
<table class="table adminform">';
$text .= '<tr>';
$text .= '<th>'.DOWLAN_13.'</th>';
$text .= '<th>'.DOWLAN_67.'</th>';
$text .= '<th>'.LAN_ID.'</th>';
$text .= '<th>'.DOWLAN_27.'</th>';
$text .= '<th>'.DOWLAN_11.'</th>';
$text .= '<th>'.LAN_OPTIONS.'</th>';
@ -778,7 +778,7 @@ $columnInfo = array(
$text .= '<form method="post" action="'.e_SELF.'?'.e_QUERY.'" id="myform">
<table class="adminlist">';
$text .= '<tr>';
$text .= '<th>'.DOWLAN_67.'</th>';
$text .= '<th>'.LAN_ID.'</th>';
$text .= '<th>'.DOWLAN_27.'</th>';
$text .= '<th>'.DOWLAN_11.'</th>';
$text .= '<th>'.DOWLAN_13.'</th>';
@ -824,7 +824,7 @@ $columnInfo = array(
$text .= '<form method="post" action="'.e_SELF.'?'.e_QUERY.'" id="myform">
<table class="table adminform">';
$text .= '<tr>';
$text .= '<th>'.DOWLAN_67.'</th>';
$text .= '<th>'.LAN_ID.'</th>';
$text .= '<th>'.DOWLAN_27.'</th>';
$text .= '<th>'.DOWLAN_11.'</th>';
$text .= '<th>'.DOWLAN_13.'</th>';
@ -879,7 +879,7 @@ $columnInfo = array(
<form method="post" action="'.e_SELF.'?'.e_QUERY.'" id="myform">
<table class="table adminlist">';
$text .= '<tr>';
$text .= '<th>'.DOWLAN_67.'</th>';
$text .= '<th>'.LAN_ID.'</th>';
$text .= '<th>'.DOWLAN_27.'</th>';
$text .= '<th>'.DOWLAN_13.'</th>';
$text .= '<th>'.LAN_OPTIONS.'</th>';
@ -933,7 +933,7 @@ $columnInfo = array(
$text .= '<form method="post" action="'.e_SELF.'?'.e_QUERY.'" id="myform">
<table class="table adminlist">';
$text .= '<tr>';
$text .= '<th>'.DOWLAN_67.'</th>';
$text .= '<th>'.LAN_ID.'</th>';
$text .= '<th>'.DOWLAN_27.'</th>';
$text .= '<th>'.DOWLAN_11.'</th>';
$text .= '<th>'.DOWLAN_13.'</th>';
@ -2096,7 +2096,7 @@ $columnInfo = array(
<td>
<select name='mirror_order' class='tbox'>".
($pref['mirror_order'] == "0" ? "<option value='0' selected='selected'>".DOWLAN_161."</option>" : "<option value='0'>".DOWLAN_161."</option>").
($pref['mirror_order'] == "1" ? "<option value='1' selected='selected'>".DOWLAN_67."</option>" : "<option value='1'>".DOWLAN_67."</option>").
($pref['mirror_order'] == "1" ? "<option value='1' selected='selected'>".LAN_ID."</option>" : "<option value='1'>".LAN_ID."</option>").
($pref['mirror_order'] == "2" ? "<option value='2' selected='selected'>".DOWLAN_163."</option>" : "<option value='2'>".DOWLAN_12."</option>")."
</select>
</td>

View File

@ -86,7 +86,7 @@ define("DOWLAN_63", "Descending");
define("DOWLAN_64", "Update Options");
define("DOWLAN_65", "Options Updated");
define("DOWLAN_66", "Filesize");
define("DOWLAN_67", "ID"); //FIXME Use Generic
//define("DOWLAN_67", "ID"); //FIXME Use Generic // LAN_ID
define("DOWLAN_68", "File Missing!");
// define("DOWLAN_69", "Downloads handled by PHP");
// define("DOWLAN_70", "Checking this will send all download requests through PHP.");

View File

@ -7,50 +7,50 @@
*/
define("LAN_dl_1", "(Restricted)");
define("LAN_dl_2", "No downloads yet, please check back soon");
define("LAN_dl_3", "No downloads in this category yet");
//define("LAN_dl_2", "No downloads yet, please check back soon");//LAN_NO_RECORDS_FOUND
//define("LAN_dl_3", "No downloads in this category yet");//LAN_NO_RECORDS_FOUND
define("LAN_dl_4", "Files available: ");
define("LAN_dl_5", "Total size of files: ");
define("LAN_dl_6", "Files downloaded: ");
define("LAN_dl_7", "Description");
//define("LAN_dl_7", "Description"); // LAN_DESCRIPTION
define("LAN_dl_8", "Get");
define("LAN_dl_9", "Return to Category List");
define("LAN_dl_10", "Filesize");
define("LAN_dl_11", "Image"); //FIXME Use Generic
define("LAN_dl_12", "Rating");
//define("LAN_dl_10", "Filesize");//LAN_SIZE
//define("LAN_dl_11", "Image"); //FIXME Use Generic LAN_IMAGE
//define("LAN_dl_12", "Rating");//LAN_RATING
define("LAN_dl_13", "Not rated");
define("LAN_dl_14", "Rate this download");
define("LAN_dl_15", "Thanks for rating");
//define("LAN_dl_15", "Thanks for rating");LAN_THANK_YOU
define("LAN_dl_16", "download(s) from");
define("LAN_dl_17", "files");
//define("LAN_dl_17", "files"); //LAN_FILES
// define("LAN_dl_18", "Downloads");
define("LAN_dl_19", "Category"); //FIXME Use Generic
define("LAN_dl_20", "Files");
define("LAN_dl_21", "Size");
define("LAN_dl_22", "Date"); //FIXME Use Generic
define("LAN_dl_23", "Filename");
define("LAN_dl_24", "Author"); //FIXME Use Generic
define("LAN_dl_25", "Ascending");
define("LAN_dl_26", "Descending");
//define("LAN_dl_19", "Category"); //FIXME Use Generic LAN_CATEGORY
//define("LAN_dl_20", "Files"); LAN_FILES
//define("LAN_dl_21", "Size"); LAN_SIZE
//define("LAN_dl_22", "Date"); //FIXME Use Generic LAN_DATE
//define("LAN_dl_23", "Filename"); //LAN_FILE
//define("LAN_dl_24", "Author"); //FIXME Use Generic LAN_AUTHOR
//define("LAN_dl_25", "Ascending");LAN_ASCENDING
//define("LAN_dl_26", "Descending");LAN_DESCENDING
// define("LAN_dl_27", "Go");
define("LAN_dl_28", "Name"); //FIXME Use Generic
//define("LAN_dl_28", "Name"); //FIXME Use Generic LAN_NAME
define("LAN_dl_29", "DL's");
define("LAN_dl_30", "Author email");
define("LAN_dl_31", "Author website");
define("LAN_dl_32", "Download");
//define("LAN_dl_32", "Download");//LAN_DOWNLOAD
// define("LAN_dl_33", "Previous");
// define("LAN_dl_34", "Next");
define("LAN_dl_35", "Back to list"); //FIXME Use Generic
//define("LAN_dl_35", "Back to list"); //FIXME Use Generic LAN_BACK
define("LAN_dl_36", "New downloads");
define("LAN_dl_37", "View"); //FIXME Use Generic
define("LAN_dl_38", "Order by");
define("LAN_dl_39", "Sort"); //FIXME Use Generic
//define("LAN_dl_37", "View"); //FIXME Use Generic LAN_VIEW
//define("LAN_dl_38", "Order by"); //LAN_ORDER_BY
//define("LAN_dl_39", "Sort"); //FIXME Use Generic //LAN_SORT
define("LAN_dl_40", "Click here for screenshot");
define("LAN_dl_41", "Search Downloads");
//define("LAN_dl_41", "Search Downloads");//LAN_SEARCH
define("LAN_dl_42", "Sub-category");
//define("LAN_dl_42", "Sub-category");//usage not found
define("LAN_dl_43", "vote");
define("LAN_dl_44", "votes");
define("LAN_dl_45", "Report broken download");
@ -61,7 +61,7 @@ define("LAN_dl_48", "Download has been reported to administrator.<br />Thank you
define("LAN_dl_49", "Click here to return to download");
define("LAN_dl_50", "Broken download reported");
define("LAN_dl_51", "Reporting download: ");
define("LAN_dl_52", "Guest");
//define("LAN_dl_52", "Guest");//LAN_GUEST
define("LAN_dl_53", "Click to view download");
define("LAN_dl_54", "An administrator will be made aware of this download, please leave a message if you feel it necessary.");
define("LAN_dl_55", "<b>Do not</b> use this form to contact the admin for any other reason.");
@ -71,28 +71,28 @@ define("LAN_dl_58", "The following download has been reported as broken from sit
define("LAN_dl_59", "Reported by: ");
define("LAN_dl_60", "Broken download report from");
define("LAN_dl_61", "Download Error");
//define("LAN_dl_61", "Download Error"); //LAN_ERROR
define("LAN_dl_62", "You have been prevented from downloading this file; you have exceeded your download quota");
define("LAN_dl_63", "You do not have the correct permissions to download this file.");
// define("LAN_dl_64", "Back");
define("LAN_dl_65", "File Not Found");
//define("LAN_dl_65", "File Not Found");LAN_FILE_NOT_FOUND
define("LAN_dl_66", "Select download mirror");
define("LAN_dl_67", "Select mirror ...");
define("LAN_dl_68", "Mirror Host");
// define("LAN_dl_69", "Download"); // duplicate
define("LAN_dl_70", "Location");
define("LAN_dl_71", "About");
//define("LAN_dl_70", "Location");LAN_LOCATION
//define("LAN_dl_71", "About");//ADLAN_CL_20
define("LAN_dl_72", "Requesting file: ");
define("LAN_dl_73", "Downloads from this mirror: ");
define("LAN_dl_74", "Total downloads from this mirror: ");
define("LAN_dl_75", "no image available ");
//define("LAN_dl_76", "Go to page"); //FIXME Use Generic
//define("LAN_dl_76", "Go to page"); //FIXME Use Generic
define("LAN_dl_77", "Downloads"); // Intentional duplicate - some languages need it to be different. This is for number of downloads
define('LAN_dl_78', 'That download has been disabled or discontinued. Please check in the --LINK--downloads</a> area for a more recent version.');
define('LAN_dl_78', 'That download has been disabled or discontinued. Please check in the [link=--LINK--]downloads area[/link] for a more recent version.');
?>

View File

@ -122,7 +122,7 @@ if (preg_match("#.*\.[a-z,A-Z]{3,4}#", e_QUERY))
$log->addError("Line".__LINE__.": Couldn't find ".e_DOWNLOAD.e_QUERY);
$log->toFile('download_requests','Download Requests', true); // Create a log file and add the log messages
require_once(HEADERF);
$ns->tablerender(LAN_dl_61, "<div style='text-align:center'>".LAN_dl_65."\n<br /><br />\n<a href='javascript:history.back(1)'>".LAN_BACK."</a></div>");
$ns->tablerender(LAN_ERROR, "<div style='text-align:center'>".LAN_FILE_NOT_FOUND."\n<br /><br />\n<a href='javascript:history.back(1)'>".LAN_BACK."</a></div>");
require_once(FOOTERF);
exit();
}
@ -141,7 +141,7 @@ if ($type == "file")
if ($row['download_active'] == 0)
{ // Inactive download - don't allow
require_once(HEADERF);
$ns->tablerender(LAN_dl_61, "<div style='text-align:center'>".str_replace('--LINK--',"<a href='".e_HTTP.'download.php'."'>",LAN_dl_78).'</div>');
$ns->tablerender(LAN_ERROR, "<div style='text-align:center'>".str_replace('--LINK--',e_HTTP.'download.php',LAN_dl_78).'</div>');
require_once(FOOTERF);
exit();
}
@ -275,7 +275,7 @@ if ($type == "file")
$log->addError("Line".__LINE__.": Couldn't find ".e_DOWNLOAD.e_QUERY);
$log->toFile('download_requests','Download Requests', true); // Create a log file and add the log messages
require_once(HEADERF);
$ns -> tablerender(LAN_dl_61, "<div style='text-align:center'>".LAN_dl_65."<br /><br /><a href='javascript:history.back(1)'>".LAN_BACK."</a></div>");
$ns -> tablerender(LAN_ERROR, "<div style='text-align:center'>".LAN_FILE_NOT_FOUND."<br /><br /><a href='javascript:history.back(1)'>".LAN_BACK."</a></div>");
require_once(FOOTERF);
exit();
}
@ -341,7 +341,7 @@ else
else
{
require_once(HEADERF);
$ns->tablerender(LAN_dl_61, "<div style='text-align:center'>".LAN_dl_65."<br /><br /><a href='javascript:history.back(1)'>".LAN_BACK."</a></div>");
$ns->tablerender(LAN_ERROR, "<div style='text-align:center'>".LAN_FILE_NOT_FOUND."<br /><br /><a href='javascript:history.back(1)'>".LAN_BACK."</a></div>");
require_once(FOOTERF);
exit;
}
@ -378,7 +378,7 @@ function check_download_limits()
// Exceeded download count limit
header("Location: ".e_BASE."download.php?error.{$cutoff}.2");
/* require_once(HEADERF);
$ns->tablerender(LAN_dl_61, LAN_dl_62);
$ns->tablerender(LAN_ERROR, LAN_dl_62);
require(FOOTERF); */
exit();
}
@ -408,7 +408,7 @@ function check_download_limits()
{ //Exceed bandwith limit
header("Location: ".e_BASE."download.php?error.{$cutoff}.2");
/* require(HEADERF);
$ns->tablerender(LAN_dl_61, LAN_dl_62);
$ns->tablerender(LAN_ERROR, LAN_dl_62);
require(FOOTERF); */
exit();
}

View File

@ -37,9 +37,9 @@ if(!isset($DOWNLOAD_CAT_TABLE_START))
</colgroup>
<thead>
<tr>
<th class='fcaption' colspan='2'>".LAN_dl_19."</th>
<th class='fcaption' colspan='2'>".LAN_CATEGORY."</th>
<th class='fcaption'>".LAN_dl_20."</th>
<th class='fcaption'>".LAN_dl_21."</th>
<th class='fcaption'>".LAN_SIZE."</th>
<th class='fcaption'>".LAN_dl_77."</th>
</tr>
</thead>
@ -306,10 +306,10 @@ if(!isset($DOWNLOAD_MIRROR_START))
</tr>
<tr>
<th class='forumheader' colspan='2'>".LAN_dl_68."</th>
<th class='forumheader'>".LAN_dl_71."</th>
<th class='forumheader'>".LAN_dl_70."</th>
<th class='forumheader'>".LAN_dl_21."</th>
<th class='forumheader'>".LAN_dl_32."</th>
<th class='forumheader'>".ADLAN_CL_20."</th>
<th class='forumheader'>".LAN_LOCATION."</th>
<th class='forumheader'>".LAN_SIZE"</th>
<th class='forumheader'>".LAN_DOWNLOAD."</th>
</tr>
";
}
@ -360,9 +360,9 @@ $DOWNLOAD_TEMPLATE['categories']['start'] = "
</colgroup>
<thead>
<tr>
<th colspan='2'>".LAN_dl_19."</th>
<th colspan='2'>".LAN_CATEGORY."</th>
<th>".LAN_dl_20."</th>
<th>".LAN_dl_21."</th>
<th>".LAN_SIZE."</th>
<th>".LAN_dl_77."</th>
</tr>
</thead>
@ -616,10 +616,10 @@ $DOWNLOAD_TEMPLATE['mirror']['start'] = "
</tr>
<tr>
<th colspan='2'>".LAN_dl_68."</th>
<th>".LAN_dl_71."</th>
<th>".LAN_dl_70."</th>
<th>".LAN_dl_21."</th>
<th>".LAN_dl_32."</th>
<th>".ADLAN_CL_20."</th>
<th>".LAN_LOCATION."</th>
<th>".LAN_SIZE."</th>
<th>".LAN_DOWNLOAD."</th>
</tr>
";

View File

@ -371,7 +371,7 @@ define("LAN_410", "Are you sure you want to delete this reply?");
define("LAN_411", "posted by ");
//v.616
define("LAN_412", "Title");
//define("LAN_412", "Title");//LAN_TITLE
define("LAN_413", "Report");
define("LAN_414", "Report this thread to a moderator");
define("LAN_415", "Thread title");

View File

@ -58,7 +58,7 @@ define("POLLAN_30", "Submit");
define("POLLAN_31", "Votes");
define("POLLAN_32", "Click here to see results");
define("POLLAN_33", "No previous polls yet.");
define("POLLAN_34", "Title");
//define("POLLAN_34", "Title");//LAN_TITLE
define("POLLAN_35", "Posted by");
define("POLLAN_36", "Active");
define("POLLAN_37", "active from");

View File

@ -54,7 +54,7 @@ define("POLLAN_30", "Submit");
define("POLLAN_31", "Votes");
define("POLLAN_32", "Click here to see results");
define("POLLAN_33", "No previous polls yet.");
define("POLLAN_34", "Title");
//define("POLLAN_34", "Title");//LAN_TITLE
define("POLLAN_35", "Posted by");
define("POLLAN_36", "Active");
define("POLLAN_37", "active from");

View File

@ -401,7 +401,7 @@ class e_install
$e_forms->start_form("language_select", $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING'] == "debug" ? "?debug" : ""));
$e_forms->add_select_item("language", $this->get_languages(), "English");
$this->finish_form();
$this->add_button("start", LANINS_035);
$this->add_button("start", LAN_CONTINUE);
$output = "
<div style='text-align: center;'>
<div class='alert alert-info alert-block'>
@ -495,7 +495,7 @@ class e_install
$this->finish_form();
$this->add_button("submit", LANINS_035);
$this->add_button("submit", LAN_CONTINUE);
$this->template->SetTag("stage_content", $page_info.$e_forms->return_form());
$this->logLine('Stage 2 completed');
}
@ -617,7 +617,7 @@ class e_install
</div>
\n";
$e_forms->add_plain_html($output);
$this->add_button("submit", LANINS_035);
$this->add_button("submit", LAN_CONTINUE);
$this->template->SetTag("stage_title", LANINS_040);
}
else
@ -712,12 +712,12 @@ class e_install
{
// $page_content .= "<br /><br />".LANINS_045."<br /><br />";
$this->add_button("submit", LANINS_035);
$this->add_button("submit", LAN_CONTINUE);
$alertType = 'success';
}
else
{
$this->add_button("back", LANINS_035);
$this->add_button("back", LAN_CONTINUE);
}
$head = $page_content;
}
@ -831,7 +831,7 @@ class e_install
}
elseif ($perms_pass && !$version_fail && $xml_installed)
{
$this->add_button("continue_install", LANINS_020);
$this->add_button("continue_install", LAN_CONTINUE);
}
$permColor = ($perms_pass == true) ? "text-success" : "text-error";
@ -942,7 +942,7 @@ class e_install
\n";
$e_forms->add_plain_html($output);
$this->finish_form();
$this->add_button("submit", LANINS_035);
$this->add_button("submit", LAN_CONTINUE);
$this->template->SetTag("stage_content", $e_forms->return_form());
$this->logLine('Stage 5 completed');
}
@ -1107,7 +1107,7 @@ class e_install
\n";
$e_forms->add_plain_html($output);
$this->finish_form();
$this->add_button("submit", LANINS_035);
$this->add_button("submit", LAN_CONTINUE);
$this->template->SetTag("stage_content", $e_forms->return_form());
$this->logLine('Stage 6 completed');
}
@ -1228,7 +1228,7 @@ class e_install
$e_forms->start_form("confirmation", $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING'] == "debug" ? "?debug" : ""));
$page = '<div class="alert alert-success">'.nl2br(LANINS_057).'</div>';
$this->finish_form();
$this->add_button("submit", LANINS_035);
$this->add_button("submit", LAN_CONTINUE);
@ -1290,7 +1290,7 @@ class e_install
$page .= "<p class='text-warning'>".$htaccessError."</p>";
}
$this->add_button('submit', LANINS_035);
$this->add_button('submit', LAN_CONTINUE);
}
$this->finish_form();

View File

@ -742,7 +742,7 @@ class pageClass
case 'pw':
$frm = e107::getForm();
$extend->caption = LAN_PAGE_8;
$extend->label = LAN_PAGE_9;
$extend->label = LAN_PASSWORD;
$extend->password = $frm->password('page_pw','',50,'size=xlarge&required=1');
$extend->icon = e_IMAGE_ABS.'generic/password.png';
$extend->submit = $frm->submit('submit_page_pw', LAN_PAGE_10);

View File

@ -28,7 +28,7 @@ if (!isset($pref['subnews_class']))
if (!check_class($pref['subnews_class']))
{
$ns->tablerender(NWSLAN_12, NWSLAN_11);
$ns->tablerender(LAN_UI_403_TITLE_ERROR, LAN_UI_403_BODY_ERROR);
require_once(FOOTERF);
exit;
}
@ -202,7 +202,7 @@ $text .= "
</td>
</tr>
<tr>
<td style='width:20%' class='forumheader3'>".LAN_62."</td>
<td style='width:20%' class='forumheader3'>".LAN_TITE."</td>
<td style='width:80%' class='forumheader3'>
<input class='tbox form-control' type='text' id='submitnews_title' name='submitnews_title' size='60' value='".$tp->toHTML(vartrue($_POST['submitnews_title']),TRUE,'USER_TITLE')."' maxlength='200' style='width:90%' required />
</td>