Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Tue, Sep 23, 6:44 PM

in-portal

Index: trunk/kernel/admin_templates/categories/ci_blocks.tpl
===================================================================
--- trunk/kernel/admin_templates/categories/ci_blocks.tpl (revision 5249)
+++ trunk/kernel/admin_templates/categories/ci_blocks.tpl (revision 5250)
@@ -1,28 +1,28 @@
<inp2:m_DefineElement name="status_mark">
<inp2:m_if check="FieldEquals" name="$field" value="1">
<img src="img/ic_<inp2:m_param name="type"/>.gif" title="<inp2:m_phrase label="la_{$type}"/>" width="11" height="11" align="absmiddle" />
</inp2:m_if>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="grid_catitem_td" format="" no_special="">
<td valign="top" class="text">
<inp2:Field field="$field" grid="$grid" no_special="$no_special" format="$format" cut_first="100"/>
<inp2:m_if check="FieldEquals" field="Priority" value="0" inverse="inverse">
<span class="priority"><sup><inp2:Field field="Priority"/></sup></span>
</inp2:m_if>
<inp2:m_RenderElement name="status_mark" field="EditorsPick" type="pick" PrefixSpecial="$PrefixSpecial"/>
<inp2:m_RenderElement name="status_mark" field="IsPop" type="pop" PrefixSpecial="$PrefixSpecial"/>
<inp2:m_RenderElement name="status_mark" field="IsNew" type="new" PrefixSpecial="$PrefixSpecial"/>
<inp2:m_RenderElement name="status_mark" field="IsHot" type="hot" PrefixSpecial="$PrefixSpecial"/>
</td>
</inp2:m_DefineElement>
-<inp2:m_DefineElement name="no_perm_grid" prefix="" perm_label="la_no_permissions">
+<inp2:m_DefineElement name="no_perm_grid" prefix="" perm_label="">
<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder_full" height="200">
<tr class="table_color1">
<td align="center" valign="middle" class="text">
<inp2:m_phrase name="$perm_label"/>
</td>
</tr>
</table>
</inp2:m_DefineElement>
\ No newline at end of file
Property changes on: trunk/kernel/admin_templates/categories/ci_blocks.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.2
\ No newline at end of property
+1.3
\ No newline at end of property
Index: trunk/admin/install/upgrades/inportal_upgrade_v1.2.1.php
===================================================================
--- trunk/admin/install/upgrades/inportal_upgrade_v1.2.1.php (revision 5249)
+++ trunk/admin/install/upgrades/inportal_upgrade_v1.2.1.php (revision 5250)
@@ -1,20 +1,11 @@
<?php
-
- // add CATEGORY.VIEW permission to Everyone group (to see newly created categories in new catalog)
- $sql = "UPDATE Permissions SET PermissionValue = 1 WHERE (Permission = 'CATEGORY.VIEW') AND (GroupId = #GROUP_ID#)";
-
$application =& kApplication::Instance();
- $everyone_group = $application->ConfigValue('User_LoggedInGroup');
- $sql = str_replace('#GROUP_ID#', $everyone_group, $sql);
-
- RunSQLText($application->Conn, Array($sql), 'dbconnection');
-
// set Categories Name & Description to their multilingual equialents
$ml_formatter =& $application->recallObject('kMultiLanguage');
$table_name = $this->Application->getUnitOption('c', 'TableName');
$sql = 'UPDATE '.$table_name.'
SET '.$ml_formatter->LangFieldName('Name').' = Name, '.$ml_formatter->LangFieldName('Description').' = Description';
$application->Conn->Query($sql);
?>
\ No newline at end of file
Property changes on: trunk/admin/install/upgrades/inportal_upgrade_v1.2.1.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.3
\ No newline at end of property
+1.4
\ No newline at end of property
Index: trunk/core/admin_templates/categories/ci_blocks.tpl
===================================================================
--- trunk/core/admin_templates/categories/ci_blocks.tpl (revision 5249)
+++ trunk/core/admin_templates/categories/ci_blocks.tpl (revision 5250)
@@ -1,28 +1,28 @@
<inp2:m_DefineElement name="status_mark">
<inp2:m_if check="FieldEquals" name="$field" value="1">
<img src="img/ic_<inp2:m_param name="type"/>.gif" title="<inp2:m_phrase label="la_{$type}"/>" width="11" height="11" align="absmiddle" />
</inp2:m_if>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="grid_catitem_td" format="" no_special="">
<td valign="top" class="text">
<inp2:Field field="$field" grid="$grid" no_special="$no_special" format="$format" cut_first="100"/>
<inp2:m_if check="FieldEquals" field="Priority" value="0" inverse="inverse">
<span class="priority"><sup><inp2:Field field="Priority"/></sup></span>
</inp2:m_if>
<inp2:m_RenderElement name="status_mark" field="EditorsPick" type="pick" PrefixSpecial="$PrefixSpecial"/>
<inp2:m_RenderElement name="status_mark" field="IsPop" type="pop" PrefixSpecial="$PrefixSpecial"/>
<inp2:m_RenderElement name="status_mark" field="IsNew" type="new" PrefixSpecial="$PrefixSpecial"/>
<inp2:m_RenderElement name="status_mark" field="IsHot" type="hot" PrefixSpecial="$PrefixSpecial"/>
</td>
</inp2:m_DefineElement>
-<inp2:m_DefineElement name="no_perm_grid" prefix="" perm_label="la_no_permissions">
+<inp2:m_DefineElement name="no_perm_grid" prefix="" perm_label="">
<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder_full" height="200">
<tr class="table_color1">
<td align="center" valign="middle" class="text">
<inp2:m_phrase name="$perm_label"/>
</td>
</tr>
</table>
</inp2:m_DefineElement>
\ No newline at end of file
Property changes on: trunk/core/admin_templates/categories/ci_blocks.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.2
\ No newline at end of property
+1.3
\ No newline at end of property

Event Timeline