<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ark.lparchaeology.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Markup_and_Aliases</id>
		<title>Markup and Aliases - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ark.lparchaeology.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Markup_and_Aliases"/>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Markup_and_Aliases&amp;action=history"/>
		<updated>2026-05-18T09:22:04Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.1</generator>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Markup_and_Aliases&amp;diff=2165&amp;oldid=prev</id>
		<title>Guy at 17:17, 26 February 2009</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Markup_and_Aliases&amp;diff=2165&amp;oldid=prev"/>
				<updated>2009-02-26T17:17:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:17, 26 February 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l32&quot; &gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Extended Markup===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Extended Markup===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category: Developer]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Guy</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Markup_and_Aliases&amp;diff=688&amp;oldid=prev</id>
		<title>Guy at 17:07, 26 February 2009</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Markup_and_Aliases&amp;diff=688&amp;oldid=prev"/>
				<updated>2009-02-26T17:07:03Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Labels and marked up text is handled in a language independant and code independant way. Text should be stored ready marked up. The use of wiki style formatting should be restricted tot he markup editor pages which are not yet written. This would allow wiki styling to be used by the user, but storing the records marked up.&lt;br /&gt;
&lt;br /&gt;
Bear in mind that a lot of chunks of text already exist in the form of column or table aliases. Try to make use of the standard aliasing methods before creating custom labels.&lt;br /&gt;
&lt;br /&gt;
All markup is stored in a modular style. Some elements will be most appropriate in the core module and others at the module level. The table containing the markup is supplied to the retrieval function (example bellow).&lt;br /&gt;
&lt;br /&gt;
===Aliases===&lt;br /&gt;
&lt;br /&gt;
Get aliases for fields, columns, tables and anything aliased using the [[global_functions.php#getAlias| getAlias]] function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
EXAMPLE:&lt;br /&gt;
&lt;br /&gt;
//get the label for the field&lt;br /&gt;
$alias = getAlias($db, &amp;#039;cxt_lut_txttype&amp;#039;, $lang, &amp;#039;id&amp;#039;, $field);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Labels===&lt;br /&gt;
&lt;br /&gt;
Get labels which are not alias back from the markup table using the [[getMarkup]] function.&lt;br /&gt;
&lt;br /&gt;
As a rule set a string to hold the markup which consists of the prefix $mk_ followed by the nickname of the markup as held in the markup table.&lt;br /&gt;
&lt;br /&gt;
Then when you output the text, you may refer to it as $mk_nickname.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
EXAMPLE&lt;br /&gt;
&lt;br /&gt;
$mk_no_interp = getMarkup($db, &amp;#039;cor_tbl_markup&amp;#039;, $lang, &amp;#039;no_interp&amp;#039;);&lt;br /&gt;
printf (&amp;quot;&amp;lt;li&amp;gt;$mk_no_interp&amp;lt;/li&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Extended Markup===&lt;/div&gt;</summary>
		<author><name>Guy</name></author>	</entry>

	</feed>