summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2010-04-17 22:46:09 +0000
committerwjames5 <will@tekimaki.com>2010-04-17 22:46:09 +0000
commit6e0a355aefc3ca36b2afe7bc8d65c093de77beea (patch)
tree8f73e8476b4719a1f11d0a52590caf07d5a8dbcf /templates
parentae447631fa498f779f70fb3dd500f6ea37bf224a (diff)
downloadliberty-6e0a355aefc3ca36b2afe7bc8d65c093de77beea.tar.gz
liberty-6e0a355aefc3ca36b2afe7bc8d65c093de77beea.tar.bz2
liberty-6e0a355aefc3ca36b2afe7bc8d65c093de77beea.zip
SCHEMA CHANGE - liberty_content_types - change content_description to content_name, add column content_name_plural - update all class files and hashes where appropriate
Diffstat (limited to 'templates')
-rw-r--r--templates/action_logs.tpl4
-rw-r--r--templates/add_structure_content.tpl2
-rwxr-xr-xtemplates/list_content_json.tpl2
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/action_logs.tpl b/templates/action_logs.tpl
index d474f10..33f5d44 100644
--- a/templates/action_logs.tpl
+++ b/templates/action_logs.tpl
@@ -54,7 +54,7 @@
<th>{smartlink ititle="ID" isort=content_id page=$listInfo.page}</th>
<th>{smartlink ititle="Title" isort=title page=$listInfo.page}</th>
<th>{smartlink ititle="Log Entry" isort=action_log page=$listInfo.page}</th>
- <th>{smartlink ititle="Content Type" isort=content_description page=$listInfo.page}</th>
+ <th>{smartlink ititle="Content Type" isort=content_name page=$listInfo.page}</th>
<th>{smartlink ititle="Log time" isort=last_modified page=$listInfo.page idefault=1}</th>
<th>{smartlink ititle="Modified by" isort=user_id page=$listInfo.page} [{smartlink ititle="IP" isort=ip page=$listInfo.page}]</th>
</tr>
@@ -73,7 +73,7 @@
{$log.log_message|nl2br}
{$log.error_message|nl2br}
</td>
- <td>{tr}{$log.content_description}{/tr}</td>
+ <td>{tr}{$log.content_name}{/tr}</td>
<td>{$log.last_modified|bit_short_datetime}</td>
<td>{displayname hash=$log} [{$log.ip}]</td>
</tr>
diff --git a/templates/add_structure_content.tpl b/templates/add_structure_content.tpl
index 56f52bc..3f8bcec 100644
--- a/templates/add_structure_content.tpl
+++ b/templates/add_structure_content.tpl
@@ -105,7 +105,7 @@ var structureAddResult = function (response) {
<span id="{$contentListHash[cx].content_id}feedback"></span>
</td>
<td class="description" id="{$contentListHash[cx].content_id}item">
- {$contentListHash[cx].content_description}
+ {$contentListHash[cx].content_name}
</td>
<td class="author">
{displayname hash=$contentListHash[cx]}
diff --git a/templates/list_content_json.tpl b/templates/list_content_json.tpl
index 3a9a31f..169f975 100755
--- a/templates/list_content_json.tpl
+++ b/templates/list_content_json.tpl
@@ -8,7 +8,7 @@
{ldelim}
"content_id":{if $icontent.content_id}{$icontent.content_id}{else}null{/if},
"content_type_guid":'{$icontent.content_type_guid}',
- "content_description":'{$icontent.content_description}',
+ "content_name":'{$icontent.content_name}',
"lat":{if $icontent.lat|is_numeric}{$icontent.lat}{else}null{/if},
"lng":{if $icontent.lng|is_numeric}{$icontent.lng}{else}null{/if},
"title":'{$icontent.title|addslashes}',