Commit 35ed0822 authored by Penny Leach's avatar Penny Leach

extracted all the column left span span span span div div div crap into

its own templates columnleftstart and columnleftend.  this is a big
noisy commit
parent 509ea4b6
......@@ -9,12 +9,7 @@
<div id="column-right">
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs">
<span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str section="artefact.blog" tag=$pagetitle}</h2>
{$textinputform}
<div id='uploader'></div>
......@@ -41,10 +36,5 @@
<input type='button' value='{str tag=savepost section=artefact.blog}' onclick="saveblogpost()">
<input type='button' value='{str tag=cancel}' onclick="canceledit()">
</div>
</div>
</span></span></span></span>
</div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -11,10 +11,7 @@
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<div id="myblogs">
<h2>{str section="artefact.blog" tag="myblogs"}</h2>
<div class="newblog">
......@@ -37,10 +34,5 @@
</div>
</div>
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -9,16 +9,9 @@
<div id="column-right">
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str section="artefact.blog" tag="newblog"}</h2>
{$newblogform}
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -9,18 +9,11 @@
<div id="column-right">
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str section="artefact.blog" tag="newblogpost"}</h2>
{$newpostform}
ADD RADIO BUTTONS
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -3,7 +3,10 @@
This template displays the settings for a user's blog.
*}{include file="header.tpl"}
<div id="column-right">
{include file="adminmenu.tpl"}
</div>
{include file="columnleftstart.tpl"}
<div class="content">
<h2>{str section="artefact.blog" tag="blogsettings"}</h2>
......@@ -14,3 +17,6 @@
{$editform}
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -10,10 +10,7 @@
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str section="artefact.blog" tag="viewblog"} - {$blog->get('title')|escape}</h2>
<div id="myblogs">
......@@ -38,9 +35,5 @@
</div>
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -4,10 +4,7 @@
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str section="artefact.file" tag="myfiles"}</h2>
<div id="myfiles">
<div id="uploader"></div>
......@@ -22,9 +19,5 @@
<tbody><tr><th></th></tr></tbody>
</table>
</div>
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -3,17 +3,8 @@
<div id="column-right">
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str section="artefact.internal" tag="profile"}</h2>
{$profileform}
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -3,18 +3,10 @@
<div id="column-right">
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str section="artefact.internal" tag="emailactivation"}</h2>
<p>
{$message|escape}
</p>
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -4,11 +4,7 @@
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str tag="activity"}</h2>
<div id="recentactivity">
......@@ -48,9 +44,5 @@
</form>
</div>
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -4,18 +4,10 @@
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str tag="activityprefs"}</h2>
{$prefsdescr}
{$form}
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -4,18 +4,9 @@
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str tag="preferences"}</h2>
{$form}
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -4,11 +4,7 @@
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str tag="watchlist"}</h2>
<div id="mywatchlist">
<form method="post">
......@@ -48,10 +44,6 @@
</table>
</form>
</div>
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -3,11 +3,7 @@
<div id="column-right">
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str section=admin tag=editmenus}</h2>
{str tag=edit}:
......@@ -18,10 +14,6 @@
</select>
<div id="menuitemlist"></div>
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -3,18 +3,10 @@
<div id="column-right">
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str section=admin tag=editsitecontent}</h2>
{$pageeditform}
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -3,11 +3,7 @@
<div id="column-right">
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>AdminInstitutions</h2>
{if $delete_form}
......@@ -59,10 +55,6 @@
{/if}
{/if}
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -3,11 +3,7 @@
<div id="column-right">
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>Plugin Administration</h2>
{foreach from=$plugins key='plugintype' item='plugins'}
......@@ -38,9 +34,6 @@
{/if}
{/foreach}
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file='footer.tpl'}
......@@ -3,17 +3,9 @@
<div id="column-right">
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>Plugin Administration: {$plugintype}: {$pluginname}{if $type}: {$type}{/if}</h2>
{$form}
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file='footer.tpl'}
{include file="header.tpl"}
<div id="column-right">
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>AdminNotifications</h2>
<p>... not until stage three :)</p>
</div>
</span></span></span></span></div>
</div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div id="column-right">
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="adminusers" section="admin"}</h2>
<p>{str tag="adminusersdescription" section="admin"}</p>
{$adminusersform}
</div>
</span></span></span></span></div>
</div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div id="column-right">
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="staffusers" section="admin"}</h2>
<p>{str tag="staffusersdescription" section="admin"}</p>
{$staffusersform}
</div>
</span></span></span></span></div>
</div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div id="column-right">
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>SuspendedUsers</h2>
<p>... not until stage three :)</p>
</div>
</span></span></span></span></div>
</div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div id="column-right">
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="uploadcsvfile" section="admin"}</h2>
<p>{str tag="uploadcsvfiledescription" section="admin"}</p>
{$uploadcsvform}
</div>
</span></span></span></span></div>
</div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div id="column-full">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str tag='adminnotifications' section='admin'}</h2>
{$form}
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
</div>
</span></span></span></span>
</div>
</div>
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{if {$PAGEHELPNAME} <div id="{$PAGEHELPNAME}_container" class="pagehelpicon">{$PAGEHELPICON}</div>{/if}
\ No newline at end of file
......@@ -4,16 +4,9 @@
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str tag="myaddressbook"}</h2>
Content from database here
</div>
</span></span></span></span></div>
</div>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -4,10 +4,7 @@
{include file="adminmenu.tpl"}
</div>
<div id="column-left">
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
{include file="columnleftstart.tpl"}
<h2>{str tag="mycommunities"}</h2>
<table id="communitylist">
<thead>
......@@ -20,9 +17,6 @@
</tbody>
</table>
<div id="messagediv"></div>
</div>