<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Remove lang-strings from admin.lang.php</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sat, 11 Apr 2026 18:46:16 -0000</pubDate>

		<item>
			<title>Kort</title>
			<description><![CDATA[Ok, the idea was to remove from admin.lang.php following strings:<br />
<pre class="code">$L&#091;'core_comments'&#093; = 'Comments';
$L&#091;'core_forums'&#093; = 'Forums';
$L&#091;'core_lang'&#093; = 'Languages';
$L&#091;'core_main'&#093; = 'Main Settings';
$L&#091;'core_menus'&#093; = 'Menu Slots';
$L&#091;'core_page'&#093; = 'Pages';
$L&#091;'core_parser'&#093; = 'Parser';
$L&#091;'core_pfs'&#093; = 'Personal File Space';
$L&#091;'core_plug'&#093; = 'Plugins';
$L&#091;'core_pm'&#093; = 'Private Messages';
$L&#091;'core_polls'&#093; = 'Polls';
$L&#091;'core_ratings'&#093; = 'Ratings';
$L&#091;'core_skin'&#093; = 'Skins';
$L&#091;'core_time'&#093; = 'Time and Date';
$L&#091;'core_title'&#093; = 'Titles';
$L&#091;'core_trash'&#093; = 'Trash Can';
$L&#091;'core_users'&#093; = 'Users';</pre>
Many of these are already declared in main.lang.php, but the task proved to be much more difficult because the list in /admin.php?m=config is generated with<br />
<pre class="code">		while ($row = sed_sql_fetcharray($sql))
		{
			$code = &quot;core_&quot;.$row&#091;'config_cat'&#093;;
			$adminmain .= &quot;&lt;li&gt;&lt;a href=https://www.cotonti.com/\&quot;&quot;.sed_url('admin', &quot;m=config&amp;n=edit&amp;o=core&amp;p=&quot;.$row&#091;'config_cat'&#093;).&quot;\&quot;&gt;&quot;.$L&#091;$code&#093;.&quot;&lt;/a&gt;&lt;/li&gt;&quot;;
		}</pre>
I tried to replace it with<br />
<pre class="code">		while ($row = sed_sql_fetcharray($sql))
		{
			$code =ucfirst(strtolower($row&#091;'config_cat'&#093;));
			$adminmain .= &quot;&lt;li&gt;&lt;a href=https://www.cotonti.com/\&quot;&quot;.sed_url('admin', &quot;m=config&amp;n=edit&amp;o=core&amp;p=&quot;.$row&#091;'config_cat'&#093;).&quot;\&quot;&gt;&quot;.$L&#091;$code&#093;.&quot;&lt;/a&gt;&lt;/li&gt;&quot;;
		}</pre>
, but main is already occupied (and used in polls config), page has to actually be pages (skin too), PFS has to be changed to Pfs with numerous revisions in the core.<br />
So the idea of unifying terminology is discarded, at least for now. Any opinions?]]></description>
			<pubDate>Thu, 09 Apr 2009 03:34:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2575&d=0#post11233]]></link>
		</item>
	</channel>
</rss>