1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Closes #339 - Admin button on Bootstrap theme no longer hard-coded.

This commit is contained in:
Cameron
2013-05-25 17:55:35 -07:00
parent 4a07c92518
commit 0ccb124364
2 changed files with 3 additions and 2 deletions

View File

@@ -9,7 +9,9 @@
<field name="gen_user_id">1</field>
<field name="gen_ip">Hello World!</field>
<field name="gen_intdata">0</field>
<field name="gen_chardata"><![CDATA[This is a twitter bootstrap template for a simple marketing or informational website. The only difference is that e107 is managing the content. ie. The text you are reading is the &#039;Welcome Message&#039; and the items below are &quot;News Items&quot;. Visit the admin-area to modify. ]]></field>
<field name="gen_chardata"><![CDATA[
[html]This is a twitter bootstrap template for a simple marketing or informational website. The only difference is that e107 is managing the content. ie. The text you are reading is the &quot;Welcome Message&quot; and the items below are &quot;News Items&quot;. Visit the admin-area to modify.<br><br><a class=&quot;btn btn-primary btn-large &quot; href=&quot;e107_admin/admin.php&quot;>Go to Admin area »</a><br>[/html]
]]></field>
</item>
</dbTable>
<dbTable name="news">

View File

@@ -54,7 +54,6 @@ function tablestyle($caption, $text, $mode='')
echo '<div class="hero-unit">
<h1>'.$caption.'</h1>
<p>'.$text.'</p>
<p><a href="'.e_ADMIN.'admin.php" class="btn btn-primary btn-large">Go to Admin area &raquo;</a></p>
</div>';
return;